*{box-sizing:border-box}body{margin:0;background:#090914;color:#17142f;font-family:Inter,'Segoe UI',Arial,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}.phone{max-width:490px;min-height:100dvh;margin:auto;background:#f0f0f9;position:relative;padding-bottom:85px;box-shadow:0 0 70px #0005}header{height:76px;display:flex;align-items:center;gap:9px;padding:16px;background:#f0f0f9;position:sticky;top:0;z-index:4}.logo{background:none;color:#181433;font-weight:900;font-size:23px;white-space:nowrap}.logo:first-letter{color:#ffb319}.place{margin-left:auto;background:white;border-radius:25px;padding:10px 9px;color:#27223e;font-size:12px;max-width:160px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.balance{background:#191532;color:white;border-radius:25px;padding:11px;font-size:12px;white-space:nowrap}.balance:first-letter{color:#ffb319}main{padding:0 18px}h1{font-size:34px;letter-spacing:-1.4px;line-height:1.06;margin:12px 0}h2{font-size:20px;letter-spacing:-.5px}.hint{font-size:12px;color:#85819c;line-height:1.5}.onboard{min-height:calc(100dvh - 150px);padding:30px 8px 15px;background:radial-gradient(ellipse at 85% 65%,#633081 0%,transparent 55%),linear-gradient(155deg,#2926a2,#16142c 80%);color:white;border-radius:25px;display:flex;flex-direction:column}.onboard h1{margin-top:42px;font-size:38px}.onboard p{color:#c9c2e9;margin:4px 0 25px}.progress{display:flex;justify-content:end;gap:5px}.progress span{width:9px;height:8px;border-radius:10px;background:#ffffff55}.progress span:first-child{width:29px;background:white}.country-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.country-list button{background:#ffffff18;border:1px solid #ffffff22;color:white;border-radius:19px;padding:19px 8px;font-weight:700}.country-list button.active,.interest.active{outline:3px solid #ffb51d}.onboard .primary{margin-top:auto}.primary{width:100%;background:#ffb41e;color:#19142e;border-radius:28px;padding:17px;font-weight:800;font-size:16px}.primary:disabled{opacity:.45}.onboard select{width:100%;padding:18px;border-radius:17px;border:0}.interest-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.interest{height:135px;border-radius:21px;background:linear-gradient(135deg,#8d69eb,#39226e);color:white;text-align:left;padding:13px;display:flex;flex-direction:column;justify-content:space-between;font-weight:800;font-size:17px;overflow:hidden}.interest:nth-child(3n+2){background:linear-gradient(135deg,#ffc1aa,#a55a78)}.interest:nth-child(3n){background:linear-gradient(135deg,#83cde4,#4d49b2)}.interest img{width:85px;height:80px;object-fit:contain;align-self:end;filter:drop-shadow(0 6px 8px #0004)}.headline{margin:22px 0}.headline p{color:#85819c;font-size:13px}.search{display:flex;align-items:center;gap:3px;background:white;border-radius:26px;padding:6px;box-shadow:0 8px 24px #29225b0c}.search input{min-width:0;flex:1;border:0;outline:0;padding:11px 7px;background:none;font-size:14px}.search button{background:#f3f1fb;width:35px;height:38px;border-radius:15px;font-size:16px}.search #sendBtn{background:#3225cf;color:white}.quick{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:22px 0}.quick button{border-radius:20px;height:112px;background:linear-gradient(150deg,#e1d4ff,#9568ed);font-weight:800;color:#24134e;display:flex;flex-direction:column;justify-content:space-between;padding:14px;text-align:left}.quick button:nth-child(2){background:linear-gradient(140deg,#ffe0b4,#ff9f80)}.quick button:nth-child(3){background:linear-gradient(140deg,#b9f4e6,#70cbb5)}.quick span{font-size:31px}.section-head{display:flex;justify-content:space-between;align-items:center;margin-top:26px}.section-head button{background:none;color:#5b34d2;font-weight:700;font-size:13px}.categories{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.category{background:white;border-radius:19px;padding:9px 7px;min-height:125px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;font-weight:800;font-size:12px;box-shadow:0 7px 20px #3024590a}.category img{width:100%;height:88px;object-fit:contain;filter:drop-shadow(0 6px 6px #0002)}.map-preview{height:170px;border-radius:24px;background:linear-gradient(140deg,#3725a8,#7b3bc0);color:white;display:flex;flex-direction:column;align-items:flex-start;padding:18px;gap:6px;position:relative;overflow:hidden}.map-preview:after{content:'⌖';position:absolute;font-size:180px;right:12px;top:-28px;color:#ffffff1a}.map-preview span{font-size:27px}.map-preview strong{font-size:21px}.map-preview small{color:#ddd3fc}.map-preview button{margin-top:auto;border-radius:20px;padding:9px 15px;background:#ffb41e;font-weight:800}.products{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.product{background:white;border-radius:18px;padding:9px;text-align:left}.product img{width:100%;height:120px;object-fit:contain;background:#f1edfb;border-radius:14px}.product strong,.product small{display:block;margin:6px}.product small{color:#888}.page-head{display:flex;align-items:center;gap:12px}.back{background:white;border-radius:50%;width:43px;height:43px;font-size:27px}#mapFrame{width:100%;height:58vh;border:0;border-radius:22px;background:#e6e6ef}.consult-art{margin:25px auto;width:155px;height:155px;border-radius:50%;display:grid;place-items:center;font-size:76px;color:#ffb41e;background:radial-gradient(#2a1d65,#7448d3,#d3b4ff)}textarea{width:100%;border:1px solid #ddd9eb;border-radius:19px;padding:16px;resize:vertical;outline-color:#7349e0}.consult-actions{display:flex;gap:8px;margin:14px 0}.consult-actions button{flex:1;background:white;padding:12px 4px;border-radius:14px;font-size:13px}.attachments,.prompt-result{padding:12px;border-radius:15px;font-size:13px;line-height:1.5}.prompt-result{margin-top:15px;background:white;white-space:pre-wrap;overflow-wrap:anywhere}.wallet{margin:20px 0 8px;background:linear-gradient(125deg,#1c163c,#562d96,#2e2ccc);color:white;padding:27px;border-radius:26px;position:relative}.wallet small{color:#c9bee6}.wallet strong{font-size:62px}.wallet span{position:absolute;right:22px;top:24px;color:#ffb41e;font-size:30px}.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.plans button{display:flex;flex-direction:column;gap:14px;text-align:left;background:white;padding:16px 9px;border-radius:18px}.plans strong{font-size:31px}.plans small{font-size:11px}.plans span{font-weight:800;font-size:12px}.plans .featured{background:#4032e8;color:white}.pay{background:white;padding:18px;border-radius:16px;margin:9px 0;font-weight:700}.pay span{float:right;color:#888;font-size:12px}nav{position:fixed;bottom:12px;left:50%;transform:translateX(-50%);width:min(455px,calc(100% - 24px));display:flex;background:#1d193b;border-radius:35px;padding:7px;z-index:5;box-shadow:0 12px 25px #1b153744}nav button{flex:1;background:none;color:#c8c4d7;font-size:24px;display:flex;align-items:center;flex-direction:column;gap:2px;border-radius:24px;padding:6px}nav button small{font-size:10px}nav button.selected{background:#ffb41e;color:#1d193b}.toast{position:fixed;top:18px;left:50%;transform:translateX(-50%);background:#17142f;color:white;padding:12px 18px;border-radius:20px;display:none;z-index:10;max-width:90vw;font-size:13px}.toast.show{display:block}[hidden]{display:none!important}@media(min-width:650px){.phone{margin:24px auto;min-height:850px;border-radius:30px;overflow:hidden}nav{bottom:30px}}/* DPIA V4 · visual refresh: existing IDs and JavaScript behavior retained */
:root{--ink:#17132e;--violet:#5c30e9;--purple:#9d5ef5;--gold:#ffbb29;--mist:#f5f3fc}
body{background:radial-gradient(circle at 50% 0,#2a1b4c,#0b0913 65%);font-family:'Segoe UI',Inter,Arial,sans-serif}
.phone{background:#f7f6fc;box-shadow:0 30px 110px #0008}
header{background:#f7f6fce8;backdrop-filter:blur(18px);height:78px;padding:16px 20px;border-bottom:1px solid #eeeaf7}
.logo{font-size:25px;letter-spacing:-1.4px}.logo:first-letter{color:var(--gold)}
.place{border:1px solid #ece8f7;box-shadow:0 5px 20px #291e4a08;font-weight:650}
.balance{background:linear-gradient(115deg,#191436,#342271);box-shadow:0 5px 15px #20134530;font-weight:750}
main{padding:0 20px}h1{letter-spacing:-1.9px}h2{letter-spacing:-.75px}
#home{padding-bottom:25px}
.headline{margin:25px 0 21px}.headline h1{font-size:38px;line-height:1.09;margin:10px 0}.headline em{font-style:normal;background:linear-gradient(110deg,#562fe3,#aa56d8);background-clip:text;color:transparent}.headline p{font-size:13px;margin-top:10px}
.eyebrow{font-size:10px;letter-spacing:2px;font-weight:900;color:#7043df}
.search{padding:7px 8px 7px 14px;border-radius:24px;box-shadow:0 12px 34px #34236a16;border:1px solid #eee8fc}
.search input{font-size:14px}.search button{border-radius:13px;background:#f0eafa;color:#5b38aa;transition:transform .2s,background .2s}.search button:hover{transform:translateY(-3px);background:#e6d9ff}.search #sendBtn{background:linear-gradient(135deg,#623cf2,#ab5de6);box-shadow:0 5px 13px #6634db50}
.quick{gap:10px;margin:25px 0 30px}.quick button{height:159px;position:relative;overflow:hidden;border-radius:24px;padding:14px;color:#24144c;isolation:isolate;box-shadow:0 12px 25px #2516541b;transition:transform .22s,box-shadow .22s}
.quick button:hover,.category:hover,.product:hover,.interest:hover{transform:translateY(-4px);box-shadow:0 17px 30px #2413542b}
.quick button:first-child{background:linear-gradient(135deg,#ede3ff 4%,#bba3ff 80%)}.quick button:nth-child(2){background:linear-gradient(135deg,#fff0df,#ffcaad)}.quick button:nth-child(3){background:linear-gradient(135deg,#d9fff4,#8cdbce)}
.quick .quick-icon{font-size:20px;font-weight:900;align-self:start;z-index:2}.quick .quick-label{font-size:13px;font-weight:900;z-index:2;display:flex;align-items:center;justify-content:space-between;width:100%;letter-spacing:-.4px}.quick .quick-label b{font-size:17px}.quick img{position:absolute;width:120px;height:120px;object-fit:contain;right:-18px;top:14px;filter:drop-shadow(0 15px 13px #2517444a);transform:rotate(-12deg);z-index:1}.quick button:nth-child(2) img{width:106px;height:106px;right:-10px;top:26px;transform:rotate(10deg)}.quick button:nth-child(3) img{width:120px;height:120px;right:-20px;top:20px}
.section-head{margin:25px 0 13px}.section-head h2{font-size:20px;margin:0}.section-head button{font-size:12px;color:#6b3edc}
.categories{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding:3px 2px 15px;margin-right:-20px;scrollbar-width:none}.categories::-webkit-scrollbar,.products::-webkit-scrollbar{display:none}
.category{flex:0 0 116px;scroll-snap-align:start;min-height:142px;border-radius:22px;background:linear-gradient(145deg,#fff,#f0eaff);border:1px solid white;box-shadow:0 10px 22px #3e276418;transition:transform .22s,box-shadow .22s;padding:9px 8px 13px;gap:5px}
.category:nth-child(4n+2){background:linear-gradient(145deg,#fff,#ffe8ef)}.category:nth-child(4n+3){background:linear-gradient(145deg,#fff,#e8f2ff)}.category:nth-child(4n){background:linear-gradient(145deg,#fff,#e5f8ee)}
.category img{height:100px;width:100%;filter:drop-shadow(0 10px 9px #33294b30);transition:transform .3s}.category:hover img{transform:scale(1.08) rotate(-3deg)}.category span{font-size:12px;letter-spacing:-.2px}
.map-preview{height:170px;background:radial-gradient(circle at 85% 30%,#aa78ef80,transparent 36%),linear-gradient(120deg,#26166a,#6731c9 68%,#ab68e7);border-radius:26px;padding:22px;box-shadow:0 15px 30px #321d8c38}.map-preview:after{content:'';position:absolute;width:230px;height:230px;border:1px solid #ffffff30;border-radius:50%;right:-55px;top:-35px}.map-preview:before{content:'';position:absolute;width:150px;height:150px;border:1px solid #ffffff25;border-radius:50%;right:-14px;top:5px}.map-preview .map-orb{position:absolute;right:50px;top:45px;font-size:75px;color:#ffbe3a;text-shadow:0 8px 24px #130a5b}.map-preview .map-kicker{font-size:10px;font-weight:800;letter-spacing:2px;color:#d9cbff}.map-preview strong{font-size:26px;letter-spacing:-1px}.map-preview small{font-size:12px}.map-preview button{background:white;color:#4e27b7;padding:9px 16px;font-size:12px;z-index:2}
.products{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin:14px -20px 22px 0;padding:2px 3px 18px;scrollbar-width:none}.product{flex:0 0 174px;scroll-snap-align:start;border-radius:23px;padding:9px;box-shadow:0 9px 25px #3a28691b;transition:transform .2s,box-shadow .2s;border:1px solid #f2eefd}.product-photo{height:146px;position:relative;background:linear-gradient(135deg,#eae2ff,#f8e7f8);border-radius:17px;overflow:hidden}.product:nth-child(3n+2) .product-photo{background:linear-gradient(135deg,#e4e5ff,#f0e9ff)}.product:nth-child(3n) .product-photo{background:linear-gradient(135deg,#fff0e9,#f4d5ef)}.product-photo img{height:100%;width:100%;object-fit:contain;background:none;filter:drop-shadow(0 12px 10px #22183d35)}.product-heart{position:absolute;right:9px;top:4px;font-size:26px;color:#7139df}.product strong{font-size:13px;margin:11px 6px 5px}.product small{font-size:14px;font-weight:900;color:#35235e;margin:0 6px 9px}
.onboard{padding:25px 22px 20px;margin:8px -6px 0;border-radius:30px;min-height:calc(100dvh - 176px);background:radial-gradient(circle at 90% 15%,#ab4dd177,transparent 50%),radial-gradient(circle at 0% 90%,#4d3bd977,transparent 45%),linear-gradient(160deg,#352bb0,#18132f 82%);box-shadow:inset 0 0 80px #11104a55}
.onboard-spark{font-size:54px;color:#ffbb29;margin-top:35px;text-shadow:0 8px 25px #f4a40077}.onboard h1{margin-top:10px;font-size:40px}.onboard p{font-size:14px}.country-list{gap:12px}.country-list button{padding:20px 10px;background:#ffffff20;backdrop-filter:blur(8px);border:1px solid #ffffff2e;border-radius:22px;box-shadow:0 10px 25px #0d0a3a30;transition:transform .2s}.country-list button:hover{transform:translateY(-3px)}.country-list button.active{background:#ffffff37}
.interest-grid{gap:12px}.interest{height:170px;border-radius:24px;position:relative;justify-content:end;padding:14px;box-shadow:0 12px 24px #100a3c30;transition:transform .2s}.interest img{position:absolute;width:130px;height:135px;right:3px;top:0;object-fit:contain;filter:drop-shadow(0 12px 12px #140b383f)}.interest span{z-index:2;text-shadow:0 2px 8px #130b4366}.interest-check{position:absolute;right:10px;top:10px;border-radius:50%;background:#ffffff66;color:#2a1d60;width:28px;height:28px;display:grid;place-items:center;font-style:normal;font-weight:900}.interest.active .interest-check{background:#ffb71f}.interest:nth-child(3n+1){background:linear-gradient(155deg,#e6a7ff,#7031c7 68%,#29154c)}.interest:nth-child(3n+2){background:linear-gradient(155deg,#ffd9c1,#c37c92 65%,#4b2c50)}.interest:nth-child(3n){background:linear-gradient(155deg,#a4bcff,#655de7 65%,#252070)}
.onboard .primary{background:white;color:#211634;box-shadow:0 10px 25px #0004}.primary{background:linear-gradient(105deg,#5434ee,#9c4af3,#ff4789);color:white;box-shadow:0 10px 20px #7538d644}
#mapPage,#consultPage,#creditsPage{padding-top:15px}.page-head h2{font-size:25px}.back{box-shadow:0 5px 14px #23164a15}
.consult-art{background:radial-gradient(circle,#221548 20%,#7841d8 55%,#e2c9ff 75%,transparent 76%);box-shadow:0 0 35px #a35fea50}.consult-art span{animation:glow 2.8s ease-in-out infinite}@keyframes glow{50%{transform:scale(1.15);filter:brightness(1.3)}}
.wallet{box-shadow:0 17px 32px #32207135;background:radial-gradient(circle at 80% 25%,#493cde,transparent 55%),linear-gradient(135deg,#191333,#592c9c)}.plans button{box-shadow:0 10px 20px #24164e15}.plans .featured{background:linear-gradient(135deg,#4437ef,#6b3bec)}.pay{box-shadow:0 8px 18px #26164a10}
nav{box-shadow:0 13px 35px #100a3960;background:#1c163b;max-width:440px}nav button.selected{background:linear-gradient(120deg,#ffc846,#ffad15)}
@media(min-width:650px){.phone{max-width:490px;border-radius:32px}.onboard{min-height:710px}nav{bottom:30px}}
@media(max-width:375px){.quick button{height:145px;padding:10px}.quick .quick-label{font-size:11px}.search button{width:31px}.headline h1{font-size:33px}}


/* V5: responsive desktop/tablet layout; mobile design remains unchanged. */
@media (min-width: 760px) {
  body {background:#f7f6fc;}
  .phone {max-width:none; width:100%; min-height:100vh; margin:0; border-radius:0; overflow:visible; padding-bottom:45px; box-shadow:none;}
  header {height:82px; padding:14px max(32px, calc((100vw - 1420px)/2)); gap:18px; background:#ffffffeb; border-bottom:1px solid #eae5f4;}
  header .logo {font-size:29px;}
  header .place {margin-left:auto; max-width:none; padding:12px 18px; font-size:14px;}
  header .balance {font-size:14px; padding:12px 19px;}
  main {width:min(100% - 64px, 1360px); margin:0 auto; padding:0 0 35px;}
  #home {padding-bottom:25px;}
  .headline {margin:55px 0 28px;}
  .headline h1 {font-size:clamp(45px,5.1vw,76px); line-height:1.04; letter-spacing:-3px;}
  .headline p {font-size:17px;}
  .eyebrow {font-size:12px;}
  .search {width:min(100%,900px); min-height:72px; padding:10px 12px 10px 25px; border-radius:27px;}
  .search input {font-size:18px;}
  .search button {width:48px; height:48px; font-size:21px; border-radius:16px;}
  .quick {grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; margin:38px 0 48px;}
  .quick button {height:clamp(205px,20vw,280px); padding:26px; border-radius:30px;}
  .quick .quick-icon {font-size:29px;}
  .quick .quick-label {font-size:clamp(20px,2.1vw,29px);}
  .quick .quick-label b {font-size:28px;}
  .quick img {width:70%;height:85%;right:-2%;top:7%;object-fit:contain;}
  .quick button:nth-child(2) img,.quick button:nth-child(3) img {width:65%;height:80%;right:0;top:8%;}
  .section-head {margin:42px 0 20px;}
  .section-head h2 {font-size:29px;}
  .section-head button {font-size:15px;}
  .categories {display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; overflow:visible; margin:0; padding:0;}
  .category {min-width:0; min-height:200px; border-radius:26px; padding:15px 15px 18px;}
  .category img {height:155px; width:100%;}
  .category span {font-size:17px;}
  .map-preview {height:250px; padding:35px 42px; border-radius:30px;}
  .map-preview strong {font-size:40px;}
  .map-preview small {font-size:16px;}
  .map-preview button {padding:12px 20px; font-size:15px;}
  .map-preview .map-orb {right:16%;top:30px;font-size:115px;}
  .products {display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; overflow:visible; margin:22px 0 0; padding:0;}
  .product {min-width:0; border-radius:25px; padding:13px;}
  .product-photo {height:clamp(170px,17vw,255px); border-radius:20px;}
  .product strong {font-size:17px;}
  .product small {font-size:17px;}
  nav {position:absolute; top:18px; bottom:auto; left:50%; transform:translateX(-50%); width:auto; max-width:none; min-width:430px; height:48px; padding:4px; border-radius:28px; box-shadow:none; background:#211a43;}
  nav button {min-width:100px; flex:0 0 auto; flex-direction:row; justify-content:center; gap:7px; padding:7px 13px; font-size:17px;}
  nav button small {font-size:12px;}
  .onboard {width:min(100%,760px); margin:38px auto 30px; min-height:690px; padding:45px 48px 35px; border-radius:35px;}
  .onboard h1 {font-size:52px;}
  .onboard p {font-size:18px;}
  .country-list {grid-template-columns:repeat(3,minmax(0,1fr));}
  .country-list button {font-size:16px;}
  .interest-grid {grid-template-columns:repeat(3,minmax(0,1fr));}
  .interest {height:175px;}
  #mapPage,#consultPage,#creditsPage {padding-top:40px; max-width:1100px; margin:0 auto;}
  #mapPage .page-head h2,#consultPage .page-head h2,#creditsPage .page-head h2 {font-size:36px;}
  #mapFrame {min-height:540px; width:100%; border-radius:25px;}
  #consultPage textarea {width:100%;}
  #creditsPage .wallet {min-height:245px;}
  #creditsPage .plans {gap:20px;}
  #creditsPage .plans button {padding:28px;}
  .toast {top:95px;}
}
@media (min-width:760px) and (max-width:1120px) {
  header {padding-left:26px; padding-right:26px;}
  header .logo {font-size:24px;}
  nav {top:89px; position:absolute;}
  .phone {padding-top:60px;}
  main {width:calc(100% - 52px);}
  .categories,.products {grid-template-columns:repeat(3,minmax(0,1fr));}
  .quick button {height:205px;padding:18px;}
  .quick .quick-label {font-size:20px;}
}
@media (max-width:759px) {
  /* On phones, preserve the original bottom navigation and card carousels. */
  .phone {width:100%;}
}

/* V6 — light / dark. Dark palette modeled after the deep-violet reference. */
.theme-toggle,.user-button{flex-shrink:0;border-radius:20px;padding:10px 13px;background:#eae4fa;color:#29204b;font-weight:750}
.user-button{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.theme-toggle{font-size:18px;min-width:42px}
.auth-overlay{position:fixed;inset:0;z-index:100;background:#080619b9;display:grid;place-items:center;padding:20px;backdrop-filter:blur(10px)}
.auth-dialog{position:relative;width:min(100%,410px);padding:45px 28px 30px;border-radius:32px;background:#f8f6ff;color:#17132e;text-align:center;box-shadow:0 30px 90px #08021b99}
.auth-dialog h2{font-size:26px;margin:16px 0 8px}.auth-dialog p{color:#77708f;line-height:1.5}
.auth-mark{margin:auto;display:grid;place-items:center;width:78px;height:78px;background:linear-gradient(135deg,#21143f,#5632a4);border-radius:24px;color:#ffc13a;font-size:45px;box-shadow:0 16px 35px #4c20a450}
.auth-close{position:absolute;right:18px;top:12px;font-size:30px;color:inherit;background:transparent}
#googleSignIn{display:flex;justify-content:center;min-height:44px;margin:25px 0 12px}
.auth-help{font-size:12px}
html[data-theme="dark"]{color-scheme:dark}
html[data-theme="dark"] body{background:#080615;color:#f7f2ff}
html[data-theme="dark"] .phone{background:radial-gradient(ellipse at 87% 12%,#39216a70,transparent 36%),linear-gradient(145deg,#16102c,#100d22 60%,#18102e);color:#f8f4ff;box-shadow:none}
html[data-theme="dark"] header{background:#17112be8;border-bottom:1px solid #ffffff16}
html[data-theme="dark"] .logo{color:#fff}
html[data-theme="dark"] .place,html[data-theme="dark"] .theme-toggle,html[data-theme="dark"] .user-button{background:#30234d;color:#f9f4ff;border:1px solid #ffffff1a}
html[data-theme="dark"] .balance{background:#362066;color:#fff;border:1px solid #9a73ed44}
html[data-theme="dark"] .headline h1{color:#fff}
html[data-theme="dark"] .headline em{background:linear-gradient(105deg,#a891ff,#f0a7ff);background-clip:text;color:transparent}
html[data-theme="dark"] .headline p,html[data-theme="dark"] .hint{color:#b8aecf}
html[data-theme="dark"] .eyebrow{color:#c2a2ff}
html[data-theme="dark"] .search{background:#291d46;border:1px solid #8f70c33c;box-shadow:0 15px 35px #0005}
html[data-theme="dark"] .search input{color:#fff}
html[data-theme="dark"] .search input::placeholder{color:#b4a6cb}
html[data-theme="dark"] .search button{background:#443065;color:#f7edff}
html[data-theme="dark"] .search #sendBtn{background:linear-gradient(135deg,#7861ff,#bd71e7)}
html[data-theme="dark"] .quick button{color:#fff;border:1px solid #ffffff20;box-shadow:0 22px 45px #0006}
html[data-theme="dark"] .quick button:first-child{background:radial-gradient(circle at 80% 18%,#7a55bf,transparent 62%),linear-gradient(140deg,#21183f,#422b75)}
html[data-theme="dark"] .quick button:nth-child(2){background:radial-gradient(circle at 80% 20%,#8542a8,transparent 65%),linear-gradient(135deg,#21163c,#4e2675)}
html[data-theme="dark"] .quick button:nth-child(3){background:radial-gradient(circle at 80% 20%,#4b4b9f,transparent 62%),linear-gradient(135deg,#1d183b,#343077)}
html[data-theme="dark"] .category{background:linear-gradient(145deg,#352456,#211834);border:1px solid #ffffff18;color:#fff;box-shadow:0 15px 35px #0005}
html[data-theme="dark"] .category:nth-child(4n+2){background:linear-gradient(145deg,#3e2554,#24152e)}
html[data-theme="dark"] .category:nth-child(4n+3){background:linear-gradient(145deg,#2c315b,#191a37)}
html[data-theme="dark"] .category:nth-child(4n){background:linear-gradient(145deg,#293a53,#19243b)}
html[data-theme="dark"] .section-head button{color:#c9a9ff}
html[data-theme="dark"] .product{background:#251b3d;color:#fff;border:1px solid #ffffff17;box-shadow:0 14px 30px #0005}
html[data-theme="dark"] .product-photo{background:linear-gradient(140deg,#47316d,#251a3c)}
html[data-theme="dark"] .product small{color:#f5edff}
html[data-theme="dark"] .map-preview{background:radial-gradient(circle at 85% 25%,#8251c9,transparent 40%),linear-gradient(120deg,#1c1439,#4c267a)}
html[data-theme="dark"] #consultPage textarea,html[data-theme="dark"] #consultPage input,html[data-theme="dark"] .consult-actions button{background:#302346;color:#fff;border-color:#ffffff22}
html[data-theme="dark"] .plans button{background:#302247;color:#fff}
html[data-theme="dark"] .plans .featured{background:linear-gradient(135deg,#4a38d4,#7235d8)}
html[data-theme="dark"] .pay,html[data-theme="dark"] .prompt-result{background:#302247;color:#f7f0ff}
html[data-theme="dark"] .wallet{background:radial-gradient(circle at 78% 18%,#5632c5,transparent 55%),linear-gradient(125deg,#191331,#4c237b)}
html[data-theme="dark"] nav{background:#211736;border:1px solid #ffffff1c}
html[data-theme="dark"] .auth-dialog{background:#211735;color:#fff}
html[data-theme="dark"] .auth-dialog p{color:#c1b4d5}
@media(min-width:760px){
 html[data-theme="dark"] body{background:#100b20}
 html[data-theme="dark"] header{background:#19132cf0}
 html[data-theme="dark"] .phone{background:radial-gradient(circle at 82% 0,#3920686e,transparent 40%),#120d23}
}
@media(max-width:759px){header{gap:5px;padding:10px 9px}.user-button{max-width:95px;font-size:10px;padding:9px 7px}.theme-toggle{padding:8px;min-width:33px}.logo{font-size:20px}.place{max-width:92px;font-size:10px}.balance{padding:9px 6px;font-size:10px}}

/* Official DPIA identity and language selection */
.logo{display:flex;align-items:center;justify-content:flex-start;min-width:100px;max-width:145px;padding:2px 0!important;background:transparent!important;border:0!important}
.logo img{width:100%;max-width:145px;height:37px;object-fit:contain;object-position:left center}
.logo .brand-dark{display:none}
html[data-theme="dark"] .logo .brand-light{display:none}
html[data-theme="dark"] .logo .brand-dark{display:block}
.lang-control{display:flex;align-items:center;background:#ece5fa;border:1px solid #d8d0ef;border-radius:22px;padding:0 8px;flex-shrink:0}
.lang-control select{font:inherit;font-weight:750;font-size:12px;background:transparent;border:0;color:#30234b;min-width:43px;height:36px;cursor:pointer;outline:0}
html[data-theme="dark"] .lang-control{background:#30234d;border-color:#ffffff25}
html[data-theme="dark"] .lang-control select{color:#fff}
html[data-theme="dark"] .lang-control option{background:#30234d;color:#fff}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:759px){.logo{min-width:62px;max-width:86px}.logo img{height:28px}.lang-control{padding:0 2px}.lang-control select{font-size:10px;min-width:36px;height:32px}}

/* V8: official branding in every former four-point-star location */
.dpia-symbol{display:inline-block;width:1em;height:1em;object-fit:contain;vertical-align:middle;flex-shrink:0}
.onboard-spark .dpia-symbol{width:70px;height:70px;filter:drop-shadow(0 8px 18px #130c3970)}
.auth-mark .dpia-symbol{width:53px;height:53px;filter:drop-shadow(0 4px 9px #100c3050)}
.consult-art .dpia-symbol{width:104px;height:104px;filter:drop-shadow(0 12px 22px #09051d70)}
.eyebrow .dpia-symbol{width:17px;height:17px;margin-right:6px}
.quick-icon .dpia-symbol{width:26px;height:26px}
.balance .dpia-symbol{width:16px;height:16px;margin-right:4px}
.wallet .wallet-brand{position:absolute;right:22px;top:24px;font-size:30px}
.wallet .wallet-brand .dpia-symbol{width:34px;height:34px}
.page-brand{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;width:110px;height:44px}
.page-brand img{max-width:110px;width:100%;height:38px;object-fit:contain;object-position:right center}
.page-brand .brand-dark{display:none}
html[data-theme="dark"] .page-brand .brand-light{display:none}
html[data-theme="dark"] .page-brand .brand-dark{display:block}
/* Fix back navigation contrast in dark mode, including hover/focus */
.back{display:inline-flex;align-items:center;justify-content:center;flex:0 0 43px;min-width:43px;min-height:43px;color:#241a40;background:#fff;border:1px solid #ddd4ed;font-weight:700;line-height:1;cursor:pointer}
html[data-theme="dark"] .back{color:#fff!important;background:#3b2b5d!important;border:1px solid #a78ce166!important;box-shadow:0 3px 14px #0004}
html[data-theme="dark"] .back:hover,html[data-theme="dark"] .back:focus-visible{background:#5d4287!important;outline:2px solid #bd9aff;outline-offset:2px}
.back:hover,.back:focus-visible{background:#e9ddff;outline:2px solid #6544bc;outline-offset:2px}
@media(max-width:520px){.page-brand{width:75px}.page-brand img{max-width:75px}}

/* V10: persistent bottom navigation on desktop, tablet and mobile. */
@media (min-width:760px) {
  .phone {padding-top:0; padding-bottom:110px;}
  header {padding-bottom:14px;}
  nav, html[data-theme="dark"] nav {
    position:fixed;
    top:auto;
    bottom:20px;
    left:50%;
    transform:translateX(-50%);
    width:min(470px,calc(100vw - 32px));
    min-width:0;
    max-width:470px;
    height:auto;
    padding:7px;
    border-radius:35px;
    display:flex;
    box-shadow:0 12px 35px #100a3960;
    z-index:30;
  }
  nav button {flex:1 1 0;min-width:0;flex-direction:column;gap:3px;padding:7px 5px;font-size:22px;}
  nav button small {font-size:11px;}
  #mapPage,#consultPage,#creditsPage {padding-bottom:85px;}
}
@media (min-width:760px) and (max-width:1120px) {
  .phone {padding-top:0;}
  nav {top:auto;bottom:20px;position:fixed;}
}

/* V11 — credit usage meter, visible in both themes and all viewports */
.wallet .credit-usage{margin-top:25px;padding:18px 18px 14px;border-radius:19px;background:#ffffff12;border:1px solid #ffffff26;position:relative;z-index:1;backdrop-filter:blur(5px)}
.wallet .credit-usage span{position:static;display:inline;color:#f5edff;font-size:12px}
.wallet .credit-usage-heading,.wallet .credit-usage-foot{display:flex;align-items:center;justify-content:space-between;gap:12px}
.wallet .credit-usage-heading span{font-size:14px;font-weight:700}
.wallet .credit-usage-heading strong{font-size:19px;letter-spacing:-.4px}
.wallet .credit-usage-foot{margin-top:10px}
.wallet .credit-usage-foot span{font-size:11px;color:#d6c9ee}
.credit-meter{height:16px;margin-top:12px;border-radius:999px;background:#ffffff2a;position:relative;overflow:hidden;box-shadow:inset 0 2px 5px #09031845}
.credit-meter-fill{height:100%;width:0%;background:#30d49a;border-radius:999px;transition:width .5s ease,background-color .3s ease;box-shadow:0 0 14px #ffffff38}
.credit-meter-marks{position:absolute;inset:0;display:flex;justify-content:space-evenly;pointer-events:none}
.credit-meter-marks i{height:100%;width:1px;background:#ffffff45}
.credit-legend{display:flex;justify-content:space-between;gap:8px;margin-top:14px}
.wallet .credit-legend span{display:flex;align-items:center;gap:5px;font-size:11px;color:#e6dafa}
.credit-legend i{width:9px;height:9px;border-radius:50%;display:inline-block;flex-shrink:0}
.legend-green{background:#30d49a}.legend-orange{background:#ffaf35}.legend-red{background:#ff5668}
.credit-legend b{font-weight:600}
.credit-demo-actions{display:flex;gap:10px;margin:14px 0 20px;flex-wrap:wrap}
.credit-demo-actions button,.credit-demo-topup{border-radius:14px;padding:12px 15px;font-size:12px;font-weight:750;background:#ece4ff;color:#3b2076;border:1px solid #9d7bdf4d}
.credit-demo-actions button:first-child{background:#332261;color:white}
.credit-demo-actions button:disabled{opacity:.5;cursor:not-allowed}
.credit-demo-topup{width:100%;background:linear-gradient(115deg,#5d36e9,#ae57d7);color:white;margin:10px 0 22px}
html[data-theme="dark"] .credit-demo-actions button{background:#35254f;color:#f5e9ff;border-color:#ffffff1d}
html[data-theme="dark"] .credit-demo-actions button:first-child{background:#5036a2}
html[data-theme="dark"] .credit-demo-topup{background:linear-gradient(115deg,#5d36e9,#ae57d7);color:#fff}
@media(max-width:520px){.wallet .credit-usage{padding:15px 12px}.credit-demo-actions button{flex:1;padding:12px 8px}}

/* V12: free/paid credit balances and premium comparison */
.credit-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0}.credit-stat{background:var(--card,#ffffff);border:1px solid #8c74c12c;border-radius:17px;padding:18px;display:flex;flex-direction:column;gap:8px;color:var(--ink,#231a38)}.credit-stat>span{font-size:12px;font-weight:800;color:#7854c7}.credit-stat strong{font-size:32px;line-height:1.1}.credit-stat small{font-size:11px;color:#8b809e}.upgrade-cta{width:100%;border:0;border-radius:16px;padding:18px 20px;background:linear-gradient(110deg,#5c35ed,#a543ec);color:white;font-weight:800;font-size:17px;text-align:left;display:flex;justify-content:space-between;gap:10px;margin:18px 0}.upgrade-cta span{font-size:12px;align-self:center}.upgrade-overlay[hidden]{display:none!important}.upgrade-overlay{position:fixed;inset:0;background:#09051dbb;backdrop-filter:blur(9px);z-index:100;display:flex;align-items:center;justify-content:center;padding:18px}.upgrade-dialog{width:min(880px,100%);background:#fcfaff;color:#201935;border-radius:24px;box-shadow:0 25px 80px #0502169c;overflow:auto;max-height:92vh}.upgrade-header{display:flex;align-items:start;justify-content:space-between;padding:27px 30px 20px;border-bottom:1px solid #e9e3f2}.upgrade-header h2{font-size:28px;margin:5px 0}.upgrade-header p{color:#776d89;margin:0;font-size:13px}.upgrade-kicker{color:#7741df;font-size:11px;letter-spacing:2px;font-weight:900}.upgrade-header button{border:0;background:#f0eafb;border-radius:50%;width:36px;height:36px;font-size:24px;color:#33234d}.upgrade-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding:38px 25px 20px}.upgrade-plan{position:relative;min-width:0;min-height:225px;border:1px solid #ddd4ed;background:white;color:#241d39;border-radius:16px;padding:23px 15px;text-align:left;display:flex;flex-direction:column;gap:14px;cursor:pointer}.upgrade-plan.active{border:2px solid #8950e7;background:#f7f1ff;box-shadow:0 8px 22px #7541df22}.upgrade-plan>span:not(.upgrade-tag){font-size:12px;font-weight:700}.upgrade-plan strong{font-size:34px;white-space:nowrap}.upgrade-plan strong small{font-size:13px}.upgrade-plan b{font-size:17px}.upgrade-plan>span:last-child{color:#7c718b;font-weight:400}.upgrade-tag{position:absolute;top:-12px;left:12px;border-radius:20px;background:#ffae23;color:#241a3a;font-size:10px;font-weight:900;padding:6px 9px}.upgrade-tag.green{background:#36d1a1}.upgrade-note{text-align:center;font-size:12px;color:#746b82;padding:0 20px}.upgrade-action{display:block;width:calc(100% - 50px);margin:16px 25px 5px;padding:17px;border:0;border-radius:12px;background:linear-gradient(100deg,#6439ed,#ab4ce7);color:white;font-weight:800}.upgrade-foot{text-align:center;color:#81768e;font-size:11px;margin:12px 20px 24px}html[data-theme="dark"] .credit-stat{background:#2c2047;color:#fff;border-color:#554272}html[data-theme="dark"] .credit-stat small{color:#d2c2e4}@media(max-width:600px){.upgrade-plans{grid-template-columns:1fr;padding:24px 16px 12px}.upgrade-plan{min-height:0;gap:7px;padding:17px}.upgrade-header{padding:20px}.upgrade-header h2{font-size:23px}.upgrade-action{width:calc(100% - 32px);margin:12px 16px}.credit-breakdown{gap:8px}.credit-stat{padding:12px}.credit-stat strong{font-size:27px}}
