/* =========================================================  LIQUID GLASS, SOLID (2026-11-04, the owner: "still liquid in glass, but not transparent")  =========================================================
   Every surface is thick polished glass you cannot see through: "Liquid Pearl" by day, "Liquid Obsidian" in dark mode. Three things make it liquid:
   - a lens highlight on every piece (a soft white bulge at the top) that slides toward your finger while you press (--lx, js/liquid.js)
   - buttons are gel: they squash under the finger and spring back, and a drop of light ripples out from where you touched (.lq-drop)
   - app tiles are coloured jewels (each app's own colour) under a glossy dome, with a slow shine that passes over them now and then
   Nothing is blurred behind (no backdrop-filter): the opposite of see-through, and lighter for the phone's graphics chip than the clear glass.
   body.liquid.liquid.frosted is set with body.frosted by js/ui.js (UI.init); this file comes after style.css and dark.css and only overrides looks. */

body.liquid.liquid.frosted {
  --lq-ink: #10211a; --lq-soft: #4e6158; --lq-acc: #0c8452; --lq-acc2: #12a866;
  --lq-glass: linear-gradient(180deg, #ffffff 0%, #f3f7f5 52%, #e5ede8 100%);
  --lq-glass-hi: linear-gradient(180deg, #ffffff 0%, #f7faf8 60%, #edf3ef 100%);
  --lq-lens: radial-gradient(130% 75% at var(--lx, 26%) -12%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .35) 34%, rgba(255, 255, 255, 0) 58%);
  --lq-rim: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255, 255, 255, .55), inset 0 -10px 18px -12px rgba(0, 70, 40, .22);
  --lq-edge: rgba(10, 60, 35, .11);
  --lq-drop: 0 16px 32px -18px rgba(0, 40, 22, .5), 0 3px 8px -3px rgba(0, 40, 22, .16);
  --lq-gel: linear-gradient(180deg, #2bc982 0%, #12a265 42%, #0b7d4c 100%);
  --lq-gel-rim: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -7px 12px -6px rgba(0, 40, 20, .6), inset 0 0 0 1px rgba(255, 255, 255, .12);
  --lq-gel-drop: 0 12px 24px -12px rgba(10, 111, 68, .85), 0 2px 4px -1px rgba(10, 80, 50, .3);
  --lq-screen: linear-gradient(180deg, #f6f9f7 0%, #edf3ef 100%);
  --lq-well: linear-gradient(180deg, #e9efeb, #f4f8f5);
}
html.dark body.liquid.liquid.frosted {
  --lq-ink: #e9f1ec; --lq-soft: #9fb3a8; --lq-acc: #3fd690; --lq-acc2: #63e3a6;
  --lq-glass: linear-gradient(180deg, #2a3832 0%, #1b2621 52%, #131b17 100%);
  --lq-glass-hi: linear-gradient(180deg, #31403a 0%, #212d27 60%, #18211c 100%);
  --lq-lens: radial-gradient(130% 75% at var(--lx, 26%) -12%, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .07) 34%, rgba(255, 255, 255, 0) 58%);
  --lq-rim: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(255, 255, 255, .05), inset 0 -12px 20px -12px rgba(63, 214, 144, .28);
  --lq-edge: rgba(255, 255, 255, .07);
  --lq-drop: 0 18px 36px -16px rgba(0, 0, 0, .85), 0 3px 8px -3px rgba(0, 0, 0, .5);
  --lq-screen: linear-gradient(180deg, #121a16 0%, #0d1411 100%);
  --lq-well: linear-gradient(180deg, #0f1613, #18211c);
}

/* ---------- the game screen: the top bar, needs, wallet, home, "now", the dock, the map buttons ---------- */
html body.liquid.liquid.frosted #topbar, html body.liquid.liquid.frosted #needs, html body.liquid.liquid.frosted #walletbar, html body.liquid.liquid.frosted #homebar, html body.liquid.liquid.frosted #now, html body.liquid.liquid.frosted #dock,
html body.liquid.liquid.frosted #zoom button, html body.liquid.liquid.frosted #clearbtn, html body.liquid.liquid.frosted #shotbtn {
  background: var(--lq-lens), var(--lq-glass); -webkit-backdrop-filter: none; backdrop-filter: none;
  border: 1px solid var(--lq-edge); box-shadow: var(--lq-rim), var(--lq-drop); color: var(--lq-ink);
}
html body.liquid.liquid.frosted .chip.time, html body.liquid.liquid.frosted .chip.money, html body.liquid.liquid.frosted .chip.mood {
  background: var(--lq-well); box-shadow: inset 0 1px 2px rgba(0, 40, 20, .14), inset 0 -1px 0 rgba(255, 255, 255, .8); color: var(--lq-ink);
}
html.dark body.liquid.liquid.frosted .chip.time, html.dark body.liquid.liquid.frosted .chip.money, html.dark body.liquid.liquid.frosted .chip.mood { box-shadow: inset 0 1px 3px rgba(0, 0, 0, .55), inset 0 -1px 0 rgba(255, 255, 255, .06); }
html body.liquid.liquid.frosted .chip.money { color: var(--lq-acc); }
/* the need bars: liquid filling a glass tube */
html body.liquid.liquid.frosted .need .bar { height: 7px; background: var(--lq-well); box-shadow: inset 0 1px 2px rgba(0, 40, 20, .2); border-radius: 99px; overflow: hidden; }
html body.liquid.liquid.frosted .need .bar > * { border-radius: 99px; background-image: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 55%) !important; background-blend-mode: normal; box-shadow: inset 0 -1px 1px rgba(0, 0, 0, .15); }
html body.liquid.liquid.frosted #dock { border-radius: 30px; }
html body.liquid.liquid.frosted #dock button { transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
html body.liquid.liquid.frosted #dock button:active { transform: scale(.9); }

/* ---------- buttons: gel ---------- */
html body.liquid.liquid.frosted .btn.btn {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at var(--lx, 50%) -20%, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, .12) 38%, rgba(255, 255, 255, 0) 55%), var(--lq-gel);
  box-shadow: var(--lq-gel-rim), var(--lq-gel-drop); color: #fff; text-shadow: 0 1px 1px rgba(0, 50, 25, .35);
  transition: transform .42s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s;
}
html body.liquid.liquid.frosted .btn.btn:active:not(:disabled) { transform: scale(.96, .9); box-shadow: var(--lq-gel-rim), 0 4px 10px -6px rgba(10, 111, 68, .8); transition-duration: .12s; }
html body.liquid.liquid.frosted .btn.alt {
  background: radial-gradient(120% 90% at var(--lx, 50%) -20%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 55%), var(--lq-glass-hi);
  color: var(--lq-acc); text-shadow: none; box-shadow: var(--lq-rim), 0 0 0 1px var(--lq-edge), 0 8px 18px -12px rgba(0, 40, 22, .45);
}
html body.liquid.liquid.frosted .btn.gold { background: radial-gradient(120% 90% at var(--lx, 50%) -20%, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, 0) 55%), linear-gradient(180deg, #ffd96b 0%, #f3b532 45%, #d9921a 100%); color: #3a2500; text-shadow: 0 1px 0 rgba(255, 255, 255, .4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -7px 12px -6px rgba(120, 70, 0, .55), 0 12px 24px -12px rgba(176, 120, 10, .85); }
html body.liquid.liquid.frosted .btn.red { background: radial-gradient(120% 90% at var(--lx, 50%) -20%, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 55%), linear-gradient(180deg, #ff7b80 0%, #e94b52 45%, #c7333a 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -7px 12px -6px rgba(110, 10, 20, .55), 0 12px 24px -12px rgba(200, 50, 56, .85); }
html body.liquid.liquid.frosted .btn.btn:disabled { background: var(--lq-well); color: rgba(16, 33, 26, .38); text-shadow: none; box-shadow: inset 0 1px 2px rgba(0, 40, 20, .15); }
html.dark body.liquid.liquid.frosted .btn.alt { color: var(--lq-acc); }
html.dark body.liquid.liquid.frosted .btn.btn:disabled { color: rgba(233, 241, 236, .35); }

/* the drop of light where a finger touched (js/liquid.js puts it in) */
.lq-drop { position: absolute; left: var(--dx); top: var(--dy); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, .25) 45%, rgba(255, 255, 255, 0) 70%); animation: lqDrop .62s cubic-bezier(.2, .7, .3, 1) forwards; }
.lq-drop.ink { background: radial-gradient(circle, rgba(18, 168, 102, .28) 0%, rgba(18, 168, 102, .1) 45%, rgba(18, 168, 102, 0) 70%); }
@keyframes lqDrop { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(var(--ds, 26)); opacity: 0; } }

/* ---------- the phone ---------- */
html body.liquid.liquid.frosted .phone .pdock { background: var(--lq-lens), linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(236, 243, 239, .9)); -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 1px 0 #fff, inset 0 -10px 18px -12px rgba(0, 70, 40, .25), 0 16px 32px -16px rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .7); }
html.dark body.liquid.liquid.frosted .phone .pdock { background: var(--lq-lens), linear-gradient(180deg, rgba(42, 56, 50, .96), rgba(19, 27, 23, .96)); border-color: rgba(255, 255, 255, .08); }
html body.liquid.liquid.frosted .phone .pdock .app .al { display: none; }
/* app tiles: coloured jewels under a glossy dome */
html body.liquid.liquid.frosted .phone .app .ic.fr {
  width: 60px; height: 60px; border-radius: 17px; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; position: relative; overflow: hidden;
  background: radial-gradient(120% 70% at 30% -8%, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .22) 36%, rgba(255, 255, 255, 0) 56%), var(--tile, linear-gradient(145deg, #2bc982, #0b7d4c));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -10px 16px -8px rgba(0, 0, 0, .38), inset 0 0 0 1px rgba(255, 255, 255, .14), 0 10px 18px -10px rgba(0, 0, 0, .7), 0 2px 3px -1px rgba(0, 0, 0, .35);
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
}
html body.liquid.liquid.frosted .phone .app .ic.fr::after { content: ''; position: absolute; inset: -40% auto -40% -60%; width: 45%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .45), rgba(255, 255, 255, 0)); transform: translateX(-120%) skewX(-12deg); animation: lqShine 9s ease-in-out infinite; animation-delay: var(--sd, 0s); pointer-events: none; }
@keyframes lqShine { 0%, 82% { transform: translateX(-120%) skewX(-12deg); } 96%, 100% { transform: translateX(520%) skewX(-12deg); } }
html body.liquid.liquid.frosted .phone .app .ic.fr svg.ico { width: 29px; height: 29px; stroke-width: 2; filter: drop-shadow(0 1.5px 1.5px rgba(0, 0, 0, .35)); position: relative; z-index: 1; }
html body.liquid.liquid.frosted .phone .app:active .ic.fr { transform: scale(.88); transition-duration: .12s; }
html body.liquid.liquid.frosted .phone .pdock .app .ic.fr { width: 62px; height: 62px; }
/* the few apps still drawn with their own picture get the same dome */
html body.liquid.liquid.frosted .phone .app .ic:not(.fr) { position: relative; overflow: hidden; border-radius: 17px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -10px 16px -8px rgba(0, 0, 0, .35), 0 10px 18px -10px rgba(0, 0, 0, .7); }
html body.liquid.liquid.frosted .phone .app .ic:not(.fr)::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 70% at 30% -8%, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, .18) 36%, rgba(255, 255, 255, 0) 56%); pointer-events: none; }
/* widgets: thick glass slabs */
html body.liquid.liquid.frosted .phone .wid { -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -14px 24px -14px rgba(0, 0, 0, .4), 0 16px 28px -16px rgba(0, 0, 0, .7); }
html body.liquid.liquid.frosted .phone .wid:not([style*="background"]) { background: radial-gradient(120% 70% at 26% -10%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 55%), linear-gradient(160deg, #1c8f5c, #0b5a39); }
html body.liquid.liquid.frosted .phone .lwb { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--lq-lens), var(--lq-glass); color: var(--lq-ink); box-shadow: var(--lq-rim), var(--lq-drop); border: 1px solid var(--lq-edge); }
html body.liquid.liquid.frosted .phone .lwb .lwk { color: var(--lq-acc); } html body.liquid.liquid.frosted .phone .lwb .lwl { color: var(--lq-soft); }
html body.liquid.liquid.frosted .phone .lwb .lwc, html body.liquid.liquid.frosted .phone .lwb .lwc * { color: var(--lq-soft); }
html body.liquid.liquid.frosted .phone .pall { -webkit-backdrop-filter: none; backdrop-filter: none; color: #fff; border: 1px solid rgba(255, 255, 255, .14); position: relative; overflow: hidden;
  background: radial-gradient(130% 80% at var(--lx, 50%) -20%, rgba(255, 255, 255, .32) 0%, rgba(255, 255, 255, .06) 38%, rgba(255, 255, 255, 0) 58%), linear-gradient(180deg, #2f4a3d 0%, #18291f 60%, #0f1c15 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 -10px 16px -10px rgba(0, 0, 0, .6), 0 12px 24px -14px rgba(0, 0, 0, .8); transition: transform .4s cubic-bezier(.34, 1.56, .64, 1); }
html body.liquid.liquid.frosted .phone .pall:active { transform: scale(.97, .92); transition-duration: .1s; }
/* the app screens: pearl paper, cards as glass slabs */
html body.liquid.liquid.frosted .phone .screen { background: var(--lq-screen); }
html body.liquid.liquid.frosted .phone .screen.xw { background: var(--x-bg); }          /* (2026-11-10) Invest keeps its own dark exchange look: its writing is light (it was light on light) */
html body.liquid.liquid.frosted .phone .screen .card, html body.liquid.liquid.frosted .phone .screen .oa-card, html body.liquid.liquid.frosted .phone .screen .oa-row, html body.liquid.liquid.frosted .phone .screen .oa-prof, html body.liquid.liquid.frosted .phone .screen .cl-card {
  background: var(--lq-lens), var(--lq-glass-hi); border: 1px solid var(--lq-edge); box-shadow: var(--lq-rim), 0 10px 22px -16px rgba(0, 40, 22, .42); color: var(--lq-ink);
}
html body.liquid.liquid.frosted .phone .screen .act { background: var(--lq-lens), var(--lq-glass-hi); border: 1px solid var(--lq-edge); box-shadow: var(--lq-rim), 0 8px 18px -14px rgba(0, 40, 22, .4); position: relative; overflow: hidden; transition: transform .4s cubic-bezier(.34, 1.56, .64, 1); }
html body.liquid.liquid.frosted .phone .screen .act:active { transform: scale(.975); transition-duration: .1s; }
html body.liquid.liquid.frosted .phone .pbtn { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--lq-lens), var(--lq-glass); color: var(--lq-acc); box-shadow: var(--lq-rim), var(--lq-drop); border: 1px solid var(--lq-edge); position: relative; overflow: hidden; }
html body.liquid.liquid.frosted .phone .screen .pbtn { background: var(--lq-lens), var(--lq-glass-hi); }
html body.liquid.liquid.frosted .phone .screen .inp, html body.liquid.liquid.frosted .phone .screen input[type="text"], html body.liquid.liquid.frosted .phone .screen input:not([type]), html body.liquid.liquid.frosted .phone .screen textarea, html body.liquid.liquid.frosted .phone .screen select {
  background: var(--lq-well); border: 1px solid var(--lq-edge); box-shadow: inset 0 2px 4px rgba(0, 40, 20, .1); color: var(--lq-ink);
}
html.dark body.liquid.liquid.frosted .phone .screen .inp, html.dark body.liquid.liquid.frosted .phone .screen input, html.dark body.liquid.liquid.frosted .phone .screen textarea { box-shadow: inset 0 2px 4px rgba(0, 0, 0, .45); }

/* ---------- place cards, pop-ups, the room welcome card, toasts ---------- */
html body.liquid.liquid.frosted .sheet { background: var(--lq-lens), var(--lq-glass-hi); -webkit-backdrop-filter: none; backdrop-filter: none; border: 1px solid var(--lq-edge); border-bottom: 0; box-shadow: inset 0 1px 0 #fff, 0 -14px 36px -18px rgba(0, 30, 15, .5); }
html.dark body.liquid.liquid.frosted .sheet { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 -14px 36px -18px rgba(0, 0, 0, .8); }
html body.liquid.liquid.frosted .act { background: var(--lq-lens), var(--lq-glass); border: 1px solid var(--lq-edge); box-shadow: var(--lq-rim), 0 8px 18px -14px rgba(0, 40, 22, .4); position: relative; overflow: hidden; transition: transform .4s cubic-bezier(.34, 1.56, .64, 1); }
html body.liquid.liquid.frosted .act:active { transform: scale(.975); transition-duration: .1s; background: var(--lq-lens), var(--lq-glass-hi); }
html body.liquid.liquid.frosted .act .ai { background: radial-gradient(120% 70% at 30% -8%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 56%), linear-gradient(160deg, #d8f2e4, #b6e3ca); box-shadow: inset 0 1px 0 #fff, inset 0 -6px 10px -6px rgba(0, 80, 40, .3); }
html.dark body.liquid.liquid.frosted .act .ai { background: radial-gradient(120% 70% at 30% -8%, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 56%), linear-gradient(160deg, #1d4d36, #12301f); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); }
html body.liquid.liquid.frosted .sheet .roundbtn, html body.liquid.liquid.frosted .sheet .hd .x { background: var(--lq-well); box-shadow: inset 0 1px 2px rgba(0, 40, 20, .15); }
html body.liquid.liquid.frosted .modal { background: rgba(6, 18, 12, .5); }
html body.liquid.liquid.frosted .modal .box { background: var(--lq-lens), var(--lq-glass-hi); -webkit-backdrop-filter: none; backdrop-filter: none; border: 1px solid var(--lq-edge); box-shadow: inset 0 1px 0 #fff, inset 0 -14px 26px -16px rgba(0, 70, 40, .22), 0 30px 70px -24px rgba(0, 20, 10, .6); animation: lqPour .5s cubic-bezier(.34, 1.4, .64, 1); }
html.dark body.liquid.liquid.frosted .modal .box { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 30px 70px -24px rgba(0, 0, 0, .9); }
@keyframes lqPour { 0% { transform: scale(.86, .78); opacity: 0; border-radius: 48px; } 55% { transform: scale(1.02, 1.04); opacity: 1; } 100% { transform: none; } }
html body.liquid.liquid.frosted .hs-card { background: var(--lq-lens), var(--lq-glass-hi); -webkit-backdrop-filter: none; backdrop-filter: none; border: 1px solid var(--lq-edge); box-shadow: inset 0 1px 0 #fff, inset 0 -14px 26px -16px rgba(0, 70, 40, .2), 0 26px 50px -22px rgba(0, 20, 10, .55); }
html.dark body.liquid.liquid.frosted .hs-card { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 26px 50px -22px rgba(0, 0, 0, .85); }
html body.liquid.liquid.frosted .hs-btn.main { position: relative; overflow: hidden; background: radial-gradient(120% 90% at var(--lx, 50%) -20%, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 55%), var(--lq-gel); box-shadow: var(--lq-gel-rim), var(--lq-gel-drop); transition: transform .42s cubic-bezier(.34, 1.56, .64, 1); }
html body.liquid.liquid.frosted .hs-btn.main:active { transform: scale(.97, .92); transition-duration: .12s; }
html body.liquid.liquid.frosted .hs-row button { position: relative; overflow: hidden; background: radial-gradient(120% 90% at var(--lx, 50%) -20%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 55%), var(--lq-glass-hi); color: var(--lq-acc); box-shadow: var(--lq-rim), 0 0 0 1px var(--lq-edge), 0 8px 16px -12px rgba(0, 40, 22, .45); transition: transform .42s cubic-bezier(.34, 1.56, .64, 1); }
html body.liquid.liquid.frosted .hs-row button:active { transform: scale(.95, .9); transition-duration: .12s; }
/* (2026-11-08, the owner: "the bar covering the text") the words follow the GAME's light/dark look, like the glass does: a phone in dark mode made them white on the white glass, and the top line vanished in the shine */
html body.liquid.liquid.frosted .toast.nb .nb-body { color: var(--lq-ink); }
html body.liquid.liquid.frosted .toast.nb .nb-top, html body.liquid.liquid.frosted .toast.nb .nb-top b { color: var(--lq-soft); }
html body.liquid.liquid.frosted .toast.nb { background: var(--lq-lens), var(--lq-glass-hi); -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--lq-ink); border: 1px solid var(--lq-edge); box-shadow: var(--lq-rim), 0 18px 36px -18px rgba(0, 30, 15, .55); animation: lqToast .55s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes lqToast { 0% { transform: translateY(-14px) scale(.9, .8); opacity: 0; } 60% { transform: translateY(2px) scale(1.02, 1.04); opacity: 1; } 100% { transform: none; } }

/* ---------- the street and drive views: their buttons over the 3D world in dark liquid glass (solid, not see-through) ---------- */
html body.liquid.liquid.frosted .s3hud button, html body.liquid.liquid.frosted .rm-top button, html body.liquid.liquid.frosted .rm-dchips button, html body.liquid.liquid.frosted .fkview button, html body.liquid.liquid.frosted .hs-tag {
  background: radial-gradient(130% 75% at var(--lx, 30%) -12%, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .06) 36%, rgba(255, 255, 255, 0) 58%), linear-gradient(180deg, #3b4a43 0%, #1f2a25 55%, #141c18 100%);
  -webkit-backdrop-filter: none; backdrop-filter: none; color: #fff; border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 -8px 14px -8px rgba(0, 0, 0, .6), 0 10px 20px -12px rgba(0, 0, 0, .85); position: relative; overflow: hidden;
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
html body.liquid.liquid.frosted .s3hud button:active, html body.liquid.liquid.frosted .rm-top button:active, html body.liquid.liquid.frosted .rm-dchips button:active { transform: scale(.94, .9); transition-duration: .1s; }
html body.liquid.liquid.frosted .s3hud button.on, html body.liquid.liquid.frosted .rm-dchips button.on { background: radial-gradient(130% 75% at 30% -12%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 58%), var(--lq-gel); }
html body.liquid.liquid.frosted .rm-navfab, html body.liquid.liquid.frosted .rm-dronefab { -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -10px 16px -8px rgba(0, 0, 0, .45), 0 12px 22px -12px rgba(0, 0, 0, .85); }

/* ---------- the Live app (js/onair.js) keeps its dark room; its bars in the same glass ---------- */
html body.liquid.liquid.frosted .oa-say, html body.liquid.liquid.frosted .oa-b { background: radial-gradient(130% 75% at 30% -12%, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 58%), linear-gradient(180deg, rgba(60, 74, 68, .92), rgba(24, 32, 28, .92)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 20px -12px rgba(0, 0, 0, .8); }
html body.liquid.liquid.frosted .oa-gift { background: radial-gradient(120% 90% at 50% -20%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 55%), linear-gradient(180deg, #ffd96b 0%, #f3b532 45%, #d9921a 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -7px 12px -6px rgba(120, 70, 0, .55), 0 12px 24px -12px rgba(176, 120, 10, .85); }
html body.liquid.liquid.frosted .oa-panel { background: var(--lq-lens), linear-gradient(180deg, #ffffff, #eef4f0); }
html.dark body.liquid.liquid.frosted .oa-panel { background: var(--lq-lens), var(--lq-glass-hi); color: var(--lq-ink); }

/* a weak phone (html.lite) keeps the look but no moving shine (the body.liquid.liquid.frosted selectors outweigh style.css's html.lite rules) */
html.lite body.liquid.liquid.frosted .phone .app .ic.fr::after { display: none; }
@media (prefers-reduced-motion: reduce) { html body.liquid.liquid.frosted .phone .app .ic.fr::after { display: none; } .lq-drop { display: none; } html body.liquid.liquid.frosted .modal .box, html body.liquid.liquid.frosted .toast.nb { animation: none; } }

/* ---------- (2026-11-04 night, the owner's iPhone screenshots) ---------- */
/* 1. a long press must never select the game's words (the blue handles and the Copy / Look Up / Translate bar covered everything):
      nothing in the game is selectable except the places you type in */
html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, select, [contenteditable="true"], [contenteditable=""] { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
/* 2. the top of every phone screen: its header is solid glass right up to the top of the iPhone (under the clock), no dark band */
html body.liquid.liquid.frosted .phone .screen .hd2 { background: var(--lq-lens), var(--lq-glass-hi); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: inset 0 -1px 0 var(--lq-edge), 0 8px 18px -14px rgba(0, 30, 15, .4); position: relative; z-index: 4; }
html body.liquid.liquid.frosted .phone .screen.aurora .hd2 { background: radial-gradient(130% 75% at 26% -12%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 58%), linear-gradient(180deg, #17372a 0%, #0f281d 100%); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08), 0 10px 20px -14px rgba(0, 0, 0, .8); }
@media (max-width: 899px) { html body.liquid.liquid.frosted .phone { background: #0f281d; } }
/* 3. messages that pop up while the phone is open sit low, above the typing bar, never over the screen's header and its back button */
body.phone-open #toasts { top: auto !important; bottom: calc(var(--safe-b, 0px) + 92px); }
/* (2026-11-10) the chat screens' header is painted dark green in both looks: its title and back arrow are white (the title was dark on dark) */
html body.liquid.liquid.frosted .phone .screen.aurora .hd2 h2, html body.liquid.liquid.frosted .phone .screen.aurora .hd2 .back { color: #f3f5ff; }
html body.liquid.liquid.frosted .phone .screen.aurora .hd2 .chtx b, html body.liquid.liquid.frosted .phone .screen.aurora .hd2 .hd2t { color: #f3f5ff; } html body.liquid.liquid.frosted .phone .screen.aurora .hd2 .chtx small { color: rgba(243, 245, 255, .7); }
html body.liquid.liquid.frosted .phone .screen.xw .hd2 { background: var(--x-bg); box-shadow: inset 0 -1px 0 var(--x-line); }

/* =========================================================  POP CHAT (2026-11-14, the owner's video: "smooth and clean, ours should be better")  =========================================================
   The chat (list + every conversation) as a game phone messenger: a deep green screen, your messages in warm orange bubbles with dark
   text, theirs in soft green-grey, each person's name in their own colour, a reaction sits on the bubble's corner like a sticker, the quick
   buttons are gold pills over the message box, a round orange send button, a gold glow while you type, "• • •" while your friend types,
   new bubbles pop in. The same in light and dark mode (it is a dark phone screen). #phone wins over every older chat rule (Aurora Glass,
   liquid, dark.css), which only use classes. A slow phone (html.lite) and "reduce motion" skip the pops. */
#phone .screen.aurora, html.dark #phone .screen.aurora {
  --aur-base: var(--pcb1, #17241b); --aur-ink: #f2f6ef; --aur-soft: rgba(242, 246, 239, .62); --aur-glass: rgba(255, 255, 255, .05); --aur-glass2: rgba(255, 255, 255, .08);
  --aur-edge: rgba(255, 255, 255, .09); --aur-hi: rgba(255, 255, 255, .06); --aur-drop: rgba(0, 0, 0, .35); --aur-name: #5eead4; --aur-time: rgba(242, 246, 239, .5);
  --aur-in: var(--pci, #36463a); --aur-in-ink: #f2f6ef; --aur-out: linear-gradient(180deg, var(--pcm1, #ffbb3a), var(--pcm2, #f7941d)); --aur-out-edge: transparent; --aur-out-ink: #3a1d00;
  --pc-in: var(--pci, #36463a); --pc-out: #f9a12a; --pc-acc: #ffa733; --pc-gold: #f2c14e; --pc-ink2: #3a1d00; --pc-bar: var(--pcbar, #111b14);
  background: radial-gradient(120% 60% at 50% 0%, var(--pcbg, #22362a) 0%, transparent 70%), linear-gradient(180deg, var(--pcbt, #1b2a20) 0%, var(--pcbb, #142019) 100%); color: var(--aur-ink);
  font-family: 'Outfit', var(--display, system-ui), sans-serif;
}
#phone .screen.aurora > .aur { display: none; }
/* the top bar: the orange back arrow, the person in a green ring, a white name */
#phone .screen.aurora .hd2 { background: rgba(10, 18, 13, .55); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .07); -webkit-backdrop-filter: none; backdrop-filter: none; }
#phone .screen.aurora .hd2 .back { color: var(--pc-acc); }
#phone .screen.aurora .hd2 h2, #phone .screen.aurora .hd2 .chtx b { color: #fff; font-family: 'Outfit', var(--display), sans-serif; font-weight: 800; letter-spacing: .01em; }
#phone .screen.aurora .hd2 .chtx small { color: var(--aur-soft); } #phone .screen.aurora .hd2 .chtx small.on { color: #86efac; }
#phone .screen.aurora .hd2 .chav { box-shadow: 0 0 0 2.5px var(--pcb1, #17241b), 0 0 0 4.5px #4ade80; }
#phone .screen.aurora .hd2 .chav.ic { box-shadow: 0 0 0 2.5px var(--pcb1, #17241b), 0 0 0 4.5px var(--pc-gold); }
/* the conversation */
#phone .screen.aurora .chatwrap { background: transparent; }
#phone .screen.aurora .chatlog { gap: 3px; padding: 12px 12px 14px; }
#phone .screen.aurora .chatlog .msg { position: relative; }
#phone .screen.aurora .chatlog .msg:not(.cont) { margin-top: 9px; }
#phone .screen.aurora .chatlog .msg .mc { background: var(--pc-in); color: var(--aur-in-ink); border: 0; box-shadow: 0 2px 0 rgba(0, 0, 0, .18); border-radius: 18px; padding: 7px 12px 7px 12px; }
#phone .screen.aurora .chatlog .msg.mine .mc { background: linear-gradient(180deg, var(--pcm1, #ffbb3a), var(--pcm2, #f7941d)); color: var(--pcmi, #3a1d00); box-shadow: 0 2px 0 rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .35); }
#phone .screen.aurora .chatlog .msg p, #phone .screen.aurora .chatlog .msg .cap { font-family: 'Outfit', var(--display), sans-serif; font-weight: 600; font-size: 14.5px; letter-spacing: .005em; color: inherit; }
#phone .screen.aurora .chatlog .msg.mine p { color: var(--pcmi, #3a1d00); }
/* bubbles of one run hug each other; the last one of a run has the little tail at the bottom, like a speech bubble */
#phone .screen.aurora .chatlog .msg.more:not(.mine) .mc { border-bottom-left-radius: 7px; } #phone .screen.aurora .chatlog .msg.cont:not(.mine) .mc { border-top-left-radius: 7px; }
#phone .screen.aurora .chatlog .msg.more.mine .mc { border-bottom-right-radius: 7px; } #phone .screen.aurora .chatlog .msg.cont.mine .mc { border-top-right-radius: 7px; }
#phone .screen.aurora .chatlog .msg:not(.more):not(.mine) .mc { border-bottom-left-radius: 4px; } #phone .screen.aurora .chatlog .msg.mine:not(.more) .mc { border-bottom-right-radius: 4px; }
#phone .screen.aurora .chatlog .msg .mc::before { display: none; }
#phone .screen.aurora .chatlog .msg:not(.more):not(.big):not(.media) .mc:not(:has(.stkwrap)):not(:has(.voice))::after { content: ''; position: absolute; bottom: 0; left: -6px; width: 12px; height: 12px; background: var(--pc-in); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
#phone .screen.aurora .chatlog .msg.mine:not(.more):not(.big):not(.media) .mc:not(:has(.stkwrap)):not(:has(.voice))::after { left: auto; right: -6px; background: var(--pcm2, #f7941d); clip-path: polygon(0 0, 100% 100%, 0 100%); }
/* the name over their bubbles, in that person's own colour (js/online-ui.js NAMEC) */
#phone .screen.aurora .chatlog .msg .nm { color: var(--nc, #5eead4); font-family: 'Outfit', var(--display), sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .02em; }
#phone .screen.aurora .chatlog .msg.mine .nm.mynm { color: var(--pcms, rgba(58, 29, 0, .62)); }
#phone .screen.aurora .chatlog .msg .av { box-shadow: 0 0 0 2px var(--pcb1, #17241b), 0 0 0 3.5px var(--nc, #4ade80); }
/* time and ticks */
#phone .screen.aurora .chatlog .msg .mt { color: rgba(242, 246, 239, .5); font-family: 'Outfit', var(--display), sans-serif; }
#phone .screen.aurora .chatlog .msg.mine .mt, #phone .screen.aurora .chatlog .msg.mine .tk { color: var(--pcms, rgba(58, 29, 0, .58)); }
#phone .screen.aurora .chatlog .msg.mine .tk.read, #phone .screen.aurora .chatlog .msg.mine .tk.seen { color: var(--pcmr, #075985); }
#phone .screen.aurora .chatlog .msg.big .mt, #phone .screen.aurora .chatlog .msg.media .mt { background: rgba(0, 0, 0, .45); color: #fff; border: 0; }
#phone .screen.aurora .chatlog .msg.big .tk, #phone .screen.aurora .chatlog .msg.media .tk { color: #fff; }
#phone .screen.aurora .chatlog .msg.mine.media .mc:has(.cap) .mt { background: none; color: var(--pcms, rgba(58, 29, 0, .58)); }
/* a reply inside a bubble */
#phone .screen.aurora .chatlog .msg .rq { background: rgba(0, 0, 0, .18); border-left-color: var(--nc, #5eead4); }
#phone .screen.aurora .chatlog .msg:not(.mine) .rq b { color: #5eead4; } #phone .screen.aurora .chatlog .msg:not(.mine) .rq span { color: var(--aur-soft); }
#phone .screen.aurora .chatlog .msg.mine .rq { background: rgba(0, 0, 0, .14); border-left-color: var(--pcmi, #7a3700); } #phone .screen.aurora .chatlog .msg.mine .rq b { color: var(--pcmi, #6b2f00); } #phone .screen.aurora .chatlog .msg.mine .rq span { color: var(--pcms, rgba(58, 29, 0, .75)); }
/* voice notes */
#phone .screen.aurora .voice { background: var(--pc-in); color: var(--aur-ink); border: 0; box-shadow: 0 2px 0 rgba(0, 0, 0, .18); }
#phone .screen.aurora .msg.mine .voice { background: linear-gradient(180deg, var(--pcm1, #ffbb3a), var(--pcm2, #f7941d)); color: var(--pcmi, #3a1d00); }
#phone .screen.aurora .msg.mine .voice .vp { background: var(--pcmi, #3a1d00); color: var(--pcm2, #ffbb3a); }
#phone .screen.aurora .msg.mine .vwave i { background: var(--pcms, rgba(58, 29, 0, .3)); opacity: .5; } #phone .screen.aurora .msg.mine .vwave i.on { background: var(--pcmi, #3a1d00); opacity: 1; }
/* reactions: a white sticker on the bubble's top corner (theirs on the right, yours on the left), like the video */
#phone .screen.aurora .chatlog .msg:has(> .rx) { margin-top: 16px; }
#phone .screen.aurora .chatlog .rx { position: absolute; top: -13px; right: -6px; margin: 0; gap: 3px; z-index: 2; flex-wrap: nowrap; }
#phone .screen.aurora .chatlog .msg.mine .rx { right: auto; left: -8px; }
#phone .screen.aurora .chatlog .rx button { height: 26px; min-width: 26px; padding: 0 6px; font-size: 14px; background: #fff; color: #1b2a20; border: 0; border-radius: 99px; box-shadow: 0 0 0 2px var(--pcb1, #17241b), 0 3px 8px rgba(0, 0, 0, .35); justify-content: center; animation: pcstick .38s cubic-bezier(.34, 1.7, .5, 1) both; }
#phone .screen.aurora .chatlog .rx button b { color: #3a4a3e; }
#phone .screen.aurora .chatlog .rx button.on { background: #fff4d6; box-shadow: 0 0 0 2px var(--pc-gold), 0 3px 8px rgba(0, 0, 0, .35); }
@keyframes pcstick { from { transform: scale(.2) rotate(-25deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }
/* the day, "new messages", the jump-down button */
#phone .screen.aurora .chatlog .chatday { background: none; border: 0; box-shadow: none; color: rgba(242, 246, 239, .48); font-family: 'Outfit', var(--display), sans-serif; font-weight: 700; font-size: 11.5px; letter-spacing: .03em; padding: 2px 10px; margin: 12px 0 4px; }
#phone .screen.aurora .newline { color: var(--pc-acc); } #phone .screen.aurora .newline::before, #phone .screen.aurora .newline::after { background: rgba(255, 167, 51, .55); }
#phone .screen.aurora .newline span { background: var(--pcb1, #17241b); border: 1px solid rgba(255, 167, 51, .5); color: var(--pc-acc); }
#phone .screen.aurora .tolatest, #phone .screen.aurora .csbtn { background: #2a3a2e; color: var(--pc-acc); border: 1px solid rgba(255, 167, 51, .35); box-shadow: 0 6px 16px rgba(0, 0, 0, .4); -webkit-backdrop-filter: none; backdrop-filter: none; }
#phone .screen.aurora .tolatest i { background: var(--pc-acc); color: var(--pc-ink2); }
/* "• • •" while your friend types */
#phone .screen.aurora .chatlog .typing { align-self: flex-start; margin: 8px 0 0; padding: 0; }
#phone .screen.aurora .chatlog .typing span { position: relative; display: inline-flex; gap: 5px; align-items: center; height: 34px; padding: 0 14px; border-radius: 18px 18px 18px 4px; background: var(--pc-in); box-shadow: 0 2px 0 rgba(0, 0, 0, .18); }
#phone .screen.aurora .chatlog .typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--pc-acc); animation: pcdot 1.1s ease-in-out infinite; }
#phone .screen.aurora .chatlog .typing i:nth-child(2) { animation-delay: .16s; } #phone .screen.aurora .chatlog .typing i:nth-child(3) { animation-delay: .32s; }
@keyframes pcdot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }
/* the newest bubble pops in (only the last one: opening a long chat stays smooth) */
#phone .screen.aurora .chatlog > .msg:last-of-type, #phone .screen.aurora .chatlog .typing { animation: pcpop .34s cubic-bezier(.34, 1.56, .64, 1) both; transform-origin: 0 100%; }
#phone .screen.aurora .chatlog > .msg.mine:last-of-type { transform-origin: 100% 100%; }
@keyframes pcpop { from { transform: scale(.6) translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
html.lite #phone .screen.aurora .chatlog > .msg:last-of-type, html.lite #phone .screen.aurora .chatlog .rx button { animation: none; }
@media (prefers-reduced-motion: reduce) { #phone .screen.aurora .chatlog > .msg:last-of-type, #phone .screen.aurora .chatlog .typing, #phone .screen.aurora .chatlog .rx button, #phone .screen.aurora .chatlog .typing i, #phone .screen.aurora .msgmenu .mmrx button { animation: none; } }
/* the quick buttons (invite over, send money...): gold pills just over the message box; the first one is the white "special" pill */
#phone .screen.aurora .bd.fill { display: flex; flex-direction: column; }
#phone .screen.aurora .bd.fill > .dmbar { order: 1; }
#phone .screen.aurora .bd.fill > .replybar, #phone .screen.aurora .bd.fill > .stkpanel, #phone .screen.aurora .bd.fill > .atpanel, #phone .screen.aurora .bd.fill > .chatform, #phone .screen.aurora .bd.fill > .recbar { order: 2; }
#phone .screen.aurora .dmbar { background: var(--pc-bar); border: 0; box-shadow: none; padding: 9px 12px 3px; gap: 7px; -webkit-backdrop-filter: none; backdrop-filter: none; }
#phone .screen.aurora .dmpill, #phone .screen.aurora .dmpill.green, #phone .screen.aurora .dmpill.blue, #phone .screen.aurora .dmpill.gold, #phone .screen.aurora .dmpill.rose {
  background: transparent; color: #ffd27a; border: 1.5px solid rgba(242, 193, 78, .75); box-shadow: inset 0 0 10px rgba(242, 193, 78, .1); padding: 6px 12px; font-family: 'Outfit', var(--display), sans-serif; font-weight: 700; font-size: 12.5px; transition: transform .12s; }
#phone .screen.aurora .dmpill:first-child { background: #fff; color: #db2777; border-color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
#phone .screen.aurora .dmpill:active { transform: scale(.94); }
/* the message box: camera and emoji as round coloured buttons, a dark box with a gold glow while you type, a round orange send */
#phone .screen.aurora .chatform { background: var(--pc-bar); border: 0; box-shadow: none; gap: 6px; padding: 7px 10px calc(9px + var(--safe-b, 0px)); }
#phone .screen.aurora .chatform input { background: #0b130e; color: #fff; border: 1.5px solid rgba(255, 255, 255, .1); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .4); font-family: 'Outfit', var(--display), sans-serif; font-weight: 600; -webkit-backdrop-filter: none; backdrop-filter: none; }
#phone .screen.aurora .chatform input::placeholder { color: rgba(242, 246, 239, .45); }
#phone .screen.aurora .chatform input:focus { background: #0b130e; border-color: var(--pc-gold); box-shadow: 0 0 0 3px rgba(242, 193, 78, .22), 0 0 16px rgba(242, 193, 78, .25), inset 0 2px 6px rgba(0, 0, 0, .4); }
#phone .screen.aurora .chatform .attbtn, #phone .screen.aurora .chatform .stkbtn, #phone .screen.aurora .chatform .atbtn { width: 36px; height: 36px; border-radius: 50%; flex: none; }
#phone .screen.aurora .chatform .attbtn { order: -1; background: linear-gradient(180deg, #ffb340, #f08a14); color: var(--pc-ink2); box-shadow: 0 2px 0 rgba(122, 55, 0, .45); }
#phone .screen.aurora .chatform .stkbtn { order: 0; background: linear-gradient(180deg, #ffe066, #f5c518); color: #5a3d00; box-shadow: 0 2px 0 rgba(122, 90, 0, .45); }
#phone .screen.aurora .chatform .atbtn { background: rgba(255, 255, 255, .07); color: var(--pc-gold); }
#phone .screen.aurora .chatform .attbtn:active, #phone .screen.aurora .chatform .stkbtn:active, #phone .screen.aurora .chatform .atbtn:active { transform: scale(.9); }
#phone .screen.aurora .chatform .attbtn svg.ico, #phone .screen.aurora .chatform .stkbtn svg.ico { width: 19px; height: 19px; stroke-width: 2.4; }
#phone .screen.aurora .chatform .mic, #phone .screen.aurora .chatform [data-p=send] { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(180deg, var(--pcm1, #ffbb3a), var(--pcm2, #f7941d)); color: var(--pcmi, #3a1d00); border: 0; box-shadow: 0 2px 0 rgba(122, 55, 0, .5), inset 0 1px 0 rgba(255, 240, 200, .6); }
#phone .screen.aurora .chatform [data-p=send] { animation: pcpop .25s cubic-bezier(.34, 1.56, .64, 1) both; }
/* the bars over the box: reply, recording, stickers, tags, pins */
#phone .screen.aurora .replybar, #phone .screen.aurora .recbar, #phone .screen.aurora .stkpanel, #phone .screen.aurora .atpanel { background: var(--pc-bar); border-top: 1px solid rgba(255, 255, 255, .07); -webkit-backdrop-filter: none; backdrop-filter: none; }
#phone .screen.aurora .replybar .rt b { color: var(--pc-acc); }
#phone .screen.aurora .pinbar, #phone .screen.aurora .tagbar { background: rgba(10, 18, 13, .7); border-bottom: 1px solid rgba(255, 255, 255, .07); -webkit-backdrop-filter: none; backdrop-filter: none; }
/* the long-press menu: a white reaction pill whose emoji pop in one after another, and a dark green list */
#phone .screen.aurora .msgmenu .mmscrim { background: rgba(5, 10, 7, .5); }
#phone .screen.aurora .msgmenu .mmrx { background: #fff; border: 0; box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }
#phone .screen.aurora .msgmenu .mmrx button { animation: pcstick .34s cubic-bezier(.34, 1.7, .5, 1) both; }
#phone .screen.aurora .msgmenu .mmrx button:nth-child(2) { animation-delay: .03s; } #phone .screen.aurora .msgmenu .mmrx button:nth-child(3) { animation-delay: .06s; } #phone .screen.aurora .msgmenu .mmrx button:nth-child(4) { animation-delay: .09s; }
#phone .screen.aurora .msgmenu .mmrx button:nth-child(5) { animation-delay: .12s; } #phone .screen.aurora .msgmenu .mmrx button:nth-child(6) { animation-delay: .15s; } #phone .screen.aurora .msgmenu .mmrx button:nth-child(7) { animation-delay: .18s; } #phone .screen.aurora .msgmenu .mmrx button:nth-child(n+8) { animation-delay: .21s; }
#phone .screen.aurora .msgmenu .mmrx button.on { background: #fff1d0; }
#phone .screen.aurora .msgmenu .mmacts { background: #213127; border: 1px solid rgba(255, 255, 255, .08); color: #f2f6ef; box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }
#phone .screen.aurora .msgmenu .mmacts button { color: #f2f6ef; border-bottom-color: rgba(255, 255, 255, .07); }
#phone .screen.aurora .msgmenu .mmacts .danger { color: #fb7185; }
/* the chat list: clean rows with a coloured ring round each face, thin lines between, the unread count in orange */
#phone .screen.aurora .tabs { background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .06); }
#phone .screen.aurora .tabs button { color: var(--aur-soft); }
#phone .screen.aurora .tabs button.on { background: linear-gradient(180deg, #ffbb3a, #f08a14); color: var(--pc-ink2); box-shadow: 0 2px 0 rgba(122, 55, 0, .45); }
#phone .screen.aurora .sec { color: var(--pc-gold); font-family: 'Outfit', var(--display), sans-serif; letter-spacing: .06em; }
#phone .screen.aurora .field { background: #0b130e; color: #fff; border-color: rgba(255, 255, 255, .1); }
#phone .screen.aurora .field:focus { border-color: var(--pc-gold); }
#phone .screen.aurora .tggrid { display: flex; flex-direction: column; gap: 0; border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, .035); }
#phone .screen.aurora .tg { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; grid-template-areas: 'av nm tm' 'av ln n' 'av ch ch'; justify-items: start; align-items: center; column-gap: 12px; row-gap: 1px;
  padding: 10px 12px; border-radius: 0; text-align: left; background: transparent; border: 0; box-shadow: none; border-bottom: 1px solid rgba(255, 255, 255, .06); }
#phone .screen.aurora .tg:last-child { border-bottom: 0; }
#phone .screen.aurora .tg:active { transform: none; background: rgba(255, 255, 255, .06); }
#phone .screen.aurora .tg .tgav { grid-area: av; width: 48px; height: 48px; overflow: visible; background: transparent; box-shadow: none; }
#phone .screen.aurora .tg .tgav > :first-child { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2.5px var(--pcb1, #17241b), 0 0 0 4.5px var(--ring, #4ade80); background: rgba(255, 255, 255, .08); }
#phone .screen.aurora .tg .tgav img, #phone .screen.aurora .tg .tgav svg { border-radius: 50%; }
#phone .screen.aurora .tg:nth-child(6n+2) { --ring: #2dd4bf; } #phone .screen.aurora .tg:nth-child(6n+3) { --ring: #f472b6; } #phone .screen.aurora .tg:nth-child(6n+4) { --ring: #facc15; }
#phone .screen.aurora .tg:nth-child(6n+5) { --ring: #60a5fa; } #phone .screen.aurora .tg:nth-child(6n) { --ring: #fb923c; }
#phone .screen.aurora .tg .tgav i { right: -1px; bottom: -1px; width: 13px; height: 13px; background: #22c55e; box-shadow: 0 0 0 2.5px var(--pcb1, #17241b); z-index: 1; }
#phone .screen.aurora .tg .tgic { font-size: 24px; background: linear-gradient(160deg, rgba(242, 193, 78, .25), rgba(255, 255, 255, .06)); }
#phone .screen.aurora .tg .tgic svg { width: 24px; height: 24px; }
#phone .screen.aurora .tg > b { grid-area: nm; margin: 0; font-family: 'Outfit', var(--display), sans-serif; font-size: 15px; font-weight: 800; color: #fff; }
#phone .screen.aurora .tg .tgl { grid-area: ln; font-family: 'Outfit', var(--display), sans-serif; font-weight: 500; font-size: 12.5px; color: var(--aur-soft); }
#phone .screen.aurora .tg .tgl.unread { color: #fff; font-weight: 700; }
#phone .screen.aurora .tg .tgt { grid-area: tm; position: static; max-width: none; font-size: 11px; color: var(--aur-soft); }
#phone .screen.aurora .tg:has(.tgn) .tgt { color: var(--pc-acc); }
#phone .screen.aurora .tg .tgn { grid-area: n; position: static; justify-self: end; background: linear-gradient(180deg, #ffbb3a, #f08a14); color: var(--pc-ink2); box-shadow: 0 2px 0 rgba(122, 55, 0, .45); }
#phone .screen.aurora .tg > :not(.tgav):not(b):not(.tgl):not(.tgt):not(.tgn) { grid-area: ch; margin-top: 4px; }
#phone .screen.aurora .tg .tgloc { background: rgba(255, 255, 255, .07); color: var(--aur-soft); }
#phone .screen.aurora .tg .tgloc.on { background: rgba(74, 222, 128, .14); color: #86efac; }
/* the rows under the tabs (replies, the suggestion box, people found) */
#phone .screen.aurora .list .act:not(.onlight), #phone .screen.aurora .bd > .act:not(.onlight) { background: rgba(255, 255, 255, .06) !important; color: #f2f6ef; border: 1px solid rgba(255, 255, 255, .07); box-shadow: none; }
#phone .screen.aurora .bd > .act[data-p=opensuggest] { background: linear-gradient(135deg, rgba(242, 193, 78, .22), rgba(96, 165, 250, .16)) !important; }
#phone .screen.aurora .act .at b { color: #fff; } #phone .screen.aurora .act .at span { color: var(--aur-soft); }
#phone .screen.aurora .act .ai { background: rgba(255, 255, 255, .08); }
#phone .screen.aurora .mini, #phone .screen.aurora .empty { color: var(--aur-soft); }
#phone .screen.aurora .btn.sm { background: linear-gradient(180deg, #ffbb3a, #f08a14); color: var(--pc-ink2); border: 0; }
/* (2026-11-14) "Chat colours": the 🎨 button on the chat list, the 🎨 pill in a chat, and the picker (a window outside the phone, so its
   preview has its own copy of the colours, set by js/online-ui.js CC) */
#phone .screen.aurora .ccpick { display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 2px auto; float: right; padding: 6px 12px; border-radius: 99px; font: 700 12.5px 'Outfit', var(--display), sans-serif; color: #ffd27a; background: transparent; border: 1.5px solid rgba(242, 193, 78, .7); }
#phone .screen.aurora .ccpick + * { clear: both; }
#phone .screen.aurora .ccpick:active, #phone .screen.aurora .dmpill.ccpill:active { transform: scale(.94); }
#phone .screen.aurora .dmpill.ccpill { background: linear-gradient(135deg, rgba(236, 72, 153, .22), rgba(59, 130, 246, .22), rgba(34, 197, 94, .22)); }
.ccprev { --pcm1: #f9a94a; --pcm2: #f7941d; --pcmi: #321e06; --pcb1: #17241b; --pcbt: #1b2a20; --pcbb: #142019; --pci: #36463a;
  display: flex; flex-direction: column; gap: 6px; padding: 14px 12px; border-radius: 18px; background: linear-gradient(180deg, var(--pcbt), var(--pcbb)); font: 600 14px 'Outfit', var(--display), sans-serif; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.ccprev .ccin, .ccprev .ccme { max-width: 80%; padding: 7px 12px; border-radius: 18px; line-height: 1.35; }
.ccprev .ccin { align-self: flex-start; background: var(--pci); color: #f2f6ef; border-bottom-left-radius: 4px; }
.ccprev .ccme { align-self: flex-end; background: linear-gradient(180deg, var(--pcm1), var(--pcm2)); color: var(--pcmi); border-bottom-right-radius: 4px; box-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.ccrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; }
.ccsw { width: 34px; height: 34px; border-radius: 50%; border: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18), 0 1px 3px rgba(0, 0, 0, .2); transition: transform .12s; }
.ccsw.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4.5px #f2c14e; transform: scale(1.06); }
html.dark .ccsw.on { box-shadow: 0 0 0 2px #111, 0 0 0 4.5px #f2c14e; }
.ccsw:active { transform: scale(.9); }
.ccany { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px 0 4px; border-radius: 99px; font-weight: 800; font-size: 12.5px; cursor: pointer;
  background: conic-gradient(from 0deg, #ef4444, #f59e0b, #facc15, #22c55e, #0ea5e9, #6366f1, #ec4899, #ef4444) left 4px center / 26px 26px no-repeat, rgba(127, 127, 127, .12); }
.ccany span { margin-left: 30px; }
.ccany input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
/* (2026-11-14) typing in a group: the names over the dots ("Amina is typing"), lined up with the bubbles (after the faces) */
#phone .screen.aurora .chatlog .typing b { display: block; margin: 0 0 3px 6px; font: 700 11.5px 'Outfit', var(--display), sans-serif; letter-spacing: .02em; color: var(--aur-soft); }
#phone .screen.aurora .chatlog:not(.dm) .typing { margin-left: 36px; }

/* (2026-11-17, the owner: "make this look professional") "191,875 students online now" as a quiet live badge: a pulsing green dot, the
   number bold with even-width digits, the words softer. It sits on the same line as the Chat colours button. */
.onlinepill { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 2px; padding: 0 14px 0 12px; height: 32px; border-radius: 999px; font-size: 13px; line-height: 1; letter-spacing: .01em;
  background: rgba(35, 194, 125, .12); box-shadow: inset 0 0 0 1px rgba(35, 194, 125, .3); color: var(--aur-ink, inherit); white-space: nowrap; }
.onlinepill b { font-weight: 800; font-variant-numeric: tabular-nums; }
.onlinepill span { opacity: .72; font-weight: 600; }
.onlinepill i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #23c27d; flex: none; box-shadow: 0 0 6px rgba(35, 194, 125, .8); }
.onlinepill i::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: rgba(35, 194, 125, .45); animation: olpulse 1.8s ease-out infinite; }
@keyframes olpulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
html.lite .onlinepill i::after { display: none; }
@media (prefers-reduced-motion: reduce) { .onlinepill i::after { display: none; } }
#phone .screen.aurora .ccpick + .onlinepill { clear: none; }
#phone .screen.aurora .onlinepill + * { clear: both; }
