/* Seat the Queen v0.76-r92 — final UX candidate. Presentation only. */
:root{--r92-gold:#edca72;--r92-ivory:#fff1cf;--r92-purple:#b65bd7;--r92-ink:#08040c}

/* A confirmation is transient UI, never permanent layout. */
#notice{opacity:0;transform:translateY(8px);visibility:hidden;pointer-events:none;transition:opacity .2s ease,transform .2s ease,visibility .2s}
#notice.notice-visible{opacity:1;transform:none;visibility:visible}
#notice.notice-leaving{opacity:0;transform:translateY(6px);visibility:visible}

/* Main menu: approved art, recropped for the navigation's visual weight. */
.v0732-bg{background-size:121% auto!important;background-position:100% 25%!important;transform-origin:58% 48%!important}
.v0732-account,.v0732-server{display:none!important}
.v0732-sidebar{background:linear-gradient(145deg,rgba(13,5,19,.86),rgba(5,2,9,.74))!important}

/* Career / statistics */
body #records-screen:not(.hidden){position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;min-height:0!important;padding:20px!important;overflow:hidden!important;background:radial-gradient(circle at 70% 18%,#3d174c55,transparent 38%),#07040a!important}
#records-screen::before,#records-screen::after{display:none!important}
#records-screen .records-card{width:min(1180px,calc(100vw - 40px))!important;height:calc(100vh - 40px)!important;max-height:none!important;padding:20px 24px!important;overflow:hidden!important;display:grid;grid-template-rows:auto auto auto auto minmax(0,1fr);gap:10px;border-color:#8a6032!important;background:linear-gradient(145deg,#170a1ff2,#08060bf5)!important}
.records-heading-v0732{display:flex;justify-content:space-between;align-items:start;border-bottom:1px solid #6e4b2c;padding-bottom:12px}
.records-brand-v0732{display:grid}.records-brand-v0732 strong{color:var(--r92-gold);font:700 30px Georgia,serif;letter-spacing:.06em}.records-brand-v0732 span{color:#c58cdb;font-size:12px;font-weight:900;letter-spacing:.18em;text-transform:uppercase}
.records-intro{margin:0;color:#cbbfd0;font-size:13px}
.records-stat-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:10px!important;margin:0!important;width:100%!important}
.record-headline{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;width:100%!important}.record-headline>div{min-height:112px;display:grid;place-items:center;align-content:center;border:1px solid #694678;background:linear-gradient(145deg,#2a1234,#100817);box-shadow:inset 0 0 24px #8f2fac18}.record-headline span,.record-stat span{color:#bc9fc2;font-size:10px;font-weight:900;letter-spacing:.15em}.record-headline strong{color:var(--r92-ivory);font:700 38px Georgia,serif}.record-headline small{color:#95859b;font-size:10px}.record-headline .record-crown{border-color:#bd8f3d;box-shadow:inset 0 0 28px #d7a33a22,0 0 18px #a64ac327}.record-headline .record-crown strong{color:var(--r92-gold)}
.record-detail{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important;width:100%!important}.record-stat{min-width:0!important;min-height:62px!important;display:grid!important;grid-template-columns:32px minmax(0,1fr) auto!important;align-items:center;gap:6px;padding:8px 10px!important;border-color:#45334b!important;background:#0c0810cc!important}.record-stat i{color:#d5a954;font-style:normal;font-size:20px}.record-stat strong{font-size:20px!important;color:#f1d681}.record-stat span{font-size:9px!important;opacity:1!important}
.stats-section-heading{border-top:1px solid #4e354e;padding-top:8px}.stats-section-heading h3{margin:0;color:#ebcc7c;font:700 18px Georgia,serif}.records-list{min-height:0;overflow:auto;gap:6px!important}.record-row{padding:8px 10px!important;border-radius:5px!important;background:#0b080edb!important}.records-list>p{display:grid;place-items:center;height:100%;color:#a696ab}

/* Settings: one compact royal control deck, no inherited giant header. */
body #settings-screen:not(.hidden){position:fixed!important;inset:0!important;display:block!important;width:100vw!important;height:100vh!important;min-height:0!important;padding:16px!important;background:radial-gradient(circle at 72% 20%,#4a1a5b55,transparent 36%),#060309!important}

/* Persistent player identity */
body #identity-screen:not(.hidden){position:fixed;inset:0;display:grid;place-items:center;overflow:hidden;background:#050207}
.identity-backdrop{position:absolute;inset:0;background:linear-gradient(90deg,#08040bc9,#08040b42),url('/assets/main-menu-throne-hall-v076.jpg') center/cover no-repeat;filter:saturate(.88)}
.identity-backdrop:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 65% 38%,#9b42d330,transparent 34%),linear-gradient(0deg,#040205b8,transparent 45%)}
.identity-card{position:relative;width:min(520px,calc(100vw - 48px));padding:40px 48px 44px;text-align:center;border:1px solid #a77a39;border-radius:7px;background:linear-gradient(145deg,#1b0d22f5,#09050df8);box-shadow:0 24px 80px #000c,inset 0 0 40px #78399520}
.identity-crown{display:block;margin-bottom:6px;color:#e8bf62;font-size:46px;line-height:1;text-shadow:0 0 24px #a745e88a}.identity-card h2{margin:6px 0 9px;color:#f4d98d;font:700 38px/1.05 Georgia,serif;text-transform:uppercase;letter-spacing:.04em}.identity-card>p:not(.eyebrow):not(.identity-error){margin:0 auto 28px;color:#d5c8d8}.identity-card label{display:block;margin:0 0 7px;text-align:left;color:#dec477;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.identity-card input{width:100%;height:52px;padding:0 16px;border:1px solid #765786;background:#08060b;color:#fff4d8;font-size:20px;text-align:center;letter-spacing:.03em}.identity-card input:focus{outline:2px solid #d6a84f;outline-offset:2px;box-shadow:0 0 24px #8f3bb750}.identity-card small{display:block;margin:8px 0 0;color:#a99cad}.identity-error{min-height:22px;margin:8px 0 5px!important;color:#ffaca7!important;font-size:13px}.identity-card button{min-width:220px;height:48px;margin-top:6px}.identity-confirmed .identity-card{animation:identity-accepted .5s ease both}.identity-confirmed .identity-crown{filter:drop-shadow(0 0 16px #fff0a0)}
@keyframes identity-accepted{50%{border-color:#f5d77c;box-shadow:0 0 70px #b04be46b,inset 0 0 40px #d7a54b20}100%{opacity:0;transform:scale(1.015)}}
.persistent-identity-chip{display:flex;min-width:150px;flex-direction:column;justify-content:center;padding:7px 12px;border-left:2px solid #d4a549;background:#170d1d}.persistent-identity-chip span{color:#a895aa;font-size:9px;letter-spacing:.14em}.persistent-identity-chip strong{overflow:hidden;color:#f1d98f;text-overflow:ellipsis;white-space:nowrap}
.profile-current-name{max-width:45%;overflow:hidden;color:#f3d987!important;font:700 22px Georgia,serif;text-overflow:ellipsis;white-space:nowrap}.profile-name-form{grid-column:1/-1}.profile-name-controls{display:flex;gap:8px;align-items:center}.profile-name-controls input{width:min(280px,45vw);height:36px}.profile-name-controls button{height:36px;min-height:36px}.profile-name-error{grid-column:1/-1;min-height:16px;color:#ffaca7}
#settings-screen>.settings-card{width:calc(100vw - 32px)!important;max-width:none!important;height:calc(100vh - 32px)!important;margin:0!important;padding:16px 20px!important;grid-template-rows:76px 46px minmax(0,1fr) 48px!important;border-color:#8d6535!important;background:linear-gradient(145deg,#170b1df8,#070509fa)!important}
#settings-screen .settings-heading-v0733{height:76px!important;min-height:76px!important}.settings-brand-v0733{gap:5px!important;padding:0!important}.settings-brand-v0733 strong{font-size:30px!important}.settings-brand-v0733 span{font-size:11px!important}.settings-tabs{justify-content:center!important;gap:5px!important}.settings-tabs button{min-width:112px!important;height:36px!important;min-height:36px!important;border-radius:4px!important}.settings-tabs button[aria-selected="true"],.settings-tabs button.active{border-color:#d5a449!important;background:linear-gradient(#572763,#27112f)!important;color:#f6dc8d!important}
#settings-screen .settings-pane{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(58px,auto)!important;gap:8px!important;overflow:auto!important;padding:8px 3px 3px!important;align-content:start!important}#settings-screen .settings-pane.hidden{display:none!important}
#settings-screen .setting-row{min-height:66px!important;padding:10px 13px!important;border:1px solid #48334f!important;border-radius:5px!important;background:linear-gradient(120deg,#160c1c,#0b080e)!important}.setting-row strong{color:#f0d27d!important;font-size:13px}.setting-row span{font-size:11px!important;line-height:1.35}.setting-row select,.setting-row input[type="checkbox"]{flex:0 0 auto}.settings-note{grid-column:1/-1;margin:0;padding:9px 12px;border-left:2px solid #9e6eb0;background:#120a18;color:#c4b6c8!important;font-size:11px}.settings-footer{margin:7px 0 0!important;padding:7px 0 0!important}.settings-footer button{min-height:32px!important;height:32px!important;padding:4px 12px!important}
.controls-status-grid,.controller-live-status,.control-bindings{grid-column:1/-1}.control-bindings{max-height:270px;overflow:auto}

/* Academy legibility and special-card recognition. */
.guided-tutorial-shell{grid-template-rows:58px minmax(0,1fr) 50px!important;padding:8px 12px!important}.guided-tutorial-body{grid-template-columns:clamp(248px,20vw,310px) minmax(0,1fr)!important;gap:9px!important;padding:9px 0!important}.tutorial-coach{padding:18px!important}.tutorial-coach h2{font-size:clamp(22px,1.8vw,32px)!important}.tutorial-coach>p{font-size:13px!important;line-height:1.4!important}.tutorial-task-card{margin-top:15px!important;padding:11px!important}.tutorial-feedback{min-height:36px!important;margin-top:10px!important;padding:8px 10px!important}.guided-board{padding:6px!important}.training-table{grid-template-rows:54px 130px 104px 32px minmax(132px,1fr) 54px!important;gap:5px!important}.guided-hand-card{width:92px!important;height:122px!important;flex-basis:92px!important}.guided-hand-card.special-card{width:100px!important;flex-basis:100px!important}.guided-hand-card.special-card .special-card-art{min-height:58px!important}.guided-hand-cards{align-items:center!important}.guided-tutorial-controls{padding:6px 10px!important}.guided-tutorial-controls button{min-height:32px!important;padding:5px 12px!important}.guided-progress-wrap>span{font-size:12px!important}

/* Initiative is attached to the owning Court. */
#game-screen .selection-side{transition:border-color .22s,box-shadow .22s,background .22s;position:relative}
#game-screen[data-initiative-court="player"] .selection-player,#game-screen[data-initiative-court="opponent"] .selection-opponent{border-color:#e5bb58!important;box-shadow:inset 0 0 0 1px #f5d87d55,inset 0 0 28px #c066e21c,0 0 18px #e6b84b2b!important}
#game-screen[data-initiative-court="player"] .selection-player::after,#game-screen[data-initiative-court="opponent"] .selection-opponent::after{content:""}
.match-hud-initiative{min-width:148px!important;border-color:#bd8b39!important;background:linear-gradient(180deg,#2c1236,#120919)!important;box-shadow:inset 0 0 18px #d15ce91a,0 0 14px #c89d4433!important}.match-hud-initiative i{font-size:22px!important;color:#f2c95d!important}.match-hud-initiative span{font-size:10px!important}.match-hud-initiative strong{font-size:14px!important;color:#fff1b7!important}
.initiative-change-callout{position:fixed;z-index:85;left:50%;top:14%;translate:-50% 0;display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;column-gap:10px;align-items:center;min-width:230px;padding:10px 18px;border:1px solid #e0b04d;border-radius:8px;background:linear-gradient(135deg,#3e164b,#120819);box-shadow:0 16px 45px #000b,0 0 26px #b24bd866;pointer-events:none;animation:r92-initiative-callout 1s ease both}.initiative-change-callout>span{grid-row:1/3;color:#f4ca5c;font-size:30px;text-shadow:0 0 13px #d26bf0}.initiative-change-callout small{color:#c99cda;font-size:9px;font-weight:900;letter-spacing:.18em}.initiative-change-callout strong{color:#fff0bb;font:700 18px Georgia,serif}.initiative-change-callout.hidden{display:none!important}
@keyframes r92-initiative-callout{0%{opacity:0;transform:translateY(-12px) scale(.96)}18%,76%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-4px)}}

@media(max-width:1366px),(max-height:760px){.v0732-bg{background-position:56% center!important}#records-screen{padding:12px!important}#records-screen .records-card{width:calc(100vw - 24px)!important;height:calc(100vh - 24px)!important;padding:14px 18px!important}.record-headline>div{min-height:84px}.record-headline strong{font-size:30px}.record-detail{grid-template-columns:repeat(5,1fr)}#settings-screen{padding:10px!important}#settings-screen>.settings-card{height:calc(100vh - 20px)!important;grid-template-rows:60px 42px minmax(0,1fr) 42px!important;padding:11px 16px!important}.settings-heading-v0733{height:60px!important;min-height:60px!important}.settings-brand-v0733 strong{font-size:25px!important}.settings-tabs button{height:33px!important;min-height:33px!important}.setting-row{min-height:58px!important}.training-table{grid-template-rows:46px 112px 92px 28px minmax(112px,1fr) 46px!important}.guided-hand-card{width:80px!important;height:106px!important;flex-basis:80px!important}.guided-slot,.guided-opponent-slot{height:72px!important}.guided-sequence{min-height:72px!important}.guided-tutorial-body{grid-template-columns:245px minmax(0,1fr)!important}.tutorial-coach{padding:14px!important}}

/* r92 Royal Academy: the production Court is the teaching surface. 1080p is
   the reference composition; the coach floats above it instead of shrinking it. */
.guided-tutorial-shell{grid-template-rows:56px minmax(0,1fr) 48px!important;padding:0!important;background:#040206 url('/assets/match-board-palace-v077.png') center/cover no-repeat}
.guided-tutorial-header,.guided-tutorial-controls{position:relative;z-index:80;border-radius:0!important;border-left:0!important;border-right:0!important;background:linear-gradient(180deg,#13091be8,#07040bd9)!important;backdrop-filter:blur(5px)}
.guided-tutorial-body{position:relative;display:block!important;padding:0!important;min-height:0;overflow:hidden}
.guided-board{position:absolute;inset:0;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:hidden!important}
.tutorial-court-surface{--u:min(.078125vw,.138888889dvh);--board-gold:#ad7c32;--board-gold-bright:#f5dda2;--board-ivory:#ede6d4;position:absolute;inset:0;isolation:isolate;color:var(--board-ivory)}
.tutorial-production-board{left:calc(50% - var(--u)*574)!important;top:calc(50% - var(--u)*284)!important;height:calc(var(--u)*664)!important}
.tutorial-production-board.solo-selection-board{grid-template-rows:calc(var(--u)*176) calc(var(--u)*160) calc(var(--u)*40) calc(var(--u)*168) calc(var(--u)*72)}
.tutorial-production-board .royal-match-hud{left:calc(var(--u)*102)}
.tutorial-production-board .match-hud-round p{grid-column:1/-1;margin:0;color:#ddd7cf;font:calc(var(--u)*13)/1.25 Georgia,serif}
.tutorial-production-board .selection-opponent-cards{padding:calc(var(--u)*4) calc(var(--u)*12) calc(var(--u)*8)}
.tutorial-production-board .guided-sequence{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:calc(var(--u)*9);min-width:0;min-height:0;height:100%;align-items:center;justify-items:center}
.tutorial-production-board .guided-opponent-slot{width:calc(var(--u)*75);height:calc(var(--u)*119);padding:0;border:1px solid #80602f;border-radius:2px;background:#100817;overflow:hidden}
.tutorial-production-board .guided-opponent-slot.empty{opacity:.35;background:#0b080e url('/assets/royal-card-back.png') center/cover no-repeat}
.tutorial-production-board .guided-opponent-slot .guided-sequence-card{width:100%!important;height:100%!important;min-height:0!important;padding:calc(var(--u)*5)!important;pointer-events:none}
.tutorial-production-board .selection-path-heading>strong{position:absolute;left:50%;top:0;transform:translateX(-50%);padding:calc(var(--u)*2) calc(var(--u)*24);color:#f0dda5;background:#08060b;font:700 calc(var(--u)*10)/1 Georgia,serif;letter-spacing:.05em;white-space:nowrap}
.tutorial-production-board .tutorial-path-opponent{left:0}.tutorial-production-board .tutorial-path-player{right:0}
.tutorial-production-board .tutorial-queen-path{position:absolute;left:calc(var(--u)*116);right:calc(var(--u)*116);top:calc(var(--u)*62);height:calc(var(--u)*25);border:1px solid #d1a55c;border-radius:999px;background:linear-gradient(90deg,#a7102f 0%,#f34258 44%,#a43ac7 56%,#64149a 100%);box-shadow:inset 0 0 calc(var(--u)*8) #fff6,0 0 calc(var(--u)*18) #a833be66}
.tutorial-queen-path::before{content:'';position:absolute;inset:calc(var(--u)*5) 2%;background:repeating-linear-gradient(90deg,transparent 0 8%,#f8df9b66 8.1% 8.35%)}
.tutorial-queen-path .path-center{position:absolute;left:50%;top:calc(var(--u)*-6);width:2px;height:calc(var(--u)*37);background:#ffe6a0;box-shadow:0 0 8px white}
.tutorial-production-board #guided-queen{position:absolute!important;z-index:5;top:50%!important;transform:translate(-50%,-50%)!important;width:calc(var(--u)*84)!important;height:calc(var(--u)*112)!important;border:2px solid #edc55c!important;border-radius:4px!important;background-size:cover!important;transition:left .65s cubic-bezier(.2,.8,.2,1);box-shadow:0 0 calc(var(--u)*18) #e669f388!important}
.tutorial-production-board .tutorial-path-scale{position:absolute;left:calc(var(--u)*130);right:calc(var(--u)*130);bottom:calc(var(--u)*14);display:flex;justify-content:space-between;color:#d8c597;font:calc(var(--u)*8)/1 Georgia,serif}.tutorial-path-scale b{color:#fff0b2}.tutorial-production-board .tutorial-position{position:absolute;left:50%;bottom:calc(var(--u)*2);transform:translateX(-50%);color:#f4dea9;font:calc(var(--u)*8)/1 Georgia,serif}
.tutorial-production-board .board-round-message{display:grid;grid-template-columns:calc(var(--u)*185) minmax(0,1fr);align-items:center;padding:calc(var(--u)*4) calc(var(--u)*82)!important;gap:calc(var(--u)*12)}
.tutorial-production-board .board-round-message>strong{display:grid;gap:calc(var(--u)*5);color:#f1d48e;font:700 calc(var(--u)*12)/1 Georgia,serif;text-align:center;letter-spacing:.04em}.tutorial-production-board .board-round-message>strong small{color:#a99478;font:calc(var(--u)*7)/1.2 system-ui,sans-serif;letter-spacing:.12em}
.tutorial-production-board .board-round-message .guided-sequence{grid-template-columns:repeat(4,calc(var(--u)*98));justify-content:center;gap:calc(var(--u)*14)}
.tutorial-production-board .guided-slot{position:relative;width:calc(var(--u)*98);height:calc(var(--u)*54);padding:0;border:1px solid #98713a;border-radius:2px;background:linear-gradient(145deg,#17101d,#08060c);color:#d2c2b6;overflow:visible;box-shadow:inset 0 0 0 2px #171019,0 3px 8px #0009}
.tutorial-production-board .guided-slot.filled{height:calc(var(--u)*100);transform:translateY(calc(var(--u)*-14));z-index:4;border-color:#e0b454;box-shadow:0 0 calc(var(--u)*12) #b153c555}.tutorial-production-board .guided-slot small{position:absolute;z-index:5;top:calc(var(--u)*4);left:calc(var(--u)*5);display:flex;align-items:center;gap:calc(var(--u)*4);font:700 calc(var(--u)*7)/1 system-ui,sans-serif;letter-spacing:.08em;color:#d9c69d}.tutorial-production-board .guided-slot small b{display:grid;place-items:center;width:calc(var(--u)*16);height:calc(var(--u)*16);border:1px solid #d1a34b;border-radius:50%;background:#241329;color:#ffe4a0;font-size:calc(var(--u)*9)}.tutorial-production-board .guided-slot>span{display:grid;place-items:end center;height:100%;padding-bottom:calc(var(--u)*7);font:calc(var(--u)*7)/1 system-ui,sans-serif;color:#8f8190;letter-spacing:.08em}
.tutorial-production-board .guided-slot .guided-sequence-card{width:100%!important;height:100%!important;min-height:0!important;padding:calc(var(--u)*4)!important;pointer-events:none}
.tutorial-production-board .tutorial-hand-panel{display:grid;grid-template-rows:calc(var(--u)*20) minmax(0,1fr);padding:calc(var(--u)*4) calc(var(--u)*8) calc(var(--u)*8);overflow:visible}
.tutorial-production-board .training-hand-heading{height:auto;display:flex;justify-content:center;gap:calc(var(--u)*12);color:#e8cd8b;font:calc(var(--u)*8)/1 Georgia,serif}.tutorial-production-board .training-hand-heading span{color:#bcae9c}
.tutorial-production-board .guided-hand-cards{display:flex;justify-content:center;align-items:flex-end;gap:calc(var(--u)*5);min-width:0;overflow:visible}
.tutorial-production-board .guided-hand-card{width:calc(var(--u)*72)!important;height:calc(var(--u)*126)!important;min-width:0!important;flex:0 0 calc(var(--u)*72)!important;padding:calc(var(--u)*5)!important;transform:none!important}
.tutorial-production-board .guided-hand-card.special-card{width:calc(var(--u)*78)!important;flex-basis:calc(var(--u)*78)!important}
.tutorial-production-board .training-actions{display:flex;align-items:center;justify-content:center;gap:calc(var(--u)*14);padding:calc(var(--u)*10)}
.tutorial-production-board .training-actions button{min-width:calc(var(--u)*180);height:calc(var(--u)*42);padding:0 calc(var(--u)*18);border:1px solid #c39449;border-radius:2px;background:linear-gradient(#efd08a,#b77d31);color:#281705;font:700 calc(var(--u)*12)/1 Georgia,serif}
.tutorial-coach{position:absolute!important;z-index:70;left:clamp(12px,1.1vw,22px);top:clamp(10px,1.1vh,18px);transform:none;width:clamp(260px,18vw,350px);max-height:42%;justify-content:flex-start!important;padding:clamp(14px,1.2vw,23px)!important;border-radius:3px!important;background:linear-gradient(140deg,#170b20f2,#07040bf2)!important;box-shadow:inset 0 0 0 3px #2b1933,0 14px 42px #000d!important;overflow-x:hidden!important;overflow-y:auto!important}
.tutorial-coach h2{font-size:clamp(25px,1.8vw,35px)!important}.tutorial-coach>p{font-size:clamp(13px,.82vw,16px)!important}.tutorial-task-card{margin-top:14px!important;padding:11px!important}.tutorial-feedback{min-height:0!important;margin-top:10px!important}
.tutorial-production-board [data-guide-area].is-muted{opacity:.42;filter:saturate(.55) brightness(.7)}.tutorial-production-board [data-guide-area].is-focus{opacity:1;filter:none}.tutorial-production-board [data-guide-area].is-attention{box-shadow:inset 0 0 0 2px #f0c45b,0 0 20px #d055ed88!important}
@media(max-width:1366px),(max-height:760px){.tutorial-court-surface{--u:min(.06875vw,.122222222dvh)}.tutorial-coach{top:8px;width:245px;max-height:43%;padding:12px!important}.tutorial-coach h2{font-size:22px!important;margin:5px 0 7px!important}.tutorial-coach>p{font-size:12px!important;line-height:1.35!important}.tutorial-task-card{margin-top:8px!important;padding:8px!important}.tutorial-feedback{font-size:11px!important}.guided-brand small{display:none}.guided-tutorial-header{padding:5px 10px!important}.guided-tutorial-controls{padding:4px 8px!important}.guided-tutorial-controls button{min-height:30px!important}}

/* Academy is the regular Selection Court with controlled state injected. */
.tutorial-production-board.solo-selection-board{grid-template-rows:calc(var(--u)*176) calc(var(--u)*160) calc(var(--u)*40) calc(var(--u)*168) calc(var(--u)*72)!important}
.tutorial-production-board .board-round-message{display:grid!important;grid-template-columns:1fr!important;align-items:center!important;justify-content:center!important;padding:calc(var(--u)*4) calc(var(--u)*22)!important}
.tutorial-production-board .board-round-message>p{display:flex;align-items:center;justify-content:center;gap:calc(var(--u)*14);margin:0;font:calc(var(--u)*11)/1.2 Georgia,serif;color:#e7e1d6}.tutorial-production-board .board-round-message>p strong{padding-right:calc(var(--u)*14);border-right:1px solid #69462d;color:#ebd395}
.tutorial-production-board .selection-hand-panel{display:grid;grid-template-rows:calc(var(--u)*14) minmax(0,1fr);padding:calc(var(--u)*3) calc(var(--u)*10) calc(var(--u)*12);overflow:visible}
.tutorial-production-board .selection-hand-heading{position:static;height:calc(var(--u)*10)}.tutorial-production-board .selection-hand-heading h3{position:absolute;left:calc(var(--u)*10);bottom:calc(var(--u)*3);font:calc(var(--u)*7)/1 Georgia,serif;color:#c7b38e;letter-spacing:.08em}.tutorial-production-board .selection-hand-heading span{position:absolute;right:calc(var(--u)*10);bottom:calc(var(--u)*3);font:calc(var(--u)*7)/1 Georgia,serif;color:#c7b38e}
.tutorial-production-board .selection-hand{min-height:0;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));align-items:end;justify-items:center;gap:calc(var(--u)*8);padding:calc(var(--u)*16) 0 0;overflow:visible}
#tutorial-production-board .selection-hand .card{position:relative!important;display:block!important;width:100%!important;max-width:none!important;min-width:0!important;height:calc(var(--u)*112)!important;min-height:0!important;aspect-ratio:auto!important;padding:calc(var(--u)*4)!important;margin:0!important;border:1px solid #b89b77!important;border-radius:calc(var(--u)*3)!important;box-shadow:inset 0 0 0 2px #74462966,inset 0 0 11px #8c43294d,0 2px 6px #000c!important;transform:none!important;transform-origin:center bottom!important;transition:transform .18s ease,box-shadow .2s ease!important;overflow:visible!important;filter:none!important}
#tutorial-production-board .selection-hand .card:hover,#tutorial-production-board .selection-hand .card:focus-visible{z-index:12!important;transform:translateY(calc(var(--u)*-6))!important}
#tutorial-production-board .selection-hand .card.selected-in-hand{z-index:14!important;transform:translateY(calc(var(--u)*-10))!important;box-shadow:inset 0 0 0 2px #73404f77,0 0 0 2px #f5a1ff,0 0 8px 4px #b129dd,0 0 18px #db5cffc2!important}
#tutorial-production-board .selection-order-marker{position:absolute;z-index:40;top:calc(var(--u)*-25);left:50%;width:calc(var(--u)*29);height:calc(var(--u)*29);transform:translateX(-50%);display:grid;place-items:center;border:2px solid #f0d38a;border-radius:50%;background:radial-gradient(circle at 40% 30%,#342133,#08060b 76%);box-shadow:0 0 0 2px #5b3922,0 0 9px #be77d180;color:#faebad;font:calc(var(--u)*23)/1 Georgia,serif;pointer-events:none}
.tutorial-production-board .training-actions{display:grid!important;align-items:center!important;justify-content:center!important;gap:calc(var(--u)*14)!important;padding:0 calc(var(--u)*160) 0 calc(var(--u)*70)!important}
.tutorial-production-board .training-actions button{min-width:0;width:auto;height:calc(var(--u)*39)!important;padding:calc(var(--u)*8)!important;font:calc(var(--u)*11)/1.1 Georgia,serif!important}.tutorial-production-board .training-actions .selection-confirm-group>button{width:100%;height:calc(var(--u)*44)!important;font-size:calc(var(--u)*13)!important}
@media(min-width:2200px){.v0732-bg{background-position:52% center!important}}

/* The menu artwork viewport begins beside the fixed navigation rail. Shift the
   existing throne-room crop left so its Queen/throne axis occupies that area's
   visual center at the primary 1920x1080 presentation size. */
@media(max-width:1366px),(max-height:760px){.v0732-bg{background-size:114% auto!important;background-position:100% 30%!important}}
@media(min-width:2200px){.v0732-bg{background-size:119% auto!important;background-position:100% 25%!important}}

/* r92 career dashboard — spacious at 1080p, with long history isolated in its
   own scrolling region. These rules intentionally replace the legacy widget row. */
#records-screen .records-card{
  width:min(1560px,calc(100vw - 96px))!important;
  max-width:none!important;
  height:min(1000px,calc(100vh - 64px))!important;
  padding:18px 24px!important;
  grid-template-rows:66px 24px auto 42px minmax(0,1fr)!important;
  gap:8px!important;
}
#records-screen .records-heading-v0732{height:66px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 0 10px!important}
#records-screen .records-brand-v0732{align-items:flex-start!important;gap:2px!important;padding:0!important;text-align:left!important}
#records-screen .records-brand-v0732 strong{font-size:32px!important}
#records-screen .records-brand-v0732 span{font-size:12px!important}
#records-screen .records-intro{align-self:center;font-size:13px;line-height:1.3;color:#cfc3d2}
#records-screen .records-stat-grid{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto auto!important;gap:10px!important;margin:0!important}
#records-screen .record-headline{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
#records-screen .record-headline>div{min-width:0;min-height:132px!important;padding:15px 18px;display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:center;border:1px solid #68486f;border-radius:6px;background:linear-gradient(145deg,#24102eeb,#0d0812f2);box-shadow:inset 0 1px #ffffff0d,inset 0 0 28px #8f2fac12}
#records-screen .record-headline strong{order:0;color:#fff0cb;font:700 46px/1 Georgia,serif!important;letter-spacing:-.02em}
#records-screen .record-headline span{order:1;margin-top:9px;color:#ddc27c;font-size:12px!important;font-weight:900;letter-spacing:.14em}
#records-screen .record-headline small{order:2;margin-top:5px;color:#aa9daf;font-size:12px!important;line-height:1.25}
#records-screen .record-headline .record-crown{border-color:#b7893f;background:linear-gradient(145deg,#332039,#110a16);box-shadow:inset 0 0 28px #d7a33a1f,0 0 16px #a64ac31e}
#records-screen .record-headline .record-crown strong{color:#f3d57f}
#records-screen .record-secondary-groups{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0}
#records-screen .record-secondary-group{min-width:0;padding:10px 12px;border:1px solid #49354f;border-radius:6px;background:#0b0710d9}
#records-screen .record-secondary-group>header{display:flex;align-items:center;gap:9px;margin-bottom:8px;padding-bottom:7px;border-bottom:1px solid #48334b}
#records-screen .record-secondary-group>header i{color:#d8ad56;font:normal 22px Georgia,serif}
#records-screen .record-secondary-group>header div{display:grid;gap:1px}
#records-screen .record-secondary-group>header strong{color:#e8cc84;font:700 12px Georgia,serif;letter-spacing:.1em}
#records-screen .record-secondary-group>header small{color:#918697;font-size:10px}
#records-screen .record-secondary-group>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#records-screen .record-secondary-group:first-child>div{grid-template-columns:repeat(2,minmax(0,1fr))}
#records-screen .record-secondary-group .record-stat{min-height:54px!important;padding:7px 9px!important;display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:center;gap:4px!important;text-align:left!important;border:0!important;border-left:2px solid #65436d!important;border-radius:2px!important;background:#150b1aad!important}
#records-screen .record-secondary-group .record-stat span{font-size:10px!important;line-height:1.15;color:#baadbe!important;letter-spacing:.04em;white-space:normal}
#records-screen .record-secondary-group .record-stat strong{font-size:21px!important;line-height:1;color:#f0d17d!important}
#records-screen .stats-section-heading{height:42px!important;padding:7px 2px 0!important;align-items:center!important;border-top:1px solid #503c51!important}
#records-screen .stats-section-heading h3{font:700 19px Georgia,serif!important}
#records-screen .stats-section-heading span{font-size:12px!important}
#records-screen .records-list{display:grid!important;grid-auto-rows:minmax(72px,auto);align-content:start!important;gap:7px!important;padding:2px 5px 4px 0!important;overflow:auto!important}
#records-screen .record-row{display:grid!important;grid-template-columns:minmax(205px,.9fr) minmax(260px,1.55fr) minmax(150px,.72fr) 92px!important;gap:18px!important;align-items:center!important;min-width:0;padding:11px 16px!important;border:1px solid #3f3044!important;border-left:3px solid #765079!important;border-radius:5px!important;background:linear-gradient(90deg,#120b17ed,#09070ced)!important}
#records-screen .record-row>*{min-width:0}
#records-screen .record-kind,.record-opponent,.record-result,.record-rounds{display:grid;gap:4px}
#records-screen .record-kind>strong{color:#f0d083;font:700 14px Georgia,serif;letter-spacing:.04em}
#records-screen .record-kind b{color:#936ca0}
#records-screen .record-kind>span{color:#9f93a5;font-size:11px}
#records-screen .record-kind>span b{font-weight:400;color:#6f6175}
#records-screen .record-opponent small,#records-screen .record-result small{color:#94889a;font-size:9px;font-weight:900;letter-spacing:.12em}
#records-screen .record-opponent strong{overflow-wrap:anywhere;color:#eee4ef;font-size:13px;line-height:1.3}
#records-screen .record-result strong{color:#edca72;font-size:13px;letter-spacing:.09em}
#records-screen .record-result small{font-weight:500;letter-spacing:0;text-transform:none}
#records-screen .record-rounds{justify-items:end;text-align:right}
#records-screen .record-rounds strong{color:#fff0c8;font:700 24px/1 Georgia,serif}
#records-screen .record-rounds span{color:#9f92a5;font-size:9px;font-weight:900;letter-spacing:.12em}
#records-screen .record-row.record-incomplete{border-left-color:#776d79!important;opacity:.82}
#records-screen .record-row.record-incomplete .record-result strong{color:#c5b9c8}
#records-screen .records-list>p{height:auto!important;min-height:150px;font-size:14px}

@media(min-width:2200px){
  #records-screen .records-card{width:calc(100vw - 180px)!important;height:min(1280px,calc(100vh - 96px))!important}
  #records-screen .record-headline>div{min-height:150px!important}
  #records-screen .record-headline strong{font-size:54px!important}
}
@media(max-width:1366px),(max-height:760px){
  #records-screen .records-card{width:calc(100vw - 24px)!important;height:calc(100vh - 24px)!important;padding:11px 15px!important;grid-template-rows:48px 20px auto 32px minmax(0,1fr)!important;gap:5px!important}
  #records-screen .records-heading-v0732{height:48px!important;padding-bottom:6px!important}
  #records-screen .records-brand-v0732 strong{font-size:25px!important}
  #records-screen .records-brand-v0732 span,#records-screen .records-intro{font-size:10px!important}
  #records-screen .record-headline{gap:7px!important}
  #records-screen .record-headline>div{min-height:82px!important;padding:9px 11px}
  #records-screen .record-headline strong{font-size:30px!important}
  #records-screen .record-headline span{margin-top:5px;font-size:10px!important}
  #records-screen .record-headline small{margin-top:2px;font-size:9px!important}
  #records-screen .record-secondary-groups{gap:7px}
  #records-screen .record-secondary-group{padding:6px 8px}
  #records-screen .record-secondary-group>header{margin-bottom:5px;padding-bottom:4px}
  #records-screen .record-secondary-group>header small{display:none}
  #records-screen .record-secondary-group .record-stat{min-height:40px!important;padding:5px 7px!important}
  #records-screen .record-secondary-group .record-stat span{font-size:8px!important}
  #records-screen .record-secondary-group .record-stat strong{font-size:16px!important}
  #records-screen .stats-section-heading{height:32px!important;padding-top:4px!important}
  #records-screen .stats-section-heading h3{font-size:15px!important}
  #records-screen .record-row{grid-template-columns:minmax(160px,.8fr) minmax(190px,1.35fr) minmax(125px,.7fr) 68px!important;min-height:58px;padding:7px 10px!important;gap:10px!important}
  #records-screen .records-list{grid-auto-rows:minmax(58px,auto)}
}
@media(max-width:900px){
  #records-screen .record-secondary-groups{grid-template-columns:1fr}
  #records-screen .record-row{grid-template-columns:1fr 1fr!important}
  #records-screen .record-rounds{justify-items:start;text-align:left}
}
@media(prefers-reduced-motion:reduce){#notice,.selection-side{transition:none!important}.initiative-change-callout{animation:r92-initiative-fade .8s ease both!important}}body.reduce-motion .initiative-change-callout{animation:r92-initiative-fade .8s ease both!important}@keyframes r92-initiative-fade{0%,100%{opacity:0}18%,78%{opacity:1}}

/* r93 stranger-experience cue: guidance, not a forced tutorial gate. */
#tutorial-button.new-player-recommended{border-color:#e3b95f!important;background:linear-gradient(90deg,rgba(91,47,104,.95),rgba(28,11,36,.8))!important;box-shadow:inset 3px 0 #f0ca69,0 0 20px rgba(183,87,212,.34)!important}
#tutorial-button.new-player-recommended::after{content:"RECOMMENDED";position:absolute;right:10px;top:7px;padding:2px 5px;border:1px solid #d9aa4e;border-radius:3px;color:#ffe7a2;background:#25102d;font-size:7px;font-weight:900;letter-spacing:.11em}
#tutorial-button.new-player-recommended small{color:#f2d88e!important;font-weight:800}
