/* =========================================================================================================================================
   THE STUDIO LOOK (2026-11-16): one design system for the whole game, so every screen looks made by the same team.
   The owner: "make it look professionally made, nothing AI-generated". Studied for it: DESIGN_STUDY.md (the "AI slop" lists, accent colour,
   motion rules). What it is:
   - ONE font (Plus Jakarta Sans, css/fonts.css) for everything on screen, 4 sizes in use (12 / 14 / 16 / 20), numbers with equal-width digits.
   - Spacing on a 4 px grid; corners: 10 small, 14 normal, 20 cards, 28 sheets. An inner corner is the outer one minus the padding.
   - Colours: the campus green is the brand and the main button; ONE accent (gold) for money and what you buy; red only for danger.
     Greys are tinted green so they look chosen. Borders are see-through (they blend into any background).
   - Flat, solid surfaces: no glossy gradients, no glows, no blur behind (also faster on a phone). Depth from one soft shadow by day,
     and from a lighter surface + a thin light edge at night (shadows do not show on dark).
   - Line icons (js/iconset.js + js/ui.js), never emoji, in the game's own screens. Players' own words keep their emoji.
   - Motion: 150-250 ms, ease-out, a 0.97 press, no bounce.
   It is on when <html> has the class "ds" (js/theme.js; Settings → Look → Glass brings back the liquid glass of 2026-11-04).
   Loaded after every other stylesheet; it only changes how things look, never where they are (no size or position changes except where
   noted), so nothing moves under the player's finger.
   ========================================================================================================================================= */

/* ---------------------------------------------------------------- tokens */
html.ds body {
  --ds-font: 'Jakarta', -apple-system, system-ui, 'Segoe UI', Roboto, sans-serif;
  --font: var(--ds-font); --display: var(--ds-font);
  /* colour: light */
  --ds-bg: #f4f3ee; --ds-surface: #ffffff; --ds-surface-2: #f7f6f2; --ds-fill: #eeede6; --ds-fill-2: #e5e4dc;
  --ds-ink: #15221b; --ds-ink-2: #4c5a52; --ds-ink-3: #7b877f;
  --ds-line: rgb(21 34 27 / .10); --ds-line-2: rgb(21 34 27 / .16);
  --ds-brand: #0d6b45; --ds-brand-press: #0a5a3a; --ds-brand-ink: #0b6341; --ds-brand-soft: #e3efe8;
  --ds-accent: #e2a21b; --ds-accent-ink: #8a5d00; --ds-accent-soft: #fbf0d6;
  --ds-danger: #d23f45; --ds-danger-soft: #fbe8e8; --ds-info: #2d63c8; --ds-info-soft: #e8eef9;
  --ds-shadow-1: 0 1px 2px rgb(16 30 22 / .06), 0 1px 1px rgb(16 30 22 / .04);
  --ds-shadow-2: 0 1px 2px rgb(16 30 22 / .06), 0 8px 24px -10px rgb(16 30 22 / .22);
  --ds-shadow-3: 0 2px 6px rgb(16 30 22 / .08), 0 24px 48px -16px rgb(16 30 22 / .32);
  --ds-edge: inset 0 0 0 1px var(--ds-line);
  /* shape, motion */
  --ds-r-xs: 8px; --ds-r-sm: 10px; --ds-r: 14px; --ds-r-lg: 20px; --ds-r-xl: 28px;
  --ds-ease: cubic-bezier(.2, .8, .2, 1); --ds-fast: .15s; --ds-mid: .22s;
  /* the older names the game's stylesheets use, pointed at the system */
  --ink: var(--ds-ink); --ink-soft: var(--ds-ink-2); --line: var(--ds-line); --cream: var(--ds-fill); --panel: var(--ds-surface);
  --green: var(--ds-brand); --green-2: #13895a; --green-soft: var(--ds-brand-soft); --gold: var(--ds-accent); --gold-soft: var(--ds-accent-soft);
  --rose: var(--ds-danger); --rose-soft: var(--ds-danger-soft); --blue: var(--ds-info); --blue-soft: var(--ds-info-soft);
  --shadow: var(--ds-shadow-2); --shadow-sm: var(--ds-shadow-1); --r: var(--ds-r-lg);
  --card1: var(--ds-surface); --card2: var(--ds-surface); --card-lip: transparent; --tile1: var(--ds-fill); --tile2: var(--ds-fill); --tile-lip: transparent;
}
html.ds.dark body {
  /* colour: dark. Depth comes from lighter surfaces, not shadows */
  --ds-bg: #0c1310; --ds-surface: #161f1a; --ds-surface-2: #1b2520; --ds-fill: #222d27; --ds-fill-2: #2a3630;
  --ds-ink: #e8eeea; --ds-ink-2: #a6b3ac; --ds-ink-3: #7d8a83;
  --ds-line: rgb(255 255 255 / .08); --ds-line-2: rgb(255 255 255 / .14);
  --ds-brand: #17905d; --ds-brand-press: #127a4e; --ds-brand-ink: #4fd29a; --ds-brand-soft: rgb(79 210 154 / .13);
  --ds-accent: #f0b43a; --ds-accent-ink: #f3c76a; --ds-accent-soft: rgb(240 180 58 / .14);
  --ds-danger: #e5575c; --ds-danger-soft: rgb(229 87 92 / .15); --ds-info: #6b9bf0; --ds-info-soft: rgb(107 155 240 / .15);
  --ds-shadow-1: 0 0 0 1px rgb(255 255 255 / .06);
  --ds-shadow-2: 0 0 0 1px rgb(255 255 255 / .07), 0 12px 28px -12px rgb(0 0 0 / .7);
  --ds-shadow-3: 0 0 0 1px rgb(255 255 255 / .08), 0 28px 56px -18px rgb(0 0 0 / .8);
  /* (--green stays the brand green at night too: the game paints buttons and active tabs with it, under white words) */
}

/* ---------------------------------------------------------------- type */
html.ds body, html.ds body button, html.ds body input, html.ds body select, html.ds body textarea { font-family: var(--ds-font); }
html.ds body { font-variant-numeric: tabular-nums; letter-spacing: -.003em; }
html.ds body :where(h1, h2, h3) { font-family: var(--ds-font); font-weight: 800; letter-spacing: -.02em; }
/* section titles: sentence case, not small shouting capitals */
html.ds body :where(.sec) { font-size: 13px; font-weight: 700; letter-spacing: -.005em; text-transform: none; color: var(--ds-ink-2); margin: 20px 2px 8px; }
html.ds body :where(.mini) { font-size: 12px; color: var(--ds-ink-2); line-height: 1.45; }

/* ---------------------------------------------------------------- icons */
html.ds body svg.ico { stroke-width: 1.9; }
html.ds body svg.ico.ie.lead { width: 1.15em; height: 1.15em; margin: -.15em .4em 0 0; vertical-align: middle; }
html.ds body .btn svg.ico.ie.lead, html.ds body button svg.ico.ie.lead { margin-right: .45em; }
html.ds body svg.ico.ie.inl { width: 1.05em; height: 1.05em; margin: -.15em .2em 0; vertical-align: middle; }
html.ds body svg.ico.ie.art { width: 1em; height: 1em; vertical-align: middle; }
html.ds body i.edot { display: inline-block; width: .55em; height: .55em; border-radius: 50%; background: var(--c); margin: 0 .4em .08em 0; vertical-align: middle; font-style: normal; }
/* picture slots that held a big emoji: a soft tile with the drawing in the brand colour */
html.ds body .opt .em:has(> svg.ie.art), html.ds body .act .ai:has(> svg.ie.art), html.ds body .mis-em:has(> svg.ie.art) {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ds-brand-soft); color: var(--ds-brand-ink); font-size: 22px; margin-bottom: 8px;
}
html.ds body .act .ai:has(> svg.ie.art) { margin: 0; flex: none; }
html.ds body .modal .big:has(> svg.ie.art) { display: grid; place-items: center; width: 64px; height: 64px; margin: 2px auto 6px; border-radius: 20px; background: var(--ds-brand-soft); color: var(--ds-brand-ink); font-size: 32px; }

/* ---------------------------------------------------------------- buttons: one solid main, one quiet second, one gold for paying */
html.ds body .btn.btn {
  background: var(--ds-brand); color: #fff; box-shadow: none; text-shadow: none; filter: none;
  font-family: var(--ds-font); font-weight: 700; letter-spacing: -.01em; border-radius: var(--ds-r);
  transition: transform var(--ds-fast) var(--ds-ease), background-color var(--ds-fast);
}
html.ds body .btn.btn:active:not(:disabled) { transform: scale(.97); box-shadow: none; filter: none; background: var(--ds-brand-press); }
@media (hover: hover) { html.ds body .btn.btn:hover:not(:disabled) { filter: none; background-color: var(--ds-brand-press); } }
html.ds body .btn.btn.alt, html.ds body .btn.btn.ghost { background: var(--ds-fill); color: var(--ds-ink); }
html.ds body .btn.btn.alt:active:not(:disabled), html.ds body .btn.btn.ghost:active:not(:disabled) { background: var(--ds-fill-2); }
@media (hover: hover) { html.ds body .btn.btn.alt:hover:not(:disabled), html.ds body .btn.btn.ghost:hover:not(:disabled) { background: var(--ds-fill-2); } }
html.ds body .btn.btn.gold { background: var(--ds-accent); color: #2a1c00; }
html.ds body .btn.btn.gold:active:not(:disabled) { background: #cf9212; }
html.ds body .btn.btn.red { background: var(--ds-danger); color: #fff; }
html.ds body .btn.btn.hg-hugbtn { background: #d6457f; color: #fff; }
html.ds body .btn.btn.sm { border-radius: var(--ds-r-sm); font-size: 13.5px; }
html.ds body .btn.btn:disabled { background: var(--ds-fill); color: var(--ds-ink-3); box-shadow: none; text-shadow: none; }
html.ds body .btn:focus-visible, html.ds body .act:focus-visible, html.ds body .roundbtn:focus-visible { outline: 2px solid var(--ds-brand-ink); outline-offset: 2px; }
html.ds body .btn.studio-go small { opacity: .8; font-weight: 600; }

/* round buttons (back, close, the map's own buttons) */
html.ds body .roundbtn { background: var(--ds-surface); color: var(--ds-ink); box-shadow: var(--ds-shadow-2); font-family: var(--ds-font); font-weight: 600; }
html.ds body .roundbtn:active { transform: scale(.94); }

/* ---------------------------------------------------------------- surfaces */
html.ds body .panel { background: var(--ds-surface); border: 0; box-shadow: var(--ds-shadow-2); }
/* plain cards, tags and chips take their colours from the variables above (--cream, --green-soft...), so a card with its own colour
   (.prv-hero, .chip.money...) keeps it; only their shape is set here, at the lowest strength (:where) */
html.ds body :where(.card) { border-radius: var(--ds-r); }
html.ds body :where(.card.w) { background: var(--ds-surface); box-shadow: var(--ds-edge); }
html.ds body :where(.tag) { font-weight: 650; border-radius: 6px; padding: 3px 7px; letter-spacing: 0; }
html.ds body :where(.tag.g) { color: var(--ds-brand-ink); } html.ds body :where(.tag.y) { color: var(--ds-accent-ink); }
html.ds body :where(.chip) { font-weight: 650; }
html.ds body .field { background: var(--ds-fill); border: 1.5px solid transparent; border-radius: var(--ds-r); font-family: var(--ds-font); font-weight: 600; font-size: 17px; color: var(--ds-ink); }
html.ds body .field::placeholder { color: var(--ds-ink-3); font-weight: 500; }
html.ds body .field:focus { background: var(--ds-surface); border-color: var(--ds-brand); }
html.ds body .seg { background: var(--ds-fill); color: var(--ds-ink); border-radius: 12px; font-weight: 650; transition: background-color var(--ds-fast), color var(--ds-fast); }
html.ds body .seg.on { background: var(--ds-ink); color: var(--ds-surface); }
html.ds body .opt { background: var(--ds-surface); box-shadow: var(--ds-edge); border-radius: var(--ds-r); transition: box-shadow var(--ds-fast), background-color var(--ds-fast); }
html.ds body .opt.on { background: var(--ds-brand-soft); box-shadow: inset 0 0 0 2px var(--ds-brand); }
html.ds body .opt b { font-weight: 700; letter-spacing: -.01em; }
html.ds body .opt span { color: var(--ds-ink-2); line-height: 1.4; }

/* place actions (Attend a lecture, Eat, Buy...): flat rows */
html.ds body .act { background: var(--ds-surface); box-shadow: var(--ds-edge); filter: none; transition: transform var(--ds-fast) var(--ds-ease), background-color var(--ds-fast); }
html.ds body .act:hover:not(:disabled) { background: var(--ds-surface); filter: none; }
html.ds body .act:active:not(:disabled) { transform: scale(.985); box-shadow: var(--ds-edge); background: var(--ds-surface-2); }
html.ds body .act .ai { background: var(--ds-fill); box-shadow: none; }
html.ds body .act .ar { font-family: var(--ds-font); }

/* ---------------------------------------------------------------- pop-ups */
html.ds body .modal { background: rgb(8 16 12 / .45); }
html.ds body .modal .box { background: var(--ds-surface); border-radius: var(--ds-r-xl); box-shadow: var(--ds-shadow-3); animation: dsPop var(--ds-mid) var(--ds-ease); }
html.ds body .modal h2 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
html.ds body .modal p { color: var(--ds-ink-2); }
@keyframes dsPop { from { opacity: 0; transform: scale(.96) translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- the title (log-in) screen */
html.ds body .title-screen { background: linear-gradient(180deg, rgb(6 20 14 / 0) 35%, rgb(6 20 14 / .55) 100%); }
html.ds body .title-card { border-radius: var(--ds-r-xl); padding: 24px 20px 18px; text-align: left; background: var(--ds-surface); box-shadow: var(--ds-shadow-3); }
html.ds body .title-card .ds-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
html.ds body .title-card .ds-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--ds-brand); color: #fff; display: grid; place-items: center; flex: none; }
html.ds body .title-card .ds-mark svg { width: 24px; height: 24px; }
html.ds body .title-card .ds-word { display: grid; line-height: 1.15; }
html.ds body .title-card .ds-word b { font-size: 17px; font-weight: 800; letter-spacing: -.02em; color: var(--ds-ink); }
html.ds body .title-card .ds-word small { font-size: 12.5px; color: var(--ds-ink-2); font-weight: 500; }
html.ds body .title-card h1 { font-size: 28px; line-height: 1.12; font-weight: 800; color: var(--ds-ink); letter-spacing: -.03em; margin: 0; }
html.ds body .title-card p { margin: 8px 0 18px; color: var(--ds-ink-2); font-size: 15px; line-height: 1.45; }
html.ds body .title-card .btn + .btn { margin-top: 8px; }
html.ds body .title-card .ds-guest { display: block; width: 100%; margin-top: 12px; padding: 8px; text-align: center; font-weight: 650; font-size: 14.5px; color: var(--ds-brand-ink); border-radius: 10px; }
html.ds body .title-card .ds-guest:active { background: var(--ds-fill); }
html.ds body .title-card .mini { text-align: center; margin-top: 6px !important; }
html.ds body .title-social { justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ds-line); }
html.ds body .title-social span { font-size: 12.5px; color: var(--ds-ink-3); font-weight: 600; margin-right: 0; flex-basis: 100%; text-align: center; }
html.ds body .title-social .soc { background: var(--ds-fill) !important; width: 36px; height: 36px; box-shadow: none; }
html.ds body .title-social .soc svg { fill: var(--ds-ink); width: 17px; height: 17px; }

/* ---------------------------------------------------------------- the create-your-student steps */
html.ds body .fullscreen .top .title { font-family: var(--ds-font) !important; font-weight: 750 !important; letter-spacing: -.015em; }
html.ds body .fullscreen .steps i { border-radius: 3px; }
html.ds body .fullscreen .blurb { color: var(--ds-ink-2); line-height: 1.45; }
html.ds body .fullscreen .lab { font-size: 13px; font-weight: 650; color: var(--ds-ink-2); letter-spacing: 0; text-transform: none; }

/* ---------------------------------------------------------------- the game screen (HUD): solid, not blurred */
html.ds body.frosted #topbar, html.ds body.frosted #needs, html.ds body.frosted #walletbar, html.ds body.frosted #homebar, html.ds body.frosted #now, html.ds body.frosted #dock,
html.ds body.frosted #zoom button, html.ds body.frosted #clearbtn, html.ds body.frosted #shotbtn {
  background: var(--ds-surface); -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; box-shadow: var(--ds-shadow-2); color: var(--ds-ink);
}
html.ds body.frosted .chip.time, html.ds body.frosted .chip.money, html.ds body.frosted .chip.mood { background: var(--ds-fill); box-shadow: none; color: var(--ds-ink); }
html.ds body.frosted .chip.money { color: var(--ds-brand-ink); }
html.ds body.frosted .need .bar { background: var(--ds-fill); box-shadow: none; border-radius: 99px; }
html.ds body.frosted #dock button:active, html.ds body.frosted #zoom button:active { transform: scale(.94); }

/* ---------------------------------------------------------------- the phone */
html.ds body.frosted .phone .app .ic.fr {
  background: var(--tile-ds, var(--ds-brand)); box-shadow: inset 0 0 0 .5px rgb(255 255 255 / .12); border-radius: 15px; -webkit-backdrop-filter: none; backdrop-filter: none;
}
html.ds body.frosted .phone .app .ic.fr::before, html.ds body.frosted .phone .app .ic.fr::after { content: none; }
html.ds body.frosted .phone .app .ic.fr svg.ico { filter: none; stroke-width: 1.8; color: #fff; }
html.ds body.frosted .phone .app .ic:not(.fr) { background: var(--ds-surface) !important; box-shadow: var(--ds-edge); border-radius: 15px; }
html.ds body.frosted .phone .app .ic:not(.fr)::before { content: none; }
html.ds body.frosted .phone .app .al { font-weight: 600; letter-spacing: -.01em; text-shadow: 0 1px 2px rgb(0 0 0 / .35); }
html.ds body.frosted .phone .lwb { background: var(--ds-surface); box-shadow: var(--ds-shadow-1); border: 0; color: var(--ds-ink); border-radius: var(--ds-r-lg); }
html.ds body.frosted .phone .lwb .lwk { font-size: 12.5px; font-weight: 650; letter-spacing: 0; text-transform: none; color: var(--ds-ink-2); }
html.ds body.frosted .phone .lwb .lwv { letter-spacing: -.02em; }
html.ds body.frosted .phone .lwb .lwgo { background: var(--ds-brand); color: #fff; box-shadow: none; }
html.ds body.frosted .phone .pall { background: rgb(255 255 255 / .14); color: #fff; box-shadow: none; border: 0; font-weight: 650; }
html.ds body.frosted .phone .pdock { background: rgb(255 255 255 / .16); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; border: 0; }
html.ds.dark body.frosted .phone .pdock, html.ds.dark body.frosted .phone .pall { background: rgb(255 255 255 / .08); }
html.ds body.frosted .phone .pbtn { background: var(--ds-surface); color: var(--ds-ink); box-shadow: var(--ds-shadow-1); border: 0; font-weight: 650; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.ds body.frosted .phone .screen { background: var(--ds-bg); }
/* .onlight cards keep dark words even in dark mode (css/dark.css), so they stay light: one flat light tint instead of each its own gradient */
html.ds body .card.onlight[style*="gradient"] { background: #edf3ee !important; box-shadow: inset 0 0 0 1px rgb(21 34 27 / .08) !important; border: 0 !important; }
html.ds.dark body .card.onlight[style*="gradient"] { background: #e3ebe5 !important; }

/* ---------------------------------------------------------------- toasts */
html.ds body .toast { font-family: var(--ds-font); }

/* ---------------------------------------------------------------- motion: calm for people who ask for it */
@media (prefers-reduced-motion: reduce) { html.ds body .modal .box { animation: none; } html.ds body .btn.btn, html.ds body .act { transition: none; } }

/* ---------------------------------------------------------------- the place sheet, the room welcome card: solid, no blur behind */
html.ds body.frosted .sheet { background: var(--ds-surface); -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; box-shadow: var(--ds-shadow-3); }
html.ds body.frosted .sheet .roundbtn, html.ds body.frosted .sheet .hd .x { background: var(--ds-fill); color: var(--ds-ink); box-shadow: none; }
html.ds body.frosted .act { background: var(--ds-surface); box-shadow: var(--ds-edge); }
html.ds body.frosted .act:active { background: var(--ds-surface-2); }
html.ds body.frosted .act .ai { background: var(--ds-brand-soft); color: var(--ds-brand-ink); border-radius: 12px; }
html.ds body.frosted .modal .box { background: var(--ds-surface); -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; box-shadow: var(--ds-shadow-3); }
html.ds body.frosted .modal { background: rgb(8 16 12 / .45); }
html.ds body.frosted .hs-card { background: var(--ds-surface); -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; box-shadow: var(--ds-shadow-3); }
html.ds body.frosted .hs-btn.main { border-radius: var(--ds-r); background: var(--ds-brand); box-shadow: none; }
html.ds body.frosted .hs-btn.main:active { transform: scale(.97); background: var(--ds-brand-press); box-shadow: none; }
html.ds body.frosted .hs-btn.main.done { background: var(--ds-danger); box-shadow: none; }
html.ds body.frosted .hs-row button { border-radius: var(--ds-r-sm); background: var(--ds-fill); color: var(--ds-ink); box-shadow: none; }
html.ds body.frosted .hs-gift { border-radius: var(--ds-r); box-shadow: none; }
/* the buttons, again over the frosted layer's own pills */
html.ds body.frosted .btn.btn { background: var(--ds-brand); color: #fff; border: 0; border-radius: var(--ds-r); box-shadow: none; text-shadow: none; }
html.ds body.frosted .btn.btn:active:not(:disabled) { background: var(--ds-brand-press); box-shadow: none; }
html.ds body.frosted .btn.btn.alt, html.ds body.frosted .btn.btn.ghost { background: var(--ds-fill); color: var(--ds-ink); box-shadow: none; }
html.ds body.frosted .btn.btn.gold { background: var(--ds-accent); color: #2a1c00; box-shadow: none; }
html.ds body.frosted .btn.btn.red { background: var(--ds-danger); color: #fff; box-shadow: none; }
html.ds body.frosted .btn.btn.hg-hugbtn { background: #d6457f; }
html.ds body.frosted .btn.btn.sm { border-radius: var(--ds-r-sm); }
html.ds body.frosted .btn.btn:disabled { background: var(--ds-fill); color: var(--ds-ink-3); box-shadow: none; }
/* two-line buttons (title + small line under it): the words alone, the drawing would take a line of its own */
html.ds body .btn.studio-go svg.ie.lead { display: none; }
/* a big picture slot (it held an emoji of 30 px or more: the top of a pop-up or a card): a soft tile with the drawing */
html.ds body .ie-hero { display: inline-grid !important; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--ds-brand-soft); color: var(--ds-brand-ink); font-size: 30px !important; line-height: 1; margin-left: auto; margin-right: auto; animation: none; }
html.ds body .ie-hero > svg.ie.art { width: 30px; height: 30px; stroke-width: 1.8; }

/* ---------------------------------------------------------------- small capital "eyebrow" labels -> sentence case (the words are written that way now) */
html.ds body .phone .screen .sec, html.ds body .pinbar .pinh, html.ds body .txday, html.ds body .toast.nb .nb-top, html.ds body .navcard .nvt small, html.ds body .sn-in small,
html.ds body .xw-pos-h, html.ds body .mis-cat, html.ds body .mis-wk-top span:first-child, html.ds body .hu-rep small, html.ds body .hu-tt small, html.ds body .cl-finds small,
html.ds body .cl-q small, html.ds body .phone .lwk, html.ds body .shouthd, html.ds body .ez-cbox small, html.ds body .stmt-h, html.ds body .oa-sec, html.ds body .dr .dr-hd small,
html.ds body .wm .wm-at, html.ds body #walletbar small, html.ds body #homebar small {
  text-transform: none; letter-spacing: -.005em; font-weight: 700;
}
html.ds body .phone .screen .sec { font-size: 13px; color: var(--ds-ink-2); }
html.ds body.frosted #walletbar small, html.ds body.frosted #homebar small { font-size: 10.5px; color: var(--ds-ink-2); letter-spacing: 0; }
/* the map's place pins */
html.ds body .pill { font-family: var(--ds-font); font-weight: 700; letter-spacing: -.01em; }
html.ds body .pill > .e.ie-pin { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ds-brand-soft); color: var(--ds-brand-ink); }
html.ds body .pill > .e.ie-pin svg.ico { width: 12px; height: 12px; stroke-width: 2.2; }

/* the drawings that replaced emoji never take a tap: the button or row under them gets it (many tap handlers look at the exact element
   tapped, e.target.dataset). This holds in every look, so it is not limited to html.ds. */
svg.ie, i.edot, .ie-pin, .ie-pin * { pointer-events: none; }

/* the phone's live widgets: one surface, ink text, the brand green only on the hustle ring */
html.ds body.frosted .phone .lwb .lwl, html.ds body.frosted .phone .lwc span, html.ds body.frosted .phone .lwhus .lwl { color: var(--ds-ink-2); opacity: 1; }
html.ds body.frosted .phone .lwnext .lwk, html.ds body.frosted .phone .lwchat .lwk { color: var(--ds-ink-2); }
html.ds body.frosted .phone .lwt, html.ds body.frosted .phone .lwv, html.ds body.frosted .phone .lwhx > b, html.ds body.frosted .phone .lwc b { color: var(--ds-ink); font-family: var(--ds-font); }
html.ds body.frosted .phone .lwring { background: conic-gradient(var(--ds-brand-ink) 0 var(--p), var(--ds-fill) var(--p) 100%); }
html.ds body.frosted .phone .lwring b { background: var(--ds-surface); color: var(--ds-ink); font-family: var(--ds-font); }

/* ---------------------------------------------------------------- cards inside the apps
   About 60 "hero" cards were each painted with their own two-colour gradient (a rainbow across the apps). They are now one solid deep
   brand green, the same in every app; their white words stay as they were. Soft violet/blue boxes become plain surfaces; the soft red
   (a problem), gold (money, a heads-up) and green (done, good news) boxes keep their meaning. */
html.ds { --ds-hero: #143b2b; --ds-hero-2: #1b4a37; }
html.ds.dark { --ds-hero: #183528; --ds-hero-2: #1f4232; }
html.ds body .card[style*="linear-gradient"][style*="color:#fff"], html.ds body .card[style*="linear-gradient"][style*="color: #fff"] {
  background: var(--ds-hero) !important; box-shadow: none !important; border: 0 !important;
}
html.ds.dark body .card[style*="linear-gradient"][style*="color:#fff"] { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07) !important; }
html.ds body .card[style*="--violet-soft"], html.ds body .card[style*="--blue-soft"] { background: var(--ds-surface) !important; box-shadow: var(--ds-edge) !important; }
html.ds body .walletcard { background: var(--ds-surface); border: 0; box-shadow: var(--ds-edge); }
html.ds body .walletcard .big { color: var(--ds-ink); font-family: var(--ds-font); font-weight: 800; letter-spacing: -.02em; }
html.ds.dark body .walletcard .big { color: var(--ds-ink); }
/* two stat boxes side by side are a pair: the same plain surface */
html.ds body .grid2 > .card[style*="--green-soft"], html.ds body .grid2 > .card[style*="--gold-soft"] { background: var(--ds-surface) !important; box-shadow: var(--ds-edge) !important; }

/* the phone used the iPhone's own system font; it is the game's font now, like every other screen (the Pop Chat look keeps its own) */
html.ds body .phone { font-family: var(--ds-font); }
html.ds body .phone .screen .hd2 h2 { font-family: var(--ds-font); font-weight: 700; letter-spacing: -.015em; }

/* app headers that had their own gradients: the one hero colour (white words), the gold accent for the "weekly special" and the gift */
html.ds body .mis-head, html.ds body .hu-head { background: var(--ds-hero); box-shadow: none; text-shadow: none; }
html.ds body .mis-wk-top { background: #8a5d00; }
html.ds body .hu-gift { background: var(--ds-accent); color: #2a1c00; }
html.ds body .ssn-top { background: #2b1218; }

/* ---------------------------------------------------------------- the walk / drive view: the side buttons were blue, black, purple and green;
   now one dark surface for all of them (what is ON keeps its highlight) */
html.ds body .rm-navfab, html.ds body .rm-dronefab:not(.on), html.ds body .rm-togfab:not(.on), html.ds body .rm-voxfab:not(.on) {
  background: rgb(14 24 19 / .86); border: 1px solid rgb(255 255 255 / .12); box-shadow: 0 6px 16px -8px rgb(0 0 0 / .55); color: #fff;
}
html.ds body .rm-dronefab.on, html.ds body .rm-togfab.on { background: var(--ds-brand); border-color: rgb(255 255 255 / .18); box-shadow: none; }
html.ds body .rm-voxfab.on { background: var(--ds-danger); border-color: rgb(255 255 255 / .18); }   /* (the microphone is live: red, as everywhere) */
html.ds body .rm-navfab small, html.ds body .rm-dronefab small, html.ds body .rm-togfab small, html.ds body .rm-voxfab small { font-family: var(--ds-font); font-weight: 650; letter-spacing: 0; font-size: 10px; }
/* (no change of position when pressed: these are moved down while directions are open, a transform would undo that under the finger) */
html.ds body .rm-navfab:active, html.ds body .rm-dronefab:active, html.ds body .rm-togfab:active, html.ds body .rm-voxfab:active { box-shadow: none; filter: brightness(1.15); }

/* the tabs inside long apps (js/apptabs.js): quiet pills, the open one solid brand green with white words, no glow */
html.ds body .at-bar button { font-family: var(--ds-font); font-weight: 650; background: var(--ds-fill); color: var(--ds-ink); }
html.ds body .at-bar button.on { background: var(--ds-brand); color: #fff; box-shadow: none; }
html.ds body .phone .screen .bd.at-on > .at-bar { background: var(--ds-bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
html.ds body .prv-hero { background: var(--ds-hero); }

/* the loading screen: the brand mark in a green tile (it was a big bobbing emoji) */
html.ds body .boot-logo { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: #0d6b45; color: #fff; font-size: 30px; animation: none; text-shadow: none; box-shadow: 0 10px 30px -10px rgb(0 0 0 / .5); }
html.ds body .boot-title { font-family: var(--ds-font); font-weight: 800; letter-spacing: -.02em; }
html.ds body .boot-sub { font-family: var(--ds-font); }
html.ds body.frosted .hs-gift { background: var(--ds-accent); color: #2a1c00; }

/* Campus Hustle pop-ups: the soft brand tile like every other pop-up picture (it was an orange-to-red gradient) */
html.ds body .hu-up-ic { background: var(--ds-brand-soft); color: var(--ds-brand-ink); border-radius: 20px; }
html.ds body .hu-up-ic.gold { background: var(--ds-accent-soft); color: var(--ds-accent-ink); }
html.ds body .hu-up-ic svg.ico { width: 30px; height: 30px; stroke-width: 1.8; }
html.ds body .hu-hl div { background: var(--ds-surface-2); box-shadow: var(--ds-edge); }
html.ds body .hu-hl svg.ico { color: var(--ds-brand-ink); } html.ds body .hu-hl b { color: var(--ds-brand-ink); }
html.ds body .hu-big { color: var(--ds-brand-ink); font-family: var(--ds-font); }
/* the big "Enter / Go to your room" button in the walk view: the solid main button (its place and press movement are left as they were) */
html.ds body .rm-enter, html.ds body .rm-enter.mine { background: var(--ds-brand) !important; box-shadow: 0 8px 20px -10px rgb(0 0 0 / .55); text-shadow: none; font-family: var(--ds-font); font-weight: 700; }
/* the floating phone button (walk view, rooms): the brand green, flat */
html.ds body #phonefab { background: var(--ds-brand); box-shadow: 0 8px 20px -10px rgb(0 0 0 / .55); border: 0; }

/* "Where to today?" tickets: the idea stays (a stub with the place code, a tear line, a save end); the lines are in the game's font and
   sentence case, and the black punch hole is a clear save toggle (empty ring, gold when saved) */
html.ds body .tk { background: var(--ds-surface); color: var(--ds-ink); box-shadow: var(--ds-edge); }
html.ds body .tk .tkr { font-family: var(--ds-font); font-weight: 600; font-size: 12px; color: var(--ds-ink-2); }
html.ds body .tk .tks i { font-size: 10px; letter-spacing: 0; font-weight: 650; }
html.ds body .tk .tkp { color: var(--ds-ink-2); font-family: var(--ds-font); font-weight: 650; letter-spacing: 0; }
html.ds body .tk .tkh { background: transparent; box-shadow: inset 0 0 0 2px var(--ds-line-2); }
html.ds body .tk.on .tkh { background: var(--ds-accent); box-shadow: none; }
html.ds body .tk .tkm:active, html.ds body .tk .tkp:active { background: var(--ds-surface-2); }
html.ds body .tkbar button { font-family: var(--ds-font); font-weight: 650; background: var(--ds-fill); color: var(--ds-ink); box-shadow: none; }
html.ds body .tkbar button.on { background: var(--ds-ink); color: var(--ds-surface); }
/* "Jobs" while driving earns money: the gold accent, flat (it was its own orange gradient) */
html.ds body .rm-jobfab:not(.on) { background: var(--ds-accent); color: #2a1c00; border: 0; box-shadow: 0 6px 16px -8px rgb(0 0 0 / .55); }
html.ds body .rm-jobfab small { font-family: var(--ds-font); font-weight: 650; letter-spacing: 0; }

/* ======================================================================================================================================
   FIT THE SCREEN (2026-11-16, the owner's video: the jet charter row ran off the side, the screen slid sideways, "To Rio de Janeiro" was cut)
   In every look (not only html.ds):
   - a row of buttons wraps onto the next line when they do not fit, instead of squeezing them below their words;
   - a button grows a little taller for a second line instead of cutting its words (one-line buttons keep their height);
   - an app screen never scrolls sideways. */
html body .btnrow { flex-wrap: wrap; }
html body .btnrow > * { min-width: fit-content; max-width: 100%; }
html body .btn { height: auto; min-height: 48px; white-space: normal; line-height: 1.2; text-align: center; padding-top: 6px; padding-bottom: 6px; }
html body .btn.sm { height: auto; min-height: 36px; padding-top: 5px; padding-bottom: 5px; }
html body .phone .screen .bd { overflow-x: hidden; }
/* the 7-day reward strip: seven equal columns that always fit the screen */
html body .days { grid-template-columns: repeat(7, minmax(0, 1fr)); }
html body .days .dy b { overflow-wrap: anywhere; }
/* Private Jets: the Buy / Charter switch like every other switch; a long list of destinations as quiet buttons (one solid green per card is enough) */
html.ds body .jet-tabs button { background: var(--ds-fill); color: var(--ds-ink); box-shadow: none; font-family: var(--ds-font); font-weight: 650; }
html.ds body .jet-tabs button.on { background: var(--ds-ink); color: var(--ds-surface); box-shadow: none; }
html.ds body .btn.btn[data-p="jcharter"] { background: var(--ds-fill); color: var(--ds-ink); }
html.ds body .btn.btn[data-p="jcharter"]:active:not(:disabled) { background: var(--ds-fill-2); }

/* ======================================================================================================================================
   THE CHAT IN THE STUDIO LOOK (2026-11-16, the owner: "fix this messaging area, it still looks AI-generated, give it a professional look")
   The Pop Chat of 2026-11-14 (css/liquid.css, not changed) was a dark green screen in both looks, with faces in rainbow rings, gold
   pills, orange gradient bubbles and bouncing pops. Here, over it: the chat follows Light / Dark like the rest of the game; plain rows on
   one surface with a soft brand circle for each group (a line drawing, or the first letter of the group: js/iconset.js); a quiet
   segmented switch; their bubbles white, yours brand green with white words; quiet quick buttons; no bounce.
   Colours a player picked in Chat colours show inside this design (the html.ds[style*="--pcb1"] block just below). */
html.ds { --pcx-bg: #f4f3ee; --pcx-row: #ffffff; --pcx-ink: #15221b; --pcx-soft: #5d6b63; --pcx-line: rgb(21 34 27 / .08); --pcx-in: #ffffff; --pcx-in-ink: #15221b;
  --pcx-bar: #ffffff; --pcx-field: #eeede6; --pcx-out: #0d6b45; --pcx-edge: inset 0 0 0 1px rgb(21 34 27 / .08); }
html.ds.dark { --pcx-bg: #0c1310; --pcx-row: #161f1a; --pcx-ink: #e8eeea; --pcx-soft: #a6b3ac; --pcx-line: rgb(255 255 255 / .07); --pcx-in: #222d27; --pcx-in-ink: #e8eeea;
  --pcx-bar: #121a16; --pcx-field: #1b2520; --pcx-out: #127548; --pcx-edge: inset 0 0 0 1px rgb(255 255 255 / .06); }
/* (2026-11-16, the owner: "put the chat colours back") a player who picked colours in Chat colours (js/online-ui.js CC writes --pcb1... on html)
   sees them inside this design: the background, the bars and their bubbles in the picked shade (always deep, so the words are light),
   their own bubbles in the picked colour (--pcm1, --pcm2, --pcmi). Before, picking colours switched this design off. */
html.ds[style*="--pcb1"] { --pcx-bg: var(--pcbt); --pcx-row: var(--pci); --pcx-ink: #eef3ef; --pcx-soft: #b7c4bd; --pcx-line: rgb(255 255 255 / .09); --pcx-in: var(--pci); --pcx-in-ink: #f2f6ef;
  --pcx-bar: var(--pcbar); --pcx-field: rgb(255 255 255 / .09); --pcx-edge: inset 0 0 0 1px rgb(255 255 255 / .07); }

/* the read ticks on your messages share their class name (.tk) with the Places tickets, and picked up the ticket's box: a dark pill.
   In every look they are plain marks in the bubble now. */
#phone .screen .chatlog .msg .tk, #phone .screen.aurora .chatlog .msg .tk { display: inline-flex; background: none !important; box-shadow: none !important; border-radius: 0; overflow: visible; min-width: 0; padding: 0; }

html.ds #phone .screen.aurora {
  --aur-ink: var(--pcx-ink); --aur-soft: var(--pcx-soft); --aur-in: var(--pcx-in); --aur-in-ink: var(--pcx-in-ink); --pc-in: var(--pcx-in);
  --pc-acc: var(--ds-brand-ink); --pc-gold: var(--ds-brand-ink); --pc-ink2: #fff; --pc-bar: var(--pcx-bar); --aur-time: var(--pcx-soft);
  background: var(--pcx-bg); color: var(--pcx-ink); font-family: var(--ds-font);
}
/* the top bar */
html.ds #phone .screen.aurora .hd2 { background: var(--pcx-bar); box-shadow: inset 0 -1px 0 var(--pcx-line); }
html.ds #phone .screen.aurora .hd2 .back { color: var(--pcx-ink); }
html.ds #phone .screen.aurora .hd2 h2, html.ds #phone .screen.aurora .hd2 .chtx b, html.ds #phone .screen.aurora .hd2 .hd2t { color: var(--pcx-ink); font-family: var(--ds-font); font-weight: 700; letter-spacing: -.01em; }
html.ds #phone .screen.aurora .hd2 .chtx small { color: var(--pcx-soft); }
html.ds #phone .screen.aurora .hd2 .chtx small.on { color: var(--ds-brand-ink); }
html.ds #phone .screen.aurora .hd2 .chav, html.ds #phone .screen.aurora .hd2 .chav.ic { box-shadow: none; background: var(--ds-brand-soft); color: var(--ds-brand-ink); }
html.ds #phone .screen.aurora .hd2 .chav.ic svg { width: 22px; height: 22px; }
/* the list */
html.ds #phone .screen.aurora .tabs { background: var(--pcx-field); border: 0; }
html.ds #phone .screen.aurora .tabs button { color: var(--pcx-soft); font-family: var(--ds-font); font-weight: 650; }
html.ds #phone .screen.aurora .tabs button.on { background: var(--pcx-row); color: var(--pcx-ink); box-shadow: 0 1px 3px rgb(0 0 0 / .12); }
html.ds #phone .screen.aurora .sec { color: var(--pcx-soft); font-family: var(--ds-font); letter-spacing: 0; text-transform: none; font-size: 13px; font-weight: 700; }
html.ds #phone .screen.aurora .field { background: var(--pcx-field); color: var(--pcx-ink); border-color: transparent; }
html.ds #phone .screen.aurora .field:focus { border-color: var(--ds-brand); }
html.ds #phone .screen.aurora .tggrid { background: var(--pcx-row); box-shadow: var(--pcx-edge); border-radius: 16px; }
html.ds #phone .screen.aurora .tg { border-bottom-color: var(--pcx-line); }
html.ds #phone .screen.aurora .tg:active { background: var(--pcx-line); }
html.ds #phone .screen.aurora .tg .tgav > :first-child { box-shadow: none; background: var(--ds-brand-soft); }
html.ds #phone .screen.aurora .tg .tgav i { box-shadow: 0 0 0 2.5px var(--pcx-row); background: #23a26d; }
html.ds #phone .screen.aurora .tg .tgic { background: var(--ds-brand-soft); color: var(--ds-brand-ink); font: 700 18px/1 var(--ds-font); display: grid; place-items: center; }
html.ds #phone .screen.aurora .tg .tgic svg { width: 22px; height: 22px; stroke-width: 1.8; }
html.ds #phone .screen.aurora .tg > b { color: var(--pcx-ink); font-family: var(--ds-font); font-weight: 700; letter-spacing: -.01em; }
html.ds #phone .screen.aurora .tg .tgl { color: var(--pcx-soft); font-family: var(--ds-font); }
html.ds #phone .screen.aurora .tg .tgl.unread { color: var(--pcx-ink); font-weight: 650; }
html.ds #phone .screen.aurora .tg .tgt { color: var(--pcx-soft); }
html.ds #phone .screen.aurora .tg:has(.tgn) .tgt { color: var(--ds-brand-ink); }
html.ds #phone .screen.aurora .tg .tgn { background: var(--ds-brand); color: #fff; box-shadow: none; font-family: var(--ds-font); }
html.ds #phone .screen.aurora .tg .tgloc { background: var(--pcx-field); color: var(--pcx-soft); }
html.ds #phone .screen.aurora .tg .tgloc.on { background: var(--ds-brand-soft); color: var(--ds-brand-ink); }
html.ds #phone .screen.aurora .list .act:not(.onlight), html.ds #phone .screen.aurora .bd > .act:not(.onlight),
html.ds #phone .screen.aurora .bd > .act[data-p=opensuggest] { background: var(--pcx-row) !important; color: var(--pcx-ink); border: 0; box-shadow: var(--pcx-edge); }
html.ds #phone .screen.aurora .act .at b { color: var(--pcx-ink); }
html.ds #phone .screen.aurora .act .at span { color: var(--pcx-soft); }
html.ds #phone .screen.aurora .act .ai { background: var(--ds-brand-soft); color: var(--ds-brand-ink); }
html.ds #phone .screen.aurora .mini, html.ds #phone .screen.aurora .empty { color: var(--pcx-soft); }
html.ds #phone .screen.aurora .btn.sm { background: var(--ds-brand); color: #fff; }
html.ds #phone .screen.aurora .ccpick { color: var(--pcx-ink); background: var(--pcx-field); border: 0; box-shadow: none; font-family: var(--ds-font); font-weight: 650; }
html.ds #phone .screen.aurora .dmpill.ccpill { background: var(--pcx-field); }
/* the conversation */
html.ds #phone .screen.aurora .chatlog .msg .mc { background: var(--pcx-in); color: var(--pcx-in-ink); box-shadow: var(--pcx-edge); }
html.ds #phone .screen.aurora .chatlog .msg.mine .mc { background: linear-gradient(var(--pcm1, var(--pcx-out)), var(--pcm2, var(--pcx-out))); color: var(--pcmi, #fff); box-shadow: none; }
html.ds #phone .screen.aurora .chatlog .msg p, html.ds #phone .screen.aurora .chatlog .msg .cap { font-family: var(--ds-font); font-weight: 500; font-size: 15px; letter-spacing: 0; }
html.ds #phone .screen.aurora .chatlog .msg.mine p { color: var(--pcmi, #fff); }
html.ds #phone .screen.aurora .chatlog .msg:not(.more):not(.big):not(.media) .mc:not(:has(.stkwrap)):not(:has(.voice))::after { background: var(--pcx-in); }
html.ds #phone .screen.aurora .chatlog .msg.mine:not(.more):not(.big):not(.media) .mc:not(:has(.stkwrap)):not(:has(.voice))::after { background: var(--pcm2, var(--pcx-out)); }
html.ds #phone .screen.aurora .chatlog .msg .nm { color: var(--pcx-ink); color: color-mix(in srgb, var(--nc, #0d6b45) 62%, var(--pcx-ink)); font-family: var(--ds-font); letter-spacing: 0; font-weight: 700; }
html.ds #phone .screen.aurora .chatlog .msg.mine .nm.mynm { color: var(--pcms, rgb(255 255 255 / .78)); }
html.ds #phone .screen.aurora .chatlog .msg .av { box-shadow: none; }
html.ds #phone .screen.aurora .chatlog .msg .mt { color: var(--pcx-soft); font-family: var(--ds-font); }
html.ds #phone .screen.aurora .chatlog .msg.mine .mt, html.ds #phone .screen.aurora .chatlog .msg.mine .tk { color: var(--pcms, rgb(255 255 255 / .86)); }
html.ds #phone .screen.aurora .chatlog .msg.mine .tk.read, html.ds #phone .screen.aurora .chatlog .msg.mine .tk.seen { color: var(--pcmr, #bfe6ff); }
html.ds #phone .screen.aurora .chatlog .msg.mine.media .mc:has(.cap) .mt { color: var(--pcms, rgb(255 255 255 / .86)); }
html.ds #phone .screen.aurora .chatlog .msg .rq { background: var(--pcx-line); }
html.ds #phone .screen.aurora .chatlog .msg:not(.mine) .rq b { color: var(--ds-brand-ink); }
html.ds #phone .screen.aurora .chatlog .msg:not(.mine) .rq span { color: var(--pcx-soft); }
html.ds #phone .screen.aurora .chatlog .msg.mine .rq { background: rgb(255 255 255 / .14); border-left-color: var(--pcmi, #fff); }
html.ds #phone .screen.aurora .chatlog .msg.mine .rq b { color: var(--pcmi, #fff); }
html.ds #phone .screen.aurora .chatlog .msg.mine .rq span { color: var(--pcms, rgb(255 255 255 / .8)); }
html.ds #phone .screen.aurora .voice { background: var(--pcx-in); color: var(--pcx-in-ink); box-shadow: var(--pcx-edge); }
html.ds #phone .screen.aurora .msg.mine .voice { background: var(--pcm1, var(--pcx-out)); color: var(--pcmi, #fff); box-shadow: none; }
html.ds #phone .screen.aurora .msg.mine .voice .vp { background: var(--pcmi, #fff); color: var(--pcm2, var(--pcx-out)); }
html.ds #phone .screen.aurora .msg.mine .vwave i { background: var(--pcms, rgb(255 255 255 / .5)); }
html.ds #phone .screen.aurora .msg.mine .vwave i.on { background: var(--pcmi, #fff); }
html.ds #phone .screen.aurora .chatlog .rx button { background: var(--pcx-row); color: var(--pcx-ink); box-shadow: 0 0 0 2px var(--pcx-bg), 0 1px 4px rgb(0 0 0 / .18); }
html.ds #phone .screen.aurora .chatlog .rx button b { color: var(--pcx-soft); }
html.ds #phone .screen.aurora .chatlog .rx button.on { background: var(--ds-brand-soft); box-shadow: 0 0 0 2px var(--ds-brand-ink); }
html.ds #phone .screen.aurora .chatlog .chatday { color: var(--pcx-soft); font-family: var(--ds-font); letter-spacing: 0; }
html.ds #phone .screen.aurora .newline { color: var(--ds-brand-ink); }
html.ds #phone .screen.aurora .newline::before, html.ds #phone .screen.aurora .newline::after { background: var(--pcx-line); }
html.ds #phone .screen.aurora .newline span { background: var(--pcx-bg); border-color: var(--pcx-line); color: var(--ds-brand-ink); }
html.ds #phone .screen.aurora .tolatest, html.ds #phone .screen.aurora .csbtn { background: var(--pcx-row); color: var(--pcx-ink); border: 0; box-shadow: 0 2px 10px rgb(0 0 0 / .18); }
html.ds #phone .screen.aurora .tolatest i { background: var(--ds-brand); color: #fff; }
html.ds #phone .screen.aurora .chatlog .typing span { background: var(--pcx-in); box-shadow: var(--pcx-edge); }
html.ds #phone .screen.aurora .chatlog .typing i { background: var(--pcx-soft); }
html.ds #phone .screen.aurora .chatlog .typing b { color: var(--pcx-soft); font-family: var(--ds-font); }
/* a new bubble slides in quickly, no bounce */
html.ds #phone .screen.aurora .chatlog > .msg:last-of-type, html.ds #phone .screen.aurora .chatlog .typing { animation-duration: .2s; animation-timing-function: var(--ds-ease); }
html.ds #phone .screen.aurora .chatlog .rx button, html.ds #phone .screen.aurora .msgmenu .mmrx button { animation-timing-function: var(--ds-ease); }
/* the quick buttons and the message box */
html.ds #phone .screen.aurora .dmbar { background: var(--pcx-bar); box-shadow: inset 0 1px 0 var(--pcx-line); }
html.ds #phone .screen.aurora .dmpill, html.ds #phone .screen.aurora .dmpill.green, html.ds #phone .screen.aurora .dmpill.blue,
html.ds #phone .screen.aurora .dmpill.gold, html.ds #phone .screen.aurora .dmpill.rose { background: var(--pcx-field); color: var(--pcx-ink); border: 0; box-shadow: none; font-family: var(--ds-font); font-weight: 650; }
html.ds #phone .screen.aurora .dmpill:first-child { background: var(--ds-brand); color: #fff; border: 0; box-shadow: none; }
html.ds #phone .screen.aurora .chatform { background: var(--pcx-bar); box-shadow: inset 0 1px 0 var(--pcx-line); }
html.ds #phone .screen.aurora .chatform input { background: var(--pcx-field); color: var(--pcx-ink); border-color: transparent; box-shadow: none; font-family: var(--ds-font); font-weight: 500; }
html.ds #phone .screen.aurora .chatform input::placeholder { color: var(--pcx-soft); }
html.ds #phone .screen.aurora .chatform input:focus { background: var(--pcx-field); border-color: var(--ds-brand); box-shadow: none; }
html.ds #phone .screen.aurora .chatform .attbtn, html.ds #phone .screen.aurora .chatform .stkbtn, html.ds #phone .screen.aurora .chatform .atbtn { background: var(--pcx-field); color: var(--pcx-soft); box-shadow: none; }
html.ds #phone .screen.aurora .chatform .mic, html.ds #phone .screen.aurora .chatform [data-p=send] { background: var(--pcm1, var(--pcx-out)); color: var(--pcmi, #fff); box-shadow: none; }
html.ds #phone .screen.aurora .replybar, html.ds #phone .screen.aurora .recbar, html.ds #phone .screen.aurora .stkpanel, html.ds #phone .screen.aurora .atpanel { background: var(--pcx-bar); border-top-color: var(--pcx-line); }
html.ds #phone .screen.aurora .replybar .rt b { color: var(--ds-brand-ink); }
html.ds #phone .screen.aurora .pinbar, html.ds #phone .screen.aurora .tagbar { background: var(--pcx-row); border-bottom-color: var(--pcx-line); }
html.ds #phone .screen.aurora .msgmenu .mmscrim { background: rgb(5 10 7 / .35); }
html.ds #phone .screen.aurora .msgmenu .mmrx { background: var(--pcx-row); }
html.ds #phone .screen.aurora .msgmenu .mmrx button.on { background: var(--ds-brand-soft); }
html.ds #phone .screen.aurora .msgmenu .mmacts { background: var(--pcx-row); border: 0; color: var(--pcx-ink); }
html.ds #phone .screen.aurora .msgmenu .mmacts button { color: var(--pcx-ink); border-bottom-color: var(--pcx-line); }
html.ds #phone .screen.aurora .msgmenu .mmacts .danger { color: var(--ds-danger); }

/* ======================================================================================================================================
   NO ZOOM (2026-11-16, the owner: "make everything fit the screen perfectly, no zoom in and out"): a typing box under 16 px makes the
   iPhone zoom the whole page in when it is tapped, and it stays zoomed. Every typing box is at least 16 px (in every look). */
html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]), html body select, html body textarea { font-size: max(16px, 1em); }
html, body { touch-action: manipulation; }
/* Faculty Wars rows: the medal slot (.wm) shares its name with a pop-up in css/vatar.css (.wm { width: 100% }), which made it fill the
   row and squeeze the faculty's name to nothing; in a row it is the small fixed slot it was meant to be (in every look) */
html body .row > .wm { width: 28px; flex: none; align-self: auto; text-align: center; }
/* picked chat colours: the round pictures and icon tiles are soft white over the picked shade */
html.ds[style*="--pcb1"] #phone .screen.aurora .tg .tgic, html.ds[style*="--pcb1"] #phone .screen.aurora .tg .tgav > :first-child, html.ds[style*="--pcb1"] #phone .screen.aurora .act .ai,
html.ds[style*="--pcb1"] #phone .screen.aurora .hd2 .chav, html.ds[style*="--pcb1"] #phone .screen.aurora .hd2 .chav.ic { background: rgb(255 255 255 / .1); color: #eef3ef; }
/* the "Group voice call" bar at the top of a group chat: the chat's own row surface (it was a fixed see-through white box) */
html.ds #phone .screen.aurora .gcbar:not(.live):not(.mine) { background: var(--pcx-row); color: var(--pcx-ink); box-shadow: var(--pcx-edge); border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.ds #phone .screen.aurora .gcbar:not(.live):not(.mine) b { color: var(--pcx-ink); } html.ds #phone .screen.aurora .gcbar:not(.live):not(.mine) small { color: var(--pcx-soft); }
