body[data-screen="menu"] .toolbar #accountButton{display:block;border:1px solid #9f806d;padding:10px 16px;border-radius:5px;color:#e8cb96}
body[data-screen="account"] #adviserButton{display:none}
.account-welcome{padding:8px 5px 12px}.account-welcome>img{height:auto;margin:3px 0 22px}.account-welcome>p{line-height:1.7;margin-bottom:18px}.account-welcome ul{padding-left:20px;line-height:2;color:#bbc0c3;margin-bottom:25px}.account-signin{display:flex;align-items:center;justify-content:space-between;border-radius:5px;padding:16px 20px;text-decoration:none;margin:20px 0}.account-signin~p{margin-top:15px}
.account-page{max-width:1260px;margin:0 auto;padding:45px 28px 60px}.account-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:30px}.account-player{display:flex;gap:22px;align-items:center}.account-avatar{width:68px;height:95px;flex:none;object-fit:contain}.account-heading h1{font-size:36px;margin:8px 0}.account-heading p{font-size:14px;color:#bbc0c3;line-height:1.6}
.account-stats{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #6b72784d;border-radius:8px;background:#23292e}.account-stats>div{padding:24px 28px;border-right:1px solid #6b72784d;display:flex;flex-direction:column;gap:7px}.account-stats>div:last-child{border:0}.account-stats strong{font:32px Literata,serif;color:#e4c88f}.account-stats span{color:#bbc0c3;font-size:13px}.account-note{font-size:12px;color:#bbc0c3;margin:14px 0 28px;line-height:1.7}
.account-columns{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px}.account-main,.account-side{display:flex;flex-direction:column;gap:24px;min-width:0}.account-section{border:1px solid #6b727866;background:#23292ec9;border-radius:9px;padding:25px}.account-section h2{font-size:24px;margin:8px 0 15px}.account-section h2 small{font:13px Source,sans-serif;color:#bbc0c3;margin-left:8px}.account-section p{line-height:1.7;font-size:14px}.account-section p.small{font-size:12px;margin-top:16px}.account-section-head{display:flex;gap:18px;align-items:center;justify-content:space-between;margin-bottom:16px}.account-section-head h2{margin-bottom:0}.account-section-head button{font-size:12px;flex:none}
.account-rooms{display:grid;gap:12px;margin-bottom:20px}.account-rooms>div{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px;background:#23292e;border-radius:6px}.account-rooms>div>div{display:grid;gap:6px}.account-rooms span,.account-rooms small{font-size:12px;color:#bbc0c3}.account-rooms button{font-size:12px}
.account-decks{display:grid;gap:14px}.account-decks article{display:flex;gap:16px;align-items:center;padding:15px;background:#23292e;border-radius:6px}.account-decks article>img{width:66px;height:92px;object-fit:contain;flex:none}.account-decks article>div{display:flex;flex-direction:column;gap:5px;min-width:0}.account-decks strong{font-size:16px;overflow-wrap:anywhere}.account-decks span,.account-decks small{color:#bbc0c3;font-size:12px}.account-decks .split{margin-top:8px}.account-decks button{font-size:11px;padding:5px 9px}.account-decks button[aria-pressed="true"]{color:#e7c58e;border-color:#aa8966}
.account-empty{padding:20px 0}.account-empty h3{font-size:19px;margin-bottom:12px}.account-empty p{color:#bbc0c3;font-size:13px}.account-match{display:flex;align-items:center;gap:15px;padding:18px 0;border-bottom:1px solid #6b72785e}.account-match>div{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}.account-match strong{font-size:14px}.account-match span:not(.match-result),.account-match small{font-size:11px;color:#bbc0c3}.account-match button{font-size:11px;padding:6px 9px}.match-result{font-size:9px;letter-spacing:.08em;text-transform:uppercase;background:#343b41;border:1px solid #6b7278;border-radius:4px;padding:7px 6px;min-width:45px;text-align:center;color:#bbc0c3}.match-result.win{background:#273e35;color:#afe4bd;border-color:#577564}.match-result.loss{background:#42292e;color:#e7b2b9;border-color:#76535c}.account-more{margin-top:20px;width:100%;font-size:13px}
.account-side .account-section{padding:23px}.account-side h2{font-size:21px}.account-side button{width:100%;margin-top:18px;font-size:13px}.account-side input,.account-side select{max-width:100%}.account-signout{display:inline-block;margin-top:23px;color:#d5bb91;font-size:13px}.account-status{margin-top:18px;font-size:14px;color:#e2c48e;min-height:24px}.account-storage-note{margin:15px 0;font-size:13px;color:#bbc0c3;line-height:1.6}
@media(max-width:900px){.account-columns{grid-template-columns:1fr}.account-side{display:grid;grid-template-columns:1fr 1fr}.account-side .account-section:first-child{grid-row:span 2}.account-page{padding:30px 20px}}
@media(max-width:700px){body[data-screen="menu"] .toolbar{gap:12px}body[data-screen="menu"] .toolbar #accountButton{padding:8px 10px;font-size:11px}body[data-screen="menu"] .toolbar #collectionButton{display:none}.account-heading{align-items:flex-start;flex-direction:column;gap:20px}.account-heading h1{font-size:28px}.account-heading p{font-size:12px}.account-avatar{width:56px;height:78px}.account-player{gap:15px}.account-stats>div{padding:17px 10px}.account-stats strong{font-size:25px}.account-stats span{font-size:11px}.account-side{display:flex}.account-section{padding:20px}.account-section h2{font-size:21px}.account-match{gap:10px}.match-turns{display:none}.account-match small{line-height:1.5}.account-rooms>div{gap:10px}.account-decks strong{font-size:14px}}
/* Yasa's own email sign-in experience. */
.identity-wordmark{height:auto;margin:6px 0 18px}.identity-intro{margin:0 0 22px;line-height:1.7}.identity-form{margin-top:22px}.identity-form input[type="email"],.identity-form input[type="password"],.identity-form input[type="text"]{width:100%;min-height:48px;font-size:16px}.identity-form label{margin-top:17px}.identity-password{position:relative}.identity-password input{padding-right:70px}.identity-password button{position:absolute;right:7px;top:7px;font-size:12px;border:0;background:transparent;color:#e2c48e;padding:9px}.identity-form .identity-remember{display:flex;align-items:center;gap:10px;font-size:13px;margin:21px 0}.identity-remember input{width:18px;height:18px;flex:none}.identity-submit{width:100%;margin-top:16px;min-height:48px}.identity-status{font-size:13px;line-height:1.7;min-height:22px;margin-top:15px;color:#d8c49c}.identity-status.identity-error{color:#f1b4bd}.identity-switch{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:20px}.identity-switch button{font-size:13px;color:#e0c28d;border:0;background:none;padding:8px 0}.identity-switch span{font-size:13px;color:#bbc0c3}.identity-privacy{line-height:1.7;border-top:1px solid #6b727866;margin-top:24px;padding-top:18px}.identity-divider{display:flex;align-items:center;gap:15px;font-size:12px;color:#bbc0c3;margin:17px 0}.identity-divider:before,.identity-divider:after{content:"";height:1px;background:#6b727866;flex:1}.identity-google{width:100%;min-height:48px}.identity-form[aria-busy="true"] button[type="submit"]{opacity:.65;cursor:wait}
.identity-form input[type="email"],.identity-form input[type="password"],.identity-form input[type="text"]{background:#171a1e;color:#f1e7db;border:1px solid #6b7278;border-radius:5px;padding:12px 14px;outline-offset:3px}.identity-password input[type="password"],.identity-password input[type="text"]{padding-right:70px}.identity-form input:focus-visible{outline:2px solid #ddbf87;border-color:#ddbf87}
/* Yasa Command Hall */
body[data-screen="account"]{background:#171a1e}body[data-screen="account"] .masthead{background:#171a1e;border-color:#6b727833}.account-page{max-width:1320px;padding:32px 28px 70px}.account-heading{position:relative;isolation:isolate;overflow:hidden;min-height:380px;padding:44px 48px;background:#171a1e;border:1px solid #9e7a5c55;border-radius:10px;margin-bottom:20px}.account-landscape{position:absolute;inset:0 0 0 auto;width:62%;height:100%;object-fit:cover;object-position:center 28%;z-index:-2;opacity:.8}.account-heading:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#171a1e 0%,#171a1ef5 29%,#171a1e65 67%,#171a1e12),linear-gradient(0deg,#171a1ec9,transparent 45%)}.account-hero-copy{width:min(560px,70%)}.account-heading h1{font-size:clamp(30px,3.7vw,46px);line-height:1.22;margin:20px 0 16px;overflow-wrap:anywhere}.account-heading p{font-size:16px;color:#bbc0c3;line-height:1.75}.account-heading .primary{margin-top:24px;padding:13px 20px}.account-member{display:flex;gap:13px;align-items:center;margin-top:22px}.account-member .account-avatar{width:35px;height:49px}.account-member>span{display:grid;gap:5px}.account-member strong{font-size:13px;font-weight:500}.account-member small{font-size:11px;color:#bbc0c3}.account-art-caption{position:absolute;bottom:20px;right:24px;color:#e4d4ca;font-size:10px;letter-spacing:.08em;text-shadow:0 1px 5px #171a1e}.account-landscape-backdrop{position:absolute;inset:0 0 0 auto;width:65%;height:100%;object-fit:cover;filter:blur(18px);opacity:.25;z-index:-3}.account-landscape.account-portrait-art{object-fit:contain;object-position:right center;opacity:.95;width:65%}
.account-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 30px}.account-quick button{padding:24px;text-align:left;background:#23292e;border-color:#6b727855;display:grid;gap:10px}.account-quick strong{font:21px Literata,Georgia,serif;color:#f1e4d2}.account-quick button>span:last-child{font-size:13px;color:#bbc0c3;display:flex;justify-content:space-between;gap:8px}.account-quick b{color:#ddbf87;font-size:18px;font-weight:400}.account-quick button:hover{background:#23292e;border-color:#9e7b55}.account-journey{padding:25px 28px;background:linear-gradient(120deg,#23292e,#171a1e);border-radius:9px;margin-bottom:30px}.account-journey h2{font-size:24px;margin:8px 0}.account-journey .account-section-head>span{color:#bbc0c3;font-size:12px;white-space:nowrap}.account-journey ol{list-style:none;margin:22px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.account-journey li{display:flex;align-items:flex-start;gap:12px;min-width:0}.journey-number{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;background:#343b41;color:#ebcf98;font:14px Literata,serif;border-radius:50%}.account-journey strong{font-size:14px}.account-journey p{font-size:12px;color:#bbc0c3;line-height:1.6;margin-top:6px}.account-journey button{border:0;background:transparent;color:#e4c28b;padding:10px 0 0;font-size:12px;text-align:left}.journey-done{display:block;color:#a3d0b0;font-size:12px;margin-top:10px}.complete .journey-number{color:#b1dcc0;background:#2c4639}.account-stats{background:#171a1e;border-color:#6b727855}.account-stats>div{border-color:#6b727844}.account-stats strong{font-size:35px}.account-columns{grid-template-columns:minmax(0,1fr) 310px;gap:22px}.account-section{background:#171a1e;border-color:#6b727844}.account-section h2{color:#f0dfc8}.account-section-head{flex-wrap:wrap}.account-subtitle{font-size:12px!important;color:#bbc0c3;margin:9px 0 0}.account-decks article{background:#23292e}.account-rooms>div{background:#23292e}.account-side input[type="text"]{width:100%;min-height:44px;border:1px solid #6b7278;border-radius:5px;background:#171a1e;color:#f1e7db;padding:10px 12px;font-size:16px}.account-empty{padding:22px;background:#23292e;border-radius:7px}.account-empty p{color:#bbc0c3}.account-match small{color:#bbc0c3}.account-note{color:#bbc0c3}
#dialog:has(.identity-brand){width:min(540px,94vw);background:#171a1e;border:1px solid #6b7278;border-radius:10px;padding:30px;color:#f2e5d4}#dialog:has(.identity-brand) .dialog-head{margin-bottom:24px}#dialog:has(.identity-brand) .dialog-head h2{font-size:21px}#dialog:has(.identity-brand) #closeDialog{background:#23292e;border:0}.identity-brand{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:23px}.identity-brand .identity-wordmark{width:105px;margin:0}.identity-brand>span{font:italic 12px Literata,Georgia,serif;color:#bbc0c3}.identity-world{background:linear-gradient(90deg,#171a1eef,#171a1e30),url('brand/chronopunk/mehmed.webp') center 40%/cover;border-radius:6px;padding:24px;margin-bottom:22px;min-height:130px}.identity-world p{font:24px/1.4 Literata,Georgia,serif;margin-top:9px;color:#f4e7d4}.identity-world .eyebrow{font-size:10px;color:#eed29a}.identity-intro{font-size:14px;color:#bbc0c3;line-height:1.75;margin-bottom:18px}.identity-form label{color:#bbc0c3}.identity-form input[type="email"],.identity-form input[type="password"],.identity-form input[type="text"]{background:#171a1e;border-color:#6b7278}.identity-privacy{font-size:11px;color:#bbc0c3;border-color:#6b727855}.identity-switch button{font-size:13px}.identity-status{min-height:0}.identity-status:empty{margin:0}.identity-submit{border-radius:5px}.identity-form .identity-remember{font-size:12px}
@media(max-width:1000px){.account-heading{padding:36px;min-height:360px}.account-hero-copy{width:75%}.account-quick button{padding:20px}.account-quick strong{font-size:18px}.account-columns{grid-template-columns:minmax(0,1fr) 270px}.account-journey{padding:23px}.account-journey ol{gap:18px}}
@media(max-width:800px){.account-columns{grid-template-columns:1fr}.account-side{display:grid;grid-template-columns:1fr 1fr}.account-side .account-section:first-child{grid-row:span 2}.account-quick{gap:10px}.account-quick button{padding:17px}.account-quick button>span:last-child{font-size:12px}.account-journey ol{grid-template-columns:1fr}.account-journey li{align-items:center}.account-journey li>div{flex:1}.account-journey li p{margin-top:3px}.account-journey button,.journey-done{padding-top:6px;margin-top:0}}
@media(max-width:600px){.account-page{padding:18px 16px 40px}.account-heading{padding:26px 24px;min-height:400px}.account-landscape{width:100%;opacity:.5;object-position:65% 18%}.account-heading:after{background:linear-gradient(90deg,#171a1ee0,#171a1e70),linear-gradient(0deg,#171a1e,transparent)}.account-hero-copy{width:100%}.account-heading h1{font-size:31px;max-width:100%}.account-heading p{font-size:14px}.account-art-caption{bottom:12px;left:24px;right:auto;font-size:9px}.account-quick{grid-template-columns:1fr;gap:9px;margin-bottom:24px}.account-quick button{padding:18px 20px;gap:7px}.account-quick strong{font-size:20px}.account-quick .eyebrow{font-size:10px}.account-quick button>span:last-child{font-size:13px}.account-journey{padding:22px 20px}.account-journey .account-section-head{gap:8px}.account-journey h2{font-size:23px}.account-side{display:flex}.account-stats{grid-template-columns:repeat(2,1fr)}.account-stats>div{padding:20px;border-bottom:1px solid #6b727844}.account-stats>div:nth-child(2){border-right:0}.account-stats>div:nth-child(3){border-bottom:0}.account-stats strong{font-size:31px}.account-section{padding:20px}.account-section h2{font-size:22px}.account-decks .split{gap:9px}.account-decks button,.account-match button{min-height:36px}.account-match strong{font-size:13px}#dialog:has(.identity-brand){padding:22px 20px}.identity-brand>span{font-size:10px}.identity-world{padding:20px}.identity-world p{font-size:22px}.identity-switch button{min-height:42px}.account-landscape.account-portrait-art{width:100%;object-fit:contain;object-position:right center;opacity:.55}.account-landscape-backdrop{width:100%}}
@media(prefers-reduced-motion:reduce){.account-page *{scroll-behavior:auto!important;transition:none!important}}

/* Landscape historical scenes retain the whole composition in the Command Hall. */
.account-landscape.account-portrait-art{width:70%;object-fit:contain;object-position:right center}
@media(max-width:600px){.account-landscape.account-portrait-art{width:100%;object-position:center top}.identity-world{background-position:40% center}}

.identity-brand .identity-wordmark{width:148px;max-width:48%;height:auto}

/* Google sign-in uses the official, unmodified Google icon. */
.identity-google{display:flex;align-items:center;justify-content:center;gap:10px;background:#fff;border:1px solid #747775;color:#1f1f1f;font:500 14px/20px Arial,sans-serif;padding:12px;border-radius:4px;box-shadow:none;letter-spacing:normal;text-transform:none}.identity-google img{width:20px;height:20px;flex:none}.identity-google:hover{background:#f8faff;color:#1f1f1f;border-color:#747775}.identity-google:focus-visible{outline:3px solid #a8c7fa;outline-offset:3px}
