@import url("/miniapp-assets/shop.css?v=2");

:root {
  --space: #050505;
  --panel: #101010;
  --panel-2: #171717;
  --ink: #fff;
  --muted: #969696;
  --edge: rgba(255,255,255,.18);
  --glass: rgba(8,8,8,.74);
}

html { background: var(--space); color-scheme: dark; }
body { background: var(--space); color: var(--ink); }
body::before { z-index: 150; opacity: .045; mix-blend-mode: screen; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.client-app { width: min(100%,680px); padding: calc(18px + var(--safe-top)) 14px calc(28px + var(--safe-bottom)); background: var(--space); }
body[data-view="home"] .client-app,
body[data-view="loading"] .client-app { width: 100%; max-width: none; padding: 0; }
.screen { animation: view-enter .32s cubic-bezier(.2,.75,.2,1); }
@keyframes view-enter { from { opacity: 0; transform: translateY(9px) scale(.995); } }

/* Loading cover. */
.loading-screen { position: fixed; z-index: 200; inset: 0; display: block; overflow: hidden; background: #000; color: #fff; }
.loading-screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: contrast(1.06); animation: art-arrive 1.25s ease both; }
.loading-screen::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent,#000 88%); }
.loader-brand { position: absolute; z-index: 2; left: 0; right: 0; bottom: 72px; font: 900 clamp(2.2rem,13vw,4.7rem)/1 var(--sketch); letter-spacing: -.07em; text-align: center; }
.loader-line { position: absolute; z-index: 2; left: 50%; bottom: 47px; width: min(210px,56vw); height: 2px; overflow: hidden; background: #333; transform: translateX(-50%); }
.loader-line i { display: block; width: 28%; height: 100%; background: #fff; animation: loader-scan .85s ease-in-out infinite alternate; }
@keyframes loader-scan { to { width: 100%; } }
@keyframes art-arrive { from { opacity: .2; transform: scale(1.035); filter: blur(5px) contrast(1.06); } }

/* Main cover and five actual actions. */
.portal-screen { position: relative; min-height: 100dvh; overflow: hidden; padding: calc(22px + var(--safe-top)) 14px calc(18px + var(--safe-bottom)); background: #000; color: #fff; isolation: isolate; }
.portal-art { position: absolute; z-index: -3; top: 0; left: 50%; width: min(100%,620px); height: 100%; object-fit: cover; object-position: center top; transform: translateX(-50%); animation: cover-breathe 14s ease-in-out infinite alternate; }
.portal-screen::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(180deg,rgba(0,0,0,.42) 0,transparent 23%,rgba(0,0,0,.06) 43%,#000 73%,#000 100%); }
.portal-screen::before { content: ""; position: absolute; z-index: -2; inset: -20%; pointer-events: none; background-image: radial-gradient(#fff 0 1px,transparent 1.5px); background-size: 47px 47px; opacity: .17; animation: stars-drift 30s linear infinite; }
@keyframes cover-breathe { to { transform: translateX(-50%) scale(1.018); } }
@keyframes stars-drift { to { transform: translate3d(-47px,47px,0); } }
.space-scene { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.space-scene i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px #fff; animation: star-pulse 2s ease-in-out infinite alternate; }
.space-scene i:nth-child(1){left:8%;top:14%}.space-scene i:nth-child(2){right:12%;top:22%;animation-delay:.3s}.space-scene i:nth-child(3){left:18%;top:48%;animation-delay:.7s}.space-scene i:nth-child(4){right:9%;top:52%}.space-scene i:nth-child(5){left:12%;bottom:14%;animation-delay:1s}.space-scene i:nth-child(6){right:28%;bottom:7%;animation-delay:.4s}
@keyframes star-pulse { to { opacity: .22; transform: scale(2.6); } }
.portal-brand { position: relative; z-index: 2; margin: 0; text-align: center; }
.portal-brand h1 { margin: 0; color: #fff; font-family: Impact,"Arial Narrow","Helvetica Neue",Arial,sans-serif; font-size: clamp(3rem,14vw,6.8rem); font-weight: 900; line-height: .82; letter-spacing: -.045em; text-transform: uppercase; text-shadow: 0 2px 0 #000,0 6px 24px #000; transform: scaleX(.91); transform-origin: top center; }
.portal-menu { position: absolute; z-index: 2; right: 14px; bottom: calc(18px + var(--safe-bottom)); left: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: min(calc(100% - 28px),560px); margin-inline: auto; }
.portal-menu button { position: relative; display: grid; grid-template-columns: 42px minmax(0,1fr); min-height: 66px; align-items: center; gap: 10px; overflow: hidden; padding: 9px 13px 9px 10px; border: 1px solid rgba(255,255,255,.28); border-radius: 16px; background: var(--glass); color: #fff; backdrop-filter: blur(17px) saturate(125%); text-align: left; transition: transform .18s ease,background .18s ease,border-color .18s ease; }
.portal-menu button::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg,transparent 30%,rgba(255,255,255,.13),transparent 70%); transform: translateX(-105%); }
.portal-menu button:active { transform: scale(.965); border-color: #fff; background: #fff; color: #000; }
.portal-menu button:active::before { animation: menu-flash .36s ease; }
@keyframes menu-flash { to { transform: translateX(105%); } }
.portal-menu strong { overflow: hidden; font: 900 clamp(.78rem,3.8vw,1.08rem)/1 var(--sketch); letter-spacing: -.04em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.portal-menu .menu-icon { position: relative; display: grid; width: 46px; height: 46px; place-items: center; border: 0; border-radius: 15px; filter: drop-shadow(0 7px 10px rgba(0,0,0,.34)); transition: transform .2s ease,filter .2s ease; }
.portal-menu .menu-icon::after { content: ""; position: absolute; inset: 3px; border: 1px solid rgba(255,255,255,.3); border-radius: 12px; pointer-events: none; }
.portal-menu .menu-icon svg { width: 46px; height: 46px; overflow: visible; }
.portal-menu button:active .menu-icon { transform: scale(.93) rotate(-3deg); filter: drop-shadow(0 3px 5px rgba(0,0,0,.28)); }
.portal-menu .portal-main { grid-column: 1/-1; min-height: 78px; border-color: #fff; background: #fff; color: #000; }
.portal-menu .portal-main strong { font-size: clamp(1.05rem,5.4vw,1.5rem); }
.portal-menu .portal-main .menu-icon { border: 0; background: transparent; color: inherit; }

/* Consistent dark inner pages. */
body[data-view]:not([data-view="home"]):not([data-view="loading"]) { background: #050505; }
body[data-view]:not([data-view="home"]):not([data-view="loading"]) .client-app {
  background:
    radial-gradient(circle at 84% 11%,rgba(255,255,255,.09) 0 1px,transparent 2px),
    radial-gradient(circle at 12% 32%,rgba(255,255,255,.11) 0 1px,transparent 2px),
    linear-gradient(#080808,#030303);
}
.content-screen, .shop-screen, .checkout-screen, .payment-screen { min-height: calc(100dvh - 115px); color: #fff; }
.cosmos-page-head { display: flex; align-items: center; gap: 13px; margin: 0 0 18px; }
.cosmos-page-head > button, .route-back { display: grid; min-width: 42px; height: 42px; place-items: center; border: 1px solid var(--edge); border-radius: 50%; background: #111; color: #fff; font-size: .73rem; font-weight: 900; }
.cosmos-page-head span { color: var(--muted); font-size: .47rem; font-weight: 900; letter-spacing: .15em; }
.cosmos-page-head h1 { margin: 3px 0 0; font: 900 2.15rem/.9 var(--sketch); letter-spacing: -.06em; text-transform: uppercase; }
.route-back { width: auto; margin: 0 0 18px; padding: 0 13px; border-radius: 22px; text-transform: uppercase; }

/* Image-only product gallery. */
.notice { border-color: var(--edge); border-radius: 13px; background: #111; color: #fff; }
.resume-payment { border: 0; border-radius: 13px; background: #fff; color: #000; }
.product-list { grid-template-columns: 1fr 1fr; gap: 9px; }
.product-photo-tile { position: relative; aspect-ratio: 1/1.13; overflow: hidden; padding: 0; border: 1px solid var(--edge); border-radius: 17px; background: #141414; color: #fff; isolation: isolate; }
.product-photo-tile::before { content: ""; position: absolute; z-index: 2; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04),inset 0 -40px 65px rgba(0,0,0,.26); }
.product-photo-tile::after { display: none; }
.product-photo-tile img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(1.06); transition: transform .45s cubic-bezier(.2,.7,.2,1),filter .3s ease; }
.product-photo-tile:active img { transform: scale(1.055); filter: contrast(1.02) saturate(1.1); }
.product-stock-dot { position: absolute; z-index: 4; top: 11px; right: 11px; width: 13px; height: 13px; border: 2px solid rgba(255,255,255,.92); border-radius: 50%; box-shadow: 0 2px 10px rgba(0,0,0,.72); pointer-events: none; }
.product-stock-dot::after { content: ""; position: absolute; inset: -6px; border: 1px solid currentColor; border-radius: inherit; opacity: .22; }
.product-stock-dot.is-in-stock { background: #27dc71; color: #27dc71; box-shadow: 0 0 0 3px rgba(39,220,113,.16),0 2px 12px rgba(0,0,0,.8),0 0 14px rgba(39,220,113,.72); animation: stock-pulse 2.2s ease-out infinite; }
.product-stock-dot.is-out-of-stock { background: #ff4057; color: #ff4057; box-shadow: 0 0 0 3px rgba(255,64,87,.14),0 2px 12px rgba(0,0,0,.8),0 0 12px rgba(255,64,87,.55); }
@keyframes stock-pulse { 0%,70%,100% { box-shadow: 0 0 0 3px rgba(39,220,113,.16),0 2px 12px rgba(0,0,0,.8),0 0 14px rgba(39,220,113,.72); } 35% { box-shadow: 0 0 0 6px rgba(39,220,113,.05),0 2px 12px rgba(0,0,0,.8),0 0 19px rgba(39,220,113,.9); } }
.product-photo-placeholder { display: grid; width: 100%; height: 100%; align-content: center; justify-items: center; gap: 9px; padding: 14px; background: radial-gradient(circle at 50% 38%,rgba(255,255,255,.09),transparent 34%),linear-gradient(145deg,#191919,#090909); color: #fff; }
.product-photo-placeholder b { display: grid; width: 62px; height: 62px; place-items: center; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; font: 900 2rem/1 var(--sketch); }
.product-photo-placeholder small { overflow: hidden; max-width: 100%; color: rgba(255,255,255,.62); font-size: .55rem; font-weight: 800; letter-spacing: .08em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.product-photo-tile.is-unavailable { opacity: .52; }
.empty-state { grid-column: 1/-1; padding: 38px 16px; border: 1px dashed rgba(255,255,255,.28); border-radius: 16px; background: rgba(255,255,255,.035); color: var(--muted); }

/* Product sheet. */
.product-dialog { position: fixed; z-index: 90; inset: 0; display: grid; align-items: end; padding: 24px 10px var(--safe-bottom); background: rgba(0,0,0,.84); backdrop-filter: blur(12px); }
.product-dialog-card { position: relative; width: min(100%,560px); max-height: calc(100dvh - 24px); overflow-y: auto; margin: auto; border: 1px solid var(--edge); border-radius: 24px 24px 12px 12px; background: #0d0d0d; color: #fff; box-shadow: 0 -20px 80px rgba(0,0,0,.65); }
.product-dialog-card > button { position: absolute; z-index: 3; right: 12px; top: 12px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(0,0,0,.7); color: #fff; font-size: 1.2rem; backdrop-filter: blur(8px); }
.product-dialog-card > img { display: block; width: 100%; height: min(44dvh,365px); object-fit: cover; filter: contrast(1.05) saturate(1.06); }
.product-dialog-card > img[hidden] { display: none; }
.product-dialog-card > div { padding: 18px; }
.product-dialog-card small { color: var(--muted); font-size: .47rem; font-weight: 900; letter-spacing: .15em; }
.product-dialog-card h2 { margin: 7px 0 16px; font: 900 2rem/.9 var(--sketch); letter-spacing: -.06em; text-transform: uppercase; }
.dialog-variants { display: grid; grid-template-columns: repeat(auto-fit,minmax(82px,1fr)); gap: 7px; }
.dialog-variants button { display: grid; min-height: 64px; place-items: center; gap: 4px; padding: 7px; border: 1px solid var(--edge); border-radius: 12px; background: #fff; color: #000; }
.dialog-variants span { font-size: .82rem; font-weight: 900; }
.dialog-variants strong { font-size: .62rem; }
.dialog-variants button:disabled { opacity: .25; }

/* Checkout and payment: clear, thumb-friendly, no visual reset. */
.flow-header { border-color: var(--edge); }
.flow-header button { border-color: var(--edge); border-radius: 20px; background: #111; color: #fff; }
.flow-header > span, .flow-title small { color: var(--muted); }
.flow-title h1 { color: #fff; }
.flow-progress i { background: #272727; }
.flow-progress i.is-active { background: #fff; box-shadow: 0 0 16px rgba(255,255,255,.28); }
.checkout-content { min-height: 190px; }
.checkout-actions { position: sticky; z-index: 10; bottom: calc(-28px - var(--safe-bottom)); margin: 18px -14px -28px; padding: 13px 14px calc(14px + var(--safe-bottom)); border-color: var(--edge); background: rgba(5,5,5,.94); backdrop-filter: blur(16px); }
.choice-grid { gap: 8px; }
.choice-card { min-height: 76px; border: 1px solid var(--edge); border-radius: 13px; background: #111; color: #fff; }
.choice-card small { color: var(--muted); }
.choice-card:active, .choice-card.is-selected { border-color: #fff; background: #fff; color: #000; }
.order-review { border-color: var(--edge); border-radius: 18px; background: #0f0f0f; color: #fff; }
.review-product, .review-row, .discount-choice { border-color: var(--edge); }
.product-code { border-color: #fff; background: #fff; color: #000; }
.review-row > span, .discount-choice small, .discount-entry p { color: var(--muted); }
.discount-choice-buttons button, .discount-input-row button { border-color: var(--edge); background: #171717; color: #fff; }
.discount-choice-buttons button.is-active, .discount-input-row button { background: #fff; color: #000; }
.discount-input-row input { border-color: var(--edge); background: #050505; color: #fff; }
.action-primary, .primary-button, .button-primary { border-color: #fff; border-radius: 12px; background: #fff; color: #000; }
.action-secondary, .button-secondary { border-color: var(--edge); border-radius: 12px; background: #111; color: #fff; }
.payment-card { border: 1px solid var(--edge); border-radius: 22px; background: #0d0d0d; color: #fff; box-shadow: 0 24px 90px rgba(0,0,0,.34); }
.payment-state, .payment-details, .payment-timer, .order-reference { border-color: var(--edge); }
.payment-orb { border-color: #fff; background: #fff; color: #000; box-shadow: 0 0 35px rgba(255,255,255,.13); }
.payment-state p, .payment-timer span, .order-reference, .copy-field label { color: var(--muted); }
.payment-progress span { background: #292929; }
.payment-progress span.is-active { background: #fff; }
.copy-field { border-color: var(--edge); border-radius: 12px; background: #080808; }
.copy-row code { color: #fff; }
.copy-row button { border-color: var(--edge); background: #fff; color: #000; }

/* Checkout v2: one readable path from selection to payment. */
.checkout-screen,.payment-screen { position: relative; padding-bottom: calc(92px + var(--safe-bottom)); }
.checkout-screen::before,.payment-screen::before { content: ""; position: fixed; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(circle at 86% 8%,rgba(80,90,255,.1),transparent 28%),radial-gradient(circle at 10% 72%,rgba(20,241,149,.06),transparent 25%); }
.flow-header { min-height: 48px; padding: 4px 0 13px; border-bottom: 1px solid #242424; }
.flow-header button { min-height: 38px; padding: 0 13px; border: 1px solid #383838; border-radius: 999px; background: rgba(17,17,17,.88); font-size: .58rem; }
.flow-header > span { display: grid; min-width: 42px; height: 28px; place-items: center; border: 1px solid #343434; border-radius: 999px; background: #111; color: #aaa; font-size: .48rem; letter-spacing: .08em; }
.flow-title { padding: 22px 0 14px; }
.flow-title small { color: #737373; font-size: .43rem; letter-spacing: .17em; }
.flow-title h1 { margin-top: 7px; font-family: Arial,"Helvetica Neue",sans-serif; font-size: clamp(1.75rem,8vw,2.75rem); line-height: .98; letter-spacing: -.06em; text-transform: none; }
.flow-progress { gap: 7px; margin-bottom: 18px; }
.flow-progress i { height: 3px; border-radius: 999px; background: #242424; }
.flow-progress i.is-active { background: linear-gradient(90deg,#14f195,#8c63ff); box-shadow: 0 0 14px rgba(20,241,149,.18); }
.choice-grid { gap: 9px; }
.choice-card { position: relative; min-height: 82px; padding: 13px 36px 13px 14px; border-color: #2d2d2d; border-radius: 17px; background: linear-gradient(145deg,#151515,#0b0b0b); box-shadow: inset 0 1px rgba(255,255,255,.025); }
.choice-card::after { content: "›"; position: absolute; right: 14px; top: 50%; color: #555; font-size: 1.25rem; transform: translateY(-52%); }
.choice-card strong { color: #f1f1f1; font-size: .74rem; letter-spacing: -.015em; text-transform: none; }
.choice-card small { color: #707070; font-size: .5rem; }
.choice-card:active,.choice-card.is-selected { border-color: #14f195; background: #f5f5f3; color: #000; }
.choice-card:active strong,.choice-card.is-selected strong { color: #000; }
.choice-card:active::after,.choice-card.is-selected::after { color: #000; }
.checkout-content { min-height: 210px; }
.checkout-actions { gap: 7px; border-top: 1px solid #222; }
.checkout-summary { display: grid; gap: 9px; border: 0; border-radius: 0; background: transparent; }
.summary-product { display: grid; grid-template-columns: 68px minmax(0,1fr) 28px; align-items: center; gap: 12px; padding: 11px; border: 1px solid #303030; border-radius: 20px; background: linear-gradient(145deg,#181818,#0c0c0c); }
.summary-product-image { display: grid; width: 68px; height: 68px; place-items: center; overflow: hidden; border: 1px solid #343434; border-radius: 15px; background: #070707; }
.summary-product-image img { width: 100%; height: 100%; object-fit: contain; }
.summary-product-image > span { color: #fff; font: 900 .58rem/1 Impact,"Arial Narrow",Arial,sans-serif; }
.summary-product > div:nth-child(2) { min-width: 0; }
.summary-product small,.summary-route small,.summary-discount small,.summary-total small { color: #6f6f6f; font-size: .39rem; font-weight: 900; letter-spacing: .14em; }
.summary-product h3 { overflow: hidden; margin: 6px 0 3px; color: #fff; font-family: Arial,"Helvetica Neue",sans-serif; font-size: .88rem; font-weight: 900; line-height: 1.05; text-overflow: ellipsis; white-space: nowrap; }
.summary-product p { margin: 0; color: #898989; font-size: .55rem; }
.summary-product > b { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: #32d583; color: #04170d; font-size: .65rem; }
.summary-route { display: grid; grid-template-columns: 1fr 30px 1fr; align-items: center; gap: 5px; padding: 13px; border: 1px solid #292929; border-radius: 17px; background: #0d0d0d; }
.summary-route > div { display: grid; min-width: 0; gap: 5px; }
.summary-route > div:last-child { text-align: right; }
.summary-route strong { overflow: hidden; color: #e5e5e5; font-size: .67rem; text-overflow: ellipsis; white-space: nowrap; }
.summary-route > i { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid #343434; border-radius: 50%; color: #777; font-size: .65rem; font-style: normal; }
.summary-discount { overflow: hidden; border: 1px solid #292929; border-radius: 17px; background: #0d0d0d; }
.summary-discount-head { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 11px 10px 13px; }
.summary-discount-head > div:first-child { display: grid; gap: 4px; }
.summary-discount-head strong { color: #ddd; font-size: .68rem; }
.summary-discount .discount-choice-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 102px; padding: 3px; border: 1px solid #303030; border-radius: 999px; background: #070707; }
.summary-discount .discount-choice-buttons button { min-height: 31px; border: 0; border-radius: 999px; background: transparent; color: #777; font-size: .51rem; }
.summary-discount .discount-choice-buttons button.is-active { background: #fff; color: #000; }
.summary-discount .discount-entry { gap: 8px; padding: 11px; border: 0; border-top: 1px solid #252525; background: #090909; }
.summary-discount .discount-input-row { grid-template-columns: minmax(0,1fr) 78px; }
.summary-discount .discount-input-row input { min-height: 42px; padding-inline: 11px; border: 1px solid #303030; border-radius: 11px; background: #050505; font-size: .58rem; font-weight: 800; }
.summary-discount .discount-input-row button { min-height: 42px; border: 0; border-radius: 11px; background: #fff; color: #000; font-size: .53rem; }
.summary-total { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 5px 12px; overflow: hidden; min-height: 105px; padding: 16px; border-radius: 21px; background: linear-gradient(135deg,#fff,#e9e9e7); color: #000; }
.summary-total::after { content: "€"; position: absolute; right: -8px; top: -29px; color: rgba(0,0,0,.045); font: 900 8.5rem/1 Impact,"Arial Narrow",Arial,sans-serif; transform: rotate(8deg); }
.summary-total > div { position: relative; z-index: 1; display: grid; gap: 8px; }
.summary-total small { color: #666; }
.summary-total del { color: #888; font-size: .62rem; }
.summary-total > strong { position: relative; z-index: 1; font: 900 clamp(1.8rem,9vw,2.7rem)/.9 Impact,"Arial Narrow",Arial,sans-serif; letter-spacing: -.035em; }
.summary-total > span { position: relative; z-index: 1; grid-column: 1/-1; width: max-content; padding: 4px 7px; border-radius: 999px; background: #dff9e9; color: #14733d; font-size: .48rem; font-weight: 900; }
.summary-check { display: flex; align-items: center; gap: 8px; margin: 1px 2px 0; color: #777; font-size: .5rem; line-height: 1.4; }
.summary-check span { display: grid; flex: 0 0 auto; width: 20px; height: 20px; place-items: center; border: 1px solid #3b3b3b; border-radius: 50%; color: #4bd890; }
.checkout-pay-action { display: flex; min-height: 62px; justify-content: space-between; padding: 0 13px 0 16px; border: 0; border-radius: 17px; text-align: left; }
.checkout-pay-action > span { display: grid; gap: 3px; font-size: .69rem; }
.checkout-pay-action small { color: #777; font-size: .37rem; letter-spacing: .13em; }
.checkout-pay-action > b { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #000; color: #fff; font-size: .9rem; }
.checkout-edit-action { min-height: 36px; border: 0; background: transparent; color: #777; font-size: .52rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* Payment v2: exact amount first, address second, status always visible. */
.payment-card { display: grid; gap: 10px; margin-top: 12px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.payment-state { padding: 16px; border: 1px solid #2e2e2e; border-radius: 22px; background: linear-gradient(145deg,#171717,#0a0a0a); text-align: left; }
.payment-state-top { display: flex; align-items: center; gap: 9px; }
.payment-state-top > small { color: #6f6f6f; font-size: .4rem; font-weight: 900; letter-spacing: .15em; }
.payment-orb { display: grid; width: 34px; height: 34px; place-items: center; margin: 0; border: 0; border-radius: 50%; background: #fff; color: #000; font: 900 .8rem/1 Arial,sans-serif; box-shadow: 0 0 0 5px rgba(255,255,255,.05); }
.payment-state h1 { margin: 18px 0 6px; font-family: Arial,"Helvetica Neue",sans-serif; font-size: 1.32rem; line-height: 1; letter-spacing: -.045em; text-transform: none; }
.payment-state > p { max-width: 290px; margin: 0; color: #858585; font-size: .57rem; line-height: 1.5; }
.payment-state.is-confirmed { border-color: rgba(50,213,131,.45); background: linear-gradient(145deg,rgba(24,87,55,.48),#09110d); }
.payment-state.is-confirmed .payment-orb { background: #32d583; color: #04170d; }
.payment-state.is-expired { border-color: rgba(240,82,82,.4); }
.payment-progress { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin: 0; padding: 2px 2px 4px; }
.payment-progress > span { display: grid; height: auto; gap: 5px; background: transparent; }
.payment-progress > span i { display: block; height: 3px; border-radius: 999px; background: #292929; }
.payment-progress > span small { color: #565656; font-size: .38rem; font-weight: 800; text-align: center; text-transform: uppercase; }
.payment-progress > span.is-active { background: transparent; }
.payment-progress > span.is-active i { background: linear-gradient(90deg,#14f195,#8c63ff); }
.payment-progress > span.is-active small { color: #aaa; }
.payment-details { display: grid; gap: 8px; }
.copy-field { position: relative; padding: 13px; border: 1px solid #2d2d2d; border-radius: 17px; background: #0c0c0c; }
.copy-field.is-amount { padding-top: 14px; background: linear-gradient(145deg,#151515,#090909); }
.copy-field label { margin-bottom: 8px; color: #6d6d6d; font-size: .4rem; letter-spacing: .14em; }
.copy-field.is-amount label { padding-left: 43px; }
.solana-payment-mark { position: absolute; left: 13px; top: 11px; display: grid; width: 31px; gap: 3px; padding: 7px 6px; border: 1px solid #333; border-radius: 9px; background: #050505; }
.solana-payment-mark i { display: block; width: 18px; height: 4px; border-radius: 1px; background: linear-gradient(90deg,#14f195,#9945ff); transform: skewX(-24deg); }
.solana-payment-mark i:nth-child(2) { transform: skewX(24deg); }
.copy-row { gap: 8px; }
.copy-row code { color: #fff; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: .66rem; line-height: 1.42; }
.copy-field.is-amount .copy-row code { padding-left: 43px; font-size: clamp(.86rem,4.4vw,1.12rem); font-weight: 900; letter-spacing: .01em; }
.copy-row button { min-width: 70px; min-height: 42px; border: 0; border-radius: 11px; background: #fff; color: #000; font-size: .49rem; }
.payment-warning { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 9px; margin: 0; padding: 10px; border: 1px solid #352f1f; border-radius: 13px; background: #151208; color: #9e9581; font-size: .5rem; line-height: 1.45; }
.payment-warning > b { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #f5c94c; color: #1a1403; }
.payment-warning strong { color: #e5d59f; }
.payment-timer { display: flex; min-height: 54px; align-items: center; justify-content: space-between; margin: 0; padding: 0 14px; border: 1px solid #2d2d2d; border-radius: 16px; background: #0c0c0c; }
.payment-timer span { color: #6d6d6d; font-size: .4rem; font-weight: 900; letter-spacing: .14em; }
.payment-timer strong { color: #fff; font: 900 1.05rem/1 ui-monospace,SFMono-Regular,Consolas,monospace; }
.payment-actions { gap: 7px; margin-top: 0; }
.payment-actions .button { min-height: 56px; border-radius: 15px; }
.order-reference { display: grid; gap: 4px; margin: 2px 0 0; color: #555; font-size: .43rem; text-align: center; }
.order-reference span { font-size: .36rem; font-weight: 900; letter-spacing: .14em; }
.order-reference strong { color: #777; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-weight: 600; }

@media(max-width:370px) {
  .summary-product { grid-template-columns: 58px minmax(0,1fr) 24px; }
  .summary-product-image { width: 58px; height: 58px; }
  .summary-route { grid-template-columns: minmax(0,1fr) 25px minmax(0,1fr); padding-inline: 10px; }
  .copy-field.is-amount .copy-row code { padding-left: 0; font-size: .78rem; }
  .copy-field.is-amount label { padding-left: 39px; }
}

/* Reviews, instructions, contact, and work each keep a distinct layout in one visual system. */
.reviews-cover, .how-intro, .support-head { border: 0; border-bottom: 1px solid var(--edge); background: transparent; color: #fff; box-shadow: none; }
.reviews-cover h1, .how-intro h1, .support-head h1 { color: #fff; }
.reviews-cover span, .how-intro span, .support-head span { color: var(--muted); }
.review-summary { border-color: var(--edge); background: #fff; color: #000; box-shadow: none; }
.reviews-cover .review-summary { position: relative; display: grid; min-width: 126px; justify-items: stretch; gap: 5px; padding: 11px 12px; border: 1px solid rgba(255,255,255,.32); border-radius: 15px; background: rgba(255,255,255,.06); color: #fff; backdrop-filter: blur(10px); text-align: left; }
.review-score-row { display: flex; align-items: baseline; gap: 5px; }
.reviews-cover .review-score { font-family: Impact,"Arial Narrow",Arial,sans-serif; font-size: 2.45rem; font-weight: 900; line-height: .88; letter-spacing: -.035em; }
.review-score-row > span { color: #8d8d8d; font-size: .58rem; font-weight: 900; }
.review-meter { position: relative; width: max-content; font-size: .72rem; line-height: 1; letter-spacing: .1em; }
.review-meter-empty { color: #484848; }
.review-meter-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--rating) * 20%); overflow: hidden; color: #fff; white-space: nowrap; }
.reviews-cover .review-summary p { margin: 0; color: #a8a8a8; font-size: .5rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.reviews-toolbar { min-height: 48px; border-color: var(--edge); background: transparent; }
.reviews-toolbar button { min-height: 28px; padding: 0 9px; border: 1px solid #555; border-radius: 999px; background: transparent; color: #d8d8d8; font-size: .5rem; letter-spacing: .02em; }
.reviews-toolbar button span { margin-right: 2px; font-size: .68rem; line-height: 1; }
.reviews-toolbar button:active { border-color: #fff; background: #fff; color: #000; }
.review-note { border: 1px solid var(--edge); border-radius: 15px; background: #111; color: #fff; box-shadow: none; transform: none; }
.review-note.is-offset { transform: translateX(5px); }
.review-note-meta time { color: var(--muted); }
.pagination button { border-color: var(--edge); background: #111; color: #fff; }
.how-hero { position: relative; display: grid; grid-template-columns: 82px minmax(0,1fr); align-items: end; gap: 15px; overflow: hidden; margin: 3px -14px 10px; padding: 28px 18px 24px; border-bottom: 1px solid var(--edge); background: #050505; color: #fff; }
.how-hero::after { content: "?"; position: absolute; right: -7px; bottom: -65px; color: rgba(255,255,255,.035); font: 900 13rem/1 Impact,"Arial Narrow",Arial,sans-serif; transform: rotate(9deg); }
.how-stamp { position: relative; z-index: 1; display: grid; width: 76px; height: 76px; place-items: center; align-content: center; border: 2px solid #fff; border-radius: 50%; transform: rotate(-7deg); }
.how-stamp span { font: 900 2.2rem/.85 Impact,"Arial Narrow",Arial,sans-serif; }
.how-stamp small { margin-top: 4px; font-size: .38rem; font-weight: 900; letter-spacing: .1em; }
.how-hero > div:last-child { position: relative; z-index: 1; min-width: 0; }
.how-hero > div:last-child > span { color: #777; font-size: .43rem; font-weight: 900; letter-spacing: .16em; }
.how-hero h1 { margin: 8px 0 10px; font: 900 clamp(2.7rem,13vw,4.6rem)/.73 Impact,"Arial Narrow",Arial,sans-serif; letter-spacing: -.045em; text-transform: uppercase; }
.how-hero p { max-width: 260px; margin: 0; color: #999; font-size: .62rem; line-height: 1.48; }
.how-warning { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; margin: 0 0 10px; padding: 11px; border: 1px solid #3b3b3b; border-radius: 14px; background: #111; }
.how-warning > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #fff; color: #000; font-weight: 900; }
.how-warning p { margin: 0; color: #888; font-size: .55rem; line-height: 1.45; }
.how-warning strong { color: #fff; }
.how-steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.how-steps li { position: relative; display: grid; grid-template-columns: 42px minmax(0,1fr); align-items: start; gap: 11px; overflow: hidden; padding: 14px 12px; border: 1px solid var(--edge); border-radius: 17px; background: linear-gradient(145deg,#141414,#0a0a0a); }
.how-step-number { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #444; border-radius: 12px; color: #fff; font: 900 .78rem/1 Impact,"Arial Narrow",Arial,sans-serif; }
.how-step-copy { min-width: 0; }
.how-step-copy small { color: #666; font-size: .4rem; font-weight: 900; letter-spacing: .14em; }
.how-step-copy h2 { margin: 5px 0 6px; color: #fff; font-family: Arial,"Helvetica Neue",sans-serif; font-size: .79rem; font-weight: 900; line-height: 1.15; }
.how-step-copy p { margin: 0; color: #858585; font-size: .56rem; line-height: 1.48; }
.how-sol-card { display: grid; grid-template-columns: 58px minmax(0,1fr); align-items: center; gap: 13px; margin-top: 10px; padding: 14px; border: 1px solid var(--edge); border-radius: 18px; background: #101010; }
.sol-coin { display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid #333; border-radius: 16px; background: #080808; box-shadow: 0 0 0 5px rgba(255,255,255,.035); }
.sol-coin svg { width: 35px; height: 28px; overflow: visible; }
.how-sol-card small { color: #666; font-size: .39rem; font-weight: 900; letter-spacing: .13em; }
.how-sol-card h2 { margin: 5px 0; color: #fff; font-family: Arial,"Helvetica Neue",sans-serif; font-size: .85rem; font-weight: 900; }
.how-sol-card p { margin: 0; color: #858585; font-size: .54rem; line-height: 1.45; }
.how-final-note { margin-top: 10px; padding: 16px; border-left: 4px solid #fff; background: #0b0b0b; }
.how-final-note > span { color: #777; font-size: .4rem; font-weight: 900; letter-spacing: .15em; }
.how-final-note blockquote { margin: 9px 0 0; color: #e3e3e3; font-size: .67rem; font-weight: 800; line-height: 1.48; }
.how-shop-action { display: flex; width: 100%; min-height: 58px; align-items: center; justify-content: space-between; margin-top: 10px; padding: 0 15px; border: 0; border-radius: 16px; background: #fff; color: #000; text-align: left; }
.how-shop-action > span { display: grid; gap: 3px; font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.how-shop-action small { color: #777; font-size: .38rem; letter-spacing: .12em; }
.how-shop-action b { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #000; color: #fff; }
.how-shop-action:active { transform: scale(.985); }
.support-symbol { border: 0; border-radius: 50%; background: #229ed9; color: #fff; box-shadow: 0 0 0 7px rgba(34,158,217,.1),0 16px 45px rgba(34,158,217,.18); }
.support-symbol svg { width: 36px; height: 36px; fill: currentColor; }
.support-head > div:last-child { min-width: 0; }
.support-head > div:last-child > span { color: #60c7f4; }
.support-head h1 { font-size: clamp(1.65rem, 8vw, 2.6rem); letter-spacing: -.055em; }
.support-contact { position: relative; overflow: hidden; padding: 17px; border: 1px solid rgba(255,255,255,.2); border-radius: 22px; background: linear-gradient(145deg,#151515,#090909); color: #fff; box-shadow: 0 18px 70px rgba(0,0,0,.28); }
.support-contact::before { content: ""; position: absolute; top: -70px; right: -50px; width: 160px; height: 160px; border-radius: 50%; background: rgba(34,158,217,.13); filter: blur(2px); pointer-events: none; }
.support-contact-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.support-contact-top > small { color: #a3a3a3; font-size: .47rem; font-weight: 900; letter-spacing: .16em; }
.support-contact-top > span { display: flex; align-items: center; gap: 5px; color: #70d39b; font-size: .43rem; font-weight: 900; letter-spacing: .1em; }
.support-contact-top i { width: 6px; height: 6px; border-radius: 50%; background: #45ce80; box-shadow: 0 0 10px #45ce80; }
.operator-identity { position: relative; display: grid; grid-template-columns: 46px minmax(0,1fr) 22px; align-items: center; gap: 11px; margin: 17px 0 13px; }
.operator-mark { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; background: #229ed9; color: #fff; }
.operator-mark svg { width: 25px; height: 25px; fill: currentColor; }
.operator-identity h2 { margin: 0 0 5px; color: #fff; font-family: Arial,"Helvetica Neue",sans-serif; font-size: .82rem; font-weight: 900; line-height: 1.1; letter-spacing: .055em; text-transform: uppercase; }
.operator-identity strong { color: #8acfee; font-size: .63rem; }
.verified-mark { width: 21px; height: 21px; fill: #229ed9; }
.verified-mark .verified-tick { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.support-contact > p { position: relative; margin: 0 0 15px; color: var(--muted); font-size: .65rem; line-height: 1.45; }
.support-contact a { position: relative; display: grid; grid-template-columns: 38px minmax(0,1fr) 28px; min-height: 62px; align-items: center; gap: 10px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.24); border-radius: 15px; background: #229ed9; color: #fff; box-shadow: 0 10px 28px rgba(34,158,217,.2); }
.telegram-action-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.16); }
.telegram-action-icon svg { width: 20px; height: 20px; fill: #fff; }
.telegram-action-copy { display: grid; gap: 3px; }
.telegram-action-copy small { color: rgba(255,255,255,.7); font-size: .42rem; font-weight: 900; letter-spacing: .12em; }
.telegram-action-copy strong { color: #fff; font-size: .7rem; }
.support-contact a > b { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: #fff; color: #177eac; font-size: .85rem; }
.support-contact a:active { transform: scale(.985); filter: brightness(.92); }
.work-link { min-height: 57px; padding: 11px 14px; border: 1px solid var(--edge); border-radius: 14px; background: #090909; color: #fff; }
.work-link > span { display: grid; gap: 3px; }
.work-link > span small { color: #686868; font-size: .4rem; letter-spacing: .14em; }
.work-link > b { color: #999; font-size: .5rem; font-weight: 800; }
.work-link > b i { margin-left: 4px; color: #fff; font-style: normal; }
.work-poster { border-color: var(--edge); border-radius: 18px; box-shadow: none; }
.work-copy { color: #fff; }
.work-copy a { border-color: #fff; border-radius: 12px; background: #fff; color: #000; }

/* Profile. */
.profile-screen { position: relative; min-height: calc(100dvh - 96px); margin: -8px -14px -28px; padding: 10px 14px 35px; overflow: hidden; background: #050505; color: #fff; }
.profile-screen::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(#fff 0 1px,transparent 1.5px),linear-gradient(145deg,rgba(255,255,255,.035),transparent 36%); background-size: 38px 38px,100% 100%; opacity: .1; }
.profile-screen > .route-back { position: relative; z-index: 2; }
.profile-content { position: relative; z-index: 1; display: grid; gap: 10px; padding-top: 12px; }
.profile-hero { position: relative; overflow: hidden; padding: 16px; border: 1px solid var(--edge); border-radius: 24px; background: linear-gradient(145deg,#191919,#090909); }
.profile-hero::after { content: "K"; position: absolute; right: -12px; bottom: -38px; color: rgba(255,255,255,.035); font: 900 10rem/1 Impact,"Arial Narrow",Arial,sans-serif; transform: rotate(-8deg); }
.profile-hero-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; color: #777; font-size: .43rem; font-weight: 900; letter-spacing: .15em; }
.profile-hero-top i { color: #555; font-style: normal; }
.profile-person { position: relative; z-index: 1; display: grid; grid-template-columns: 76px minmax(0,1fr); align-items: center; gap: 14px; margin-top: 18px; }
.profile-avatar { position: relative; display: grid; width: 76px; height: 76px; place-items: center; overflow: hidden; border: 2px solid #fff; border-radius: 50%; background: #181818; font: 900 2rem/1 Impact,"Arial Narrow",Arial,sans-serif; box-shadow: 0 0 0 5px rgba(255,255,255,.06); }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar > i { position: absolute; right: 3px; bottom: 4px; width: 13px; height: 13px; border: 3px solid #111; border-radius: 50%; background: #45ce80; }
.profile-person-copy { min-width: 0; }
.profile-person-copy h1 { overflow: hidden; margin: 0 0 4px; color: #fff; font-family: Arial,"Helvetica Neue",sans-serif; font-size: 1.25rem; font-weight: 900; line-height: 1.05; text-overflow: ellipsis; white-space: nowrap; }
.profile-person-copy > p { margin: 0 0 9px; color: #888; font-size: .6rem; }
.profile-level { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px 4px 4px; border: 1px solid #444; border-radius: 999px; color: #c9c9c9; font-size: .48rem; font-weight: 800; }
.profile-level b { padding: 3px 5px; border-radius: 999px; background: #fff; color: #000; font-size: .42rem; }
.profile-spend { display: flex; min-height: 112px; align-items: end; justify-content: space-between; gap: 12px; padding: 16px; border-radius: 20px; background: #fff; color: #000; }
.profile-spend > div { display: grid; gap: 8px; }
.profile-spend small { color: #626262; font-size: .48rem; font-weight: 900; letter-spacing: .14em; }
.profile-spend > div > strong { font: 900 clamp(2.1rem,11vw,3.25rem)/.85 Impact,"Arial Narrow",Arial,sans-serif; letter-spacing: -.035em; }
.profile-spend > span { display: grid; max-width: 78px; gap: 3px; color: #666; font-size: .48rem; line-height: 1.3; text-align: right; text-transform: uppercase; }
.profile-spend > span b { color: #000; font-size: 1.2rem; }
.profile-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.profile-metric { display: grid; grid-template-columns: 34px minmax(0,1fr); min-height: 76px; align-items: center; gap: 9px; padding: 11px; border: 1px solid var(--edge); border-radius: 16px; background: rgba(17,17,17,.92); }
.profile-metric-icon { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #3d3d3d; border-radius: 10px; color: #fff; }
.profile-metric-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.profile-metric > div { display: grid; min-width: 0; gap: 3px; }
.profile-metric strong { overflow: hidden; color: #fff; font-size: .83rem; text-overflow: ellipsis; white-space: nowrap; }
.profile-metric small { color: #777; font-size: .44rem; font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.profile-order-block,.profile-history { padding: 14px; border: 1px solid var(--edge); border-radius: 18px; background: #0c0c0c; }
.profile-order-block > header,.profile-history > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; color: #666; font-size: .43rem; font-weight: 900; letter-spacing: .13em; }
.profile-order-block > header strong { color: #aaa; font-size: .43rem; }
.profile-active { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; width: 100%; min-height: 64px; align-items: center; gap: 10px; padding: 9px; border: 1px solid #333; border-radius: 13px; background: #171717; color: #fff; text-align: left; }
.profile-order-orb { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #fff; color: #000; font-size: 1rem; }
.profile-active > span:nth-child(2) { display: grid; min-width: 0; gap: 4px; }
.profile-active small { color: #888; font-size: .43rem; font-weight: 800; text-transform: uppercase; }
.profile-active strong { overflow: hidden; font-size: .62rem; text-overflow: ellipsis; white-space: nowrap; }
.profile-active > b { color: #bbb; font-size: .5rem; }
.profile-active > b i { margin-left: 3px; color: #fff; font-style: normal; }
.profile-no-active { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 10px; padding: 10px; border: 1px dashed #333; border-radius: 13px; }
.profile-no-active > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #171717; color: #6fd39a; }
.profile-no-active strong { color: #d7d7d7; font-size: .64rem; }
.profile-no-active p { margin: 4px 0 0; color: #777; font-size: .5rem; }
.profile-history > header i { width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; }
.profile-history > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #202020; font-size: .56rem; }
.profile-history > div span { color: #747474; }
.profile-history > div strong { color: #d8d8d8; text-align: right; }
.profile-shop-action { display: flex; min-height: 56px; align-items: center; justify-content: space-between; padding: 0 16px; border: 0; border-radius: 16px; background: #fff; color: #000; font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.profile-shop-action b { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #000; color: #fff; }
.profile-verified-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 3px 0 0; color: #666; font-size: .47rem; text-align: center; }
.profile-verified-note span { color: #6fd39a; }
.profile-loading,.profile-empty { display: grid; min-height: 68dvh; place-items: center; align-content: center; gap: 10px; padding: 45px 20px; color: var(--muted); text-align: center; }
.profile-loading i { width: 38px; height: 38px; border: 2px solid #333; border-top-color: #fff; border-radius: 50%; animation: profile-spin .8s linear infinite; }
@keyframes profile-spin { to { transform: rotate(360deg); } }
.profile-loading strong,.profile-empty > strong { color: #fff; font-family: Arial,"Helvetica Neue",sans-serif; font-size: .9rem; }
.profile-loading span,.profile-empty p { margin: 0; color: #777; font-size: .57rem; line-height: 1.5; }
.profile-empty-icon { display: grid; width: 62px; height: 62px; place-items: center; border: 1px solid #444; border-radius: 50%; background: #111; color: #fff; font: 900 1.45rem/1 Impact,"Arial Narrow",Arial,sans-serif; }
.profile-empty > small { color: #666; font-size: .44rem; font-weight: 900; letter-spacing: .15em; }
.profile-empty button { min-height: 42px; margin-top: 5px; padding: 0 15px; border: 1px solid #555; border-radius: 999px; background: transparent; color: #fff; font-size: .57rem; font-weight: 900; }

/* Dialogs, toast, and failure states. */
.review-dialog { background: rgba(0,0,0,.85); backdrop-filter: blur(12px); }
.review-dialog-card { border: 1px solid var(--edge); border-radius: 22px 22px 10px 10px; background: #0d0d0d; color: #fff; }
.review-dialog-card header, .rating-field { border-color: var(--edge); }
.review-dialog-card header button { border-color: var(--edge); background: #fff; color: #000; }
.review-dialog textarea { border-color: var(--edge); background: #050505; color: #fff; }
.star-input button { color: #565656; }
.star-input button.is-active { color: #fff; }
.toast { border: 1px solid rgba(255,255,255,.28); border-radius: 22px; background: rgba(255,255,255,.96); color: #000; box-shadow: 0 12px 50px rgba(0,0,0,.38); }
.state-screen { min-height: calc(100dvh - 150px); }
.state-screen h1 { color: #fff; }
.state-screen p { color: var(--muted); }
.loader-face { border-color: #fff; border-radius: 50%; background: #fff; color: #000; box-shadow: 0 0 40px rgba(255,255,255,.12); }

@media (min-width:620px) {
  .product-list { grid-template-columns: repeat(3,1fr); }
  .profile-metrics { grid-template-columns: repeat(4,1fr); }
}

@media (max-width:390px) {
  .portal-menu { gap: 7px; }
  .portal-menu button { min-height: 58px; padding-inline: 11px; border-radius: 14px; }
  .portal-menu .portal-main { min-height: 70px; }
  .portal-menu strong { font-size: .78rem; }
  .product-list { gap: 7px; }
}

@media (max-height:720px) {
  .portal-brand h1 { font-size: clamp(2.5rem,11vw,4.8rem); }
  .portal-menu { bottom: calc(10px + var(--safe-bottom)); }
  .portal-menu button { min-height: 52px; }
  .portal-menu .portal-main { min-height: 62px; }
}

@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior: auto!important; animation-duration: .01ms!important; animation-iteration-count: 1!important; transition-duration: .01ms!important; }
}
.reduce-effects .portal-art,
.reduce-effects .portal-screen::before,
.reduce-effects .space-scene i { animation: none; }

/* Icon system v2: filled, colored, consistent and readable on narrow phones. */
.nav-icon,.close-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.route-back,.flow-header button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.cosmos-page-head > button .nav-icon { width: 20px; height: 20px; }
.resume-payment b,.how-shop-action b { display: grid; place-items: center; }
.resume-payment b .nav-icon,.how-shop-action b .nav-icon { width: 17px; height: 17px; }
.close-icon { width: 20px; height: 20px; }
#product-dialog-close,#review-close { display: grid; place-items: center; border-radius: 50%; }
.error-state-icon { overflow: hidden; border: 0; background: transparent; box-shadow: 0 0 0 7px rgba(239,68,68,.08),0 0 40px rgba(239,68,68,.16); }
.error-state-icon svg { width: 100%; height: 100%; }
.how-warning > span { overflow: visible; background: transparent; }
.how-warning > span svg { width: 36px; height: 36px; filter: drop-shadow(0 6px 9px rgba(255,138,52,.22)); }
.ui-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.summary-product > b { width: 27px; height: 27px; overflow: visible; background: transparent; }
.summary-route > i { width: 30px; height: 30px; overflow: visible; border: 0; background: transparent; }
.summary-check > span { width: 22px; height: 22px; overflow: visible; border: 0; background: transparent; }
.checkout-pay-action > b .ui-svg { width: 18px; height: 18px; }
.payment-orb { width: 42px; height: 42px; overflow: visible; background: transparent; box-shadow: none; }
.payment-orb .ui-svg { filter: drop-shadow(0 7px 12px rgba(0,0,0,.28)); }
.payment-state.is-confirmed .payment-orb { background: transparent; }
.payment-warning > b { width: 30px; height: 30px; overflow: visible; background: transparent; }
.profile-metric-icon { width: 38px; height: 38px; overflow: visible; border: 0; background: transparent; }
.profile-metric-icon svg { width: 38px; height: 38px; fill: initial; stroke: initial; filter: drop-shadow(0 6px 9px rgba(0,0,0,.25)); }
.profile-order-orb { overflow: visible; background: transparent; }
.profile-order-orb .ui-svg { width: 38px; height: 38px; }
.profile-active > b i { display: inline-grid; width: 14px; height: 14px; vertical-align: middle; }
.profile-no-active > span { overflow: visible; background: transparent; }
.profile-no-active > span .ui-svg { width: 38px; height: 38px; }
.profile-shop-action b .ui-svg { width: 15px; height: 15px; }
.profile-verified-note > span { width: 16px; height: 16px; }
.profile-empty-icon { overflow: visible; border: 0; background: transparent; box-shadow: 0 0 0 7px rgba(99,102,241,.07); }
.profile-empty-icon .ui-svg { width: 62px; height: 62px; filter: drop-shadow(0 12px 20px rgba(57,95,230,.22)); }

/* Text-fit audit fixes. */
.portal-menu button { grid-template-columns: 46px minmax(0,1fr); }
.portal-menu button:not(.portal-main) strong { overflow: visible; font-size: clamp(.61rem,3.05vw,.78rem); line-height: .98; text-overflow: clip; white-space: normal; }
.portal-menu button[data-route="profile"] strong { font-size: clamp(.59rem,2.85vw,.74rem); }
.operator-identity strong,.telegram-action-copy strong { overflow-wrap: anywhere; }
.support-contact,.summary-product,.summary-route,.summary-discount,.summary-total,.payment-state,.copy-field { min-width: 0; }
.summary-route strong { overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
.summary-total > strong { text-align: right; white-space: nowrap; }
.copy-row { grid-template-columns: minmax(0,1fr) 72px; }
.copy-row button { width: 72px; min-width: 0; padding-inline: 6px; }

@media(max-width:360px) {
  .portal-menu { right: 10px; left: 10px; width: calc(100% - 20px); gap: 6px; }
  .portal-menu button { grid-template-columns: 40px minmax(0,1fr); gap: 7px; min-height: 62px; padding: 7px 8px; }
  .portal-menu .menu-icon,.portal-menu .menu-icon svg { width: 40px; height: 40px; }
  .portal-menu button:not(.portal-main) strong,.portal-menu button[data-route="profile"] strong { font-size: .57rem; }
  .summary-product { gap: 9px; }
  .summary-route strong { font-size: .59rem; }
  .summary-discount-head { gap: 7px; padding-inline: 9px; }
  .summary-discount .discount-choice-buttons { width: 92px; }
  .copy-field { padding-inline: 10px; }
  .copy-row { grid-template-columns: minmax(0,1fr) 64px; }
  .copy-row button { width: 64px; }
}

.review-compose-icon { display: grid; flex: 0 0 24px; width: 24px!important; height: 24px!important; place-items: center; margin: 0 5px 0 0!important; }
.review-compose-icon svg { width: 24px; height: 24px; filter: drop-shadow(0 4px 7px rgba(109,40,217,.25)); }
.reviews-toolbar button { display: inline-flex; min-height: 34px; align-items: center; justify-content: center; padding: 4px 10px 4px 5px; white-space: nowrap; }
.review-meter-fill,.review-note footer > span,.star-input button.is-active { color: #fbbf24; text-shadow: 0 0 10px rgba(251,191,36,.18); }
.review-note footer > i { display: grid; width: 28px; height: 28px; place-items: center; font-style: normal; }
.review-note footer > i .ui-svg { width: 28px; height: 28px; filter: drop-shadow(0 5px 8px rgba(249,115,22,.18)); }
.pagination button .ui-svg { width: 17px; height: 17px; margin: auto; }
.pagination button.is-back .ui-svg { transform: rotate(180deg); }
.external-icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.work-link > b i { display: inline-grid; width: 16px; height: 16px; place-items: center; vertical-align: middle; }
.work-link > b i .nav-icon { width: 15px; height: 15px; }

/* Visual reset v3: brand color only where it carries meaning. */
.portal-menu .menu-icon { width: 42px; height: 42px; border: 0; border-radius: 0; filter: none; }
.portal-menu .menu-icon::after { display: none; }
.portal-menu .menu-icon svg { width: 38px; height: 38px; filter: drop-shadow(0 6px 8px rgba(0,0,0,.3)); }
.portal-menu .icon-shop svg > rect:first-of-type,
.portal-menu .icon-reviews svg > rect:first-of-type,
.portal-menu .icon-profile svg > rect:first-of-type,
.portal-menu .icon-guide svg > rect:first-of-type { display: none; }
.portal-menu .portal-main .menu-icon { background: transparent; }
.portal-menu .portal-main .icon-shop svg path[fill="#fff"] { fill: #ff7048; }
.portal-menu .portal-main .icon-shop svg path[stroke="#fff"] { stroke: #ff7048; }
.portal-menu .icon-reviews svg path[fill="#fff"] { fill: #ddd; }
.portal-menu .icon-profile svg circle[fill="#fff"],.portal-menu .icon-profile svg path[fill="#fff"] { fill: #66b7ff; }
.portal-menu .icon-guide svg rect[fill="#fff"] { fill: #42d49a; }

.ui-svg-route > rect:first-of-type,.ui-svg-check > circle:first-of-type,.ui-svg-pending > circle:first-of-type,
.ui-svg-seen > circle:first-of-type,.ui-svg-expired > circle:first-of-type,.ui-svg-box > rect:first-of-type,
.ui-svg-saving > circle:first-of-type,.ui-svg-discount > rect:first-of-type,.ui-svg-receipt > rect:first-of-type,
.ui-svg-profile > rect:first-of-type,.ui-svg-quote > rect:first-of-type { display: none; }
.ui-svg [fill="#fff"] { fill: currentColor; }
.ui-svg [stroke="#fff"] { stroke: currentColor; }
.ui-svg-check,.ui-svg-saving { color: #35d68b; }
.ui-svg-route,.ui-svg-seen,.ui-svg-profile,.ui-svg-receipt { color: #55adff; }
.ui-svg-pending,.ui-svg-discount { color: #9b7cff; }
.ui-svg-expired { color: #f36565; }
.ui-svg-box,.ui-svg-warning,.ui-svg-quote { color: #f7b84b; }
.profile-metric-icon,.profile-empty-icon,.profile-order-orb { box-shadow: none; }
.profile-metric-icon svg,.profile-empty-icon .ui-svg,.profile-order-orb .ui-svg { filter: none; }
.review-compose-icon svg > rect:first-of-type { display: none; }
.review-compose-icon svg path[fill="#fff"] { fill: #b78aff; }
.review-compose-icon svg { filter: none; }
.review-note footer > i .ui-svg { filter: none; }

/* Payment v3: less decoration, one obvious transfer task. */
.payment-screen::before { background: radial-gradient(circle at 50% 10%,rgba(153,69,255,.07),transparent 30%); }
.payment-card { gap: 12px; }
.payment-state { padding: 10px 2px 18px; border: 0; border-bottom: 1px solid #292929; border-radius: 0; background: transparent; }
.payment-state-top { gap: 8px; }
.payment-state-top > small { color: #777; }
.payment-orb { width: 28px; height: 28px; }
.payment-orb .ui-svg { width: 28px; height: 28px; filter: none; }
.payment-state h1 { margin: 15px 0 7px; font-size: clamp(1.55rem,7.5vw,2.2rem); }
.payment-state > p { font-size: .61rem; }
.payment-state.is-confirmed,.payment-state.is-expired { border-color: #292929; background: transparent; }
.payment-progress { gap: 10px; padding: 0 0 6px; }
.payment-progress > span { gap: 6px; }
.payment-progress > span i { height: 2px; }
.payment-progress > span.is-active i { background: #fff; }
.payment-progress > span.is-active small { color: #d0d0d0; }
.payment-details { gap: 9px; }
.copy-field { padding: 13px; border-color: #2c2c2c; border-radius: 16px; background: #0b0b0b; }
.copy-field.is-amount { padding: 18px 14px 14px; border: 0; background: #f3f3f1; color: #000; }
.copy-field.is-amount label { padding-left: 46px; color: #686868; }
.solana-payment-mark { left: 14px; top: 13px; width: 33px; padding: 7px; border-color: #dadada; background: #fff; }
.copy-field.is-amount .copy-row { grid-template-columns: minmax(0,1fr) 42px; margin-top: 15px; }
.copy-field.is-amount .copy-row code { min-width: 0; padding: 0; color: #000; font-size: clamp(.92rem,5vw,1.28rem); overflow-wrap: anywhere; }
.copy-row button { display: inline-flex; width: auto; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; border: 1px solid #333; border-radius: 11px; background: #161616; color: #fff; }
.copy-row button .copy-icon { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.copy-field.is-amount .copy-row button { width: 42px; padding: 0; border: 0; background: #000; }
.copy-field.is-amount .copy-row button span { display: none; }
.copy-field.is-address label { margin-bottom: 10px; }
.copy-field.is-address .copy-row { grid-template-columns: minmax(0,1fr) 94px; }
.copy-field.is-address .copy-row code { display: -webkit-box; overflow: hidden; color: #d5d5d5; font-size: .61rem; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.payment-warning { grid-template-columns: 22px 1fr; padding: 9px 2px; border: 0; border-radius: 0; background: transparent; }
.payment-warning > b { width: 22px; height: 22px; }
.payment-warning span { color: #777; }
.payment-timer { min-height: 50px; border-color: #292929; border-radius: 14px; background: transparent; }
.payment-actions .button { display: inline-flex; gap: 8px; min-height: 58px; border-radius: 14px; }
.payment-actions .refresh-icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.order-reference { padding-top: 2px; }

@media(max-width:360px) {
  .portal-menu .menu-icon,.portal-menu .menu-icon svg { width: 36px; height: 36px; }
  .portal-menu button { grid-template-columns: 36px minmax(0,1fr); }
  .copy-field.is-address .copy-row { grid-template-columns: minmax(0,1fr) 42px; }
  .copy-field.is-address .copy-row button { width: 42px; padding: 0; }
  .copy-field.is-address .copy-row button span { display: none; }
}

/* Checkout/payment v4: compact summary and aligned SOL transfer. */
.summary-route { grid-template-columns: 1fr 1fr; gap: 0; padding: 0; }
.summary-route > div { min-height: 62px; justify-content: center; padding: 12px 14px; }
.summary-route > div:last-child { border-left: 1px solid #292929; }
.summary-total { min-height: 0; grid-template-columns: minmax(0,1fr) auto; align-items: center; padding: 14px 15px; border: 1px solid #303030; border-radius: 16px; background: #0e0e0e; color: #fff; }
.summary-total::after { display: none; }
.summary-total > div { gap: 4px; }
.summary-total small { color: #737373; }
.summary-total del { color: #666; font-size: .54rem; }
.summary-total > strong { font-family: Arial,"Helvetica Neue",sans-serif; font-size: clamp(1.05rem,5.5vw,1.42rem); line-height: 1; letter-spacing: -.035em; }
.summary-total > span { margin-top: 3px; padding: 3px 6px; background: rgba(53,214,139,.12); color: #50d99a; }
.payment-header-mark { display: inline-flex!important; width: auto!important; min-width: 0!important; height: 30px!important; align-items: center; gap: 7px; padding: 0 10px!important; border-color: #303030!important; background: #0b0b0b!important; }
.payment-header-mark > i { display: grid; width: 17px; gap: 2px; }
.payment-header-mark > i b { display: block; width: 17px; height: 3px; border-radius: 1px; background: linear-gradient(90deg,#14f195,#9945ff); transform: skewX(-24deg); }
.payment-header-mark > i b:nth-child(2) { transform: skewX(24deg); }
.payment-header-mark > strong { color: #ddd; font-size: .46rem; letter-spacing: .1em; }
.copy-field.is-amount { padding-top: 14px; }
.amount-heading { display: grid; grid-template-columns: 34px minmax(0,1fr) 34px; align-items: center; gap: 8px; }
.amount-heading > label { margin: 0; padding: 0!important; color: #555!important; text-align: center; }
.amount-heading > span { width: 34px; }
.amount-heading .solana-payment-mark { position: static; width: 34px; min-height: 34px; padding: 8px 7px; border: 0; border-radius: 9px; background: #111; box-shadow: 0 5px 12px rgba(0,0,0,.18); }
.amount-heading .solana-payment-mark i { width: 20px; height: 4px; }
.copy-field.is-amount .copy-row { grid-template-columns: minmax(0,1fr) 42px; margin-top: 13px; }
.copy-field.is-amount .copy-row code { padding-left: 42px; text-align: center; white-space: nowrap; overflow-wrap: normal; }

@media(max-width:360px) {
  .summary-route > div { padding-inline: 10px; }
  .summary-total { padding-inline: 12px; }
  .summary-total > strong { font-size: 1rem; }
  .copy-field.is-amount .copy-row code { padding-left: 34px; font-size: .86rem; }
}
