/* PSN India Store. Mobile is the base layout; wider layouts only add columns. */
:root{
  color-scheme:dark;
  --bg:#101218;--panel:#191e26;--lime:#c5f277;--muted:#99a6b8;
  --line:#303a47;--blue:#699bff;--white:#f4f5ef;--radius:20px;
  --shadow:0 20px 60px #0003;--page-gutter:16px;--nav-space:116px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;background:var(--bg);color:var(--white);font:16px/1.55 -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button,a{touch-action:manipulation}
button{cursor:pointer;border:0;background:none;color:inherit}
button:disabled{opacity:.45;cursor:not-allowed}
button,a{transition:background .16s,color .16s,border-color .16s}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--lime);outline-offset:3px}
a{color:inherit;text-decoration:none}
small{display:block}
svg{width:22px;height:22px;flex-shrink:0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
img{max-width:100%}
::selection{background:var(--lime);color:var(--bg)}
[hidden],.hidden{display:none!important}
/* Phone header: brand and controls on one row, full-width search below. */
.sidebar,.breadcrumb,.desktop-cart,.chevron,.user-button>span:not(.avatar){display:none}
.app-shell{min-width:0;margin:0}
.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 6px;align-items:center;padding:16px var(--page-gutter) 14px;border-bottom:1px solid #ffffff08;background:var(--bg)}
.mobile-brand,.brand{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:750;line-height:1;letter-spacing:-.35px;min-width:0;min-height:44px}
.brand-mark{display:grid;place-items:center;width:28px;height:30px;border-radius:10px;background:var(--lime);color:#172016;flex-shrink:0}
.brand-mark svg{width:20px;height:20px}
.mobile-brand small,.brand small{font-size:8px;letter-spacing:3.5px;font-weight:500;color:#99a893;margin-top:5px}
.header-actions{display:flex;align-items:center;gap:4px;min-width:0}
.language-switch{display:inline-flex;align-items:center;gap:2px;flex-shrink:0;padding:3px;border:1px solid #ffffff10;border-radius:13px;background:#191e27}
.language-switch button{display:grid;place-items:center;min-width:44px;min-height:44px;padding:6px;font-size:12px;line-height:1;font-weight:650;border-radius:10px;color:#a2adbd}
.language-switch button.active{background:var(--lime);color:#192313}
.language-switch button:hover:not(.active){background:#ffffff08;color:#fff}
.user-button{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;padding:0;border-radius:13px}
.avatar{display:grid;place-items:center;position:relative;overflow:hidden;isolation:isolate;flex-shrink:0;width:38px;height:38px;border:1px solid #c5f27727;border-radius:12px;background:#252d24;color:#d6e9b7;font-size:14px;font-weight:600}
.avatar-initials{display:grid;place-items:center;width:100%;height:100%;border-radius:inherit}
.avatar-photo{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit;opacity:0;transition:opacity .16s}
.avatar--loaded>.avatar-photo{opacity:1}
.avatar--loaded>.avatar-initials{visibility:hidden}
.search-box{grid-column:1/-1;grid-row:2;display:flex;align-items:center;gap:10px;width:100%;min-width:0;min-height:48px;padding:10px 14px;border:1px solid #ffffff0e;border-radius:13px;background:#191e26;color:#9aa8bb;cursor:text}
.search-box input{min-width:0;width:100%;border:0;background:none;color:var(--white);font-size:16px;outline:none;line-height:1.5}
.search-box input::placeholder{color:#8b98aa}
.search-box kbd{display:none}
.icon-button{position:relative;display:inline-grid;place-items:center;min-width:44px;width:44px;min-height:44px;height:44px;flex-shrink:0;border-radius:12px;color:#abb9cd}
.cart-count{position:absolute;right:0;top:0;min-width:16px;padding:1px 4px;border-radius:8px;font-size:10px;line-height:1.4;background:var(--lime);color:#192313}
main{width:100%;max-width:1440px;min-width:0;min-height:calc(100dvh - 250px);margin:auto;padding:18px var(--page-gutter) 30px}
main>*,section,article,aside{min-width:0}
/* Feature: no fixed-height text region. Illustration always follows the copy. */
.hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr);overflow:hidden;border:1px solid #ffffff10;border-radius:23px;background:#1a2025;margin:0 0 16px}
.hero:after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 90% 30%,#4652392b,transparent 60%),linear-gradient(125deg,#1a2025,#151b20)}
.hero-copy{position:relative;z-index:3;min-width:0;padding:24px 22px 0}
.eyebrow{display:flex;align-items:center;gap:7px;font-size:10px;line-height:1.7;letter-spacing:1px;font-weight:600;color:var(--lime)}
.eyebrow:before{content:'';width:5px;height:5px;background:var(--lime);border-radius:50%;flex-shrink:0}
.hero h1{font-size:clamp(29px,7.7vw,36px);line-height:1.12;font-weight:600;letter-spacing:-1.2px;margin:17px 0 14px;overflow-wrap:normal}
.hero h1 em{font-style:normal;color:var(--lime)}
.hero p{font-size:14px;line-height:1.75;color:#a9b5c4;margin:0 0 21px;max-width:42ch}
.hero-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:0;min-height:48px;padding:13px 17px;border:1px solid transparent;border-radius:13px;background:var(--lime);color:#192711;font-size:14px;font-weight:600;line-height:1.5;text-align:center;white-space:normal;overflow-wrap:normal}
.button svg{width:20px;height:20px}
.button.full{width:100%}
.button.secondary{background:#252c37;border-color:#3b4655;color:#e8edf4}
.button.danger{background:#462a33;border-color:#643a47;color:#ffbcc9}
.text-link{display:inline-flex;align-items:center;justify-content:flex-start;gap:7px;min-height:44px;min-width:0;padding:8px 0;font-size:14px;line-height:1.5;color:var(--lime);text-align:left;white-space:normal}
.hero-actions .text-link{display:none}
.hero-visual{position:relative;isolation:isolate;height:174px;min-width:0;margin-top:13px;pointer-events:none}
.hero-orbit{position:absolute;width:190px;height:190px;top:50%;left:50%;transform:translate(-50%,-50%) rotate(-22deg);border:1px solid #c5f27715;border-radius:50%}
.hero-orbit:before,.hero-orbit:after{content:'';position:absolute;inset:19px;border:1px solid #c5f2770d;border-radius:50%}
.hero-orbit:after{inset:-17px;border-style:dashed}
.hero-card-back{position:absolute;top:14px;left:calc(50% - 83px);width:117px;height:150px;border:1px solid #b9d6a73b;border-radius:16px;background:linear-gradient(150deg,#708d56,#2e432c);transform:rotate(-14deg);box-shadow:0 16px 30px #0004}
.hero-card-back:after{content:'INDIA / IN';position:absolute;bottom:16px;left:11px;color:#d4e9b857;font-size:8px;letter-spacing:2px;writing-mode:vertical-rl}
.hero-gift-card{position:absolute;top:4px;left:calc(50% - 39px);width:122px;height:155px;display:flex;flex-direction:column;justify-content:space-between;padding:13px 12px;border:1px solid #6d9eea55;border-radius:16px;transform:rotate(14deg);background:radial-gradient(ellipse at 80% 0%,#2864ab,transparent 60%),linear-gradient(155deg,#142e58,#0c182f);box-shadow:0 18px 30px #0006,inset 0 1px #c1dfff20;color:#fff;overflow:hidden}
.hero-gift-card:before{content:'';position:absolute;inset:auto -60px -90px auto;width:190px;height:190px;border:1px solid #9bc6ff22;border-radius:50%;box-shadow:0 0 0 25px #9bc6ff06}
.gift-top{position:relative;z-index:1;display:flex;align-items:center;gap:5px;font-size:7px;letter-spacing:.1px;color:#d0def1}
.gift-top>svg{width:12px;height:12px}
.gift-emblem{display:grid;place-items:center;align-self:center;width:43px;height:40px;border:1px solid #6c9fff20;border-radius:14px;background:#6c9fff12;color:#e1edff}
.gift-emblem svg{width:30px;height:30px;stroke-width:1.1}
.gift-bottom{position:relative;z-index:2;display:flex;align-items:flex-end;justify-content:space-between;gap:5px}
.gift-bottom strong{font-size:23px;line-height:1;font-weight:600;letter-spacing:-1px;white-space:nowrap}
.gift-bottom>span{max-width:39px;font-size:5px;line-height:1.6;letter-spacing:1px;color:#b6cceb;text-align:right}
.gift-caption{position:relative;z-index:2;font-size:5px;line-height:1.6;letter-spacing:1.2px;color:#a4bee4}
.hero-controller{position:absolute;z-index:3;right:calc(50% - 134px);bottom:21px;width:110px;height:84px;stroke:#c9d0c8;stroke-width:1.5;filter:drop-shadow(0 10px 9px #0009);transform:rotate(-12deg);fill:#242d2e}
.hero-controller circle{fill:#343f3b}
.hero-visual:after{content:'✦';position:absolute;top:6px;right:35px;font-size:23px;color:var(--lime);opacity:.7}
.hero-tag{position:relative;z-index:4;display:flex;align-items:center;gap:7px;margin:2px 22px 18px;font-size:11px;line-height:1.5;color:#a8ba9a}
.hero-tag svg{width:15px;height:15px;color:var(--lime)}
.hero-art-note{display:none}
/* Trust list: readable rows rather than three squeezed text columns. */
.benefits{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:0 0 28px}
.benefit{display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;align-items:center;padding:14px 16px;background:#171b22;border:1px solid #ffffff0a;border-radius:15px}
.benefit-icon,.guide-icon{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border:1px solid #c5f27722;border-radius:11px;background:#c5f2770a;color:var(--lime)}
.benefit-icon svg,.guide-icon svg{width:21px;height:21px}
.benefit-copy,.profile-copy,.info-copy{min-width:0}
.benefit strong{display:block;margin:0 0 2px;color:#e0e7ee;font-size:14px;line-height:1.5;font-weight:550}
.benefit small{font-size:13px;line-height:1.65;color:#939fb0}
/* Catalog */
.section-head{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;align-items:start;margin:28px 0 16px}
.section-head>div{min-width:0}
.section-head h2,.page-heading{margin:0;font-size:25px;line-height:1.3;font-weight:600;letter-spacing:-.65px;overflow-wrap:anywhere}
.section-head h2 span{display:inline-block;margin-left:5px;vertical-align:middle;padding:3px 7px;border:1px solid #ffffff0c;border-radius:7px;background:#1e242c;font-size:11px;font-weight:500;line-height:1.2;letter-spacing:0;color:#aab6c4}
.section-head p{margin:7px 0 0;font-size:14px;line-height:1.75;color:var(--muted)}
.section-head .text-link{font-size:13px;justify-self:start}
.filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 19px}
.filter{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:46px;padding:11px 9px;border:1px solid var(--line);border-radius:11px;color:#b2bdcc;font-size:13px;line-height:1.5;white-space:normal;text-align:center}
.filter.active{background:#c5f27714;border-color:#c5f27755;color:var(--lime)}
.sort{grid-column:1/-1;display:block;width:100%;min-width:0;max-width:none;min-height:46px;margin:0;padding:11px 13px;border:1px solid var(--line);border-radius:11px;background:#191e26;color:#b4c1d2;font-size:16px;line-height:1.5}
.product-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.product{min-width:0;padding:11px;border:1px solid #ffffff10;border-radius:19px;background:var(--panel)}
.product-art{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;height:185px;padding:17px;border:1px solid #518ac344;border-radius:13px;overflow:hidden;color:#f1f7ff;background:radial-gradient(ellipse at 85% 10%,#2a659e,transparent 68%),linear-gradient(140deg,#152d50,#101e37)}
.product-art:before{content:'';position:absolute;z-index:-1;right:-25px;top:29px;width:170px;height:170px;border:1px solid #b2d4ff15;border-radius:50%;box-shadow:0 0 0 25px #9bc6ff06,0 0 0 50px #9bc6ff03}
.product-art:after{content:'+';position:absolute;z-index:-1;top:48px;right:40px;font-size:100px;line-height:1;font-weight:100;color:#a6c4f409;transform:rotate(15deg)}
.product-art.turkey{border-color:#ae766044;background:radial-gradient(ellipse at 85% 10%,#87594d,transparent 68%),linear-gradient(140deg,#402c31,#241c26)}
.art-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;font-size:10px;line-height:1.5;color:#d5e2f6}
.card-emblem{display:flex;align-items:center;color:#e1edff}
.card-emblem svg{width:62px;height:48px;stroke-width:1.2}
.art-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:8px}
.art-bottom strong{min-width:0;font-size:30px;line-height:1.1;letter-spacing:-1px;font-weight:600;overflow-wrap:anywhere}
.art-bottom small{max-width:70px;font-size:7px;line-height:1.7;letter-spacing:.8px;text-align:right;color:#b5c9e4}
.favorite{position:absolute;z-index:3;top:43px;right:9px;display:grid;place-items:center;width:44px;height:44px;border:1px solid #c3d8ff22;border-radius:50%;background:#101c33bb;color:#b8c9e2}
.favorite svg{width:19px;height:19px}
.favorite.saved{background:#1e3029dd;border-color:#c5f27744;color:var(--lime)}
.favorite.saved svg{fill:var(--lime);stroke:var(--lime)}
.product-info{min-width:0;padding:15px 4px 4px}
.product-region{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:0 0 8px;font-size:12px;line-height:1.6;color:#99a9be}
.product h3{margin:0 0 10px;font-size:16px;line-height:1.5;font-weight:550;letter-spacing:-.1px;overflow-wrap:anywhere}
.stock{display:flex;align-items:center;gap:6px;font-size:12px;line-height:1.6;color:#afc59c}
.stock:before{content:'';flex-shrink:0;width:4px;height:4px;border-radius:50%;background:var(--lime)}
.stock.empty{color:#a0acbc}.stock.empty:before{background:#778498}
.product-buy{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:16px;padding-top:15px;border-top:1px solid #ffffff0d}
.price{min-width:0;font-size:23px;line-height:1.25;font-weight:600;letter-spacing:-.5px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.price small{font-size:11px;font-weight:400;line-height:1.6;letter-spacing:0;color:#95a4b8;margin-top:4px}
.add-cart{display:grid;place-items:center;flex-shrink:0;width:46px;min-width:46px;height:46px;padding:0;border-radius:12px;background:var(--lime);color:#192711}
.add-cart svg{width:21px;height:21px}
.add-cart:disabled{background:#343e34;color:#a3b29a}
.add-cart span{display:none}
.empty-state{grid-column:1/-1;min-width:0;padding:30px 21px;border:1px solid #ffffff0d;border-radius:20px;background:radial-gradient(ellipse at 50% 0%,#c5f27707,transparent 60%),#151a21;text-align:center}
.empty-state h2{margin:0 0 12px;font-size:23px;line-height:1.4;font-weight:550;letter-spacing:-.4px;overflow-wrap:anywhere}
.empty-state p{max-width:48ch;margin:0 auto 23px;font-size:15px;line-height:1.8;color:#9aa9bb}
.empty-state p:last-child{margin-bottom:0}
.empty-art{position:relative;display:grid;place-items:center;width:100px;height:85px;margin:0 auto 22px}
.empty-orbit{position:absolute;inset:3px 10px;border:1px solid #b2d58322;border-radius:24px;background:#c5f27706;transform:rotate(-12deg)}
.empty-orbit:after{content:'';position:absolute;inset:8px -8px -8px 8px;border:1px solid #b2d58314;border-radius:24px;transform:rotate(25deg)}
.empty-card{position:absolute;top:5px;left:26px;display:grid;place-items:center;width:54px;height:68px;border:1px solid #b2d58330;border-radius:12px;background:#202b25;transform:rotate(-9deg);color:#bfd2ac}
.empty-card svg{width:28px;height:28px;stroke-width:1.3}
.empty-icon{position:absolute;right:7px;bottom:5px;display:grid;place-items:center;width:36px;height:36px;border:1px solid #adcc8e33;border-radius:12px;background:#151d20;color:#b6ce99}
.empty-icon svg{width:18px;height:18px}
.empty-state>svg{width:42px;height:42px;color:#9fb78a;margin-bottom:18px}
/* Help and safety cards. No mobile side-by-side text/action flex layout. */
.info-strip{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:16px;min-width:0;margin-top:25px;padding:22px;border:1px solid #ffffff10;border-radius:20px;background:linear-gradient(115deg,#20291f,#1a2026)}
.info-strip>.guide-icon,.info-strip>.benefit-icon{width:44px;height:44px;border-radius:13px}
.info-strip>.guide-icon svg,.info-strip>.benefit-icon svg{width:25px;height:25px}
.info-copy{width:100%;max-width:none;min-width:0}
.info-copy h3{margin:0 0 10px;font-size:20px;font-weight:550;line-height:1.4;letter-spacing:-.2px}
.info-copy p{margin:0;font-size:15px;line-height:1.8;color:#a5b4a7;overflow-wrap:normal;word-break:normal}
.info-strip>.button{grid-column:1/-1;width:100%;margin:0;min-height:50px;padding:13px 15px;font-size:15px;white-space:normal}
/* Account and purchase flow */
.page-intro{margin:4px 0 24px}.page-intro p{font-size:15px;line-height:1.8;color:var(--muted)}
.panel{min-width:0;padding:20px;border:1px solid #ffffff10;border-radius:19px;background:var(--panel)}
.panel h3{margin-top:0;font-size:19px;line-height:1.4;font-weight:550;letter-spacing:-.25px;overflow-wrap:anywhere}
.cart-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start}
.cart-layout>aside{position:static;min-width:0}
.cart-row{display:grid;grid-template-columns:54px minmax(0,1fr);gap:12px;align-items:start;padding:21px 0;border-bottom:1px solid #ffffff0d;min-width:0}
.cart-row:first-child{padding-top:0}
.cart-thumb{grid-column:1;grid-row:1;display:grid;place-items:center;width:54px;min-height:66px;max-width:100%;padding:5px;border:1px solid #4a72a744;border-radius:12px;background:linear-gradient(135deg,#244873,#13233e);font-size:14px;font-weight:600;letter-spacing:-.4px;overflow-wrap:anywhere}
.cart-detail{grid-column:2;grid-row:1;min-width:0}
.cart-detail h3{margin:0 0 7px;font-size:16px;line-height:1.5;font-weight:550;overflow-wrap:anywhere}
.cart-detail small{font-size:12px;line-height:1.65;color:#9fb0c5}
.quantity{grid-column:1/-1;grid-row:2;justify-self:start;display:flex;align-items:center;gap:9px;min-width:0;padding:2px;border:1px solid #3a4654;border-radius:12px;background:#131921}
.quantity button{display:grid;place-items:center;width:44px;height:44px;border-radius:9px;font-size:21px;color:#c3d0df}
.quantity span{min-width:20px;text-align:center;font-size:15px;font-variant-numeric:tabular-nums}
.cart-row>.price{grid-column:1/-1;grid-row:3;justify-self:start;align-self:center;max-width:calc(100% - 56px);white-space:normal;overflow-wrap:anywhere;font-size:21px}
.cart-row>.icon-button{grid-column:2;grid-row:3;justify-self:end}
.summary-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;min-width:0;margin:20px 0;color:#acbacc;font-size:14px;line-height:1.65}
.summary-row>span{min-width:0;overflow-wrap:anywhere}
.summary-row>span:last-child{flex-shrink:0;font-variant-numeric:tabular-nums;text-align:right}
.summary-row.total{padding-top:21px;border-top:1px solid #ffffff15;color:var(--white);font-size:23px;font-weight:600;letter-spacing:-.4px}
.muted{font-size:14px;line-height:1.8;color:#9eafc5;overflow-wrap:anywhere}
.payment-options{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;margin:20px 0}
.payment-option{min-width:0;min-height:48px;padding:13px 12px;border:1px solid #3b4859;border-radius:12px;background:#151b23;color:#b5c5da;font-size:15px;line-height:1.5;text-align:center}
.payment-option.active{background:#c5f2770e;border-color:#c5f27788;color:var(--lime)}
.profile-head{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:14px;margin:8px 0 26px;min-width:0}
.profile-head .avatar{width:58px;height:58px;border-radius:18px;font-size:23px}
.profile-head h2{font-size:23px;line-height:1.4;font-weight:550;letter-spacing:-.6px;margin:0 0 5px;overflow-wrap:anywhere}
.profile-head small{font-size:14px;line-height:1.6;color:#a3b3c8;overflow-wrap:anywhere}
.profile-panels{display:grid;grid-template-columns:minmax(0,1fr);gap:17px;margin-bottom:29px}
.balance-panel{background:radial-gradient(ellipse at top right,#c5f27712,transparent 75%),#1c2520;border-color:#c5f27727}
.balance-value{font-size:clamp(35px,10vw,46px);line-height:1.2;letter-spacing:-1.5px;font-weight:550;font-variant-numeric:tabular-nums;margin:21px 0 26px;overflow-wrap:anywhere}
.profile-panels .button{width:100%}
.order{margin-bottom:17px;min-width:0}
.order-header{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:start;margin-bottom:19px}
.order-header h3{font-size:18px;line-height:1.4;letter-spacing:-.3px;margin:0 0 5px;font-weight:550}
.order-header small{font-size:13px;line-height:1.7;color:#a1b0c4}
.badge{display:inline-block;justify-self:start;max-width:100%;padding:7px 10px;border:1px solid transparent;border-radius:8px;background:#29313d;color:#c1cddd;font-size:12px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.badge.pending{background:#cda24e10;border-color:#cda24e2b;color:#e0c58f}
.badge.delivered{background:#c5f2770e;border-color:#c5f27725;color:#c5e5a0}
.badge.rejected{background:#e0839710;border-color:#e0839725;color:#efb3c1}
.order-lines{font-size:15px;line-height:1.85;color:#c0ccdc;overflow-wrap:anywhere}
.order-total{margin-top:18px;font-size:20px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}
.codes{margin-top:19px;padding:14px;border:1px solid #c5f27726;border-radius:13px;background:#131a1b;min-width:0}
.code-line{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:8px;padding:7px 0;min-width:0}
.code-line code{font:14px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere;color:var(--lime);min-width:0}
.order-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-top:19px}
/* Forms and dialogs */
.notice{min-width:0;margin:19px 0;padding:16px;border:1px solid #c5f27725;border-radius:13px;background:#c5f27708;color:#c5d3b2;font-size:14px;line-height:1.85;overflow-wrap:anywhere}
.notice svg{width:19px;height:19px;margin-right:5px}
.notice.error{background:#e46a8a0c;border-color:#e46a8a35;color:#efbccd}
.instructions{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;margin:19px 0;padding:17px;border:1px solid #6f91ba22;border-radius:13px;background:#111923;color:#c7d9ee;font-size:15px;line-height:1.85}
.form-field{display:block;min-width:0;margin:20px 0;color:#b1c1d7;font-size:14px;line-height:1.7}
.form-field input,.form-field select,.form-field textarea{display:block;width:100%;max-width:100%;min-width:0;min-height:48px;margin-top:8px;padding:13px;border:1px solid #3a485a;border-radius:11px;background:#111820;color:#eef4f8;font-size:16px;line-height:1.5}
.form-field textarea{min-height:124px;resize:vertical}
.form-field input::placeholder,.form-field textarea::placeholder{color:#899bb2}
.form-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:0 16px;min-width:0}
.admin-tabs{display:flex;gap:8px;max-width:100%;margin-bottom:20px;padding:0 0 9px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
.admin-tabs .filter{flex:0 0 auto;min-height:46px;padding:10px 14px;font-size:14px;white-space:nowrap}
.admin-list{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.admin-row{display:grid;grid-template-columns:minmax(0,1fr);gap:13px;min-width:0}
.admin-row>div:first-child{min-width:0}
.admin-row h3{font-size:17px;line-height:1.5;margin:0 0 7px;overflow-wrap:anywhere}
.admin-row small{font-size:14px;line-height:1.8;color:#a8b9d1;overflow-wrap:anywhere}
.admin-row .button{width:100%;font-size:14px;min-height:48px}
.toast{position:fixed;z-index:100;left:16px;right:16px;bottom:calc(var(--nav-space) - 9px);max-width:520px;width:auto;margin:auto;padding:15px 18px;border:1px solid #c5f27738;border-radius:14px;background:#263324;color:#def2c4;font-size:14px;line-height:1.6;box-shadow:0 15px 40px #0006;opacity:0;pointer-events:none;transform:translateY(12px);transition:opacity .2s,transform .2s;overflow-wrap:anywhere}
.toast.show{opacity:1;transform:translateY(0)}
.toast.error{background:#3a232e;border-color:#a4597255;color:#f9c5d5}
dialog{width:calc(100% - 24px);max-width:560px;max-height:calc(100dvh - 32px);margin:auto;padding:21px 18px;border:1px solid #4b5c6a66;border-radius:21px;background:#1a232c;color:#eef4f3;box-shadow:0 30px 140px #000a;overflow:auto;overscroll-behavior:contain}
dialog::backdrop{background:#080e16bf;backdrop-filter:blur(8px)}
.modal-header{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:14px 10px;align-items:center;margin-bottom:21px;min-width:0}
.modal-header h2{grid-column:1/-1;grid-row:1;margin:0;font-size:25px;line-height:1.35;font-weight:550;letter-spacing:-.6px;overflow-wrap:anywhere}
.modal-header .language-switch{grid-column:1;grid-row:2;justify-self:start;margin:0}
.modal-header>.icon-button{grid-column:2;grid-row:2}
#modal-content,#modal-content>form,#modal-content>div{min-width:0}
.steps{counter-reset:step}
.step{display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;align-items:start;margin:25px 0;color:#b6c7dc;font-size:15px;line-height:1.85;min-width:0}
.step:before{counter-increment:step;content:'0' counter(step);display:grid;place-items:center;width:32px;height:32px;margin-top:3px;border:1px solid #c5f27720;border-radius:9px;background:#c5f2770b;color:var(--lime);font-size:13px}
.step>div{min-width:0;overflow-wrap:anywhere}
.step strong{display:block;margin-bottom:5px;color:#edf4f7;font-weight:550}
.loading{display:flex;align-items:center;justify-content:center;gap:12px;min-height:260px;color:#a2b3c8;font-size:15px}
.spinner{width:22px;height:22px;border:2px solid #c5f27720;border-top-color:var(--lime);border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
/* Fixed bottom navigation reserves actual page space; safe areas are additive. */
.bottom-nav{position:fixed;z-index:40;left:10px;right:10px;bottom:calc(8px + env(safe-area-inset-bottom));display:flex;align-items:stretch;justify-content:space-around;gap:2px;padding:8px 5px;border:1px solid #ffffff18;border-radius:20px;background:#20262ff5;box-shadow:0 8px 35px #0006;backdrop-filter:blur(18px)}
.bottom-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;flex:1;min-width:0;min-height:54px;padding:5px 1px;border-radius:13px;color:#a9b8cd;font-size:11px;line-height:1.3}
.bottom-item svg{width:21px;height:21px}
.bottom-item>span{display:block;max-width:100%;font-size:10px;line-height:1.4;white-space:nowrap}
.bottom-item.active{background:#c5f27710;color:#d6f3af}
.bottom-item .count{position:absolute;top:0;right:7px;min-width:15px;padding:1px 4px;border-radius:7px;background:var(--lime);color:#192313;font-size:10px;line-height:1.4;font-weight:600}
.footer{display:flex;flex-direction:column;align-items:flex-start;gap:14px;width:100%;max-width:1440px;min-width:0;margin:auto;padding:25px var(--page-gutter) calc(var(--nav-space) + env(safe-area-inset-bottom));border-top:1px solid #ffffff0a;color:#91a0b4;font-size:12px;line-height:1.7}
.footer>span:nth-child(2){display:none}
.footer button{min-height:44px;padding:9px 0;color:#b5c4d6;font-size:14px;text-align:left}
#demo-banner{position:relative;z-index:50;text-align:center;padding:7px 12px;background:var(--lime);color:#263719;font-size:10px;line-height:1.5;font-weight:600;letter-spacing:.2px}
@media(min-width:360px){
  .brand-mark{width:32px;height:32px}.mobile-brand{font-size:14px;gap:9px}.header-actions{gap:8px}
  .hero-copy{padding:25px 24px 0}.hero-actions{align-items:flex-start}.hero-actions>.button{width:auto;min-width:170px}.hero h1{font-size:34px}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .product{padding:8px;border-radius:17px}.product-art{height:158px;padding:12px 10px}
  .art-top{font-size:8px;gap:4px}.card-emblem svg{width:48px;height:37px}.art-bottom strong{font-size:24px}.art-bottom small{max-width:38px;font-size:5px;letter-spacing:.5px}
  .favorite{top:31px;right:5px;width:44px;height:44px;background:#101c33aa}.favorite svg{width:18px;height:18px}
  .product-info{padding:13px 3px 4px}.product h3{font-size:14px;line-height:1.55}.product-region{font-size:11px;gap:4px}.stock{font-size:11px}
  .product-buy{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:7px;align-items:start}.price{font-size:21px}.price small{font-size:10px;line-height:1.6}.add-cart{width:44px;min-width:44px;height:44px}
}
@media(min-width:768px){
  :root{--page-gutter:28px}
  .topbar{grid-template-columns:auto minmax(0,1fr) auto;gap:20px;padding-top:21px;padding-bottom:21px}
  .search-box{grid-column:2;grid-row:1;min-height:50px}.header-actions{grid-column:3;gap:13px}.mobile-brand{font-size:17px}.mobile-brand .brand-mark{width:40px;height:40px}.mobile-brand small{font-size:9px}
  main{padding-top:27px;padding-bottom:40px}
  .hero{grid-template-columns:1.15fr 1fr;align-items:stretch;min-height:385px;border-radius:26px}
  .hero-copy{padding:35px 0 46px 32px}.hero h1{font-size:40px;letter-spacing:-1.6px;line-height:1.1}.hero p{font-size:15px;max-width:32ch}
  .hero-actions{flex-direction:row;flex-wrap:wrap;align-items:center;gap:16px}.hero-actions .text-link{display:inline-flex;font-size:13px;color:#c2d0db}.hero-actions>.button{min-width:0}
  .hero-visual{height:auto;min-height:340px;margin:0}.hero-orbit{width:260px;height:260px;left:52%;top:48%}
  .hero-gift-card{top:65px;left:24%;width:162px;height:230px;padding:19px 16px;border-radius:19px}.hero-card-back{top:85px;left:9%;width:157px;height:223px;border-radius:19px}
  .gift-top{font-size:8px}.gift-top>svg{width:14px;height:14px}.gift-emblem{width:66px;height:65px;border-radius:21px}.gift-emblem svg{width:45px;height:45px}.gift-bottom strong{font-size:29px}.gift-bottom>span{font-size:7px}.gift-caption{font-size:6px}
  .hero-controller{width:145px;height:108px;right:-2px;bottom:52px}.hero-visual:after{right:24px;top:37px;font-size:30px}
  .hero-tag{position:absolute;right:24px;bottom:16px;max-width:240px;margin:0;font-size:10px}
  .benefits{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:35px}.benefit{grid-template-columns:minmax(0,1fr);gap:11px;padding:18px}.benefit strong{font-size:14px}.benefit small{font-size:13px}
  .section-head{grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;margin-top:32px;margin-bottom:21px}.section-head .text-link{justify-self:end;max-width:200px;font-size:13px}.section-head h2,.page-heading{font-size:28px}
  .filters{display:flex;flex-wrap:wrap;gap:9px}.filter{padding:11px 16px}.sort{width:200px;margin-left:auto;font-size:14px}
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product{padding:11px}.product-art{height:185px;padding:16px}.art-top{font-size:9px}.art-bottom strong{font-size:28px}.art-bottom small{font-size:6px;max-width:50px}.product h3{font-size:16px}.product-info{padding:16px 4px 5px}.product-region{font-size:12px}.price{font-size:24px}.price small{font-size:11px}.stock{font-size:12px}
  .info-strip{grid-template-columns:44px minmax(0,1fr);gap:15px 19px;padding:27px}.info-strip>.info-copy{grid-column:2}.info-strip>.button{grid-column:2;justify-self:start;width:auto;min-width:220px}.info-copy h3{font-size:22px}.info-copy p{font-size:16px;max-width:65ch}
  .panel{padding:25px}.profile-panels{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.profile-head{grid-template-columns:66px minmax(0,1fr)}.profile-head .avatar{width:66px;height:66px;border-radius:21px}.profile-head h2{font-size:28px}
  .cart-row{grid-template-columns:66px minmax(0,1fr) auto;align-items:center}.cart-thumb{width:66px;min-height:78px;grid-row:1/3;font-size:17px}.cart-detail{grid-column:2/4}.quantity{grid-row:2;grid-column:2}.cart-row>.price{grid-row:2;grid-column:3}.cart-row>.icon-button{grid-row:3;grid-column:3}
  .payment-options{grid-template-columns:repeat(2,minmax(0,1fr))}.order-header{grid-template-columns:minmax(0,1fr) auto;align-items:start}.order-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.order-actions>.button:only-child{grid-column:1/-1}
  .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid .wide{grid-column:1/-1}.admin-row{grid-template-columns:minmax(0,1fr) auto;gap:14px}.admin-row>div:first-child{grid-column:1/-1}.admin-row .button{min-width:150px;width:auto;justify-self:start}
  dialog{padding:28px;border-radius:24px}.modal-header h2{font-size:26px}.footer{flex-direction:row;justify-content:space-between;align-items:center;font-size:13px}
}
@media(min-width:1100px){
  :root{--page-gutter:35px;--nav-space:28px}
  .sidebar{display:flex;flex-direction:column;position:fixed;z-index:30;inset:0 auto 0 0;width:224px;padding:33px 19px 24px;border-right:1px solid #ffffff0c;background:#12151b}
  .brand{font-size:18px;gap:11px;min-height:44px}.brand-mark{width:42px;height:42px;border-radius:13px}.brand-mark svg{width:27px;height:27px}.brand small{font-size:9px;letter-spacing:4px}
  .sidebar-caption{font-size:10px;line-height:1.8;letter-spacing:1px;color:#7e8b9d;margin:30px 9px 25px}
  .nav-item{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;margin:5px 0;padding:12px;border-radius:12px;font-size:14px;line-height:1.5;text-align:left;color:#a8b5c8}
  .nav-item.active{background:#c5f27712;box-shadow:inset 2px 0 var(--lime);color:var(--lime)}.nav-item svg{width:20px;height:20px}.nav-item .count{margin-left:auto;padding:1px 6px;border-radius:7px;background:#c5f27720;color:var(--lime);font-size:12px}
  .nav-section{margin:29px 12px 11px;font-size:10px;letter-spacing:1.3px;color:#7c8a9f}
  .sidebar-bottom{margin-top:auto;padding-top:30px}.region-note{display:flex;align-items:center;gap:10px;padding:15px 12px;border:1px solid #c5f27712;border-radius:15px;background:#1b201c;font-size:13px;line-height:1.5}.region-note>span{font-size:23px}.region-note small{font-size:11px;color:#9eaf98;margin-top:5px}
  .support-link{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;margin:16px 0;color:#aebdd0;font-size:12px;text-align:left}.support-link>span:last-child{margin-left:auto}.legal{font-size:10px;line-height:1.85;color:#8a9ab0}
  .app-shell{margin-left:224px}.topbar{grid-template-columns:minmax(0,1fr) auto;gap:22px;min-height:94px;padding-top:20px;padding-bottom:20px}.mobile-brand{display:none}.search-box{grid-column:1;grid-row:1;max-width:450px;justify-self:start}.header-actions{grid-column:2;gap:17px}.search-box kbd{display:block;padding:0 5px;border:1px solid #4a5666;border-radius:4px;font-size:11px;line-height:1.5}
  .desktop-cart{display:inline-grid}.user-button{width:auto;gap:9px;padding:0 4px}.user-button>span:not(.avatar){display:inline;font-size:13px}.user-button>#header-user{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-button>.chevron{font-size:12px;color:#9eacbf}
  main{padding-top:34px}.hero{grid-template-columns:1.12fr 1fr;min-height:430px}.hero-copy{padding:43px 0 45px 37px}.hero h1{font-size:44px;letter-spacing:-1.9px}.hero p{font-size:15px}.hero-actions .text-link{font-size:12px}.hero-actions{gap:13px}
  .hero-gift-card{left:23%;top:65px;width:185px;height:263px;padding:22px 19px}.hero-card-back{left:9%;top:90px;width:180px;height:250px}.gift-emblem{width:78px;height:75px;border-radius:24px}.gift-emblem svg{width:53px;height:53px}.gift-bottom strong{font-size:33px}.gift-top{font-size:9px}.gift-caption{font-size:7px}.hero-controller{right:5px;bottom:50px;width:185px;height:125px}.hero-orbit{width:310px;height:310px}.hero-tag{bottom:23px}
  .hero-art-note{display:block;position:absolute;bottom:7px;right:24px;max-width:190px;font-size:8px;line-height:1.6;color:#8d9d90;text-align:right}
  .benefit{grid-template-columns:36px minmax(0,1fr);gap:12px;padding:17px 15px}.benefit strong{font-size:13px}.benefit small{font-size:12px}
  .cart-layout{grid-template-columns:minmax(0,1fr) 310px;gap:21px}.cart-layout>aside{position:sticky;top:22px}.cart-layout .cart-row{grid-template-columns:54px minmax(0,1fr)}.cart-layout .cart-thumb{grid-row:1;grid-column:1;width:54px;min-height:66px}.cart-layout .cart-detail{grid-column:2;grid-row:1}.cart-layout .quantity{grid-column:1/-1;grid-row:2}.cart-layout .cart-row>.price{grid-column:1/-1;grid-row:3;justify-self:start}.cart-layout .cart-row>.icon-button{grid-column:2;grid-row:3}
  .bottom-nav{display:none}.footer{padding-bottom:28px}.footer>span:nth-child(2){display:block}.footer button{font-size:13px}.toast{bottom:25px}
}
@media(min-width:1360px){
  :root{--page-gutter:42px}.topbar{grid-template-columns:auto minmax(0,1fr) auto}.breadcrumb{display:block;font-size:13px;color:#8e9db1;white-space:nowrap}.breadcrumb span{margin-right:13px;color:#7c899c}.breadcrumb strong{color:#dde5ef;font-weight:500}.search-box{grid-column:2;justify-self:end;width:100%}.header-actions{grid-column:3}
  .hero h1{font-size:51px}.hero-copy{padding:47px 0 50px 42px}.hero{min-height:450px}.hero-gift-card{left:27%;top:64px;width:210px;height:286px;padding:23px 21px}.hero-card-back{left:13%;top:90px;width:200px;height:273px}.gift-bottom strong{font-size:36px}.hero-controller{right:5px;bottom:50px;width:185px;height:125px}.hero-orbit{width:350px;height:350px}.hero-actions{gap:18px}.hero-actions .text-link{font-size:14px}
  .info-strip{grid-template-columns:48px minmax(0,1fr) auto;align-items:center}.info-strip>.info-copy{grid-column:2}.info-strip>.button{grid-column:3;width:auto;min-width:220px;max-width:280px}.info-strip>.guide-icon,.info-strip>.benefit-icon{width:48px;height:48px}
  .admin-row{display:flex;flex-wrap:wrap;align-items:center}.admin-row>div:first-child{flex:1;min-width:240px}.admin-row .button{min-width:0}
}
@media(min-width:1650px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.hero h1{font-size:57px}.hero-copy{padding:54px 0 54px 49px}.hero-gift-card{left:31%;top:73px;width:226px;height:305px}.hero-card-back{left:17%;top:92px;height:292px}.hero{min-height:475px}}
@media(hover:hover){button:not(:disabled):hover{filter:brightness(1.07)}.button.secondary:hover{background:#303b49}.nav-item:not(.active):hover{background:#ffffff08;color:#fff}.product:hover{border-color:#c5f27740}.icon-button:hover{background:#ffffff0b}.quantity button:hover{background:#2e393f}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Product uploads follow the same full-width mobile form flow. */
.product-image-editor{grid-column:1/-1;min-width:0;margin:8px 0 24px;padding-top:8px}
.product-image-editor>h3{margin:0 0 13px;font-size:18px;line-height:1.5;font-weight:550}
.product-image-preview{position:relative;display:grid;place-items:center;min-width:0;width:100%;aspect-ratio:16/10;min-height:130px;max-height:260px;border:1px dashed #566d4c;border-radius:15px;background:#101b20;overflow:hidden}
.product-image-preview>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;background:#101820}
.product-image-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:18px;text-align:center;color:#a8b99d;font-size:14px;line-height:1.7}
.product-image-placeholder svg{width:35px;height:35px}
.image-file-label{margin:16px 0 8px;font-size:15px}
.form-field input[type=file]{min-height:52px;max-width:100%;padding:5px;font-size:16px;line-height:1.6;color:#a8b9d0;overflow:hidden}
.form-field input[type=file]::file-selector-button{min-height:44px;max-width:100%;padding:10px 12px;margin:0 10px 0 0;border:0;border-radius:8px;background:var(--lime);color:#192711;font:600 13px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;cursor:pointer}
.image-upload-hint{margin:8px 0 0;font-size:13px;line-height:1.8}
.image-file-name{margin:9px 0 0;overflow-wrap:anywhere;color:#cbd6e3;font-size:13px;line-height:1.7}
.image-file-name:empty,.image-upload-status:empty{display:none}
.image-upload-status{font-size:14px;line-height:1.7;color:var(--lime)}
.image-remove{font-size:14px;gap:8px}.image-remove svg{width:18px;height:18px}
.image-link-alternative{margin:13px 0 0;border-top:1px solid #ffffff0d;padding-top:10px;min-width:0}
.image-link-alternative summary{display:list-item;min-height:44px;padding:10px 0;color:#afc0d4;cursor:pointer;font-size:14px;line-height:1.7}
.image-link-alternative .form-field{margin-top:8px;margin-bottom:0}

/* Administrator-only buyer identity stays readable on narrow phones. */
.customer-card{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0;padding:16px;margin:15px 0 21px;border:1px solid #6e8fbc35;border-radius:14px;background:#131c26}
.customer-card-info{min-width:0}.customer-card-label{display:block;font-size:12px;line-height:1.7;color:#a6b9d2;margin-bottom:5px}
.customer-card-info>strong{display:block;font-size:16px;font-weight:550;line-height:1.5;overflow-wrap:anywhere}.customer-username{display:block;font-size:14px;line-height:1.7;color:#b9d3f3;overflow-wrap:anywhere}
.customer-id-row{display:flex;align-items:center;gap:7px;min-width:0;font-size:13px;line-height:1.7;color:#a3b4cc}.customer-id-row>span{min-width:0;overflow-wrap:anywhere}.customer-id-row code{font-size:13px}.customer-id-row>.icon-button{margin-left:auto;min-width:44px;min-height:44px}
.customer-profile-link{width:100%;min-height:48px;text-align:center;font-size:14px}.customer-profile-hint{margin:0;font-size:12px;line-height:1.8;color:#9cadc1;overflow-wrap:anywhere}.admin-row .customer-card{margin-bottom:2px}.customer-card .button{width:100%;justify-self:stretch}

/* Payment details are selectable; copying never depends on selecting wrapped text. */
.payment-details{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0;margin:16px 0 20px}
.payment-details .instructions{margin:0;-webkit-user-select:text;user-select:text;cursor:text;overflow-wrap:anywhere;word-break:normal}
.payment-address{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;min-width:0;padding:15px;border:1px solid #6f91ba2e;border-radius:13px;background:#111923}
.payment-address label{display:block;min-width:0;font-size:13px;line-height:1.7;color:#b5c8df}
.payment-address input{display:block;min-width:0;width:100%;min-height:48px;margin-top:7px;padding:10px 11px;border:1px solid #3b4d63;border-radius:9px;background:#0e151f;color:#e5efff;font:16px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;-webkit-user-select:text;user-select:text}
.payment-copy-all{min-height:44px;font-size:14px;gap:9px}.payment-copy-all svg{width:18px;height:18px}
.payment-amount-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;margin:8px 0 16px}.payment-amount-row .muted{margin:0;min-width:0}.payment-amount-row button{flex-shrink:0}
.payment-copy-fallback{min-width:0;border:1px solid #c5f27744;border-radius:12px;padding:14px;background:#1f2b24}.payment-copy-fallback p{margin:0;font-size:14px;line-height:1.8}.payment-copy-fallback textarea{user-select:text;-webkit-user-select:text;font-size:16px;overflow-wrap:anywhere}
.payment-clipboard-helper{position:fixed;left:0;top:0;width:1px;height:1px;opacity:.01;font-size:16px;padding:0;border:0;pointer-events:none}

/* Admin customer lists keep identity, money and actions in separate readable rows. */
.users-search{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:0 0 22px;min-width:0}
.users-search .form-field{margin:0}.users-search>.button,.user-summary>.button{width:100%}
.user-summary .customer-card{margin-top:0}.user-metrics{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:18px 0 22px}
.user-metrics>div{min-width:0;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#131a23}
.user-metrics dt{margin:0 0 7px;color:var(--muted);font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.user-metrics dd{margin:0;font-size:21px;line-height:1.4;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.users-pagination{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:12px;margin-top:22px}
.users-pagination>.muted{grid-column:1/-1;grid-row:1;text-align:center}.users-pagination>.button{width:100%;min-height:48px}
.users-section{margin-top:28px}.users-section>h2{font-size:22px;line-height:1.4;font-weight:550;margin:0 0 18px;overflow-wrap:anywhere}
.users-section>h3{font-size:17px;line-height:1.5;margin-top:22px}.user-purchase h3{margin-bottom:10px}
.user-nominal{font-size:18px;line-height:1.6;margin:0;overflow-wrap:anywhere}.user-purchase .muted:last-child{margin-bottom:0}
.user-history-item{display:grid;gap:4px;min-width:0;padding:12px 0;border-bottom:1px solid var(--line)}
.user-history-item:first-child{padding-top:0}.user-history-item strong{font-weight:550}.user-history-item>small{font-size:13px}
.admin-user-detail>.text-link{margin-bottom:10px}.admin-users .loading,.admin-user-detail .loading{min-height:180px}
@media(min-width:600px){.user-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.users-search{grid-template-columns:minmax(0,1fr) auto;align-items:end}.users-search>.button{width:auto;min-width:120px}.user-summary>.button{width:auto;min-width:160px}.users-pagination{grid-template-columns:auto minmax(0,1fr) auto}.users-pagination>.muted{grid-column:2;grid-row:1}.users-pagination>.button:first-child{grid-column:1;grid-row:1}.users-pagination>.button:last-child{grid-column:3;grid-row:1}}

.users-overall-count{margin:0 0 22px}.users-overall-count>div{border-color:#c5f27733;background:#1c2520}.users-overall-count dd{font-size:36px;line-height:1.2;color:var(--lime);font-variant-numeric:tabular-nums}

/* Catalog-first home: compact admin contact + channel link above the cards. */
.contact-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin:0 0 20px;padding:12px 14px;border:1px solid #c5f27740;border-radius:16px;background:#1a221d;min-width:0}
.contact-bar p{margin:0;font-size:15px;line-height:1.5;color:#c5d1c6}
.contact-bar p a{color:var(--lime);font-weight:600;text-decoration:none}
.contact-bar .button{min-height:42px;padding:9px 14px;font-size:14px}
.codes .code-group{display:block;margin:12px 0 2px;color:#e0e7ee;font-size:14px;font-weight:600}
.codes .code-group:first-of-type{margin-top:8px}

/* Accounting tab: profit hero, stock tiles, per-product cards, payout ledger. */
.accounting{display:grid;gap:16px;min-width:0}
.acc-hero{display:grid;gap:4px;min-width:0;padding:22px 20px 18px;border:1px solid #c5f27740;border-radius:22px;background:radial-gradient(ellipse at 100% 0%,#c5f2771f,transparent 62%),#1a221d}
.acc-kicker{font-size:12px;line-height:1.6;letter-spacing:1px;text-transform:uppercase;color:#b7cf98}
.acc-profit{font-size:42px;line-height:1.15;font-weight:650;letter-spacing:-1.2px;color:var(--lime);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.acc-profit.negative,.acc-mini .negative{color:#ff9fb3}
.acc-sub{margin:2px 0 12px;font-size:13px;line-height:1.7;color:#a9b8a8}
.acc-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:14px;border-top:1px solid #c5f2771f}
.acc-split span{display:block;font-size:12px;line-height:1.6;color:#9fb19e}
.acc-split b{font-size:20px;line-height:1.4;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.acc-due{color:var(--lime)}
.acc-meter{height:8px;margin-top:12px;border-radius:99px;background:#c5f2771c;overflow:hidden}
.acc-meter span{display:block;height:100%;border-radius:99px;background:var(--lime)}
.acc-meter-label{font-size:12px;line-height:1.7;color:#9fb19e}
.acc-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
.acc-tiles>div{min-width:0;padding:14px 16px;border:1px solid var(--line);border-radius:16px;background:#131a23}
.acc-tiles dt{font-size:13px;line-height:1.6;color:var(--muted)}
.acc-tiles dd{margin:4px 0 0;font-size:26px;line-height:1.3;font-weight:600;font-variant-numeric:tabular-nums}
.acc-tiles dd small{display:inline;font-size:14px;font-weight:500;color:var(--muted)}
.acc-tiles p{margin:4px 0 0;font-size:12px;line-height:1.5;color:#9aa7b8}
.acc-warning{margin:0;border-color:#f2c57740;background:#f2c5770d;color:#e9d3a6}
.acc-section h2{margin:10px 0 12px;font-size:20px;line-height:1.4;font-weight:600;letter-spacing:-.3px}
.acc-products{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.acc-product{display:grid;gap:12px;padding:16px}
.acc-product.archived{opacity:.72}
.acc-product-head{min-width:0}
.acc-region{font-size:12px;line-height:1.6;color:var(--muted)}
.acc-product h3{margin:2px 0 0;font-size:16px;line-height:1.4;overflow-wrap:anywhere}
.acc-bar{display:flex;height:6px;border-radius:99px;background:#2a3340;overflow:hidden}
.acc-bar .sold{background:var(--lime)}.acc-bar .reserved{background:#f2c577}
.acc-mini{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}
.acc-mini>div{min-width:0}
.acc-mini dt{font-size:11px;line-height:1.6;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.acc-mini dd{margin:1px 0 0;font-size:15px;line-height:1.4;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.acc-mini .positive{color:var(--lime)}
.acc-cost-line{display:flex;flex-wrap:wrap;gap:4px 12px;margin:0;font-size:12px;line-height:1.6;color:#9aa7b8}
.acc-cost-line:empty{display:none}
.acc-missing{color:#f2c577}
.acc-payout-form{display:grid;min-width:0}
.acc-payout-form .form-field{margin:0 0 14px}
.acc-payouts{display:grid;gap:8px;margin-top:12px}
.acc-payout{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:12px 6px 12px 16px;border:1px solid var(--line);border-radius:14px;background:#151a21}
.acc-payout>div{min-width:0}
.acc-payout b{font-size:17px;line-height:1.4;font-variant-numeric:tabular-nums}
.acc-payout small{display:block;font-size:12px;line-height:1.6;color:var(--muted)}
.acc-payout p{margin:4px 0 0;font-size:14px;line-height:1.6;color:#c7d1dd;overflow-wrap:anywhere}
.check-field{display:flex;align-items:flex-start;gap:10px;margin:16px 0 20px;font-size:14px;line-height:1.5;color:#b1c1d7}
.check-field input{width:20px;height:20px;margin:0;flex-shrink:0;accent-color:var(--lime)}
@media(min-width:768px){.accounting{gap:20px}.acc-hero{padding:28px}.acc-profit{font-size:52px}.acc-tiles{gap:16px}.acc-products{grid-template-columns:repeat(2,minmax(0,1fr))}.acc-payout-form{grid-template-columns:180px minmax(0,1fr) auto;align-items:end;gap:14px}.acc-payout-form .form-field{margin:0}}

/* Accounting drill-downs, payment networks, users sort. */
.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.acc-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.acc-actions .button{min-height:42px;padding:9px 12px;font-size:14px}
.batch-row{display:grid;grid-template-columns:minmax(0,1fr) 116px;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}
.batch-row:first-of-type{border-top:1px solid var(--line)}
.batch-row strong{display:block;font-size:15px;line-height:1.5;font-weight:600}
.batch-row small{display:block;font-size:12px;line-height:1.6;color:var(--muted)}
.batch-cost{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:15px}
.batch-cost input{width:100%;min-width:0;min-height:44px;padding:8px 10px;border:1px solid #3b4d63;border-radius:10px;background:#0e151f;color:#e5efff;font:16px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace}
#cost-form .button{margin-top:18px}
.sales-list{display:grid;gap:8px}
.sale-row{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:13px 14px;border:1px solid var(--line);border-radius:14px;background:#151a21}
.sale-row.excluded{opacity:.75;border-style:dashed}
.sale-row strong{display:block;font-size:15px;line-height:1.5;font-variant-numeric:tabular-nums}
.sale-row small{display:block;font-size:12px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}
.sale-row .button{min-height:40px;padding:8px 12px;font-size:13px}
.wallet-choose{margin:0 0 10px}
.network-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 12px}
.network-switch button{display:grid;gap:2px;min-width:0;min-height:56px;padding:9px 12px;border:1px solid var(--line);border-radius:13px;background:#151a21;color:#c9d4e2;text-align:left;cursor:pointer}
.network-switch button b{font-size:14px;line-height:1.4;font-weight:600}
.network-switch button small{font-size:12px;line-height:1.4;color:var(--muted)}
.network-switch button.active{border-color:#c5f27788;background:#1c2520;color:var(--lime)}
.wallet-box{display:grid;gap:10px;min-width:0;padding:15px;border:1px solid #6f91ba2e;border-radius:13px;background:#111923}
.wallet-label{font-size:13px;line-height:1.6;color:#b5c8df}
.wallet-address{display:block;padding:11px 12px;border:1px solid #3b4d63;border-radius:9px;background:#0e151f;color:#e5efff;font:15px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;word-break:break-all;-webkit-user-select:all;user-select:all}
.wallet-warning{margin:0;font-size:12px;line-height:1.6;color:#e9d3a6}
.payment-details .wallet-box+.instructions{margin-top:12px}
.users-sort{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.users-sort .filter{flex:0 0 auto;min-height:42px;padding:9px 14px;font-size:14px}
.user-joined{margin:10px 0 0;font-size:12px;line-height:1.6;color:var(--muted)}
@media(min-width:768px){.sale-row{grid-template-columns:minmax(0,1fr) auto;align-items:center}}
/* Catalog region tabs, cart counter on the add button, typed cart quantity */
.filters{grid-template-columns:repeat(2,minmax(0,1fr))}
.add-cart b{font-size:18px;line-height:1;font-weight:700;font-variant-numeric:tabular-nums}
.add-cart.in-cart{box-shadow:0 0 0 3px #c5f27730}
.quantity .qty-input{width:52px;min-width:0;height:44px;padding:0;border:0;border-radius:8px;background:transparent;color:#eef4f8;font:inherit;font-size:16px;text-align:center;font-variant-numeric:tabular-nums;-moz-appearance:textfield;appearance:textfield}
.quantity .qty-input:focus{outline:2px solid #c5f27766;background:#1b232d}
.quantity .qty-input::-webkit-outer-spin-button,.quantity .qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
/* Admin products grouped by region */
.admin-group+.admin-group{margin-top:26px}
.admin-group-title{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:19px;line-height:1.4;font-weight:600}
.admin-group-title span{padding:3px 8px;border:1px solid #ffffff0c;border-radius:7px;background:#1e242c;font-size:12px;font-weight:500;color:#aab6c4}
.admin-row.admin-product{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.admin-row.admin-product h3{margin:0 0 2px}
.stock-link{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:52px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:#131a23;color:#c8d4e3;font-size:15px;text-align:left}
.stock-link b{font-size:18px;color:#fff;font-variant-numeric:tabular-nums}
.stock-link-open{display:inline-flex;align-items:center;gap:6px;color:var(--lime);font-size:14px;white-space:nowrap}
.stock-link-open svg{width:16px;height:16px}
.admin-product-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.admin-product-actions .button{width:100%;min-width:0;justify-self:stretch}
.admin-product-actions [data-stock-product]{grid-column:1/-1}
/* Codes manager */
.codes-filter{margin:4px 0 12px}
.codes-batches{display:grid;gap:12px;max-height:46vh;overflow:auto;overscroll-behavior:contain}
.codes-batch{border:1px solid var(--line);border-radius:12px;overflow:hidden}
.code-check{display:flex;align-items:center;gap:12px;min-height:46px;padding:8px 14px;border-top:1px solid #ffffff0a;cursor:pointer}
.code-check:first-child{border-top:0}
.code-check[hidden]{display:none}
.code-check input{width:20px;height:20px;margin:0;flex-shrink:0;accent-color:var(--lime)}
.code-check code{font-size:14px;color:#e7eef6;overflow-wrap:anywhere}
.batch-check{background:#131a23;font-size:13px;font-weight:600;color:#b1c1d7}
.codes-footer{padding-top:14px}
.codes-preview{display:grid;gap:6px;margin:14px 0;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#131a23}
.codes-preview code{font-size:14px;overflow-wrap:anywhere}
/* Daily profit */
.acc-periods{margin:0 0 12px;padding-top:0;border-top:0}
.acc-periods>div{padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:#131a23}
.acc-periods span{color:var(--muted)}
.acc-days{display:grid;padding:4px 16px}
.acc-day{display:grid;gap:7px;padding:12px 0;border-top:1px solid #ffffff0a}
.acc-day:first-child{border-top:0}
.acc-day-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.acc-day-head b{font-size:15px;font-weight:600}
.acc-day.today .acc-day-head b{color:var(--lime)}
.acc-day-head span{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}
.acc-day .positive{color:var(--lime)}
.acc-day .negative{color:#ff9fb3}
.acc-day-bar{height:6px;border-radius:99px;background:#ffffff0d;overflow:hidden}
.acc-day-bar span{display:block;height:100%;border-radius:inherit;background:var(--lime)}
.acc-day small{font-size:12px;line-height:1.5;color:#9aa7b8}
.acc-days>p{margin:12px 0}
/* Topup TXID, profit by region */
.topup-sender{margin:6px 0 0;font-size:13px;line-height:1.6;color:#a8b9d1;overflow-wrap:anywhere}
.topup-sender code{color:#e7eef6}
.acc-regions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.acc-region-card{display:grid;gap:6px;padding:14px 16px;min-width:0}
.acc-region-card strong{font-size:24px;line-height:1.3;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.acc-region-card .positive{color:var(--lime)}
.acc-region-card .negative{color:#ff9fb3}
.acc-region-card small{font-size:12px;line-height:1.5;color:#9aa7b8}
/* Daily profit split by region */
.acc-day-regions{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:13px;line-height:1.5;color:#c5d0de}
.acc-periods .acc-day-regions{display:grid;gap:2px;margin-top:6px;font-size:12px}
.acc-periods .acc-day-regions span{color:#c5d0de}
.acc-day-regions b{display:inline;font-size:inherit;font-weight:600;font-variant-numeric:tabular-nums;color:inherit}
.acc-day-regions .positive{color:var(--lime)}
.acc-day-regions .negative{color:#ff9fb3}
