/* watch-radar — 黒とシャンパンゴールドの、時計店のショーケースのような画面 */

@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root,
[data-theme='dark'] {
	--bg: #0a0a0b;
	--bg-2: #101012;
	--surface: rgba(255, 255, 255, 0.035);
	--surface-2: rgba(255, 255, 255, 0.06);
	--surface-solid: #141416;
	--card: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
	--line: rgba(255, 255, 255, 0.08);
	--line-2: rgba(255, 255, 255, 0.14);
	--ink: #f5f2eb;
	--ink-2: #b8b2a6;
	--ink-3: #7e796f;
	--gold: #d7b77a;
	--gold-2: #f3dfb2;
	--gold-3: #a8813f;
	--gold-soft: rgba(var(--accent-rgb), 0.12);
	--blue: #7f9cf5;
	--good: #62d39c;
	--bad: #ff7b6f;
	--warn: #e9b95c;
	--plate: radial-gradient(circle at 50% 44%, #ffffff 0%, #f3f0ea 55%, #e4dfd5 100%);
	--shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 10px 30px rgba(0, 0, 0, 0.35);
	--shadow-lg: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 24px 70px rgba(0, 0, 0, 0.55);
	--glass: rgba(14, 14, 16, 0.62);
	--btn-gold: linear-gradient(180deg, #efd8a8 0%, #d2ab66 55%, #c39a52 100%);
	--btn-gold-ink: #1b150b;
	--accent-rgb: 215, 183, 122;
	--accent-glow-rgb: 210, 171, 102;
	--accent-hi-rgb: 255, 234, 190;
	color-scheme: dark;
}
[data-theme='light'] {
	--bg: #f5f3ee;
	--bg-2: #efece5;
	--surface: rgba(20, 16, 8, 0.025);
	--surface-2: rgba(20, 16, 8, 0.05);
	--surface-solid: #ffffff;
	--card: linear-gradient(180deg, #ffffff, #fbfaf7);
	--line: rgba(20, 16, 8, 0.09);
	--line-2: rgba(20, 16, 8, 0.16);
	--ink: #16140f;
	--ink-2: #57524a;
	--ink-3: #8a847a;
	--gold: #9c7331;
	--gold-2: #c69a4d;
	--gold-3: #7a5920;
	--gold-soft: rgba(156, 115, 49, 0.1);
	--accent-rgb: 156, 115, 49;
	--accent-glow-rgb: 198, 154, 77;
	--blue: #3e5fc4;
	--good: #16774a;
	--bad: #b42318;
	--warn: #8a5a00;
	--shadow: 0 1px 2px rgba(24, 20, 12, 0.05), 0 8px 24px rgba(24, 20, 12, 0.06);
	--shadow-lg: 0 18px 50px rgba(24, 20, 12, 0.14);
	--glass: rgba(245, 243, 238, 0.72);
	color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 15px/1.65 'Inter Tight', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', system-ui, sans-serif;
	letter-spacing: 0.01em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	min-height: 100vh;
}
.bg-glow {
	position: fixed; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(900px 520px at 78% -8%, rgba(var(--accent-rgb), 0.13), transparent 62%),
		radial-gradient(800px 480px at -8% 6%, rgba(110, 140, 230, 0.09), transparent 60%),
		radial-gradient(1200px 700px at 50% 120%, rgba(var(--accent-rgb), 0.05), transparent 60%);
}
[data-theme='light'] .bg-glow { background: radial-gradient(900px 520px at 78% -8%, rgba(var(--accent-glow-rgb), 0.14), transparent 62%), radial-gradient(800px 480px at -8% 6%, rgba(62, 95, 196, 0.07), transparent 60%); }
::selection { background: rgba(var(--accent-rgb), 0.35); }
a { color: var(--gold-2); text-decoration: none; }
[data-theme='light'] a { color: var(--gold-3); }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 8px; }
.num, .price, .stat dd, .hero-stats dd { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-3); }
.small { font-size: 12.5px; }
[hidden] { display: none !important; }

.kicker { font-size: 11px; line-height: 1; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 10px; }

/* ---------- radar ---------- */
.radar { position: relative; display: inline-grid; width: 28px; height: 28px; flex: none; color: var(--ink); }
.radar svg { width: 100%; height: 100%; overflow: visible; }
.r-ring { fill: none; stroke: currentColor; stroke-width: 1.3; opacity: 0.45; }
.r-ring2 { opacity: 0.25; }
.r-ring3 { opacity: 0.18; }
.r-hand { stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; transform-origin: 16px 16px; transform-box: view-box; }
.r-blip { fill: var(--gold-2); animation: blip 2.8s ease-in-out infinite; }
.r-pin { fill: var(--gold); }
.r-sweep { position: absolute; inset: 1px; border-radius: 50%; opacity: 0; background: conic-gradient(from 0deg, rgba(var(--accent-rgb), 0) 0deg, rgba(var(--accent-rgb), 0.55) 50deg, rgba(var(--accent-rgb), 0) 52deg); animation: sweep 2.2s linear infinite; }
.radar.is-scanning .r-sweep { opacity: 1; }
.radar.is-scanning .r-hand { animation: sweepHand 2.2s linear infinite; }
.radar.big { width: 42%; height: auto; aspect-ratio: 1; color: var(--ink-3); }
@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes sweepHand { from { transform: rotate(52deg); } to { transform: rotate(412deg); } }
@keyframes blip { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--glass); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid var(--line); }
.site-header .inner { max-width: 1240px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.wordmark { font-size: 17px; letter-spacing: 0.02em; font-weight: 500; }
.wordmark b { font-weight: 800; color: var(--gold-2); margin-left: 1px; }
[data-theme='light'] .wordmark b { color: var(--gold); }
.nav { display: flex; gap: 2px; }
.nav a { color: var(--ink-2); padding: 7px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; white-space: nowrap; flex: none; }
.nav a:hover { color: var(--ink); background: var(--surface-2); text-decoration: none; }
.nav a[aria-current='page'] { color: var(--ink); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.scanbox { margin-left: auto; display: flex; align-items: center; gap: 8px; }
/* 右上の操作はどれも 38px の高さ・同じ角丸にそろえる */
.scanbox .icon-only, .scanbox .head-btn, .scanbox .scan-btn { height: 38px; border-radius: 12px; }
.scanbox .head-btn { padding: 0 14px; font-size: 13.5px; }
.scanbox .btn.icon-only { background: transparent; border-color: var(--line); color: var(--ink-2); }
.scanbox .btn.icon-only:hover { background: var(--surface-2); color: var(--ink); }
.scanbox .when { margin-right: 4px; }
.accent-picker { display: flex; }
.scanbox .when { font-size: 12px; color: var(--ink-3); text-align: right; line-height: 1.4; }
.scanbox form { margin: 0; }
.scan-btn .radar { width: 18px; height: 18px; color: currentColor; }
.scan-btn.primary .r-hand, .scan-btn.primary .r-pin { stroke: var(--btn-gold-ink); fill: var(--btn-gold-ink); }
.scan-btn.primary .r-blip { fill: var(--btn-gold-ink); }
.scan-btn.primary .r-sweep { background: conic-gradient(from 0deg, rgba(27, 21, 11, 0) 0deg, rgba(27, 21, 11, 0.45) 50deg, rgba(27, 21, 11, 0) 52deg); }
.icon-only { width: 38px; height: 38px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: transparent; border: 1px solid var(--line); color: var(--ink-2); }
.icon-only:hover { color: var(--ink); background: var(--surface-2); text-decoration: none; }
.icon-only svg { width: 18px; height: 18px; }
.theme-toggle .t-moon { display: none; }
[data-theme='light'] .theme-toggle .t-sun { display: none; }
[data-theme='light'] .theme-toggle .t-moon { display: inline-flex; }

/* ---------- layout ---------- */
main { max-width: 1240px; margin: 0 auto; padding: 30px 24px 90px; }
main.has-fab { padding-bottom: 140px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; margin: 0; letter-spacing: -0.01em; font-weight: 700; }
.page-head .sub { color: var(--ink-2); margin-top: 8px; }
.crumb { font-size: 13px; color: var(--ink-3); margin-bottom: 10px; display: inline-flex; }
.crumb a { color: var(--ink-3); display: inline-flex; align-items: center; gap: 2px; }
.crumb a:hover { color: var(--ink); text-decoration: none; }
.crumb svg { width: 15px; height: 15px; }
section { margin-top: 56px; }
.section-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.section-head .kicker { flex-basis: 100%; margin-bottom: 0; }
.section-head h2 { font-size: 24px; margin: 0; letter-spacing: -0.005em; font-weight: 700; }
.section-head .count { color: var(--ink-3); font-size: 13px; }
.section-head .spacer { flex: 1; }
.lead-text { color: var(--ink-2); font-size: 14px; margin: -8px 0 18px; max-width: 760px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ---------- buttons ---------- */
.btn, button {
	font: inherit; font-size: 13.5px; font-weight: 600; letter-spacing: 0.01em;
	display: inline-flex; align-items: center; gap: 7px;
	padding: 8px 15px; border-radius: 12px;
	border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
	cursor: pointer; text-decoration: none; white-space: nowrap;
	transition: background 0.18s, border-color 0.18s, transform 0.08s, box-shadow 0.2s, filter 0.18s;
}
.btn:hover, button:hover { background: var(--surface-2); border-color: var(--ink-3); text-decoration: none; }
.btn:active, button:active { transform: translateY(1px); }
.btn.primary, button.primary {
	background: var(--btn-gold); color: var(--btn-gold-ink); border-color: rgba(var(--accent-hi-rgb), 0.55);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 8px 24px rgba(var(--accent-glow-rgb), 0.22);
}
.btn.primary:hover, button.primary:hover { filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 32px rgba(var(--accent-glow-rgb), 0.34); }
.btn.ghost, button.ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn.ghost:hover, button.ghost:hover { background: var(--surface-2); }
.btn.danger, button.danger { color: var(--bad); }
.btn.sm, button.sm { padding: 5px 11px; font-size: 12.5px; border-radius: 9px; }
.btn.lg, button.lg { padding: 12px 20px; font-size: 14.5px; border-radius: 14px; }
button:disabled, .btn[aria-disabled='true'] { opacity: 0.55; cursor: default; transform: none; }
.btn svg, button svg { width: 16px; height: 16px; flex: none; }
form.inline { display: inline; margin: 0; }

/* ---------- chips / flags ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; line-height: 1; padding: 6px 9px; border-radius: 999px; background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.chip svg { width: 12px; height: 12px; }
.chip.strong { color: var(--ink); border-color: var(--line-2); }
.chip.made { background: var(--gold-soft); color: var(--gold-2); border-color: rgba(var(--accent-rgb), 0.25); }
[data-theme='light'] .chip.made { color: var(--gold-3); }
.chip.unknown { color: var(--ink-3); border-style: dashed; background: transparent; }
.flag { display: inline-flex; align-items: center; font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; padding: 5px 8px; border-radius: 7px; line-height: 1; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); }
.flag.new { background: var(--btn-gold); color: var(--btn-gold-ink); }
.flag.new small { font-size: 0.92em; font-weight: 600; margin-left: 5px; padding-left: 5px; border-left: 1px solid rgba(27, 21, 11, 0.28); letter-spacing: 0.02em; }
.flag.down { background: #1f9d63; color: #fff; }
.flag.up { background: #b27818; color: #fff; }
.flag.gone { background: #4a4741; color: #eee; }
.flag.paused { background: var(--surface-2); color: var(--ink-3); box-shadow: none; border: 1px solid var(--line); }
.pill { font-size: 13px; padding: 7px 14px; border-radius: 999px; background: transparent; border: 1px solid var(--line-2); color: var(--ink-2); font-weight: 600; }
.pill:hover { color: var(--ink); }
.pill.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 8px; }
.hero-title { font-size: clamp(44px, 6.6vw, 84px); line-height: 1; letter-spacing: -0.03em; font-weight: 700; margin: 6px 0 18px; }
.hero-title em { font-style: normal; background: linear-gradient(180deg, var(--gold-2) 10%, var(--gold) 70%, var(--gold-3)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.04em; }
.hero-lead { color: var(--ink-2); font-size: 16px; margin: 0; max-width: 540px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 30px 0 30px; padding: 0; }
.hero-stats div { min-width: 70px; }
.hero-stats dt { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.hero-stats dd { margin: 0; display: flex; align-items: baseline; }
.hero-stats .n { font-size: 36px; line-height: 1; font-weight: 600; letter-spacing: -0.02em; }
.hero-stats .u { font-size: 13px; color: var(--ink-3); margin-left: 4px; }
.hero-stats dd.accent .n { color: var(--gold-2); }
[data-theme='light'] .hero-stats dd.accent .n { color: var(--gold); }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-feature { position: relative; display: block; min-height: 420px; aspect-ratio: 1 / 0.92; border-radius: 30px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(circle at 50% 36%, #25221d 0%, #131211 60%, #0d0d0e 100%); color: var(--ink); box-shadow: var(--shadow-lg); isolation: isolate; }
[data-theme='light'] .hero-feature { background: radial-gradient(circle at 50% 36%, #ffffff 0%, #f1ede5 60%, #e7e1d6 100%); }
.hero-feature:hover { text-decoration: none; }
.hf-glow { position: absolute; inset: -10%; z-index: -1; background: radial-gradient(circle at 50% 40%, rgba(var(--accent-rgb), 0.3), transparent 50%); animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: 0.75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
.hf-media { position: absolute; left: 50%; top: 39%; width: 58%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--plate); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05); display: grid; place-items: center; overflow: hidden; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.hero-feature:hover .hf-media { transform: translate(-50%, -52%) scale(1.02); }
.hf-media img { width: 86%; height: 86%; object-fit: contain; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 60%, transparent 71%); mask-image: radial-gradient(circle at 50% 50%, #000 60%, transparent 71%); }
.hf-card { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px 16px; border-radius: 18px; background: rgba(12, 12, 13, 0.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.1); color: #f5f2eb; }
[data-theme='light'] .hf-card { background: rgba(255, 255, 255, 0.72); color: var(--ink); border-color: var(--line); }
.hf-label { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-2); font-weight: 700; }
[data-theme='light'] .hf-label { color: var(--gold); }
.hf-title { font-size: 13px; line-height: 1.45; margin: 4px 0 6px; opacity: 0.85; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.hf-price { font-size: 28px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hf-approx { font-size: 0.55em; font-weight: 600; color: var(--ink-2); margin-right: 3px; }
.hf-orig { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.hf-meta { font-size: 12px; opacity: 0.7; margin-top: 4px; }
.hero-feature.is-empty { display: grid; place-items: center; }

/* ---------- onboarding checklist ---------- */
.onboard { margin-top: 44px; padding: 22px 24px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.onboard-head { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.onboard-head .kicker { margin-bottom: 6px; }
.onboard-head h2 { margin: 0; font-size: 20px; }
.onboard-head .count { font-size: 13px; color: var(--ink-3); font-weight: 500; margin-left: 6px; }
.onboard-head .progress { flex: 1; min-width: 160px; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.onboard-head .progress i { display: block; height: 100%; background: var(--btn-gold); border-radius: inherit; transition: width 0.6s; }
.steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.steps li { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); position: relative; }
.steps li b { display: block; font-size: 14.5px; margin-bottom: 3px; }
.steps li span:not(.num) { font-size: 12.5px; color: var(--ink-2); line-height: 1.55; }
.steps li .btn { align-self: flex-start; margin-top: auto; }
.steps .num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; border: 1px solid var(--line-2); color: var(--ink-2); }
.steps .num svg { width: 15px; height: 15px; }
.steps li.is-done { opacity: 0.6; }
.steps li.is-done .num { background: var(--btn-gold); color: var(--btn-gold-ink); border-color: transparent; }
.steps li.is-active { border-color: rgba(var(--accent-rgb), 0.45); background: linear-gradient(180deg, var(--gold-soft), transparent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.06); }
.steps li.is-active .num { border-color: var(--gold); color: var(--gold-2); }

/* ---------- want cards ---------- */
.wgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 18px; }
.wcard { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 16px; transition: border-color 0.25s, transform 0.25s; }
.wcard:hover { border-color: rgba(var(--accent-rgb), 0.3); }
.wcard .kicker { margin-bottom: 6px; }
.wcard h3 { margin: 0; font-size: 19px; line-height: 1.4; }
.wcard h3 a { color: var(--ink); }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.thumbs a, .thumbs span { aspect-ratio: 1; border-radius: 14px; background: var(--plate); overflow: hidden; display: block; }
.thumbs span { background: var(--surface); border: 1px dashed var(--line); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform 0.4s; }
.thumbs a:hover img { transform: scale(1.06); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 0; }
.stat { background: var(--surface-solid); padding: 12px 14px; min-width: 0; }
[data-theme='dark'] .stat { background: #121214; }
.stat dt { font-size: 11px; letter-spacing: 0.12em; color: var(--ink-3); margin: 0 0 4px; }
.stat dd { margin: 0; font-weight: 700; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.01em; }
.stat dd.accent { color: var(--gold-2); }
[data-theme='light'] .stat dd.accent { color: var(--gold); }
.stat dd small { font-weight: 500; font-size: 12px; color: var(--ink-3); }
.wcard .actions { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }
@media (min-width: 761px) {
	.wgrid:has(> .wcard.solo) { grid-template-columns: 1fr; }
	.wcard.solo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-rows: auto auto 1fr auto; column-gap: 32px; row-gap: 16px; padding: 26px; }
	.wcard.solo > .wcard-title { grid-column: 1; grid-row: 1; }
	.wcard.solo > .chips { grid-column: 1; grid-row: 2; }
	.wcard.solo > .stats { grid-column: 1; grid-row: 3; align-self: start; }
	.wcard.solo > .actions { grid-column: 1; grid-row: 4; }
	.wcard.solo { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
	.wcard.solo > .thumbs { grid-column: 2; grid-row: 1 / 5; grid-template-columns: repeat(2, 1fr); align-self: center; justify-self: end; width: 100%; max-width: 340px; }
	.wcard.solo > .stats { grid-template-columns: repeat(4, 1fr); }
	.wcard.solo h3 { font-size: 22px; }
}

/* ---------- listing cards ---------- */
.lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.lcard { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: opacity 0.25s, transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.25s, box-shadow 0.3s; }
.lcard:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb), 0.35); box-shadow: var(--shadow-lg); }
.lcard.is-stale { opacity: 0.5; }
.lcard.is-leaving { opacity: 0; transform: scale(0.96); }
.lcard .media { position: relative; display: block; aspect-ratio: 1; margin: 8px 8px 0; border-radius: 16px; background: var(--plate); overflow: hidden; }
.lcard .media img { width: 100%; height: 100%; object-fit: contain; padding: 7%; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.lcard:hover .media img { transform: scale(1.05); }
.lcard .media .ph { position: absolute; inset: 0; display: grid; place-items: center; color: #9a948a; font-size: 12px; }
.lcard .flags { position: absolute; left: 10px; top: 10px; display: flex; flex-wrap: wrap; gap: 5px; max-width: calc(100% - 60px); }
.lcard .star { position: absolute; right: 16px; top: 16px; margin: 0; }
.icon-btn { width: 36px; height: 36px; padding: 0; justify-content: center; border-radius: 999px; background: rgba(255, 255, 255, 0.86); border: 1px solid rgba(0, 0, 0, 0.06); color: #8a847a; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18); backdrop-filter: blur(6px); }
.icon-btn:hover { background: #fff; color: #3c3832; border-color: rgba(0, 0, 0, 0.1); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn[aria-pressed='true'] { color: #c3973f; }
.icon-btn[aria-pressed='true'] svg { fill: currentColor; animation: pop 0.3s ease-out; }
@keyframes pop { 40% { transform: scale(1.35); } }
.lcard .body { padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lcard .src { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.06em; min-width: 0; }
.lcard .src b { color: var(--ink-2); font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; }
.lcard .src b i { font-style: normal; color: var(--gold); }
.lcard .src span { flex: none; white-space: nowrap; }
.lcard .title { color: var(--ink); font-size: 13.5px; line-height: 1.55; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lcard .title:hover { color: var(--gold-2); text-decoration: none; }
.lcard .pricebox { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lcard .price { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; }
.lcard .was { color: var(--ink-3); text-decoration: line-through; font-size: 12.5px; }
.lcard .approx { font-size: 12.5px; color: var(--ink-2); margin-top: -6px; }
.lcard .approx s { color: var(--ink-3); margin-left: 4px; }
.lcard .approx-usd { font-size: 12.5px; color: var(--ink-2); margin-top: -6px; font-variant-numeric: tabular-nums; }
.price .approx-mark { font-size: 0.6em; font-weight: 600; color: var(--ink-2); margin-right: 3px; }
.spark { width: 64px; height: 20px; overflow: visible; }
.spark polyline { fill: none; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.spark.down polyline { stroke: var(--good); }
.spark.up polyline { stroke: var(--warn); }
.spark.down circle { fill: var(--good); }
.spark.up circle { fill: var(--warn); }
.channels { border-top: 1px solid var(--line); padding-top: 9px; margin-top: 2px; display: flex; flex-direction: column; gap: 4px; }
.channels .ttl { font-size: 10.5px; letter-spacing: 0.14em; color: var(--ink-3); text-transform: uppercase; }
.channels a { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--ink-2); }
.channels a span:last-child { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }
.channels a:hover { color: var(--gold-2); text-decoration: none; }
.lcard .foot { display: flex; align-items: center; gap: 4px; padding: 8px 10px 10px 12px; border-top: 1px solid var(--line); }
.lcard .foot .ghost { border-color: transparent; color: var(--ink-2); }
.lcard .foot .ghost:hover { color: var(--ink); background: var(--surface-2); }
.pr { font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; padding: 1px 4px; margin: 0 5px 0 4px; border-radius: 4px; border: 1px solid var(--line-2); color: var(--ink-3); vertical-align: 1px; }
.lcard .foot .open { margin-left: auto; font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 3px; padding: 4px 6px; color: var(--gold-2); white-space: nowrap; }
.lcard .foot .ghost { padding: 5px 8px; }
[data-theme='light'] .lcard .foot .open { color: var(--gold-3); }
.lcard .foot .open svg { width: 14px; height: 14px; }

/* ---------- recommendations ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: -4px 0 18px; }
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.rcard { display: grid; grid-template-columns: 116px 1fr; gap: 18px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.25s, box-shadow 0.3s; animation: rise 0.35s ease-out both; }
.rcard:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb), 0.35); box-shadow: var(--shadow-lg); }
.rcard-art { aspect-ratio: 1; border-radius: 18px; display: grid; place-items: center; background: radial-gradient(120% 120% at 30% 18%, rgba(var(--accent-rgb), 0.16), rgba(255, 255, 255, 0.02) 60%); border: 1px solid var(--line); }
[data-theme='light'] .rcard-art { background: radial-gradient(120% 120% at 30% 18%, rgba(var(--accent-glow-rgb), 0.14), #f6f3ec 60%); }
.art { width: 86%; height: 86%; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35)); }
.art .strap { fill: #2c2f36; }
.art .link { fill: #9aa0aa; stroke: #6d727b; stroke-width: 0.6; }
.art .case { fill: #d9dbe0; stroke: #8b9099; stroke-width: 1.2; }
.art .bezel { fill: #eceef1; stroke: #9aa0aa; stroke-width: 1; }
.art .bezel.fluted { stroke-dasharray: 1.2 1.1; stroke-width: 2.2; stroke: #b9bdc4; }
.art .insert { fill: #1b2a4a; stroke: #7d8390; stroke-width: 0.8; }
.art .pip { fill: #f1e2b6; }
.art .dial { fill: #161b27; stroke: none; }
.art .sub { fill: #232a38; stroke: var(--gold); stroke-width: 0.6; }
.art .tex { fill: rgba(255, 255, 255, 0.16); }
.art .tex-line { stroke: rgba(255, 255, 255, 0.35); stroke-width: 1; }
.art .screw { fill: #7b808a; }
.art .hand { stroke: #f4efe4; stroke-width: 2; stroke-linecap: round; }
.art .pin { fill: var(--gold); }
.art .gasket { fill: #2f3238; }
.art .bezel.ro { fill: #e6e8ec; stroke: #9aa0aa; stroke-width: 0.9; stroke-linejoin: round; }
.art .bezel.polished { fill: #f7f8fa; stroke: #8f959e; stroke-width: 0.8; stroke-linejoin: round; }
.art .base { fill: #c3c7ce; stroke: #858a93; stroke-width: 0.8; }
.art .hex { fill: #a3a8b0; stroke: #5b6068; stroke-width: 0.35; }
.art .slot { stroke: #5b6068; stroke-width: 0.45; }
.art .chamfer { fill: #fbfbfc; stroke: #a9aeb6; stroke-width: 0.4; }
.art .dial.ro { fill: #1a2a52; }
.art .dial.laureato { fill: #1f3c78; }
.art .dial.slate { fill: #24272d; }
.art .tap { fill: rgba(255, 255, 255, 0.13); }
.art .clous { fill: rgba(255, 255, 255, 0.15); }
.art .grid { stroke: rgba(255, 255, 255, 0.12); stroke-width: 0.35; }
.art .ring { fill: none; stroke: rgba(255, 255, 255, 0.3); stroke-width: 0.35; }
.art .idx { stroke: #eef0f3; stroke-width: 1.3; stroke-linecap: round; }
.art .date { fill: #f4f2ec; }
.art .hand.bar { stroke-width: 1.7; }
.art .link.hi { fill: #cfd3d9; stroke: #8b9099; stroke-width: 0.4; }
.art .link-gap { fill: #6f747d; }
.art .dial.naut { fill: #1d2c4f; }
.art .stripe { stroke: rgba(255, 255, 255, 0.16); stroke-width: 0.9; }
.art .emboss { fill: rgba(255, 255, 255, 0.07); }
.rcard-body { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.rbrand { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.rcard h3 { margin: 0; font-size: 18px; line-height: 1.35; }
.rref { color: var(--ink-3); font-weight: 600; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.rnote { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.reasons { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.reasons li { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--gold-2); }
[data-theme='light'] .reasons li { color: var(--gold-3); }
.reasons svg { width: 13px; height: 13px; flex: none; }
.ractions { display: flex; gap: 6px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }
.ractions svg { width: 14px; height: 14px; }

/* ---------- composer（言葉で登録） ---------- */
.composer { max-width: 880px; margin: 36px auto 0; text-align: center; }
.composer.is-first { margin-top: 9vh; }
.composer.is-home { margin: 26px auto 72px; }
.composer.is-home .composer-title { font-size: clamp(30px, 4vw, 46px); }
.composer.is-home .composer-box { margin-top: 28px; }
.composer-title { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.1; letter-spacing: -0.02em; margin: 8px 0 16px; font-weight: 700; }
.composer.is-first .composer-title { font-size: clamp(38px, 6vw, 70px); line-height: 1.04; letter-spacing: -0.03em; }
.composer.is-first .composer-title { background: linear-gradient(180deg, var(--ink) 30%, var(--ink-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.composer-head p { color: var(--ink-2); font-size: 16px; margin: 0 auto; max-width: 560px; }
.composer-head br.sp { display: none; }
.composer-box { position: relative; margin: 34px auto 16px; display: flex; align-items: flex-end; gap: 10px; padding: 14px 14px 14px 54px; border-radius: 24px; background: var(--surface-solid); border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); text-align: left; transition: border-color 0.3s, box-shadow 0.3s; }
[data-theme='light'] .composer-box { box-shadow: 0 20px 60px rgba(24, 20, 12, 0.12); }
.composer-box::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--spin), rgba(var(--accent-rgb), 0) 0deg, rgba(243, 223, 178, 0.95) 70deg, rgba(127, 156, 245, 0.7) 140deg, rgba(var(--accent-rgb), 0) 220deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.35s; animation: spinVar 3.6s linear infinite; pointer-events: none; }
.composer-box:focus-within { border-color: transparent; box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0.08), 0 30px 80px rgba(0, 0, 0, 0.5); }
.composer-box:focus-within::before, .composer-box.is-thinking::before { opacity: 1; }
@keyframes spinVar { to { --spin: 360deg; } }
.cb-icon { position: absolute; left: 18px; bottom: 21px; color: var(--gold); }
.cb-icon svg { width: 22px; height: 22px; }
.composer-box textarea { flex: 1; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 20px; line-height: 1.5; resize: none; padding: 6px 0; min-height: 44px; max-height: 180px; outline: none; box-shadow: none; }
.composer-box textarea:focus { box-shadow: none; }
.composer-box textarea::placeholder { color: var(--ink-3); }
.cb-go { width: 48px; height: 48px; padding: 0; justify-content: center; border-radius: 16px; flex: none; }
.cb-go svg { width: 20px; height: 20px; }
.examples { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.lang-switch { min-width: 44px; padding-inline: 10px; font-size: 13px; font-weight: 650; letter-spacing: 0.02em; }
.ex-n { margin-left: 7px; font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ex { max-width: 100%; white-space: normal; text-align: center; line-height: 1.45; font-size: 12.5px; font-weight: 500; padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.ex:hover { border-color: rgba(var(--accent-rgb), 0.5); color: var(--ink); background: var(--gold-soft); }
.interp, .interp-static { margin-top: 26px; text-align: left; }
.interp:empty { display: none; }
.interp-static { max-width: 880px; margin-left: auto; margin-right: auto; }
.interp-card { padding: 24px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: rise 0.28s ease-out; }
.interp-card.is-arrived { animation: cardArrive 1.3s ease-out; }
@keyframes cardArrive {
	0% { transform: translateY(10px); opacity: 0.4; box-shadow: var(--shadow-lg), 0 0 0 0 rgba(var(--accent-rgb), 0.55); border-color: rgba(var(--accent-rgb), 0.7); }
	30% { transform: none; opacity: 1; }
	100% { box-shadow: var(--shadow-lg), 0 0 0 16px rgba(var(--accent-rgb), 0); border-color: var(--line); }
}
.composer .interp:not(:empty) { margin-bottom: 18px; }
.ic-head { display: flex; flex-direction: column; gap: 10px; }
.ic-head h3 { margin: 0; font-size: 24px; line-height: 1.3; letter-spacing: -0.01em; }
.conf { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }
.conf i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.conf-high i { background: var(--good); box-shadow: 0 0 10px var(--good); }
.conf-medium i { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.readout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 20px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.readout div { background: var(--surface-solid); padding: 12px 14px; }
[data-theme='dark'] .readout div { background: #121214; }
.readout dt { font-size: 11px; letter-spacing: 0.12em; color: var(--ink-3); margin-bottom: 4px; }
.readout dd { margin: 0; font-weight: 650; font-size: 15px; }
.readout dd.none { color: var(--ink-3); font-weight: 400; }
.notes { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.notes li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink-2); }
.notes svg { width: 15px; height: 15px; color: var(--gold); flex: none; margin-top: 2px; }
.more { margin-top: 14px; font-size: 13px; }
.more summary { cursor: pointer; color: var(--ink-3); }
.more .chips { margin-top: 10px; }
.ic-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.ic-actions > .btn, .ic-actions > button { width: 100%; justify-content: center; min-height: 52px; padding-left: 12px; padding-right: 12px; }
.ic-actions .ic-watch { border-color: rgba(var(--accent-rgb), 0.55); color: var(--gold-2); }
.ic-actions .ic-watch:hover { background: var(--gold-soft); }
@media (max-width: 640px) { .ic-actions { grid-template-columns: minmax(0, 1fr); } }
/* 英語はボタンの言葉が長いので、はみ出さずに 2 行に折り返す */
:root[lang='en'] .ic-actions > .btn, :root[lang='en'] .ic-actions > button, :root[lang='en'] .try-actions > .btn, :root[lang='en'] .try-actions > button { white-space: normal; text-align: center; line-height: 1.25; }
.preview-out { margin-top: 20px; }
.preview-out:empty { display: none; }
.pv-summary { display: flex; align-items: center; gap: 18px; padding: 16px 0 14px; border-top: 1px solid var(--line); }
.pv-big { display: flex; align-items: baseline; }
.pv-big .n { font-size: 60px; line-height: 1; font-weight: 700; letter-spacing: -0.03em; background: linear-gradient(180deg, var(--gold-2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pv-big .u { color: var(--ink-3); margin-left: 4px; }
.pv-text b { display: block; font-size: 17px; }
.pv-text span { color: var(--ink-2); font-size: 13px; }
.pv-text span + span { display: block; margin-top: 4px; color: var(--ink-3); }
.pv-unsure { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 14px; }
.pv-unsure > summary { cursor: pointer; font-weight: 600; color: var(--ink-2); padding: 6px 0; }
.pv-unsure > summary:hover { color: var(--ink); }
.pv-unsure[open] > summary { margin-bottom: 4px; }
.pv-unsure > .hint { margin: 0 0 14px; }
.pv-sources { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.pv-sort { margin: 0 0 16px; }
.pv-miss { margin: -8px 0 16px; font-size: 13px; color: var(--ink-3); }
.pv-miss summary { cursor: pointer; width: fit-content; }
.pv-miss summary:hover { color: var(--ink-2); }
.pv-miss .hint { margin: 6px 0 0; line-height: 1.8; }
.seg button { padding: 6px 12px; border-radius: 10px; border: 0; background: transparent; color: var(--ink-2); font: inherit; font-size: 13.5px; font-weight: 600; white-space: nowrap; cursor: pointer; min-height: 0; box-shadow: none; }
.seg button:hover { color: var(--ink); background: var(--surface-2); }
.seg button[aria-pressed='true'] { background: var(--ink); color: var(--bg); }
.pv-pending { gap: 7px; color: var(--ink-2); border-style: dashed; }
.pv-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pvPulse 1.1s ease-in-out infinite; }
@keyframes pvPulse { 0%, 100% { opacity: 0.25; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1); } }
[data-try].is-sorting .listing-grid, [data-try].is-sorting .lgrid { opacity: 0.55; transition: opacity 0.15s; }
@media (prefers-reduced-motion: reduce) { .pv-dot { animation: none; opacity: 0.8; } }
.skeleton { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.skeleton i { display: block; aspect-ratio: 0.78; border-radius: 18px; background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { to { background-position: -300% 0; } }
.thinking { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 14px; margin: 16px 0; }
.thinking .radar { width: 22px; height: 22px; }

/* ---------- want detail ---------- */
.head-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.menu { position: relative; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu .pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 220px; background: var(--surface-solid); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; }
.menu .pop form, .menu .pop a { display: block; }
.menu .pop button, .menu .pop a { width: 100%; justify-content: flex-start; border: 0; background: transparent; padding: 9px 11px; border-radius: 9px; font-weight: 500; color: var(--ink); }
.menu .pop button:hover, .menu .pop a:hover { background: var(--surface-2); text-decoration: none; }
.menu .pop .danger { color: var(--bad); }
.statbar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin: 6px 0 0; box-shadow: var(--shadow); }
.statbar .stat { padding: 16px 18px; }
.statbar.four { grid-template-columns: repeat(4, 1fr); }
.statbar.four .stat:last-child { grid-column: auto; }
.statbar .stat dd { font-size: 24px; }
.toolbar { position: sticky; top: 63px; z-index: 5; margin: 30px -10px 18px; padding: 10px; border-radius: 16px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; padding: 3px; gap: 2px; overflow-x: auto; max-width: 100%; }
.seg a { padding: 6px 12px; border-radius: 10px; color: var(--ink-2); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.seg a:hover { text-decoration: none; color: var(--ink); background: var(--surface-2); }
.seg a[aria-current='true'] { background: var(--ink); color: var(--bg); }
.seg a .n { font-weight: 500; opacity: 0.65; margin-left: 5px; font-size: 12px; }
.sortform { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--ink-3); }
select, input[type='text'], input[type='number'], input[type='url'], input[type='month'], input[type='tel'], textarea {
	font: inherit; font-size: 14.5px; color: var(--ink); background: var(--surface-solid);
	border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; width: 100%;
	transition: border-color 0.18s, box-shadow 0.18s;
}
select { width: auto; padding-right: 32px; }
.form .grid2 .field select { width: 100%; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
textarea { min-height: 88px; resize: vertical; line-height: 1.6; }
.note { font-size: 13px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 15px; }

/* ---------- panels / tables ---------- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
details.panel > summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; align-items: center; gap: 10px; }
details.panel > summary::-webkit-details-marker { display: none; }
details.panel > summary::before { content: ''; width: 7px; height: 7px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(-45deg); transition: transform 0.18s; margin-right: 2px; }
details.panel[open] > summary::before { transform: rotate(45deg); }
details.panel > .content { padding: 0 20px 20px; }
.linkchips { display: flex; flex-wrap: wrap; gap: 6px; }
.linkchips a { font-size: 13px; padding: 7px 11px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.linkchips a:hover { border-color: var(--gold); color: var(--gold-2); text-decoration: none; }
.linkchips a.manual::after { content: ' ↗'; color: var(--ink-3); }
.kv { display: grid; grid-template-columns: 120px 1fr; gap: 8px 16px; font-size: 14px; margin: 0; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; font-weight: 600; font-size: 11px; letter-spacing: 0.12em; color: var(--ink-3); padding: 12px 16px; border-bottom: 1px solid var(--line); text-transform: uppercase; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table .r { text-align: right; font-variant-numeric: tabular-nums; }
.table .down { color: var(--good); font-weight: 700; }
.table .up { color: var(--warn); font-weight: 700; }
.table .err { color: var(--bad); font-size: 12.5px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; background: var(--ink-3); }
.dot.ok { background: var(--good); box-shadow: 0 0 8px var(--good); }
.dot.link { background: var(--line-2); }
.dot.err { background: var(--bad); }
.run { margin-bottom: 14px; }
.run summary .sum { color: var(--ink-3); font-weight: 400; font-size: 13px; margin-left: auto; }

/* ---------- forms ---------- */
.form { display: flex; flex-direction: column; gap: 18px; max-width: 880px; }
.fieldset { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px 24px; box-shadow: var(--shadow); }
.fieldset > h3 { margin: 0 0 6px; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.fieldset > h3 svg { width: 18px; height: 18px; color: var(--gold); }
.fieldset > .lead { margin: 0 0 16px; color: var(--ink-3); font-size: 13px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-top: 14px; }
.field:first-of-type { margin-top: 0; }
.field > label, .field > .label { font-weight: 600; font-size: 13.5px; }
.hint { color: var(--ink-3); font-size: 12.5px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.grid2 > .field { margin-top: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 6px; }
.checks label { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); cursor: pointer; }
.checks label small { font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; margin-left: -2px; }
.checks .sw, .chip.dial .sw { width: 12px; height: 12px; border-radius: 50%; display: inline-block; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.35); flex: none; }
.chip.dial { gap: 6px; }
.checks label:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); color: var(--gold-2); }
.switch { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.switch input { width: 18px; height: 18px; accent-color: var(--gold); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; position: sticky; bottom: 0; padding: 14px 0; background: linear-gradient(transparent, var(--bg) 35%); }

/* ---------- misc ---------- */
.empty { text-align: center; padding: 44px 20px; color: var(--ink-2); background: var(--surface); border: 1px dashed var(--line-2); border-radius: 20px; }
.empty strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }

/* ---------- FAB ---------- */
.fab {
	position: fixed; right: max(26px, env(safe-area-inset-right)); bottom: max(26px, env(safe-area-inset-bottom)); z-index: 30;
	display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 16px 0 20px; border-radius: 999px;
	background: var(--btn-gold); color: var(--btn-gold-ink); font-weight: 700; font-size: 15px; letter-spacing: 0.01em;
	border: 1px solid rgba(var(--accent-hi-rgb), 0.6);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 16px 40px rgba(var(--accent-glow-rgb), 0.35), 0 4px 12px rgba(0, 0, 0, 0.35);
	transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.2s, opacity 0.25s;
}
.fab.is-away { opacity: 0; transform: translateY(18px) scale(0.96); pointer-events: none; }
.fab:hover { text-decoration: none; transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 22px 50px rgba(var(--accent-glow-rgb), 0.45), 0 6px 16px rgba(0, 0, 0, 0.35); }
.fab:active { transform: translateY(0) scale(0.98); }
.fab svg { width: 22px; height: 22px; stroke-width: 2.4; }
.fab kbd { font: 600 11px/1 'Inter Tight', system-ui; padding: 5px 7px; border-radius: 7px; background: rgba(27, 21, 11, 0.12); border: 1px solid rgba(27, 21, 11, 0.18); }

/* ---------- toast ---------- */
.toasts { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 50; display: flex; flex-direction: column; gap: 8px; align-items: center; width: min(560px, calc(100% - 32px)); pointer-events: none; }
.toast { pointer-events: auto; width: 100%; display: flex; align-items: center; gap: 12px; background: rgba(20, 20, 22, 0.86); color: #f5f2eb; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 13px 14px 13px 18px; box-shadow: var(--shadow-lg); font-size: 14px; animation: rise 0.25s ease-out; }
.toast .msg { flex: 1; }
.toast button { background: transparent; color: inherit; border-color: rgba(255, 255, 255, 0.25); padding: 6px 11px; font-size: 13px; }
.toast button:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.toast .bar { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.14); overflow: hidden; margin-top: 8px; }
.toast .bar i { display: block; height: 100%; width: 0; background: var(--btn-gold); transition: width 0.4s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
	.hero { grid-template-columns: 1fr; gap: 28px; }
	.hero-feature { min-height: 340px; }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.site-header .inner { flex-wrap: wrap; gap: 8px 12px; padding: 10px 16px; }
	.nav { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; }
	.nav::-webkit-scrollbar { display: none; }
	.nav a { padding: 7px 10px; }
	.scanbox .when { display: none; }
	.scan-btn .lbl { display: none; }
	main { padding: 20px 16px 80px; }
	section { margin-top: 42px; }
	.hero-title { font-size: 48px; }
	.hero-stats { gap: 12px 24px; }
	.hero-stats .n { font-size: 28px; }
	.hero-feature { min-height: 0; aspect-ratio: 1 / 1.05; }
	.wgrid { grid-template-columns: 1fr; }
	.statbar { grid-template-columns: repeat(2, 1fr); }
	.statbar .stat:last-child { grid-column: span 2; }
	.lgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.lcard { border-radius: 18px; }
	.lcard .media { margin: 6px 6px 0; border-radius: 13px; }
	.lcard .body { padding: 10px 11px 8px; }
	.lcard .price { font-size: 17px; }
	.lcard .foot .lbl { display: none; }
	.lcard .foot { gap: 0; padding: 6px 6px 8px; }
	.lcard .foot .ghost { padding: 5px 6px; }
	.lcard .foot .open .t { display: none; }
	.kv { grid-template-columns: 84px minmax(0, 1fr); }
	.lcard .src span { display: none; }
	.lcard .flags { left: 6px; top: 6px; }
	.lcard .star { right: 10px; top: 10px; }
	.icon-btn { width: 32px; height: 32px; }
	.grid2, .twocol { grid-template-columns: 1fr; }
	.toolbar { position: static; margin: 22px 0 12px; padding: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
	.kv { grid-template-columns: 96px 1fr; }
	.rgrid { grid-template-columns: 1fr; }
	.rcard { grid-template-columns: 92px 1fr; gap: 14px; padding: 14px; }
	.steps { grid-template-columns: 1fr; }
	.readout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.composer.is-first { margin-top: 4vh; }
	.composer-head br.sp { display: inline; }
	.composer-box textarea { font-size: 17px; }
	.fab { height: 60px; width: 60px; padding: 0; justify-content: center; right: 18px; bottom: 18px; }
	.fab span, .fab kbd { display: none; }
	.toasts { bottom: 92px; }
}
/* ---------- 時計図鑑 ---------- */
.rmore { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; color: var(--gold-2); font-weight: 600; white-space: nowrap; }
[data-theme='light'] .rmore { color: var(--gold-3); }
.rmore svg { width: 12px; height: 12px; }
.gjump { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 30px; }
.gbrand { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 34px; padding: 34px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.gbrand.solo { margin-top: 56px; align-items: start; }
.gbrand-head h2, .gbrand-head h3 { margin: 4px 0 10px; font-size: 26px; letter-spacing: -0.01em; }
.gfacts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--ink-3); }
.gtag { color: var(--ink); font-size: 15.5px; line-height: 1.7; margin: 12px 0 0; }
.gstory { margin-top: 14px; }
.gstory summary { cursor: pointer; color: var(--gold-2); font-weight: 600; font-size: 13.5px; list-style: none; }
[data-theme='light'] .gstory summary { color: var(--gold-3); }
.gstory summary::-webkit-details-marker { display: none; }
.gstory summary::after { content: ' ＋'; }
.gstory[open] summary::after { content: ' −'; }
.gstory p { color: var(--ink-2); font-size: 14px; line-height: 1.85; }
.ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; align-content: start; }
.gcard { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; color: var(--ink); box-shadow: var(--shadow); transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.25s; }
.gcard:hover { text-decoration: none; transform: translateY(-3px); border-color: rgba(var(--accent-rgb), 0.35); }
.gcard-art { aspect-ratio: 1; border-radius: 16px; display: grid; place-items: center; background: radial-gradient(120% 120% at 30% 18%, rgba(var(--accent-rgb), 0.16), rgba(255, 255, 255, 0.02) 60%); border: 1px solid var(--line); }
.gcard-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.gcard h3 { margin: 0; font-size: 18px; }
.gcard p { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.gmeta { font-size: 11.5px; letter-spacing: 0.06em; color: var(--ink-3); }
.gmore { margin-top: auto; padding-top: 4px; display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--gold-2); }
[data-theme='light'] .gmore { color: var(--gold-3); }
.gmore svg { width: 13px; height: 13px; }
.ghero { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 44px; align-items: center; margin: 6px 0 44px; }
.ghero-art { aspect-ratio: 1; border-radius: 30px; display: grid; place-items: center; background: radial-gradient(circle at 50% 38%, rgba(var(--accent-rgb), 0.2), rgba(255, 255, 255, 0.02) 62%); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.ghero-art .art { width: 82%; height: 82%; }
.ghero-copy h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.02em; margin: 6px 0 4px; }
.ghero-copy .gtag { font-size: 18px; }
.gfactbar { display: flex; flex-wrap: wrap; gap: 12px 30px; margin: 26px 0 28px; padding: 0; }
.gfactbar dt { font-size: 11px; letter-spacing: 0.16em; color: var(--ink-3); margin-bottom: 4px; }
.gfactbar dd { margin: 0; font-weight: 650; }
.gcols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 40px; align-items: start; }
.prose h2 { font-size: 20px; margin: 30px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); font-size: 15px; line-height: 1.95; margin: 0 0 14px; }
.reasons.big { gap: 9px; }
.reasons.big li { font-size: 14.5px; color: var(--ink); align-items: flex-start; }
.reasons.big svg { width: 16px; height: 16px; color: var(--gold); margin-top: 3px; }
.tips { margin: 0; padding-left: 20px; color: var(--ink-2); font-size: 14.5px; line-height: 1.85; }
.tips li::marker { color: var(--gold); }
.gaside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 90px; }
.panel-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
.panel-card h3 { margin: 0 0 12px; font-size: 15px; }
.table.gen td { vertical-align: top; }
.table.gen b { white-space: nowrap; }
.table.gen td:nth-child(2), .table.gen td:nth-child(3) { white-space: nowrap; font-size: 12.5px; }
.gwatch { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.gwatch:first-of-type { border-top: 0; padding-top: 0; }
.gteaser { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 26px; align-items: center; margin-top: 44px; padding: 22px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.gteaser:not(:has(.gteaser-art)) { grid-template-columns: 1fr; }
.gteaser-art { aspect-ratio: 1; border-radius: 18px; display: grid; place-items: center; background: radial-gradient(120% 120% at 30% 18%, rgba(var(--accent-rgb), 0.16), rgba(255, 255, 255, 0.02) 60%); border: 1px solid var(--line); }
.gteaser-body h2 { margin: 4px 0 0; font-size: 22px; }
.gteaser-body h2 .muted { font-size: 14px; font-weight: 500; }
.gteaser-body p { margin: 8px 0 0; font-size: 14px; line-height: 1.75; }
.gteaser-body .btn { margin-top: 14px; white-space: normal; text-align: left; }
@media (max-width: 980px) {
	.gcols { grid-template-columns: minmax(0, 1fr); }
	.gaside { position: static; }
}
@media (max-width: 760px) {
	.gbrand { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 26px 0; }
	.ghero { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.ggrid { grid-template-columns: minmax(0, 1fr); }
	.ghero-art { max-width: 300px; }
	.gteaser { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 16px; }
	.gcard { grid-template-columns: 88px 1fr; }
}

/* ---------- マイコレクション ---------- */
.ogrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; margin-top: 8px; }
.ocard { display: grid; grid-template-columns: 132px minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 0 18px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; transition: border-color 0.25s, transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.ocard:hover { border-color: rgba(var(--accent-rgb), 0.3); transform: translateY(-2px); }
.ocard.sold { opacity: 0.7; }
.ocard-media { margin: 14px 0 14px 14px; border-radius: 16px; aspect-ratio: 1; display: grid; place-items: center; background: var(--plate); overflow: hidden; align-self: start; }
.ocard-media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.ocard-media .art, .ostrip-thumbs .art, .ohero-media .art { width: 88%; height: 88%; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25)); }
.ocard-body { padding: 16px 16px 12px 0; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.ocard h3 { margin: 0; font-size: 16.5px; line-height: 1.4; }
.ocard h3 a { color: var(--ink); }
.ohead { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ohead .kicker { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.opill { flex: none; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap; }
.opill.selling { color: var(--btn-gold-ink); background: var(--btn-gold); border-color: transparent; }
.opill.sold { color: var(--ink-3); border-style: dashed; }
.obuy { font-size: 12.5px; color: var(--ink-2); }
.obuy b { color: var(--ink); }
.omarket { margin-top: 2px; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.omarket .lbl { font-size: 10.5px; letter-spacing: 0.14em; color: var(--ink-3); }
.omarket .orow { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.omarket b { font-size: 22px; letter-spacing: -0.01em; }
.omarket .sub { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.omarket.none .sub { font-size: 12px; color: var(--ink-2); }
.gain { font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.gain small { font-size: 0.85em; margin-left: 5px; opacity: 0.85; }
.gain.up, .statbar dd.up { color: var(--good); }
.gain.down, .statbar dd.down { color: var(--bad); }
.ocard .foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 4px; padding: 8px 12px 10px; border-top: 1px solid var(--line); }
.ocard .foot .ghost { border-color: transparent; color: var(--ink-2); padding: 5px 8px; }
.ocard .foot .ghost:hover { color: var(--ink); background: var(--surface-2); }
.ocard .foot .open { margin-left: auto; font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; color: var(--gold-2); white-space: nowrap; }
.ocard .foot .open svg { width: 13px; height: 13px; }
.ohero { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 30px; align-items: center; margin: 6px 0 28px; }
.ohero-media { aspect-ratio: 1; border-radius: 26px; background: var(--plate); display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow-lg); }
.ohero-media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.ohero-copy h1 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; margin: 6px 0 12px; }
.ocols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.ocols .panel-card, .orecord { padding: 22px; }
.orecord { margin-top: 18px; }
.obig { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 4px 0 6px; }
.obig b { font-size: 34px; letter-spacing: -0.02em; }
.obig.small { flex-direction: column; gap: 2px; }
.obig.small b { font-size: 26px; }
.otrend { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.otrend .spark { width: 120px; height: 34px; }
.form.tight { margin-top: 16px; }
.form.tight .form-actions { margin-top: 12px; position: static; padding: 0; background: none; }
input[type='month'] { color-scheme: dark; }
[data-theme='light'] input[type='month'] { color-scheme: light; }
.seg-radio { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 14px; flex-wrap: wrap; }
.seg-radio label { cursor: pointer; }
.seg-radio input { position: absolute; opacity: 0; pointer-events: none; }
.seg-radio span { display: block; padding: 7px 14px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.seg-radio input:checked + span { background: var(--surface-solid); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.seg-radio input:focus-visible + span { outline: 2px solid var(--gold); }
.osell .tips { margin-top: 16px; font-size: 13px; }
.kv .pre { white-space: pre-wrap; }
.onboard-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.ostrip { display: flex; align-items: center; gap: 18px; margin-top: 18px; padding: 14px 18px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); color: var(--ink); box-shadow: var(--shadow); transition: border-color 0.25s; }
.ostrip:hover { text-decoration: none; border-color: rgba(var(--accent-rgb), 0.35); }
.ostrip-thumbs { display: flex; }
.ostrip-thumbs span { width: 52px; height: 52px; border-radius: 14px; background: var(--plate); display: grid; place-items: center; overflow: hidden; border: 2px solid var(--bg); margin-left: -12px; }
.ostrip-thumbs span:first-child { margin-left: 0; }
.ostrip-thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.ostrip-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ostrip-text .kicker { margin: 0; }
.ostrip-text span { font-size: 13px; color: var(--ink-2); }
.ostrip-go { margin-left: auto; color: var(--gold-2); }
.ostrip-go svg { width: 20px; height: 20px; }
@media (max-width: 760px) {
	.statbar.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
	.ogrid { grid-template-columns: minmax(0, 1fr); }
	.ocard { grid-template-columns: 96px minmax(0, 1fr); gap: 0 12px; }
	.ocard-media { margin: 12px 0 12px 12px; }
	.ocard .foot .lbl { display: none; }
	.ohero { grid-template-columns: 110px minmax(0, 1fr); gap: 16px; }
	.ocols { grid-template-columns: minmax(0, 1fr); }
	.obig b { font-size: 28px; }
}

/* ---------- ログイン・アカウント ---------- */
.auth { display: grid; place-items: center; padding: 6vh 0 4vh; }
.auth-card { width: min(520px, 100%); background: var(--card); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.auth-card h1 { font-size: 28px; margin: 2px 0 0; letter-spacing: -0.01em; }
.auth-card .lead-text { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.75; }
.auth-card .btn, .auth-card button { justify-content: center; }
.wide { width: 100%; }
.auth-form { display: flex; flex-direction: column; gap: 8px; }
.auth-form label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.auth-form input[type='tel'], .auth-form input[type='text'] { font-size: 17px; padding: 12px 14px; }
.code-input { font-size: 26px !important; letter-spacing: 0.4em; text-align: center; font-variant-numeric: tabular-nums; }
.auth-error { margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(255, 123, 111, 0.1); border: 1px solid rgba(255, 123, 111, 0.35); color: var(--bad); font-size: 13.5px; }
.auth-note { margin: 0; font-size: 13px; color: var(--ink-2); }
.auth-legal { margin: 4px 0 0; font-size: 12px; color: var(--ink-3); }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 12px; margin: 6px 0; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
/* Google のボタン（Google の案内どおり: 白地または黒地に 4 色の G） */
.btn.google { background: #131314; color: #e3e3e3; border-color: #8e918f; }
.btn.google:hover { background: #1f1f20; border-color: #c4c7c5; }
[data-theme='light'] .btn.google { background: #fff; color: #1f1f1f; border-color: #747775; }
[data-theme='light'] .btn.google:hover { background: #f8f9fa; }
.btn.google svg { width: 18px; height: 18px; }
.auth-stack { display: flex; flex-direction: column; gap: 8px; }
.auth-alt { border-top: 1px solid var(--line); padding-top: 12px; }
.auth-alt summary { cursor: pointer; font-size: 13px; color: var(--ink-2); list-style: none; display: flex; align-items: center; gap: 6px; }
.auth-alt summary::-webkit-details-marker { display: none; }
.auth-alt summary::before { content: '›'; display: inline-block; transition: transform 0.15s; }
.auth-alt[open] summary::before { transform: rotate(90deg); }
.auth-alt[open] summary { margin-bottom: 10px; }
.auth-stack .hint { margin: 0; font-size: 12.5px; line-height: 1.7; color: var(--ink-2); }
.pk-list { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; }
.pk-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.pk-list li:first-child { border-top: 0; }
.pk-list li > span { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.pk-list svg { width: 16px; height: 16px; color: var(--gold); }
.account-link svg { width: 18px; height: 18px; }

/* ---------- 紹介（ログイン前のトップ） ---------- */
.lp-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 64px; }
.lp-feature { padding: 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.lp-feature h3 { margin: 12px 0 8px; font-size: 17px; line-height: 1.45; }
.lp-feature p { margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.75; }
.lp-ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-2); }
.lp-ico svg { width: 20px; height: 20px; }
.lp-picks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-picks .gcard { grid-template-columns: minmax(0, 1fr); }
.lp-picks .gcard-art { aspect-ratio: 4 / 3; }
.lp-picks .gcard-art .art { width: 62%; height: 62%; }
@media (max-width: 1100px) { .lp-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lp-picks .gcard { grid-template-columns: 120px minmax(0, 1fr); } .lp-picks .gcard-art { aspect-ratio: 1; } .lp-picks .gcard-art .art { width: 86%; height: 86%; } }
@media (max-width: 600px) { .lp-picks { grid-template-columns: minmax(0, 1fr); } .lp-picks .gcard { grid-template-columns: 96px minmax(0, 1fr); } }
.lp-cta { margin: 64px 0 20px; padding: 36px 24px; text-align: center; border-radius: 28px; border: 1px solid rgba(var(--accent-rgb), 0.3); background: radial-gradient(120% 140% at 50% 0%, rgba(var(--accent-rgb), 0.16), transparent 60%), var(--card); }
.lp-cta h2 { margin: 0 0 8px; font-size: clamp(22px, 3vw, 30px); }
.lp-cta p { margin: 0 0 20px; color: var(--ink-2); }

/* ---------- フッター ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 60px; }
.site-footer .inner { max-width: 1240px; margin: 0 auto; padding: 24px 22px 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-2); }
.prose.legal { max-width: 760px; }
.prose.legal ul { color: var(--ink-2); line-height: 1.9; padding-left: 20px; }
@media (max-width: 760px) {
	.lp-features { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
	.auth-card { padding: 22px; border-radius: 22px; }
}

/* ---------- テーマの色（メタル）: イエローゴールド（既定）・ピンクゴールド・ホワイトゴールド・ステンレス ---------- */
[data-accent='rose'] { --gold: #e3a893; --gold-2: #f7d6ca; --gold-3: #b9725d; --gold-soft: rgba(227, 168, 147, 0.13); --accent-rgb: 227, 168, 147; --accent-glow-rgb: 214, 140, 115; --accent-hi-rgb: 255, 222, 210; --btn-gold: linear-gradient(180deg, #f6d4c7 0%, #dea08b 55%, #cb846f 100%); --btn-gold-ink: #2a130c; }
[data-accent='white'] { --gold: #d6dbe2; --gold-2: #f5f7fa; --gold-3: #9ba3ae; --gold-soft: rgba(214, 219, 226, 0.1); --accent-rgb: 214, 219, 226; --accent-glow-rgb: 190, 198, 208; --accent-hi-rgb: 255, 255, 255; --btn-gold: linear-gradient(180deg, #fbfcfd 0%, #e1e5ea 55%, #c7cdd5 100%); --btn-gold-ink: #14171b; }
[data-accent='steel'] { --gold: #a9b6c4; --gold-2: #dde5ed; --gold-3: #6e7d8e; --gold-soft: rgba(169, 182, 196, 0.12); --accent-rgb: 169, 182, 196; --accent-glow-rgb: 140, 156, 174; --accent-hi-rgb: 225, 233, 241; --btn-gold: linear-gradient(180deg, #e6ebf0 0%, #b8c2cd 55%, #97a3b1 100%); --btn-gold-ink: #10141a; }
[data-theme='light'][data-accent='rose'] { --gold: #a65f4a; --gold-2: #c27a64; --gold-3: #874634; --gold-soft: rgba(166, 95, 74, 0.1); --accent-rgb: 166, 95, 74; --accent-glow-rgb: 194, 122, 100; }
[data-theme='light'][data-accent='white'] { --gold: #6a7380; --gold-2: #858e9a; --gold-3: #4c535d; --gold-soft: rgba(106, 115, 128, 0.1); --accent-rgb: 106, 115, 128; --accent-glow-rgb: 133, 142, 154; }
[data-theme='light'][data-accent='steel'] { --gold: #56687b; --gold-2: #74879b; --gold-3: #3f4e5e; --gold-soft: rgba(86, 104, 123, 0.1); --accent-rgb: 86, 104, 123; --accent-glow-rgb: 116, 135, 155; }
.sw-yellow { background: linear-gradient(135deg, #f3dfb2, #c39a52); }
.sw-rose { background: linear-gradient(135deg, #f7d6ca, #cb846f); }
.sw-white { background: linear-gradient(135deg, #ffffff, #c7cdd5); }
.sw-steel { background: linear-gradient(135deg, #e6ebf0, #8d99a7); }
.accent-picker { position: relative; }
.accent-dot { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--btn-gold); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.35); }
.accent-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; min-width: 210px; padding: 6px; border-radius: 16px; background: var(--surface-solid); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 2px; }
.accent-pop[hidden] { display: none; }
.accent-opt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 11px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; text-align: left; }
.accent-opt:hover { background: var(--surface-2); }
.accent-opt[aria-checked='true'] { background: var(--gold-soft); }
.accent-opt[aria-checked='true']::after { content: '✓'; margin-left: auto; color: var(--gold-2); font-weight: 700; }
.accent-opt i { width: 20px; height: 20px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.3); }
.accent-row { display: flex; flex-wrap: wrap; gap: 8px; }
.accent-row .accent-opt { width: auto; border: 1px solid var(--line-2); padding: 9px 14px; }

/* ---------- さりげない動き（金属の揺らぎ） ----------
   どれも弱く・ゆっくり。動きを減らす設定の人には出さない */
/* 1. 金のボタンに、磨いた金属に光が走るような反射（ときどき） */
.fab, .btn.primary.lg, .cb-go, .hero-actions .btn.primary { position: relative; overflow: hidden; isolation: isolate; }
.fab::after, .btn.primary.lg::after, .cb-go::after, .hero-actions .btn.primary::after {
	content: ''; position: absolute; inset: -20% auto -20% 0; width: 45%; pointer-events: none; z-index: 1;
	background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 80%, transparent 100%);
	transform: translateX(-160%) skewX(-18deg); animation: metalGlint 7.5s ease-in-out infinite; mix-blend-mode: soft-light;
}
.cb-go::after { animation-delay: 1.8s; }
.btn.primary.lg::after { animation-delay: 3.2s; }
.hero-actions .btn.primary::after { animation-delay: 4.6s; }
@keyframes metalGlint { 0%, 72% { transform: translateX(-160%) skewX(-18deg); } 100% { transform: translateX(360%) skewX(-18deg); } }
/* ふつうの金のボタンは、手を乗せたときだけ光が走る */
.btn.primary:not(.lg), button.primary:not(.cb-go) { position: relative; overflow: hidden; }
.btn.primary:not(.lg)::before, button.primary:not(.cb-go)::before {
	content: ''; position: absolute; inset: 0 auto 0 0; width: 40%; pointer-events: none;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent); transform: translateX(-180%) skewX(-18deg); mix-blend-mode: soft-light;
}
.btn.primary:not(.lg):hover::before, button.primary:not(.cb-go):hover::before { transition: transform 0.9s ease; transform: translateX(320%) skewX(-18deg); }

/* 2. 時計の絵: なめらかに回る秒針と、ベゼルをかすめる光 */
.art .hand-sec { stroke: var(--gold); stroke-width: 0.55; stroke-linecap: round; }
.art .sec { transform-box: view-box; transform-origin: 40px 40px; animation: secSweep 60s linear infinite; }
@keyframes secSweep { to { transform: rotate(360deg); } }
.gcard-art, .rcard-art, .ghero-art, .ocard-media, .gteaser-art, .ostrip-thumbs span { position: relative; overflow: hidden; }
.gcard-art::after, .rcard-art::after, .ghero-art::after, .gteaser-art::after {
	content: ''; position: absolute; inset: -30%; pointer-events: none;
	background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.09) 47%, rgba(var(--accent-hi-rgb), 0.16) 50%, rgba(255, 255, 255, 0.06) 53%, transparent 62%);
	transform: translateX(-70%); animation: bezelGlint 11s ease-in-out infinite;
}
.ggrid > :nth-child(2n) .gcard-art::after, .rgrid > :nth-child(2n) .rcard-art::after { animation-delay: 2.7s; }
.ggrid > :nth-child(3n) .gcard-art::after, .rgrid > :nth-child(3n) .rcard-art::after { animation-delay: 5.1s; }
.ggrid > :nth-child(4n) .gcard-art::after, .rgrid > :nth-child(4n) .rcard-art::after { animation-delay: 7.9s; }
.gcard:hover .gcard-art::after, .rcard:hover .rcard-art::after { animation-duration: 2.4s; animation-delay: 0s; }
@keyframes bezelGlint { 0%, 60% { transform: translateX(-70%); } 100% { transform: translateX(70%); } }

/* 3. ロゴの「radar」: 金属のグラデーションがゆっくり揺らぐ */
.wordmark b { background: linear-gradient(100deg, var(--gold-3) 0%, var(--gold-2) 30%, var(--gold) 45%, var(--gold-2) 60%, var(--gold-3) 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: wordShimmer 9s ease-in-out infinite alternate; }
@keyframes wordShimmer { from { background-position: 0% 0; } to { background-position: 100% 0; } }
/* 4. 色の丸: 手を乗せると金属の光がくるりと回る */
.accent-dot { position: relative; overflow: hidden; }
.accent-dot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: conic-gradient(from 0deg, transparent 0 70%, rgba(255, 255, 255, 0.7) 80%, transparent 90%); opacity: 0; transition: opacity 0.3s; }
[data-accent-toggle]:hover .accent-dot::after { opacity: 1; animation: dotSpin 1.4s linear infinite; }
@keyframes dotSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
	.fab::after, .btn.primary.lg::after, .cb-go::after, .hero-actions .btn.primary::after, .art .sec, .gcard-art::after, .rcard-art::after, .ghero-art::after, .gteaser-art::after, .wordmark b, .accent-dot::after, .interp-card.is-arrived { animation: none !important; }
	.btn.primary:not(.lg):hover::before, button.primary:not(.cb-go):hover::before { transition: none; }
}

@media (max-width: 360px) {
	.scanbox { gap: 6px; }
	.scanbox .icon-only, .scanbox .head-btn, .scanbox .scan-btn { height: 34px; }
	.scanbox .icon-only { width: 34px; }
	.wordmark { font-size: 16px; }
}

/* ---------- 試しに探す（専用ページ） ---------- */
.try-head { margin-top: 8px; }
.try-head h1 { font-size: clamp(26px, 4.6vw, 40px); line-height: 1.2; letter-spacing: -0.02em; margin: 6px 0 6px; }
.try-q { color: var(--ink-3); font-size: 13.5px; margin: 0 0 14px; overflow-wrap: anywhere; }
.try-conds { margin-bottom: 18px; }
.try-conds .chip { white-space: normal; line-height: 1.4; }
.try-conds .chip b { color: var(--ink-3); font-weight: 500; margin-right: 2px; }
.try-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 620px; }
.try-actions > .btn, .try-actions > button { width: 100%; justify-content: center; min-height: 52px; }
.try-actions.center { margin: 0 auto; }
.try-results { margin-top: 28px; min-height: 240px; }
.try-results .thinking { margin-bottom: 18px; }
.try-cta { margin-top: 44px; padding: 32px 22px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); text-align: center; }
.try-cta h2 { margin: 0 0 6px; font-size: 22px; }
.try-cta .hint { margin: 0 0 18px; }
@media (max-width: 640px) { .try-actions { grid-template-columns: minmax(0, 1fr); } }
/* 表示広告: 「広告」と分かるように */
.ad { position: relative; margin: 28px 0; padding: 22px 12px 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); min-height: 100px; }
.ad-label { position: absolute; top: 6px; left: 12px; font-size: 10.5px; letter-spacing: 0.08em; color: var(--ink-3); }
.ad-placeholder { display: flex; align-items: center; justify-content: center; border-style: dashed; color: var(--ink-3); font-size: 12.5px; text-align: center; min-height: 120px; }

/* ---------- 出品の「詳しく見る」（スマホは下から、PC は中央に 2 段組み） ---------- */
.lsheet { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.lsheet[hidden] { display: none; }
.lsheet-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); opacity: 0; transition: opacity 0.22s ease; backdrop-filter: blur(2px); }
.lsheet.is-open .lsheet-bg { opacity: 1; }
.lsheet-panel { position: relative; width: 100%; max-height: 92vh; overflow-y: auto; overscroll-behavior: contain; background: var(--surface-solid); border: 1px solid var(--line-2); border-radius: 26px 26px 0 0; box-shadow: var(--shadow-lg); padding: 18px 18px calc(22px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }
.lsheet.is-open .lsheet-panel { transform: none; }
.lsheet-panel::before { content: ''; display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--line-2); margin: -6px auto 12px; }
.lsheet-x { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--surface-solid); }
.lsheet-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.lsheet-info { min-width: 0; }
.wopt { min-width: 0; white-space: normal; }
.lsheet-media { position: relative; aspect-ratio: 1; max-height: 46vh; margin: 0 auto; width: min(100%, 46vh); border-radius: 18px; background: var(--plate); overflow: hidden; }
.lsheet-media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.lsheet-media .ph { position: absolute; inset: 0; display: grid; place-items: center; color: #9a948a; font-size: 13px; }
.lsheet-src { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.lsheet-title { font-size: 18px; line-height: 1.5; margin: 4px 0 8px; font-weight: 600; overflow-wrap: anywhere; }
.lsheet-price .price { font-size: 28px; font-weight: 700; letter-spacing: -0.01em; }
.lsheet-price .approx, .lsheet-price .approx-usd, .lsheet-price .orig { color: var(--ink-2); font-size: 14px; margin-top: 2px; }
.lsheet-import { margin: 8px 0 0; }
.lsheet-chips .chips { margin-top: 10px; }
.lsheet-channels .channels { margin-top: 12px; }
.lsheet-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 18px; }
.lsheet-actions > * { width: 100%; justify-content: center; min-height: 52px; }
.lsheet-actions .is-on { border-color: rgba(var(--accent-rgb), 0.6); color: var(--gold-2); background: var(--gold-soft); }
.lsheet-note { margin: 12px 0 0; text-align: center; }
.lsheet-watchbox { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.lsheet-watch-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 10px; font-size: 15px; font-weight: 700; }
.lsheet-watch-h span { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.lsheet-wopts { display: grid; gap: 8px; }
.wopt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); color: var(--ink); text-align: left; font: inherit; cursor: pointer; box-shadow: none; transition: border-color 0.2s, background 0.2s; }
.wopt:hover { border-color: rgba(var(--accent-rgb), 0.55); background: var(--surface-2); }
.wopt > svg { flex: none; color: var(--gold-2); }
.wopt-text { flex: 1 1 0; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.wopt-text small { overflow-wrap: anywhere; }
.wopt-text b { font-size: 14.5px; font-weight: 650; overflow-wrap: anywhere; }
.wopt-text small { font-size: 12px; color: var(--ink-3); line-height: 1.45; }
.wopt-state { flex: none; font-size: 12.5px; font-weight: 650; color: var(--gold-2); padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(var(--accent-rgb), 0.45); }
.wopt.is-on { border-color: rgba(var(--accent-rgb), 0.6); background: var(--gold-soft); }
.wopt-sizes { cursor: default; }
.wopt-sizes:hover { border-color: var(--line-2); background: var(--surface); }
.wopt-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.wopt-chip { min-height: 34px; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(var(--accent-rgb), 0.45); background: transparent; color: var(--gold-2); font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; box-shadow: none; white-space: nowrap; }
.wopt-chip:hover { background: var(--gold-soft); }
.wopt-chip.is-on { background: var(--gold-2); color: var(--bg); border-color: transparent; }
.wopt.is-on > svg { fill: currentColor; }
.wopt.is-on .wopt-state { background: var(--gold-2); color: var(--bg); border-color: transparent; }
.wopt.is-loading { min-height: 56px; background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: woptLoad 1.2s linear infinite; cursor: default; }
@keyframes woptLoad { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .wopt.is-loading { animation: none; } }
html.sheet-open { overflow: hidden; }
@media (min-width: 760px) {
	.lsheet { align-items: center; padding: 24px; }
	.lsheet-panel { max-width: 860px; border-radius: 26px; padding: 26px; transform: translateY(16px) scale(0.98); opacity: 0; transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease; }
	.lsheet.is-open .lsheet-panel { transform: none; opacity: 1; }
	.lsheet-panel::before { display: none; }
	.lsheet-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; align-items: start; }
	.lsheet-media { width: 100%; max-height: none; }
	.lsheet-actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.lsheet-actions .lsheet-go { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .lsheet-panel, .lsheet-bg { transition: none; } }

/* ---------- 探している最中 ---------- */
.live { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; margin: 0 0 18px; padding: 14px 18px 18px; border-radius: 18px; border: 1px solid rgba(var(--accent-rgb), 0.35); background: var(--card); overflow: hidden; }
.live-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.6); animation: livePulse 1.4s ease-out infinite; }
.live.is-done .live-dot { animation: none; background: var(--good); }
.live-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.live-text b { font-size: 15px; }
.live-text span { font-size: 13px; color: var(--ink-2); }
.live-bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: var(--surface-2); overflow: hidden; margin-top: 8px; }
.live-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); border-radius: inherit; transition: width 0.6s ease; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.55); } 100% { box-shadow: 0 0 0 12px rgba(var(--accent-rgb), 0); } }
.lgrid.skeleton .lcard.sk { pointer-events: none; }
.lcard.sk .media { background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%); background-size: 300% 100%; animation: skShimmer 1.4s linear infinite; }
.lcard.sk .body { display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.lcard.sk .body i { display: block; height: 12px; border-radius: 6px; background: var(--surface-2); }
.lcard.sk .body i.short { width: 45%; height: 20px; }
@keyframes skShimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .live-dot, .lcard.sk .media { animation: none; } }

/* ---------- 欲しい（ハート） ---------- */
.hoshii { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px 0 10px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font: inherit; font-weight: 650; font-size: 13px; cursor: pointer; text-decoration: none; transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.15s; }
.hoshii:hover { color: var(--ink); border-color: rgba(var(--accent-rgb), 0.55); text-decoration: none; }
.hoshii:active { transform: scale(0.96); }
.hoshii .i-heart { width: 17px; height: 17px; flex: none; transition: transform 0.2s; }
.hoshii.is-on { color: var(--gold-2); border-color: rgba(var(--accent-rgb), 0.5); background: var(--gold-soft); }
[data-theme='light'] .hoshii.is-on { color: var(--gold-3); }
.hoshii.is-on .i-heart { fill: currentColor; }
.hoshii.sm { height: 30px; padding: 0 11px 0 9px; font-size: 12.5px; }
.hoshii.sm .i-heart { width: 15px; height: 15px; }
.hoshii.lg { height: 48px; padding: 0 22px 0 18px; font-size: 15.5px; border-color: rgba(var(--accent-rgb), 0.55); color: var(--ink); }
.hoshii.lg .i-heart { width: 21px; height: 21px; color: var(--gold-2); }
.hoshii-n { font-variant-numeric: tabular-nums; color: var(--ink-3); font-weight: 600; }
.hoshii-n:empty { display: none; }
.hoshii.is-on .hoshii-n { color: inherit; opacity: 0.85; }
.hoshii.is-popping .i-heart { animation: heartPop 0.5s cubic-bezier(0.2, 0.8, 0.3, 1.4); fill: currentColor; }
.hoshii.is-popping::after { content: ''; position: absolute; left: 18px; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; pointer-events: none; box-shadow: 0 -17px 0 var(--gold), 15px -9px 0 var(--gold-2), 15px 9px 0 var(--gold), 0 17px 0 var(--gold-2), -15px 9px 0 var(--gold), -15px -9px 0 var(--gold-2); animation: heartBurst 0.55s ease-out forwards; }
@keyframes heartPop { 0% { transform: scale(1); } 35% { transform: scale(1.5); } 100% { transform: scale(1); } }
@keyframes heartBurst { 0% { transform: scale(0.3); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.gcard { display: grid; }
.gcard h3 a { color: var(--ink); }
.gcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }
.gcard-foot .gmore { margin-top: 0; padding-top: 0; }
.guest-banner { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; padding: 14px 16px; border-radius: 18px; border: 1px solid rgba(var(--accent-rgb), 0.35); background: radial-gradient(120% 160% at 0% 0%, rgba(var(--accent-rgb), 0.14), transparent 60%), var(--card); }
.guest-banner > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.guest-banner b { font-size: 14.5px; }
.guest-banner span { font-size: 13px; color: var(--ink-2); }
.gb-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-2); flex: none; }
.gb-ico svg { width: 19px; height: 19px; fill: currentColor; }
.auth-carry { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-2); font-weight: 600; font-size: 14px; }
[data-theme='light'] .auth-carry { color: var(--gold-3); }
.auth-carry svg { width: 16px; height: 16px; fill: currentColor; }
.resend summary { cursor: pointer; font-size: 13px; color: var(--ink-3); }
.resend form { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 8px; }
@media (max-width: 760px) {
	.guest-banner { flex-wrap: wrap; }
	.guest-banner .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.hoshii.is-popping .i-heart, .hoshii.is-popping::after { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ブラウザの通知（Web Push） */
.push-cta { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 12px 12px 12px 16px; border-radius: 16px; border: 1px solid rgba(var(--accent-rgb), 0.3); background: radial-gradient(120% 160% at 0% 0%, rgba(var(--accent-rgb), 0.12), transparent 60%), var(--card); }
.push-cta[hidden] { display: none; }
.push-cta-icon { color: var(--gold); display: inline-flex; }
.push-cta-icon svg { width: 20px; height: 20px; }
.push-cta-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.push-cta-text b { font-size: 14px; }
.push-cta-text span { font-size: 12.5px; color: var(--ink-2); }
.push-cta .push-cta-x { width: 30px; height: 30px; border-color: transparent; font-size: 18px; line-height: 1; }
.push-settings { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 14px; }
.push-settings h4 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; }
.push-settings h4 svg { width: 16px; height: 16px; color: var(--gold); }
.push-settings .hint { margin: 0; }
.push-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.push-actions [hidden] { display: none; }
@media (max-width: 560px) {
	.push-cta { position: relative; flex-wrap: wrap; padding-right: 40px; }
	.push-cta-text { flex-basis: calc(100% - 40px); }
	.push-cta [data-push-enable] { margin-left: 32px; }
	.push-cta .push-cta-x { position: absolute; top: 8px; right: 8px; }
}
