/* Player account: shared colours and artwork with the main website. */
.cabinet-page{min-height:100vh;background:#101722;background-image:radial-gradient(ellipse at 85% 0%,#34233b88,transparent 55%);color:#f4f2fa}
.cabinet-header{border-bottom:1px solid #ffffff12;background:#151b25bf}
.cabinet-header-inner{min-height:88px;display:flex;align-items:center;gap:38px}
.cabinet-nav{display:flex;gap:28px;margin-left:auto}
.cabinet-nav a,.cabinet-back{color:#c8cad7;font-size:14px;transition:color .2s}
.cabinet-nav a:hover,.cabinet-back:hover{color:#f6a3cf}
.cabinet-back{display:flex;align-items:center;gap:10px}
.cabinet-back .icon{width:18px}
.logout-form{margin:0}
.logout-button{padding:11px 22px;min-height:42px;font-size:14px}
.cabinet-main{padding-top:56px;padding-bottom:50px}
.login-layout{display:grid;grid-template-columns:1.08fr 1fr;max-width:1130px;margin:0 auto;border:1px solid #ffffff16;border-radius:26px;overflow:hidden;box-shadow:0 24px 70px #050a1266}
.login-world{position:relative;min-height:700px;display:flex;flex-direction:column;justify-content:space-between;padding:54px 42px 32px;background:linear-gradient(180deg,#15203130,#10172230 30%,#101722de 100%),linear-gradient(90deg,#101722a0,#10172220),url('/assets/world-hero-enhanced.webp') 54% center/cover}
.login-world-copy{position:relative;z-index:1}
.login-world .eyebrow{color:#fad5e9;font-size:11px;letter-spacing:2px}
.login-world h1{font-size:clamp(34px,3.4vw,49px);line-height:1.15;letter-spacing:-1.8px;margin:24px 0}
.login-world h1 span{color:#f5a2cc}
.login-world-copy>p:last-child{font-size:16px;line-height:1.8;color:#ece9f0;max-width:380px}
.login-world-caption{display:flex;align-items:center;gap:14px;color:#fff0f8;font-size:13px;letter-spacing:.4px}
.login-world-caption .flower{width:28px;height:28px;color:#f3a1cb}
.login-panel{padding:42px 46px 34px;background:linear-gradient(150deg,#1d2534,#151d2a)}
.login-panel>.eyebrow{font-size:10px;letter-spacing:2px;margin-bottom:12px}
.login-panel h2{font-size:32px;letter-spacing:-.9px;margin:0 0 10px}
.login-description{font-size:14px;line-height:1.6;color:#aeb7c8;margin:0 0 26px}
.account-form{display:flex;flex-direction:column;gap:18px}
.account-field{display:flex;flex-direction:column;gap:8px}
.account-field label{font-size:13px;font-weight:600;color:#e5e6ef}
.account-field input{width:100%;min-height:48px;border:1px solid #405068;background:#111a28;color:#faf6ff;border-radius:10px;padding:11px 14px;font:inherit;font-size:15px;transition:border-color .2s,box-shadow .2s}
.account-field input::placeholder{color:#78889e}
.account-field input:focus-visible{outline:none;border-color:#f1a0ca;box-shadow:0 0 0 3px #ec83b922}
.account-field small{color:#99a8bd;font-size:12px;line-height:1.6}
.password-field{position:relative}
.password-field input{padding-right:48px}
.password-toggle{position:absolute;right:4px;top:4px;display:grid;place-items:center;width:40px;height:40px;color:#bdc6d8;background:transparent;border:0;border-radius:8px;cursor:pointer}
.password-toggle:hover{color:#f5a2ce;background:#ffffff08}
.password-toggle[aria-pressed=true]{color:#f5a2ce}
.password-toggle .icon{width:21px;height:21px}
.captcha-image-row{display:flex;align-items:center;gap:14px}
.captcha-image-row img{display:block;width:240px;max-width:calc(100% - 58px);height:auto;border-radius:10px;border:1px solid #405068;background:#151d2b}
.captcha-refresh{width:44px;height:44px;display:grid;place-items:center;border:1px solid #405068;border-radius:10px;background:#192535;color:#e4b4d2;cursor:pointer}
.captcha-refresh:hover{border-color:#ef9ac7;background:#2c263b}
.captcha-refresh .icon{width:20px;height:20px}
.captcha-field input{letter-spacing:3px;text-transform:uppercase;font-weight:600}
.captcha-status{color:#f3bad6;font-size:12px;line-height:1.5}
.captcha-status:empty{display:none}
.two-factor{font-size:12px;color:#b5c0d3}
.two-factor summary{cursor:pointer;padding:2px 0 6px;line-height:1.5}
.two-factor summary:hover{color:#f5a2ce}
.two-factor[open] .account-field{margin-top:12px}
.form-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.account-submit{width:100%;justify-content:center;gap:14px;min-height:50px;font-size:15px;margin-top:2px}
.account-submit:disabled{cursor:not-allowed;opacity:.65}
.account-form[data-login-busy="true"] .account-submit:disabled{cursor:wait}
.login-registration{font-size:12px;line-height:1.7;color:#a6b2c6;margin:24px 0 0}
.account-error{border:1px solid #dc729465;background:#54253660;color:#ffd0e1;border-radius:10px;padding:12px 14px;font-size:13px;line-height:1.6;margin:0 0 20px}
.profile-intro{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:36px}
.profile-identity{display:flex;gap:24px;align-items:center;min-width:0}
.player-avatar{flex-shrink:0;width:88px;height:88px;display:grid;place-items:center;border-radius:22px;color:#fdb7de;background:linear-gradient(145deg,#754165,#302340);border:1px solid #e788bd60;font-size:42px;font-weight:900;box-shadow:0 8px 25px #080d2140}
.profile-identity .eyebrow{font-size:10px;letter-spacing:2px;margin:0 0 9px}
.profile-intro h1{font-size:clamp(28px,3vw,42px);line-height:1.2;letter-spacing:-1px;margin:0 0 8px;overflow-wrap:anywhere}
.profile-intro h1 span{color:#f3a1cb}
.profile-intro p:last-child{font-size:14px;color:#a9b4c7;margin:0}
.profile-connected{display:flex;gap:8px;align-items:center;font-size:12px;color:#b8cdbf;white-space:nowrap}
.profile-connected i{width:6px;height:6px;border-radius:50%;background:#80dcb1;box-shadow:0 0 10px #80dcb155}
.profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:28px}
.profile-stat{position:relative;padding:26px;border:1px solid #ffffff16;background:linear-gradient(135deg,#202938,#182231);border-radius:18px;min-width:0}
.profile-stat>.icon{position:absolute;right:24px;top:24px;width:23px;height:23px;color:#e9a0c8}
.profile-stat>p{font-size:12px;color:#aeb9cd;margin:0 32px 19px 0}
.profile-stat h2{font-size:27px;font-weight:750;line-height:1.35;margin:0 0 10px;overflow-wrap:anywhere}
.profile-stat h2.stat-date{font-size:clamp(17px,1.7vw,23px);letter-spacing:-.5px}
.profile-stat small{font-size:11px;color:#92a2ba;line-height:1.6}
.history-panel{border:1px solid #ffffff16;border-radius:18px;background:#182231;padding:28px 30px;margin-bottom:28px}
.history-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}
.history-heading .eyebrow{font-size:10px;letter-spacing:2px;margin:0 0 9px}
.history-heading h2{font-size:25px;letter-spacing:-.5px;margin:0}
.history-tag{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:11px;color:#b8c3d5;border:1px solid #3d4c63;border-radius:20px;padding:7px 12px}
.history-tag .icon{width:15px;height:15px;color:#eba6cc}
.history-description{font-size:12px;color:#98a8bf;line-height:1.8;max-width:620px;margin:16px 0 26px}
.history-table-wrap{overflow:auto}
.history-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}
.history-table th{font-size:10px;letter-spacing:1px;text-transform:uppercase;font-weight:500;color:#889ab4;padding:0 10px 14px 0}
.history-table td{padding:17px 12px 17px 0;border-top:1px solid #ffffff10;color:#d2daea;white-space:nowrap}
.history-table td:last-child,.history-table th:last-child{text-align:right;padding-right:0}
.history-table td.history-ip{font-family:ui-monospace,Consolas,monospace;font-size:12px;color:#9dacc3}
.device-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#efa0ca;margin-right:12px;vertical-align:2px}
.profile-news{display:flex;align-items:center;justify-content:space-between;gap:26px;border:1px solid #df99c43a;border-radius:18px;padding:30px;background:linear-gradient(90deg,#33293fee,#1a2738ed),url('/assets/world-hero-enhanced.webp') center/cover}
.profile-news .eyebrow{font-size:10px;letter-spacing:1.8px;color:#eab8d6;margin:0 0 10px}
.profile-news h2{font-size:25px;margin:0 0 9px;letter-spacing:-.5px}
.profile-news p:last-child{font-size:13px;color:#aebbd0;margin:0;line-height:1.6}
.profile-news .button{flex-shrink:0;gap:10px;font-size:13px}
.cabinet-footer{padding-top:22px;padding-bottom:28px;border-top:1px solid #ffffff0d;display:flex;justify-content:space-between;gap:20px;color:#8293aa;font-size:12px}
.cabinet-footer a:hover{color:#f2a0cc}
.cabinet-page :focus-visible{outline:2px solid #f4a2ce;outline-offset:4px}
@media(max-width:1000px){
 .login-panel{padding:36px 30px}.login-world{padding:44px 30px 30px}.cabinet-header-inner{gap:25px}
 .profile-stat{padding:22px}.profile-stat>.icon{right:18px;top:21px}.profile-stat h2.stat-date{font-size:17px}
}
@media(max-width:760px){
 .cabinet-main{padding-top:28px}.cabinet-header-inner{min-height:72px;gap:15px}.cabinet-nav{display:none}.cabinet-back,.logout-form{margin-left:auto}
 .cabinet-header .brand{font-size:16px;gap:8px}.cabinet-header .flower{width:27px;height:27px}.cabinet-back{font-size:12px}.cabinet-back .icon{display:none}
 .login-layout{grid-template-columns:1fr;max-width:540px;border-radius:20px}.login-world{min-height:245px;padding:28px;background-position:55% 46%}
 .login-world h1{font-size:34px;margin:16px 0}.login-world-copy>p:last-child{display:none}.login-world-caption{margin-top:10px;font-size:11px}.login-world-caption .flower{width:21px;height:21px}
 .login-panel{padding:30px 26px}.login-panel h2{font-size:29px}.login-description{margin-bottom:24px}
 .profile-intro{align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:26px}.profile-identity{gap:16px}.player-avatar{width:64px;height:64px;border-radius:16px;font-size:30px}
 .profile-intro h1{font-size:27px;letter-spacing:-.6px}.profile-connected{margin-left:80px}.profile-stats{grid-template-columns:1fr;gap:12px}
 .profile-stat{padding:22px}.profile-stat h2.stat-date{font-size:23px}.profile-stat>p{margin-bottom:14px}.profile-stat h2{font-size:25px}
 .history-panel{padding:24px 20px}.history-heading{align-items:flex-start;flex-direction:column;gap:14px}.history-heading h2{font-size:23px}.history-table{font-size:12px;min-width:455px}.history-table td{padding-top:15px;padding-bottom:15px}
 .profile-news{flex-direction:column;align-items:flex-start;padding:26px 22px}.profile-news h2{font-size:22px}.cabinet-footer{font-size:11px}
}
@media(prefers-reduced-motion:no-preference){.login-layout,.profile-intro,.profile-stats,.history-panel{animation:account-enter .5s ease both}.profile-stats{animation-delay:.06s}.history-panel{animation-delay:.12s}@keyframes account-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}}

.profile-cosmetics{margin:24px 0;padding:27px;border:1px solid #8e6b8840;border-radius:15px;background:linear-gradient(115deg,#f39ac60b,#202b3d75)}
.wallet-row{display:flex;justify-content:space-between;align-items:center;gap:20px}.wallet-row .eyebrow{margin:0 0 12px}
.wallet-balance{display:flex;align-items:center;gap:12px}.wallet-balance strong{color:#f8d783;font-size:27px;line-height:1.2}
.wallet-note{font-size:13px;line-height:1.6;color:#aebdd5;margin:12px 0 0}.wallet-refresh{font-size:13px;padding:11px 18px}
.owned-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:27px 0 18px;padding-top:23px;border-top:1px solid #ffffff12}
.owned-heading h2{font-size:20px;margin:0}.owned-heading a{color:#f3a2c9;font-size:13px;text-decoration:none}
.owned-cosmetics>p{color:#aebdd5;font-size:14px;margin:0}.owned-group+.owned-group{margin-top:20px}
.owned-group h3{font-size:12px;letter-spacing:.5px;color:#aebdd5;margin:0 0 10px}.owned-chips{display:flex;flex-wrap:wrap;gap:9px}
.owned-chip{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 13px;background:#10192370;border:1px solid #ffffff13;border-radius:9px}
.owned-chip strong{font-size:13px;font-weight:600}.owned-chip small{font-size:10px;color:#b5e7c1}
@media(max-width:600px){.profile-cosmetics{padding:20px}.wallet-row{align-items:flex-start;gap:12px}.wallet-balance strong{font-size:23px}.wallet-refresh{padding:10px 13px}.owned-heading h2{font-size:18px}.owned-chip{gap:8px}}

.account-button.is-signed-in::after{content:"";display:block;width:6px;height:6px;flex-shrink:0;border-radius:50%;background:#80dcb1;box-shadow:0 0 8px #80dcb145}
.account-button.is-signed-in span{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* The consent is a separate affirmative choice, with a readable document link. */
.account-consent{display:flex;align-items:flex-start;gap:11px;color:#b9c5d8;font-size:13px;line-height:1.65;cursor:pointer}
.account-consent input{width:18px;height:18px;min-width:18px;flex:0 0 18px;margin:3px 0 0;accent-color:#ee91bd;cursor:pointer}
.account-consent span{min-width:0}
.account-policy-note{margin:0}
.account-consent a{color:#f2a2cb;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.account-consent a:hover{color:#ffd0e5}
.account-consent input:focus-visible,.account-consent a:focus-visible{outline:2px solid #f2a2cb;outline-offset:4px;border-radius:3px}

/* Purchase history and independently owned privileges. */
.account-commerce{margin:24px 0;color:#d8e0ef}.account-commerce [hidden]{display:none!important}
.commerce-panel{padding:27px;margin:0 0 22px;border:1px solid #8e6b8840;border-radius:15px;background:linear-gradient(115deg,#f39ac60b,#202b3d75)}
.commerce-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}
.commerce-heading .eyebrow{margin:0 0 9px}.commerce-heading h2{font-size:23px;line-height:1.3;margin:0;padding:0}
.commerce-refresh{font-size:12px;min-height:39px;padding:9px 15px;flex-shrink:0}.commerce-refresh[aria-disabled=true],.commerce-more[aria-disabled=true]{opacity:.6;cursor:wait}
.commerce-current{font-size:14px;line-height:1.6;margin:0 0 17px;color:#b7c6da}.commerce-current strong{color:#f5d493}
.commerce-rights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.commerce-right{min-width:0;padding:18px;border:1px solid #ffffff17;border-radius:11px;background:#10192360}
.commerce-right.is-active{border-color:#eb9bc67a;background:#e28ab10d}.commerce-right-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.commerce-right h3{font-size:16px;line-height:1.35;margin:0;overflow-wrap:anywhere}.commerce-badge{font-size:10px;line-height:1.4;color:#b9e7ca;background:#8bd1a510;border:1px solid #8bd1a526;border-radius:20px;padding:5px 9px;flex-shrink:0}
.commerce-badge.is-muted{color:#acb5c8;border-color:#ffffff20;background:#ffffff05}.commerce-remaining{display:block;color:#f5d493;font-size:14px;line-height:1.5}
.commerce-right>p{font-size:12px;line-height:1.6;color:#acbdd4;margin:7px 0 0}.account-commerce .commerce-small{font-size:12px;color:#a6b5cb;line-height:1.7}
.commerce-expired{margin-top:17px}.commerce-expired>summary{cursor:pointer;color:#aebfd6;font-size:13px;padding:9px 0}.commerce-expired .commerce-rights{margin-top:9px}
.commerce-kit{margin-top:21px;padding:18px 20px;border:1px solid #ffffff17;border-radius:11px;background:#111a27a0}.commerce-kit h3{font-size:15px;margin:0 0 10px}
.commerce-kit p{color:#b2c0d4;font-size:13px;line-height:1.8;margin:7px 0}.commerce-kit .commerce-kit-time{color:#f4d59b;font-weight:600}.commerce-note,.commerce-description,.commerce-history-note{font-size:12px;line-height:1.8;color:#aabbd1}
.commerce-note{margin:15px 0 0}.commerce-description{margin:0 0 20px}.commerce-total{color:#aebfd6;font-size:12px;white-space:nowrap}
.commerce-orders{list-style:none;margin:0;padding:0}.commerce-order{display:grid;grid-template-columns:minmax(130px,1.8fr) minmax(110px,1fr) auto minmax(95px,1fr);align-items:start;gap:18px;padding:19px 0;border-top:1px solid #ffffff13}
.commerce-order h3{font-size:14px;line-height:1.5;margin:0 0 5px;overflow-wrap:anywhere}.commerce-order-product>p{font-size:12px;color:#a8bbd3;line-height:1.6;margin:0 0 7px}
.commerce-order time{font-size:11px;line-height:1.8;color:#a5b5cc}.commerce-price{font-size:14px;line-height:1.6;color:#f5d493;white-space:nowrap}
.commerce-order-status{font-size:11px;line-height:1.6;color:#d8bd91;justify-self:end}.commerce-order-status.is-delivered{color:#b4e1c0}.commerce-order details{font-size:10px;line-height:1.7;color:#8fa4bf}.commerce-order summary{cursor:pointer;max-width:max-content}
.commerce-order code{font-size:10px;display:block;overflow-wrap:anywhere;max-width:100%;color:#b7c8db;margin-top:6px}
.commerce-more{font-size:12px;margin-top:15px;min-height:40px;padding:10px 18px}.commerce-empty{font-size:13px;line-height:1.8;color:#aabbd1;margin:0;grid-column:1/-1}
.commerce-history-note{margin:12px 0 0}.account-commerce a:focus-visible,.account-commerce summary:focus-visible{outline:2px solid #f2a2cb;outline-offset:4px;border-radius:4px}
@media(max-width:1000px){.commerce-order{grid-template-columns:minmax(120px,1.8fr) minmax(100px,1fr) auto;gap:12px}.commerce-order-status{grid-column:2/-1;justify-self:start}.commerce-right-heading{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:620px){.commerce-panel{padding:22px 18px}.commerce-heading{align-items:flex-start;gap:12px}.commerce-heading h2{font-size:20px}.commerce-heading .eyebrow{font-size:10px}.commerce-rights{grid-template-columns:1fr}.commerce-right{padding:16px}.commerce-kit{padding:16px}.commerce-refresh{padding:9px 11px}.commerce-current{font-size:13px}.commerce-order{grid-template-columns:minmax(0,1fr) auto;gap:9px 13px}.commerce-order-product{grid-column:1/-1}.commerce-order time{grid-column:1;grid-row:2}.commerce-price{grid-column:2;grid-row:2}.commerce-order-status{grid-column:1/-1;grid-row:3}.commerce-total{font-size:11px}.commerce-heading h2{overflow-wrap:anywhere}}
