/* ANGELS NIGHT WORLD W13 — economy app, embedded in iNight OS. */
.anwe{--anwe-panel:rgba(15,22,43,.84);--anwe-line:rgba(169,182,225,.18);color:#f7f3ff;
  min-height:100%;font-family:inherit;line-height:1.45}
.anwe *{box-sizing:border-box}
.anwe-head{display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:13px 15px;border-radius:20px;background:linear-gradient(115deg,#291747,#111f36);
  border:1px solid rgba(213,171,255,.24);box-shadow:0 10px 25px #080b1e40}
.anwe-head>div:first-child{display:grid;gap:2px}
.anwe-head small{font-size:10px;color:#a89ebf;font-weight:800;letter-spacing:.17em}
.anwe-head strong{font-size:19px;letter-spacing:-.04em}
.anwe-balances{display:flex;flex-wrap:wrap;gap:5px;justify-content:flex-end}
.anwe-balances span{font-size:11px;font-weight:800;background:#100e2694;border:1px solid #ffffff24;
  padding:7px 9px;border-radius:18px;white-space:nowrap}
.anwe-tabs{display:flex;gap:7px;overflow:auto;scrollbar-width:none;margin:12px 0;padding:2px 0 7px;touch-action:pan-x}
.anwe-tabs::-webkit-scrollbar{display:none}
.anwe-tabs button{border:1px solid #afb9e82e;background:#1d2041a0;color:#d2d5ec;
  border-radius:999px;padding:10px 14px;font:800 11px inherit;white-space:nowrap;min-height:42px;cursor:pointer}
.anwe-tabs button.active{background:linear-gradient(130deg,#df9aff,#8b7efc);color:#18112a;
  border-color:transparent;box-shadow:0 5px 20px #b481ff43}
.anwe-content{display:grid;gap:13px;padding:4px 1px 65px}
.anwe-note{color:#c3c7db;font-size:12px;margin:0 0 1px}
.anwe-panel{border:1px solid var(--anwe-line);background:var(--anwe-panel);
  border-radius:18px;padding:16px;display:grid;gap:12px;min-width:0}
.anwe-panel h3{margin:0;font-size:15px}
.anwe-panel p{margin:0;color:#c5c9da;font-size:12px}
.anwe-panel label{display:grid;gap:5px;font-size:12px;color:#bfc1d6}
.anwe-panel input,.anwe-panel select{color:#fff;background:#0a1127;border:1px solid #7981b455;
  border-radius:11px;padding:11px 12px;font-size:14px;width:100%;min-width:0;outline-offset:3px}
.anwe-panel input:focus-visible,.anwe-panel select:focus-visible{outline:2px solid #d58eff}
.anwe-panel select option{background:#141833}
.anwe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.anwe-product{min-width:0;display:flex;flex-direction:column;gap:9px;border-radius:17px;
  padding:13px;border:1px solid var(--anwe-line);background:linear-gradient(150deg,#292042d9,#10162de8)}
.anwe-product-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:15px;
  background:linear-gradient(140deg,#a375cb4a,#5271a33c);font-size:27px}
.anwe-product strong{display:block;font-size:13px;line-height:1.2}
.anwe-product small{display:block;color:#aeb8cb;margin-top:5px;font-size:10px}
.anwe-price{font-size:12px;color:#f6cf83;font-weight:900;white-space:nowrap}
.anwe-product .anwe-price{margin-top:auto}
.anwe-btn{font-size:11px!important;font-weight:900!important;letter-spacing:.02em;color:#130f20!important;
  background:linear-gradient(125deg,#e3b5ff,#86b6fa)!important;border:0!important;
  border-radius:12px!important;padding:11px 13px!important;min-height:42px;cursor:pointer}
.anwe-btn:disabled{cursor:not-allowed!important;filter:grayscale(1);opacity:.45}
.anwe-muted-btn{background:#2c3356!important;color:#fff!important;border:1px solid #ffffff22!important}
.anwe-list{display:grid;gap:8px}
.anwe-item{display:flex;align-items:center;gap:9px;min-width:0;min-height:65px;
  background:rgba(18,23,43,.9);border:1px solid var(--anwe-line);border-radius:13px;padding:10px}
.anwe-glyph{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:12px;
  background:#3841648e;font-size:21px}
.anwe-item-info{flex:1;min-width:0;display:grid;gap:3px}
.anwe-item-info strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.anwe-item-info small{font-size:10px;color:#a8b1c6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.anwe-item>button{border:1px solid #8479bd66;background:#2b294b;color:#eae6ff;
  min-height:38px;padding:7px 10px;border-radius:10px;font-weight:800;font-size:10px;cursor:pointer}
.anwe-item .anwe-price{font-size:11px}
.anwe-empty{color:#a6aabe;text-align:center;padding:20px;margin:0;font-size:12px}
.anwe-wallet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.anwe-wallet-grid>div{min-width:0;border-radius:17px;padding:17px 12px;background:linear-gradient(150deg,#2e204e,#172140);
  border:1px solid #aab2e233;display:grid;gap:6px}
.anwe-wallet-grid small{color:#b7b4d3;font-size:10px;font-weight:800}
.anwe-wallet-grid strong{font-size:29px;letter-spacing:-.04em;overflow-wrap:anywhere}
.anwe-wallet-grid span{color:#c9c6d7;font-size:11px}
.anwe-code{display:block;word-break:break-all;font-size:11px;border-radius:9px;padding:10px;
  margin-top:6px;background:#13142e;color:#d5b5f7}
.anwe-offers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.anwe-offers>div{border:1px solid #aeb3d528;border-radius:12px;padding:10px;overflow:hidden;
  background:#13192b;min-height:68px}
.anwe-offers strong{font-size:12px}
.anwe-offers ul{padding:0 0 0 15px;margin:7px 0;font-size:11px}
.anwe-offers li{margin-bottom:5px}
.anwe-check{display:flex!important;align-items:center;gap:10px;min-height:35px}
.anwe-check input{width:18px;min-width:18px;accent-color:#bf8bfa}
.anwe-alert{display:none;margin-top:10px;background:#44273c;border:1px solid #cf7899;
  padding:12px;border-radius:12px;color:#ffdaeb;font-size:12px}
.anwe-alert.visible{display:block}
.anwe-confirm:not([hidden]){position:fixed;inset:0;background:#080b15ca;z-index:1000;
  display:grid;place-items:center;padding:14px}
.anwe-dialog{display:grid;gap:15px;background:#20233f;color:#fff;border:1px solid #947ec8;
  max-width:385px;width:100%;padding:22px;border-radius:20px;box-shadow:0 22px 80px #000a}
.anwe-dialog strong{letter-spacing:.06em;font-size:13px}
.anwe-dialog p{margin:0;color:#dfdcf1;font-size:14px}
.anwe-dialog>div{display:flex;gap:8px}
.anwe-dialog button{flex:1}
.anwe-loading{color:#dbd2ef;padding:32px 15px;text-align:center;font-size:13px}
@media(max-width:440px){
 .anwe-head{flex-direction:column;align-items:stretch}
 .anwe-balances{justify-content:flex-start}
 .anwe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .anwe-product{padding:11px}
 .anwe-item{flex-wrap:wrap}
 .anwe-item>button{margin-left:auto}
}
@media(min-width:750px){
 .anwe-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .anwe-head{padding:18px 20px}
 .anwe-content{padding-bottom:32px}
}
@media(prefers-reduced-motion:no-preference){
 .anwe-btn,.anwe-tabs button{transition:transform .16s ease,filter .16s ease}
 .anwe-btn:active{transform:scale(.98)}
}

/* W13.1: filtered results really leave the layout, even with flex author styles. */
.anwe [data-market-item][hidden]{display:none!important}
.anwe [data-market-item]:focus-within{outline:2px solid #d58eff;outline-offset:2px}
.anwe input[type="search"]::-webkit-search-cancel-button{cursor:pointer}

/* W13 QA-only: unmistakable separation of fictitious and persistent balances. */
.anwe-sandbox-warning{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;
 background:rgba(255,192,87,.14);border:1px solid rgba(250,195,90,.55);
 color:#fff1d7;border-radius:13px;padding:10px 14px;margin-bottom:10px;font-size:12px}
.anwe-sandbox-warning strong{font-size:11px;letter-spacing:.08em;color:#ffe0a2}
.anwe-sandbox-warning span{flex:1;min-width:180px}

/* W17: real iNight remains usable when a phone lacks WebGL2. */
.inight-overlay.anwe-lite-overlay{z-index:95;display:flex;justify-content:center;
 background:radial-gradient(circle at 18% 12%,#392251,#10162a 45%,#070a17);
 pointer-events:auto}
.anwe-lite-overlay .inight-device{width:min(900px,calc(100vw - 22px));height:min(870px,96dvh);
 max-height:96dvh;margin:0;padding:5px}
.anwe-lite-overlay .inight-page.anwe-lite-page{padding-top:calc(50px + env(safe-area-inset-top,0px))}
.anwe-lite-overlay .inight-page-head{align-items:center}
.anwe-lite-overlay .anwe-lite-link{text-decoration:none;color:#f2d5ff;
 font-weight:900;font-size:10px;padding:10px 9px;border:1px solid #ffffff26;
 border-radius:12px;white-space:nowrap;background:#292343}
.anwe-lite-overlay .inight-status{display:flex;justify-content:space-between;
 align-items:center;padding:13px 20px;color:#e2d4fa;font-size:12px}
.anwe-lite-overlay .inight-status small{letter-spacing:.09em;font-size:9px;color:#c4b8dd}
.anwe-lite-info{padding:9px 12px!important;margin:0 4px 12px!important;border-radius:11px;
 border:1px solid #f5bb6c55;background:#d19d4914;color:#e8d8c7!important;font-size:12px}
.anwe-lite-overlay .inight-page-body{max-width:900px;width:100%;margin:auto}
@media(max-width:600px){
 .anwe-lite-overlay .inight-device{width:100%;height:100dvh;max-height:100dvh;border-radius:0;margin:0;padding:0}
 .anwe-lite-overlay .inight-page.anwe-lite-page{padding-top:calc(42px + env(safe-area-inset-top,0px))}
 .anwe-lite-overlay .inight-page-head{gap:8px}
 .anwe-lite-overlay .inight-page-head h2{font-size:19px}
 .anwe-lite-overlay .anwe-lite-link{font-size:9px;padding:9px 7px}
}

/* W17: accessible linked-account recovery inside iNight */
.anwe-recovery{display:grid;gap:12px;max-width:620px;margin:12px auto;padding:20px}
.anwe-recovery form{display:grid;gap:12px}
.anwe-recovery label{display:grid;gap:5px;font-size:13px;color:#ddd6f7}
.anwe-recovery input{width:100%;min-width:0;min-height:46px;color:#fff;
 background:#11152b;border:1px solid #8583c4;border-radius:10px;padding:12px;font-size:16px}
.anwe-recovery input:focus-visible{outline:2px solid #f1adff;outline-offset:2px}
.anwe-recovery button{min-height:46px}
.anwe-recovery button:disabled{opacity:.55;cursor:wait}
.anwe-recovery #anweLoginError:not(:empty){color:#ffb9c5;line-height:1.5}
.anwe-confirm .anwe-dialog :focus-visible{outline:3px solid #cba7ff;outline-offset:3px}
.anwe-mount{min-width:0;max-width:100%}


/* W39: no-tutorial-first economy flows. Preserves the signed server authority. */
.anwe-start{background:linear-gradient(145deg,#392248,#192e48);border:1px solid #d1a7ff38;border-radius:18px;padding:16px;display:grid;gap:10px;margin:10px 0}
.anwe-start h2{font-size:17px;line-height:1.2;margin:0;color:#fff}
.anwe-start p{font-size:12px;margin:0;color:#cdd3ed}
.anwe-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.anwe-action-grid button{display:grid;justify-items:start;gap:4px;min-height:100px;padding:13px;border-radius:14px;border:1px solid #c4c8f04d;color:#fff;background:#172641;text-align:left;cursor:pointer}
.anwe-action-grid button span{font-size:24px}.anwe-action-grid button strong{font-size:13px}.anwe-action-grid button small{font-size:11px;color:#c0cbdf}
.anwe-intent{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:5px 0 14px}
.anwe-intent button{min-height:50px;border-radius:15px;border:1px solid #929ccc80;background:#212742;color:#d9d8ed;font-size:13px;font-weight:800;cursor:pointer}
.anwe-intent button[aria-pressed="true"]{background:linear-gradient(135deg,#d49bff,#80bbf2);color:#171127;border-color:transparent}
.anwe-market-sell[hidden],.anwe-market-buy[hidden]{display:none!important}
.anwe-market-sell,.anwe-market-buy{display:grid;gap:12px;min-width:0}
.anwe-earn-preview{background:#153a38;border:1px solid #71d6b577;border-radius:13px;padding:14px!important;color:#e3fff2!important;font-size:13px!important;font-weight:800;line-height:1.55}
.anwe-advanced{border:1px solid #979cbb54;border-radius:12px;padding:10px;display:grid;gap:12px;min-width:0}
.anwe-advanced summary{cursor:pointer;font-size:12px;font-weight:800;color:#dfd8f5;min-height:30px;align-content:center}
.anwe-advanced[open]{padding-bottom:15px}
.anwe-advanced label,.anwe-advanced button{margin-top:10px}
.anwe-action-grid button:focus-visible,.anwe-intent button:focus-visible,.anwe-advanced summary:focus-visible{outline:3px solid #f0ccff;outline-offset:3px}
@media(max-width:360px){.anwe-action-grid button{padding:10px;min-height:91px}.anwe-start{padding:12px}.anwe-intent button{font-size:11px}}
@media(prefers-reduced-motion:no-preference){.anwe-action-grid button:active{transform:scale(.98)}}

/* W39.2 clear purchase feedback and immediate shop discovery */
.anwe-shop-filters{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:8px}
.anwe-shop-filters label{display:grid;gap:5px;min-width:0;font-size:12px;font-weight:800;color:#d6d8f5}
.anwe-shop-filters input,.anwe-shop-filters select{min-width:0;width:100%;height:45px;padding:10px;background:#10182d;color:#fff;border:1px solid #9999cf74;border-radius:12px;font-size:14px}
.anwe-shop-filters input:focus-visible,.anwe-shop-filters select:focus-visible{outline:3px solid #ecb8ff}
.anwe [data-shop-item][hidden]{display:none!important}
.anwe-alert.visible{display:block;position:sticky;top:8px;z-index:4;margin:12px 0;padding:14px 16px;font-size:13px;font-weight:800}
.anwe-alert.success{background:#153a34;border:1px solid #74dcb6;color:#e0ffef}
@media(max-width:360px){.anwe-shop-filters{grid-template-columns:1fr}}


/* ━━━ W40 ANGELS NIGHT / NIGHT VAULT visual system ━━━━━━━━━━━━━━━━━━━━━━
   Custom lightweight vector pictograms and CSS coins. No remote font/image,
   no GPU canvas, no balance simulation. Mobile-first 44px tap targets.
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.anwe {
  --nv-ink:#f8f8ff;
  --nv-muted:#abb4d5;
  --nv-panel:rgba(18,22,47,.91);
  --nv-stroke:rgba(175,182,236,.15);
  --nv-gold:#f8cc83;
  --nv-mint:#85e5c6;
  --nv-orchid:#c5a4ff;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  max-width:100%;
  background:
    radial-gradient(ellipse 87% 30% at 22% -4%,rgba(160,101,241,.23),transparent 85%),
    radial-gradient(ellipse 68% 40% at 100% 30%,rgba(51,123,221,.12),transparent 88%),
    linear-gradient(180deg,#12152b 0%,#0d1429 62%,#101324 100%);
  border-radius:22px;
  padding:clamp(10px,3vw,20px);
  color:var(--nv-ink);
  letter-spacing:-.012em;
}
.anwe::before {
  content:"";position:absolute;inset:0 0 auto; height:3px;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,transparent,#b794fe,#e4b8ff,#88cbfc,transparent);
  opacity:.78;
}
.anwe .anwe-ico {display:inline-block;flex:none;width:23px;height:23px;stroke:currentColor;vertical-align:middle}
.anwe-scene {position:relative;isolation:isolate;overflow:hidden}
.anwe-eyebrow {display:block;color:#c6aefa;font-size:10px;font-weight:850;letter-spacing:.145em}
.anwe-section-heading {display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:15px}
.anwe-section-heading h2 {margin:4px 0 0;font-size:21px;font-weight:850;letter-spacing:-.05em}
.anwe-section-heading h2 .anwe-ico {width:21px;height:21px;margin-right:3px}
.anwe-section-heading>svg {color:#9478e5;opacity:.8}

/* The player recognizes currencies from the COLOR and raised coin silhouette,
   not only text or emoji. Both retain semantic labels nearby. */
.anwe-coin {
 position:relative;display:inline-grid;flex:none;place-items:center;
 width:38px;height:38px;border-radius:50%;
 font-style:normal;font-size:23px;font-weight:1000;line-height:1;
 text-shadow:0 1px 2px #31211a7c;
 box-shadow:inset 0 3px 4px #fff9,inset 0 -5px 7px #1c153566,0 6px 12px #0007,0 0 0 3px #ffffff11;
}
.anwe-coin::before {content:"";position:absolute;inset:4px;border:1.5px solid #ffffff93;border-radius:50%}
.anwe-coin-night {color:#603116;background:radial-gradient(circle at 29% 20%,#fff7d8 0,#f6d993 26%,#e7a446 61%,#ad622b 91%)}
.anwe-coin-special {color:#eee5ff;background:radial-gradient(circle at 25% 22%,#fff 0,#dbb7ff 25%,#9468eb 60%,#5532a5 94%)}

/* Header: one compact title and always-visible pair of balances. */
.anwe-head {
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  background:rgba(18,18,43,.71);
  border:1px solid var(--nv-stroke);
  border-radius:19px;
  box-shadow:inset 0 1px #ffffff12,0 8px 30px #05071c36;
  padding:13px 15px;
  gap:14px;
}
.anwe .anwe-brand {display:flex;align-items:center;gap:10px;min-width:0}
.anwe-brand-mark {
 flex:none;width:43px;height:43px;display:grid;place-items:center;color:#e9ccff;
 border:1px solid #f0c3ff55;border-radius:14px;
 background:linear-gradient(150deg,#6e458f,#262853);box-shadow:inset 0 1px #ffffff33;
}
.anwe-brand-mark .anwe-ico {width:26px;height:26px}
.anwe-head .anwe-brand>div {display:grid;gap:1px}
.anwe-head .anwe-brand small {font-size:9px;letter-spacing:.13em;font-weight:800;color:#bdacd7}
.anwe-head .anwe-brand strong {font-size:clamp(17px,4.5vw,21px);line-height:1.15;font-weight:900;letter-spacing:-.05em}
.anwe-top-wallet {
 display:flex;align-items:center;gap:7px;min-height:48px;
 border:1px solid #d8c6f137;border-radius:999px;
 padding:5px 12px 5px 7px;background:linear-gradient(130deg,#343051,#171a35);
 color:#fff;cursor:pointer;white-space:nowrap;
}
.anwe-top-wallet .anwe-coin {width:24px;height:24px;font-size:15px;box-shadow:inset 0 1px 2px #fff8,0 2px 7px #0007}
.anwe-top-wallet .anwe-coin::before {inset:2px;border-width:1px}
.anwe-top-wallet strong {font-size:13px;font-weight:900;font-variant-numeric:tabular-nums}
.anwe-top-wallet .anwe-ico {width:14px;color:#aab6dc}
.anwe-top-wallet:hover {border-color:#dfb1ff80}
.anwe .anwe-security {margin:7px 2px 0;padding:0;background:none;border:0}
.anwe-security>summary {display:flex;align-items:center;gap:6px;list-style:none;cursor:pointer;color:#95dcbd;font-size:10px;font-weight:800;padding:6px 3px}
.anwe-security>summary::-webkit-details-marker{display:none}
.anwe-security>summary .anwe-ico {width:14px;height:14px}
.anwe-security>summary>span {font-weight:900}
.anwe-security-commands {display:flex;flex-wrap:wrap;gap:8px;padding:8px 0}
.anwe-security-commands button {display:flex;align-items:center;gap:7px;border:1px solid #858ec368;color:#dce6ff;background:#191c35;border-radius:12px;padding:10px 13px;min-height:44px;font-weight:800}

/* Six existing apps survive. Icons and active state carry the meaning. */
.anwe .anwe-tabs {display:flex;gap:7px;margin:13px 0 15px;padding:4px 1px 9px;overflow-x:auto;touch-action:pan-x;scroll-snap-type:x proximity}
.anwe .anwe-tabs button {
 display:grid;place-items:center;align-content:center;gap:5px;
 flex:0 0 auto;min-width:74px;min-height:73px;max-width:120px;
 padding:10px 12px;border:1px solid #a9b6e12b;border-radius:15px;
 color:#bdc5e2;background:#191d37;
 scroll-snap-align:start;box-shadow:inset 0 1px #ffffff0b;cursor:pointer;
 font:800 10px/1.2 inherit;white-space:normal;text-align:center;
}
.anwe .anwe-tabs button .anwe-ico {width:24px;height:24px}
.anwe .anwe-tabs button.active {background:linear-gradient(155deg,#f1c7ff,#b29dff 62%,#95bff6);color:#261841;border-color:transparent;box-shadow:0 7px 21px #835dda49}
.anwe-content {gap:14px;padding:0 1px 38px}
.anwe-panel {background:linear-gradient(140deg,#222543df,#121a31f0);border-color:#ffffff1d;border-radius:20px;box-shadow:inset 0 1px #ffffff0e}
.anwe .anwe-btn {min-height:48px!important;border-radius:14px!important;font-size:12px!important;letter-spacing:0!important}
.anwe .anwe-big-action {display:flex;align-items:center;justify-content:center;gap:11px;width:100%;padding:13px 16px!important;min-height:57px!important;
 background:linear-gradient(120deg,#edc4ff 0%,#b79fff 50%,#87c6ed 100%)!important;
 box-shadow:inset 0 2px 2px #ffffff8a,0 12px 23px #7361ba45;color:#221935!important;font-size:13px!important}
.anwe-big-action>.anwe-ico {width:21px;height:21px}
.anwe-big-action>.anwe-ico:last-child {margin-left:auto}

/* Home portal: four radically different pictorial doors, not a form. */
.anwe .anwe-start {padding:17px;border:1px solid #caadff42;
 background:radial-gradient(ellipse at 105% 0%,#65458a56,transparent 66%),linear-gradient(145deg,#292144,#111a32);
 border-radius:20px;margin:0 0 15px;box-shadow:inset 0 1px #ffffff17,0 14px 30px #070b1b44;gap:14px}
.anwe-start-copy h2 {font-size:24px;letter-spacing:-.065em;margin:4px 0 0;line-height:1.15}
.anwe .anwe-action-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.anwe .anwe-action-grid .anwe-action-tile {
 min-width:0;min-height:146px;position:relative;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;
 padding:16px;border-radius:18px;border:1px solid #ffffff3f;color:#fff;overflow:hidden;text-align:left;
 box-shadow:inset 0 1px #ffffff2e,0 6px 17px #0b0c2455;cursor:pointer;
}
.anwe-action-tile::before {content:"";position:absolute;width:130px;height:130px;right:-45px;top:-35px;transform:rotate(-24deg);border-radius:40px;border:1px solid #ffffff25;pointer-events:none}
.anwe-action-buy {background:linear-gradient(145deg,#3d63ba,#223767 84%)!important}
.anwe-action-sell {background:linear-gradient(145deg,#93623e,#55402e 84%)!important}
.anwe-action-trade {background:linear-gradient(145deg,#277f79,#184b60 84%)!important}
.anwe-action-wallet {background:linear-gradient(145deg,#754db2,#423570 84%)!important}
.anwe-action-tile .anwe-action-icon {display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#ffffff2a;border:1px solid #ffffff56;color:#fff;box-shadow:inset 0 1px #ffffff3a}
.anwe-action-tile .anwe-action-icon .anwe-ico {width:31px;height:31px;stroke-width:1.8}
.anwe-action-label {display:grid;gap:3px;padding-top:12px}
.anwe-action-label strong {font-size:16px;font-weight:950;letter-spacing:-.035em}
.anwe-action-label small {font-size:10px;color:#f0edffe0}
.anwe-action-go {position:absolute;right:13px;bottom:13px;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;background:#ffffff20}
.anwe-action-go .anwe-ico {width:17px;height:17px}
.anwe .anwe-action-grid button:hover {filter:brightness(1.12)}

/* Illustrated wallet: tangible 3D metal coins and spectacular readable totals. */
.anwe-wallet-scene {background:linear-gradient(155deg,#24203e,#171a32);padding:19px 16px 17px;border:1px solid #b9a4eb35;border-radius:23px}
.anwe-wallet-scene::after {content:"";position:absolute;right:-36px;top:-55px;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,#b781ff1a,transparent 70%);pointer-events:none}
.anwe-wallet-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.anwe-wallet-grid .anwe-wallet-card {
 position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;
 min-height:194px;padding:18px 13px 15px;
 border-radius:21px;overflow:hidden;border:1px solid #fff7;
 box-shadow:inset 0 2px #ffffff7d,0 13px 23px #0a061e48;
}
.anwe-wallet-card::after {content:"";position:absolute;right:-33px;top:-31px;width:110px;height:110px;border:2px solid #ffffff35;border-radius:50%}
.anwe-wallet-card-night {background:radial-gradient(circle at 80% -5%,#fff0bb59,transparent 65%),linear-gradient(155deg,#9c5f26,#5b371d 92%);color:#fff5e6}
.anwe-wallet-card-special {background:radial-gradient(circle at 80% -5%,#e8bdff78,transparent 65%),linear-gradient(155deg,#7647aa,#3a245f 92%);color:#f8ebff}
.anwe-wallet-coin {position:relative;z-index:1;display:block}
.anwe-wallet-coin .anwe-coin {width:69px;height:69px;font-size:43px;transform:rotate(-15deg);box-shadow:inset 0 3px 5px #fff8,inset 0 -6px 7px #26133277,0 12px 10px #0004,0 0 0 4px #ffffff27}
.anwe-wallet-coin .anwe-coin::before {inset:7px;border-width:2px}
.anwe-wallet-card-special .anwe-wallet-coin .anwe-coin {transform:rotate(14deg)}
.anwe-wallet-card-copy {position:relative;z-index:1;display:grid;gap:3px;margin-top:auto;min-width:0}
.anwe-wallet-card-copy small {font-size:10px;font-weight:850;color:#fffce9cc;letter-spacing:.065em}
.anwe-wallet-card-copy strong {display:block;font-size:clamp(27px,7vw,40px);letter-spacing:-.065em;line-height:1.1;color:white;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.anwe-wallet-card-copy span {font-weight:750;font-size:10px;letter-spacing:.07em;color:#ffffffc9}

/* Coin exchange stage is a direct visual equation: give → receive. */
.anwe-convert-scene {display:grid;gap:15px;padding:20px 17px;border:1px solid #ae98e439;border-radius:23px;
 background:radial-gradient(ellipse at 100% 0%,#6f5cb12e,transparent 55%),linear-gradient(135deg,#211f3d,#131b34)}
.anwe-convert-lane {display:grid;grid-template-columns:minmax(0,1fr) 33px minmax(0,1fr);align-items:center;gap:4px;padding:8px 0}
.anwe-convert-side {display:grid;justify-items:center;gap:5px;min-width:0;text-align:center;position:relative}
.anwe-convert-side>.anwe-coin {width:70px;height:70px;font-size:40px;box-shadow:inset 0 3px 5px #fff9,inset 0 -5px 9px #2d184f99,0 9px 15px #02021677}
.anwe-convert-side>.anwe-coin::before {inset:7px;border-width:2px}
.anwe-convert-title {color:#bdb8da;font-size:10px;font-weight:850;letter-spacing:.11em;white-space:nowrap}
.anwe-convert-side strong {font-size:clamp(24px,7vw,38px);line-height:1.05;font-weight:950;color:#fff;letter-spacing:-.045em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.anwe-convert-get strong {color:#f8cf8f}
.anwe-convert-direction {display:grid;place-items:center;align-self:center;margin-top:-8px;color:#cdadee}
.anwe-convert-direction .anwe-ico {width:30px;height:30px}
.anwe-stepper,.anwe-sale-price-row {display:grid;grid-template-columns:54px minmax(0,1fr) 54px;gap:8px;align-items:center}
.anwe-stepper>button,.anwe-sale-price-row>button {
 display:grid;place-items:center;width:54px;height:54px;border:1px solid #c2b4e07a;border-radius:15px;
 background:#2d2c52;color:#f2e7ff;cursor:pointer
}
.anwe-stepper>button .anwe-ico,.anwe-sale-price-row>button .anwe-ico {width:26px;height:26px}
.anwe-stepper>label,.anwe-sale-price-row>label {
 display:flex;align-items:center;gap:8px;justify-content:center;min-height:54px;min-width:0;
 background:#0e1329;border:1px solid #a59ed16b;border-radius:15px;padding:0 10px;color:#dbc2ff;font-size:24px;font-weight:950
}
.anwe-stepper input,.anwe-sale-price-row input {display:block;min-width:0;width:100%;background:none;border:0!important;outline:none;color:#fff!important;font-size:25px!important;font-weight:950;text-align:center;padding:0!important;appearance:textfield}
.anwe-stepper input::-webkit-outer-spin-button,.anwe-stepper input::-webkit-inner-spin-button,.anwe-sale-price-row input::-webkit-outer-spin-button,.anwe-sale-price-row input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.anwe-sale-price-row .anwe-coin {width:31px;height:31px;font-size:20px}
.anwe-stepper input:focus-visible,.anwe-sale-price-row input:focus-visible {outline:2px solid #e6b8ff!important;outline-offset:1px}
.anwe-convert-scene .anwe-earn-preview {padding:10px 13px!important;background:#22544836;border-color:#55c4a43c;color:#d1ffed!important;font-size:12px!important;min-height:37px}
.anwe-small-trust {display:flex;gap:7px;align-items:center;color:#aea9c9;font-size:11px;line-height:1.35}
.anwe-small-trust .anwe-ico {width:17px;height:17px}
.anwe-daily-scene {display:grid;grid-template-columns:60px minmax(0,1fr) auto;align-items:center;gap:12px;
 padding:17px;border:1px solid #96b7e545;border-radius:22px;
 background:radial-gradient(circle at 0 0,#367bc747,transparent 54%),linear-gradient(120deg,#192d4e,#152039)}
.anwe-daily-art {display:grid;place-items:center;width:59px;height:59px;border:1px solid #a2d8f968;border-radius:19px;background:#d4ecff20;color:#d8edff}
.anwe-daily-art .anwe-ico {width:36px;height:36px}
.anwe-daily-copy {display:grid;gap:5px;min-width:0}
.anwe-daily-copy strong {display:flex;align-items:center;gap:6px;font-size:23px;font-weight:950;color:#ffecb2}
.anwe-daily-copy strong .anwe-coin {width:25px;height:25px;font-size:16px}
.anwe-daily-copy strong .anwe-coin::before {inset:2px;border-width:1px}
.anwe-daily-copy small {font-size:11px;color:#c5d9f7}
.anwe-daily-scene .anwe-btn {white-space:nowrap;min-height:49px!important;padding:11px!important}
.anwe-daily-scene .anwe-btn .anwe-ico {width:16px;height:16px}
.anwe-history-scene {border:1px solid #a9a7d533;border-radius:16px;background:#191d37}
.anwe-history-toggle summary {display:flex;align-items:center;gap:11px;padding:16px;min-height:59px;cursor:pointer;list-style:none;color:#e3defb;font-size:12px;font-weight:850}
.anwe-history-toggle summary::-webkit-details-marker {display:none}
.anwe-history-toggle summary .anwe-ico {color:#c2a8ff}
.anwe-history-toggle summary span {flex:1}
.anwe-history-toggle summary strong {background:#8678b447;border-radius:10px;padding:5px 8px}
.anwe-history-body {padding:3px 12px 16px}

/* Illustrated product stage with controlled depth; no fake thumbnails */
.anwe .anwe-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.anwe .anwe-product {border:1px solid #a7a4d144;border-radius:19px;padding:11px;background:linear-gradient(153deg,#292e50,#141c34 90%);box-shadow:inset 0 1px #ffffff16;min-height:255px}
.anwe-product-stage {min-height:102px;border-radius:15px;background:radial-gradient(circle at 50% 37%,#947ade45,transparent 63%),linear-gradient(160deg,#2f365f,#1c2641);
 position:relative;display:grid;place-items:center;overflow:hidden}
.anwe-product-orbit {position:absolute;inset:12px 19%;border:1px solid #ddd9ff25;border-radius:50%;transform:rotate(-19deg)}
.anwe .anwe-product-icon {position:relative;display:grid;place-items:center;width:80px;height:80px;border-radius:18px;border:1px solid #ffffff2a;transform:rotate(-4deg);
 background:radial-gradient(circle at 30% 15%,#ffffff1f,transparent 58%),#ffffff0d;font-size:48px;filter:drop-shadow(0 7px 7px #0b09285e)}
.anwe-item-badge {position:absolute;top:8px;right:8px;border-radius:9px;padding:4px 6px;font-size:9px;color:#fff8df;font-weight:900;background:#966fcf}
.anwe .anwe-product strong {font-size:13px;font-weight:850;line-height:1.32}
.anwe .anwe-product small {font-size:10px;color:#b9bfd7}
.anwe .anwe-product .anwe-price {font-size:13px;color:#ffe1a0;white-space:normal;margin-top:auto}
.anwe .anwe-product .anwe-btn {width:100%;font-size:11px!important;min-height:43px!important}
.anwe .anwe-product .anwe-preview-button {font-size:10px}

/* Sell: select item by visual tile, tap +/- price, see TAKE-HOME sum upfront */
.anwe .anwe-intent {gap:9px;margin-bottom:6px}
.anwe .anwe-intent button {min-height:56px;font-size:13px;font-weight:900;border-radius:15px}
.anwe .anwe-intent button[aria-pressed="true"] {background:linear-gradient(120deg,#ebc0ff,#a5b9fa);box-shadow:0 7px 18px #8a67da3c}
.anwe-sale-flow {padding:17px;gap:13px}
.anwe-flow-heading {display:flex;align-items:center;gap:12px}
.anwe-flow-icon {display:grid;place-items:center;flex:none;width:49px;height:49px;background:#9c7cff38;border-radius:16px;color:#d8b8ff}
.anwe-flow-icon .anwe-ico {width:27px;height:27px}
.anwe-flow-heading h3 {margin:4px 0 0;font-size:21px;letter-spacing:-.04em}
.anwe-steps {display:flex;gap:5px}
.anwe-steps>span {display:flex;align-items:center;gap:5px;border:1px solid #8a8dac55;border-radius:999px;color:#919fbe;padding:7px 8px;min-width:0;font-weight:800;font-size:11px}
.anwe-steps>span.active {background:#aa82f64a;border-color:#ccb1ffb8;color:#eee4ff}
.anwe-steps small {font-size:9px}
.anwe-step-name {display:flex;align-items:center;gap:10px;margin-top:3px}
.anwe-step-name>span {display:grid;place-items:center;width:27px;height:27px;border-radius:10px;background:#ecc792;color:#3b2641;font-size:12px;font-weight:900}
.anwe-step-name strong {font-size:14px;color:#e8def9}
.anwe-sale-picker {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-height:240px;overflow-y:auto}
.anwe-sale-picker>button {position:relative;display:grid;justify-items:center;gap:7px;padding:10px 5px;min-width:0;min-height:102px;border:1.5px solid #8d91b66e;border-radius:15px;background:#191e38;color:#e7e6fa;font-weight:800;font-size:11px;cursor:pointer}
.anwe-picker-art {display:grid;place-items:center;flex:none;width:49px;height:49px;border:1px solid #ffffff30;border-radius:14px;font-size:29px;background:linear-gradient(140deg,#7e66b35c,#3b80a344)}
.anwe-sale-picker>button>span:nth-child(2){overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap}
.anwe-sale-picker>button[aria-pressed="true"] {background:#4a376b;border-color:#dbb4ff;box-shadow:inset 0 0 0 1px #e5cbff}
.anwe-picker-check {position:absolute;top:6px;right:6px;background:#91f5cf;color:#184739;border-radius:50%;width:20px;height:20px;display:grid;place-items:center}
.anwe-picker-check .anwe-ico {width:14px;height:14px}
.anwe .anwe-sell-alternative {font-size:10px;border:0;padding:0}
.anwe-sell-alternative summary {font-size:10px;color:#a9b3cf}
.anwe-sale-price-row>button {width:54px;height:54px}
.anwe-sale-net {display:flex;gap:12px;align-items:center;border:1px solid #65d6ae65;border-radius:16px;padding:13px;background:linear-gradient(120deg,#18514b,#173732)}
.anwe-sale-net-icon {display:grid;place-items:center;width:45px;height:45px;border-radius:13px;background:#b2ffe521;color:#9bf1c8;transform:rotate(90deg)}
.anwe-sale-net strong {display:block;font-size:31px;font-weight:950;letter-spacing:-.06em;color:#d9ffea;font-variant-numeric:tabular-nums}
.anwe-sale-net small {font-weight:850;letter-spacing:.09em;color:#a3ebce}
.anwe-sale-flow .anwe-earn-preview {background:#15413528;border-color:#66cca53a;color:#b4ebd0!important;padding:10px!important}
.anwe-listings-section {border:1px solid #a6a5d339;border-radius:15px;background:#1c203c}
.anwe-listings-section>summary {display:flex;gap:9px;align-items:center;list-style:none;padding:14px;font-weight:850;font-size:13px;cursor:pointer}
.anwe-listings-section>summary .anwe-ico {color:#d9bfff}
.anwe-listings-section>summary>span {margin-left:auto}
.anwe-listings-section[open] .anwe-panel {border:0;background:none;box-shadow:none}
.anwe-offer-card {flex-wrap:wrap;min-height:80px}
.anwe-offer-card .anwe-price {margin-left:auto}
.anwe-buy-market .anwe-flow-heading {margin-bottom:10px}
.anwe [data-market-item][hidden],.anwe [data-shop-item][hidden] {display:none!important}

/* Trade is a picture: hand over / get back. Two equal visual buckets. */
.anwe-trade-invitations h3 {display:flex;align-items:center;gap:8px}
.anwe-trade-visual {display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:4px;align-items:stretch;margin:10px 0}
.anwe-trade-half {min-width:0;border-radius:16px;border:1px solid #ffffff24;padding:13px 9px;text-align:center;background:linear-gradient(155deg,#4b3045,#271d39)}
.anwe-trade-in {background:linear-gradient(145deg,#245c54,#183735)}
.anwe-trade-symbol {display:grid;place-items:center;margin:0 auto 8px;width:42px;height:42px;border:1px solid #ffffff3b;border-radius:13px;background:#ffffff22}
.anwe-trade-symbol .anwe-ico {width:26px;height:26px}
.anwe-trade-half>strong {font-size:10px;letter-spacing:.07em;white-space:normal}
.anwe-trade-cross {display:grid;place-items:center;z-index:2;margin:0 -8px;color:#e9ceff}
.anwe-trade-cross>.anwe-ico {background:#4f456b;border-radius:50%;padding:5px;width:35px;height:35px;transform:rotate(90deg)}
.anwe-trade-items {list-style:none;padding:7px 0 0!important;display:grid;gap:8px}
.anwe-trade-items li {display:grid;justify-items:center;gap:5px;text-align:center;font-size:11px;overflow-wrap:anywhere;min-height:65px}
.anwe-trade-items .anwe-picker-art {width:44px;height:44px}
.anwe-trade-empty {color:#bcc6d9}
.anwe-trade-empty>span {font-size:24px;opacity:.6}
.anwe-trade-pick {position:relative;display:flex!important;gap:11px!important;align-items:center;padding:9px;border:1px solid #767db05e;border-radius:14px;margin-bottom:7px;background:#191e37;color:#eeeaff!important;cursor:pointer}
.anwe-trade-pick input {accent-color:#a3e4c5;width:20px;height:20px}
.anwe-trade-pick strong {font-size:12px;min-width:0;overflow-wrap:anywhere}
.anwe-trade-pick .anwe-picker-art {width:41px;height:41px;font-size:24px}
.anwe-trade-pick-check {margin-left:auto;opacity:.2}
.anwe-trade-pick input:checked ~ .anwe-trade-pick-check {opacity:1;color:#9df0c8}

/* Native confirmation stays on top; visual shape and CTA make intent clear. */
.anwe-dialog {border-radius:23px;padding:23px;border:1px solid #f0c7ff82;background:radial-gradient(circle at 110% -10%,#8553a94a,transparent 63%),#181c36;box-shadow:0 20px 80px #000c}
.anwe-dialog strong {font-size:17px;font-weight:950;letter-spacing:-.015em}
.anwe-dialog p {font-size:14px;line-height:1.55}
.anwe-dialog button {min-height:52px!important}
.anwe-alert.success {border:1px solid #5ee3bb;color:#e5ffed;background:#164e3f;box-shadow:0 7px 23px #050c1640}

/* Game phone, small tablets, low vision and motor-access needs */
.anwe :is(button,summary,input,select):focus-visible {outline:3px solid #fff0bd!important;outline-offset:3px}
.anwe [hidden] {display:none!important}
.anwe button:disabled {opacity:.47;filter:saturate(.35);cursor:not-allowed}
.anwe .anwe-advanced {background:#171b35}
.anwe .anwe-note {line-height:1.5}
@media (max-width:460px) {
 .anwe {padding:10px;border-radius:14px}
 .anwe-head {padding:11px}
 .anwe .anwe-brand-mark {width:37px;height:37px}
 .anwe-top-wallet {padding:5px 8px;gap:5px}
 .anwe-top-wallet .anwe-ico {display:none}
 .anwe .anwe-tabs button {min-width:65px;min-height:68px;font-size:9px}
 .anwe .anwe-action-grid .anwe-action-tile {min-height:131px;padding:12px}
 .anwe-action-label strong {font-size:14px}
 .anwe-action-label small {font-size:9px}
 .anwe-wallet-scene,.anwe-convert-scene {padding:13px 11px}
 .anwe-wallet-grid .anwe-wallet-card {min-height:170px;padding:12px 10px}
 .anwe-wallet-card-copy strong {font-size:27px}
 .anwe-wallet-coin .anwe-coin {width:56px;height:56px;font-size:35px}
 .anwe-sale-picker {grid-template-columns:repeat(2,minmax(0,1fr))}
 .anwe-daily-scene {grid-template-columns:48px minmax(0,1fr);padding:12px;gap:10px}
 .anwe-daily-art {width:48px;height:48px}
 .anwe-daily-art .anwe-ico {width:28px;height:28px}
 .anwe-daily-scene .anwe-btn {grid-column:1/-1;justify-self:stretch}
 .anwe .anwe-grid {gap:8px}
 .anwe .anwe-product {padding:9px;min-height:243px}
 .anwe-product-stage {min-height:89px}
 .anwe .anwe-product-icon {width:70px;height:70px;font-size:43px}
 .anwe-stepper,.anwe-sale-price-row {grid-template-columns:49px minmax(0,1fr) 49px}
 .anwe-stepper>button,.anwe-sale-price-row>button {width:49px;height:52px}
}
@media (max-width:340px) {
 .anwe-wallet-grid {grid-template-columns:1fr}
 .anwe-wallet-grid .anwe-wallet-card {min-height:145px;display:grid;grid-template-columns:67px minmax(0,1fr);gap:12px;align-items:center}
 .anwe-wallet-card-copy strong {font-size:28px}
 .anwe .anwe-head {flex-direction:column;align-items:stretch}
 .anwe-top-wallet {align-self:flex-start}
}
@media (min-width:750px) {
 .anwe .anwe-action-grid {grid-template-columns:repeat(4,minmax(0,1fr))}
 .anwe .anwe-action-grid .anwe-action-tile {min-height:160px}
 .anwe .anwe-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
 .anwe-wallet-grid .anwe-wallet-card {min-height:230px;padding:21px}
 .anwe-wallet-card-copy strong {font-size:42px}
}
@media (prefers-reduced-motion:no-preference) {
 .anwe-coin {transition:transform .2s ease}
 .anwe-action-tile,.anwe-sale-picker>button {transition:transform .16s ease,border-color .16s ease,filter .16s ease}
 .anwe-action-tile:active,.anwe-sale-picker>button:active {transform:scale(.972)}
 .anwe-wallet-coin .anwe-coin {animation:anwe-coins-breathe 5s ease-in-out infinite}
 @keyframes anwe-coins-breathe {0%,100%{filter:brightness(1)}50%{filter:brightness(1.16)}}
}
@media (prefers-reduced-motion:reduce) {
 .anwe *, .anwe *::before, .anwe *::after {animation:none!important;transition:none!important}
}
