:root{color-scheme:dark;--bg:#080b09;--panel:#101612;--raised:#18201a;--green:#b3ff49;--ink:#f1f6ee;--muted:#a3b29e;--line:#34412f;--loss:#ffb3a3;--draw:#a6cfeb;--font:Inter,"Segoe UI","Microsoft YaHei",system-ui,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:radial-gradient(ellipse at 82% 0,#22411c33,transparent 35%),linear-gradient(#b3ff4903 1px,transparent 1px),linear-gradient(90deg,#b3ff4903 1px,transparent 1px),var(--bg);background-size:auto,48px 48px,48px 48px,auto;color:var(--ink);font:16px/1.6 var(--font);min-width:280px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.4;cursor:default}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--green);outline-offset:4px}[hidden]{display:none!important}.sr-only,.skip-link:not(:focus){position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link:focus{position:fixed;left:12px;top:12px;padding:12px;background:var(--green);color:#0d1a08;z-index:200}.app-header{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:20px;min-height:82px;padding:14px max(24px,calc((100vw - 1320px)/2));background:#080d09ed;border-top:3px solid var(--green);border-bottom:1px solid var(--line);backdrop-filter:blur(16px)}.brand{display:flex;align-items:center;gap:12px;font-size:23px;font-weight:850;letter-spacing:.035em;line-height:1.1;margin-right:auto}.brand small{display:block;color:var(--muted);font:10px/1.8 ui-monospace,Consolas,monospace;letter-spacing:.16em}.brand-orbit{position:relative;display:block;flex:0 0 32px;width:32px;height:32px;border:1px solid #80ac59;border-radius:50%;background:radial-gradient(circle,var(--green) 0 6px,transparent 7px)}.brand-orbit:after{content:"";position:absolute;left:-4px;right:-4px;top:14px;border-top:1px solid #b3ff4966}.private-badge{padding:5px 10px;border:1px solid #73944a;border-radius:4px;color:#c6e8a8;font-size:12px;font-weight:650;white-space:nowrap}.home-link{font-size:14px;color:var(--muted);min-height:44px;display:flex;align-items:center}main{width:100%;max-width:1320px;margin:auto;padding:38px 24px 0}.page-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.eyebrow{margin:0 0 9px;color:#c5eb9c;font:650 12px/1.5 ui-monospace,Consolas,monospace;letter-spacing:.12em}.page-intro h1{margin:0;font:850 clamp(36px,5vw,58px)/1.16 var(--font);letter-spacing:-.045em}.title-mark{color:var(--green);margin-left:15px;font-weight:500}.intro-copy{margin:13px 0 0;color:var(--muted);font-size:16px}.intro-actions{display:flex;align-items:flex-end;flex-direction:column;gap:8px}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 16px;border:1px solid var(--line);border-radius:6px;background:var(--raised);color:var(--ink);font-size:14px;font-weight:650;line-height:1.5;white-space:normal}.button.primary{background:var(--green);color:#112007;border-color:var(--green);font-weight:800}.button.primary:hover{background:#ceff87}.button.secondary{border-color:#6f8d4f;background:#24331c}.button.quiet{background:#131b15;color:#d4dfcf}.button.quiet:hover{border-color:#6b8655;background:#1c291d}.button.danger{border-color:#804c40;background:#2c1915;color:#ffbdaf}.sync-state{font-size:12px;color:var(--muted)}#signInLink{font-size:14px;color:var(--green);text-decoration:underline;min-height:44px;display:flex;align-items:center}.privacy-note{display:flex;align-items:baseline;gap:9px;color:var(--muted);margin:23px 0 0;font-size:13px}.privacy-note>span{color:var(--green)}.notice{border:1px solid #8c7b43;border-left:3px solid #e4c26d;padding:13px 16px;border-radius:6px;background:#272317;color:#e9d89d;margin:16px 0 0;font-size:14px;overflow-wrap:anywhere}.season-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:25px;border:1px solid var(--line);border-radius:9px;background:linear-gradient(110deg,#192216,#101710);overflow:hidden}.season-summary>div{position:relative;min-width:0;min-height:121px;padding:20px 24px;border-right:1px solid var(--line);display:flex;flex-direction:column;justify-content:center}.season-summary>div:last-child{border:0}.season-summary span{font-size:13px;color:#bbcab0}.season-summary strong{font:800 34px/1.3 ui-monospace,Consolas,monospace;letter-spacing:-.07em;color:#edf7e4}.season-summary>div:nth-child(3) strong{color:var(--green)}.season-summary small{font-size:11px;color:var(--muted)}.season-summary i{font-size:20px;font-style:normal;color:#688454}.filter-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:28px 0 18px}.game-filters{display:flex;gap:5px;flex-wrap:wrap}.game-filters button{min-height:44px;padding:9px 11px;border:1px solid transparent;border-radius:5px;background:transparent;color:#a8b99e;font-size:13px;font-weight:700}.game-filters button:hover{background:#1a2418}.game-filters button[aria-pressed=true]{color:#d9ffad;background:#26361c;border-color:#547b32}.search-field{position:relative;flex:0 1 260px;min-width:180px}.search-field svg{position:absolute;left:11px;top:13px;width:18px;height:18px;fill:none;stroke:#9daf91;stroke-width:1.6}.search-field input{width:100%;min-height:44px;border:1px solid var(--line);border-radius:6px;background:#101611;color:var(--ink);padding:9px 10px 9px 38px;font-size:14px}.search-field input::placeholder{color:#99aa8d}.workspace{display:grid;grid-template-columns:300px minmax(0,1fr);gap:22px;align-items:start;min-width:0}.record-library{border:1px solid var(--line);border-radius:9px;background:#0e1510;min-width:0;overflow:hidden}.library-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 17px 13px;border-bottom:1px solid var(--line)}.library-heading h2{font-size:16px;margin:0}.library-heading>span{font-size:12px;color:var(--muted)}.record-list{display:grid;gap:8px;padding:10px;max-height:580px;overflow:auto;scrollbar-color:#526d3c #0d1510}.record-card{position:relative;display:block;width:100%;min-width:0;text-align:left;padding:15px;border:1px solid #2a3828;border-radius:6px;color:var(--ink);background:#151e16}.record-card[aria-current=true]{border-color:#9edb56;background:linear-gradient(110deg,#28351d,#172317)}.record-card>strong{display:block;font-size:15px;line-height:1.5;overflow-wrap:anywhere;margin:7px 0}.record-card-meta,.record-card-footer{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap;font-size:12px;color:#b4c7a8}.record-card-meta b{font-size:11px;letter-spacing:.05em;color:var(--green)}.record-card-deck{display:block;color:#a8b89f;font-size:13px;overflow-wrap:anywhere;margin:0 0 10px}.record-card-score{font:750 13px/1.5 ui-monospace,Consolas,monospace;color:#e7f3df}.record-card-placement{color:#dcf3bf;font-weight:700}.list-empty{padding:25px 16px;text-align:center;color:var(--muted);font-size:14px}.backup-tools{display:flex;gap:8px;padding:13px 12px 0;border-top:1px solid var(--line)}.backup-tools .button{flex:1;padding-inline:8px;font-size:12px}.backup-note{color:#8fa484;font-size:12px;line-height:1.8;padding:0 15px 15px;margin:12px 0 0}.draft-recovery{min-height:44px;margin:10px 14px 0;border:0;background:transparent;color:#c5e8a8;text-decoration:underline;font-size:13px;text-align:left}.detail-workspace{min-width:0}.detail-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:13px;flex-wrap:wrap}.view-switch{display:flex;gap:3px;padding:3px;border:1px solid var(--line);border-radius:7px;background:#0d140e}.view-switch button{min-height:44px;padding:10px 14px;border:0;border-radius:4px;background:transparent;color:var(--muted);font-size:14px;font-weight:650}.view-switch button[aria-pressed=true]{background:#26351c;color:#dfffba}.report-actions{display:flex;gap:7px}.report-actions .button{font-size:13px;padding-inline:12px}.empty-workspace{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;min-height:520px;padding:38px 24px;border:1px solid var(--line);border-radius:9px;background:radial-gradient(ellipse at top,#26431940,transparent 60%),#101711}.empty-symbol{display:flex;gap:5px;transform:skewY(-6deg);margin-bottom:27px}.empty-symbol span{display:grid;place-items:center;width:54px;height:72px;border:1px solid #526e3e;background:linear-gradient(130deg,#2b3d20,#121c13);font:800 27px/1 ui-monospace,Consolas,monospace;color:#b1cd95}.empty-symbol span:first-child{color:var(--green);border-color:#8cb94f;transform:translateY(-6px)}.empty-workspace .eyebrow{font-size:10px;color:#8faa79}.empty-workspace h2{margin:0 0 12px;font-size:24px;line-height:1.4}.empty-workspace>p:not(.eyebrow){font-size:14px;color:var(--muted);margin:0 0 24px;line-height:1.9}.battle-report{isolation:isolate;position:relative;overflow:hidden;padding:32px;border:1px solid #5c7e42;border-radius:9px;background:linear-gradient(#b3ff4904 1px,transparent 1px),linear-gradient(90deg,#b3ff4904 1px,transparent 1px),#0b130d;background-size:32px 32px,32px 32px,auto}.battle-report:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:var(--green);z-index:-1}.report-topline{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font:700 12px/1.5 ui-monospace,Consolas,monospace;letter-spacing:.1em;color:var(--green);padding-bottom:15px;border-bottom:1px solid #54733a}.report-draft{color:#f2d99a;font-size:12px;letter-spacing:0}.report-event{display:grid;grid-template-columns:minmax(0,1fr) 96px;gap:22px;margin:25px 0 21px;align-items:start}.report-event.no-cover{grid-template-columns:1fr}.report-event h2{font-size:30px;line-height:1.35;letter-spacing:-.03em;margin:0 0 12px;overflow-wrap:anywhere}.report-event-meta{display:flex;gap:9px 18px;flex-wrap:wrap;color:#b8cbaa;font-size:14px}.report-cover{width:96px;height:134px;object-fit:contain;filter:drop-shadow(0 9px 8px #0008);align-self:start;border-radius:5px}.report-deck{margin-top:20px;padding:12px 15px;border:1px solid #3a5130;background:#1a2817}.report-deck small{display:block;color:#a7be95;font-size:12px;margin-bottom:4px}.report-deck strong{font-size:18px;overflow-wrap:anywhere}.report-scoreline{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;padding:17px 0 23px}.report-score{display:flex;align-items:baseline;gap:8px}.report-score b{font:850 38px/1 ui-monospace,Consolas,monospace;letter-spacing:-.06em;color:var(--green)}.report-score span{font-size:13px;color:#a7bb98;margin-right:6px}.report-score .loss{color:#e5eee0}.report-score .draw{color:#a6cfeb}.report-placement{text-align:right;max-width:170px;overflow-wrap:anywhere}.report-placement small{display:block;font-size:12px;color:#a4ba96}.report-placement b{font-size:20px;color:#e6fdbf}.report-rounds{list-style:none;margin:0;padding:0;border-top:1px solid #4a6538}.report-round{display:grid;grid-template-columns:65px 35px minmax(0,1fr) 43px;align-items:center;gap:10px;min-height:65px;padding:13px 10px;border-bottom:1px solid #314b2a;background:#1523115c}.report-round:nth-child(2n){background:#1e2c1670}.report-round-label{font:750 14px/1.4 ui-monospace,Consolas,monospace;color:#e1f6cd}.result-chip{display:grid;place-items:center;width:32px;height:32px;border:1px solid #85b84c;border-radius:3px;background:#b3ff4920;color:#c9ff85;font:850 18px/1 ui-monospace,Consolas,monospace}.result-chip.loss{border-color:#82695d;background:#9981711a;color:#e9d7cd}.result-chip.draw{border-color:#668ba1;background:#7295ac18;color:#bfdff2}.result-chip.pending{border-color:#4b5d43;background:#43523b20;color:#a5b59b}.report-opponent{font-weight:650;font-size:16px;line-height:1.5;overflow-wrap:anywhere}.report-order{font-size:12px;color:#adbf9e;text-align:right;white-space:nowrap}.report-round-note{display:block;color:#a9bda0;font-size:12px;font-weight:400;margin-top:2px}.report-empty-rounds{padding:24px 0;color:var(--muted);font-size:14px}.report-notes{margin-top:24px;border-left:2px solid #80ad4c;padding:0 0 0 13px}.report-notes h3{font-size:13px;color:#a9c391;margin:0 0 6px}.report-notes p{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;color:#d0dfc5}.report-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:26px;padding-top:16px;border-top:1px solid #3d5730;color:#9db38b;font:10px/1.6 ui-monospace,Consolas,monospace;letter-spacing:.07em}.record-editor{padding:25px;border:1px solid var(--line);border-radius:9px;background:#101812}.editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:25px}.editor-heading h2{margin:0;font-size:23px}.draft-state{font-size:12px;color:#ccda92;padding:4px 8px;border:1px solid #57653b;border-radius:4px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 15px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field.wide,.wide{grid-column:1/-1}.field>span{font-size:14px;font-weight:650;color:#c2d2b6}.field b,.field em{color:#93a881;font:400 12px/1.4 var(--font);margin-left:4px}.field input,.field select,.field textarea,.round-editor input,.round-editor select{display:block;width:100%;min-width:0;min-height:46px;border:1px solid #465b3c;border-radius:5px;background:#0a120c;color:#edf5e7;padding:10px 12px;font-size:16px;line-height:1.5}.field input::placeholder,.field textarea::placeholder,.round-editor input::placeholder{color:#879e7c;opacity:1}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23bbd1a7' stroke-width='2'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 10px center!important;padding-right:35px!important}.cover-upload{display:flex;align-items:center;gap:9px 13px;flex-wrap:wrap}.cover-upload>span{font-size:12px;color:#8fa882;flex:1 1 170px}.file-button{cursor:pointer;font-size:13px}.text-button{border:0;background:transparent;min-height:44px;color:#c9e4b4;text-decoration:underline;font-size:13px}.rounds-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #344b2c;margin-top:29px;padding-top:24px}.rounds-heading h3{font-size:20px;margin:0}.rounds-heading p:not(.eyebrow){color:#9cb28f;font-size:12px;margin:7px 0 0}.rounds-heading .eyebrow{font-size:10px;margin-bottom:5px}.round-editors{display:grid;gap:12px;margin-top:17px}.round-editor{position:relative;display:grid;grid-template-columns:110px minmax(0,1fr) 100px 110px;gap:10px;padding:13px;border:1px solid #394d30;border-radius:6px;background:#162014}.round-editor label{min-width:0;font-size:12px;color:#a9be9b;display:flex;flex-direction:column;gap:5px}.round-editor input,.round-editor select{min-height:44px;padding:9px;font-size:15px}.round-editor .round-note{grid-column:1/-2}.round-delete{grid-column:-2;align-self:end;justify-self:end;min-height:44px;border:0;background:transparent;color:#ddb4a5;font-size:13px;text-decoration:underline}.round-shortcuts{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-top:13px}.round-shortcuts>span{font-size:12px;color:#9db28e;margin-right:5px}.round-shortcuts button{min-height:44px;border:1px solid #374c2d;border-radius:4px;background:#182416;padding:8px 9px;color:#c5d8b7;font-size:12px}.event-notes{margin-top:23px}.live-totals{display:flex;gap:14px;flex-wrap:wrap;padding:16px 0;color:#cce5b8;font-size:14px}.live-totals b{color:var(--green)}.editor-footer{position:sticky;bottom:0;display:flex;gap:8px;justify-content:flex-end;padding:15px 0 0;border-top:1px solid #3f5534;background:#101812ed;backdrop-filter:blur(12px)}.editor-footer .danger{margin-right:auto}.app-footer{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:30px 0 24px;margin-top:35px;border-top:1px solid #253a20;color:#869f79;font-size:11px;letter-spacing:.05em}.toast{position:fixed;bottom:max(20px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 30px);border:1px solid #8fbe57;border-radius:7px;background:#263b1e;color:#eaffda;padding:12px 18px;box-shadow:0 12px 40px #0008;font-size:14px;z-index:80;overflow-wrap:anywhere}.conflict-dialog{max-width:510px;width:calc(100vw - 30px);padding:28px;border:1px solid #8baa58;border-radius:12px;background:#142013;color:var(--ink)}.conflict-dialog::backdrop{background:#000b;backdrop-filter:blur(6px)}.conflict-dialog h2{margin:12px 0}.conflict-dialog p{font-size:15px;line-height:1.8;color:#c4d4b9}.conflict-dialog .eyebrow{font-size:10px;color:var(--green)}.conflict-dialog form>div{display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap;margin-top:23px}.noscript{margin:20px;padding:20px;border:1px solid #a86;color:#ffc}
@media(max-width:1100px){.round-editor{grid-template-columns:1fr 1fr}.round-editor .round-opponent{grid-column:1/-1;grid-row:2}.round-editor .round-note{grid-column:1/-1}.round-delete{grid-column:2}.filter-bar{align-items:stretch;flex-direction:column}.search-field{flex-basis:auto;width:100%}.workspace{grid-template-columns:255px minmax(0,1fr)}.report-event{grid-template-columns:minmax(0,1fr) 70px;gap:12px}.report-cover{width:70px;height:98px}.battle-report{padding:23px}.report-event h2{font-size:26px}.report-score b{font-size:30px}.report-round{grid-template-columns:55px 30px minmax(0,1fr) 36px;gap:7px;padding-inline:5px}.report-opponent{font-size:14px}.report-order{font-size:11px}.record-editor{padding:19px}.report-placement b{font-size:17px}}
@media(max-width:760px){html{scroll-padding-top:83px}.app-header{min-height:69px;padding:12px 15px;gap:10px}.brand{gap:8px;font-size:18px}.brand small{font-size:8px;letter-spacing:.1em}.brand-orbit{width:25px;height:25px;flex-basis:25px}.brand-orbit:after{top:11px}.private-badge{font-size:11px;padding:4px 7px}.home-link{display:none}main{padding:25px 15px 0}.page-intro{align-items:flex-start;gap:15px;flex-wrap:wrap}.page-intro h1{font-size:40px}.intro-copy{font-size:14px;margin-top:10px}.eyebrow{font-size:10px}.intro-actions{flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px 12px;width:100%}.intro-actions .button{font-size:14px}.sync-state{font-size:12px;flex:1;min-width:120px}.privacy-note{font-size:12px;margin-top:18px;line-height:1.8}.season-summary{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:20px}.season-summary>div{min-height:105px;padding:15px 18px}.season-summary>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.season-summary>div:nth-child(2){border-right:0}.season-summary strong{font-size:30px}.season-summary span{font-size:12px}.season-summary small{font-size:10px}.filter-bar{margin:21px 0 16px;gap:10px}.game-filters{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-inline:contain;padding-bottom:5px}.game-filters button{flex:0 0 auto;font-size:12px;padding-inline:11px}.search-field input{font-size:16px}.workspace{grid-template-columns:minmax(0,1fr);gap:21px}.record-library{display:block}.record-list{display:flex;overflow:auto;max-height:none;gap:9px;scroll-snap-type:x proximity;overscroll-behavior-inline:contain}.record-card{flex:0 0 245px;scroll-snap-align:start}.record-list>.list-empty{width:100%;padding:17px 10px}.library-heading{padding:13px 14px 10px}.library-heading h2{font-size:15px}.backup-tools{padding:10px 12px;gap:8px}.backup-tools .button{min-height:44px;font-size:13px}.backup-note{padding:0 14px 12px;margin:0;font-size:11px}.draft-recovery{margin-top:0}.detail-toolbar{gap:10px}.view-switch{flex:1}.view-switch button{flex:1;font-size:13px;padding-inline:11px}.report-actions{width:100%;gap:8px}.report-actions .button{flex:1;font-size:13px}.empty-workspace{min-height:410px;padding:32px 20px}.empty-workspace h2{font-size:22px}.battle-report{padding:24px 19px}.report-topline{font-size:10px;letter-spacing:.07em}.report-event{grid-template-columns:minmax(0,1fr) 64px;gap:13px;margin-top:23px}.report-event h2{font-size:25px;line-height:1.4}.report-event-meta{font-size:12px;gap:6px 12px}.report-cover{width:64px;height:90px}.report-deck{margin-top:15px;padding:11px 12px}.report-deck small{font-size:11px}.report-deck strong{font-size:16px}.report-scoreline{gap:12px;align-items:center;grid-template-columns:minmax(0,1fr) minmax(55px,100px)}.report-score{gap:5px;flex-wrap:wrap}.report-score b{font-size:31px}.report-score span{font-size:11px;margin-right:4px}.report-placement b{font-size:17px}.report-placement small{font-size:11px}.report-round{grid-template-columns:50px 29px minmax(0,1fr) 29px;min-height:65px;gap:8px;padding:12px 3px}.report-round-label{font-size:12px}.result-chip{width:27px;height:30px;font-size:17px}.report-opponent{font-size:14px}.report-order{font-size:11px}.report-round-note{font-size:11px}.report-footer{font-size:9px;letter-spacing:.02em}.record-editor{padding:20px 15px}.form-grid{gap:16px 12px}.field>span{font-size:13px}.field input,.field select,.field textarea,.round-editor input,.round-editor select{font-size:16px}.editor-heading h2{font-size:22px}.editor-heading .eyebrow{font-size:10px}.rounds-heading{align-items:flex-start;gap:10px}.rounds-heading .button{font-size:12px;padding-inline:11px}.rounds-heading p:not(.eyebrow){max-width:185px;font-size:11px;line-height:1.7}.round-editor{padding:12px 10px;gap:11px 9px}.round-editor label{font-size:12px}.round-shortcuts>span{width:100%;margin:0 0 3px}.round-shortcuts button{font-size:12px;flex:1 0 auto}.editor-footer{padding-bottom:max(8px,env(safe-area-inset-bottom));gap:6px;flex-wrap:wrap}.editor-footer .button{font-size:13px;padding-inline:11px;flex:1}.editor-footer .danger{margin-right:0;flex-basis:100%;order:3;background:transparent;border-color:transparent;min-height:44px}.app-footer{margin-top:27px;padding-top:24px;font-size:10px}.cover-upload>span{font-size:11px}.toast{font-size:13px}}
@media(max-width:360px){.brand small{font-size:7px;letter-spacing:.07em}.brand{font-size:17px}.brand-orbit{display:none}.page-intro h1{font-size:36px}.battle-report{padding:21px 14px}.report-event{grid-template-columns:minmax(0,1fr) 54px;gap:10px}.report-cover{width:54px;height:76px}.report-event h2{font-size:22px}.report-round{grid-template-columns:43px 26px minmax(0,1fr) 26px;gap:5px}.report-opponent{font-size:13px}.report-score b{font-size:28px}.report-scoreline{grid-template-columns:1fr auto;gap:8px}.report-placement{max-width:78px}.report-placement b{font-size:15px}.record-editor{padding:17px 12px}.form-grid{grid-template-columns:1fr}.field.wide,.wide{grid-column:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
@page{size:A4;margin:12mm}@media print{html,body{background:#fff!important;color:#111!important;min-width:0}body>*:not(main),main>*:not(.workspace),.record-library,.detail-toolbar,.record-editor,.empty-workspace,.app-footer,.toast{display:none!important}main{padding:0;max-width:none;width:100%}.workspace{display:block}.detail-workspace{display:block}.battle-report{display:block!important;width:100%;padding:24px;border:1px solid #45652d;border-radius:0;background:#fff!important;color:#111!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.battle-report:before{background:#68a900}.report-topline{color:#325a13;border-color:#7f9d68}.report-event h2,.report-opponent,.report-round-label,.report-deck strong{color:#111}.report-event-meta,.report-order,.report-deck small,.report-placement small,.report-notes h3,.report-notes p,.report-footer{color:#394d2a}.report-deck{background:#eff5e8;border-color:#b6c9a3}.report-score b{color:#457516}.report-score .loss{color:#3e4e34}.report-score .draw{color:#365f76}.report-score span{color:#4a5a3d}.report-placement b{color:#325a13}.report-round{break-inside:avoid;background:#f7faF2;border-color:#c2d0b3}.report-round:nth-child(2n){background:#eff5e8}.result-chip{color:#335f0c;background:#dcebc8;border-color:#7da75c}.result-chip.loss{color:#624331;background:#eee4de}.result-chip.draw{color:#245b7c;background:#dfeaf0}.result-chip.pending{color:#5d6757;background:#eef0eb}.report-round-note,.report-empty-rounds{color:#506143}.report-notes{break-inside:avoid}.report-footer{border-color:#a8bd95}.report-draft{color:#8c6014}.report-cover{filter:none}}

.load-more-records{display:flex;margin:6px 12px 10px;width:calc(100% - 24px)}.pagination-note{padding:0 14px 12px;margin:0;color:#9ab38d;font-size:12px;line-height:1.7}.season-summary strong#summaryWLD{display:flex;align-items:baseline;gap:7px}.season-summary #summaryWLD>span{font:inherit;color:inherit}.record-card-meta,.report-event-meta{font-size:14px}.field>span,.game-filters button{font-size:14px}.report-round-label{font-size:14px}.report-order{font-size:12px}@media(max-width:760px){.field>span,.game-filters button,.report-round-label,.report-opponent{font-size:14px}.record-card-meta,.report-event-meta{font-size:14px}.backup-note,.cover-upload>span,.rounds-heading p:not(.eyebrow),.report-round-note{font-size:12px}.report-order{font-size:12px}.pagination-note{font-size:12px}.season-summary span{font-size:13px}.season-summary small{font-size:12px}.report-footer{font-size:10px}}

.rounds-heading>.button{white-space:nowrap;flex-shrink:0}.report-round-label{overflow-wrap:anywhere}

/* Per-deck and per-round representative artwork; shared by screen and print. */
.battle-icons{display:inline-flex;align-items:center;justify-content:flex-start;gap:4px;min-width:0;vertical-align:middle;flex-shrink:0}.battle-icon{position:relative;display:inline-grid;place-items:center;flex:0 0 30px;width:30px;height:42px;overflow:hidden;border:1px solid #425361;border-radius:5px;background:#111b24;isolation:isolate}.battle-icon img{position:relative;display:block;width:100%;height:100%;min-width:0;object-fit:contain;z-index:1}.battle-icon-fallback{position:absolute;inset:0;display:none;place-items:center;color:#b4c5d1;font:750 10px/1.1 ui-monospace,monospace;z-index:0}.battle-icon.is-unavailable .battle-icon-fallback,.battle-icon.empty-icon{display:grid;color:#a7b9c6;font:750 11px/1.1 ui-monospace,monospace}.battle-icon.empty-icon{border-style:dashed;background:#18232d}.report-deck{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px}.report-deck-copy{min-width:0}.my-deck-icons .battle-icon{width:40px;height:56px;flex-basis:40px}.report-matchup{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;min-width:0}.opponent-icons .battle-icon{width:34px;height:46px;flex-basis:34px}.report-opponent{min-width:0}.report-round-label{overflow-wrap:anywhere}.report-order{display:grid;place-items:center;min-height:32px;padding:4px;border:1px solid #445566;border-radius:4px;font-size:12px;text-align:center;line-height:1.3;white-space:nowrap}.report-order.order-first{color:#a8ceff;border-color:#37679d;background:#122a47}.report-order.order-second{color:#ffc08a;border-color:#9c5f29;background:#3a2413}.report-order.order-unknown{color:#a7b7c3;background:#1a2530;border-color:#465462}
.icon-editor{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;min-width:0;padding:12px;border:1px solid #3c5141;border-radius:7px;background:#121d17}.icon-editor-copy{min-width:0}.icon-editor-copy strong,.icon-editor-copy small{display:block;overflow-wrap:anywhere}.icon-editor-copy strong{font-size:14px;color:#dae9d3}.icon-editor-copy small{font-size:12px;color:#a1b49a;line-height:1.5;margin-top:3px}.icon-editor-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-width:0;flex-wrap:wrap}.icon-editor-actions .button{font-size:13px}.editor-icon-preview .battle-icon{width:30px;height:42px;flex-basis:30px}.round-icon-editor{grid-column:1/-1;padding:7px 8px;background:#101b14}.round-icon-editor .icon-editor-copy{display:none}.round-icon-editor.icon-editor{display:flex;justify-content:space-between;gap:9px}.round-icon-editor .icon-editor-actions .button{padding:8px 12px}.round-icon-editor .text-button{font-size:12px;padding-inline:8px}
.icon-picker{width:min(760px,calc(100vw - 24px));max-height:min(850px,92dvh);padding:22px;border:1px solid #688456;border-radius:14px;background:#0e1812;color:#e9f2e5;overflow:auto;overscroll-behavior:contain}.icon-picker::backdrop{background:#020609ce;backdrop-filter:blur(7px)}.icon-picker-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.icon-picker-heading h2{margin:0;font-size:24px;line-height:1.4}.icon-picker-heading .eyebrow{margin-bottom:5px}.icon-picker-heading>button{display:grid;place-items:center;flex:0 0 44px;min-width:44px;min-height:44px;border:1px solid #3f5743;border-radius:7px;background:#152219;color:#d4e6ca;font-size:26px;line-height:1}.icon-picker-note{font-size:13px;line-height:1.7;color:#adbf9f;margin:12px 0}.icon-picker-selected{display:flex;align-items:stretch;flex-wrap:wrap;gap:8px;padding:12px;border:1px solid #354b34;border-radius:8px;background:#142010;min-height:66px}.icon-selection-empty{display:flex;align-items:center;color:#a8be9d;font-size:13px;line-height:1.6}.icon-selected-chip{display:flex;align-items:center;gap:7px;min-width:0;max-width:100%;flex:0 1 calc(50% - 4px);min-height:44px;padding:5px 8px;border:1px solid #688e42;border-radius:6px;background:#26371b;color:#e5f2da;font-size:12px;text-align:left}.icon-selected-chip>span:not(.battle-icons){overflow-wrap:anywhere;min-width:0}.icon-remove-mark{margin-left:auto;font-size:20px;color:#bed1ae}.icon-picker-search{display:flex;align-items:stretch;gap:8px;margin:15px 0 10px}.icon-picker-search>label{flex:1;min-width:0}.icon-picker-search input{display:block;width:100%;min-width:0;min-height:46px;padding:10px 12px;border:1px solid #456043;border-radius:6px;background:#07120b;color:#f2f7ed;font-size:16px;line-height:1.5}.icon-picker-search .button{font-size:13px;flex:0 0 auto}.icon-picker-status{font-size:13px;line-height:1.6;color:#b2c6a5;margin:8px 0 12px}.icon-picker-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.icon-option{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;min-width:0;min-height:120px;padding:9px 6px;border:1px solid #344d36;border-radius:8px;background:#131f16;color:#dcebd5;font-size:13px;text-align:center;line-height:1.5}.icon-option[aria-pressed=true]{border-color:#b3ff49;background:#2c421d;box-shadow:inset 0 0 0 1px #b3ff49}.icon-option>.battle-icons .battle-icon{width:43px;height:60px;flex-basis:43px}.icon-option>span:not(.battle-icons){overflow-wrap:anywhere;min-width:0}.icon-picker-empty{grid-column:1/-1;color:#afc39f;padding:18px 8px;font-size:14px;line-height:1.8}.icon-picker-footer{position:sticky;bottom:-22px;display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:20px;padding:14px 0 2px;background:#0e1812f5;border-top:1px solid #3c5438;backdrop-filter:blur(12px)}.icon-picker-footer>.text-button{margin-right:auto}.icon-picker #iconPickerMore{display:flex;margin:14px auto 0}.icon-picker [hidden]{display:none!important}
@media screen{.battle-report{border-color:#3c5263;background:linear-gradient(#afc3d205 1px,transparent 1px),linear-gradient(90deg,#afc3d205 1px,transparent 1px),#0b1118;background-size:32px 32px,32px 32px,auto}.battle-report:before{background:#43dda3}.report-topline{color:#84e0bf;border-color:#334d5d}.report-event-meta{color:#bacbd6}.report-deck{border-color:#354859;background:#161e2b}.report-deck small{color:#a4b8c9}.report-deck strong{color:#eef4f8}.report-score b{color:#44e5a3}.report-score .loss{color:#ff557b}.report-score .draw{color:#bfcbd5}.report-placement b{color:#f2cf68}.report-rounds{display:grid;gap:8px;border-top:0}.report-round{grid-template-columns:65px 35px minmax(0,1fr) 44px;padding:11px 10px;gap:10px;border:1px solid #354d5b;border-left:4px solid #8b9ba6;border-radius:6px;background:#17222a}.report-round:nth-child(2n){background:#17222a}.report-round.is-win{background:#0a281f;border-color:#235a46;border-left-color:#30d59b}.report-round.is-loss{background:#30131d;border-color:#733044;border-left-color:#ff4d74}.report-round.is-draw{background:#1a242d;border-color:#4c5b68;border-left-color:#b4c2cd}.report-round.is-pending{background:#131e27;border-style:dashed;border-left-style:solid}.report-round.is-knockout .report-round-label{color:#f3cc58}.result-chip{border:0;border-radius:5px;background:#18b882;color:#08291d;font-weight:900}.result-chip.loss{border:0;background:#ed3d67;color:#fff3f6}.result-chip.draw{border:1px solid #70818d;background:#374550;color:#e3ebf0}.result-chip.pending{border:1px solid #4e606c;background:#24323d;color:#b1c0ca}.report-opponent{color:#edf4f7}.report-round-note{color:#b0c0ca}.report-footer{border-color:#354b5b;color:#9fb3c1}.report-notes{border-color:#57b798}.report-notes h3{color:#9ed5c5}.report-notes p{color:#d1e0e8}}
@media(max-width:1100px){.icon-picker-grid{grid-template-columns:repeat(5,minmax(0,1fr))}@media screen{.report-round{grid-template-columns:55px 30px minmax(0,1fr) 42px;gap:7px;padding-inline:7px}}}
@media(max-width:760px){.icon-editor{grid-template-columns:auto minmax(0,1fr);gap:10px}.icon-editor-actions{grid-column:1/-1;justify-content:flex-end}.round-icon-editor.icon-editor{display:flex}.round-icon-editor .icon-editor-actions{flex-wrap:nowrap}.report-deck{gap:9px}.my-deck-icons .battle-icon{width:34px;height:48px;flex-basis:34px}.opponent-icons .battle-icon{width:27px;height:38px;flex-basis:27px}.report-matchup{gap:7px}.report-round-note{font-size:12px}.report-order{min-height:32px;font-size:12px}.icon-picker{padding:17px}.icon-picker-heading h2{font-size:22px}.icon-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.icon-picker-footer{bottom:-17px}.icon-picker-search .button{padding-inline:10px}.icon-picker-note{font-size:12px}.icon-option{font-size:13px;min-height:120px}.icon-selected-chip{font-size:12px}.icon-selected-chip>.battle-icons .battle-icon{width:25px;height:35px;flex-basis:25px}@media screen{.report-round{grid-template-columns:45px 29px minmax(0,1fr) 42px;gap:7px;padding:10px 7px;min-height:68px}.report-round-label{font-size:13px}.report-opponent{font-size:14px}.report-order{padding:4px 3px}}}
@media(max-width:360px){.report-matchup{gap:5px}.opponent-icons .battle-icon{width:22px;height:32px;flex-basis:22px}.my-deck-icons .battle-icon{width:30px;height:42px;flex-basis:30px}.battle-icons{gap:3px}.icon-picker{padding:14px}.icon-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.icon-picker-footer{bottom:-14px}.icon-picker-footer .button{font-size:13px;padding-inline:10px}.icon-picker-search{flex-wrap:wrap}.icon-picker-search .button{width:100%}.icon-selected-chip{flex-basis:100%}@media screen{.report-round{grid-template-columns:37px 26px minmax(0,1fr) 38px;gap:5px;padding-inline:5px}.report-order{font-size:11px}.report-opponent{font-size:13px}}}
@media print{.icon-picker{display:none!important}.battle-icons,.battle-icon{print-color-adjust:exact;-webkit-print-color-adjust:exact}.battle-icon{background:#edf2f6;border-color:#a7b8c4}.battle-icon-fallback,.battle-icon.empty-icon{color:#50616d;background:#edf2f6}.report-deck{display:grid!important;background:#f0f3f7;border-color:#abbccb}.report-matchup{display:grid!important}.report-rounds{display:grid;gap:6px;border:0}.report-round{border:1px solid #b9c6cc;border-left:4px solid #748995;border-radius:5px;break-inside:avoid;min-height:65px;padding:9px 8px;grid-template-columns:60px 32px minmax(0,1fr) 44px;gap:8px}.report-round.is-win{background:#e5f6ed;border-color:#9fcdb6;border-left-color:#229a6b}.report-round.is-loss{background:#fce8ed;border-color:#e4a1b1;border-left-color:#d1355b}.report-round.is-draw{background:#eef1f4;border-color:#b7c3cd;border-left-color:#6b7c89}.report-round.is-knockout .report-round-label{color:#7c5900}.result-chip{background:#138f62;color:#fff;border:1px solid #137651}.result-chip.loss{background:#cf2c54;color:#fff;border:1px solid #ad2546}.result-chip.draw{background:#e1e6ec;color:#324652;border:1px solid #80939e}.result-chip.pending{background:#edf0f2;color:#566876;border:1px dashed #8b9ca7}.report-score .loss{color:#b51f45}.report-score .draw{color:#4e6270}.report-order.order-first{color:#16446f;background:#e7f0fc;border-color:#6c94c4}.report-order.order-second{color:#7a3d08;background:#fff0dd;border-color:#bf8b58}.report-order.order-unknown{color:#5d6c78;background:#f1f4f5;border-color:#b1bec8}.my-deck-icons .battle-icon{width:40px;height:56px}.opponent-icons .battle-icon{width:30px;height:42px}.report-round-note{color:#425661}}

.battle-icon.kind-sprite{background:transparent;border-color:transparent;border-radius:0}.battle-icon.kind-sprite img{image-rendering:pixelated}
/* BEYBLADE X configuration scores */
.bey-season-coverage{font-size:13px;color:#c8d9bd;margin:10px 0 0}.season-summary strong{overflow-wrap:anywhere}.bey-mode .round-editor{grid-template-columns:80px minmax(0,1fr) 112px}.bey-bouts-editor{grid-column:1/-1;min-width:0;width:100%;margin-top:10px;padding-top:14px;border-top:1px solid var(--line)}.bey-bouts-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap}.bey-bouts-heading>span{font-size:12px;color:var(--muted)}.bey-bout-editor{margin-top:13px;padding:14px;border:1px solid #46613c;border-radius:7px;background:#111d14;min-width:0}.bey-bout-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.bey-bout-toolbar>b{font-size:13px;color:#c5e2ad}.bey-bout-toolbar select{min-width:0;max-width:100%;flex:1 1 180px;background:#17251b;border:1px solid #465a3b;border-radius:5px;padding:9px;color:var(--ink);font-size:13px}.bey-bout-toolbar>.text-button{font-size:12px;color:#efbaa5;margin-left:auto}.bey-bout-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bey-bout-fields>.field{min-width:0}.bey-bout-fields>.field>span{font-size:12px;overflow-wrap:anywhere}.bey-bout-fields input{width:100%;min-width:0}.bey-wide{grid-column:1/-1}.bey-bout-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:13px}.bey-empty,.bey-summary-note,.bey-legacy-note{font-size:13px;color:#a8bcc7;line-height:1.7;overflow-wrap:anywhere}.bey-warning{border:1px solid #867245;border-left:3px solid #e3c36e;background:#292619;color:#f0dba3;padding:12px 14px;line-height:1.7;font-size:13px;overflow-wrap:anywhere}.bey-score-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #344c5d;border-bottom:1px solid #344c5d;margin:23px 0 10px}.bey-score-overview>div{padding:17px 10px 17px 0;min-width:0}.bey-score-overview span{display:block;font-size:12px;color:#adbfca}.bey-score-overview strong{display:block;margin-top:5px;font:750 clamp(22px,3vw,34px)/1.45 var(--font);color:#5de5b2;overflow-wrap:anywhere}.bey-score-overview>div:last-child strong{color:#f0d077;font-size:23px}.bey-coverage{color:#e4cf8c;font-size:13px;margin:8px 0 20px}.bey-config-summary h3,.bey-round-details>h3{font-size:17px;color:#dfeef4;margin:24px 0 8px}.bey-summary-note{margin:0 0 13px}.bey-config-table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:13px;line-height:1.7}.bey-config-table th,.bey-config-table td{border-bottom:1px solid #344b58;text-align:left;padding:12px 8px;vertical-align:top;overflow-wrap:anywhere}.bey-config-table thead th{font-size:11px;font-weight:600;color:#a8bfcf;background:#13232c}.bey-config-table th:first-child{width:45%}.bey-config-table tbody th{font-weight:650;color:#ecf4f8}.bey-config-table td{color:#d6e7ee}.bey-config-table td:nth-child(2){color:#67e4b8;font-weight:750}.bey-report-round{border:1px solid #3a4e5c;border-radius:6px;padding:14px;margin-top:12px;break-inside:avoid}.bey-round-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-bottom:12px}.bey-round-title h4{margin:0;font-size:17px;color:#e9d17d}.bey-manual-result{margin-left:auto;font-size:12px;color:#b6c9d3}.bey-score-detail{padding:13px 0;border-top:1px solid #2f4351;display:grid;gap:6px;overflow-wrap:anywhere}.bey-score-detail>strong{font-size:14px;line-height:1.7}.bey-score-detail .bey-detail-points{font-size:15px;color:#60e2af;font-weight:700}.bey-score-detail>small{font-size:12px;color:#afc6d3}.bey-score-detail>p{font-size:13px;white-space:pre-wrap;margin:2px 0;color:#ccdae1}.bey-manual-summary{color:#a7bcc9;font-size:12px;border-top:1px solid #334c5b;margin:24px 0 0;padding-top:17px}.bey-mode .round-editor>label{min-width:0}.bey-mode .round-opponent{grid-column:auto}.bey-mode .round-note{grid-column:1/-1}
@media(max-width:760px){.bey-mode .round-editor{grid-template-columns:80px minmax(0,1fr)}.bey-mode .round-editor>label:has([data-round-field=result]){grid-column:1/-1}.bey-bout-editor{padding:11px}.bey-score-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.bey-score-overview>div:last-child{grid-column:1/-1;padding-top:0}.bey-score-overview>div:last-child strong{font-size:19px}.bey-config-table th,.bey-config-table td{padding:10px 5px;font-size:12px}.bey-config-table thead th{font-size:10px}.bey-config-table th:first-child{width:42%}.bey-report-round{padding:11px}.bey-round-title{gap:8px}.bey-manual-result{font-size:11px}.bey-bout-actions>.button{flex:1 1 auto}.bey-bout-toolbar select{flex-basis:100%;order:3}}
@media(max-width:360px){.bey-bout-fields{grid-template-columns:minmax(0,1fr)}.bey-wide{grid-column:auto}.bey-bout-editor{padding:9px}.bey-config-table th:first-child{width:36%}.bey-score-overview strong{font-size:22px}.bey-round-title .bey-manual-result{width:100%;margin-left:0}}
@media print{.bey-score-overview{border-color:#a6bbc7}.bey-score-overview span,.bey-summary-note,.bey-empty,.bey-legacy-note,.bey-manual-result,.bey-manual-summary{color:#465e6b}.bey-score-overview strong,.bey-score-detail .bey-detail-points{color:#126c4d}.bey-score-overview>div:last-child strong,.bey-round-title h4{color:#755906}.bey-coverage{color:#715a22}.bey-config-summary h3,.bey-round-details>h3{color:#1d3849}.bey-config-table thead th{background:#eaf0f3;color:#334c5c}.bey-config-table th,.bey-config-table td{border-color:#b2c3cd;color:#263f4d}.bey-config-table tbody th{color:#263f4d}.bey-config-table td:nth-child(2){color:#126c4d}.bey-config-table tr{break-inside:avoid}.bey-report-round{border-color:#a6bac6}.bey-score-detail{border-color:#bdccd4}.bey-score-detail>small,.bey-score-detail>p{color:#405967}.bey-warning{color:#715416;background:#fff6df;border-color:#bca465}.bey-round-details{break-inside:auto}.bey-report-round:has(.bey-score-detail:nth-child(8)){break-inside:auto}.is-bey-report .report-event{break-inside:avoid}}

/* Readable configuration cards and inputs on phones. */
.bey-bout-fields>.field>span,.bey-bout-toolbar>b,.bey-bout-toolbar select,.bey-bouts-heading>span,.bey-config-table,.bey-config-table thead th,.bey-config-table td,.bey-config-table th,.bey-score-overview span{font-size:14px}
.bey-bout-fields textarea{width:100%;min-width:0;resize:vertical;font-size:16px}
@media(max-width:760px){.bey-config-table,.bey-config-table tbody{display:block;width:100%}.bey-config-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.bey-config-table tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #344b58;border-radius:6px;margin:10px 0;overflow:hidden}.bey-config-table tbody th:first-child{display:block;grid-column:1/-1;width:auto;padding:12px;background:#13232c;font-size:14px}.bey-config-table tbody td{display:block;min-width:0;border-bottom:0;padding:10px 8px;font-size:15px}.bey-config-table tbody td:before{content:attr(data-label);display:block;font-size:14px;font-weight:400;color:#adbfca;margin-bottom:5px}.bey-manual-result,.bey-detail-points{font-size:14px}}
@media print{.bey-config-table tbody tr{border-color:#b2c3cd}.bey-config-table tbody th:first-child{background:#eaf0f3}.bey-config-table tbody td:before{color:#465e6b}}

/* Same-origin species atlas; cropped by a validated SVG viewBox in every UI/print context. */
.battle-icon .battle-icon-sheet{position:relative;display:block;width:100%;height:100%;min-width:0;overflow:hidden;z-index:1}.battle-icon.kind-sprite .battle-icon-sheet image{image-rendering:pixelated}

/* Top Cut builder and phase summaries. Round order and saved labels remain unchanged. */
.round-stage-tools{display:grid;gap:12px;margin:14px 0 20px}.top-cut-builder{padding:16px;border:1px solid #786532;border-radius:9px;background:#1c2115}.top-cut-builder h4{font-size:18px;color:#f0d77f;margin:0 0 7px}.top-cut-builder p{font-size:14px;line-height:1.7;color:#c5cfb1;margin:0 0 14px}.top-cut-controls{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.top-cut-controls .field{flex:1 1 160px;margin:0}.top-cut-controls select{font-size:16px;min-height:44px}.top-cut-controls>.button{min-height:44px;flex:1 1 210px}.top-cut-single{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:12px}.top-cut-single>span{font-size:13px;color:#b8c5a7;margin-right:4px}.top-cut-single button{border:1px solid #6c633f;background:#202618;border-radius:5px;color:#e9d38a;padding:8px 11px;min-height:40px;font-size:14px}.round-stage-tools .round-shortcuts{margin:0}.round-phase-badge{grid-column:1/-1;justify-self:start;border:1px solid #3e5b66;border-radius:4px;background:#13252c;color:#b6d0dc;padding:4px 8px;font-size:13px;font-weight:650}.round-phase-badge.is-cut{border-color:#8b7234;color:#f1d078;background:#292619}.round-editor.is-top-cut{border-color:#8a733b}.report-stage-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 12px}.report-stage-summary{padding:13px 14px;border:1px solid #36505d;border-radius:7px;background:#10222a;min-width:0}.report-stage-summary.is-cut{border-color:#82703c;background:#272515}.report-stage-summary small,.report-stage-summary strong,.report-stage-summary>span{display:block;overflow-wrap:anywhere}.report-stage-summary small{font-size:13px;color:#a9c2cf}.report-stage-summary.is-cut small{color:#ead179}.report-stage-summary strong{font-size:16px;line-height:1.6;color:#eef5ee;margin:6px 0}.report-stage-summary>span{font-size:13px;color:#b4c4ca}.report-phase-divider{list-style:none;grid-column:1/-1;margin:13px 0 3px;padding:11px 13px;background:#14252d;border-left:3px solid #719ba7;color:#c2dbe4;font-size:15px;line-height:1.6;break-after:avoid}.report-phase-divider.is-cut{background:#282617;border-left-color:#dec16c;color:#edd17b}.report-phase-divider strong{font-size:inherit}.stage-live-summary{flex-basis:100%;font-size:14px;color:#c6d9d8;line-height:1.7}.stage-live-summary.is-cut{color:#e9d07b}
@media(max-width:620px){.top-cut-controls>.button{flex-basis:100%}.report-stage-overview{grid-template-columns:minmax(0,1fr)}.top-cut-builder{padding:13px}.top-cut-single button{flex:1 1 66px}.round-phase-badge{font-size:12px}.report-phase-divider{font-size:14px}.report-stage-summary strong{font-size:15px}}
@media print{.report-stage-overview{grid-template-columns:repeat(2,minmax(0,1fr));break-inside:avoid}.report-stage-summary{background:#edf4f5;border-color:#a9bec7}.report-stage-summary.is-cut{background:#fff8df;border-color:#b29a5c}.report-stage-summary small,.report-stage-summary>span{color:#48616c}.report-stage-summary.is-cut small{color:#725817}.report-stage-summary strong{color:#183b35}.report-phase-divider{background:#edf3f5;border-color:#799aa4;color:#284b59}.report-phase-divider.is-cut{background:#fff5d4;border-color:#ad8a3a;color:#775a15}.bey-report-round.is-knockout{border-color:#b29a5c}.report-stage-summary,.report-phase-divider{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

@media(max-width:1100px){.round-editor .round-opponent{grid-row:3}.bey-mode .round-editor .round-opponent{grid-row:auto}}

/* Keep imported round-note line breaks when adding/editing stages. */
.round-editor .round-note textarea{min-height:64px;resize:vertical}

.icon-option .icon-credit{display:block;color:#9eb39c;font:500 10px/1.35 system-ui,sans-serif;overflow-wrap:anywhere;text-align:center}
