/* ⭐ Fan Page */
.fan { z-index: 0; isolation: isolate; --gold: #f0c96a; --gold2: #b98a2e; --ivory: #f4ecdc; --wood: #3d2414; --wood2: #6d4325; --wood3: #8a5a34; --glass: rgba(170,215,255,.10); --night: #090d1e; position: relative; margin: -4px auto 0; max-width: 1100px; overflow-x: clip; }
.fan svg { display: block; }
#view-fan.loading .fan-stats b { opacity: .4; }
.fan-muted { color: var(--ink-soft); text-align: center; padding: 18px; }
html.fan-lock, html.fan-lock body { overflow: hidden; }

/* ping on every click */
.fan button.ping, .fv .fv-btn.ping { animation: fanPing .38s ease-out; }
@keyframes fanPing { 0% { box-shadow: 0 0 0 0 rgba(240,201,106,.75); } 100% { box-shadow: 0 0 0 14px rgba(240,201,106,0); } }

/* ---------- hero ---------- */
.fan-hero { position: relative; border-radius: 22px; overflow: hidden; padding: 46px 18px 54px; text-align: center; isolation: isolate; border: 1px solid rgba(240,201,106,.25);
  background: radial-gradient(120% 90% at 50% 0%, #22305e 0%, #121a3a 45%, var(--night) 100%); box-shadow: 0 20px 50px rgba(0,0,0,.5), inset 0 -40px 60px rgba(0,0,0,.35); }
.fan-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.fan-sky .stars { position: absolute; left: 0; top: 0; width: 1px; height: 1px; border-radius: 50%; animation: fanTwinkle 4s ease-in-out infinite alternate; }
@keyframes fanTwinkle { from { opacity: .55; } to { opacity: 1; } }
.fan-sky .moon { position: absolute; right: 9%; top: 14%; width: 74px; height: 74px; border-radius: 50%; background: radial-gradient(circle at 38% 36%, #fffbe8 0%, #f3e3b4 45%, #d8bf82 100%); box-shadow: 0 0 40px 10px rgba(255,236,170,.35), 0 0 120px 40px rgba(255,236,170,.12); animation: fanMoon 8s ease-in-out infinite alternate; }
.fan-sky .moon::before, .fan-sky .moon::after { content: ""; position: absolute; border-radius: 50%; background: rgba(170,140,80,.28); }
.fan-sky .moon::before { width: 16px; height: 16px; left: 18px; top: 30px; } .fan-sky .moon::after { width: 9px; height: 9px; left: 44px; top: 18px; }
@keyframes fanMoon { from { transform: translateY(0); } to { transform: translateY(8px); } }
.fan-sky .fb { position: absolute; left: var(--x); top: var(--y); width: calc(46px * var(--s)); color: rgba(244,236,220,.16); transform: rotate(var(--r)); animation: fanFloat var(--t) ease-in-out infinite alternate; }
@keyframes fanFloat { from { transform: translateY(-10px) rotate(var(--r)); } to { transform: translateY(14px) rotate(calc(var(--r) + 40deg)); } }
.fan-title small { display: inline-block; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(240,201,106,.4); border-radius: 999px; padding: 4px 12px; background: rgba(0,0,0,.25); }
.fan-title h1 { margin: 14px 0 6px; font-size: clamp(38px, 9vw, 76px); line-height: .95; letter-spacing: .04em; font-weight: 900; font-family: Georgia, "Times New Roman", serif;
  background: linear-gradient(180deg, #fff7e0 0%, var(--gold) 55%, var(--gold2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 14px rgba(240,201,106,.35)); animation: fanRise .9s cubic-bezier(.2,.9,.3,1.2) both; }
.fan-title p { margin: 0 auto; max-width: 440px; color: #c9d1f0; font-size: 15px; animation: fanRise .9s .12s both; }
@keyframes fanRise { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.fan-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 520px; margin: 24px auto 0; }
.fs-tile { background: rgba(8,12,30,.55); border: 1px solid rgba(240,201,106,.28); border-radius: 16px; padding: 12px 6px; color: var(--ivory); font: inherit; cursor: pointer; backdrop-filter: blur(6px); transition: transform .15s, border-color .15s, background .15s; animation: fanRise .8s both; }
.fs-tile:nth-child(2) { animation-delay: .1s; } .fs-tile:nth-child(3) { animation-delay: .2s; }
.fs-tile:hover { transform: translateY(-3px); border-color: var(--gold); background: rgba(240,201,106,.1); } .fs-tile:active { transform: scale(.96); }
.fs-tile b { display: block; font-size: clamp(19px, 5vw, 26px); font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; }
.fs-tile span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.fan-terms { margin-top: 14px; display: flex; justify-content: center; }
.fan-chip { background: rgba(0,0,0,.3); border: 1px solid var(--line2); color: #c9d1f0; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; transition: border-color .12s, color .12s; }
.fan-chip:hover { border-color: var(--gold); color: var(--gold); }
.fan-termsrow { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; width: min(100%, 460px); }
.fan-termsrow input { margin: 0; } .fan-termsrow input.bad { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.fan-scroll { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: rgba(240,201,106,.7); display: grid; justify-items: center; }
.fan-scroll span { font-size: 18px; line-height: 1; animation: fanBob 1.6s ease-in-out infinite; }
@keyframes fanBob { 50% { transform: translateY(5px); } }

/* ---------- sections ---------- */
.fan-sec { margin-top: 34px; scroll-margin-top: 70px; }
.fan-h { text-align: center; margin-bottom: 16px; }
.fan-h h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(24px, 5vw, 34px); color: var(--ivory); letter-spacing: .02em; display: inline-flex; align-items: center; gap: 12px; }
.fan-h h2::before, .fan-h h2::after { content: ""; width: 34px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold)); }
.fan-h h2::after { transform: scaleX(-1); }
.fan-h p { margin: 6px 0 0; color: var(--ink-soft); font-size: 14px; }
.fan-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--panel2); border: 1px solid var(--line2); border-radius: 14px; padding: 4px; gap: 4px; }
.fan-seg button { background: transparent; border: 0; border-radius: 10px; padding: 9px 6px; color: var(--ink-soft); font: inherit; font-weight: 800; font-size: 13px; cursor: pointer; transition: background .15s, color .15s; white-space: nowrap; }
.fan-seg button:hover { color: var(--ink); background: rgba(255,255,255,.05); }
.fan-seg button.on { background: linear-gradient(180deg, var(--gold), var(--gold2)); color: #2a1a06; box-shadow: 0 4px 14px rgba(240,201,106,.35); }

/* ---------- display case ---------- */
.fc-cab { position: relative; max-width: 920px; margin: 0 auto; cursor: pointer; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
.fc-cab.open { cursor: default; }
.fc-crown { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 10px; height: 46px; margin: 0 10px; border-radius: 14px 14px 4px 4px; color: var(--gold);
  background: linear-gradient(180deg, var(--wood3), var(--wood2) 45%, var(--wood)); box-shadow: inset 0 2px 0 rgba(255,255,255,.18), inset 0 -3px 0 rgba(0,0,0,.35); }
.fc-crown b { font-family: Georgia, serif; letter-spacing: .22em; font-size: clamp(11px, 3vw, 15px); padding: 4px 14px; border: 1px solid rgba(240,201,106,.55); border-radius: 6px; background: linear-gradient(180deg, #3a2a10, #20160a); text-shadow: 0 0 10px rgba(240,201,106,.4); max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-crown span { width: 30px; color: var(--ivory); opacity: .75; }
.fc-body { position: relative; z-index: 2; perspective: 1400px; padding: 14px; border-radius: 6px; min-height: 340px;
  background: linear-gradient(90deg, var(--wood) 0, var(--wood2) 14px, var(--wood) 18px, transparent 18px, transparent calc(100% - 18px), var(--wood) calc(100% - 18px), var(--wood2) calc(100% - 14px), var(--wood) 100%), linear-gradient(180deg, #1a1210, #0e0a09); }
.fc-led { position: absolute; z-index: 1; left: 22px; right: 22px; top: 14px; height: 6px; border-radius: 0 0 6px 6px; background: #2a2016; transition: background .4s, box-shadow .4s; }
.fc-cab.open .fc-led { background: #fff6d6; box-shadow: 0 0 12px 3px rgba(255,236,180,.9), 0 30px 80px 30px rgba(255,230,170,.18); }
.fc-interior { position: relative; border-radius: 4px; min-height: 312px; overflow: hidden; background: radial-gradient(120% 70% at 50% 0%, rgba(255,232,180,.07), transparent 60%), linear-gradient(180deg, #1b1712, #110e0b); box-shadow: inset 0 0 40px rgba(0,0,0,.8); transition: background .6s; }
.fc-cab.open .fc-interior { background: radial-gradient(120% 60% at 50% 0%, rgba(255,232,180,.22), transparent 65%), linear-gradient(180deg, #2a2219, #15110d); }
.fc-shelves { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); column-gap: 0; row-gap: 0; padding: 18px 10px 4px; filter: blur(3px) brightness(.45); transition: filter .7s ease .2s; }
.fc-cab.open .fc-shelves { filter: none; }
.fc-slot { position: relative; display: grid; justify-items: center; gap: 6px; padding: 10px 8px 18px; background: none; border: 0; font: inherit; color: inherit; cursor: pointer; pointer-events: none; }
.fc-cab.open .fc-slot { pointer-events: auto; }
.fc-slot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 7px; background: linear-gradient(180deg, rgba(210,235,255,.45), rgba(150,190,230,.12)); box-shadow: 0 6px 12px rgba(0,0,0,.6), 0 -1px 0 rgba(255,255,255,.5); }
.fc-card { position: relative; display: block; width: 100%; max-width: 104px; aspect-ratio: 63 / 88; border-radius: 5px; overflow: hidden; background: #000; box-shadow: 0 10px 16px rgba(0,0,0,.6); transform: perspective(500px) rotateX(4deg); transition: transform .25s cubic-bezier(.2,.9,.3,1.3), box-shadow .25s; }
.fc-card.slab { aspect-ratio: 62 / 100; border-radius: 4px; }
.fc-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fc-card.slab img { object-fit: cover; }
.fc-none { display: grid; place-items: center; height: 100%; color: rgba(244,236,220,.3); padding: 20%; }
.fc-card .shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 45%, transparent 60%); background-size: 250% 100%; background-position: 120% 0; mix-blend-mode: screen; }
.fc-cab.open .fc-slot:hover .fc-card { transform: perspective(500px) translateY(-8px) scale(1.06); box-shadow: 0 18px 26px rgba(0,0,0,.7), 0 0 18px rgba(255,236,170,.25); }
.fc-cab.open .fc-slot:hover .shine { animation: fanShine .9s ease-out; }
.fc-slot:active .fc-card { transform: scale(.96); }
@keyframes fanShine { to { background-position: -40% 0; } }
.fc-tag { position: relative; z-index: 1; font-size: 10px; font-weight: 900; letter-spacing: .06em; color: #2a1a06; background: linear-gradient(180deg, #e4e8ee, #b8c0cc); border-radius: 4px; padding: 1px 7px; box-shadow: 0 2px 4px rgba(0,0,0,.5); }
.fc-tag.ten { background: linear-gradient(180deg, #fff1b8, var(--gold) 60%, var(--gold2)); }
.fc-cab.opening .fc-slot { animation: fanDrop .6s cubic-bezier(.2,.9,.3,1.3) both; animation-delay: calc(.35s + var(--d) * 35ms); }
.fc-shelves.reshuffle .fc-slot { animation: fanDrop .45s cubic-bezier(.2,.9,.3,1.3) both; animation-delay: calc(var(--d) * 18ms); }
@keyframes fanDrop { from { opacity: 0; transform: translateY(-16px) scale(.9); } to { opacity: 1; transform: none; } }
.fc-empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 6px; padding: 60px 20px; color: var(--ink-soft); text-align: center; } .fc-empty svg { width: 70px; color: rgba(244,236,220,.3); } .fc-empty b { color: var(--ivory); }
.fc-door { position: absolute; z-index: 4; top: 14px; bottom: 14px; width: calc(50% - 14px); background: linear-gradient(115deg, rgba(200,230,255,.16), rgba(160,200,240,.05) 40%, rgba(220,240,255,.12) 60%, rgba(160,200,240,.04)); border: 5px solid var(--wood2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), inset 0 0 30px rgba(170,215,255,.08); backdrop-filter: blur(1px); transition: transform 1.1s cubic-bezier(.6,.05,.25,1.05), opacity 1.1s; overflow: hidden; }
.fc-door.l { left: 14px; transform-origin: left center; border-right-width: 3px; }
.fc-door.r { right: 14px; transform-origin: right center; border-left-width: 3px; }
.fc-door .glint { position: absolute; top: -20%; left: -60%; width: 40%; height: 140%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent); transform: rotate(18deg); animation: fanGlint 5s ease-in-out infinite; }
.fc-door.r .glint { animation-delay: 1.2s; }
@keyframes fanGlint { 0%, 60% { left: -60%; } 100% { left: 140%; } }
.fc-door .handle { position: absolute; top: 46%; width: 6px; height: 46px; border-radius: 4px; background: linear-gradient(90deg, #7a5a1c, var(--gold), #7a5a1c); box-shadow: 0 2px 6px rgba(0,0,0,.6); }
.fc-door.l .handle { right: 10px; } .fc-door.r .handle { left: 10px; }
.fc-cab.open .fc-door.l { transform: rotateY(-104deg); opacity: .5; pointer-events: none; }
.fc-cab.open .fc-door.r { transform: rotateY(104deg); opacity: .5; pointer-events: none; }
.fc-lock { position: absolute; z-index: 5; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 1px solid var(--gold); border-radius: 999px; padding: 12px 22px; font: inherit; font-weight: 900; font-size: 15px; letter-spacing: .04em; color: #2a1a06; cursor: pointer; background: linear-gradient(180deg, #fff1b8, var(--gold) 55%, var(--gold2)); box-shadow: 0 10px 30px rgba(0,0,0,.6), 0 0 0 0 rgba(240,201,106,.6); animation: fanBeckon 2s ease-in-out infinite; transition: opacity .3s, transform .3s; white-space: nowrap; }
.fc-lock .key { display: inline-block; animation: fanKey 2s ease-in-out infinite; }
@keyframes fanBeckon { 0%, 100% { box-shadow: 0 10px 30px rgba(0,0,0,.6), 0 0 0 0 rgba(240,201,106,.55); } 50% { box-shadow: 0 10px 30px rgba(0,0,0,.6), 0 0 0 14px rgba(240,201,106,0); } }
@keyframes fanKey { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(-25deg); } 90% { transform: rotate(15deg); } }
.fc-cab.open .fc-lock { opacity: 0; transform: translate(-50%, -50%) scale(.6); pointer-events: none; }
.fc-base { position: relative; z-index: 3; height: 30px; margin: 0 -4px; border-radius: 4px 4px 10px 10px; background: linear-gradient(180deg, var(--wood3), var(--wood2) 40%, var(--wood)); box-shadow: inset 0 2px 0 rgba(255,255,255,.18); }
.fc-base i { position: absolute; bottom: -12px; width: 26px; height: 14px; border-radius: 0 0 6px 6px; background: var(--wood); } .fc-base i:first-child { left: 26px; } .fc-base i:last-child { right: 26px; }
.fc-bar { display: grid; grid-template-columns: 1fr auto; gap: 10px; max-width: 920px; margin: 26px auto 0; align-items: center; }
.fan-spark { position: fixed; z-index: 60; width: 8px; height: 8px; pointer-events: none; background: radial-gradient(circle, #fff 0%, #ffe7a0 40%, transparent 70%); border-radius: 50%; animation: fanSpark 1.4s ease-out both; }
@keyframes fanSpark { 0% { opacity: 0; transform: scale(.2); } 30% { opacity: 1; transform: scale(1.6); } 100% { opacity: 0; transform: translateY(-50px) scale(.3); } }

/* ---------- hall of fame ---------- */
.hall { position: relative; padding: 26px 0 8px; border-radius: 22px; background: radial-gradient(90% 60% at 50% 100%, rgba(240,201,106,.06), transparent 70%), linear-gradient(180deg, #05070f, #0b0f22 70%, #120f18); border: 1px solid rgba(240,201,106,.15); overflow: hidden; }
.hall .fan-h { padding: 0 16px; }
.hf-row { display: flex; justify-content: center; align-items: flex-end; gap: 6px; padding: 10px 10px 0; }
.hf-ped { position: relative; flex: 1 1 0; max-width: 200px; display: flex; flex-direction: column; align-items: center; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hf-ped.r1 { order: 3; max-width: 240px; } .hf-ped.r2 { order: 2; } .hf-ped.r3 { order: 4; } .hf-ped.r4 { order: 1; } .hf-ped.r5 { order: 5; }
.hf-lamp { position: relative; z-index: 2; width: 46px; height: 12px; border-radius: 0 0 22px 22px; background: linear-gradient(180deg, #2a2a30, #0d0d10); box-shadow: inset 0 -2px 0 #444; }
.hf-lamp::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 20px; height: 5px; transform: translateX(-50%); border-radius: 50%; background: #333; transition: background .3s, box-shadow .3s; }
.hall.lit .hf-lamp::after { background: #fffbe8; box-shadow: 0 0 12px 4px rgba(255,240,190,.9); transition-delay: calc(.2s + var(--k) * .25s); }
.hf-beam { position: absolute; z-index: 0; top: 10px; left: 50%; width: 220%; height: calc(100% - 50px); transform: translateX(-50%); clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, rgba(255,244,205,.45), rgba(255,236,180,.12) 70%, rgba(255,236,180,0)); filter: blur(2px); opacity: 0; mix-blend-mode: screen; pointer-events: none; }
.hall.lit .hf-beam { animation: fanLightOn 1.1s steps(1, end) both, fanBeam 6s ease-in-out 1.2s infinite alternate; animation-delay: calc(.2s + var(--k) * .25s), calc(1.3s + var(--k) * .25s); }
@keyframes fanLightOn { 0% { opacity: 0; } 15% { opacity: .9; } 25% { opacity: .1; } 40% { opacity: 1; } 50% { opacity: .3; } 65%, 100% { opacity: 1; } }
@keyframes fanBeam { from { opacity: 1; } to { opacity: .8; } }
.hf-motes { position: absolute; z-index: 1; top: 30px; left: 50%; width: 110px; height: 55%; transform: translateX(-50%); pointer-events: none; opacity: 0; transition: opacity 1s 1.2s; }
.hall.lit .hf-motes { opacity: 1; }
.hf-motes i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: rgba(255,248,220,.9); animation: fanMote 7s linear infinite; }
.hf-motes i:nth-child(1) { left: 20%; animation-delay: 0s; } .hf-motes i:nth-child(2) { left: 70%; animation-delay: -1.3s; animation-duration: 9s; } .hf-motes i:nth-child(3) { left: 45%; animation-delay: -3.1s; } .hf-motes i:nth-child(4) { left: 85%; animation-delay: -4.6s; animation-duration: 8s; } .hf-motes i:nth-child(5) { left: 10%; animation-delay: -5.2s; animation-duration: 10s; } .hf-motes i:nth-child(6) { left: 58%; animation-delay: -2.2s; animation-duration: 6s; }
@keyframes fanMote { 0% { top: 0; opacity: 0; transform: translateX(0); } 20% { opacity: 1; } 50% { transform: translateX(8px); } 100% { top: 100%; opacity: 0; transform: translateX(-6px); } }
.hf-stage { position: relative; z-index: 2; width: 72%; margin-top: 26px; perspective: 900px; }
.hf-ped.r1 .hf-stage { width: 80%; }
.hf-spin { display: block; transform-style: preserve-3d; animation: fanTurn 16s linear infinite, fanHover 3.6s ease-in-out infinite alternate; }
.hf-ped:hover .hf-spin { animation-play-state: paused, running; }
@keyframes fanTurn { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }
@keyframes fanHover { from { translate: 0 0; } to { translate: 0 -8px; } }
.hf-card { position: relative; display: block; aspect-ratio: 63 / 88; transform-style: preserve-3d; filter: brightness(.35) saturate(.6); transition: filter 1s; }
.hall.lit .hf-card { filter: none; transition-delay: calc(.4s + var(--k) * .25s); }
.hf-card.slab { aspect-ratio: 62 / 100; }
.hf-card .f, .hf-card .b { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 6px; overflow: hidden; background: #0c0c10; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 0 24px rgba(255,236,170,.18); }
.hf-card .b { transform: rotateY(180deg); }
.hf-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hf-card.slab img { object-fit: cover; }
.hf-bk { display: none; } .hf-card .b.noback img { display: none; }
.hf-card .b.noback .hf-bk { display: grid; place-items: center; height: 100%; padding: 24%; color: var(--gold); background: repeating-linear-gradient(45deg, #1c1408 0 10px, #241a0b 10px 20px); }
.hf-floor { position: relative; z-index: 1; width: 90%; height: 16px; margin-top: 14px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,240,200,.5), transparent); opacity: .2; transition: opacity 1s; animation: fanShadow 3.6s ease-in-out infinite alternate; }
.hall.lit .hf-floor { opacity: 1; }
@keyframes fanShadow { to { transform: scaleX(.85); } }
.hf-col { position: relative; z-index: 2; width: 86%; display: flex; flex-direction: column; align-items: center; margin-top: -8px; }
.hf-cap { width: 100%; height: 14px; border-radius: 4px; background: linear-gradient(180deg, #f6f2ea, #cfc8ba); box-shadow: 0 3px 0 #a9a192, 0 8px 16px rgba(0,0,0,.6); }
.hf-shaft { width: 80%; height: 90px; background: linear-gradient(90deg, #9d968a 0%, #ece6da 30%, #fbf8f1 45%, #d8d1c3 70%, #8f897d 100%), repeating-linear-gradient(90deg, transparent 0 9px, rgba(0,0,0,.07) 9px 11px); background-blend-mode: multiply; }
.hf-ped.r1 .hf-shaft { height: 130px; } .hf-ped.r2 .hf-shaft, .hf-ped.r3 .hf-shaft { height: 108px; }
.hf-plaque { width: 100%; display: grid; gap: 1px; padding: 8px 6px 9px; margin-top: -2px; border-radius: 4px; text-align: center; background: linear-gradient(180deg, #4a3414, #2b1e0b); border: 1px solid rgba(240,201,106,.5); box-shadow: 0 8px 18px rgba(0,0,0,.55); }
.hf-plaque em { font-style: normal; font-weight: 900; font-size: 11px; color: var(--gold); }
.hf-plaque b { font-size: 12px; color: var(--ivory); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hf-plaque small { font-size: 10px; color: #c9b88e; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hf-plaque strong { font-size: 11px; color: #fff3cc; }
.hf-ped:active .hf-stage { transform: scale(.96); }
.hf-ped:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 10px; }

/* ---------- checklist ---------- */
.cl-head { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; background: linear-gradient(135deg, var(--panel2), var(--panel)); border: 1px solid var(--line2); border-radius: 18px; padding: 16px; }
.cl-ring { position: relative; width: 116px; height: 116px; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 50%; }
.cl-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.cl-ring circle { fill: none; stroke-width: 10; }
.cl-ring .trk { stroke: rgba(255,255,255,.07); }
.cl-ring .bar { stroke: var(--gold); stroke-linecap: round; transition: stroke-dashoffset 1.6s cubic-bezier(.3,.8,.3,1); filter: drop-shadow(0 0 6px rgba(240,201,106,.6)); }
.cl-ring span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.cl-ring b { font-size: 30px; font-weight: 900; color: #fff; line-height: 1; } .cl-ring small { color: var(--ink-soft); font-size: 12px; }
.cl-ring:active { transform: scale(.95); }
.cl-sum { display: grid; gap: 4px; font-size: 14px; color: var(--ink-soft); } .cl-sum > b { font-size: 20px; color: var(--ivory); }
.cl-pick { display: grid; gap: 2px; margin-top: 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; } .cl-pick select { margin: 0; text-transform: none; letter-spacing: 0; }
.cl-none { grid-column: 1 / -1; display: grid; justify-items: center; text-align: center; gap: 8px; padding: 18px; color: var(--ink-soft); } .cl-none svg { width: 60px; color: rgba(244,236,220,.35); } .cl-none b { color: var(--ivory); font-size: 17px; }
.cl-ctrl { position: sticky; top: 56px; z-index: 3; display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 10px; margin: 12px 0; padding: 8px; border-radius: 16px; background: rgba(7,11,22,.88); backdrop-filter: blur(10px); border: 1px solid var(--line2); }
.cl-ctrl select, .cl-ctrl input { margin: 0; height: 100%; min-height: 42px; }
.cl-rows { display: grid; gap: 8px; }
.cl-row { display: grid; grid-template-columns: 48px 1fr auto auto; gap: 12px; align-items: center; padding: 8px 12px 8px 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); opacity: 0; transform: translateY(14px); transition: opacity .45s, transform .45s cubic-bezier(.2,.9,.3,1.2), border-color .15s, box-shadow .15s; transition-delay: calc(var(--d) * 30ms); }
.cl-row.in { opacity: 1; transform: none; }
.cl-row.have { border-color: rgba(240,201,106,.45); background: linear-gradient(90deg, rgba(240,201,106,.16), rgba(240,201,106,.04) 55%, var(--panel)); box-shadow: inset 3px 0 0 var(--gold); }
.cl-row.miss.in { opacity: .5; }
.cl-row.miss .cl-main b { color: var(--ink-soft); }
.cl-row.tap { cursor: pointer; } .cl-row.tap:hover { box-shadow: inset 3px 0 0 var(--gold), 0 0 0 1px var(--gold), 0 8px 22px rgba(240,201,106,.15); } .cl-row.tap:active { transform: scale(.985); }
.cl-th { width: 48px; height: 64px; border-radius: 6px; overflow: hidden; display: grid; place-items: center; background: var(--panel2); }
.cl-th img { width: 100%; height: 100%; object-fit: cover; }
.cl-th i { font-style: normal; font-weight: 900; font-size: 20px; color: var(--ink-soft); width: 100%; height: 100%; display: grid; place-items: center; border: 1.5px dashed var(--line2); border-radius: 6px; }
.cl-row.have .cl-th i { color: var(--gold); border-color: var(--gold); }
.cl-main { min-width: 0; display: grid; gap: 2px; }
.cl-main b { font-size: 15px; color: var(--ivory); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cl-main em { font-style: normal; font-weight: 700; font-size: 12px; color: var(--ink-soft); }
.cl-main small { font-size: 12px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-lang { font-size: 18px; }
.cl-grade { display: inline-block; font-weight: 900; font-size: 13px; padding: 5px 11px; border-radius: 8px; color: #10172e; background: linear-gradient(180deg, #e9edf3, #b9c2cf); box-shadow: 0 2px 6px rgba(0,0,0,.35); white-space: nowrap; }
.cl-grade.ten { background: linear-gradient(180deg, #fff1b8, var(--gold) 60%, var(--gold2)); color: #2a1a06; animation: fanGleam 3s ease-in-out infinite; }
.cl-grade.raw { background: linear-gradient(180deg, #c5f5da, #6fd6a0); }
@keyframes fanGleam { 50% { box-shadow: 0 0 14px rgba(240,201,106,.7); } }
.cl-hunt { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; font-style: italic; color: var(--ink-soft); white-space: nowrap; }
.cl-hunt svg { width: 20px; opacity: .6; animation: fanWiggle 2.4s ease-in-out infinite; }
@keyframes fanWiggle { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-14deg); } 92% { transform: rotate(10deg); } }
.fan-bone { position: fixed; z-index: 60; width: 26px; color: var(--ivory); pointer-events: none; animation: fanBurst 1.3s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes fanBurst { from { transform: translate(-50%, -50%) scale(.4); opacity: 1; } to { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy) + 120px)) rotate(var(--r)) scale(1); opacity: 0; } }
.fan-foot { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 40px 0 20px; color: var(--ink-soft); font-size: 12px; letter-spacing: .12em; } .fan-foot svg { width: 30px; color: rgba(244,236,220,.3); }

/* ---------- viewer ---------- */
.fv { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-rows: auto 1fr auto auto auto; padding: calc(env(safe-area-inset-top) + 10px) 14px calc(env(safe-area-inset-bottom) + 14px); color: #fff; opacity: 0; transition: opacity .25s; --gold: #f0c96a; --gold2: #b98a2e; }
.fv.on { opacity: 1; }
.fv-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 50% 42%, rgba(255,236,180,.16), transparent 70%), radial-gradient(120% 90% at 50% 40%, #141a33, #04050b 75%); backdrop-filter: blur(8px); }
.fv-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.fv-count { text-align: center; font-weight: 800; color: rgba(255,255,255,.65); font-size: 13px; letter-spacing: .1em; }
.fv-btn { background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.2); color: #fff; border-radius: 999px; padding: 11px 18px; font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; transition: background .12s, border-color .12s, transform .08s; }
.fv-btn:hover { background: rgba(255,255,255,.16); border-color: var(--gold); } .fv-btn:active { transform: scale(.95); } .fv-btn:disabled { opacity: .3; pointer-events: none; }
.fv-btn.sq { width: 46px; height: 46px; padding: 0; } .fv-btn.gold { background: linear-gradient(180deg, #fff1b8, var(--gold) 55%, var(--gold2)); color: #2a1a06; border-color: transparent; }
.fv-btn.small { padding: 8px 14px; font-size: 13px; justify-self: center; } .fv-btn.busy { opacity: .6; }
.fv-stage { position: relative; display: grid; place-items: center; min-height: 0; perspective: 1600px; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.fv-stage:active { cursor: grabbing; }
.fv-fly { height: min(100%, 600px, calc(86vw * 88 / 63)); aspect-ratio: 63 / 88; }
.fv-card { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.25,.9,.3,1.15); }
.fv-fly.slab { aspect-ratio: 62 / 100; height: min(100%, 600px, calc(86vw * 100 / 62)); }
.fv-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 12px; overflow: hidden; background: #0c0c10; box-shadow: 0 30px 60px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.12), 0 0 60px rgba(255,236,180,.12); }
.fv-face.back { transform: rotateY(180deg); }
.fv-face img { width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none; -webkit-user-drag: none; }
.fv-noback { display: none; } .fv-face.back.noback img { display: none; }
.fv-face.back.noback .fv-noback { display: grid; place-content: center; justify-items: center; gap: 10px; height: 100%; color: var(--gold); background: repeating-linear-gradient(45deg, #1c1408 0 14px, #241a0b 14px 28px); } .fv-noback svg { width: 90px; } .fv-noback b { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.fv-glare { position: absolute; inset: 0; border-radius: 12px; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%); background-size: 300% 100%; mix-blend-mode: screen; opacity: .25; transform: translateZ(1px); }
.fv-hint { text-align: center; font-size: 12px; color: rgba(255,255,255,.55); letter-spacing: .08em; margin: 12px 0 8px; transition: opacity .4s; animation: fanBob 2s ease-in-out infinite; } .fv-hint.gone { opacity: 0; }
.fv-info { display: grid; gap: 6px; justify-items: center; text-align: center; max-width: 560px; margin: 0 auto 12px; width: 100%; }
.fv-name { font-family: Georgia, serif; font-size: 22px; } .fv-sub { color: rgba(255,255,255,.65); font-size: 13px; }
.fv-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.fv-chip { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 4px 10px; font-size: 12px; color: rgba(255,255,255,.8); } .fv-chip b { color: #fff; }
.fv-chip.grade { background: linear-gradient(180deg, #e9edf3, #b9c2cf); color: #10172e; font-weight: 900; border: 0; } .fv-chip.grade.ten { background: linear-gradient(180deg, #fff1b8, var(--gold) 60%, var(--gold2)); color: #2a1a06; }
.fv-chip.up { color: #6ff0a6; border-color: rgba(46,232,122,.4); } .fv-chip.down { color: #ff8095; border-color: rgba(255,61,90,.4); } .fv-chip.mono { font-family: ui-monospace, Menlo, monospace; }
.fv-nav { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; max-width: 520px; width: 100%; margin: 0 auto; }

/* ---------- phone ---------- */
@media (max-width: 640px) {
  .fan-hero { padding: 34px 14px 48px; border-radius: 18px; }
  .fan-sky .moon { width: 52px; height: 52px; right: 6%; top: 8%; }
  .fan-stats { gap: 8px; } .fs-tile { padding: 10px 4px; border-radius: 14px; } .fs-tile span { font-size: 10px; letter-spacing: .04em; }
  .fan-termsrow { grid-template-columns: 1fr 1fr; } .fan-termsrow input { grid-column: 1 / -1; }
  .fc-body { padding: 10px; min-height: 300px; } .fc-led { left: 16px; right: 16px; top: 10px; }
  .fc-door { top: 10px; bottom: 10px; width: calc(50% - 10px); border-width: 4px; } .fc-door.l { left: 10px; } .fc-door.r { right: 10px; }
  .fc-shelves { grid-template-columns: repeat(3, 1fr); padding: 14px 4px 2px; }
  .fc-slot { padding: 8px 5px 16px; } .fc-card { max-width: none; }
  .fc-crown { height: 40px; margin: 0 6px; } .fc-crown span { width: 22px; }
  .fc-bar { grid-template-columns: 1fr; } .fc-bar .btn { width: 100%; }
  .hall { margin-left: -4px; margin-right: -4px; }
  .hf-row { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 16vw 4px; gap: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .hf-row::-webkit-scrollbar { display: none; }
  .hf-ped, .hf-ped.r1 { flex: 0 0 64vw; max-width: 64vw; scroll-snap-align: center; order: 0 !important; }
  .hf-ped .hf-shaft, .hf-ped.r1 .hf-shaft { height: 84px; }
  .hf-stage, .hf-ped.r1 .hf-stage { width: 54%; margin-top: 30px; }
  .hf-beam { width: 170%; }
  .hf-ped, .hf-ped.r1 { flex-basis: 60vw; max-width: 60vw; }
  .cl-head { grid-template-columns: 96px 1fr; gap: 14px; padding: 14px; } .cl-ring { width: 96px; height: 96px; } .cl-ring b { font-size: 24px; }
  .cl-ctrl { grid-template-columns: 1fr 1fr; top: 52px; } .cl-ctrl .fan-seg { grid-column: 1 / -1; }
  .cl-row { grid-template-columns: 42px 1fr auto; gap: 10px; padding: 7px 10px 7px 7px; }
  .cl-th { width: 42px; height: 56px; }
  .cl-lang { display: none; }
  .cl-main b { font-size: 14px; }
  .cl-hunt { font-size: 11px; } .cl-hunt svg { width: 16px; }
  .fv { padding-left: 10px; padding-right: 10px; } .fv-name { font-size: 19px; } .fv-btn { padding: 11px 10px; }
}
@media (min-width: 960px) { .fc-shelves { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); } .fc-card { max-width: 116px; } }

@media (prefers-reduced-motion: reduce) {
  .fan *, .fv * { animation: none !important; transition-duration: .01s !important; }
  .hf-card, .hf-beam, .hf-floor { filter: none; opacity: 1; }
}
.si .fan-ico svg { width: 26px; height: 26px; transition: transform .25s cubic-bezier(.2,.9,.3,1.5); }
.si:hover .fan-ico svg, .si.on .fan-ico svg { transform: translateY(-1px) scale(1.08); }
.si.on .fan-ico { border-color: #f0c96a; box-shadow: 0 0 10px rgba(240,201,106,.35); }
