/* ============================================================
   LAGOON MANE - app shell
   kawaii arcade, iOS app furniture, liquid glass tab bar
   ============================================================ */

:root{
  --sky1:#7fd4ef; --sky2:#c3ecf8;
  --lag:#37b394;  --lag2:#22876f;
  --sand:#ffe3ad;
  --cream:#fff6e9;
  --ink:#22323e;
  --ink2:#5b7285;
  --pink:#ff74cd;
  --yel:#ffd93d;
  --red:#ff5f52;
  --blue:#2fb6ff;
  --card:#fffdf8;
  --r:26px;

  --brand:"filson-soft",ui-rounded,"SF Pro Rounded",system-ui,sans-serif;
  --tabh:calc(58px + env(safe-area-inset-bottom));
}

*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{height:100%;margin:0;overscroll-behavior:none}
body{
  font-family:var(--brand);
  color:var(--ink);
  background:#0e171d;
  overflow:hidden;
  -webkit-font-smoothing:antialiased;
  touch-action:manipulation;
}
img{display:block;max-width:100%}
button{font:inherit;color:inherit;border:0;background:none;cursor:pointer}
input{font:inherit}

/* ---------- boot splash ---------- */
.splash{
  position:fixed;inset:0;z-index:999;display:grid;place-content:center;justify-items:center;gap:12px;
  background:linear-gradient(180deg,var(--sky1),var(--lag));
  transition:opacity .45s ease,visibility .45s;
}
.splash.gone{opacity:0;visibility:hidden}
.splash__icon{width:104px;height:104px;border-radius:24px;box-shadow:0 16px 40px rgba(0,0,0,.3);animation:pop .5s cubic-bezier(.2,1.5,.4,1)}
@keyframes pop{from{transform:scale(.7);opacity:0}}
.splash__name{margin:6px 0 0;font-size:26px;letter-spacing:.06em;color:#fff;text-shadow:0 3px 0 rgba(0,0,0,.22)}
.splash__sub{margin:0;font-size:13px;color:rgba(255,255,255,.85)}

/* ---------- desktop header ---------- */
.deskbar{display:none}
@media (min-width:900px){
  .deskbar{
    display:flex;align-items:center;gap:18px;height:46px;padding:0 22px;
    background:rgba(12,22,28,.72);backdrop-filter:blur(20px) saturate(1.6);
    -webkit-backdrop-filter:blur(20px) saturate(1.6);
    border-bottom:1px solid rgba(255,255,255,.09);color:#eaf6fb;
    position:fixed;top:0;left:0;right:0;z-index:50;
  }
  .deskbar__brand{font-size:15px;letter-spacing:.1em}
  .deskbar__tag{font-size:12px;color:#8fb2c4;margin-left:auto}
  .deskbar__mute{
    font-size:10px;letter-spacing:.12em;color:#9fc4d6;
    border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:5px 12px;
  }
  .deskbar__mute:hover{background:rgba(255,255,255,.1)}
}

/* ---------- app shell ---------- */
.phone{position:fixed;inset:0;display:flex;flex-direction:column}
@media (min-width:900px){
  body::before{                       /* blurred lagoon wallpaper on the sides */
    content:"";position:fixed;inset:-60px;z-index:-1;
    background:url("/img/web/bg_lagoon.jpg") center/cover no-repeat;
    filter:blur(46px) saturate(1.3) brightness(.42);
    transform:scale(1.12);
  }
  .phone{
    position:fixed;
    inset:auto;                       /* must reset BEFORE left/top or it wipes them */
    left:50%;
    top:calc(46px + (100dvh - 46px) / 2);
    transform:translate(-50%,-50%);
    width:456px;
    height:min(936px, calc(100dvh - 96px));
    border-radius:34px;overflow:hidden;
    box-shadow:0 34px 90px rgba(0,0,0,.62),0 0 0 1px rgba(255,255,255,.14);
  }
}

.app{position:relative;flex:1;min-height:0;overflow:hidden;background:var(--sky2)}

/* ---------- screens ---------- */
.screen{position:absolute;inset:0;display:none;background:var(--sky2)}
.screen.is-active{display:block}
.screen--scroll{overflow-y:auto;-webkit-overflow-scrolling:touch;background:linear-gradient(180deg,#eaf7fb,#dff0f6)}
.screen--scroll::-webkit-scrollbar{width:0}
.pad{padding:calc(18px + env(safe-area-inset-top)) 18px calc(26px + var(--tabh))}

/* ---------- stage ---------- */
.stage{position:absolute;inset:0;overflow:hidden;background:#8fdcf2}
#cv{position:absolute;inset:0;width:100%;height:100%;display:block}

/* ---------- HUD ---------- */
.hud{
  position:absolute;top:0;left:0;right:0;z-index:4;pointer-events:none;
  padding:calc(12px + env(safe-area-inset-top)) 16px 0;
  display:flex;align-items:flex-start;justify-content:space-between;
}
.hud[hidden]{display:none}
.hud__lvl,.hud__left{
  background:rgba(255,255,255,.82);border-radius:999px;padding:6px 12px;
  font-size:11px;letter-spacing:.09em;color:var(--ink2);
  box-shadow:0 3px 0 rgba(0,0,0,.09);backdrop-filter:blur(8px);
}
.hud__lvl b,.hud__left b{color:var(--ink);font-size:13px}
.hud__score{
  position:absolute;left:50%;top:calc(42px + env(safe-area-inset-top));transform:translateX(-50%);
  font-size:56px;line-height:1;color:#fff;padding:2px 22px;border-radius:999px;
  background:rgba(18,50,66,.30);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  text-shadow:0 3px 0 rgba(12,40,54,.55),0 0 18px rgba(0,0,0,.25);
}

/* toast */
.toast{
  position:absolute;left:50%;top:34%;transform:translate(-50%,-50%) scale(.7);
  z-index:5;font-size:30px;color:#fff;opacity:0;pointer-events:none;white-space:nowrap;
  text-shadow:0 4px 0 rgba(0,0,0,.28);
}
.toast.on{animation:toast 1.5s ease-out}
.toast{color:#ff74cd;text-shadow:0 0 3px #fff,0 0 22px rgba(255,116,205,.9),0 4px 0 rgba(0,0,0,.3);
  font-size:clamp(19px,5.4vw,32px);letter-spacing:.02em;max-width:94%}
@keyframes toast{
  0%{opacity:0;transform:translate(-50%,-50%) scale(.6)}
  20%{opacity:1;transform:translate(-50%,-50%) scale(1.08)}
  72%{opacity:1;transform:translate(-50%,-62%) scale(1)}
  100%{opacity:0;transform:translate(-50%,-82%) scale(.97)}
}

.mute{
  position:absolute;right:14px;top:calc(14px + env(safe-area-inset-top));z-index:8;
  width:34px;height:34px;border-radius:50%;font-size:15px;line-height:1;
  background:rgba(255,255,255,.82);box-shadow:0 2px 0 rgba(0,0,0,.12);
}
@media (min-width:900px){.mute{display:none}}

/* ---------- cards ---------- */
.card{
  position:absolute;inset:0;z-index:6;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:12px;text-align:center;
  padding:calc(24px + env(safe-area-inset-top)) 24px calc(24px + var(--tabh));
  background:rgba(10,40,52,.42);backdrop-filter:blur(14px) saturate(1.3);
  -webkit-backdrop-filter:blur(14px) saturate(1.3);
  animation:fade .28s ease;
}
.card[hidden]{display:none}
@keyframes fade{from{opacity:0}}

.logo{line-height:.86;filter:drop-shadow(0 6px 0 rgba(0,0,0,.22))}
.logo__a,.logo__b{
  display:block;color:#fff;letter-spacing:.02em;
  -webkit-text-stroke:0;
  text-shadow:
    -3px 0 0 var(--ink),3px 0 0 var(--ink),0 -3px 0 var(--ink),0 3px 0 var(--ink),
    -3px -3px 0 var(--ink),3px -3px 0 var(--ink),-3px 3px 0 var(--ink),3px 3px 0 var(--ink),
    0 9px 0 rgba(34,50,62,.45);
}
.logo__a{font-size:15vmin;max-font-size:64px}
.logo__b{font-size:19vmin;color:var(--yel)}
@media (min-width:900px){.logo__a{font-size:56px}.logo__b{font-size:72px}}

.card__sub{margin:2px 0 0;font-size:13px;color:rgba(255,255,255,.92);letter-spacing:.03em}
.card__best{font-size:12px;color:rgba(255,255,255,.85);letter-spacing:.09em}
.card__best b{color:var(--yel);font-size:15px}
.card__hint{margin:0;font-size:11px;color:rgba(255,255,255,.6);letter-spacing:.14em;animation:blink 1.7s infinite}
@keyframes blink{50%{opacity:.35}}
.titlerow{display:flex;align-items:center;gap:14px;margin-top:2px}

/* buttons */
.bigbtn{
  background:var(--yel);color:var(--ink);border-radius:999px;
  padding:16px 46px;font-size:19px;letter-spacing:.08em;
  box-shadow:0 5px 0 #c9a41f,0 12px 26px rgba(0,0,0,.3);
  transition:transform .1s,box-shadow .1s;
}
.bigbtn:active{transform:translateY(4px);box-shadow:0 1px 0 #c9a41f}
.minibtn{
  background:rgba(255,255,255,.9);color:var(--ink);border-radius:999px;
  padding:10px 20px;font-size:12px;letter-spacing:.1em;
  box-shadow:0 3px 0 rgba(0,0,0,.16);transition:transform .1s,box-shadow .1s;
}
.minibtn:active{transform:translateY(2px);box-shadow:0 1px 0 rgba(0,0,0,.16)}
.minibtn--go{background:var(--lag);color:#fff;box-shadow:0 3px 0 #1d7a63}

/* level cleared */
.card--won{background:rgba(15,110,95,.55)}
.splashmark{font-size:60px;animation:bob 1.6s ease-in-out infinite}
@keyframes bob{50%{transform:translateY(-9px) rotate(-5deg)}}
.won__kick{margin:0;font-size:13px;letter-spacing:.2em;color:var(--yel)}
.won__t{margin:0;font-size:34px;line-height:1.05;color:#fff;text-shadow:0 4px 0 rgba(0,0,0,.25)}
.won__t b{color:var(--yel)}
.won__sub{margin:0;font-size:12px;color:rgba(255,255,255,.85)}

/* game over */
.over__kick{margin:0;font-size:13px;letter-spacing:.16em;color:var(--red)}
.scorebox{display:flex;gap:10px;margin:4px 0}
.scorebox div{
  background:rgba(255,255,255,.94);border-radius:16px;padding:10px 16px;min-width:82px;
  box-shadow:0 3px 0 rgba(0,0,0,.16);
}
.scorebox span{display:block;font-size:9px;letter-spacing:.13em;color:var(--ink2)}
.scorebox b{font-size:26px;line-height:1.1}
.over__rank{margin:0;font-size:12px;color:#fff;max-width:24ch;line-height:1.45}
.over__new{margin:0;font-size:12px;letter-spacing:.14em;color:var(--yel);animation:blink 1s infinite}
.over__new[hidden]{display:none}
.ovbtns{display:flex;flex-direction:column;gap:9px;align-items:center;margin-top:2px}

/* submit form */
.submit{
  width:100%;max-width:330px;margin-top:8px;padding-top:14px;
  border-top:1px solid rgba(255,255,255,.24);display:grid;gap:8px;justify-items:center;
}
.submit.collapsed .submit__row,
.submit.collapsed #submitBtn,
.submit.collapsed .submit__fine{display:none}
.submit__h{cursor:pointer}
.submit.collapsed .submit__h::after{content:" ▾"}
.submit__h{margin:0;font-size:11px;letter-spacing:.16em;color:rgba(255,255,255,.85)}
.submit__row{display:grid;gap:7px;width:100%}
.submit input{
  width:100%;border:0;border-radius:13px;padding:12px 14px;font-size:15px;
  background:rgba(255,255,255,.95);color:var(--ink);
}
.submit input::placeholder{color:#9db0be}
.submit input:focus{outline:2px solid var(--yel);outline-offset:1px}
.submit__fine{margin:0;font-size:10px;line-height:1.5;color:rgba(255,255,255,.62);max-width:30ch}
.submit__msg{margin:0;font-size:12px;color:var(--yel)}
.submit__msg[hidden]{display:none}
.submit.done .submit__row,.submit.done #submitBtn,.submit.done .submit__fine{display:none}

/* level select */
.card--levels{justify-content:flex-start;gap:10px;background:rgba(10,40,52,.72)}
.lv__h{margin:0;font-size:16px;letter-spacing:.14em;color:#fff}
.lv__sub{margin:0;font-size:11px;color:rgba(255,255,255,.7);max-width:32ch}
.lvgrid{
  display:grid;grid-template-columns:repeat(6,1fr);gap:7px;width:100%;max-width:330px;
  overflow-y:auto;padding:4px;flex:1;min-height:0;
}
.lvgrid::-webkit-scrollbar{width:0}
.lvcell{
  aspect-ratio:1;border-radius:12px;display:grid;place-items:center;font-size:12px;
  background:rgba(255,255,255,.92);color:var(--ink);box-shadow:0 2px 0 rgba(0,0,0,.18);
}
.lvcell.locked{background:rgba(255,255,255,.16);color:rgba(255,255,255,.4);box-shadow:none}
.lvcell.cur{background:var(--yel);box-shadow:0 2px 0 #c9a41f}

/* ---------- tab bar, liquid glass ---------- */
.tabs{
  position:relative;z-index:20;display:flex;height:var(--tabh);
  padding-bottom:env(safe-area-inset-bottom);
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(24px) saturate(1.8);-webkit-backdrop-filter:blur(24px) saturate(1.8);
  border-top:1px solid rgba(0,0,0,.07);
}
.tab{
  flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  color:#96a9b6;font-size:10px;letter-spacing:.03em;transition:color .18s,transform .12s;
}
.tab svg{width:23px;height:23px;fill:currentColor}
.tab.is-active{color:var(--lag2)}
.tab:active{transform:scale(.92)}

/* ---------- scroll screens ---------- */
.ttl{margin:0 0 4px;font-size:26px;letter-spacing:.04em;color:var(--ink)}
.ttl--sm{margin-top:30px;font-size:19px}
.sub{margin:0 0 18px;font-size:13px;line-height:1.55;color:var(--ink2)}
.fine{font-size:11px;line-height:1.6;color:#8ea3b1;margin:12px 0 0}
.fine--foot{margin-top:26px;padding-top:16px;border-top:1px solid rgba(0,0,0,.09)}

/* leaderboard */
.board{display:grid;gap:7px;margin-bottom:16px}
.board__load,.board__empty{font-size:13px;color:var(--ink2);margin:0}
.row{
  display:grid;grid-template-columns:34px 1fr auto auto;gap:10px;align-items:center;
  background:var(--card);border-radius:15px;padding:11px 13px;
  box-shadow:0 2px 0 rgba(0,0,0,.07);
}
.row__r{font-size:14px;color:var(--ink2);text-align:center}
.row:nth-child(1) .row__r{color:#e0a91b}
.row:nth-child(2) .row__r{color:#9aa9b4}
.row:nth-child(3) .row__r{color:#c58a5b}
.row__n{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.row__l{font-size:11px;color:var(--ink2);letter-spacing:.06em}
.row__s{font-size:17px;color:var(--lag2)}
.row.me{outline:2px solid var(--yel)}

/* scripture */
.script{list-style:none;margin:0 0 26px;padding:0;display:grid;gap:8px}
.v{
  display:grid;grid-template-columns:22px 1fr 26px;gap:10px;align-items:center;
  background:var(--card);border-radius:16px;padding:13px 14px;
  box-shadow:0 2px 0 rgba(0,0,0,.07);cursor:pointer;transition:transform .12s;
}
.v:active{transform:scale(.985)}
.v.playing{outline:2px solid var(--yel)}
.v--holy{background:linear-gradient(180deg,#fff0fb,#ffe6f7)}
.v__n{font-size:12px;color:#a9bac6;text-align:center}
.v__l{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline}
.v__l em{font-style:normal;font-size:18px;line-height:1.2}
.v__l .big{font-size:24px}
.v__p{font-size:11px;color:#a9bac6;text-align:center}
.c-y{color:#e8a900}
.c-p{color:var(--pink);text-shadow:0 0 12px rgba(255,116,205,.45)}
.c-b{color:var(--blue)}
.strike{text-decoration:line-through;text-decoration-color:var(--red);text-decoration-thickness:2px}

/* dictionary */
.dict{background:var(--card);border-radius:20px;padding:20px;box-shadow:0 2px 0 rgba(0,0,0,.07)}
.dict__hd{display:flex;align-items:center;gap:10px}
.dict__w{margin:0;font-size:30px;color:var(--pink)}
.dict__say{width:34px;height:34px;border-radius:50%;background:#ffe9f8;font-size:15px}
.dict__ph{margin:3px 0 14px;font-size:12px;color:var(--ink2)}
.dict__d{margin:0 0 12px;font-size:14px;line-height:1.6}
.dict__d--hot{color:var(--ink)}
.tag{
  display:inline-block;margin-right:7px;padding:2px 7px;border-radius:6px;
  font-size:9px;letter-spacing:.12em;background:#e9f0f5;color:var(--ink2);vertical-align:middle;
}
.tag--hot{background:var(--pink);color:#fff}
.dict__note{margin:14px 0 0;padding-top:12px;border-top:1px solid rgba(0,0,0,.08);font-size:12px;line-height:1.6;color:var(--ink2)}

.shot{margin:18px 0 0;border-radius:18px;overflow:hidden;box-shadow:0 2px 0 rgba(0,0,0,.07)}
.shot img{width:100%}
.shot figcaption{padding:9px 13px;font-size:10px;letter-spacing:.09em;color:var(--ink2);background:var(--card)}

/* table */
.tblwrap{overflow-x:auto;border-radius:16px;background:var(--card);box-shadow:0 2px 0 rgba(0,0,0,.07)}
.tbl{width:100%;border-collapse:collapse;min-width:420px}
.tbl th,.tbl td{padding:11px 13px;text-align:left;font-size:13px;border-bottom:1px solid rgba(0,0,0,.06)}
.tbl tr:first-child th{font-size:14px;letter-spacing:.04em}
.tbl .win{color:var(--lag2)}
.tbl .lose{color:#9aa9b4;text-decoration:line-through;text-decoration-color:var(--red)}
.tbl tr td:first-of-type{color:var(--ink)}
.tbl tr th:first-child{font-size:10px;letter-spacing:.1em;color:var(--ink2);text-transform:uppercase;width:34%}

/* shop */
.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tee{margin:0}
.tee__s{
  position:relative;aspect-ratio:1/1.05;border-radius:16px;overflow:hidden;
  background:radial-gradient(ellipse at 50% 32%,#2a2a30,#0f0f12 72%);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:11px;
}
.tee__s--pink{background:radial-gradient(ellipse at 50% 32%,#33203040,#0f0f12 72%)}
.tee__s img{height:50%;width:auto;object-fit:contain;
  filter:drop-shadow(1.5px 0 0 #fff) drop-shadow(-1.5px 0 0 #fff) drop-shadow(0 1.5px 0 #fff) drop-shadow(0 -1.5px 0 #fff)}
.tee__t{font-size:13px;color:#fff;text-align:center;line-height:1}
.tee__b{font-size:10px;letter-spacing:.1em;color:#e7d6b4;text-align:center}
.tee h3{margin:9px 0 2px;font-size:13px}
.tee__p{margin:0;font-size:10px;letter-spacing:.1em;color:var(--red)}
.tee__p s{color:#a9bac6;margin-right:6px}

/* tour */
.tourbox{margin-top:26px;border-radius:18px;overflow:hidden;background:var(--card);box-shadow:0 2px 0 rgba(0,0,0,.07)}
.tourbox__h{margin:0;padding:13px 16px;background:var(--yel);font-size:13px;letter-spacing:.1em}
.tour{list-style:none;margin:0;padding:0}
.tour li{display:grid;grid-template-columns:64px 1fr auto;gap:10px;align-items:center;
  padding:12px 16px;border-bottom:1px solid rgba(0,0,0,.06);font-size:13px}
.tour li:last-child{border-bottom:0}
.tour span{font-size:10px;letter-spacing:.09em;color:var(--ink2)}
.tour b{font-size:14px}
.tour em{font-style:normal;font-size:9px;letter-spacing:.12em;color:#a9bac6}
.dead b{text-decoration:line-through;text-decoration-color:var(--red);opacity:.55}
.dead em{color:var(--red)}

@media (prefers-reduced-motion:reduce){
  *{animation-duration:.01ms!important;animation-iteration-count:1!important}
}


/* ================= lives ================= */
.hud__lives{display:block;margin-top:3px;font-size:12px;color:#ff6b86;letter-spacing:.06em}

/* ================= bootleg tee logo ================= */
.chrome{
  background:linear-gradient(180deg,#fff 0%,#e6eef6 16%,#9db1c4 38%,#5f7488 49%,#42566a 51%,#b9cad9 62%,#fff 80%,#8fa2b3 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  filter:
    drop-shadow(2px 0 0 #12202b) drop-shadow(-2px 0 0 #12202b)
    drop-shadow(0 2px 0 #12202b) drop-shadow(0 -2px 0 #12202b)
    drop-shadow(0 5px 0 #12202b) drop-shadow(0 0 22px rgba(140,200,255,.4));
}
.boot{display:flex;flex-direction:column;align-items:center;line-height:.84}
.boot__kick{
  margin:0 0 6px;font-size:9px;letter-spacing:.34em;color:#ffe6a8;opacity:.9;
}
.boot__a,.boot__b{display:block;text-transform:uppercase;letter-spacing:.01em}
.boot__a{font-size:clamp(38px,11.5vw,58px)}
.boot__b{font-size:clamp(50px,15vw,76px);margin-top:-.06em}
.boot__cuts{
  display:flex;align-items:flex-end;justify-content:center;gap:0;height:96px;margin:6px 0 2px;
}
.boot__cuts img{
  height:100%;width:auto;
  filter:drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff)
         drop-shadow(0 -2px 0 #fff) drop-shadow(0 8px 16px rgba(0,0,0,.55));
}
.boot__cuts img:nth-child(1){height:74%;margin-right:-14px;opacity:.95}
.boot__cuts img:nth-child(3){height:74%;margin-left:-14px;opacity:.95}
.boot__banner{
  margin:2px 0 0;font-size:clamp(18px,5vw,28px);letter-spacing:.03em;color:var(--yel);
  text-shadow:-2px 0 0 #12202b,2px 0 0 #12202b,0 -2px 0 #12202b,0 2px 0 #12202b,0 5px 0 rgba(0,0,0,.4);
}

/* ================= shop, real brand ================= */
.brandhd{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.brandhd__mark{
  width:62px;height:62px;flex:none;border-radius:16px;background:#0f1b22;
  object-fit:contain;padding:4px;box-shadow:0 3px 0 rgba(0,0,0,.12);
}
.sub--tight{margin-bottom:0}
.shop{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.prod{margin:0}
.prod__shot{
  position:relative;aspect-ratio:1/1.08;border-radius:16px;overflow:hidden;
  background:linear-gradient(180deg,#e4ded1,#cfc8b8);display:grid;place-items:center;
  box-shadow:0 2px 0 rgba(0,0,0,.07);
}
.prod__tee{width:96%;height:auto;display:block}
.prod__tag{
  position:absolute;top:9px;left:9px;font-size:8px;letter-spacing:.16em;
  background:var(--ink);color:#fff;border-radius:5px;padding:3px 7px;
}
.prod h3{margin:10px 0 2px;font-size:13px;line-height:1.25}
.prod__meta{margin:0 0 4px;font-size:11px;color:var(--ink2)}
.prod__price{margin:0;font-size:11px;letter-spacing:.06em;color:var(--ink)}
.prod__price s{color:#a9bac6;margin-right:6px}
.prod__price b{color:var(--red);letter-spacing:.12em;font-size:10px}

/* ================= drawn icons, no emoji ================= */
.ico{width:19px;height:19px;fill:currentColor;display:block}
.ico__off{opacity:0}
.is-off .ico__wave{opacity:0}
.is-off .ico__off{opacity:1}
.deskbar__mute{display:flex;align-items:center;gap:7px}
.deskbar__mute .ico{width:15px;height:15px}
.mute{display:grid;place-items:center;color:var(--ink2)}
.dict__say{display:grid;place-items:center;color:var(--pink)}

/* level cleared wave */
.splashmark{width:132px;height:auto;animation:bob 1.8s ease-in-out infinite}

/* life pips */
.hud__lives{display:flex;gap:4px;margin-top:5px}
.pip{
  width:11px;height:10px;display:block;background:rgba(255,255,255,.42);
  border-radius:50% 50% 45% 45%;position:relative;
  clip-path:path("M5.5 10C1 6.6 0 4.4 0 2.9 0 1.2 1.2 0 2.8 0c1 0 1.9.5 2.7 1.5C6.3.5 7.2 0 8.2 0 9.8 0 11 1.2 11 2.9c0 1.5-1 3.7-5.5 7.1z");
}
.pip--on{background:#ff5f7a;box-shadow:0 0 8px rgba(255,95,122,.6)}

/* leaderboard medals without emoji */
.row__r--medal{
  font-weight:700;color:#fff;background:#c6a02a;border-radius:50%;
  width:24px;height:24px;line-height:24px;margin:0 auto;font-size:12px;
}
.row:nth-child(1) .row__r--medal{background:#e0b32b}
.row:nth-child(2) .row__r--medal{background:#a9b4bd}
.row:nth-child(3) .row__r--medal{background:#c98b56}

/* ================= power ups ================= */
.hud__right{display:flex;flex-direction:column;align-items:flex-end;gap:6px;margin-right:42px}
.hud__power{
  font-size:10px;letter-spacing:.14em;color:#fff;border-radius:999px;padding:5px 11px;
  box-shadow:0 3px 0 rgba(0,0,0,.16);animation:powpulse .9s ease-in-out infinite;
}
.hud__power[hidden]{display:none}
.hud__power--star{background:linear-gradient(90deg,#ff5f7a,#ffd93d,#5fe0a0,#6fc8ff,#c98fff);
  background-size:300% 100%;animation:powpulse .9s ease-in-out infinite,rainbow 1.6s linear infinite;color:#22323e}
.hud__power--turbo{background:#37b3ff}
.hud__power--shield{background:#8fe3ff;color:#22323e}
@keyframes powpulse{50%{transform:scale(1.06)}}
@keyframes rainbow{to{background-position:300% 0}}

/* ================= tutorial ================= */
.helpbtn{
  width:30px;height:30px;border-radius:50%;display:grid;place-items:center;
  background:rgba(255,255,255,.85);box-shadow:0 3px 0 rgba(0,0,0,.16);
}
.helpbtn svg{width:17px;height:17px;fill:var(--ink2)}
.helpbtn:active{transform:translateY(2px);box-shadow:0 1px 0 rgba(0,0,0,.16)}

.card--tut{gap:10px;background:rgba(10,40,52,.72)}
.tut__kick{margin:0;font-size:10px;letter-spacing:.3em;color:var(--yel)}
.tut__art{width:132px;height:112px;display:grid;place-items:center}
.tut__art svg{width:100%;height:100%;overflow:visible}
.tut__t{margin:0;font-size:26px;color:#fff;text-shadow:0 3px 0 rgba(0,0,0,.28)}
.tut__d{margin:0;font-size:13px;line-height:1.55;color:rgba(255,255,255,.9);max-width:27ch}
.tut__dots{display:flex;gap:6px;margin:4px 0 2px}
.tut__dots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.28)}
.tut__dots i.on{background:var(--yel);transform:scale(1.2)}
.boot__sub{
  margin:5px 0 0;font-size:clamp(9px,2.3vw,12px);letter-spacing:.3em;
  color:#fff;opacity:.88;
}
/* tutorial uses the real character */
.tut__art{position:relative;width:150px;height:120px}
.tut__hero{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:96px;height:96px;object-fit:contain;
  filter:drop-shadow(0 6px 10px rgba(0,0,0,.35));
}
.tut__art svg{position:absolute;inset:0;width:100%;height:100%}

/* ================= add to home screen ================= */
.a2hs{
  position:absolute;left:10px;right:10px;bottom:calc(10px + var(--tabh));z-index:40;
  display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:18px;
  background:rgba(255,255,255,.92);backdrop-filter:blur(18px) saturate(1.6);
  -webkit-backdrop-filter:blur(18px) saturate(1.6);
  box-shadow:0 10px 30px rgba(0,0,0,.28),0 0 0 1px rgba(0,0,0,.06);
  animation:a2hsIn .45s cubic-bezier(.2,1.3,.4,1);
}
.a2hs[hidden]{display:none}
@keyframes a2hsIn{from{opacity:0;transform:translateY(14px)}}
.a2hs__icon{width:40px;height:40px;border-radius:11px;flex:none}
.a2hs__txt{display:flex;flex-direction:column;gap:1px;min-width:0}
.a2hs__txt b{font-size:12.5px;color:var(--ink)}
.a2hs__txt span{font-size:11px;color:var(--ink2);line-height:1.35}
.a2hs__go{
  margin-left:auto;flex:none;background:var(--lag);color:#fff;border-radius:999px;
  padding:8px 14px;font-size:11px;letter-spacing:.1em;box-shadow:0 3px 0 #1d7a63;
}
.a2hs__x{flex:none;width:26px;height:26px;color:#9db0be;display:grid;place-items:center;margin-left:auto}
.a2hs__go + .a2hs__x{margin-left:0}
.a2hs__x svg{width:16px;height:16px}

/* bootleg logo now uses the drawn mascot, not photo cutouts */
.boot__cuts{gap:2px}
.boot__cuts img{
  filter:drop-shadow(0 6px 12px rgba(0,0,0,.45));
}
.boot__cuts img:nth-child(1),.boot__cuts img:nth-child(3){height:62%;opacity:.92}
.boot__cuts img:nth-child(1){transform:scaleX(-1)}

/* stop iOS double tap zoom dead */
.stage,#cv{touch-action:none}

/* ================= notify list ================= */
.prod__was{color:#a9bac6;margin-right:8px;font-size:11px}
.notify{
  margin:22px 0 0;padding:18px;border-radius:20px;background:var(--card);
  box-shadow:0 2px 0 rgba(0,0,0,.07);display:grid;gap:9px;justify-items:center;text-align:center;
}
.notify__h{margin:0;font-size:11px;letter-spacing:.18em;color:var(--ink2)}
.notify__row{display:grid;gap:8px;width:100%;max-width:320px}
.notify input{
  width:100%;border:1px solid rgba(0,0,0,.1);border-radius:13px;padding:12px 14px;
  font-size:15px;background:#fff;color:var(--ink);
}
.notify input:focus{outline:2px solid var(--lag);outline-offset:1px}
.notify__fine{margin:0;font-size:10px;line-height:1.5;color:#98abb8;max-width:32ch}
.notify__msg{margin:0;font-size:12px;color:var(--lag2)}
.notify__msg[hidden]{display:none}
.notify.done .notify__row,.notify.done #notifyBtn,.notify.done .notify__fine{display:none}
.row--pinned{margin-top:8px;border:2px dashed rgba(34,135,111,.4);box-shadow:none}

/* ================= the mane himself ================= */
.mane{text-align:center;margin-bottom:20px}
.mane__mark{
  width:96px;height:96px;margin:0 auto 10px;border-radius:26px;
  background:linear-gradient(180deg,#7fd4ef,#37b394);padding:6px;
  box-shadow:0 8px 22px rgba(0,0,0,.18);
}
.mane .sub{margin-left:auto;margin-right:auto;max-width:34ch}

.links{display:grid;gap:10px}
.link{
  display:flex;align-items:center;gap:13px;padding:13px 15px;border-radius:18px;
  background:var(--card);box-shadow:0 2px 0 rgba(0,0,0,.08);
  text-decoration:none;color:var(--ink);transition:transform .12s,box-shadow .12s;
}
.link:active{transform:translateY(2px);box-shadow:0 0 0 rgba(0,0,0,.08)}
.link__ic{
  width:42px;height:42px;flex:none;border-radius:13px;display:grid;place-items:center;color:#fff;
}
.link__ic svg{width:23px;height:23px;fill:currentColor}
.link--tt .link__ic{background:#010101}
.link--ig .link__ic{background:linear-gradient(45deg,#f9ce34,#ee2a7b,#6228d7)}
.link--sp .link__ic{background:#1db954}
.link--tr .link__ic{background:#111}
.link__tx{display:flex;flex-direction:column;gap:1px;min-width:0}
.link__tx b{font-size:15px}
.link__tx i{font-style:normal;font-size:11.5px;color:var(--ink2)}
.link__go{margin-left:auto;font-size:22px;color:#c2cfd8;line-height:1}

/* ================= the note ================= */
.note{margin:34px 0 0;padding-top:20px;border-top:1px dashed rgba(0,0,0,.12)}
.note__tab{
  display:flex;align-items:center;gap:9px;width:100%;padding:6px 0;
  font-size:11.5px;letter-spacing:.06em;color:#a4b6c2;transition:color .2s;
}
.note__tab:hover{color:var(--pink)}
.note__seal{width:22px;height:22px;flex:none;color:#c9d6de;transition:color .2s,transform .4s}
.note__tab:hover .note__seal{color:var(--pink)}
.note.open .note__seal{color:var(--pink);transform:rotate(-12deg) scale(1.1)}
.note__seal svg{width:100%;height:100%;fill:currentColor}
.note__body{
  margin-top:12px;padding:18px 18px 16px;border-radius:18px;
  background:linear-gradient(180deg,#fff6fb,#ffeef7);
  box-shadow:0 2px 0 rgba(0,0,0,.06),0 0 0 1px rgba(255,116,205,.18);
  animation:noteIn .4s cubic-bezier(.2,1.2,.4,1);
}
.note__body[hidden]{display:none}
@keyframes noteIn{from{opacity:0;transform:translateY(-6px)}}
.note__body p{margin:0 0 10px;font-size:13.5px;line-height:1.65;color:#5c4a56}
.note__hi{font-size:15px!important;color:var(--pink)!important;letter-spacing:.02em}
.note__ps{font-size:12px!important;color:#a48b9c!important;font-style:italic}
.note__sig{margin-bottom:0!important;font-size:12.5px!important;color:#8c7583!important;text-align:right}


/* buzzed + beer chips */
.hud__power--lit{background:linear-gradient(90deg,#f5b62e,#ffd93d);color:#22323e}
.hud__power--beer{background:#fffdf6;color:#b57e10;box-shadow:0 3px 0 rgba(0,0,0,.1)}

/* quiet legal links */
.finelink{color:inherit;text-decoration:underline;text-underline-offset:2px}

/* cuter follow chips */
.link{border-radius:20px}
.link__ic{border-radius:14px;box-shadow:inset 0 -3px 0 rgba(0,0,0,.14)}
.link:hover .link__ic{transform:rotate(-4deg) scale(1.05);transition:transform .15s}
.mane__mark{background:#dff3f9}
