:root {
	--bsp-accent: #4f46e5;
	--bsp-accent-dark: #4338ca;
	--bsp-accent-soft: #eef2ff;
	--bsp-ink: #16130f;
	--bsp-muted: #6b6b66;
	--bsp-line: #e7e5e0;
	--bsp-bg: #fbfaf8;
	--bsp-ok: #047857;
	--bsp-warn: #b45309;
	--bsp-danger: #b91c1c;
	--bsp-radius: 16px;
	--bsp-accent-text: var(--bsp-accent); /* safe text variant; farm skins derive a contrast-safe mix */
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
	background: var(--bsp-bg);
	color: var(--bsp-ink);
	line-height: 1.6;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3 { letter-spacing: -0.02em; }
a { color: var(--bsp-accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Top bar ---------- */
.bsp-top {
	width: 100%;
	background: rgba(251, 250, 248, .85);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent;
	position: sticky;
	top: 0;
	z-index: 50;
}
/* Self-contained: carries its own width/centering/padding so the later
 * `.bsp-wrap { padding: 0 24px }` shorthand can never zero the vertical
 * breathing room again (v0.1.2 regression), and the (0,2,0) specificity
 * beats `.bsp-wrap` even if the class is ever re-added in markup. */
.bsp-top .bsp-top-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 1080px; margin: 0 auto; padding: 14px 24px; }
.bsp-brand { font-weight: 800; font-size: 19px; color: var(--bsp-ink); display: flex; gap: 9px; align-items: center; letter-spacing: -0.02em; }
.bsp-brand .dot { width: 24px; height: 24px; border-radius: 8px; background: linear-gradient(135deg, #6366f1, #a855f7 60%, #ec4899); display: inline-block; }
.bsp-top nav { display: flex; gap: 18px; align-items: center; font-size: 15px; }

.bsp-main { flex: 1; width: 100%; }
.bsp-wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: 12px;
	padding: 13px 24px;
	font-size: 16px;
	font-weight: 600;
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none !important;
	transition: background .15s ease, transform .05s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--bsp-ink); color: var(--bsp-on-ink, #fff); box-shadow: 0 8px 20px rgba(22, 19, 15, .18); }
.btn-primary:hover { background: color-mix(in srgb, var(--bsp-ink) 90%, #000); }
.btn-accent { background: var(--bsp-accent-strong, var(--bsp-accent)); color: var(--bsp-on-strong, var(--bsp-on-accent, #fff)); box-shadow: 0 8px 20px rgba(79, 70, 229, .25); }
.btn-accent:hover { background: color-mix(in srgb, var(--bsp-accent) 64%, #000); }
.btn-ghost { background: #fff; border-color: var(--bsp-line); color: var(--bsp-ink); }
.btn-ghost:hover { border-color: #c9c7c1; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Cards & panels ---------- */
.bsp-card {
	background: #fff;
	border: 1px solid var(--bsp-line);
	border-radius: var(--bsp-radius);
	box-shadow: 0 10px 30px rgba(23, 20, 15, .05);
}
.bsp-card-body { padding: 30px; }

.bsp-panel { max-width: 480px; margin: 44px auto; }
.bsp-panel.wide { max-width: 560px; }
.bsp-panel h2 { margin: 0 0 6px; font-size: 26px; letter-spacing: -0.02em; }
.bsp-panel .sub { color: var(--bsp-muted); margin: 0 0 24px; font-size: 15px; }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field input[type=email], .field input[type=password], .field input[type=text] {
	width: 100%;
	border: 1px solid var(--bsp-line);
	border-radius: 12px;
	padding: 12px 14px;
	font-size: 15px;
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus { outline: 2px solid var(--bsp-accent); outline-offset: 1px; border-color: var(--bsp-accent); box-shadow: 0 0 0 4px var(--bsp-accent-soft); }
.input-group:focus-within { border-color: var(--bsp-accent); box-shadow: 0 0 0 4px var(--bsp-accent-soft); }
:focus-visible { outline: 2px solid var(--bsp-accent, #4f46e5); outline-offset: 2px; }
.field .hint { color: var(--bsp-muted); font-size: 13px; margin-top: 5px; }
.field .ok-msg { color: var(--bsp-ok); font-size: 13px; margin-top: 5px; }
.field .err-msg { color: var(--bsp-danger); font-size: 13px; margin-top: 5px; }

.input-group { display: flex; align-items: center; border: 1px solid var(--bsp-line); border-radius: 12px; overflow: hidden; background: #fff; }
.input-group input { border: none !important; border-radius: 0 !important; box-shadow: none !important; flex: 1; }
.input-group .suffix { background: var(--bsp-bg); color: var(--bsp-muted); font-size: 14px; padding: 12px 14px; white-space: nowrap; border-left: 1px solid var(--bsp-line); }

.alert { border-radius: 12px; padding: 12px 15px; font-size: 14px; margin-bottom: 18px; }
.alert-error { background: #fef2f2; color: var(--bsp-danger); border: 1px solid #fecaca; }
.alert-info { background: var(--bsp-accent-soft); color: var(--bsp-accent-dark); border: 1px solid #c7d2fe; }
.alert-success { background: #ecfdf5; color: var(--bsp-ok); border: 1px solid #a7f3d0; }

/* ---------- Style chooser (signup) ---------- */
.bsp-styles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-height: 430px; overflow-y: auto; padding: 2px; }
.bsp-styles .bsp-style-card { padding: 9px; }
.bsp-styles .bsp-style-thumb { height: 58px; margin-bottom: 7px; }
.bsp-styles .bsp-style-desc { display: none; }
.bsp-style-card { position: relative; border: 2px solid var(--bsp-line); border-radius: 14px; padding: 12px; cursor: pointer; background: #fff; text-align: left; transition: border-color .12s ease, box-shadow .12s ease; }
.bsp-style-card input { position: absolute; opacity: 0; }
.bsp-style-card:hover { border-color: #c9c7c1; }
.bsp-style-card.selected { border-color: var(--bsp-accent); box-shadow: 0 0 0 4px var(--bsp-accent-soft); }
.bsp-style-thumb { height: 74px; border-radius: 9px; border: 1px solid rgba(0,0,0,.08); margin-bottom: 9px; position: relative; overflow: hidden; display: block; }
.bsp-style-thumb .t-bar { position: absolute; left: 0; right: 0; top: 0; height: 14px; border-bottom: 1px solid rgba(0,0,0,.07); }
.bsp-style-thumb .t-bar i { position: absolute; top: 5px; width: 22px; height: 4px; border-radius: 2px; }
.bsp-style-thumb .t-title { position: absolute; left: 10px; top: 24px; width: 62%; height: 8px; border-radius: 3px; }
.bsp-style-thumb .t-line { position: absolute; left: 10px; height: 4px; border-radius: 2px; opacity: .4; }
.bsp-style-thumb .t-img { position: absolute; right: 10px; bottom: 9px; width: 34%; height: 34%; border-radius: 4px; opacity: .85; }
.bsp-style-thumb .t-text1 { top: 40px; width: 84%; }
.bsp-style-thumb .t-text2 { top: 50px; width: 66%; }
.bsp-style-name { font-weight: 700; font-size: 14px; }
.bsp-style-desc { font-size: 12px; color: var(--bsp-muted); }

.bsp-demo-links { margin-top: 12px; font-size: 13px; color: var(--bsp-muted); line-height: 1.9; }
.bsp-demo-links a { margin: 0 7px 0 0; white-space: nowrap; }
.bsp-demo-links a::after { content: "↗"; font-size: 11px; margin-left: 2px; opacity: .6; }

/* ---------- Checks & steps ---------- */
.bsp-checks { margin: 22px auto 0; max-width: 360px; text-align: left; padding: 0; }
.bsp-checks li { list-style: none; padding: 6px 0; color: var(--bsp-muted); font-size: 15px; }
.bsp-checks li::before { content: "✓"; color: var(--bsp-ok); font-weight: 700; margin-right: 10px; }

.bsp-steps { display: flex; gap: 8px; justify-content: center; margin: 0 0 26px; }
.bsp-steps span { height: 6px; border-radius: 3px; width: 44px; background: var(--bsp-line); }
.bsp-steps span.on { background: var(--bsp-accent); }

/* ---------- Landing: hero ---------- */
.bsp-hero { padding: 84px 24px 30px; background:
	radial-gradient(700px 340px at 12% -10%, rgba(99, 102, 241, .12), transparent 60%),
	radial-gradient(700px 340px at 88% 0%, rgba(236, 72, 153, .08), transparent 60%);
}
.hero-grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--bsp-accent-dark); background: var(--bsp-accent-soft); border: 1px solid #dfe3ff; padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.bsp-hero h1 { font-size: clamp(36px, 5.2vw, 58px); line-height: 1.06; margin: 0 0 18px; font-weight: 800; }
.bsp-hero h1 em { font-style: normal; background: linear-gradient(120deg, #4f46e5, #a855f7 55%, #ec4899); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bsp-hero p.lead { color: #57534e; font-size: 19px; margin: 0 0 28px; max-width: 520px; }
.bsp-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Browser mockup */
.browser { background: #fff; border: 1px solid var(--bsp-line); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 70px rgba(23, 20, 15, .14); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--bsp-line); background: #fafaf8; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e5e3de; }
.browser-bar i:first-child { background: #fca5a5; } .browser-bar i:nth-child(2) { background: #fcd34d; } .browser-bar i:nth-child(3) { background: #86efac; }
.browser-bar span { margin-left: 10px; font-size: 12px; color: var(--bsp-muted); background: #fff; border: 1px solid var(--bsp-line); border-radius: 6px; padding: 3px 10px; }
.browser-body { padding: 26px 28px 30px; }
.bm-kicker { width: 64px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #6366f1, #a855f7); margin-bottom: 14px; }
.bm-title { width: 78%; height: 16px; border-radius: 5px; background: #1c1917; margin-bottom: 10px; }
.bm-title + .bm-title { width: 54%; margin-bottom: 20px; }
.bm-img { height: 120px; border-radius: 10px; background: linear-gradient(135deg, #c7d2fe, #f5d0fe 55%, #fbcfe8); margin-bottom: 18px; }
.bm-line { height: 7px; border-radius: 3px; background: #e7e5e0; margin-bottom: 9px; }
.bm-line.w80 { width: 80%; } .bm-line.w95 { width: 95%; } .bm-line.w60 { width: 60%; }
.bm-meta { display: flex; gap: 10px; margin-bottom: 14px; }
.bm-meta i { width: 90px; height: 7px; border-radius: 3px; background: #efedea; }

/* ---------- Landing: sections ---------- */
.bsp-section { padding: 64px 0 8px; }
.bsp-section-head { text-align: center; max-width: 640px; margin: 0 auto 38px; }
.bsp-section-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 10px; font-weight: 800; }
.bsp-section-head p { color: #57534e; margin: 0; font-size: 17px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.style-tile { background: #fff; border: 1px solid var(--bsp-line); border-radius: var(--bsp-radius); overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; display: flex; flex-direction: column; position: relative; }
.style-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(23, 20, 15, .1); text-decoration: none; }
a.style-tile-name { color: var(--bsp-ink); text-decoration: none; }
a.style-tile-name:hover { text-decoration: none; }
.style-thumb { height: 150px; position: relative; border-bottom: 1px solid var(--bsp-line); display: block; }
.style-thumb .t-bar { position: absolute; left: 0; right: 0; top: 0; height: 26px; border-bottom: 1px solid rgba(0,0,0,.08); }
.style-thumb .t-bar i { position: absolute; top: 10px; left: 14px; width: 52px; height: 6px; border-radius: 3px; }
.style-thumb .t-title { position: absolute; left: 16px; top: 44px; width: 55%; height: 12px; border-radius: 4px; }
.style-thumb .t-line { position: absolute; left: 16px; height: 5px; border-radius: 2px; opacity: .35; }
.style-thumb .t-l1 { top: 68px; width: 72%; } .style-thumb .t-l2 { top: 80px; width: 58%; }
.style-thumb .t-img { position: absolute; right: 14px; top: 44px; width: 24%; height: 44%; border-radius: 6px; opacity: .9; }
.style-tile-body { padding: 16px 18px 18px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.style-tile-body .n { font-weight: 700; font-size: 16px; color: var(--bsp-ink); }
.style-tile-body .d { color: var(--bsp-muted); font-size: 13px; margin-top: 3px; }
.style-tile-body .go { font-weight: 600; font-size: 14px; white-space: nowrap; }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { background: #fff; border: 1px solid var(--bsp-line); border-radius: var(--bsp-radius); padding: 24px; }
.feat .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--bsp-accent-soft); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
.feat h3 { margin: 0 0 6px; font-size: 17px; }
.feat p { margin: 0; color: var(--bsp-muted); font-size: 14.5px; }

.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.step { text-align: center; padding: 10px; }
.step .num { width: 44px; height: 44px; border-radius: 50%; background: var(--bsp-ink); color: #fff; font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--bsp-muted); font-size: 14.5px; }

.band { margin: 80px 0 0; padding: 70px 24px; background: linear-gradient(120deg, #1c1917, #312e81 70%, #4c1d95); color: #fff; text-align: center; }
.band h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 0 0 12px; font-weight: 800; }
.band p { color: #d6d3d1; margin: 0 0 28px; font-size: 17px; }
.band .btn-primary { background: #fff; color: #1c1917; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.band .btn-primary:hover { background: #f5f5f4; }

/* ---------- Footer ---------- */
.bsp-foot { text-align: center; color: var(--bsp-muted); font-size: 13px; padding: 30px 24px; }
.bsp-foot a { color: var(--bsp-muted); }
.bsp-foot .foot-demos { margin-bottom: 8px; }
.bsp-foot .foot-demos a { margin: 0 8px; }

/* ---------- Generic CTA row on inner pages ---------- */
.bsp-hero.small { padding: 60px 24px 10px; text-align: center; }
.bsp-hero.small .bsp-cta-row { justify-content: center; }

@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; gap: 36px; }
	.gallery { grid-template-columns: repeat(2, 1fr); }
	.feat-grid { grid-template-columns: repeat(2, 1fr); }
	.steps-row { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 640px) {
	.bsp-styles { grid-template-columns: repeat(2, 1fr); }
	.gallery { grid-template-columns: 1fr; }
	.feat-grid { grid-template-columns: 1fr; }
	.bsp-top .bsp-top-inner { padding-left: 18px; padding-right: 18px; }
}

/* ---------- Style-aware landing variants (html[data-bsp-style]) ----------
   Palette variables are injected inline on <html> by layout.php; these rules
   only reshape the landing so each structure family reads differently. */

/* portal — dense news-portal: sharp corners, ticker, rule lines */
html[data-bsp-style="portal"] { --bsp-radius: 4px; }
html[data-bsp-style="portal"] .bsp-top { background: color-mix(in srgb, var(--bsp-accent) 92%, #000); border-bottom: 3px solid #c7331d; }
html[data-bsp-style="portal"] .bsp-top .bsp-brand, html[data-bsp-style="portal"] .bsp-top nav a { color: #fff; }
html[data-bsp-style="portal"] .bsp-hero { padding-top: 26px; }
html[data-bsp-style="portal"] .hero-copy h1 { font-weight: 900; letter-spacing: -0.03em; }
.bsp-ticker { display: flex; align-items: stretch; background: #111a24; color: #e8eef5; font-size: 13px; overflow: hidden; }
.bsp-ticker .ticker-label { background: #c7331d; color: #fff; font-weight: 700; letter-spacing: .08em; padding: 8px 14px; flex: none; }
.bsp-ticker .ticker-items { display: flex; gap: 26px; padding: 8px 18px; white-space: nowrap; overflow: hidden; }

/* pop — Ameba energy: big radius, pink glow, cheer counters */
html[data-bsp-style="pop"] { --bsp-radius: 22px; }
html[data-bsp-style="pop"] .bsp-hero { background: linear-gradient(160deg, color-mix(in srgb, var(--bsp-accent) 16%, var(--bsp-bg)), var(--bsp-bg) 70%); }
html[data-bsp-style="pop"] .hero-copy h1 { font-weight: 800; }
html[data-bsp-style="pop"] .browser { border-radius: 22px; box-shadow: 0 18px 50px color-mix(in srgb, var(--bsp-accent) 30%, transparent); }
.bsp-hype { display: flex; gap: 14px; justify-content: center; padding: 20px 16px 0; flex-wrap: wrap; }
.bsp-hype .hype-item { background: var(--bsp-accent-soft); border-radius: 999px; padding: 8px 20px; display: flex; align-items: baseline; gap: 8px; }
.bsp-hype strong { color: var(--bsp-accent); font-size: 17px; }
.bsp-hype span { color: var(--bsp-muted); font-size: 13px; }

/* pixnet — TW lifestyle boards: orange top band, chip rail */
html[data-bsp-style="pixnet"] { --bsp-radius: 8px; }
html[data-bsp-style="pixnet"] .bsp-top { background: var(--bsp-accent); border-bottom: none; }
html[data-bsp-style="pixnet"] .bsp-top .bsp-brand, html[data-bsp-style="pixnet"] .bsp-top nav a { color: #fff; }
html[data-bsp-style="pixnet"] .bsp-hero { padding-top: 30px; }
.bsp-boards { display: flex; gap: 10px; justify-content: center; padding: 18px 16px 0; flex-wrap: wrap; }
.bsp-boards .board-chip { border: 1.5px solid var(--bsp-line); background: #fff; border-radius: 999px; padding: 7px 16px; font-size: 13.5px; color: var(--bsp-ink); }
.bsp-boards .board-chip.is-hot { background: var(--bsp-accent); border-color: var(--bsp-accent); color: #fff; }

/* reader — hatena calm: star rules, card shadows */
html[data-bsp-style="reader"] { --bsp-radius: 10px; }
html[data-bsp-style="reader"] .bsp-top { border-bottom: 2px solid var(--bsp-accent); }
html[data-bsp-style="reader"] .hero-copy h1 { font-weight: 650; }
html[data-bsp-style="reader"] .feat { box-shadow: 0 6px 22px color-mix(in srgb, var(--bsp-ink) 7%, transparent); border: 1px solid var(--bsp-line); }

/* sakura — soft diary: gradient wash, airy radius, serif headings */
html[data-bsp-style="sakura"] { --bsp-radius: 18px; }
html[data-bsp-style="sakura"] .bsp-hero { background: linear-gradient(180deg, color-mix(in srgb, var(--bsp-accent) 10%, var(--bsp-bg)), var(--bsp-bg) 75%); }
html[data-bsp-style="sakura"] .hero-copy h1 { font-family: Georgia, "Hiragino Mincho ProN", "Yu Mincho", serif; font-weight: 500; }
html[data-bsp-style="sakura"] .eyebrow { color: var(--bsp-accent-text); }

/* neon — dark fan-culture grid: glow accents */
html[data-bsp-style="neon"] { --bsp-radius: 6px; }
html[data-bsp-style="neon"] .bsp-top { background: rgba(11, 14, 26, .9); border-bottom: 1px solid color-mix(in srgb, var(--bsp-accent) 45%, transparent); }
html[data-bsp-style="neon"] .bsp-hero { background: radial-gradient(700px 320px at 75% 0%, color-mix(in srgb, var(--bsp-accent) 22%, transparent), transparent), radial-gradient(600px 300px at 10% 20%, color-mix(in srgb, #29d8ff 14%, transparent), transparent); }
html[data-bsp-style="neon"] .btn-primary { box-shadow: 0 0 22px color-mix(in srgb, var(--bsp-accent) 55%, transparent); }
html[data-bsp-style="neon"] .style-thumb { outline: 1px solid color-mix(in srgb, var(--bsp-accent) 35%, transparent); }

/* gourmet — warm tables: paper hero, generous radius */
html[data-bsp-style="gourmet"] { --bsp-radius: 14px; }
html[data-bsp-style="gourmet"] .bsp-hero { background: linear-gradient(180deg, color-mix(in srgb, var(--bsp-accent) 13%, var(--bsp-bg)), var(--bsp-bg) 80%); }
html[data-bsp-style="gourmet"] .hero-copy h1 { font-family: Georgia, "Yu Mincho", serif; }
html[data-bsp-style="gourmet"] .feat .ico { font-size: 30px; }

@media (max-width: 640px) {
	.bsp-ticker .ticker-items { gap: 16px; }
	.bsp-hype .hype-item { padding: 6px 14px; }
}

/* ---------- WB-01: light surfaces stay readable on dark skins ----------
   .bsp-card / .bsp-style-card are white regardless of skin, so the palette
   variables inside them must re-anchor to the light palette — otherwise a
   dark skin's near-white ink renders invisible text on white cards
   (f/i register pages were 1.05-1.16:1). Vars inherit, so this one block
   covers every control inside the card. */
html[data-bsp-style] .bsp-card, html[data-bsp-style] .bsp-style-card {
	--bsp-ink: #16130f;
	--bsp-on-ink: #ffffff;
	--bsp-muted: #6b6b66;
	--bsp-line: #e7e5e0;
	--bsp-bg: #fbfaf8;
	--bsp-accent-soft: #eef2ff;
	--bsp-accent-text: #4338ca;
	color: #16130f;
}

/* WB-15: badge on style cards that have a browsable live network */
.bsp-style-live {
	position: absolute; top: 8px; right: 8px;
	font-size: 10.5px; font-weight: 700; line-height: 1;
	color: #4338ca; background: #eef2ff;
	border: 1px solid #c7d2fe; border-radius: 999px; padding: 4px 8px;
	text-decoration: none;
}
.bsp-style-live:hover { background: #e0e7ff; text-decoration: none; }

/* QOD-13: disabled state preset */
.btn:disabled, .btn[aria-disabled="true"], button:disabled, input[type="submit"]:disabled {
	opacity: .55;
	cursor: not-allowed;
}

/* =========================================================================
 * Title-only anchors (SEO): cards and tiles no longer wrap the whole block
 * (badge + image + title + byline) in a single <a>, because the anchor text a
 * crawler reads then becomes "今日之选 + alt + 标题 + 博客名 · 日期" — no
 * information. The container keeps its card styling, only the title is a link,
 * and `.lnf-stretch` gives that one link the whole card surface so nothing
 * loses its click target:
 *
 *   .card { position: relative }                       (container)
 *   <a class="card-title lnf-stretch" href="…">Title</a>
 *
 * Lives in bsp.css, not the landing sheet, because the generic marketing
 * landing (Views/landing/default.php) loads only this file.
 * ========================================================================= */
.lnf-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.lnf-thumb-link { display: block; }
.lnf-thumb-link img { display: block; width: 100%; height: 100%; object-fit: cover; }
a.lnf-stretch, a.lnf-stretch:hover { color: inherit; text-decoration: none; }
