.fh-hero { padding: 132px 0 40px; }
.fh-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.fh-badges { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fh-early { display: inline-block; margin-top: 22px; padding: 6px 12px; color: #1a0640; background: linear-gradient(90deg, #ffd23f, #ff8a1f); box-shadow: 0 0 22px rgba(255, 210, 63, .45); letter-spacing: .2em; }
.fh-title { font-size: clamp(64px, 10vw, 170px); margin: 14px 0 0; line-height: .82; }
.fh-live { display: grid; gap: 10px; min-width: 260px; padding: 16px 18px; border: 1px solid rgba(123, 92, 255, .3); background: rgba(20, 10, 45, .55); }
.fh-live__row { display: flex; align-items: baseline; gap: 10px; }
.fh-live__row b { font-size: 46px; color: #efeaff; line-height: .9; }
.fh-live__row .label { color: var(--ink-2); }
.fh-dot { width: 10px; height: 10px; border-radius: 50%; background: #3dff8a; box-shadow: 0 0 12px #3dff8a; align-self: center; animation: fhblink 1.6s ease-in-out infinite; }
@keyframes fhblink { 50% { opacity: .35; } }
.fh-surge { display: grid; gap: 6px; }
.fh-surge__bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.fh-surge__bar i { display: block; height: 100%; width: 4%; background: linear-gradient(90deg, #7b5cff, #ff4fa3); transition: width .6s var(--ease); }
.fh-surge__bar.is-hot i { box-shadow: 0 0 16px rgba(255, 79, 163, .8); }
.fh-surge .label { color: var(--pink); }
.fh-early-note { margin: 18px 0 0; max-width: 760px; color: var(--ink-2); font-size: 14.5px; }
.fh-early-note a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }
.fh-play { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; margin-top: 26px; }
.fh-frame { position: relative; display: flex; flex-direction: column; border: 1px solid rgba(123, 92, 255, .35); background: #14082c; box-shadow: 0 0 60px rgba(123, 92, 255, .25); }
.fh-screen { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #14082c; }
.fh-frame iframe { position: absolute; top: 0; left: 0; display: block; width: var(--fw, 100%); height: var(--fh, 100%); border: 0; background: #14082c; transform: scale(var(--fs, 1)); transform-origin: 0 0; }
.fh-frame:fullscreen .fh-screen, .fh-frame:-webkit-full-screen .fh-screen { flex: 1; aspect-ratio: auto; }
.fh-frame:fullscreen iframe, .fh-frame:-webkit-full-screen iframe { width: 100%; height: 100%; transform: none; }
.fh-frame__bar { display: flex; justify-content: space-between; padding: 8px 12px; border-top: 1px solid rgba(123, 92, 255, .25); }
.fh-frame__bar a, .fh-frame__bar button { color: var(--ink-2); }
.fh-frame__bar a:hover, .fh-frame__bar button:hover { color: #fff; }
.fh-frame:fullscreen .fh-frame__bar { display: none; }
.fh-chat { display: flex; flex-direction: column; min-height: 0; max-height: calc((100vw - 2 * var(--gutter) - 354px) * 9 / 16 + 37px); border: 1px solid rgba(123, 92, 255, .3); background: rgba(16, 8, 36, .75); }
.fh-chat__head { display: flex; align-items: baseline; gap: 10px; padding: 12px 14px; border-bottom: 1px solid rgba(123, 92, 255, .2); }
.fh-chat__head .label { color: var(--pink); }
.fh-chat__head b { font-size: 26px; color: #efeaff; }
.fh-chat__list { flex: 1; min-height: 220px; overflow-y: auto; padding: 8px 12px; display: grid; align-content: start; gap: 6px; font-size: 14px; scrollbar-width: thin; scrollbar-color: rgba(196, 107, 255, .45) transparent; }
.fh-chat__list::-webkit-scrollbar { width: 6px; }
.fh-chat__list::-webkit-scrollbar-track { background: transparent; }
.fh-chat__list::-webkit-scrollbar-thumb { background: rgba(196, 107, 255, .45); border-radius: 3px; }
.fh-chat__list::-webkit-scrollbar-button { display: none; }
.fh-msg { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: baseline; word-break: break-word; }
.fh-msg b { color: var(--pink); font-weight: 700; }
.fh-msg span { color: var(--ink); }
.fh-msg time { color: var(--ink-3); font-size: 11px; }
.fh-msg--feed { padding: 6px 8px; border-radius: 6px; background: rgba(123, 92, 255, .12); }
.fh-msg--feed span { color: #d9d0ff; }
.fh-msg__icon { color: #ffd23f; }
.fh-chat__form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid rgba(123, 92, 255, .2); }
.fh-chat__form input { flex: 1; min-width: 0; padding: 11px 12px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(0, 0, 0, .35); color: #fff; font: inherit; }
.fh-chat__form input:disabled { opacity: .5; }
.fh-chat__form .jam-cta { padding: 11px 14px; }
.fh-chat__form .jam-cta:disabled { opacity: .5; }
.fh-chat__note { margin: 0; padding: 0 12px 12px; color: var(--ink-3); font-size: 12px; }
.fh-mobile-play { display: none; margin-top: 14px; justify-content: center; }
.fh-empty { color: var(--ink-3); padding: 18px 0; }
.fh-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.fh-tabs button { padding: 9px 14px; border: 1px solid rgba(123, 92, 255, .3); color: var(--ink-2); font-size: 13px; font-weight: 600; }
.fh-tabs button.is-on { color: #fff; background: linear-gradient(90deg, #5b3dff, #8a4dff 55%, var(--pink)); border-color: transparent; }
.fh-tabs--sm button { padding: 6px 10px; font-size: 12px; }
.fh-rows { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid rgba(123, 92, 255, .22); }
.fh-rows li { display: grid; grid-template-columns: 56px 1fr auto 120px 48px; gap: 12px; align-items: center; padding: 12px 6px; border-bottom: 1px solid rgba(123, 92, 255, .14); }
.fh-rank { font-size: 30px; color: var(--ink-3); }
.fh-name { font-weight: 700; font-size: 16px; }
.fh-logs, .fh-when { color: var(--ink-3); }
.fh-score { font-size: 30px; text-align: right; color: #efeaff; }
.fh-rows li.is-top .fh-rank { color: var(--pink); text-shadow: 0 0 16px rgba(255, 79, 163, .5); }
.fh-rows li.is-1 .fh-rank { color: #ffd23f; text-shadow: 0 0 18px rgba(255, 210, 63, .6); }
.fh-rows li.is-me { background: rgba(123, 92, 255, .14); }
.fh-how { margin-top: 6px; }
.fh-how a, .jam-grid a { color: var(--pink); }
.fh-modes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 10px; margin-top: 18px; }
.fh-mode { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid rgba(123, 92, 255, .22); }
.fh-mode b { color: #efeaff; }
.fh-mode span { color: var(--ink-2); font-size: 14px; }
@media (max-width: 980px) {
  .fh-play { grid-template-columns: 1fr; }
  .fh-chat { max-height: 420px; }
}
@media (max-width: 700px) {
  .fh-hero { padding-top: 110px; }
  .fh-frame { display: none; }
  .fh-mobile-play { display: flex; }
  .fh-play { margin-top: 14px; }
  .fh-rows li { grid-template-columns: 40px 1fr auto; }
  .fh-logs, .fh-when { display: none; }
  .fh-score { font-size: 24px; }
  .jam-grid { grid-template-columns: 1fr 1fr; }
  .jam-grid > div + div { border-left: 0; }
}
.fh-live { border-radius: 18px; border-color: var(--jline); background: var(--jbg-2); }
.fh-frame { border-radius: 20px; overflow: hidden; border-color: var(--jline); }
.fh-frame__bar { background: rgba(8, 4, 20, .95); }
.fh-frame__bar button, .fh-frame__bar a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--jline); }
.fh-frame__bar button:hover, .fh-frame__bar a:hover { border-color: var(--j2); background: rgba(196, 107, 255, .08); }
.fh-chat { border-radius: 20px; overflow: hidden; border-color: var(--jline); background: var(--jbg-2); }
.fh-chat__head { padding: 14px 16px; border-bottom-color: var(--jline); }
.fh-msg { padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .03); }
.fh-msg--feed { background: linear-gradient(90deg, rgba(196, 107, 255, .16), rgba(106, 61, 255, .06)); box-shadow: 0 0 0 1px var(--jline) inset; }
.fh-chat__form { border-top-color: var(--jline); }
.fh-chat__form input { border-radius: 999px; padding: 11px 16px; border-color: var(--jline-2); }
.fh-chat__form input:focus { outline: none; border-color: var(--j2); box-shadow: 0 0 0 3px rgba(196, 107, 255, .2); }
.fh-chat__form .jam-cta { border-radius: 999px; color: var(--jdark); background: linear-gradient(180deg, var(--j1), var(--j2) 60%, var(--j3)); box-shadow: 0 0 20px rgba(196, 107, 255, .35); }
#board .lb-chips { max-width: 820px; }
#board .lb-board { margin-top: 6px; }
.fh-mode { border-radius: 14px; border-color: var(--jline); background: var(--jbg); }
.jam-page .jam-grid { border-radius: 18px; overflow: hidden; border-color: var(--jline); background: rgba(8, 4, 20, .5); }
.fh-mobile-play { border-radius: 999px; color: var(--jdark); background: linear-gradient(180deg, var(--j1), var(--j2) 60%, var(--j3)); }
.fx-wrap { position: relative; display: block; isolation: isolate; }
.fx-wrap > .holo, .fx-wrap > .og-art { position: relative; z-index: 1; }
.fx-back, .fx-front { position: absolute; pointer-events: none; }
.fx-back { z-index: 0; mix-blend-mode: screen; }
.fx-front { z-index: 2; }
.og-art { position: relative; display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 720 / 1056; box-shadow: 0 10px 30px rgba(0, 0, 0, .55); }
.og-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.og-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .35) 45%, transparent 60%); background-size: 250% 100%; animation: ogshine 3.5s linear infinite; mix-blend-mode: soft-light; }
@keyframes ogshine { from { background-position: 150% 0; } to { background-position: -100% 0; } }
button.ogc { padding: 0; border: 0; background: none; cursor: pointer; transition: transform .18s var(--ease); }
button.ogc:hover, button.ogc:focus-visible { transform: scale(1.18) rotate(-4deg); }
button.ogc:focus-visible { outline: 2px solid var(--j1, #ff8fcf); outline-offset: 4px; border-radius: 3px; }
.ogpop { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 16px; background: rgba(8, 3, 22, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: ogpopIn .22s ease both; }
.ogpop[hidden] { display: none; }
.ogpop__box { position: relative; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 34px; align-items: center; width: min(720px, 100%); max-height: calc(100dvh - 32px); overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(196, 107, 255, .5) transparent; padding: 38px 38px 34px; border-radius: 22px; border: 1px solid rgba(190, 150, 255, .42); background: radial-gradient(120% 80% at 0% 0%, rgba(196, 107, 255, .22), transparent 60%), linear-gradient(180deg, #1c0b33, #0d0518); box-shadow: 0 30px 90px rgba(0, 0, 0, .65), 0 0 70px rgba(196, 107, 255, .28); animation: ogpopUp .32s cubic-bezier(.2, .9, .3, 1.2) both; }
.ogpop__x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(190, 150, 255, .3); background: rgba(255, 255, 255, .04); color: #efeaff; font-size: 15px; cursor: pointer; }
.ogpop__x:hover { background: rgba(196, 107, 255, .2); }
.ogpop__card { padding: 26px 18px; }
.ogpop__card .og-art { animation: ogpopTilt 6s ease-in-out infinite; }
.ogpop__body { display: grid; gap: 10px; justify-items: start; min-width: 0; }
.ogpop__kicker { color: var(--j1, #ff8fcf); }
.ogpop__body h3 { margin: 0; font-size: clamp(30px, 4.4vw, 44px); line-height: .95; color: #fff; text-wrap: balance; }
.ogpop__stars { color: #ffd23f; letter-spacing: .12em; font-size: 15px; text-shadow: 0 0 12px rgba(255, 210, 63, .55); }
.ogpop__who { margin: 4px 0 6px; color: rgba(236, 228, 255, .78); font-size: 15px; }
.ogpop__who b { color: #fff; }
.ogpop__sub { color: rgba(236, 228, 255, .5); }
.ogpop__perks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ogpop__perks li { position: relative; padding: 10px 12px 10px 34px; border-radius: 12px; border: 1px solid rgba(160, 120, 255, .22); background: rgba(196, 107, 255, .08); color: #efeaff; font-size: 14.5px; line-height: 1.4; }
.ogpop__perks li::before { content: ""; position: absolute; left: 13px; top: 15px; width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(180deg, #ffb03a, #ff3a14); box-shadow: 0 0 10px rgba(255, 120, 40, .8); }
.ogpop__cta { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 14px; color: #13052e; background: linear-gradient(180deg, #ff8fcf, #c46bff 60%, #8a4dff); box-shadow: 0 0 0 1px rgba(255, 255, 255, .3) inset, 0 0 30px rgba(196, 107, 255, .5); text-decoration: none; transition: transform .15s var(--ease), box-shadow .15s; }
.ogpop__cta:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .4) inset, 0 0 42px rgba(196, 107, 255, .75); }
@keyframes ogpopIn { from { opacity: 0; } }
@keyframes ogpopUp { from { opacity: 0; transform: translateY(18px) scale(.96); } }
@keyframes ogpopTilt { 50% { transform: perspective(600px) rotateY(9deg) rotateX(-3deg); } }
@media (max-width: 640px) {
  .ogpop__box { grid-template-columns: 1fr; gap: 10px; padding: 30px 22px 24px; justify-items: center; }
  .ogpop__card { width: 170px; padding: 18px 10px 6px; }
  .ogpop__body { justify-items: center; text-align: center; }
  .ogpop__perks li { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .ogpop, .ogpop__box, .ogpop__card .og-art, .og-shine { animation: none; } }

.fh-preview { display: none; }
.fh-preview video { display: block; width: 100%; height: 100%; object-fit: cover; }
.fh-preview__play { position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px; font-size: 15px; transform: translate(-50%, -50%); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.fh-preview__play svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 700px) {
  .fh-frame.has-preview { display: flex; }
  .has-preview .fh-preview { position: absolute; inset: 0; display: block; }
  .has-preview iframe, .has-preview #goFull { display: none; }
  a.fh-mobile-play.jam-cta.is-previewed { display: none; }
}