/* Monte Carlo welcome v1: isolated from the authenticated cabinet. */
#welcome-screen[hidden]{display:none!important}
body.welcome-mode{background:#100c0b;color:#f9ead0}
body.welcome-mode>.shell,body.welcome-mode>.bottom-nav,body.welcome-mode>#cart-bar{display:none!important}
.mc-welcome{--gold:#d7b775;--cream:#f8ecd3;position:relative;isolation:isolate;min-height:100svh;overflow:hidden;background:#100c0b url('./assets/welcome-lounge-v1.webp') center center/cover no-repeat;color:var(--cream);display:flex;flex-direction:column;padding:max(22px,env(safe-area-inset-top),var(--safe-top,0px)) clamp(18px,4vw,64px) max(20px,env(safe-area-inset-bottom));box-sizing:border-box}
.mc-welcome::before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(180deg,rgba(5,5,7,.25),rgba(8,5,4,.08) 44%,rgba(7,5,5,.45));pointer-events:none}
.mc-welcome-header{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;max-width:1440px;margin:auto auto 0;flex-shrink:0}
.mc-welcome-brand{display:flex;align-items:center;gap:13px;color:var(--cream)}
.mc-welcome-brand img{width:56px;height:56px;object-fit:contain;border-radius:50%}
.mc-welcome-brand span{font:clamp(16px,2vw,28px)/1 Georgia,'Times New Roman',serif;letter-spacing:.06em}
.mc-welcome-brand small{display:block;font:9px/1.6 system-ui,sans-serif;letter-spacing:.28em;color:#c9af83;margin-top:6px}
.mc-welcome button{font-family:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.mc-login{border:1px solid #d8b674;border-radius:999px;color:#f9e8c9;background:linear-gradient(120deg,#4b090d,#7a111d 54%,#3b080c);padding:14px 24px;min-height:48px;font:16px/1.2 Georgia,serif!important;box-shadow:inset 0 1px 0 #ffffff15,0 4px 20px #0004;transition:background .2s,box-shadow .2s;white-space:nowrap}
.mc-login:hover{box-shadow:0 0 22px #c29b3e35,inset 0 1px 0 #ffffff30}
.mc-login span{display:inline-block;margin-left:16px;color:#e6c792}
.mc-welcome :focus-visible{outline:2px solid #f6dda9;outline-offset:6px}
.mc-welcome-content{width:100%;max-width:1280px;margin:auto;display:flex;flex-direction:column;align-items:center;text-align:center;padding:28px 0 22px}
.mc-welcome h1{font:400 clamp(35px,5.5vw,80px)/1.07 Georgia,'Times New Roman',serif;letter-spacing:-.035em;margin:0;color:#f7ead2;text-wrap:balance;text-shadow:0 3px 22px #0009}
.mc-welcome h1 span{display:block;color:#e6bf7b;background:linear-gradient(110deg,#b5803c 0%,#f9dfaa 38%,#d6a04e 65%,#f6d89b);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.mc-crown-line{display:flex;align-items:center;justify-content:center;gap:15px;color:#d6b26f;font-size:25px;margin:18px 0 2px}
.mc-crown-line::before,.mc-crown-line::after{content:"";height:1px;width:clamp(40px,8vw,110px);background:linear-gradient(90deg,transparent,#c4a267)}
.mc-crown-line::after{transform:rotate(180deg)}
.mc-card-fan{--cw:clamp(105px,17.8vw,222px);position:relative;display:flex;justify-content:center;align-items:flex-end;width:100%;height:calc(var(--cw)*1.76);padding-top:26px;box-sizing:content-box;perspective:1400px}
.mc-card{--tilt:0deg;--drop:0px;position:relative;width:var(--cw);height:calc(var(--cw)*1.5);flex:0 0 var(--cw);padding:0;background:transparent;border:0;border-radius:calc(var(--cw)*.047);margin:0 calc(var(--cw)*-.015);transform:translateY(var(--drop)) rotate(var(--tilt));transition:transform .3s ease;isolation:isolate;box-shadow:0 18px 24px #0009;touch-action:manipulation}
.mc-card:nth-child(1){--tilt:-9deg;--drop:18px;z-index:1}.mc-card:nth-child(2){--tilt:-4.5deg;--drop:4px;z-index:2}.mc-card:nth-child(3){z-index:3}.mc-card:nth-child(4){--tilt:4.5deg;--drop:4px;z-index:2}.mc-card:nth-child(5){--tilt:9deg;--drop:18px;z-index:1}
.mc-card-inner{position:absolute;inset:0;display:block;transform-style:preserve-3d;transition:transform .65s cubic-bezier(.22,.61,.36,1)}
.mc-card[data-open="true"] .mc-card-inner{transform:rotateY(180deg)}
.mc-card[data-open="true"]{transform:translateY(calc(var(--drop) - 12px)) rotate(var(--tilt));z-index:6}
.mc-card-side{position:absolute;inset:0;display:block;border-radius:inherit;overflow:hidden;background-image:url('./assets/royal-cards-v1.webp');background-size:300% 200%;backface-visibility:hidden;-webkit-backface-visibility:hidden;outline:1px solid #e0b76977;box-shadow:inset 0 0 0 1px #cfa55a66}
.mc-card-inner,.mc-card-side{border-radius:inherit}
.mc-card-back{background-image:url('./assets/royal-card-back-v3.webp');background-size:100% 100%;background-position:center;transform:rotateY(0deg);visibility:visible}
.mc-card-face{transform:rotateY(180deg);visibility:hidden}
/* Explicit face visibility also covers WebKit's nested-backface compositing bug. */
.mc-card-side{transition:visibility 0s linear .325s}
.mc-card[data-open="true"] .mc-card-back{visibility:hidden}
.mc-card[data-open="true"] .mc-card-face{visibility:visible}
.mc-welcome-hint{font:16px/1.5 Georgia,serif;color:#e9cf9f;margin:39px 0 19px;letter-spacing:.02em}
.mc-welcome-hint::before,.mc-welcome-hint::after{content:"—";margin:0 13px;color:#ae854d}
.mc-welcome-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 30px}
.mc-welcome-links button{color:#edddbf;background:transparent;border:0;border-bottom:1px solid #c59d5d66;padding:7px 0;min-height:44px;font-size:14px;transition:color .2s}
.mc-welcome-links button:hover{color:#fff1cb}
.mc-welcome-footer{max-width:1440px;width:100%;margin:auto auto 0;text-align:center;font:10px/1.6 system-ui,sans-serif;color:#c2ac8e;letter-spacing:.1em}
body.welcome-mode .browser-login-dialog{color:#f8ecd3;background:#211713;border:1px solid #9c794c;border-radius:20px}
body.welcome-mode .browser-login-dialog p{color:#dbcaad}
body.welcome-mode .browser-login-dialog .dialog-close{color:#f6dfb5;background:#443027}
body.welcome-mode .browser-login-dialog .button{background:#71111b;border:1px solid #b18a51;color:#ffefd5}
body.welcome-mode .browser-login-dialog .browser-device-code{color:#f2d28d}
@media(min-width:1500px){.mc-welcome-content{padding-top:35px;padding-bottom:35px}}
@media(max-width:700px){
 .mc-welcome{padding-left:17px;padding-right:17px;background-position:center;min-height:100svh}
 .mc-welcome-header{gap:10px}
 .mc-welcome-brand{gap:8px}.mc-welcome-brand img{width:39px;height:39px}.mc-welcome-brand span{font-size:15px;letter-spacing:.025em}.mc-welcome-brand small{font-size:7px;letter-spacing:.18em;margin-top:4px}
 .mc-login{font-size:13px!important;padding:10px 13px;min-height:44px}.mc-login span{margin-left:7px}
 .mc-welcome-content{padding:44px 0 35px}
 .mc-welcome h1{font-size:clamp(32px,8.7vw,55px);line-height:1.12;max-width:580px}
 .mc-welcome h1 span{margin-top:5px}
 .mc-crown-line{margin-top:24px;margin-bottom:6px;font-size:23px}
 .mc-card-fan{--cw:clamp(73px,21vw,142px);width:calc(100% + 12px);height:calc(var(--cw)*2.45);padding-top:5px}
 .mc-card{margin:0 calc(var(--cw)*-.07);height:calc(var(--cw)*1.5)}
 .mc-card:nth-child(1){--tilt:-13deg;--drop:12px}.mc-card:nth-child(2){--tilt:-6.5deg;--drop:3px}.mc-card:nth-child(4){--tilt:6.5deg;--drop:3px}.mc-card:nth-child(5){--tilt:13deg;--drop:12px}
 .mc-welcome-hint{font-size:14px;margin-top:32px;margin-bottom:15px}.mc-welcome-hint::before,.mc-welcome-hint::after{margin:0 7px}
 .mc-welcome-links{gap:5px 22px}.mc-welcome-links button{font-size:13px}
 .mc-welcome-footer{font-size:9px;letter-spacing:.04em}
  }
@media(max-width:355px){.mc-welcome{padding-left:12px;padding-right:12px}.mc-welcome-brand span{font-size:12px}.mc-welcome-brand img{width:32px;height:32px}.mc-login{padding:10px;font-size:12px!important}.mc-login span{display:none}.mc-card-fan{--cw:64px}.mc-welcome h1{font-size:31px}}
@media(max-height:650px) and (min-width:701px){.mc-welcome-content{padding:15px 0}.mc-welcome h1{font-size:44px}.mc-card-fan{--cw:145px;padding-top:8px;height:260px}.mc-crown-line{margin:9px 0 0}.mc-welcome-hint{margin-top:25px;margin-bottom:5px}}
@media(prefers-reduced-motion:reduce){.mc-welcome *{transition:none!important;animation:none!important}}

/* v2: city identity, accessible theme control and a true light palette. */
.mc-header-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.mc-welcome-brand>span{white-space:nowrap}
.mc-welcome-brand small{line-height:1.6;letter-spacing:.19em;font-size:9px}
.mc-theme-toggle{display:grid;place-items:center;width:46px;height:46px;min-width:46px;padding:11px;border:1px solid #c8a36b80;border-radius:50%;background:#3c2c2288;color:#f5dba7;transition:background .2s,border-color .2s}
.mc-theme-toggle:hover{background:#68492b99;border-color:#ebcd98}
.mc-theme-toggle svg{display:block;width:22px;height:22px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}
.mc-theme-toggle .mc-moon{display:none}
html[data-mc-theme="light"] .mc-theme-toggle .mc-sun{display:none}
html[data-mc-theme="light"] .mc-theme-toggle .mc-moon{display:block}
html[data-mc-theme="light"] body.welcome-mode{background:#f5eee3;color:#30271e}
html[data-mc-theme="light"] .mc-welcome{--gold:#84602a;--cream:#30271e;background-color:#f5eee3;background-image:linear-gradient(180deg,rgba(250,245,236,.91),rgba(247,239,222,.86) 64%,rgba(237,223,202,.93)),url('./assets/welcome-lounge-v1.webp');color:#30271e}
html[data-mc-theme="light"] .mc-welcome::before{background:radial-gradient(ellipse at 50% 42%,#fffaf34d,transparent 70%)}
html[data-mc-theme="light"] .mc-welcome h1{color:#34231b;text-shadow:0 2px 18px #fff8}
html[data-mc-theme="light"] .mc-welcome h1 span{background-image:linear-gradient(110deg,#73441d,#9d6526 40%,#755021 75%,#9e6c2c)}
html[data-mc-theme="light"] .mc-welcome-brand small{color:#735a38}
html[data-mc-theme="light"] .mc-theme-toggle{border-color:#9b754c88;background:#fffcf5aa;color:#64472c}
html[data-mc-theme="light"] .mc-theme-toggle:hover{background:#fff9ee;border-color:#735a38}
html[data-mc-theme="light"] .mc-crown-line{color:#87602b}
html[data-mc-theme="light"] .mc-crown-line::before,html[data-mc-theme="light"] .mc-crown-line::after{background:linear-gradient(90deg,transparent,#957044)}
html[data-mc-theme="light"] .mc-card{box-shadow:0 16px 22px #694a293b}
html[data-mc-theme="light"] .mc-welcome-hint{color:#684b2d}
html[data-mc-theme="light"] .mc-welcome-links button{color:#5a3926;border-bottom-color:#a8865c99}
html[data-mc-theme="light"] .mc-welcome-links button:hover{color:#8a1723}
html[data-mc-theme="light"] .mc-welcome-footer{color:#705a41}
html[data-mc-theme="light"] .mc-welcome :focus-visible{outline-color:#7c492d}
html[data-mc-theme="light"] body.welcome-mode .browser-login-dialog{color:#34261d;background:#fff8ed;border-color:#b08d59}
html[data-mc-theme="light"] body.welcome-mode .browser-login-dialog p{color:#69553e}
html[data-mc-theme="light"] body.welcome-mode .browser-login-dialog .dialog-close{color:#60432b;background:#ede0ca}
html[data-mc-theme="light"] body.welcome-mode .browser-login-dialog .browser-device-code{color:#7b3020}
@media(max-width:700px){
 .mc-welcome-header{gap:8px}.mc-header-actions{gap:7px}
 .mc-welcome-brand{gap:7px}.mc-welcome-brand>span{font-size:14px}.mc-welcome-brand img{width:36px;height:36px}
 .mc-welcome-brand small{font-size:8px;letter-spacing:.06em;line-height:1.5}
 .mc-theme-toggle{width:44px;height:44px;min-width:44px;padding:11px}.mc-theme-toggle svg{width:20px;height:20px}
 .mc-login{font-size:12px!important;padding:10px 12px}.mc-login span{display:none}
}
@media(max-width:355px){
 .mc-welcome-header{align-items:flex-start;position:relative;min-height:92px}
 .mc-welcome-brand{padding-top:3px}.mc-welcome-brand>span{font-size:13px}.mc-welcome-brand img{width:32px;height:32px}
 .mc-header-actions{flex-direction:column;align-items:flex-end;gap:5px}
 .mc-login{font-size:12px!important;padding:10px 11px}
 .mc-welcome-content{padding-top:22px}
}

/* Global theme v3: shared palette, no layout/data/auth mutation. */
:root[data-mc-theme="light"]{
 --paper:#f7f1e7;--card:#fffaf3;--ink:#35281f;--muted:#74624e;--line:#e4d7c3;--red:#8e2435;--red-soft:#f3e4e0;
 --mc-raised:#efe4d4;--mc-image:#f0e9df;--mc-hover:#f3e6d6;--mc-hero:#e8d8be;--mc-hero-ink:#362719;--mc-hero-muted:#715c40;
 --mc-selected:#831c2b;--mc-selected-ink:#fff3df;--mc-cta-ink:#fff5e6;--mc-nav:#fcf6ecf5;--mc-notice:#fff0d2;--mc-notice-line:#d8bb82;--mc-success-bg:#e2eedf;--mc-success-ink:#315c36;--mc-blue-bg:#e0e9f5;--mc-blue-ink:#34597d;
 color-scheme:light;background:var(--paper);color:var(--ink)
}
:root[data-mc-theme="dark"]{
 --paper:#100c0b;--card:#211b19;--ink:#f3e7d4;--muted:#c4b39e;--line:#4c3d33;--red:#e3bc7d;--red-soft:#3b2926;
 --mc-raised:#30251f;--mc-image:#2b2520;--mc-hover:#36271f;--mc-hero:#33231f;--mc-hero-ink:#f9e8ce;--mc-hero-muted:#d2bda1;
 --mc-selected:#715234;--mc-selected-ink:#fff0d8;--mc-cta-ink:#291e13;--mc-nav:#1b1512f5;--mc-notice:#392c1d;--mc-notice-line:#80633d;--mc-success-bg:#23372a;--mc-success-ink:#b6dfb9;--mc-blue-bg:#203347;--mc-blue-ink:#b9d5f6;
 color-scheme:dark;background:var(--paper);color:var(--ink)
}
html[data-mc-theme] body:not(.welcome-mode){background:var(--paper);color:var(--ink)}
/* These selectors cover the native catalogue, legacy panels and product/operations screens. */
html[data-mc-theme] :is(.search-wrap,.category,.empty,.secondary,.checkout-panel,.order-card,.club-reload,.club-shortcut,.club-panel,.club-action,.club-manual,.entry-card,.product-tab,.product-stats>div,.feature-card,.format-card,.tournament-card,.combo-card,.member-card,.claim-card,.condition-card,.product-form,.rating-podium article,.product-search,.ranking-row,.claim-mini,.bonus-tiles article,.rules-details,.products,.ops-card,.browser-auth-bar){
 background:var(--card);color:var(--ink);border-color:var(--line)
}
html[data-mc-theme] :is(.search-wrap input,.club-input,.product-field input,.product-field textarea,.claim-card textarea,.operations-view input,.operations-view select,.product-search input){
 background:var(--paper);color:var(--ink);border-color:var(--line)
}
html[data-mc-theme] :is(input,textarea)::placeholder{color:var(--muted);opacity:.82}
html[data-mc-theme] :is(.product,.ops-item){border-color:var(--line)}
html[data-mc-theme] :is(.product-image,.product-dialog>img,.cart-row img){background:var(--mc-image)}
html[data-mc-theme] .brand img{background:#100c0b}
html[data-mc-theme] :is(.profile-button,.dialog-close,.cabinet-mode-bar button){background:var(--card);color:var(--red);border-color:var(--line)}
html[data-mc-theme] .cabinet-mode-bar{background:transparent}
html[data-mc-theme] :is(.entry-identity,.count-pill,.combo-requirements span,.product-badge,.product-badge.muted,.entry-card-icon){background:var(--mc-raised);color:var(--muted)}
html[data-mc-theme] .entry-card-icon{color:var(--red)}
html[data-mc-theme] :is(.category.active,.club-shortcut.selected,.product-tab.active){background:var(--mc-selected);color:var(--mc-selected-ink);border-color:var(--mc-selected)}
html[data-mc-theme] :is(.club-action:hover,.feature-card:hover){background:var(--mc-hover);border-color:var(--red)}
html[data-mc-theme] .club-action[data-inert="true"]{background:transparent;border-color:transparent}
html[data-mc-theme] .bottom-nav{background:var(--mc-nav);border-color:var(--line)}
html[data-mc-theme] .nav-button{color:var(--muted)}
html[data-mc-theme] .nav-button.active{color:var(--red)}
html[data-mc-theme] :is(.primary,.cart-bar-button,.empty a,.club-file::file-selector-button,.product-field input[type=file]::file-selector-button){background:var(--red);color:var(--mc-cta-ink)}
html[data-mc-theme] .product .add-button{background:var(--card);color:var(--red);border-color:var(--red)}
html[data-mc-theme] :is(.notice,.hand-card){background:var(--mc-notice);border-color:var(--mc-notice-line);color:var(--ink)}
html[data-mc-theme] :is(.club-hero,.tournament-hero,.entry-owner,.combo-card:nth-child(3),.deposit-card){background:var(--mc-hero);color:var(--mc-hero-ink);border-color:var(--line)}
html[data-mc-theme] :is(.club-hero p,.tournament-hero p,.deposit-card p,.deposit-label,.entry-owner .entry-card-text>span){color:var(--mc-hero-muted)}
html[data-mc-theme] :is(.entry-owner .entry-card-icon,.combo-card:nth-child(3) .combo-requirements span,.product-badge.gold){background:var(--mc-raised);color:var(--red)}
html[data-mc-theme] .entry-owner .entry-card-arrow{color:var(--red)}
html[data-mc-theme] .hero-cta{background:var(--red);color:var(--mc-cta-ink)}
html[data-mc-theme] :is(.format-entry,.catalog-footnote){color:var(--muted)}
html[data-mc-theme] :is(.ranking-row.mine,.rating-podium article:first-child){background:var(--mc-raised);border-color:var(--mc-notice-line)}
html[data-mc-theme] .product-badge.green{background:var(--mc-success-bg);color:var(--mc-success-ink)}
html[data-mc-theme] .order-status{background:var(--mc-notice);color:var(--ink)}
html[data-mc-theme] .order-status.confirmed{background:var(--mc-blue-bg);color:var(--mc-blue-ink)}
html[data-mc-theme] .order-status.served{background:var(--mc-success-bg);color:var(--mc-success-ink)}
html[data-mc-theme] .order-status.cancelled{background:var(--mc-raised);color:var(--muted)}
html[data-mc-theme] .cancel-order{color:var(--red)}
html[data-mc-theme] .product-note.warning{color:var(--red)}
html[data-mc-theme] dialog{background:var(--paper);color:var(--ink);border:1px solid var(--line)}
html[data-mc-theme] dialog::backdrop{background:#08050699}
html[data-mc-theme] :is(.browser-login-dialog,.browser-device-code){color:var(--ink)}
html[data-mc-theme] :is(button,a,input,select,textarea):focus-visible{outline-color:var(--red)}
html[data-mc-theme] input[type="checkbox"],html[data-mc-theme] input[type="radio"]{accent-color:var(--red)}
/* Keep logos / product photos untouched; never invert or brighten the whole UI. */
.brand-header{display:grid;grid-template-columns:minmax(0,1fr) 44px auto;align-items:center}
.brand-header>.brand{grid-column:1;grid-row:1;min-width:0}
.brand-header>.mc-app-theme-toggle{grid-column:2;grid-row:1;width:44px;height:44px;min-width:44px;padding:10px}
.brand-header>.profile-button,.brand-header>.cabinet-mode-bar{grid-column:3;grid-row:1}
.brand-header>.cabinet-mode-bar{margin:0}
html[data-mc-theme="dark"] .mc-app-theme-toggle{background:var(--mc-raised);color:var(--red);border-color:var(--line)}
html[data-mc-theme="light"] .mc-app-theme-toggle{background:var(--card);color:var(--red);border-color:var(--line)}
@media(max-width:380px){
 .brand-header{gap:6px}
 .brand-header .brand>span{font-size:11px;letter-spacing:0}
 .brand-header .brand{gap:6px}
 .brand-header .brand img{width:28px;height:28px}
 .brand-header .cabinet-mode-bar button{font-size:11px;padding:9px 8px}
}

/* Player permanent MK-ID is a prominent identity, not a tiny status badge. */
.club-hero>.product-badge.player-club-id{display:inline-block;font-size:clamp(26px,4vw,34px);font-weight:800;line-height:1.1;letter-spacing:.055em;padding:10px 16px;border-radius:12px;max-width:100%;overflow-wrap:anywhere}

/* One outlined icon family and consistent controls across the bottom navigation. */
.bottom-nav .nav-button{min-width:0;min-height:56px;gap:5px;border-radius:12px;margin:0 2px;padding:7px 3px;line-height:1.2;font-weight:650;transition:background .16s,color .16s}
.bottom-nav .nav-button>span:first-child{height:24px;display:flex;align-items:center;justify-content:center}
.bottom-nav .mc-nav-icon{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
html[data-mc-theme] .bottom-nav .nav-button.active{background:var(--red-soft);color:var(--red)}
.bottom-nav .cart-icon{position:relative}
.bottom-nav .cart-icon b{top:-5px;right:-11px}
@media(max-width:355px){.bottom-nav .nav-button{font-size:10px;margin:0 1px}.bottom-nav .mc-nav-icon{width:23px;height:23px}}
@media(prefers-reduced-motion:reduce){.bottom-nav .nav-button{transition:none}}

/* The same club identity as welcome, fitted to the compact cabinet toolbar. */
html[data-mc-theme] .brand-header .brand{gap:10px;color:var(--ink);align-items:center}
html[data-mc-theme] .brand-header .brand img{width:42px;height:42px;background:#100c0b;border-radius:50%}
html[data-mc-theme] .brand-header .brand>span{font:400 21px/1 Georgia,'Times New Roman',serif;letter-spacing:.045em;white-space:nowrap}
html[data-mc-theme] .brand-header .brand small{display:block;font:400 9px/1.5 system-ui,sans-serif;letter-spacing:.12em;color:var(--muted);margin-top:5px}
@media(max-width:700px){
 html[data-mc-theme] .brand-header .brand{gap:7px}
 html[data-mc-theme] .brand-header .brand img{width:36px;height:36px}
 html[data-mc-theme] .brand-header .brand>span{font-size:14px;letter-spacing:.025em}
 html[data-mc-theme] .brand-header .brand small{font-size:8px;letter-spacing:.06em;line-height:1.5;margin-top:4px}
}
@media(max-width:380px){
 html[data-mc-theme] .brand-header .brand{gap:6px}
 html[data-mc-theme] .brand-header .brand img{width:28px;height:28px}
 html[data-mc-theme] .brand-header .brand>span{font-size:12px;letter-spacing:.01em}
 html[data-mc-theme] .brand-header .brand small{font-size:7px;letter-spacing:.02em;line-height:1.4;margin-top:3px}
}

/* Cafe contains personal order history; explicit cart removal uses the existing guarded quantity path. */
.cafe-orders-actions{display:flex;justify-content:flex-end;gap:8px;margin:0 0 12px}
.cafe-orders-actions .button{min-height:44px}
.cart-row>div{min-width:0}
.cart-remove{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;margin-top:8px;border:1px solid var(--line);border-radius:10px;background:var(--red-soft);color:var(--red);font:inherit;font-size:13px;font-weight:650}
.cart-remove:hover{border-color:var(--red)}
.cart-remove:disabled{opacity:.45}

/* The selected owner cabinet is administration only, not a customer storefront. */
body[data-cabinet="owner"] .bottom-nav :is([data-view="cart"],[data-club-group="player"],[data-club-group="staff"]){display:none!important}
body[data-cabinet="owner"] #cafe-orders-actions{display:none!important}
/* Pending checkout recovery remains available through the guarded state path. */
/* Full 52-card decorative deck. The original branded back is unchanged. */
.mc-card-face{background:#faf2de!important;background-image:none!important}
.mc-card-face>svg{display:block;width:100%;height:100%}
.mc-welcome-hint{max-width:100%;text-wrap:balance}
.mc-welcome-hint::before,.mc-welcome-hint::after{content:none}
.mc-deck-controls{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px 16px;min-height:44px;margin:-7px 0 12px}
.mc-deck-result{color:var(--cream);font:13px/1.3 Georgia,serif;min-width:90px}
.mc-deck-reset{border:1px solid #ba985b77;border-radius:999px;background:#6a182044;color:var(--cream);font-size:13px;padding:9px 16px;min-height:40px}
.mc-deck-reset[hidden]{display:none}
@media(hover:hover){.mc-card:hover{filter:brightness(1.05)}}
@media(max-width:700px){.mc-welcome-hint{font-size:13px;max-width:280px}.mc-deck-controls{margin-top:-5px;margin-bottom:10px}}
