:root {
  --ink: #17243a;
  --muted: #66748a;
  --line: #e3e9f1;
  --surface: #ffffff;
  --blue: #3478f6;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: #f4f7fb;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body {
  min-height: 100%;
  margin: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }
body { min-height: 100vh; background: #f4f7fb; }
a { color: inherit; text-decoration: none; }

.portal-shell { position: relative; display: flex; flex-direction: column; min-height: 100vh; overflow-x: hidden; background: linear-gradient(145deg, #f7faff 0%, #f1f5fb 58%, #edf3fb 100%); }
.portal-shell::before { position: absolute; top: -180px; right: -120px; width: 470px; height: 470px; border: 1px solid rgb(61 117 225 / 11%); border-radius: 50%; box-shadow: 0 0 0 35px rgb(61 117 225 / 4%), 0 0 0 72px rgb(61 117 225 / 3%); content: ""; pointer-events: none; }
.portal-header, .portal-main, .portal-footer { position: relative; z-index: 1; width: min(100% - 48px, 960px); margin: 0 auto; }
.portal-header { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.portal-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 16px; font-weight: 800; letter-spacing: .1px; }
.brand-symbol { display: grid; place-items: center; width: 35px; height: 35px; color: #17243a; background: #c8ef65; border-radius: 11px; box-shadow: 4px 4px 0 #135b4d; font-family: Arial, sans-serif; font-size: 19px; font-weight: 800; transform: rotate(-7deg); }
.portal-brand-title { line-height: 1; }
.header-status { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; color: #53708d; background: rgb(255 255 255 / 65%); border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-weight: 700; }
.header-status i { width: 6px; height: 6px; background: #37b67a; border-radius: 50%; box-shadow: 0 0 0 3px rgb(55 182 122 / 13%); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-back { display: inline-flex; align-items: center; padding: 7px 12px; color: var(--blue); background: rgb(255 255 255 / 65%); border: 1px solid var(--line); border-radius: 999px; font-family: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.board-guide-btn { position: relative; display: inline-flex; align-items: center; overflow: visible; flex: none; margin: 0; min-height: 36px; padding: 0 16px; color: #1a4fb8; background: linear-gradient(180deg, #f4f8ff 0%, #dce9ff 100%); border: 1px solid #9ec0f8; border-radius: 999px; box-shadow: inset 0 1px 0 rgb(255 255 255 / 75%), 0 0 14px rgb(90 150 255 / 48%), 0 4px 12px rgb(52 120 246 / 16%); font: 900 14px inherit; letter-spacing: .06em; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; animation: board-guide-glow 2.6s ease-in-out infinite; }
.board-guide-btn:hover { transform: translateY(-1px); animation-play-state: paused; box-shadow: inset 0 1px 0 rgb(255 255 255 / 75%), 0 0 26px rgb(90 150 255 / 72%), 0 8px 16px rgb(52 120 246 / 22%); }
.board-guide-btn:active { transform: scale(.98); }
.board-guide-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.board-guide-shine { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.board-guide-shine::after { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 28%, rgb(255 255 255 / 0%) 40%, rgb(255 255 255 / 88%) 50%, rgb(255 255 255 / 0%) 60%, transparent 72%); transform: translateX(-130%); animation: board-guide-flare 3.8s ease-in-out infinite; content: ""; }
.board-guide-label { position: relative; z-index: 1; }
@keyframes board-guide-glow {
  0%, 100% { box-shadow: inset 0 1px 0 rgb(255 255 255 / 75%), 0 0 12px rgb(90 150 255 / 42%), 0 4px 12px rgb(52 120 246 / 14%); }
  50% { box-shadow: inset 0 1px 0 rgb(255 255 255 / 75%), 0 0 28px rgb(90 150 255 / 72%), 0 8px 18px rgb(52 120 246 / 22%); }
}
@keyframes board-guide-flare { 0%, 42% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
.portal-main { display: flex; flex: 1; flex-direction: column; justify-content: center; justify-content: safe center; padding: 48px 0 56px; }
.portal-main-board, .portal-main-faq { align-items: center; justify-content: flex-start; gap: 14px; padding-top: 36px; }
.portal-intro { margin-bottom: 18px; }
.intro-kicker { margin: 0 0 14px; color: var(--blue); font-family: Arial, sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.portal-intro h1 { margin: 0; font-size: clamp(34px, 5.5vw, 56px); font-weight: 800; line-height: 1.18; letter-spacing: 0; }
.portal-intro h1 span { color: var(--blue); }
.intro-copy { margin: 13px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.home-notice-strip { position: relative; display: flex; align-items: center; gap: 12px; overflow: hidden; width: 100%; height: 44px; margin: 0 0 22px; padding: 0 12px 0 8px; color: #1a4fb8; background: linear-gradient(90deg, #edf4ff, #f7fbff 50%, #eaf3ff); border: 1px solid #c5daf8; border-radius: 12px; box-shadow: 0 0 22px rgb(90 150 255 / 30%); cursor: pointer; font: inherit; text-align: left; }
.home-notice-strip::after { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / 72%) 50%, transparent 70%); transform: translateX(-120%); animation: notice-strip-shine 3.4s ease-in-out infinite; pointer-events: none; content: ""; }
.home-notice-strip-badge { position: relative; z-index: 1; flex: none; padding: 4px 10px; color: #fff; background: var(--blue); border-radius: 999px; box-shadow: 0 0 12px rgb(52 120 246 / 45%); font-size: 11px; font-weight: 800; }
.home-notice-strip-view { position: relative; z-index: 1; flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 16px), transparent); mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 16px), transparent); }
.home-notice-strip-track { display: flex; width: max-content; animation: notice-strip-scroll 22s linear infinite; }
.home-notice-strip:hover .home-notice-strip-track { animation-play-state: paused; }
.home-notice-strip-item { padding-right: 64px; font-size: 13px; font-weight: 700; line-height: 44px; white-space: nowrap; }
@keyframes notice-strip-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes notice-strip-shine { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.feature-card { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 16px; align-items: center; min-height: 122px; padding: 20px 23px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 8px 24px rgb(37 62 95 / 6%); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature-card::after { position: absolute; right: -29px; bottom: -35px; width: 115px; height: 115px; border: 1px solid currentColor; border-radius: 50%; opacity: .1; content: ""; }
.feature-card:not(.feature-disabled):hover { border-color: currentColor; box-shadow: 0 14px 28px rgb(37 62 95 / 12%); transform: translateY(-4px); }
.feature-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 17px; }
.feature-icon svg { width: 31px; height: 31px; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.feature-body strong, .feature-body small { display: block; }
.feature-body strong { font-size: 19px; line-height: 1.35; }
.feature-body small { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.feature-xianyu { color: #c2410c; background: #fff3c8; padding: 1px 6px; border-radius: 6px; font-weight: 800; }
.feature-install { color: #2878e9; background: #f8fbff; }
.feature-install .feature-icon { background: #e2efff; }
.feature-activate { color: #24a36d; background: #f8fdf9; }
.feature-activate .feature-icon { background: #def6e9; }
.feature-save { color: #7a5ce2; background: #fbf9ff; }
.feature-save .feature-icon { background: #eee8ff; }
.feature-tournament { color: #d23b4e; background: #fff8f8; }
.feature-tournament .feature-icon { background: #ffe4e8; }
.feature-duel { color: #e07b12; background: #fffaf4; }
.feature-duel .feature-icon { background: #ffe9d1; }
.feature-faq { color: #d88b13; background: #fffdf7; }
.feature-faq .feature-icon { background: #fff0ce; }
.feature-disabled { cursor: default; }
.feature-activate.feature-disabled { color: #8b96a5; background: #f3f5f8; box-shadow: none; }
.feature-activate.feature-disabled .feature-icon { background: #e5e9ef; }
.feature-activate.feature-disabled .feature-body small { color: #9aa5b3; }
.portal-footer { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 62px; color: #8794a6; font-size: 11px; }
.footer-dot { width: 3px; height: 3px; background: #b7c1ce; border-radius: 50%; }

html.is-notice-open, html.is-notice-open body,
html.is-guide-open, html.is-guide-open body,
html.is-faq-open, html.is-faq-open body { overflow: hidden; }
.home-notice-backdrop[hidden] { display: none !important; }
.home-notice-backdrop { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 20px; overflow: auto; background: rgb(15 23 42 / 48%); }
.home-notice { display: flex; flex-direction: column; width: min(440px, 100%); min-width: 0; max-height: min(760px, calc(100dvh - 32px)); overflow: hidden; padding: 24px 22px 18px; background: #fff; border-radius: 20px; box-shadow: 0 28px 80px rgb(23 36 58 / 28%); animation: home-notice-in .25s ease; }
.home-notice-head { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.home-notice-close { flex: none; height: 32px; padding: 0 12px; color: var(--blue); background: #eef4ff; border: 1px solid #d7e6fb; border-radius: 999px; font: 700 13px inherit; cursor: pointer; }
.home-notice-close:hover { color: #2468df; background: #e2ecff; }
.home-notice h2 { margin: 0; font-size: 22px; }
.home-notice-list { display: grid; gap: 10px; flex: 1; min-width: 0; min-height: 0; margin: 0; padding: 0; overflow: auto; list-style: none; }
.home-notice-item { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; min-width: 0; padding: 14px 12px; border: 1px solid #e8eef5; border-radius: 14px; }
.home-notice-item.is-group { color: #2878e9; background: #f8fbff; border-color: #d7e6fb; }
.home-notice-item.is-pay { color: #24a36d; background: #f8fdf9; border-color: #d4eedf; }
.home-notice-item.is-cup { color: #d23b4e; background: #fff8f8; border-color: #f5d7dc; }
.home-notice-index { display: grid; place-items: center; width: 28px; height: 28px; color: #fff; border-radius: 50%; font-size: 13px; font-weight: 800; }
.home-notice-item.is-group .home-notice-index { background: #2878e9; }
.home-notice-item.is-pay .home-notice-index { background: #24a36d; }
.home-notice-item.is-cup .home-notice-index { background: #d23b4e; }
.home-notice-copy { min-width: 0; }
.home-notice-copy strong { display: block; font-size: 15px; }
.home-notice-copy p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.home-notice-inline { color: #1b8a5a; font-weight: 800; }
.home-notice-hl { padding: 1px 5px; color: #b45309; background: #fff3c8; border-radius: 5px; font-weight: 800; }
.home-notice-qq { display: inline-flex; align-items: baseline; gap: 6px; margin-top: 8px; padding: 4px 10px; color: #1a4fb8; background: #eef5ff; border: 1px solid #d2e3fb; border-radius: 8px; }
.home-notice-qq span { color: #6b8ec4; font-size: 11px; }
.home-notice-qq b { font-family: Arial, sans-serif; font-size: 14px; font-weight: 700; user-select: all; }
.home-notice-link { display: inline-flex; margin-top: 8px; color: inherit; font-size: 13px; font-weight: 800; }
.home-notice-ok { flex: none; width: 100%; min-height: 46px; margin-top: 16px; color: #fff; background: var(--blue); border: 0; border-radius: 12px; font: 800 15px inherit; cursor: pointer; }
.home-notice-ok:hover { background: #2468df; }
@keyframes home-notice-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.board-guide-backdrop[hidden] { display: none !important; }
.board-guide-backdrop { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 20px; overflow: auto; background: rgb(15 23 42 / 48%); }
.board-guide { display: flex; flex-direction: column; width: min(440px, 100%); min-width: 0; max-height: min(760px, calc(100dvh - 32px)); overflow: hidden; padding: 24px 22px 18px; background: #fff; border-radius: 20px; box-shadow: 0 28px 80px rgb(23 36 58 / 28%); animation: home-notice-in .25s ease; }
.board-guide-head { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.board-guide h2 { margin: 0; color: var(--ink); font-size: 22px; }
.board-guide-close { flex: none; height: 32px; padding: 0 12px; color: var(--blue); background: #eef4ff; border: 1px solid #d7e6fb; border-radius: 999px; font: 700 13px inherit; cursor: pointer; }
.board-guide-close:hover { color: #2468df; background: #e2ecff; }
.board-guide-list { display: grid; gap: 10px; flex: 1; min-width: 0; min-height: 0; margin: 0; padding: 0; overflow: auto; list-style: none; }
.board-guide-item { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; min-width: 0; padding: 14px 12px; border: 1px solid #e8eef5; border-radius: 14px; }
.board-guide-item.is-open, .board-guide-item.is-round { color: #2878e9; background: #f8fbff; border-color: #d7e6fb; }
.board-guide-index { display: grid; place-items: center; width: 28px; height: 28px; color: #fff; background: var(--blue); border-radius: 50%; font-size: 13px; font-weight: 800; }
.board-guide-copy { min-width: 0; }
.board-guide-copy strong { display: block; font-size: 15px; }
.board-guide-copy p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.board-guide-copy .board-guide-tip { margin-top: 10px; color: #1a4fb8; font-size: 12px; }
.board-guide-hl { display: inline-block; padding: 1px 7px; color: #1a4fb8; background: #e8f0ff; border-radius: 999px; font-style: normal; font-weight: 800; }
.board-guide-tip { margin-top: 10px; padding: 9px 11px; color: #1a4fb8; background: #f4f8ff; border: 1px dashed #c5daf8; border-radius: 10px; font-size: 12px; }
.board-guide-save { color: var(--blue); font-weight: 800; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
.board-guide-ok { flex: none; width: 100%; min-height: 46px; margin-top: 16px; color: #fff; background: var(--blue); border: 0; border-radius: 12px; font: 800 15px inherit; cursor: pointer; }
.board-guide-ok:hover { background: #2468df; }
.board-guide-ok:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.board-panel { display: grid; width: min(100%, 680px); margin: 0 auto; gap: 14px; }
.board-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; width: min(100%, 680px); min-height: 36px; column-gap: 8px; }
.board-toolbar .board-rounds { grid-column: 2; }
.board-toolbar .board-guide-btn { grid-column: 3; justify-self: end; }
.board-rounds { display: flex; justify-content: center; gap: 8px; }
.board-round { min-height: 36px; padding: 0 16px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.board-round.is-on { color: white; background: var(--blue); border-color: var(--blue); }
.board-ticker { --ticker-h: 54px; position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 8px 24px rgb(37 62 95 / 6%); transition: border-color .7s ease, box-shadow .7s ease; }
.board-ticker[data-kind="streak"] { border-color: #ead085; box-shadow: 0 10px 28px rgb(196 150 40 / 14%), 0 0 0 1px rgb(240 210 120 / 30%); }
.board-ticker[data-kind="most"] { border-color: #f0b4be; box-shadow: 0 10px 28px rgb(200 70 90 / 13%), 0 0 0 1px rgb(240 170 180 / 28%); }
.board-ticker-mood { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.board-ticker-mood i { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.board-ticker-mood .is-streak { background: linear-gradient(90deg, #fff6dc 0%, #fffdf6 48%, #fff1c4 100%); }
.board-ticker-mood .is-most { background: linear-gradient(90deg, #fff1f3 0%, #fffafb 48%, #ffe4e8 100%); }
.board-ticker[data-kind="streak"] .board-ticker-mood .is-streak,
.board-ticker[data-kind="most"] .board-ticker-mood .is-most { opacity: 1; }
.board-ticker-view { position: relative; z-index: 1; height: var(--ticker-h); overflow: hidden; }
.board-ticker-track { will-change: transform; }
.board-ticker-item { display: flex; align-items: center; justify-content: center; height: var(--ticker-h); padding: 0 36px; }
.board-ticker-item p { overflow: hidden; max-width: 100%; margin: 0; color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.3; text-align: center; text-overflow: ellipsis; white-space: nowrap; opacity: .42; transform: translateY(8px); transition: opacity .45s ease, transform .55s cubic-bezier(.18,.84,.28,1); }
.board-ticker-item.is-in p, .board-ticker-item.is-map p { opacity: 1; transform: none; }
.board-ticker-item.is-map p { transition: none; }
.board-ticker.is-snap .board-ticker-item p { transition: none; }
.board-ticker-item em { font-style: normal; font-weight: 700; }
.board-ticker-item em::after { content: "："; }
.board-ticker-item strong { font-weight: 800; }
.board-ticker-item.is-streak.is-in strong { background: linear-gradient(90deg, #9a6a08, #e8c04a 25%, #fff1b0 50%, #e8c04a 75%, #9a6a08); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: ticker-foil 3s linear infinite; filter: drop-shadow(0 1px 0 rgb(255 236 170 / 80%)); }
.board-ticker-item.is-most.is-in strong { background: linear-gradient(90deg, #9f2436, #e56b7c 25%, #ffd4da 50%, #e56b7c 75%, #9f2436); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: ticker-foil 3s linear infinite; filter: drop-shadow(0 1px 0 rgb(255 220 226 / 80%)); }
.board-ticker-fx, .board-ticker-shine { position: absolute; inset: 0; pointer-events: none; }
.board-ticker-fx { z-index: 2; overflow: hidden; }
.board-ticker-shine { z-index: 1; background: linear-gradient(115deg, transparent 22%, rgb(255 255 255 / 0%) 38%, rgb(255 255 255 / 88%) 50%, rgb(255 255 255 / 0%) 62%, transparent 78%); transform: translateX(-130%); opacity: 0; }
.board-ticker.is-burst .board-ticker-shine { animation: ticker-shine 1.7s ease-in-out; }
.board-ticker-spark { position: absolute; width: 7px; height: 7px; margin: -3px 0 0 -3px; background: #ffd24a; clip-path: polygon(50% 0, 62% 36%, 100% 50%, 62% 64%, 50% 100%, 38% 64%, 0 50%, 38% 36%); filter: drop-shadow(0 0 2px rgb(255 210 80 / 65%)); will-change: transform, opacity; animation: ticker-spark 2.6s cubic-bezier(.33, 0, .2, 1) var(--delay) forwards; }
.board-ticker-spark.is-lg { width: 9px; height: 9px; margin: -4px 0 0 -4px; }
.board-ticker[data-kind="most"] .board-ticker-spark { background: #ff7d92; filter: drop-shadow(0 0 2px rgb(255 120 140 / 65%)); }
.board-ticker-dots { position: absolute; right: 14px; top: 50%; z-index: 3; display: grid; gap: 5px; transform: translateY(-50%); }
.board-ticker-dots i { width: 5px; height: 5px; background: #d5dde6; border-radius: 50%; transition: background .3s ease, box-shadow .3s ease; }
.board-ticker-dots i.is-on { background: var(--blue); box-shadow: 0 0 0 3px rgb(52 120 246 / 14%); }
.board-ticker[data-kind="streak"] .board-ticker-dots i.is-on { background: #d4a017; box-shadow: 0 0 0 3px rgb(212 160 23 / 20%); }
.board-ticker[data-kind="most"] .board-ticker-dots i.is-on { background: #d23b4e; box-shadow: 0 0 0 3px rgb(210 59 78 / 18%); }
@keyframes ticker-foil { 0% { background-position: 0 50%; } 100% { background-position: -200% 50%; } }
@keyframes ticker-shine { 0% { transform: translateX(-140%); opacity: 1; } 100% { transform: translateX(140%); opacity: 1; } }
@keyframes ticker-spark { 0% { opacity: 0; transform: translate3d(0, 0, 0) scale(.38); } 14% { opacity: 1; } 100% { opacity: 0; transform: translate3d(var(--dx), var(--dy), 0) scale(.16); } }
.board-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 8px 24px rgb(37 62 95 / 6%); }
.board-facts > div { padding: 16px 12px; background: var(--surface); text-align: center; }
.board-facts dt { color: var(--muted); font-size: 12px; }
.board-facts dd { margin: 6px 0 0; font-size: 16px; font-weight: 800; line-height: 1.3; }
.board-list-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 8px 24px rgb(37 62 95 / 6%); }
.board-list-head, .board-row { display: grid; grid-template-columns: 48px minmax(0, 1.3fr) 72px 88px; column-gap: 10px; align-items: center; justify-items: center; text-align: center; }
.board-list-head { padding: 12px 18px; color: var(--muted); background: #f8fafc; border-bottom: 1px solid #eef2f7; font-size: 12px; font-weight: 700; }
.board-list { margin: 0; padding: 0; list-style: none; }
.board-row { min-height: 60px; padding: 0 18px; border-top: 1px solid #eef2f7; }
.board-row:first-child { border-top: 0; }
.board-rank { display: grid; place-items: center; width: 32px; height: 32px; color: #5b6b80; background: #eef2f7; border-radius: 50%; font-size: 13px; font-weight: 800; }
.board-top-1 .board-rank { color: #8a5a00; background: #ffe7a3; }
.board-top-2 .board-rank { color: #4b5563; background: #e4e8ee; }
.board-top-3 .board-rank { color: #8a4b16; background: #f3d2b0; }
.board-name { overflow: hidden; max-width: 100%; font-size: 15px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.board-name small { display: block; color: #8a5a00; font-size: 10px; font-weight: 800; line-height: 1.2; }
.board-cups { color: #d23b4e; font-size: 16px; font-weight: 800; }
.board-rating { color: var(--ink); font-size: 15px; font-weight: 800; }
.board-list-card.is-duel .board-list-head,
.board-list-card.is-duel .board-row { grid-template-columns: 48px minmax(0, 1.1fr) 72px 132px 64px; }
.board-prize { display: inline-flex; align-items: center; justify-content: center; min-width: 76px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 11px; font-weight: 800; line-height: 1; white-space: nowrap; }
.board-prize.is-top-1 { color: #8a5a00; background: #fff1c4; }
.board-prize.is-top-2 { color: #4b5563; background: #e8edf3; }
.board-prize.is-top-3 { color: #8a4b16; background: #f6dfc4; }
.board-prize.is-rest { color: #0f6b56; background: #ddf4ec; }
.board-prize.is-none { color: #9aa6b5; background: transparent; padding: 0; font-weight: 700; }
.board-record { color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.35; }
.board-record b { color: var(--ink); font-size: 14px; font-weight: 800; }
.board-empty, .board-message { padding: 42px 22px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 8px 24px rgb(37 62 95 / 6%); text-align: center; line-height: 1.7; }
.board-list-card .board-empty { border: 0; border-radius: 0; box-shadow: none; }
.board-message { display: grid; justify-items: center; gap: 8px; }
.board-message strong { color: var(--ink); font-size: 17px; }
.board-retry { min-height: 40px; margin-top: 8px; padding: 0 16px; color: white; background: var(--blue); border: 0; border-radius: 10px; font-family: inherit; font-weight: 700; cursor: pointer; }
.board-retry:hover { background: #2468df; }

.faq-panel { display: grid; width: min(100%, 680px); margin: 0 auto; gap: 12px; }
.faq-search { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 8px 24px rgb(37 62 95 / 6%); }
.faq-search:focus-within { border-color: #e0b04a; box-shadow: 0 0 0 3px rgb(216 139 19 / 14%); }
.faq-search svg { flex: none; width: 20px; height: 20px; stroke: #9aa6b5; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.faq-search:focus-within svg { stroke: #d88b13; }
.faq-search input { flex: 1; min-width: 0; height: 48px; padding: 0; color: var(--ink); background: transparent; border: 0; outline: 0; font: 16px inherit; }
.faq-search input::placeholder { color: #9aa6b5; }
.faq-meta { margin: 0; padding: 0 4px; color: var(--muted); font-size: 12px; font-weight: 700; }
.faq-list { display: grid; gap: 10px; }
.faq-q { display: grid; grid-template-columns: 32px minmax(0, 1fr) 18px; column-gap: 12px; align-items: center; width: 100%; min-height: 64px; padding: 14px 16px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 8px 24px rgb(37 62 95 / 6%); font: inherit; font-weight: 800; text-align: left; cursor: pointer; }
.faq-q:hover { border-color: #ead9a8; }
.faq-index { display: grid; place-items: center; width: 32px; height: 32px; color: #8a5a00; background: #ffe7a3; border-radius: 50%; font-size: 13px; }
.faq-q svg { width: 18px; height: 18px; stroke: #9aa6b5; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.faq-body { display: grid; gap: 10px; flex: 1; min-height: 0; overflow: auto; overflow-wrap: anywhere; }
.faq-body p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.faq-body a { padding: 1px 5px; color: #1a4fb8; background: #e8f0ff; border-radius: 5px; font-weight: 800; }
.faq-body mark { padding: 1px 5px; color: #b45309; background: #fff3c8; border-radius: 5px; font-weight: 800; }
.faq-body em { display: inline-block; margin-right: 6px; padding: 1px 7px; color: #1a4fb8; background: #e8f0ff; border-radius: 999px; font-size: 11px; font-style: normal; font-weight: 800; }
.faq-row { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-items: start; padding: 11px 12px; border-radius: 12px; }
.faq-row p { color: var(--ink); }
.faq-row b { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11px; }
.faq-row.is-android { background: #f8fdf9; border: 1px solid #d4eedf; }
.faq-row.is-android b { color: #0f6b56; background: #ddf4ec; }
.faq-row.is-apple { background: #f8fbff; border: 1px solid #d7e6fb; }
.faq-row.is-apple b { color: #1a4fb8; background: #e8f0ff; }
.faq-note { padding: 10px 12px; color: #8a5a00; background: #fff8e8; border: 1px dashed #ead085; border-radius: 10px; }
.faq-note strong { margin-right: 6px; }
.faq-empty { display: grid; justify-items: center; gap: 8px; padding: 42px 22px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 17px; text-align: center; line-height: 1.7; }
.faq-empty strong { color: var(--ink); font-size: 17px; }

@media (max-width: 620px) {
  .portal-header, .portal-main, .portal-footer { width: min(100% - 28px, 480px); }
  .portal-header { min-height: 70px; }
  .portal-main { justify-content: flex-start; padding: 40px 0 35px; }
  .portal-main-board, .portal-main-faq { padding-top: 20px; }
  .portal-intro { margin-bottom: 12px; }
  .portal-intro h1 { font-size: clamp(31px, 9vw, 43px); }
  .intro-copy { margin-top: 10px; font-size: 13px; }
  .home-notice-strip { height: 40px; margin-bottom: 16px; }
  .home-notice-strip-item { font-size: 12px; line-height: 40px; }
  .feature-grid { gap: 11px; }
  .feature-card { grid-template-columns: 42px minmax(0, 1fr); column-gap: 10px; min-height: 108px; padding: 15px 14px; border-radius: 14px; }
  .feature-icon { width: 42px; height: 42px; border-radius: 12px; }
  .feature-icon svg { width: 24px; height: 24px; }
  .feature-body strong { font-size: 15px; }
  .feature-body small { margin-top: 5px; font-size: 11px; line-height: 1.45; }
  .portal-footer { min-height: 52px; font-size: 10px; }
  .header-back { padding: 6px 10px; font-size: 11px; }
  .board-guide-btn { min-height: 32px; padding: 0 14px; font-size: 13px; }
  .home-notice-backdrop { padding: 12px; }
  .board-guide-backdrop { padding: 12px; }
  .board-guide { width: 100%; max-height: calc(100dvh - 24px); padding: 20px 14px 14px; border-radius: 16px; }
  .board-guide-close { display: none; }
  .board-guide h2 { font-size: 20px; }
  .board-guide-item { grid-template-columns: 24px minmax(0, 1fr); padding: 12px 10px; }
  .board-guide-index { width: 24px; height: 24px; font-size: 12px; }
  .board-guide-copy p { font-size: 12px; }
  .home-notice { width: 100%; max-height: calc(100dvh - 24px); padding: 20px 14px 14px; border-radius: 16px; }
  .home-notice-close { display: none; }
  .home-notice h2 { font-size: 20px; }
  .home-notice-item { grid-template-columns: 24px minmax(0, 1fr); padding: 12px 10px; }
  .home-notice-index { width: 24px; height: 24px; font-size: 12px; }
  .home-notice-copy p { font-size: 12px; }
  .board-facts { border-radius: 14px; }
  .board-facts > div { padding: 12px 10px; }
  .board-facts dt { font-size: 11px; }
  .board-facts dd { margin-top: 4px; font-size: 14px; }
  .board-list-card, .board-ticker { border-radius: 14px; }
  .board-ticker { --ticker-h: 48px; }
  .board-ticker-item { padding: 0 30px; }
  .board-ticker-item p { font-size: 14px; }
  .board-list-head, .board-row { grid-template-columns: 40px minmax(0, 1.2fr) 58px 72px; column-gap: 6px; padding-left: 14px; padding-right: 14px; }
  .board-list-card.is-duel .board-list-head,
  .board-list-card.is-duel .board-row { grid-template-columns: 40px minmax(0, 1.05fr) 58px 112px 56px; }
  .board-prize { min-width: 68px; height: 24px; padding: 0 8px; font-size: 10px; }
  .board-row { min-height: 54px; }
  .board-rank { width: 28px; height: 28px; font-size: 12px; }
  .board-name { font-size: 14px; }
  .board-cups { font-size: 15px; }
  .board-record { font-size: 11px; }
  .board-record b { font-size: 13px; }
  .board-empty, .board-message { padding: 32px 16px; border-radius: 14px; }
  .faq-search, .faq-q, .faq-empty { border-radius: 14px; }
  .faq-q { grid-template-columns: 28px minmax(0, 1fr) 16px; min-height: 58px; padding: 12px; }
  .faq-index { width: 28px; height: 28px; font-size: 12px; }
}

@media (max-width: 340px) {
  .portal-header, .portal-main, .portal-footer { width: calc(100% - 20px); }
  .feature-card { padding-left: 10px; padding-right: 10px; }
  .feature-body small { font-size: 10px; }
  .header-actions { gap: 6px; }
  .header-status { padding: 6px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .home-notice-strip-track,
  .home-notice-strip::after { animation: none !important; transform: none !important; }
  .home-notice-strip-item + .home-notice-strip-item { display: none; }
  .board-guide-btn { animation: none !important; box-shadow: inset 0 1px 0 rgb(255 255 255 / 75%), 0 0 14px rgb(90 150 255 / 40%), 0 4px 10px rgb(52 120 246 / 12%); }
  .board-guide-shine::after { animation: none !important; transform: none !important; opacity: 0; }
}
