@import url('/assets/fonts/fonts.css');
/* Approved Host Matey visual system. Existing controls retain their data hooks. */
:root {
  color-scheme: light;
  --bg:#f1f1e9; --paper:#fafbf6; --soft:#e8ebe1; --ink:#202522; --muted:#596157;
  --blue:#93501f; --blue-dark:#753b14; --action-bg:#f49460; --action-hover:#ffab7a; --action-text:#202522;
  --orange:#b35726; --line:#d5d9ce; --shadow:0 8px 24px #17201908;
  --surface-raised:var(--paper); --surface-sunk:var(--soft); --stroke-strong:#a4b09e; --border:var(--line); --surface:var(--paper);
  --matey-dark:#171c19; --matey-nav:#d7dfcf; --matey-accent:#f49460;
  --success:#2c633c; --success-bg:#e1eadc; --warning:#875320; --warning-bg:#f4e6d4; --danger:#a13b32; --danger-bg:#f4e1da;
  --max:1240px;
}
:root[data-theme="dark"] {
  color-scheme:dark;
  --bg:#1c221e; --paper:#252d26; --soft:#303a2f; --ink:#eef1e7; --muted:#b0bca7;
  --blue:#ffb684; --blue-dark:#ffcda8; --action-bg:#f49460; --action-hover:#ffab7a; --action-text:#202522;
  --orange:#f49460; --line:#455040; --shadow:0 8px 24px #00000015;
  --surface-raised:var(--paper); --surface-sunk:#171e18; --stroke-strong:#74866b; --border:var(--line); --surface:var(--paper);
  --success:#b8ddab; --success-bg:#30482f; --warning:#f1c78f; --warning-bg:#4c3e29; --danger:#ffb3a1; --danger-bg:#4b302a;
}
*,*::before,*::after{box-sizing:border-box}
body.matey-ui{background:var(--bg);color:var(--ink);font:14px/1.6 Inter,Arial,sans-serif;letter-spacing:0;font-synthesis:none}
.matey-ui h1,.matey-ui h2,.matey-ui h3{font-family:Inter,Arial,sans-serif;letter-spacing:-.035em;color:var(--ink);font-weight:600}
.matey-ui p{color:var(--muted)}
.matey-ui button,.matey-ui input,.matey-ui select,.matey-ui textarea{font:inherit}
.matey-ui a,.matey-ui button{touch-action:manipulation}
.matey-ui a:focus-visible,.matey-ui button:focus-visible,.matey-ui summary:focus-visible,.matey-ui input:focus-visible,.matey-ui select:focus-visible,.matey-ui textarea:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
.matey-ui [hidden]{display:none!important}
.matey-ui .container{width:min(calc(100% - 80px),var(--max));margin-inline:auto}
.matey-ui .site-header,.matey-ui .matey-rail{background:var(--matey-dark);color:#edf1e4;box-shadow:none}
.matey-ui .site-header{border-color:#ffffff18}
.matey-ui .header-inner{min-height:84px;gap:24px}
.matey-ui .brand{font-size:23px;font-weight:700;letter-spacing:-1px;color:#f1f3eb}
.matey-ui .brand img{width:33px;height:33px;filter:none;box-shadow:none}
.matey-ui .brand span span{font-weight:400;color:inherit}
.matey-ui .nav{gap:12px}
.matey-ui .nav a{font-size:12px;font-weight:500;color:#c5cebb;padding:8px;background:none;border-radius:0}
.matey-ui .nav a:hover,.matey-ui .nav a[aria-current=page]{color:var(--matey-accent);background:none}
.matey-ui .account-menu summary{background:#293224;border:1px solid #53604a;color:#e0e6d7;border-radius:7px;width:42px;height:42px}
.matey-ui .account-menu[open] summary,.matey-ui .account-menu summary:hover{background:#3c4934;color:#fff}
.matey-ui .account-dropdown{background:var(--paper);border-color:var(--line);border-radius:8px;box-shadow:0 12px 32px #0003}
.matey-ui .account-dropdown a{color:var(--ink);font-size:13px;font-weight:500;border-radius:5px}
.matey-ui .account-dropdown a:hover{color:var(--ink);background:var(--soft)}
.matey-theme-button{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:8px 11px;background:transparent;border:1px solid #53604a;border-radius:6px;color:#e0e6d7;font-size:12px;cursor:pointer;white-space:nowrap}
.matey-theme-button>span:first-child{font-size:20px;line-height:1}
.matey-theme-button[aria-pressed=true]{border-color:#e29969}
.matey-ui .status-bar{background:#293223;color:#c4cfb9;font-size:11px;font-weight:400;padding:9px 0}
.matey-ui .status-dot{background:#a5c18b;box-shadow:none;width:6px;height:6px}
.matey-ui .eyebrow,.matey-ui .account-eyebrow,.matey-ui .ops-kicker,.matey-ui .services-eyebrow{color:var(--blue);font-size:10px;font-weight:600;letter-spacing:1.8px}
.matey-ui .eyebrow::before{background:var(--matey-accent);height:2px;border-radius:0}
.matey-ui .button,.matey-ui .portal-main button,.matey-ui .account-action,.matey-ui .action-link{background:var(--action-bg);border:1px solid transparent;border-radius:6px;color:var(--action-text);box-shadow:none;font-size:13px;font-weight:600;min-height:43px;padding:11px 17px;text-decoration:none;transform:none;transition:background .15s}
.matey-ui .button:hover,.matey-ui .portal-main button:hover,.matey-ui .account-action:hover,.matey-ui .action-link:hover{background:var(--action-hover);color:var(--action-text);box-shadow:none;transform:none}
.matey-ui .button.secondary,.matey-ui .portal-main button.secondary,.matey-ui .action-link.secondary{background:transparent;color:var(--ink);border-color:var(--line);box-shadow:none;margin:0}
.matey-ui .button.secondary:hover,.matey-ui .portal-main button.secondary:hover,.matey-ui .action-link.secondary:hover{background:var(--soft);color:var(--ink)}
.matey-ui button:disabled{opacity:.5;cursor:not-allowed}
.matey-ui .hero{padding:66px 0 60px;background:var(--matey-dark);border:0;overflow:hidden}
.matey-ui .hero::before{display:none}
.matey-ui .hero-grid{grid-template-columns:.9fr 1.1fr;gap:55px}
.matey-ui .hero h1{font-family:'Barlow Condensed','Arial Narrow',sans-serif;text-transform:uppercase;font-size:clamp(64px,7.1vw,96px);font-weight:700;line-height:.95;letter-spacing:-1.8px;color:#f1f3eb;margin:25px 0}
.matey-ui .hero h1 em{color:var(--matey-accent)}
.matey-ui .hero .eyebrow{color:#c3ceb8}
.matey-ui .hero .lede{font-size:14px;line-height:1.8;color:#acb69f;max-width:390px}
.matey-ui .hero .button.secondary{color:#edf1e4;border-color:#53604a}
.matey-ui .hero .button.secondary:hover{background:#303b29}
.matey-ui .hero-footnote{font-size:11px;color:#b3bea8}
.matey-world{border:1px solid #68745b;padding:10px;background:#252d22;transform:rotate(1deg);min-width:0}
.matey-world>img{display:block;width:100%;height:370px;object-fit:cover}
.matey-world-caption{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#293121;padding:18px 20px;color:#f1f3eb}
.matey-world-caption strong{display:block;font-size:16px;font-weight:600}
.matey-world-caption small{display:block;color:#b2bea4;font-size:11px;margin-top:4px}
.matey-world-caption a{display:grid;place-items:center;width:38px;height:38px;background:var(--matey-accent);color:#172118;border-radius:50%;font-size:23px}
.matey-ui .section{padding:58px 0;background:var(--bg)}
.matey-ui .section.soft{background:var(--soft)}
.matey-ui .section-heading{margin-bottom:28px}
.matey-ui .section-heading h2,.matey-ui .journey h2{font-size:34px;line-height:1.15}
.matey-ui .section-heading p{font-size:13px;max-width:590px}
.matey-ui .game-preview-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.matey-ui .game-preview-card{min-height:280px;border-radius:7px;border:1px solid var(--line);box-shadow:none;transition:transform .15s;background-size:cover}
.matey-ui .game-preview-card:hover{transform:translateY(-3px);box-shadow:none}
.matey-ui .game-preview-card h3{font-size:21px;color:#fff;font-weight:600;letter-spacing:-.03em}
.matey-ui .game-preview-card p{color:#e0e6d7;font-size:12px}
.matey-ui .game-preview-number{font-size:10px;letter-spacing:1.4px;color:#e5edde}
.matey-ui .game-preview-cta{color:var(--matey-accent);font-size:12px}
.matey-ui .game-legal{font-size:11px;color:var(--muted)}
.matey-ui .card,.matey-ui .feature-panel,.matey-ui .faq details{background:var(--paper);border:1px solid var(--line);border-radius:8px;box-shadow:none}
.matey-ui .card:hover{transform:none;box-shadow:none}
.matey-ui .card p,.matey-ui .feature-panel p{color:var(--muted)}
.matey-ui .page-hero{background:var(--bg);border:0;padding:38px 0;box-shadow:none}
.matey-ui .page-hero h1{font-size:clamp(32px,4vw,55px);color:var(--ink)}
.matey-ui .page-hero .lede{font-size:15px}
.matey-ui .game-detail-hero{border-radius:8px}
.matey-ui .site-footer{background:var(--matey-dark);color:#bfcaaf;border-top:1px solid #414d37}
.matey-ui .site-footer h3{color:#eef2e7}
.matey-ui .site-footer p,.matey-ui .site-footer a,.matey-ui .footer-bottom{color:#bcc7ac;font-size:12px}
.matey-ui .footer-bottom{border-color:#414d37}
.matey-ui .site-footer .brand{color:#eef2e7}
.matey-ui .seo-table-scroll,.matey-ui .seo-plan-table{border-color:var(--line);border-radius:7px;box-shadow:none;background:var(--paper)}
.matey-ui .seo-plan-table th{background:var(--soft);color:var(--muted)}
.matey-ui .seo-plan-table td{color:var(--ink);border-color:var(--line)}
/* The application shell leaves the public menu at the storefront. */
.matey-ui.matey-app{padding-left:223px}
.matey-rail{width:223px;position:fixed;inset:0 auto 0 0;z-index:45;display:flex;flex-direction:column;gap:0;overflow-y:auto;padding:26px 17px}
.matey-rail .brand{padding:0 10px;font-size:20px;margin-bottom:26px}
.matey-rail .brand img{width:30px;height:30px}
.matey-workspace-label{margin:0 4px 19px;border:1px solid #414d37;border-radius:7px;padding:11px 10px;display:flex;gap:10px;align-items:center;font-size:12px}
.matey-workspace-label>span{font-size:21px;padding:3px 8px;border-radius:5px;background:#323e2c}
.matey-workspace-label small,.matey-profile small{display:block;font-size:10px;color:#a1af94;margin-top:3px}
.matey-nav-label{font-size:9px;letter-spacing:1.6px;text-transform:uppercase;color:#a1af94;padding:12px 13px 7px}
.matey-side-nav{display:flex;flex-direction:column;gap:3px}
.matey-side-nav a{display:flex;align-items:center;gap:11px;min-height:41px;padding:10px 12px;border-radius:6px;color:#d2dac8;font-size:12px;font-weight:500;border-left:2px solid transparent;text-decoration:none}
.matey-side-nav a span{color:#acba9d;font-size:17px;width:18px;text-align:center}
.matey-side-nav a:hover{background:#293224;color:#fff}
.matey-side-nav a[aria-current=page]{background:#323e2c;border-left-color:var(--matey-accent);color:#fff3df}
.matey-rail-bottom{margin-top:auto;padding:32px 9px 0}
.matey-help{display:block;border:1px solid #46503e;padding:14px;border-radius:7px;font-size:12px;color:#d2dac8}
.matey-help small{display:block;color:var(--matey-accent);font-size:10px;margin-top:7px}
.matey-profile{display:flex;align-items:center;gap:10px;color:#d2dac8;font-size:12px;margin-top:24px}
.matey-avatar{display:inline-grid;place-items:center;background:#d9e1cf;color:#36432f;border-radius:50%;width:31px;height:31px;font-weight:600;font-size:12px;flex:none}
.matey-topbar{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 37px;background:var(--paper);border-bottom:1px solid var(--line);position:relative;z-index:30}
.matey-breadcrumb{display:flex;gap:12px;align-items:center;color:var(--muted);font-size:12px;min-width:0}
.matey-breadcrumb>span:last-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:380px}
.matey-breadcrumb a{color:var(--muted)}
.matey-top-actions{display:flex;gap:19px;align-items:center;white-space:nowrap;font-size:12px;color:var(--muted)}
.matey-top-actions .matey-theme-button{color:var(--ink);border-color:var(--line)}
.matey-menu-button,.matey-nav-scrim{display:none}
.matey-app>.site-footer{display:none}
.matey-ui .portal-main{padding:35px 0 55px;background:var(--bg);min-height:calc(100vh - 68px)}
.matey-ui .portal-main .portal-container{width:calc(100% - 74px);max-width:1406px;margin-inline:auto}
.matey-ui .portal-main h1{font-size:32px;font-weight:600;letter-spacing:-1px;line-height:1.2;margin:0 0 22px;max-width:none}
.matey-ui .portal-main h2{font-size:18px;line-height:1.3}
.matey-ui .portal-main h3{font-size:16px;line-height:1.3}
.matey-ui .portal-main .page-hero{padding:0 0 20px;margin-bottom:5px}
.matey-ui .portal-notice{background:var(--warning-bg);color:var(--ink);border:1px solid var(--line);border-radius:6px;box-shadow:none;padding:13px 17px;font-size:13px}
.matey-ui .portal-main input:not([type=checkbox]):not([type=radio]):not([type=file]),.matey-ui .portal-main select,.matey-ui .portal-main textarea{border:1px solid var(--stroke-strong);background:var(--paper);color:var(--ink);border-radius:6px;min-height:43px;padding:10px 12px;box-shadow:none;font-size:13px}
.matey-ui input[type=radio],.matey-ui input[type=checkbox]{accent-color:#b75a2b}
.matey-ui .portal-main input::placeholder,.matey-ui .portal-main textarea::placeholder{color:var(--muted);opacity:.85}
.matey-ui .portal-main label{color:var(--ink);font-size:13px}
.matey-ui .portal-main .errorlist{color:var(--danger)}
.matey-ui .account-panel,.matey-ui .ops-panel,.matey-ui .tile,.matey-ui .workspace-panel,.matey-ui .workspace-card,.matey-ui .workspace-table-wrap,.matey-ui .account-home-activity,.matey-ui .account-home-links,.matey-ui .account-home-mini{background:var(--paper);border:1px solid var(--line);border-radius:8px;box-shadow:none;color:var(--ink)}
.matey-ui .account-panel,.matey-ui .ops-panel{padding:22px;margin-bottom:20px}
.matey-ui .account-panel p,.matey-ui .ops-panel p,.matey-ui .account-panel small,.matey-ui .ops-note,.matey-ui .account-muted{color:var(--muted)}
.matey-ui .account-list-row,.matey-ui .ops-list>a{border-color:var(--line);color:var(--ink);padding:16px 0}
.matey-ui .account-home-intro,.matey-ui .services-heading,.matey-ui .ops-header{margin:0 0 26px;align-items:center;gap:16px}
.matey-ui .account-home-intro h1,.matey-ui .services-heading h1,.matey-ui .ops-header h1{margin:0}
.matey-ui .account-home-layout{grid-template-columns:minmax(0,1fr) 285px;gap:20px}
.matey-ui .featured-server{border-radius:8px;border-color:var(--line);box-shadow:none;min-height:265px}
.matey-ui .featured-server h2,.matey-ui .featured-server p{color:#fff3e5}
.matey-ui .featured-server a{background:var(--action-bg);color:var(--action-text);border-radius:6px}
.matey-ui .featured-server::before{background:linear-gradient(0deg,#172019ed,#17201920)}
.matey-ui .featured-empty{background:var(--matey-dark)}
.matey-ui .account-home-mini strong{color:var(--ink);font-weight:600;font-size:32px}
.matey-ui .account-home-links a{color:var(--ink);font-size:13px}
.matey-ui .account-home-links a:hover{color:var(--blue);background:var(--soft)}
.matey-ui .ops-stats,.matey-ui .services-summary{gap:13px;margin-bottom:25px}
.matey-ui .ops-stats>a,.matey-ui .services-summary>div{display:flex;flex-direction:column-reverse;align-items:flex-start;background:var(--paper);border:1px solid var(--line);border-radius:7px;padding:17px 20px;box-shadow:none;gap:9px}
.matey-ui .ops-stats strong,.matey-ui .services-summary strong{font-size:29px;font-weight:600;color:var(--ink);line-height:1.2}
.matey-ui .ops-stats span,.matey-ui .services-summary span{font-size:11px;color:var(--muted)}
.matey-ui .settings-nav{gap:8px;margin-bottom:22px;flex-wrap:wrap;border:0;background:none;padding:0}
.matey-ui .settings-nav a{padding:8px 13px;border:1px solid var(--line);background:var(--paper);color:var(--muted);border-radius:6px;font-size:12px}
.matey-ui .settings-nav a[aria-current=page]{color:var(--ink);background:var(--soft);border-color:var(--stroke-strong)}
.matey-ui .portal-main table{font-size:12px;border-collapse:collapse;background:var(--paper);color:var(--ink);border-color:var(--line)}
.matey-ui .portal-main th{background:var(--soft);color:var(--muted);font-size:10px;font-weight:500;letter-spacing:.7px;text-transform:uppercase;padding:13px 16px;border-color:var(--line)}
.matey-ui .portal-main td{background:transparent;border-color:var(--line);padding:15px 16px;color:var(--ink)}
.matey-ui .ops-table-wrap,.matey-ui .workspace-table-wrap{overflow:auto;max-width:100%}
.matey-ui .ops-grid{gap:20px}
.matey-ui .ops-header .ops-kicker{margin-bottom:9px;display:block}
/* Service cards: artwork identifies the world; billing and controls use opaque surfaces. */
.matey-ui .service-grid[data-view=grid]{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.matey-ui .service-card{border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink);box-shadow:none}
.matey-ui .service-card-content{padding:0;display:flex;flex-direction:column}
.matey-ui .service-card .service-art,.matey-ui .service-card-shade{height:158px;inset:0 0 auto;transform:none;opacity:1}
.matey-ui .service-card-shade{background:linear-gradient(0deg,#172019ed,#17201910)}
.matey-ui .service-card:hover .service-art{transform:none}
.service-visual-header{min-height:158px;padding:15px 18px;display:flex;flex-direction:column;justify-content:space-between;position:relative;z-index:1}
.matey-ui .service-card-top{align-items:center}
.matey-ui .service-game{font-size:10px;letter-spacing:1.4px;color:#e0e6d7;font-weight:500}
.matey-ui .service-identity{margin:15px 0 0}
.matey-ui .service-identity h2{font-size:20px;color:#fff3e5;font-weight:600;white-space:normal;overflow-wrap:anywhere}
.matey-ui .service-identity p{color:#d4dec7;font-size:11px}
.service-working-body{padding:17px 18px}
.matey-ui .service-rental{background:var(--soft);border:1px solid var(--line);border-radius:5px;padding:11px 12px;margin:0 0 17px;color:var(--ink);display:block}
.matey-ui .service-rental-status{font-size:12px;color:var(--ink);font-weight:500}
.matey-ui .service-rental-date{font-size:11px;line-height:1.6;color:var(--muted);margin:4px 0 9px}
.matey-ui .service-rental-sandbox{color:var(--warning);background:var(--warning-bg);font-size:10px}
.matey-ui .service-card .service-rental-manage{color:var(--ink);background:var(--paper);border-color:var(--line);padding:7px 11px;min-height:36px;font-size:11px;width:auto}
.matey-ui .service-metrics{gap:12px;margin:12px 0}
.matey-ui .service-metric{background:none;border:0;padding:0}
.matey-ui .service-metric span{color:var(--muted);font-size:9px;font-weight:500;letter-spacing:.5px}
.matey-ui .service-metric strong{color:var(--ink);font-size:12px;font-weight:500;margin:6px 0}
.matey-ui .service-meter{background:var(--line);height:3px}
.matey-ui .service-meter i{background:#759761}
.matey-ui .service-activity{margin:14px 0;color:var(--ink)}
.matey-ui .service-section-title,.matey-ui .service-activity time{color:var(--muted);font-weight:500;font-size:9px}
.matey-ui .service-activity li{color:var(--ink)!important;font-size:11px}
.matey-ui .service-card-footer{border-color:var(--line);padding-top:14px;gap:8px}
.matey-ui .portal-main .service-manage{background:var(--ink);color:var(--paper);border-radius:6px;padding:10px 12px;min-height:40px;font-size:12px;font-weight:600}
.matey-ui .portal-main .service-manage:hover{background:var(--soft);color:var(--ink)}
.matey-ui .service-power button{background:var(--paper);border:1px solid var(--line);color:var(--ink);min-height:38px;width:38px;padding:9px;box-shadow:none}
.matey-ui .service-power button:hover{background:var(--soft);color:var(--ink)}
.matey-ui .service-state,.matey-ui .customer-panel-state{border-radius:4px;font-size:10px;padding:5px 8px;background:var(--soft);border:0;color:var(--ink)}
.matey-ui .service-state[data-state=running],.matey-ui .customer-panel-state[data-state=running]{background:var(--success-bg);color:var(--success)}
.matey-ui .service-state[data-state=unavailable],.matey-ui .customer-panel-state[data-state=unavailable],.matey-ui .service-state[data-state=starting],.matey-ui .service-state[data-state=stopping]{background:var(--warning-bg);color:var(--warning)}
.matey-ui .services-toolbar{margin-bottom:20px;gap:16px}
.matey-ui .services-view button{background:var(--paper);color:var(--ink);border:1px solid var(--line);padding:8px 12px;font-size:12px}
.matey-ui .services-view button[aria-pressed=true]{background:var(--ink);color:var(--paper)}
.matey-ui .service-grid[data-view=list]{display:flex;flex-direction:column}
.matey-ui .service-grid[data-view=list] .service-card-content{display:grid;grid-template-columns:250px 1fr;gap:0}
.matey-ui .service-grid[data-view=list] .service-card .service-art,.matey-ui .service-grid[data-view=list] .service-card-shade{width:250px;height:100%}
.matey-ui .service-grid[data-view=list] .service-working-body{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;align-items:center}
.matey-ui .service-grid[data-view=list] .service-rental{margin:0;grid-row:span 2}
.matey-ui .service-grid[data-view=list] .service-activity{display:none}
.matey-ui .service-grid[data-view=list] .service-card-footer{grid-column:2}
/* Server controls, resource history, console and all existing panels. */
.matey-ui .portal-main.panel-page{padding-top:28px}
.matey-ui .server-hero{border:1px solid var(--line);border-radius:8px;min-height:150px;box-shadow:none;background-color:var(--matey-dark)}
.matey-ui .server-hero h1,.matey-ui .server-hero .account-eyebrow,.matey-ui .server-hero p{color:#fff3e5}
.matey-ui .server-hero::before{background:linear-gradient(90deg,#172019e8,#17201950)}
.matey-ui .workspace-rental-summary{background:var(--soft);border-color:var(--line);border-radius:6px;color:var(--ink);font-size:12px;margin:12px 0 20px}
.matey-ui .workspace-rental-summary strong,.matey-ui .workspace-rental-summary span{color:var(--ink)}
.matey-ui .workspace-shell{border:0;border-radius:0;box-shadow:none;background:transparent;gap:20px;grid-template-columns:190px minmax(0,1fr)}
.matey-ui .workspace-shell[data-nav-collapsed=true]{grid-template-columns:63px minmax(0,1fr)}
.matey-ui .customer-panel-sidebar{background:var(--matey-dark);border:1px solid #414d37;border-radius:8px;padding:16px 10px;color:#d2dac8;box-shadow:none}
.matey-ui .sidebar-label{color:#acba9d;font-size:9px;letter-spacing:1.4px}
.matey-ui .customer-panel-tabs{gap:3px}
.matey-ui .customer-panel-tabs a,.matey-ui .customer-panel-tabs button{background:transparent;border:0;color:#d2dac8;border-radius:5px;text-align:left;padding:10px 11px;font-size:12px;min-height:41px;font-weight:500;box-shadow:none}
.matey-ui .customer-panel-tabs a:hover,.matey-ui .customer-panel-tabs button:hover{background:#293224;color:#fff}
.matey-ui .customer-panel-tabs button[aria-current=page],.matey-ui .customer-panel-tabs a[aria-current=page]{background:#323e2c;color:#fff3df;box-shadow:inset 2px 0 var(--matey-accent)}
.matey-ui .customer-panel-main{padding:0;background:transparent;color:var(--ink);min-width:0}
.matey-ui .customer-panel-section{background:transparent}
.matey-ui .workspace-panel,.matey-ui .workspace-stat,.matey-ui .resource-card{background:var(--paper);border-color:var(--line);border-radius:7px;box-shadow:none}
.matey-ui .workspace-stat strong,.matey-ui .resource-card strong{color:var(--ink)}
.matey-ui .workspace-chart-card,.matey-ui .workspace-info-card,.matey-ui .workspace-permissions{background:var(--paper);border-color:var(--line);border-radius:7px;box-shadow:none}
.matey-ui .chart-grid{stroke:var(--line)}
.matey-ui .chart-line{stroke:#85a76c}
.matey-ui .chart-fill{fill:#85a76c20}
.matey-ui .chart-caption,.matey-ui .chart-live{color:var(--muted)}
.matey-ui .customer-panel-console{background:#171e18;border:1px solid #45533e;color:#d2dfc5;border-radius:6px;font:12px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;box-shadow:none}
.matey-ui .customer-panel-console span{color:inherit}
.matey-ui .customer-panel-file-list button{background:transparent;color:var(--ink);font-size:12px;border:0;box-shadow:none}
.matey-ui .customer-panel-file-list button:hover{background:var(--soft)}
.matey-ui .workspace-toolbar,.matey-ui .file-toolbar,.matey-ui .console-toolbar,.matey-ui .workspace-hint{background:var(--soft);border-color:var(--line);color:var(--ink);border-radius:6px}
.matey-ui .workspace-danger,.matey-ui .rental-stop{background:var(--danger-bg);border-color:var(--danger);color:var(--ink)}
.matey-ui .rental-layout{gap:20px}
.matey-ui .rental-details>div,.matey-ui .rental-history li{border-color:var(--line)}
.matey-ui .rental-details dt{color:var(--muted);font-size:12px}
.matey-ui .rental-details dd{color:var(--ink);font-size:14px}
.matey-ui .rental-stop button,.matey-ui .rental-stop .action-link{background:var(--danger-bg);color:var(--danger);border-color:var(--danger)}
.matey-ui .retained-files{background:var(--paper);border-color:var(--line)}
/* Checkout uses the actual form and backend calculated resources and totals. */
.matey-ui .checkout-progress{padding:0 0 18px;margin-bottom:25px;border:0;gap:20px;background:none;font-size:12px}
.matey-ui .checkout-progress span{padding:9px 0;border-radius:0;border-bottom:2px solid var(--line);color:var(--muted);background:none}
.matey-ui .checkout-progress [aria-current=step]{border-color:var(--orange);color:var(--ink);background:none;font-weight:600}
.matey-ui .order-hero{height:170px;min-height:170px;border-radius:8px;box-shadow:none;border-color:var(--line);margin-bottom:24px}
.matey-ui .order-hero h2{font-size:27px;color:#fff3e5}
.matey-ui .order-workspace{grid-template-columns:minmax(0,1fr) 325px;gap:24px}
.matey-ui .order-section{background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:22px;box-shadow:none;margin-bottom:18px}
.matey-ui .order-section-head{gap:13px;margin-bottom:20px}
.matey-ui .order-step-number{background:var(--soft);color:var(--blue);border:0;border-radius:5px;font-size:12px;width:30px;height:30px}
.matey-ui .order-section-head h2{font-size:17px;letter-spacing:-.3px}
.matey-ui .order-choice-body{background:var(--paper);border-color:var(--line);border-radius:6px;padding:15px;box-shadow:none;color:var(--ink)}
.matey-ui .order-choice-body strong{color:var(--ink);font-size:14px;font-weight:600}
.matey-ui .order-choice-body small{color:var(--muted);font-size:11px}
.matey-ui .order-choice input:checked+.order-choice-body{border-color:var(--orange);background:var(--soft);box-shadow:inset 0 0 0 1px var(--orange)}
.matey-ui .order-summary{top:24px;background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:22px;box-shadow:none;color:var(--ink)}
.matey-ui .order-summary h2{font-size:17px;color:var(--ink)}
.matey-ui .order-summary dt,.matey-ui .order-summary small{color:var(--muted);font-size:11px}
.matey-ui .order-summary dd{color:var(--ink);font-size:12px}
.matey-ui .order-summary-total{border-color:var(--line)}
.matey-ui .order-summary-total strong{font-size:30px;color:var(--ink)}
.matey-ui .order-live-status{background:var(--soft);color:var(--ink);border-color:var(--line);border-radius:5px}
.matey-ui .order-software a{background:var(--paper);color:var(--muted);border-color:var(--line);border-radius:6px}
.matey-ui .order-software a[aria-current=page]{color:var(--ink);background:var(--soft);border-color:var(--orange)}
.matey-ui .order-extra,.matey-ui .order-subdomain{background:var(--soft);border-color:var(--line);color:var(--ink);border-radius:6px}
.matey-ui .checkout-integrated{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;background:transparent;border:0;padding:0;align-items:start}
.checkout-facts{grid-column:2;grid-row:1;background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:24px;position:sticky;top:24px}
.checkout-next{grid-column:1;grid-row:1;background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:24px;min-width:0}
.matey-ui .checkout-facts .plan-specs{display:block}
.matey-ui .checkout-facts .plan-specs>div{display:flex;justify-content:space-between;gap:20px;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:12px 0;background:none}
.matey-ui .checkout-facts dt{color:var(--muted);font-size:12px;flex:none}
.matey-ui .checkout-facts dd{color:var(--ink);font-size:13px;text-align:right;margin:0;overflow-wrap:anywhere}
.matey-ui .checkout-next p a,.matey-ui .checkout-next label a{display:inline}
.matey-ui .payment-actions{display:flex;flex-direction:column;gap:12px;margin:25px 0}
.matey-ui .payment-actions button{min-height:48px}
.matey-ui .auth-side{background:#232e21;color:#e0e6d7;border:1px solid #46543d;border-radius:8px;box-shadow:none}
.matey-ui .auth-side::after{display:none}
.matey-ui .auth-side h2{font-family:'Barlow Condensed',sans-serif;text-transform:uppercase;color:#eef2e7;font-size:42px;font-weight:700}
.matey-ui .auth-side p{color:#bbc8ae}
.matey-ui .auth-layout .card{border-radius:8px}
.matey-ui .ticket-thread .ops-panel{border-left:3px solid var(--stroke-strong)}
.matey-ui .ticket-body{font-size:14px;line-height:1.8;color:var(--ink);overflow-wrap:anywhere}
.matey-ui .support-filters,.matey-ui .help-search{background:var(--paper);border-color:var(--line);border-radius:7px;box-shadow:none}
@media(min-width:901px){.matey-app .portal-container{min-width:0}}
@media(max-width:1200px){.matey-ui .nav{gap:0}.matey-ui .nav a{padding:8px}.matey-ui .service-grid[data-view=grid]{grid-template-columns:repeat(2,minmax(0,1fr))}.matey-ui .account-home-layout{grid-template-columns:minmax(0,1fr) 250px}.matey-ui .workspace-shell{grid-template-columns:160px minmax(0,1fr)}.matey-ui .game-preview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.matey-ui .theme-button-label{display:none}}
@media(max-width:900px){
  .matey-ui.matey-app{padding-left:0}.matey-rail{transform:translateX(-100%);transition:transform .18s;width:260px;z-index:70}
  .matey-nav-open .matey-rail{transform:none}.matey-nav-open{overflow:hidden}
  .matey-menu-button{display:block;background:transparent;color:var(--ink);border:1px solid var(--line);border-radius:6px;min-height:42px;min-width:42px;font-size:20px}
  .matey-nav-scrim{display:block;position:fixed;inset:0;z-index:65;background:#0008;border:0;border-radius:0}
  .matey-nav-open .matey-menu-button{position:fixed;left:272px;top:12px;z-index:80;background:var(--paper);color:var(--ink)}
  .matey-topbar{padding:12px 24px;min-height:68px}.matey-breadcrumb{margin-right:auto}.matey-top-actions{gap:12px}
  .matey-ui .portal-main .portal-container{width:calc(100% - 48px)}
  .matey-ui .container{width:calc(100% - 48px)}
  .matey-ui .hero-grid{gap:30px}.matey-world>img{height:310px}
  .matey-ui .game-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .matey-ui .order-workspace{grid-template-columns:minmax(0,1fr) 285px;gap:18px}
  .matey-ui .checkout-integrated{grid-template-columns:minmax(0,1fr) 285px;gap:18px}
  .matey-ui .service-grid[data-view=list] .service-card-content{grid-template-columns:200px 1fr}
  .matey-ui .service-grid[data-view=list] .service-card .service-art,.matey-ui .service-grid[data-view=list] .service-card-shade{width:200px}
}
@media(max-width:800px){
  .matey-ui .workspace-shell,.matey-ui .workspace-shell[data-nav-collapsed=true]{display:block}
  .matey-ui .customer-panel-sidebar{border-radius:0;position:fixed;top:0;left:0;bottom:0;width:260px;max-height:100dvh;height:100dvh;z-index:60;transform:translateX(-100%)}
  .matey-ui .workspace-shell[data-nav-open=true] .customer-panel-sidebar{transform:none}
  .matey-ui .workspace-mobile-bar{display:block;margin-bottom:15px}
  .matey-ui .workspace-mobile-toggle{min-height:42px}
  .matey-ui .workspace-sidebar-scrim{z-index:55}
  .matey-ui .account-home-layout{grid-template-columns:1fr}
}
@media(max-width:700px){
  .matey-ui .nav{display:none}.matey-ui .mobile-nav{display:block}.matey-ui .mobile-nav>summary{color:#e0e6d7;background:#293224;border:1px solid #53604a;border-radius:6px;min-height:42px;padding:8px 11px;font-size:12px}
  .matey-ui .mobile-nav nav{background:var(--paper);border-color:var(--line);border-radius:8px}.matey-ui .mobile-nav nav a{color:var(--ink);font-size:13px}
  .matey-ui .header-inner{min-height:72px;gap:12px;justify-content:space-between}.matey-ui .header-actions{gap:8px}.matey-ui .brand{font-size:20px;gap:7px}.matey-ui .brand img{width:29px;height:29px}
  .matey-ui .container{width:calc(100% - 36px)}.matey-ui .hero{padding:38px 0}.matey-ui .hero-grid{grid-template-columns:1fr;gap:36px}
  .matey-ui .hero h1{font-size:72px}.matey-world>img{height:240px}.matey-world{transform:none}
  .matey-ui .section{padding:38px 0}.matey-ui .section-heading h2{font-size:28px}
  .matey-ui .order-workspace,.matey-ui .checkout-integrated{grid-template-columns:1fr}
  .matey-ui .order-summary{position:static;margin-bottom:20px}.checkout-facts{grid-column:1;grid-row:1;position:static;padding:20px}
  .checkout-next{grid-column:1;grid-row:2;padding:20px}.matey-ui .checkout-facts .plan-specs{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}
  .matey-ui .checkout-facts .plan-specs>div{display:block;padding:8px 0}.matey-ui .checkout-facts dd{text-align:left}
  .matey-ui .portal-main{padding:25px 0 40px}.matey-ui .portal-main .portal-container{width:calc(100% - 36px)}
  .matey-ui .portal-main h1{font-size:27px}.matey-topbar{padding:12px 18px;gap:10px}.matey-breadcrumb{font-size:11px;gap:7px}.matey-breadcrumb>span:last-child{max-width:140px}.matey-top-actions>a:first-child{display:none}.matey-signout{font-size:11px}
  .matey-ui .ops-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.matey-ui .services-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .matey-ui .ops-stats>a,.matey-ui .services-summary>div{padding:15px}
  .matey-ui .service-grid[data-view=grid]{grid-template-columns:1fr}
  .matey-ui .service-grid[data-view=list] .service-card-content{display:block}.matey-ui .service-grid[data-view=list] .service-card .service-art,.matey-ui .service-grid[data-view=list] .service-card-shade{width:100%;height:135px}
  .matey-ui .service-grid[data-view=list] .service-working-body{display:block}.matey-ui .service-grid[data-view=list] .service-visual-header{min-height:135px}.matey-ui .service-grid[data-view=list] .service-rental{margin-bottom:15px}
  .matey-ui .services-toolbar{align-items:stretch;flex-direction:column}.matey-ui .services-search{max-width:none;width:100%}.matey-ui .services-view{align-self:flex-start}
  .matey-ui .checkout-progress{gap:10px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));font-size:10px}
  .matey-ui .order-section{padding:18px}.matey-ui .order-ram-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .matey-ui .rental-layout,.matey-ui .ops-grid{grid-template-columns:1fr}.matey-ui .order-software{flex-wrap:wrap}
}
@media(max-width:420px){
  .matey-ui .brand{font-size:18px}.matey-ui .brand img{width:26px;height:26px}.matey-ui .header-inner{gap:8px}.matey-ui .header-actions{gap:5px}.matey-ui .matey-theme-button{padding:8px;min-width:38px}.matey-ui .account-menu summary{width:38px}.matey-ui .mobile-nav>summary{padding:8px}
  .matey-ui .hero h1{font-size:65px}.matey-ui .hero-actions{gap:8px}.matey-ui .hero-actions .button{font-size:12px;padding:10px 13px}
  .matey-ui .game-preview-grid{grid-template-columns:1fr}.matey-ui .game-preview-card{min-height:230px}
  .matey-ui .ops-header{align-items:flex-start;flex-direction:column}.matey-ui .services-heading{align-items:flex-start;flex-direction:column}.matey-breadcrumb>a,.matey-breadcrumb>span:first-of-type{display:none}
}
.matey-ui .game-preview-card{display:flex;flex-direction:column;min-height:0;padding:0;background:var(--paper)!important;color:var(--ink)}
.matey-ui .game-preview-card::before,.matey-ui .game-preview-card::after{display:none}
.matey-game-thumb{height:158px;width:100%;flex:none;background-position:center;background-size:cover}
.matey-game-body{padding:19px;display:flex;flex-direction:column;flex:1}
.matey-ui .matey-game-body h3{color:var(--ink);font-size:20px;margin:8px 0}
.matey-ui .matey-game-body p{color:var(--muted);font-size:12px;line-height:1.6;margin:0 0 15px}
.matey-ui .matey-game-body .game-preview-number{color:var(--muted);font-size:9px;font-weight:500}
.matey-ui .matey-game-body .game-preview-cta{color:var(--blue);font-size:11px;font-weight:600;margin-top:auto}
.matey-game-price{color:var(--ink);font-weight:600;font-size:16px;margin-top:15px;display:block}
.matey-game-price small{color:var(--muted);font-size:10px;font-weight:400}
.matey-ui .game-preview-card,.matey-ui .game-preview-card:first-child,.matey-ui .game-preview-card:nth-child(2){grid-column:auto;min-height:0}
.matey-ui .matey-game-body .game-preview-cta{background:none!important;color:var(--blue)!important;padding:0!important;border-radius:0;min-height:0;box-shadow:none}
.matey-ui .tag{background:var(--soft);color:var(--muted);font-weight:500;border-radius:4px}
.matey-ui .tag.warm{background:var(--warning-bg);color:var(--warning)}
.matey-ui .callout{background:var(--matey-dark);border:1px solid #414d37;border-radius:8px;box-shadow:none}
.matey-ui .callout::before,.matey-ui .callout::after{display:none}
.matey-ui .callout h2{color:#edf1e4}.matey-ui .callout p{color:#c0cbb2}
.matey-ui .callout .button{background:var(--action-bg);color:var(--action-text);border:0}
.matey-ui .portal-main .service-card a.service-rental-manage.action-link.secondary{background:var(--paper);color:var(--ink);border-color:var(--line)}
.matey-ui .portal-main .service-card a.service-manage{background:var(--ink);color:var(--paper);border:0;box-shadow:none}
.matey-ui .portal-main .services-view button{background:var(--paper);color:var(--ink);border-color:var(--line)}
.matey-ui .portal-main .services-view button[aria-pressed=true]{background:var(--ink);color:var(--paper)}
.matey-ui .services-summary{display:grid;border:0;padding:0;grid-template-columns:repeat(4,minmax(0,1fr));max-width:none}
/* Grid items must fill their tracks rather than inherit the old flex widths. */
.matey-ui .services-summary>div{width:auto;min-width:0;margin:0}
.matey-server .matey-rail{display:none}
.matey-server .matey-menu-button{display:none}
.matey-server-brand{margin:5px 9px 25px;display:flex!important}
.matey-ui .matey-all-services{display:block;color:#c5cebb;font-size:12px;margin:0 9px 18px}
.matey-ui .ops-header{background:none;border:0;border-radius:0;padding:0;box-shadow:none}
.matey-ui .portal-main .workspace-address{border-color:var(--line);border-top:2px solid var(--orange);background:var(--paper);color:var(--ink);border-radius:7px;box-shadow:none}
.matey-ui .portal-main .chart-live{background:var(--success-bg);color:var(--success)}
.matey-ui .server-hero{background-image:linear-gradient(90deg,#172019e8,#17201960),var(--server-art)}
.matey-ui .server-hero .customer-panel-state{background:transparent;border:0;padding:0}
.matey-ui .portal-main .workspace-connection{border-color:var(--line);border-top:2px solid var(--orange)!important;box-shadow:none}
.matey-ui .portal-main .workspace-sidebar-heading button.workspace-sidebar-toggle{display:grid;place-items:center;padding:0;width:32px;min-height:32px;height:32px;color:#d7dfcf;border-color:#53604a;background:transparent}
.matey-ui .portal-main .workspace-sidebar-heading button.workspace-sidebar-toggle:hover{background:#303a2f;color:#fff}
.matey-ui .portal-main .workspace-sidebar-toggle span{font-size:22px;line-height:1}
.matey-table-scroll{max-width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:7px;background:var(--paper)}
.matey-ui .matey-table-scroll table{width:100%;margin:0}
.matey-ui .matey-table-scroll td{overflow-wrap:anywhere;min-width:105px;vertical-align:top}
.matey-table-scroll:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
.matey-ui .portal-main .matey-server-brand,.matey-ui .portal-main .matey-all-services{text-decoration:none}
.matey-ui .checkout-progress span{border:0;border-bottom:2px solid var(--line)}
.matey-ui .ticket-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:12px;align-items:end}
.matey-ui .ticket-filters label,.matey-ui .ticket-filter-actions{min-width:0}
.matey-ui .ticket-filters input,.matey-ui .ticket-filters select{width:100%;min-width:0;max-width:100%}
.matey-ui .ticket-filter-actions{display:flex;flex-wrap:wrap;gap:8px}
.matey-ui .ticket-summary{min-width:0;overflow-wrap:anywhere}
.matey-ui .ticket-list>a{min-width:0}
@media(min-width:801px){
  .matey-ui.matey-server .workspace-shell,.matey-ui.matey-server .workspace-shell[data-nav-collapsed=true]{display:block}
  .matey-ui.matey-server .customer-panel-sidebar{position:fixed;left:0;top:0;bottom:0;width:223px;height:100dvh;max-height:100dvh;z-index:45;border-radius:0;border:0;padding:24px 17px;overflow:auto}
  .matey-server:has(.workspace-shell[data-nav-collapsed=true]){padding-left:63px}
  .matey-ui.matey-server .workspace-shell[data-nav-collapsed=true] .customer-panel-sidebar{width:63px;padding:24px 7px}
  .matey-ui.matey-server .workspace-shell[data-nav-collapsed=true] .matey-server-brand span,.matey-ui.matey-server .workspace-shell[data-nav-collapsed=true] .matey-all-services{display:none}
  .matey-ui.matey-server .workspace-shell[data-nav-collapsed=true] .matey-server-brand{margin:0 8px 24px}
}
@media(min-width:801px) and (max-width:900px){.matey-ui.matey-server{padding-left:223px}}
@media(max-width:700px){.matey-ui .services-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.matey-ui *,.matey-ui *::before,.matey-ui *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Real artwork elements survive card surface and theme changes. */
.matey-game-image{display:block;flex:none;color:inherit;text-decoration:none}
img.matey-game-thumb{display:block;height:auto;aspect-ratio:16/9;object-fit:cover}
.matey-ui .matey-game-body .game-preview-number{margin-bottom:0}
.matey-ui .matey-game-body h3 a{color:inherit;text-decoration:none}
.matey-ui .matey-game-body h3 a:hover{text-decoration:underline}
.matey-ui .game-card-actions{display:flex;flex-direction:column;gap:8px;margin-top:auto;padding-top:14px}
.matey-ui .game-card-actions .button{font-size:12px;min-height:44px;padding:11px 12px;text-align:center;justify-content:center}
.workspace-mobile-icon{display:none}
@media(max-width:600px){.matey-ui .game-preview-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:800px){
  .matey-ui .workspace-mobile-bar{z-index:40}
  .matey-ui .workspace-shell[data-nav-open=true] .workspace-mobile-bar{visibility:hidden;pointer-events:none}
  .matey-ui .customer-panel-sidebar{z-index:100;width:min(300px,calc(100vw - 48px));height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;padding:16px 12px max(24px,env(safe-area-inset-bottom));padding-top:max(16px,env(safe-area-inset-top));overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  .matey-ui .workspace-sidebar-scrim{z-index:90}
  .matey-ui .workspace-shell[data-nav-open=true] .customer-panel-sidebar{visibility:visible;transition:transform .18s ease}
  .matey-ui .workspace-sidebar-heading{position:sticky;top:0;z-index:1;background:var(--matey-dark);padding:8px 0;border-bottom:1px solid #414d37}
  .matey-ui .portal-main .workspace-sidebar-heading button.workspace-sidebar-toggle{width:44px;height:44px;min-height:44px}
  .matey-ui .workspace-desktop-icon{display:none}
  .matey-ui .workspace-mobile-icon{display:inline;transform:none!important}
}

/* Keep Services controls and counts together on small screens. */
@media(max-width:700px){
  .matey-ui .services-heading{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;margin:0 0 16px;padding:0;text-align:left}
  .matey-ui .services-heading h1{margin:0;font-size:27px}
  .matey-ui .portal-main a.services-admin-link{min-height:44px;padding:4px 0;border:0;border-radius:0;background:transparent;font-size:12px;font-weight:500;text-decoration:underline;text-underline-offset:3px;white-space:normal}
  .matey-ui .services-summary{gap:10px;margin-bottom:18px}
  .matey-ui .services-summary>div{padding:12px;gap:6px}
  .matey-ui .services-summary span{font-size:12px;line-height:1.35;min-height:2.7em;overflow-wrap:anywhere}
  .matey-ui .services-summary strong{font-size:26px;font-variant-numeric:tabular-nums}
}

/* Appearance belongs in the account menu on storefront and workspace pages. */
.account-dropdown{max-height:calc(100vh - 112px);max-height:calc(100dvh - 112px);overflow-y:auto;overscroll-behavior:contain}
.account-dropdown .theme-toggle{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:44px;margin-top:6px;padding:12px;border:0;border-top:1px solid var(--line);border-radius:0 0 5px 5px;background:transparent;color:var(--ink);font:inherit;font-size:13px;font-weight:500;text-align:left;cursor:pointer}
.account-dropdown .theme-toggle:hover{background:var(--soft)}
.account-dropdown .theme-switch{position:relative;display:block;flex:none;width:36px;height:21px;border-radius:99px;background:var(--stroke-strong);transition:background .16s}
.account-dropdown .theme-switch::after{content:"";position:absolute;top:3px;left:3px;width:15px;height:15px;border-radius:50%;background:white;transition:transform .16s}
.account-dropdown .theme-toggle[aria-pressed=true] .theme-switch{background:var(--orange)}
.account-dropdown .theme-toggle[aria-pressed=true] .theme-switch::after{transform:translateX(15px)}
.matey-ui .account-dropdown .theme-toggle{color:var(--ink);background:transparent;border-color:var(--line)}
.matey-ui .account-dropdown .theme-toggle:hover{background:var(--soft);color:var(--ink)}
.matey-ui .account-dropdown .theme-switch{background:var(--stroke-strong)}
.matey-ui .account-dropdown .theme-toggle[aria-pressed=true] .theme-switch{background:var(--orange)}
/* Game artwork is a compact backdrop to the title and configuration actions. */
.matey-ui .matey-game-hero{position:relative;isolation:isolate;overflow:hidden;min-height:310px;padding:44px 0;background:#171c19}
.matey-game-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 48%;z-index:-2;pointer-events:none}
.matey-ui .matey-game-hero::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(17,24,20,.96) 0%,rgba(17,24,20,.86) 45%,rgba(17,24,20,.38) 100%),linear-gradient(0deg,rgba(17,24,20,.5),transparent)}
.matey-game-hero .container{position:relative}
.matey-ui .matey-game-hero h1{color:#f1f3eb;max-width:780px;font-size:clamp(30px,3.5vw,48px);line-height:1.12;margin:16px 0}
.matey-ui .matey-game-hero .eyebrow{color:#ffb684}
.matey-ui .matey-game-hero .lede{color:#e0e6d7;max-width:625px;font-size:14px;line-height:1.7;margin:0 0 8px}
.matey-ui .matey-game-hero .hero-actions{margin-top:24px}
.matey-ui .matey-game-hero .button.secondary{background:#171c1980;border-color:#a6b49b;color:#f1f3eb}
.matey-ui .matey-game-hero .button.secondary:hover{background:#303b29}
.matey-ui .matey-game-hero + .section{padding:30px 0}
.matey-ui .game-setup .content h2:first-child{margin-top:0}
@media(max-width:700px){
  .matey-ui .matey-game-hero{min-height:0;padding:28px 0}
  .matey-ui .matey-game-hero::before{background:linear-gradient(90deg,rgba(17,24,20,.9),rgba(17,24,20,.77))}
  .matey-ui .matey-game-hero h1{font-size:clamp(28px,7vw,38px)}
  .matey-ui .matey-game-hero .hero-actions{margin-top:20px;gap:10px}
  .matey-ui .matey-game-hero .button{width:auto;min-height:44px}
}
