/* Tema "Retrô" (somente cores), GERADO por app/scripts/gerar-tema-retro.mjs a partir do kit Light aprovado. Não editar à mão. */
[data-theme=retro]{
  --page-bg:#CDC8B5; --bg:#D4CFBD;
  --text:#1D1E22; --text-2:#585660; --text-3:#6E6C72;
  --blue:#8A235D; --blue-soft:#B25586; --lav:#BDB9C0; --mint:#B8C4A8; --coral:#E7A5BF; --butter:#E6D98F;
  --ink:#3A3E42; --ink-2:#1D1E22;
  --font-ui:'Inter',-apple-system,BlinkMacSystemFont,'SF Pro Text','Segoe UI',system-ui,sans-serif;
  --line:rgba(29,30,34,.10); --focus:#8A235D;
  --scrim:linear-gradient(180deg,rgba(40,38,44,.28),rgba(40,38,44,.52));
  --smoke:rgba(90,80,60,.35);
}
[data-theme=retro]{font-weight:300;font-feature-settings:"tnum" 1,"cv11" 1}
[data-theme=retro] .app{background:radial-gradient(90% 26% at 12% -6%,rgba(217,208,184,.95),transparent 70%),radial-gradient(60% 22% at 105% 14%,rgba(214,208,217,.35),transparent 70%),linear-gradient(180deg,#D1C8AE 0%,#CFC6AC 45%,#CDC3A7 100%)}
[data-theme=retro] .ambient{position:absolute;left:0;right:0;bottom:0;height:340px;z-index:0;pointer-events:none;background:radial-gradient(64% 70% at 50% 100%,rgba(64,56,40,.5),transparent 72%)}
[data-theme=retro] .page>*{position:relative;z-index:1}
[data-theme=retro] .fade{position:absolute;left:0;right:0;bottom:0;height:160px;z-index:10;pointer-events:none;background:linear-gradient(180deg,rgba(205,195,167,0),rgba(205,195,167,.94) 72%)}
[data-theme=retro] .card{position:relative;border-radius:34px;overflow:hidden;
  background:linear-gradient(180deg,rgba(217,208,184,.96),rgba(211,202,178,.9));
  box-shadow:inset 0 1px 0 #D9D0B8,inset 0 0 0 1px rgba(217,208,184,.9),0 0 0 1px rgba(31,31,34,.055),0 22px 34px -20px rgba(64,56,40,.28),0 4px 10px -4px rgba(64,56,40,.08)}
[data-theme=retro] .card>*{position:relative;z-index:1}
[data-theme=retro] .card::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:radial-gradient(80% 50% at 6% -8%,rgba(217,208,184,.9),transparent 60%)}
[data-theme=retro] .card .gl{position:absolute;z-index:0;pointer-events:none;border-radius:50%;background:radial-gradient(closest-side,rgba(64,56,40,0.13),rgba(64,56,40,0.04) 60%,transparent)}
[data-theme=retro] .circ{position:relative;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;flex:none;color:#74716C;
  background:linear-gradient(180deg,#D9D0B8,#CEC4AA);
  box-shadow:inset 0 1px 0 #D9D0B8,0 0 0 1px rgba(31,31,34,.07),0 8px 14px -6px rgba(64,56,40,.28)}
[data-theme=retro] .circ .ico{width:21px;height:21px;stroke-width:1.6}
[data-theme=retro] .btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:9px;height:54px;padding:0 24px;border-radius:99px;font-size:18px;font-weight:300;letter-spacing:-.01em;color:var(--text);white-space:nowrap;
  background:linear-gradient(180deg,#D9D0B8,#CFC5AB);
  box-shadow:inset 0 1px 0 #D9D0B8,0 0 0 1px rgba(31,31,34,.08),0 8px 14px -6px rgba(64,56,40,.25)}
[data-theme=retro] .btn .ico{width:20px;height:20px;stroke-width:1.6}
[data-theme=retro] .btn.white{color:#D2C9B0;font-weight:400;background:linear-gradient(180deg,#A53C78 0%,#8A235D 55%,#6B1648 100%);
  box-shadow:inset 0 1px 0 rgba(217,208,184,.22),inset 0 -2px 5px rgba(0,0,0,.3),0 12px 24px -8px rgba(64,56,40,0.26),0 3px 8px rgba(43,44,49,0.10)}
[data-theme=retro] .top{display:flex;align-items:center;justify-content:space-between;height:54px}
[data-theme=retro] .avatar .ico{width:22px;height:22px}
[data-theme=retro] .monthpill{display:inline-flex;align-items:center;height:40px;padding:0 20px;border-radius:99px;font-size:15.5px;font-weight:300;color:#3B3C43;
  background:linear-gradient(180deg,#D9D0B8,#CFC5AB);box-shadow:inset 0 1px 0 #D9D0B8,0 0 0 1px rgba(31,31,34,.07),0 6px 12px -6px rgba(64,56,40,.2)}
[data-theme=retro] .bell i{position:absolute;top:11px;right:12px;width:7px;height:7px;border-radius:50%;background:var(--blue);box-shadow:0 0 0 2px #D9D0B8,0 0 8px 2px rgba(64,56,40,.9)}
[data-theme=retro] .eyebrow{font-size:13.5px;font-weight:400;letter-spacing:.02em;text-transform:uppercase;color:var(--text-2)}
[data-theme=retro] .cur,[data-theme=retro] .dec{color:inherit}
[data-theme=retro] .big,[data-theme=retro] .num{font-variant-numeric:lining-nums proportional-nums}
[data-theme=retro] .hero{margin-top:2px;padding:20px 20px 20px}
[data-theme=retro] .numrow{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 14px}
[data-theme=retro] .big{font-size:44px;line-height:1;font-weight:300;letter-spacing:-.035em;color:var(--text);white-space:nowrap}
[data-theme=retro] .big .cur{margin-right:7px}
[data-theme=retro] .rail{position:relative;height:5px;border-radius:99px;background:rgba(31,31,34,.09);box-shadow:inset 0 1px 2px rgba(31,31,34,.12)}
[data-theme=retro] .rail i{position:absolute;left:0;top:0;bottom:0;width:calc(var(--pct) * 1%);min-width:6px;border-radius:99px;transition:width .9s cubic-bezier(.3,.8,.3,1);background:linear-gradient(90deg,#EBABCC,#DF76AC)}
[data-theme=retro] .rail i::after{content:"";position:absolute;right:-9px;top:50%;width:18px;height:18px;margin-top:-9px;border-radius:50%;background:radial-gradient(closest-side,rgba(64,56,40,.95),rgba(64,56,40,.45) 50%,transparent)}
[data-theme=retro] .railtxt{display:flex;justify-content:space-between;margin:9px 0 16px;font-size:13.5px;color:var(--text-2)}
[data-theme=retro] .railtxt b{font-weight:500;color:var(--text)}
[data-theme=retro] .actions{display:flex;gap:10px;align-items:center}
[data-theme=retro] .actions .btn.white{flex:1.3}
[data-theme=retro] .actions .btn.dark{flex:1}
[data-theme=retro] .duo{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
[data-theme=retro] .cell{padding:16px 16px 15px;border-radius:30px}
[data-theme=retro] .lbl{font-size:13.5px;font-weight:400;letter-spacing:-.005em;color:var(--text-2);white-space:nowrap}
[data-theme=retro] .num{margin-top:8px;font-size:24px;line-height:1.1;font-weight:300;letter-spacing:-.035em;white-space:nowrap;color:var(--text)}
[data-theme=retro] .sub{margin-top:8px;font-size:13.5px;color:var(--text-2)}
[data-theme=retro] .sub b{font-weight:500;color:var(--text)}
[data-theme=retro] .sub .ico{width:13px;height:13px;vertical-align:-2px;margin-right:3px;stroke-width:2;color:#4C7A69}
[data-theme=retro] .cap{position:relative;border-radius:99px;
  background:linear-gradient(180deg,rgba(217,208,184,.96),rgba(211,202,178,.9));
  box-shadow:inset 0 1px 0 #D9D0B8,0 0 0 1px rgba(31,31,34,.055),0 14px 22px -16px rgba(64,56,40,.3),0 3px 8px -4px rgba(64,56,40,.08)}
[data-theme=retro] .goal{display:flex;align-items:center;gap:14px;margin-top:12px;padding:12px 24px 12px 12px;overflow:hidden}
[data-theme=retro] .goal .circ{width:50px;height:50px}
[data-theme=retro] .goal__t{flex:1;min-width:0}
[data-theme=retro] .goal__t p{margin:2px 0 8px;font-size:17px;font-weight:300;letter-spacing:-.02em}
[data-theme=retro] .goal__t p span{color:var(--text-2)}
[data-theme=retro] .goal .rail{height:4px}
[data-theme=retro] .goal__pct{font-size:24px;font-weight:300;letter-spacing:-.04em}
[data-theme=retro] .up__h{display:flex;justify-content:space-between;align-items:center;margin:16px 2px 10px}
[data-theme=retro] .pillh{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 14px 0 18px;border-radius:99px;font-size:14.5px;font-weight:400;color:#5D5B56;background:linear-gradient(180deg,#D9D0B8,#CFC5AB);box-shadow:inset 0 1px 0 #D9D0B8,0 0 0 1px rgba(31,31,34,.07),0 5px 10px -6px rgba(64,56,40,.2)}
[data-theme=retro] .pillh .ico{width:16px;height:16px;stroke-width:2}
[data-theme=retro] .up__h span{font-size:14px;color:var(--text-2)}
[data-theme=retro] .list{display:grid;gap:9px}
[data-theme=retro] .row{display:flex;align-items:center;gap:14px;padding:9px 22px 9px 10px;min-height:66px}
[data-theme=retro] .row .ic{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;flex:none;color:#B95144;background:radial-gradient(circle at 50% 30%,rgba(240,182,175,.55),rgba(240,182,175,.28));box-shadow:inset 0 0 0 1px rgba(219,132,121,.4)}
[data-theme=retro] .row .ic .ico{width:19px;height:19px;stroke-width:1.9}
[data-theme=retro] .row .t{flex:1;min-width:0}
[data-theme=retro] .row .nm{display:block;font-size:17px;font-weight:400;letter-spacing:-.015em;color:var(--text)}
[data-theme=retro] .row .ct{font-size:13.5px;color:var(--text-2)}
[data-theme=retro] .amt{font-size:17px;font-weight:400;letter-spacing:-.02em;color:var(--text)}
[data-theme=retro] .mask [data-money],[data-theme=retro] .mask [data-perday],[data-theme=retro] .mask [data-remaining],[data-theme=retro] .mask .amt,[data-theme=retro] .mask .goal__t p,[data-theme=retro] .mask .goal__pct{filter:blur(9px)}
[data-theme=retro] .nav{position:absolute;left:14px;right:14px;bottom:calc(14px + env(safe-area-inset-bottom));height:74px;z-index:20;border-radius:99px;
  display:grid;grid-template-columns:1fr 1fr 70px 1fr 1fr;align-items:center;padding:0 8px;
  background:linear-gradient(180deg,rgba(217,208,184,.9),rgba(209,200,175,.86));
  -webkit-backdrop-filter:blur(22px) saturate(1.3);backdrop-filter:blur(22px) saturate(1.3);
  box-shadow:inset 0 1px 0 #D9D0B8,0 0 0 1px rgba(31,31,34,.07),0 20px 34px -12px rgba(64,56,40,.35)}
[data-theme=retro] .nav__i{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;margin:0 2px;padding:10px 2px 12px;border-radius:99px;font-size:10.5px;font-weight:500;color:#73706B}
[data-theme=retro] .nav__i .ico{width:23px;height:23px;stroke-width:1.6}
[data-theme=retro] .nav__i.is-current{color:var(--text);background:linear-gradient(180deg,#D9D0B8,#CEC5AA);box-shadow:inset 0 1px 0 #D9D0B8,0 0 0 1px rgba(31,31,34,.07),0 8px 14px -8px rgba(64,56,40,0.15)}
[data-theme=retro] .nav__i.is-current .ico{color:#A60D5C}
[data-theme=retro] .nav__i.is-current::after{content:"";position:absolute;left:50%;bottom:-6px;width:34px;height:14px;margin-left:-17px;border-radius:50%;background:radial-gradient(closest-side,rgba(64,56,40,0.27),rgba(64,56,40,0.14) 55%,transparent);filter:blur(2px)}
[data-theme=retro] .nav__add{position:relative;width:58px;height:58px;margin:0 auto;border-radius:50%;display:grid;place-items:center;color:#D2C9B0;
  background:linear-gradient(180deg,#A53C78 0%,#8A235D 55%,#6B1648 100%);box-shadow:inset 0 1px 0 rgba(217,208,184,.25),inset 0 -3px 6px rgba(0,0,0,.3),0 10px 22px -4px rgba(64,56,40,.9),0 3px 8px rgba(43,44,49,.4)}
[data-theme=retro] .nav__add .ico{width:27px;height:27px;stroke-width:2.2}
[data-theme=retro] .sheet__panel{border-radius:40px 40px 0 0;padding:0 20px calc(26px + env(safe-area-inset-bottom));overflow:hidden;
  background:linear-gradient(180deg,rgba(217,208,184,.97),rgba(209,200,174,.97) 45%);
  -webkit-backdrop-filter:blur(30px);backdrop-filter:blur(30px);
  box-shadow:inset 0 1px 0 #D9D0B8,0 -1px 0 rgba(31,31,34,.06),0 -26px 60px -26px rgba(64,56,40,.55)}
[data-theme=retro] .sheet__panel::before{content:"";position:absolute;left:50%;top:-30px;width:260px;height:70px;margin-left:-130px;pointer-events:none;background:radial-gradient(closest-side,rgba(64,56,40,.7),transparent)}
[data-theme=retro] .sheet__content{position:relative;z-index:1}
[data-theme=retro] .grab{width:42px;height:5px;border-radius:3px;background:rgba(31,31,34,.2);margin:10px auto 12px}
[data-theme=retro] .sheet__head{display:flex;align-items:center;justify-content:space-between}
[data-theme=retro] .sheet__title{font-size:23px;font-weight:300;letter-spacing:-.03em}
[data-theme=retro] .x{width:44px;height:44px}
[data-theme=retro] .x .ico{width:20px;height:20px}
[data-theme=retro] .seg{margin-top:12px;height:52px;border-radius:99px;background:#CBC1A5;box-shadow:inset 0 2px 5px rgba(64,56,40,.18),inset 0 0 0 1px rgba(31,31,34,.05)}
[data-theme=retro] .seg label span{font-size:16.5px;font-weight:400;color:var(--text-2);transition:color .3s}
[data-theme=retro] .seg input:checked + span{color:#D2C9B0}
[data-theme=retro] .seg__thumb{top:4px;bottom:4px;left:4px;width:calc(50% - 4px);border-radius:99px;background:linear-gradient(180deg,#A53C78 0%,#8A235D 55%,#6B1648 100%);box-shadow:inset 0 1px 0 rgba(217,208,184,.22),0 8px 16px -6px rgba(64,56,40,.85)}
[data-theme=retro] .amount{display:flex;align-items:baseline;justify-content:center;gap:8px;margin:16px 0 12px}
[data-theme=retro] .amount__cur{font-size:26px;font-weight:300;color:var(--text-2)}
[data-theme=retro] .amount input{background:none;border:0;outline:0;padding:0;font-size:60px;font-weight:300;letter-spacing:-.05em;line-height:1;color:var(--text);text-align:left;caret-color:#A60D5C;field-sizing:content;min-width:3ch;font-variant-numeric:lining-nums proportional-nums}
[data-theme=retro] .amount input::placeholder{color:rgba(31,31,34,.25)}
[data-theme=retro] .field{display:block}
[data-theme=retro] .field__l,[data-theme=retro] .pay legend{display:block;font-size:14px;font-weight:400;color:var(--text-2);margin:0 4px 8px}
[data-theme=retro] .field__box{display:flex;align-items:center;gap:12px;height:56px;padding:0 20px;border-radius:99px;color:var(--text-2);background:#CEC4A9;box-shadow:inset 0 2px 5px rgba(64,56,40,.16),inset 0 0 0 1px rgba(31,31,34,.07)}
[data-theme=retro] .field__box .ico{stroke-width:1.6}
[data-theme=retro] .field__box:focus-within{box-shadow:inset 0 2px 5px rgba(64,56,40,.16),inset 0 0 0 1.5px rgba(64,56,40,.85),0 0 0 3px rgba(64,56,40,.3)}
[data-theme=retro] .field__box input{flex:1;min-width:0;background:none;border:0;outline:0;font-size:17px;font-weight:300;color:var(--text)}
[data-theme=retro] .field__box input::placeholder{color:rgba(107,104,99,.75)}
[data-theme=retro] .metarow{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 16px}
[data-theme=retro] .chip{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 14px 0 11px;border-radius:99px;font-size:13.5px;font-weight:500;color:#930850;background:linear-gradient(180deg,#F8EDF3,#F3E1EA);box-shadow:inset 0 1px 0 #D9D0B8,0 0 0 1px rgba(64,56,40,.45)}
[data-theme=retro] .chip .ico{width:16px;height:16px;color:#CA1070}
[data-theme=retro] .chip[data-known=false]{color:#705E24;background:linear-gradient(180deg,#F6EED2,#EEE2B8);box-shadow:inset 0 1px 0 #D9D0B8,0 0 0 1px rgba(202,174,83,.55)}
[data-theme=retro] .chip[data-known=false] .ico{color:#A98C2E}
[data-theme=retro] .datechip{position:relative;display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 14px 0 11px;border-radius:99px;font-size:13.5px;font-weight:500;color:#3B3C43;background:linear-gradient(180deg,#D9D0B8,#CFC5AB);box-shadow:inset 0 1px 0 #D9D0B8,0 0 0 1px rgba(31,31,34,.08);cursor:pointer}
[data-theme=retro] .datechip .ico{width:16px;height:16px;color:var(--text-2)}
[data-theme=retro] .datechip input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
[data-theme=retro] .datechip:focus-within{outline:2px solid var(--focus);outline-offset:2px}
[data-theme=retro] .pay{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:16px}
[data-theme=retro] .pay legend{grid-column:1/-1;float:left;width:100%}
[data-theme=retro] .pay label{display:block;cursor:pointer}
[data-theme=retro] .tile{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;height:74px;border-radius:30px;color:var(--text-2);
  background:linear-gradient(180deg,#D9D0B8,#CFC5AB);box-shadow:inset 0 1px 0 #D9D0B8,0 0 0 1px rgba(31,31,34,.08),0 6px 12px -8px rgba(64,56,40,.25);transition:all .3s cubic-bezier(.3,1,.4,1)}
[data-theme=retro] .tile .ico{width:23px;height:23px;stroke-width:1.6}
[data-theme=retro] .tile b{font-size:13.5px;font-weight:500}
[data-theme=retro] .pay input:checked + .tile{color:#D2C9B0;background:linear-gradient(180deg,#A53C78 0%,#8A235D 55%,#6B1648 100%);box-shadow:inset 0 1px 0 rgba(217,208,184,.22),0 12px 22px -8px rgba(64,56,40,.9)}
[data-theme=retro] .pay input:focus-visible + .tile{outline:2px solid var(--focus);outline-offset:2px}
[data-theme=retro] .extras{display:flex;gap:10px;margin-bottom:18px;align-items:center}
[data-theme=retro] .extras .note{flex:1;min-width:0;margin:0;padding:0 20px;color:var(--text-2)}
[data-theme=retro] .attach{width:56px;height:56px;cursor:pointer}
[data-theme=retro] .attach.has-file{color:#930850;box-shadow:inset 0 1px 0 #D9D0B8,0 0 0 1.5px rgba(64,56,40,.9),0 8px 14px -6px rgba(64,56,40,.28)}
[data-theme=retro] .attach:focus-within{outline:2px solid var(--focus);outline-offset:2px}
[data-theme=retro] .submit{width:100%;height:62px;font-size:19px;font-weight:400}
[data-theme=retro] .toast{display:flex;align-items:center;gap:12px;padding:12px 20px 12px 12px;border-radius:99px;font-size:14px;color:var(--text-2);
  background:linear-gradient(180deg,rgba(217,208,184,.97),rgba(209,200,174,.95));-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);
  box-shadow:inset 0 1px 0 #D9D0B8,0 0 0 1px rgba(31,31,34,.07),0 20px 40px -12px rgba(64,56,40,.4),0 0 30px -6px rgba(64,56,40,.7)}
[data-theme=retro] .toast b{display:block;font-size:16px;font-weight:500;color:var(--text)}
[data-theme=retro] .toast__ic{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;flex:none;color:#D2C9B0;background:linear-gradient(180deg,#A53C78 0%,#8A235D 55%,#6B1648 100%);box-shadow:0 0 16px rgba(64,56,40,.9)}
[data-theme=retro] .toast__ic .ico{width:19px;height:19px;stroke-width:2.6}
@media (prefers-reduced-transparency:reduce){[data-theme=retro] .nav,[data-theme=retro] .sheet__panel,[data-theme=retro] .toast{-webkit-backdrop-filter:none;backdrop-filter:none;background:#D3CAB2}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){[data-theme=retro] .nav,[data-theme=retro] .sheet__panel,[data-theme=retro] .toast{background:#D3CAB2}}

/* ---- fundo: plástico fosco do aparelho ---- */
[data-theme=retro] .app{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'240'%20height%3D'240'%3E%3Cfilter%20id%3D'n'%20x%3D'0'%20y%3D'0'%20width%3D'100%25'%20height%3D'100%25'%3E%3CfeTurbulence%20type%3D'fractalNoise'%20baseFrequency%3D'.9'%20numOctaves%3D'3'%20seed%3D'11'%20stitchTiles%3D'stitch'%20result%3D't'%2F%3E%3CfeDiffuseLighting%20in%3D't'%20lighting-color%3D'%23fff'%20surfaceScale%3D'1.8'%20result%3D'l'%3E%3CfeDistantLight%20azimuth%3D'225'%20elevation%3D'55'%2F%3E%3C%2FfeDiffuseLighting%3E%3CfeColorMatrix%20in%3D'l'%20type%3D'matrix'%20values%3D'0%200%200%200%20.30%20%200%200%200%200%20.26%20%200%200%200%200%20.16%20%20-.95%200%200%200%20.86'%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D'240'%20height%3D'240'%20filter%3D'url(%23n)'%2F%3E%3C%2Fsvg%3E"),radial-gradient(90% 26% at 12% -6%,rgba(230,226,212,.45),transparent 70%),linear-gradient(180deg,#D6D1BF 0%,#D2CDBA 45%,#CCC7B4 100%);background-size:240px 240px,auto,auto}
html[data-theme=retro]{background:#CDC8B5}

/* ---- complementos do app: cores de categoria, estados, diálogo, menu ---- */
[data-theme=retro]{--cat-azul:#2D3C98;--cat-verde:#5E7D3A;--cat-ambar:#B58A00;--cat-coral:#C4563F;--cat-roxo:#6E5A8E;--cat-ciano:#2F7F86;--cat-rosa:#8A235D;--cat-lima:#8A9A2A;--cat-laranja:#C46F1C;--cat-cinza:#6F6D72}
[data-theme=retro]{
  --x-warn:#6A4F0E;--x-warn-ring:rgba(181,138,0,.5);--x-warn-bg:#DDD0A0;
  --x-bad:#9E2F1E;--x-bad-ring:rgba(196,86,63,.45);--x-bad-bg:rgba(196,86,63,.16);
  --x-good:#335E2D;--x-good-ring:rgba(94,125,58,.5);--x-good-bg:rgba(94,125,58,.18);
  --x-info:#2D3C98;--x-info-ring:rgba(45,60,152,.4);--x-info-bg:rgba(45,60,152,.10);
  --x-track:#C3BDA8;--x-hair:rgba(29,30,34,.10);--x-soft:rgba(29,30,34,.06);--x-skel:rgba(222,214,194,.6);
  --x-prim:linear-gradient(180deg,#A53C78,#6B1648);--x-prim-ink:#E6DFCB;--x-prim-glow:0 6px 12px -8px rgba(64,56,40,.3);
  --x-knob-off:linear-gradient(180deg,#E3DDCB,#CCC5AF);--x-knob-on:linear-gradient(180deg,#E3DDCB,#D6CFBA);--x-dlg:#D9D3C0;
}
[data-theme=retro] .nav{bottom:max(8px,calc(env(safe-area-inset-bottom) - 8px))}
html.vp-short[data-theme=retro] .nav{box-shadow:inset 0 1px 0 #D9D0B8,0 0 0 1px rgba(31,31,34,.07),0 8px 16px -8px rgba(64,56,40,.3)}
