:root {
  color-scheme: dark;
  --bg: #141918;
  --surface: #1d2422;
  --surface-raised: #252d2a;
  --line: #3a4540;
  --text: #edf0e9;
  --muted: #a3ada6;
  --gold: #c8ad70;
  --gold-bright: #e4cf96;
  --green: #8db6a0;
  --red: #da8b7d;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
}
* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: var(--bg); }
body { min-width: 320px; min-height: 100vh; margin: 0; display: flex; flex-direction: column; background: var(--bg); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.site-header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid #39413c; background: #171d1b; }
.header-inner { width: min(1120px, calc(100% - 48px)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; gap: 36px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark, .account-mark, .login-emblem, .auth-mark { display: grid; place-items: center; flex: 0 0 auto; width: 44px; aspect-ratio: 1; border: 1px solid var(--gold); color: var(--gold-bright); background: #25271f; font-family: Georgia, serif; font-weight: 700; }
.brand-copy { display: grid; gap: 3px; }
.brand-copy small { color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.brand-copy strong { font-size: 16px; font-weight: 650; }
.desktop-nav { display: flex; align-self: stretch; gap: 24px; }
.desktop-nav a { position: relative; display: grid; place-items: center; min-width: 36px; color: var(--muted); font-size: 14px; }
.desktop-nav a.active { color: var(--gold-bright); }
.desktop-nav a.active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--gold); content: ""; }
.header-account { margin-left: auto; border: 1px solid var(--line); padding: 8px 13px; color: var(--muted); font-size: 12px; }
.header-account:hover, .header-account.signed-in { border-color: #66735f; color: var(--green); }
.main-content { flex: 1 0 auto; width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 42px 0 34px; }
.site-footer { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; padding: 12px 20px 22px; color: #a3ada6; font-size: 12px; line-height: 1.6; text-align: center; text-size-adjust: none; -webkit-text-size-adjust: none; }
.site-footer-author { display: inline-flex; align-items: center; gap: 8px; color: #e4cf96; font-family: Georgia, "Noto Serif SC", serif; font-size: 18px; font-weight: 700; line-height: 1.2; }
.site-footer-author-mark { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #59634f; border-radius: 6px; background: #1d2422; box-shadow: 0 0 6px rgba(141, 182, 160, .2), inset 0 1px 2px rgba(255, 255, 255, .08); }
.site-footer-note { display: block; width: 13px; height: 17px; background: #8db6a0; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0l88,0a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0l88,0a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.site-footer-legal { display: grid; gap: 3px; }
.site-footer-records { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px 12px; }
.site-footer-records a { display: inline-flex; align-items: center; justify-content: center; gap: 4px; color: #8f9a92; font-size: 12px; overflow-wrap: anywhere; }
.site-footer-records a:hover { color: #e4cf96; text-decoration: underline; text-underline-offset: 2px; }
.site-footer-records img { flex: 0 0 auto; width: 16px; height: 16px; object-fit: contain; }
.page-intro { margin: 0 0 25px; }
.eyebrow { display: block; margin-bottom: 8px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .6px; }
.page-intro h1 { margin: 0; font-size: 25px; font-weight: 650; }
.page-intro p { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.category-card, .work-card { position: relative; min-width: 0; min-height: 146px; display: grid; grid-template-columns: 136px minmax(0, 1fr) 20px; align-items: center; gap: 17px; overflow: hidden; border: 1px solid var(--line); border-left: 2px solid #83724d; background: var(--surface); transition: border-color .16s, background .16s; }
.category-card:hover, .work-card:hover, .tool-card:hover, .account-link:hover, .battle-tag-row:hover { border-color: var(--gold); background-color: var(--surface-raised); }
.artwork { position: relative; display: grid; place-items: center; overflow: hidden; color: var(--gold-bright); background-color: #29312d; background-image: repeating-linear-gradient(135deg, #ffffff08 0, #ffffff08 1px, transparent 1px, transparent 9px); }
.artwork img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.artwork span { font-family: Georgia, serif; font-size: 32px; font-weight: 700; }
.category-art { align-self: stretch; min-height: 144px; }
.category-art span { font-size: 38px; }
.category-copy, .work-copy { min-width: 0; padding: 14px 0; }
.card-kicker { color: var(--gold); font-size: 9px; font-weight: 700; }
.category-copy h2, .work-copy h2 { margin: 7px 0 5px; font-size: 16px; font-weight: 650; line-height: 1.4; overflow-wrap: anywhere; }
.category-copy p, .work-copy p { margin: 0 0 10px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.category-copy small, .work-copy small { display: block; color: #7f8d85; font-size: 11px; line-height: 1.5; }
.card-arrow { padding-right: 10px; color: #8b978e; font-size: 21px; }
.back-link { display: inline-block; margin: 0 0 20px; color: var(--green); font-size: 12px; }
.back-link:hover, .text-link:hover { color: var(--gold-bright); }
.compatibility-line { margin: -12px 0 24px; color: #8fa49a; font-size: 12px; }
.work-grid { display: grid; gap: 9px; }
.work-card { min-height: 102px; grid-template-columns: 84px minmax(0, 1fr) 20px; gap: 14px; }
.work-art { align-self: stretch; min-height: 100px; }
.work-art span { font-size: 26px; }
.work-copy h2 { margin-top: 0; }
.work-copy p { margin-bottom: 5px; }
.work-hero { position: relative; min-height: 270px; display: flex; align-items: flex-end; overflow: hidden; border: 1px solid var(--line); background-color: #272e2b; background-image: repeating-linear-gradient(135deg, #ffffff08 0, #ffffff08 1px, transparent 1px, transparent 11px); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 35% 0 0; background: linear-gradient(0deg, #101513 0%, #101513de 32%, transparent 100%); }
.hero-copy { position: relative; z-index: 1; max-width: 780px; padding: 24px 28px 25px; }
.hero-copy h1 { margin: 0; font-size: 27px; line-height: 1.3; overflow-wrap: anywhere; }
.hero-copy p { margin: 8px 0 0; color: #d0d5ce; font-size: 13px; }
.work-hero + .compatibility-line { margin: 16px 0; }
.description-panel { max-width: 880px; margin: 22px 0; padding: 19px 21px; border: 1px solid var(--line); background: var(--surface); }
.description-panel h2, .section-heading { margin: 0 0 12px; font-size: 14px; font-weight: 650; }
.description-panel p { margin: 0; color: #c4cbc5; font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; }
.content-section { max-width: 880px; margin-top: 24px; }
.external-link-list { display: flex; flex-wrap: wrap; gap: 9px; }
.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--line); padding: 10px 16px; font-size: 13px; font-weight: 600; transition: background .14s, border-color .14s; }
.button-primary { border-color: #ad965e; background: #c2a869; color: #171914; }
.button-primary:hover { border-color: var(--gold-bright); background: var(--gold-bright); }
.button-outline { background: #1b211f; color: var(--text); }
.button-outline:hover { border-color: var(--gold); color: var(--gold-bright); }
.button-large { min-width: 280px; min-height: 54px; font-size: 15px; }
.contact-panel, .bind-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); gap: 26px; align-items: center; border: 1px solid #685d42; padding: 22px; background: #22251f; }
.contact-panel h2, .bind-panel h2, .authorized-callout h2 { margin: 0; font-size: 17px; }
.contact-panel p, .bind-panel p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.inline-form { min-width: 0; display: grid; gap: 8px; }
.inline-form label { color: var(--muted); font-size: 11px; }
.form-row { display: flex; gap: 7px; min-width: 0; }
.form-row input { min-width: 0; flex: 1; height: 42px; border: 1px solid var(--line); border-radius: 0; padding: 0 11px; outline: none; background: #141a18; color: var(--text); }
.form-row input:focus { border-color: var(--gold); }
.authorized-callout { display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--line); padding: 19px 21px; background: var(--surface); }
.login-view, .auth-prompt { min-height: min(62vh, 560px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.login-emblem, .auth-mark { width: 66px; margin-bottom: 21px; font-size: 23px; }
.login-view .eyebrow { margin-bottom: 6px; }
.login-view h1, .auth-prompt h1 { margin: 0; font-size: 23px; }
.login-view p, .auth-prompt p { margin: 11px 0 23px; color: var(--muted); font-size: 13px; }
.auth-prompt .text-link { margin-top: 16px; }
.text-link { color: var(--green); font-size: 12px; }
.account-summary { display: flex; align-items: center; gap: 13px; max-width: 680px; min-height: 86px; padding: 16px; border: 1px solid var(--line); background: var(--surface); }
.account-mark { width: 50px; }
.account-summary div:nth-child(2) { display: grid; gap: 4px; }
.account-summary div:nth-child(2) span { color: var(--muted); font-size: 11px; }
.account-summary div:nth-child(2) strong { font-size: 16px; }
.account-status { margin-left: auto; color: var(--green); font-size: 11px; }
.account-links, .tool-list, .battle-tag-list, .application-list { max-width: 760px; display: grid; gap: 8px; margin-top: 14px; }
.account-link, .tool-card, .battle-tag-row { min-width: 0; min-height: 76px; display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); background: var(--surface); transition: border-color .16s, background .16s; }
.account-link { padding: 12px 15px; }
.link-mark, .tool-type, .tag-mark { display: grid; place-items: center; flex: 0 0 auto; width: 40px; aspect-ratio: 1; border: 1px solid #59634f; color: var(--gold-bright); font-size: 11px; }
.admin-mark { border-color: #755d45; color: #e3b785; }
.account-link > span:nth-child(2), .tool-copy, .battle-tag-row > span:nth-child(2) { min-width: 0; display: grid; gap: 5px; }
.account-link strong, .tool-copy strong, .battle-tag-row strong { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.account-link small, .tool-copy small, .battle-tag-row small { color: var(--muted); font-size: 11px; line-height: 1.4; }
.account-link b, .tool-card b, .battle-tag-row b { margin-left: auto; color: #87948b; font-size: 20px; font-weight: 400; }
.logout-button { margin-top: 16px; min-width: 120px; }
.settings-list { max-width: 760px; display: grid; gap: 12px; }
.settings-panel { min-width: 0; border: 1px solid var(--line); padding: 18px; background: var(--surface); }
.settings-panel h2 { margin: 0; font-size: 16px; font-weight: 650; overflow-wrap: anywhere; }
.settings-panel p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.settings-notice { border-left: 2px solid var(--gold); padding-left: 10px; }
.settings-form { display: grid; max-width: 480px; gap: 13px; margin-top: 16px; }
.settings-form label { display: grid; gap: 6px; color: var(--muted); font-size: 11px; }
.settings-form input { width: 100%; min-width: 0; height: 42px; border: 1px solid var(--line); border-radius: 0; padding: 0 11px; outline: none; background: #141a18; color: var(--text); }
.settings-form input:focus { border-color: var(--gold); }
.settings-form .button { justify-self: start; margin-top: 3px; }
.tool-list { margin-top: 0; }
.tool-card { width: 100%; padding: 12px 15px; text-align: left; }
.tool-type { color: var(--green); border-color: #52685d; font-weight: 700; }
.tool-copy { flex: 1; }
.battle-tag-row { padding: 12px 15px; }
.tag-mark { color: var(--gold); font-size: 20px; }
.bind-panel { max-width: 760px; margin-top: 23px; grid-template-columns: 1fr; gap: 17px; }
.application-list { margin-top: 0; }
.application-row { border: 1px solid var(--line); padding: 15px 17px; background: var(--surface); }
.application-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.application-heading h2 { margin: 0; font-size: 14px; line-height: 1.45; }
.application-row p { margin: 8px 0 13px; color: #c6cec7; font-size: 12px; }
.application-row small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.status { flex: 0 0 auto; border: 1px solid #756844; padding: 4px 7px; color: var(--gold-bright); font-size: 10px; }
.status.approved { border-color: #536d5e; color: var(--green); }
.copy-section { max-width: 760px; display: grid; justify-items: center; gap: 12px; padding: 36px 16px; border: 1px solid var(--line); background: var(--surface); }
.copy-button { width: min(520px, 100%); min-height: 60px; }
.small-note { margin: 0; color: var(--muted); font-size: 11px; }
.entitlement-summary { max-width: 760px; display: grid; gap: 8px; margin-bottom: 14px; border: 1px solid var(--line); padding: 17px; background: var(--surface); }
.entitlement-summary strong { font-size: 16px; }
.entitlement-summary small { color: var(--muted); font-size: 11px; }
.empty-state { max-width: 680px; min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed #46514a; padding: 28px; text-align: center; }
.empty-mark { display: grid; place-items: center; width: 38px; aspect-ratio: 1; border: 1px solid #625a42; color: var(--gold); font: 700 13px Georgia, serif; }
.empty-state h2 { margin: 13px 0 0; font-size: 15px; font-weight: 600; }
.empty-state p { margin: 8px 0 16px; color: var(--muted); font-size: 12px; }
.loading-state { min-height: 220px; display: flex; align-items: center; justify-content: center; gap: 11px; color: var(--muted); font-size: 12px; }
.loader { width: 16px; height: 16px; border: 2px solid #49534b; border-top-color: var(--gold); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.mobile-tabs { display: none; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 20; max-width: min(420px, calc(100vw - 32px)); border: 1px solid #516c5c; padding: 11px 16px; background: #22332a; color: #c5e2d0; font-size: 12px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .16s, transform .16s; }
.toast.visible { opacity: 1; transform: none; }
.modal-shade { position: fixed; inset: 0; z-index: 15; display: grid; place-items: center; padding: 20px; background: #090c0bdd; }
.modal { position: relative; width: min(480px, 100%); max-height: min(80vh, 760px); overflow: auto; border: 1px solid #5a634f; padding: 23px; background: #1c2320; box-shadow: 0 14px 42px #0009; }
.modal-close { position: absolute; top: 11px; right: 13px; width: 32px; aspect-ratio: 1; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 19px; }
.modal h2 { margin: 0 0 13px; font-size: 18px; }
.modal-body > p { margin: 0 0 13px; color: #c6cec7; font-size: 12px; line-height: 1.6; }
.modal-actions { display: flex; justify-content: flex-end; margin-top: 16px; }
.qr-login-frame { display: grid; place-items: center; width: 224px; aspect-ratio: 1; margin: 18px auto; border: 1px solid #4d594f; padding: 10px; background: #fff; }
.qr-login-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.qr-login-status { min-height: 19px; text-align: center; }
.direct-access-loop { position: relative; width: min(280px, 100%); height: 5px; overflow: hidden; background: #303a35; }
.direct-access-loop span { position: absolute; inset: 0 auto 0 0; width: 34%; background: #d7bb7c; animation: direct-access-loop-move 1.1s ease-in-out infinite; }
@keyframes direct-access-loop-move { from { transform: translateX(-110%); } to { transform: translateX(310%); } }
.contact-method { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; border: 1px solid var(--line); padding: 11px; background: #151b19; }
.contact-method > div { min-width: 0; }
.contact-method strong { font-size: 12px; }
.contact-method p { margin: 6px 0 0; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.contact-method img { display: block; max-width: 180px; max-height: 180px; margin-top: 8px; object-fit: contain; }
.smash-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 8px 0 20px; }
.smash-controls label { display: grid; gap: 7px; color: var(--muted); font-size: 11px; }
.smash-controls select { width: 100%; min-width: 0; min-height: 42px; border: 1px solid var(--line); border-radius: 0; padding: 0 11px; background: #171d1b; color: var(--text); font: inherit; }
.smash-table { border-top: 1px solid var(--line); }
.smash-table-head, .smash-table-row { display: grid; grid-template-columns: 58px minmax(0, 1fr) minmax(80px, 130px); align-items: center; gap: 12px; }
.smash-table-head { min-height: 42px; color: var(--muted); font-size: 11px; }
.smash-table-row { min-height: 55px; border-top: 1px solid #303a35; }
.smash-table-row strong { color: var(--gold); font-size: 12px; text-align: center; }
.smash-table-row span { min-width: 0; overflow-wrap: anywhere; font-size: 13px; }
.smash-table-row b { color: var(--gold-bright); font-size: 13px; text-align: right; }
.smash-pager { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 14px 0; color: var(--muted); font-size: 11px; }
.smash-pager .button { min-width: 92px; min-height: 34px; padding: 0 10px; }
.smash-pager .button:disabled { opacity: .4; cursor: default; }
.smash-history-list { border-top: 1px solid var(--line); }
.smash-history-row { padding: 15px 0; border-bottom: 1px solid #303a35; }
.smash-history-row > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.smash-history-row strong { overflow-wrap: anywhere; font-size: 13px; }
.smash-history-row b { color: var(--gold-bright); font-size: 13px; }
.smash-history-row p, .smash-history-row small { display: block; margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.smash-submit-panel { display: grid; gap: 16px; margin-top: 28px; border-top: 1px solid var(--line); padding-top: 22px; }
.smash-submit-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.smash-submit-panel h2 { margin: 0; font-size: 16px; }
.smash-submit-panel p, .smash-submit-panel small { color: var(--muted); font-size: 11px; line-height: 1.6; }
.smash-submit-panel p { max-width: 680px; margin: 7px 0 0; }
.smash-submit-panel a { flex: none; color: var(--gold-bright); font-size: 12px; }
.smash-submit-panel form { display: grid; gap: 9px; }
.smash-submit-panel label { color: var(--muted); font-size: 11px; }
.smash-submit-panel textarea { width: 100%; min-height: 132px; border: 1px solid var(--line); border-radius: 0; padding: 11px; background: #141a18; color: var(--text); font: 11px/1.55 Consolas, monospace; overflow-wrap: anywhere; }
.smash-submit-panel textarea:focus { border-color: var(--gold); outline: none; }
.smash-submit-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.smash-submit-actions small { max-width: 560px; }
.smash-submit-panel button:disabled { opacity: .5; }
.smash-result-list { margin: 8px 0 0; padding-left: 20px; color: #c6cec7; font-size: 12px; line-height: 1.8; }

/* JT Dummy Smash keeps its original Warcraft panel and leaderboard styling. */
body.jt-smash-view { --footer-text: #d1b991; --footer-author: #e5cc80; --footer-icon: #ffcc00; --footer-icon-bg: #1a120a; --footer-icon-border: #5a4028; --footer-link: #999; --footer-link-hover: #d9c199; background: #100b08; }
body.jt-smash-view .site-footer { color: var(--footer-text); font-family: 'Noto Serif SC', "Microsoft YaHei", serif; }
body.jt-smash-view .site-footer-author { color: var(--footer-author); font-family: 'Cinzel', 'Noto Serif SC', serif; }
body.jt-smash-view .site-footer-author-mark { border-color: var(--footer-icon-border); background: var(--footer-icon-bg); box-shadow: 0 0 8px rgba(255, 204, 0, .28), inset 0 1px 2px rgba(255, 255, 255, .08); }
body.jt-smash-view .site-footer-note { background: var(--footer-icon); }
body.jt-smash-view .site-footer-records a { color: var(--footer-link); }
body.jt-smash-view .site-footer-records a:hover { color: var(--footer-link-hover); }
.jt-smash-view .main-content { width: min(1180px, calc(100% - 32px)); max-width: none; padding-top: 24px; }
.jt-smash { --smash-gold: #ffcc00; --smash-border: #5a4028; color: #d1b991; font-family: 'Noto Serif SC', "Microsoft YaHei", serif; }
.jt-smash button { font-family: 'Cinzel', 'Noto Serif SC', serif; }
.smash-action-row { display: flex; flex-direction: column; gap: 10px; margin: 0 auto 10px; width: 94%; }
.smash-action-row > .join-match-btn, .smash-action-row > .hall-of-fame-btn { display: flex; width: 100%; min-width: 0; box-sizing: border-box; }
.jt-smash .join-match-btn, .jt-smash .hall-of-fame-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 58px; border: 2px solid #8b6b3d; border-radius: 6px; color: #ffcc00; font-family: 'Cinzel', 'Noto Serif SC', serif; font-size: 18px; font-weight: 700; text-align: center; text-decoration: none; text-shadow: 2px 2px 4px #000; box-shadow: inset 0 0 10px rgba(255, 215, 0, .1), 0 4px 12px rgba(0, 0, 0, .8); transition: border-color .2s, color .2s, transform .2s; }
.jt-smash .join-match-btn { background: linear-gradient(180deg, #4a1515, #2b0808); }
.jt-smash .join-match-btn:hover { border-color: #ffd100; color: #fff; transform: translateY(-1px); }
.jt-smash .hall-of-fame-btn { border-color: #3d5b7a; background: linear-gradient(180deg, #1a2a3a, #0d151d); color: #4da6ff; }
.jt-smash .hall-of-fame-btn:hover { border-color: #66b3ff; color: #fff; transform: translateY(-1px); }
.jt-smash .class-menu, .jt-smash .smash-container { width: 94%; margin: 12px auto 8px; border: 1px solid #3b3024; border-radius: 6px; background: rgba(18, 14, 12, .96); box-shadow: inset 0 0 20px #000, 0 5px 15px rgba(0, 0, 0, .65); }
.jt-smash .class-menu { position: relative; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 12px 16px; }
.jt-smash .class-item { position: relative; flex: none; min-width: 70px; padding: 0; border: 1px solid #33261a; border-radius: 4px; background: linear-gradient(180deg, #261e18, #17110e); box-shadow: 0 2px 4px rgba(0, 0, 0, .6); }
.jt-smash .class-trigger { position: relative; display: block; min-width: 70px; min-height: 38px; border: 0; padding: 0 12px; background: transparent; color: #b0a080; cursor: pointer; font-family: 'Cinzel', 'Noto Serif SC', serif; font-size: 13px; font-weight: 600; line-height: 1.2; }
.jt-smash .class-trigger .season-ribbon { top: -2px; }
.jt-smash .class-item:hover, .jt-smash .class-item.active { border-color: #7a5a30; background: linear-gradient(180deg, #3d2c20, #261a12); box-shadow: 0 0 8px rgba(255, 204, 0, .15), inset 0 0 5px rgba(255, 255, 255, .05); }
.jt-smash .class-item:hover .class-trigger, .jt-smash .class-item.active .class-trigger { color: #ffcc00; text-shadow: 1px 1px 2px #000; }
.jt-smash .spec-submenu { position: absolute; top: 100%; left: 0; z-index: 5; display: none; min-width: 120px; overflow: hidden; border: 1px solid #5a4028; border-radius: 4px; background: rgba(12, 10, 8, .98); box-shadow: 0 8px 20px rgba(0, 0, 0, .9), inset 0 0 10px rgba(0, 0, 0, .8); }
@media (min-width: 768px) {
  .jt-smash .class-item:hover .spec-submenu, .jt-smash .class-item .spec-submenu:hover { display: block; }
}
@media (max-width: 767px) {
  .jt-smash .class-item[data-expanded="true"] .spec-submenu { display: block; }
  .jt-smash .class-item[data-expanded="true"] { border-color: #7a5a30; background: linear-gradient(180deg, #3d2c20, #261a12); }
}
.jt-smash .spec-item { position: relative; display: block; width: 100%; min-height: 37px; border: 0; border-bottom: 1px solid #2a1f16; border-radius: 0; padding: 0 16px; background: transparent; color: #d1b991; cursor: pointer; font-size: 13px; text-align: left; white-space: nowrap; }
.jt-smash .spec-item.has-season { box-sizing: border-box; padding-right: 52px; }
.jt-smash .spec-item:last-child { border-bottom: 0; }
.jt-smash .spec-item:hover, .jt-smash .spec-item.active { border-left: 3px solid #ffcc00; padding-left: 13px; background: linear-gradient(90deg, #3d2a15, #1a120a); color: #ffcc00; }
.jt-smash .smash-container { position: relative; z-index: 1; padding: 16px; }
.jt-smash .title-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.jt-smash .title-row h1, .jt-smash .smash-container > h1 { min-width: 0; margin: 0; color: #ffcc00; font-family: 'Cinzel', 'Noto Serif SC', serif; font-size: 17px; font-weight: 700; line-height: 1.45; text-align: left; text-shadow: 2px 2px 3px #000, 0 0 8px rgba(255, 204, 0, .2); }
.jt-smash .search-wrapper { position: relative; display: flex; flex: none; align-items: center; gap: 8px; }
.jt-smash .search-toggle-btn { position: relative; width: 34px; height: 34px; border: 1px solid #5a4028; border-radius: 4px; background: linear-gradient(180deg, #261e18, #17110e); cursor: pointer; }
.jt-smash .search-toggle-btn::before { position: absolute; top: 8px; left: 8px; width: 11px; height: 11px; border: 2px solid #d1b991; border-radius: 50%; content: ''; }
.jt-smash .search-toggle-btn::after { position: absolute; top: 20px; left: 20px; width: 7px; height: 2px; transform: rotate(45deg); background: #d1b991; content: ''; }
.jt-smash .search-box { display: none; gap: 6px; }
.jt-smash .search-box.show { display: flex; }
.jt-smash .search-box input { width: min(220px, 42vw); min-height: 34px; border: 1px solid #5a4028; border-radius: 3px; padding: 0 8px; background: #0f0a08; color: #f3e6c0; font: inherit; }
.jt-smash .search-submit-btn { min-height: 34px; border: 1px solid #5a4028; border-radius: 3px; padding: 0 10px; background: linear-gradient(180deg, #382518, #1f130c); color: #d1b991; cursor: pointer; }
.jt-smash .tab-group, .jt-smash .tab-container { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.jt-smash .tab-btn { position: relative; flex: none; min-height: 38px; border: 1px solid #3b2a1a; border-radius: 10px 10px 0 0; padding: 0 16px; background: linear-gradient(180deg, #1f140e, #110a07); color: #a38d6d; cursor: pointer; font-family: 'Cinzel', 'Noto Serif SC', serif; font-size: 13px; line-height: 1.2; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.jt-smash .tab-btn.active { border-color: #7a5a30; border-bottom-color: transparent; background: linear-gradient(180deg, #4a3018, #26170a); color: #ffcc00; font-weight: 700; text-shadow: 1px 1px 2px #000; }
.jt-smash .tab-btn.disabled { opacity: .45; cursor: not-allowed; }
.jt-smash .season-ribbon { position: absolute; top: 0; right: 0; border: 1px solid #ffcc00; border-top: 0; border-radius: 0 0 0 4px; padding: 2px 5px; background: linear-gradient(135deg, #8a0000, #4a0000); color: #ffd100; font-size: 9px; line-height: 1; }
.jt-smash .tab-btn .season-ribbon { top: -1px; }
.jt-smash .rank-content { min-height: 70px; }
.jt-smash .rank-table-wrap { width: 100%; overflow-x: auto; margin: 0 auto; border: 1px solid #3b2e22; border-radius: 4px; box-shadow: 0 4px 10px rgba(0, 0, 0, .8); }
.jt-smash .rank-table { width: 100%; min-width: 690px; border-collapse: collapse; table-layout: fixed; background: #0f0a08; color: #e5cc80; font-size: 12px; text-align: center; }
.jt-smash .rank-table th, .jt-smash .rank-table td { overflow: hidden; border: 1px solid #2a1f16; padding: 9px 4px; text-overflow: ellipsis; white-space: nowrap; }
.jt-smash .rank-table th { border-bottom: 2px solid #5a4025; background: linear-gradient(180deg, #2d1d13, #170d08); color: #ffcc00; font-size: 12px; text-shadow: 1px 1px 2px #000; }
.jt-smash .rank-table tbody tr:nth-child(even) td { background: rgba(25, 18, 14, .6); }
.jt-smash .rank-table tbody tr:nth-child(odd) td { background: rgba(15, 10, 8, .6); }
.jt-smash .rank-table tbody tr:hover td { background: rgba(60, 45, 30, .8); color: #fff; }
.jt-smash .rank-table th:nth-child(1), .jt-smash .rank-table td:nth-child(1) { width: 52px; color: #ffb300; font-family: 'Cinzel', monospace; font-weight: 700; }
.jt-smash .rank-table th:nth-child(2), .jt-smash .rank-table td:nth-child(2) { width: 150px; text-align: left; }
.jt-smash .rank-table th:nth-child(3), .jt-smash .rank-table td:nth-child(3) { width: 120px; }
.jt-smash .rank-table th:nth-child(4), .jt-smash .rank-table td:nth-child(4) { width: 130px; font-family: 'Cinzel', monospace; font-weight: 700; }
.jt-smash .rank-table td:nth-child(4) { color: #00ff00; text-shadow: 1px 1px 1px #000; }
.jt-smash .rank-table th:nth-child(5), .jt-smash .rank-table td:nth-child(5) { width: 160px; }
.jt-smash .rank-table td:nth-child(5) { color: #aaa; }
.jt-smash .rank-table th:nth-child(6), .jt-smash .rank-table td:nth-child(6) { width: 90px; }
.jt-smash .rank-table a { border-bottom: 1px solid transparent; color: #4da6ff; font-weight: 700; text-decoration: none; }
.jt-smash .rank-table a:hover { border-bottom-color: #4da6ff; color: #fff; text-shadow: 0 0 5px #4da6ff; }
.jt-smash [data-analysis-panel="damage"] .analysis-table th:nth-child(1), .jt-smash [data-analysis-panel="damage"] .analysis-table th:nth-child(2), .jt-smash [data-analysis-panel="skill"] .analysis-table th:nth-child(1), .jt-smash [data-analysis-panel="buff"] .analysis-table th:nth-child(1) { text-align: center; }
.jt-smash [data-analysis-panel="damage"] .analysis-table th:nth-child(1), .jt-smash [data-analysis-panel="damage"] .analysis-table td:nth-child(1) { width: 44%; }
.jt-smash [data-analysis-panel="damage"] .analysis-table th:nth-child(2), .jt-smash [data-analysis-panel="damage"] .analysis-table td:nth-child(2) { width: 12%; }
.jt-smash [data-analysis-panel="damage"] .analysis-table th:nth-child(3), .jt-smash [data-analysis-panel="damage"] .analysis-table td:nth-child(3) { width: 23%; }
.jt-smash [data-analysis-panel="damage"] .analysis-table th:nth-child(4), .jt-smash [data-analysis-panel="damage"] .analysis-table td:nth-child(4) { width: 21%; }
.jt-smash [data-analysis-panel="damage"] .analysis-table td:nth-child(1), .jt-smash [data-analysis-panel="skill"] .analysis-table th:nth-child(2), .jt-smash [data-analysis-panel="skill"] .analysis-table td:nth-child(2), .jt-smash [data-analysis-panel="gear"] .analysis-table th:nth-child(2), .jt-smash [data-analysis-panel="gear"] .analysis-table td:nth-child(2), .jt-smash [data-analysis-panel="buff"] .analysis-table th:nth-child(2), .jt-smash [data-analysis-panel="buff"] .analysis-table td:nth-child(2) { padding-left: 4px; text-align: left; }
.jt-smash [data-analysis-panel="damage"] .analysis-table td:nth-child(2), .jt-smash [data-analysis-panel="skill"] .analysis-table td:nth-child(1), .jt-smash [data-analysis-panel="buff"] .analysis-table td:nth-child(1) { padding-right: 4px; text-align: right; }
.jt-smash [data-analysis-panel="damage"] .analysis-table td:nth-child(1), .jt-smash [data-analysis-panel="gear"] .analysis-table td:nth-child(1) { color: #e5cc80; }
.jt-smash [data-analysis-panel="skill"] .analysis-table th:first-child, .jt-smash [data-analysis-panel="skill"] .analysis-table td:first-child { width: 64px; }
.jt-smash [data-analysis-panel="skill"] .analysis-table td:first-child { color: #ffb300; font-family: 'Roboto Mono', monospace; font-size: 13px; font-weight: 700; text-shadow: 1px 1px 1px #000; }
.jt-smash [data-analysis-panel="buff"] .analysis-table td:first-child { font-family: 'Roboto Mono', monospace; font-size: 13px; font-weight: 700; text-shadow: 1px 1px 1px #000; }
.jt-smash [data-analysis-panel="skill"] .analysis-table td.negative-time { color: #a38d6d !important; text-shadow: none !important; }
.jt-smash .empty-tip, .jt-smash .error-tip { margin-top: 10px; border-radius: 4px; padding: 32px 18px; background: rgba(0, 0, 0, .3); font-size: 13px; line-height: 1.5; text-align: center; }
.jt-smash .empty-tip { color: #a38d6d; }
.jt-smash .error-tip { color: #ff5d4f; }
.jt-smash .pagination-group { position: relative; display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 14px auto 0; padding: 4px 0; }
.jt-smash .pagination-left, .jt-smash .pagination-right { display: flex; align-items: center; gap: 6px; min-width: 0; }
.jt-smash .pagination-right > span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #a38d6d; font-size: 12px; white-space: nowrap; }
.jt-smash .pagination-diamond { display: none; }
.jt-smash .page-btn { flex: none; min-width: 65px; max-width: 85px; min-height: 36px; border: 1px solid #5a4025; border-radius: 5px; padding: 0 9px; background: linear-gradient(180deg, #382518, #1f130c); color: #d1b991; cursor: pointer; font-size: 12px; box-shadow: 0 2px 4px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .05); }
.jt-smash .page-btn:hover:not(:disabled) { border-color: #8b6b3d; background: linear-gradient(180deg, #4d3322, #2b1a11); color: #ffcc00; }
.jt-smash .page-btn:disabled { border-color: #222; background: #111; color: #555; cursor: not-allowed; }
.jt-smash .hall-banner { position: relative; overflow: hidden; width: 94%; margin: 12px auto 0; border: 2px solid; border-image: linear-gradient(180deg, #6b8cae 0%, #3d5b7a 50%, #6b8cae 100%) 1; border-radius: 8px; padding: 20px; background: linear-gradient(180deg, rgba(20, 35, 50, .95), rgba(10, 20, 30, .98)); box-shadow: inset 0 0 30px rgba(77, 166, 255, .15), inset 0 0 60px rgba(255, 215, 0, .05), 0 8px 32px rgba(0, 0, 0, .9), 0 0 0 1px rgba(77, 166, 255, .3); text-align: center; box-sizing: border-box; }
.jt-smash .hall-banner::before { position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(ellipse at 30% 20%, rgba(77, 166, 255, .2), transparent 40%), radial-gradient(ellipse at 70% 80%, rgba(255, 215, 0, .1), transparent 40%), radial-gradient(ellipse at 50% 50%, rgba(77, 166, 255, .1), transparent 60%); content: ""; pointer-events: none; animation: hall-banner-glow 8s ease-in-out 3 alternate forwards; }
@keyframes hall-banner-glow { 0% { opacity: .6; transform: scale(1); } 100% { opacity: 1; transform: scale(1.05); } }
.jt-smash .hall-banner::after { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 215, 0, .6), transparent); content: ""; }
.jt-smash .hall-decoration { position: relative; z-index: 1; }
.jt-smash .hall-decoration::before, .jt-smash .hall-decoration::after { display: inline-block; margin: 0 15px; color: #ffd700; content: "✦"; font-size: 16px; text-shadow: 0 0 10px rgba(255, 215, 0, .8); animation: hall-star-pulse 2s ease-in-out 10 forwards; }
.jt-smash .hall-decoration::after { animation-delay: 1s; }
@keyframes hall-star-pulse { 0%, 100% { opacity: .6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.2); } }
.jt-smash .hall-title { position: relative; z-index: 1; display: inline-block; background: linear-gradient(135deg, #fff 0%, #b3e0ff 15%, #80c8ff 30%, #e6f0ff 45%, #fcf 60%, #ffc 75%, #fff 100%); background-clip: text; color: transparent; -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-family: 'Cinzel', 'Noto Serif SC', serif; font-size: 42px; font-weight: 700; letter-spacing: 12px; filter: drop-shadow(0 0 25px rgba(179, 224, 255, .8)) drop-shadow(0 0 15px rgba(255, 204, 255, .6)) drop-shadow(0 2px 4px rgba(0, 0, 0, .8)); text-shadow: none; animation: hall-title-shine 3s ease-in-out 8 forwards; }
@keyframes hall-title-shine { 0%, 100% { filter: drop-shadow(0 0 25px rgba(179, 224, 255, .8)) drop-shadow(0 0 15px rgba(255, 204, 255, .6)) drop-shadow(0 2px 4px rgba(0, 0, 0, .8)); } 50% { filter: drop-shadow(0 0 35px #fff) drop-shadow(0 0 25px rgba(179, 224, 255, .9)) drop-shadow(0 0 15px rgba(255, 204, 255, .8)) drop-shadow(0 2px 4px rgba(0, 0, 0, .8)); } }
.jt-smash .hall-title-line { position: relative; z-index: 1; width: 60%; height: 2px; margin: 15px auto 0; background: linear-gradient(90deg, transparent, #b3e0ff 15%, #e6f0ff 35%, #fcf 50%, #e6f0ff 65%, #b3e0ff 85%, transparent); box-shadow: 0 0 15px rgba(179, 224, 255, .7), 0 0 8px rgba(255, 204, 255, .5); }
.jt-smash .hall-title-line::before, .jt-smash .hall-title-line::after { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; content: "◆"; font-size: 10px; text-shadow: 0 0 10px #fff, 0 0 15px rgba(179, 224, 255, .8); }
.jt-smash .hall-title-line::before { left: -5px; }
.jt-smash .hall-title-line::after { right: -5px; }
.jt-smash .hall-subtitle { position: relative; z-index: 1; margin-top: 15px; color: #a8c8e0; font-size: 15px; letter-spacing: 3px; text-shadow: 0 0 10px rgba(77, 166, 255, .3); }
.jt-smash .hall-subtitle::before { content: "— "; }
.jt-smash .hall-subtitle::after { content: " —"; }
.jt-smash .hall-season-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 94%; margin: 12px auto 8px; border: 1px solid #3b3024; border-radius: 6px; padding: 12px 16px; background: rgba(18, 14, 12, .95); box-shadow: inset 0 0 20px #000, 0 5px 15px rgba(0, 0, 0, .8); box-sizing: border-box; }
.jt-smash .season-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 0; border: 1px solid #33261a; border-radius: 4px; padding: 12px 24px; background: linear-gradient(180deg, #261e18, #17110e); color: #b0a080; cursor: pointer; font-family: 'Cinzel', 'Noto Serif SC', serif; font-size: 14px; font-weight: 600; line-height: 1.2; box-shadow: 0 2px 4px rgba(0, 0, 0, .6); transition: all .2s; }
.jt-smash .season-btn:hover, .jt-smash .season-btn.active { border-color: #3d5b7a; background: linear-gradient(180deg, #1a2a3a, #0d151d); color: #4da6ff; box-shadow: 0 0 8px rgba(77, 166, 255, .3), inset 0 0 5px rgba(77, 166, 255, .1); text-shadow: 1px 1px 2px #000; }
.jt-smash .season-btn-s1 { border-color: #ffd700; background: linear-gradient(180deg, #8b0000, #6b0000); color: #ffd700; }
.jt-smash .season-btn-s1:hover:not(.active), .jt-smash .season-btn-s1.active { border-color: #ffcc00; background: linear-gradient(180deg, #ff4500, #cc3700); box-shadow: 0 0 8px rgba(255, 69, 0, .45), inset 0 0 5px rgba(255, 204, 0, .2); text-shadow: 1px 1px 2px #000; }
.jt-smash .season-btn-s1:hover:not(.active) { color: #ffff00; }
.jt-smash .season-btn-s1.active { color: #ffd700; }
.jt-smash .hall-board-title { flex: 1; min-width: 0; margin: 0; }
.jt-smash .hall-title-row { position: relative; justify-content: center; }
.jt-smash .hall-title-row:not(.search-open) .hall-board-title { box-sizing: border-box; width: 100%; padding: 0 42px; text-align: center; }
.jt-smash .hall-title-row:not(.search-open) .search-wrapper { position: absolute; top: 0; right: 0; }
.jt-smash .hall-title-row.search-open .hall-board-title { text-align: center; }
.jt-smash .hall-board-season { display: block; overflow-wrap: anywhere; background: linear-gradient(135deg, #fff 0%, #b3e0ff 15%, #80c8ff 30%, #e6f0ff 45%, #fcf 60%, #ffc 75%, #fff 100%); background-clip: text; color: transparent; -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-family: 'Cinzel', 'Noto Serif SC', serif; font-size: 21px; font-weight: 700; line-height: 1.2; filter: drop-shadow(0 0 12px rgba(179, 224, 255, .65)) drop-shadow(0 0 8px rgba(255, 204, 255, .4)) drop-shadow(0 2px 3px rgba(0, 0, 0, .8)); animation: hall-title-shine 3s ease-in-out 3 forwards; }
.jt-smash .hall-board-class { display: block; margin-top: 7px; color: #ffcc00; font-size: 15px; font-weight: 700; line-height: 1.3; text-shadow: 1px 1px 2px #000; }
.jt-smash .hall-return, .jt-smash .back-btn, .jt-smash .smash-personal-link { color: #4da6ff; font-size: 12px; text-decoration: none; }
.jt-smash .hall-return { display: block; width: 94%; margin: 8px auto; }
.jt-smash .back-btn { display: inline-block; margin: 0 0 12px 3%; }
.jt-smash .join-guide-card { width: 94%; margin: 0 auto 12px; border: 1px solid #5a4028; border-radius: 5px; padding: 16px; background: linear-gradient(180deg, #24170e, #100b08); box-shadow: inset 0 0 18px #000; }
.jt-smash .join-guide-card h1 { margin: 0 0 8px; color: #ffcc00; font-size: 18px; }
.jt-smash .join-guide-card p, .jt-smash .smash-submit-note { margin: 0; color: #a38d6d; font-size: 12px; line-height: 1.6; }
.jt-smash #dummy-smash-submit { display: grid; gap: 10px; }
.jt-smash #dummy-smash-submit label { color: #d1b991; font-size: 12px; }
.jt-smash #dummy-smash-submit textarea { width: 100%; min-height: 170px; border: 1px solid #5a4028; border-radius: 3px; padding: 10px; background: #0f0a08; color: #f3e6c0; font: 12px/1.55 'Roboto Mono', Consolas, monospace; }
.jt-smash .smash-personal-link { justify-self: end; }
.jt-smash .smash-analysis-page .smash-container > h1 { margin-bottom: 12px; }
.jt-smash .smash-analysis-page .smash-container > h2 { margin: 5px 0 10px; color: #d1b991; font-size: 14px; }
.jt-smash .analysis-score-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-bottom: 14px; color: #a38d6d; font-size: 12px; }
.jt-smash .analysis-score-line strong { color: #00ff00; font: 700 18px 'Cinzel', monospace; }
.jt-smash .analysis-table tr.skill-zero-time td { border-top: 2px solid #ffcc00; box-shadow: inset 0 1px 3px rgba(255, 204, 0, .5); }
.jt-smash .tab-panel { padding-top: 10px; }
.jt-smash .tab-panel.hidden { display: none; }
.jt-smash .analysis-raw { overflow: auto; max-height: 420px; border: 1px solid #3b2e22; padding: 10px; background: #0f0a08; color: #d1b991; font: 11px/1.5 'Roboto Mono', Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .jt-smash [data-analysis-panel="skill"] .analysis-table th:first-child, .jt-smash [data-analysis-panel="skill"] .analysis-table td:first-child { width: 56px; }
  .jt-smash [data-analysis-panel="skill"] .analysis-table td:first-child { font-size: 11px; }
  .jt-smash [data-analysis-panel="buff"] .analysis-table td:first-child { font-size: 11px; }
  .jt-smash-view .main-content { width: calc(100% - 12px); padding-top: 12px; }
  .smash-action-row, .jt-smash .class-menu, .jt-smash .smash-container { width: 96%; }
  .jt-smash .class-menu { gap: 6px; padding: 10px; }
  .jt-smash .class-trigger { min-width: 58px; min-height: 36px; padding: 0 8px; font-size: 12px; }
  .jt-smash .smash-container { padding: 11px 8px; }
  .jt-smash .title-row h1 { font-size: 15px; }
  .jt-smash .hall-board-season { font-size: 17px; }
  .jt-smash .hall-board-class { margin-top: 5px; font-size: 13px; }
  .jt-smash .rank-table { width: 100%; min-width: 422px; font-size: 10px; }
  .jt-smash .rank-table th, .jt-smash .rank-table td { padding: 8px 1px; font-size: 10px; }
  .jt-smash .rank-table th:nth-child(1), .jt-smash .rank-table td:nth-child(1) { width: 32px; }
  .jt-smash .rank-table th:nth-child(2), .jt-smash .rank-table td:nth-child(2) { width: 70px; }
  .jt-smash .rank-table th:nth-child(3), .jt-smash .rank-table td:nth-child(3) { width: 60px; }
  .jt-smash .rank-table th:nth-child(4), .jt-smash .rank-table td:nth-child(4) { width: 65px; }
  .jt-smash .rank-table th:nth-child(5), .jt-smash .rank-table td:nth-child(5) { width: 150px; white-space: nowrap; }
  .jt-smash .rank-table th:nth-child(6), .jt-smash .rank-table td:nth-child(6) { width: 45px; }
  .jt-smash .pagination-group { justify-content: space-between; }
  .jt-smash .page-btn { min-width: 54px; padding: 0 6px; font-size: 11px; }
}
@media (max-width: 375px) {
  .jt-smash .hall-title { font-size: 28px; letter-spacing: 6px; }
  .jt-smash .hall-decoration::before, .jt-smash .hall-decoration::after { margin: 0 8px; font-size: 12px; }
  .jt-smash .hall-title-line { width: 80%; }
  .jt-smash .hall-subtitle { font-size: 13px; letter-spacing: 2px; }
}
@media (max-width: 760px) {
  .header-inner { width: calc(100% - 32px); min-height: 62px; gap: 20px; }
  .brand-mark { width: 38px; }
  .desktop-nav { gap: 18px; }
  .header-account { padding: 7px 9px; font-size: 11px; }
  .main-content { width: calc(100% - 32px); padding: 29px 0 24px; }
  .site-footer { padding: 12px 14px calc(76px + env(safe-area-inset-bottom)); font-size: 11px; }
  .site-footer-author { font-size: 18px; }
  .site-footer-records { column-gap: 8px; }
  .site-footer-records a { font-size: 10px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { grid-template-columns: 100px minmax(0, 1fr) 18px; gap: 12px; min-height: 124px; }
  .category-art { min-height: 122px; }
  .category-copy { padding: 10px 0; }
  .category-copy h2 { margin-top: 5px; font-size: 15px; }
  .category-copy p { margin-bottom: 6px; font-size: 11px; }
  .category-copy small { font-size: 10px; }
  .work-hero { min-height: 225px; }
  .hero-copy { padding: 19px; }
  .hero-copy h1 { font-size: 23px; }
  .description-panel { padding: 16px; }
  .contact-panel { grid-template-columns: 1fr; gap: 18px; padding: 17px; }
  .form-row { flex-direction: column; }
  .form-row .button { width: 100%; }
  .authorized-callout { align-items: flex-start; flex-direction: column; }
  .button-large { min-width: min(280px, calc(100vw - 56px)); }
  .mobile-tabs { position: fixed; right: 0; bottom: 0; left: 0; z-index: 6; height: 62px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #3b4540; background: #171d1b; padding-bottom: env(safe-area-inset-bottom); }
  .mobile-tabs a { display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--muted); font-size: 12px; }
  .mobile-tabs a.active { color: var(--gold-bright); }
  .tab-icon { font-size: 17px; }
  .toast { right: 16px; bottom: 76px; left: 16px; margin: 0 auto; text-align: center; }
  .modal-shade { align-items: end; padding: 0; }
  .modal { width: 100%; max-height: 83vh; border-right: 0; border-bottom: 0; border-left: 0; padding: 22px 18px calc(20px + env(safe-area-inset-bottom)); }
}
@media (max-width: 420px) {
  .header-inner { gap: 13px; }
  .brand-copy small { font-size: 8px; }
  .brand-copy strong { font-size: 14px; }
  .desktop-nav { gap: 12px; }
  .header-account { max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .main-content { width: calc(100% - 24px); }
  .page-intro h1 { font-size: 22px; }
  .work-card { grid-template-columns: 68px minmax(0, 1fr) 16px; gap: 10px; }
  .work-art { min-height: 92px; }
  .work-copy h2 { font-size: 13px; }
  .work-copy p { font-size: 11px; }
  .work-copy small { font-size: 10px; }
  .smash-controls { grid-template-columns: 1fr; }
  .smash-table-head, .smash-table-row { grid-template-columns: 42px minmax(0, 1fr) minmax(72px, 100px); gap: 8px; }
  .smash-submit-heading, .smash-submit-actions { align-items: stretch; flex-direction: column; }
  .smash-submit-actions .button { width: 100%; }
}
