/* =====================================================================
   FIX ROUND 4 (14 Nov 2026) - the calm look. Loaded LAST. One button style, soft off-white text, gold only as a thin accent.
   Replaces the gold glossy glass-kit buttons (art/ui/glass/btn-*.webp, opt-*, tab-*, tog-*, input/select fields), the round arrow
   Back / Next buttons and the gold window titles. The old rules were removed from glass.css (backup: art/backup-r4/).
   Every rule starts "html body:not(#_):not(#_):not(#_)": that is only here to win over the older layers.
   ===================================================================== */
:root{
  --k-ink:#e9ece1;          /* soft off-white text (not pure white) */
  --k-name:#e9ece1;         /* player names: Home, Profile, Friends, Ranking use the same colour */
  --k-mute:#a8bdb2;         /* small labels */
  --k-line:rgba(233,236,225,.30);
  --k-fill:linear-gradient(180deg,#2a6a5e,#1d4d45);       /* the one button fill */
  --k-fill-soft:rgba(9,28,25,.62);                           /* secondary buttons, option boxes */
  --k-acc:#d9b765;          /* the thin gold accent: selected state only */
  --k-r:10px;
}
/* the ONE button: .btn = primary, .ghost / .mini-btn / .alt = secondary (outline), .end / .danger / #delAcct = red */
html body:not(#_):not(#_):not(#_) :is(.btn,.gbtn,.ghost,.mini-btn,button.wide,.buy,.playbuy,#slotRand):not(.xback):not(.ivx):not(.google):not(.apple):not(.backlink):not(.htab):not(.hplay):not(.hstore){
  min-height:38px; height:auto; padding:6px 18px !important; margin-left:auto; margin-right:auto;
  border:1px solid rgba(255,255,255,.2) !important; border-image:none !important; border-radius:var(--k-r) !important;
  background:var(--k-fill) !important; color:var(--k-ink) !important; text-shadow:none !important; text-transform:none; letter-spacing:.01em;
  font-weight:700; font-size:15px; box-shadow:0 2px 6px rgba(0,0,0,.35) !important; filter:none !important; --h:auto; --cap:0px;
  transition:transform .08s, filter .12s;
}
html body:not(#_):not(#_):not(#_) :is(.ghost,.mini-btn,.btn.alt,.gbtn.alt,#slotRand):not(.xback):not(.ivx):not(.google):not(.apple):not(.backlink):not(.htab):not(.end):not(.danger):not(.hplay):not(.hstore){
  background:var(--k-fill-soft) !important; border:1px solid var(--k-line) !important; box-shadow:none !important; font-weight:600 }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) :is(.ghost.end,.btn.end,.btn.danger,.ghost.danger,#delAcct){
  background:linear-gradient(180deg,#7a3434,#5c2525) !important; border:1px solid rgba(255,255,255,.18) !important; color:var(--k-ink) !important }
html body:not(#_):not(#_):not(#_) :is(.btn,.gbtn,.ghost,.mini-btn,.buy,.playbuy,#slotRand):not(.xback):not(.ivx):not(:disabled):active{ transform:scale(.97); filter:brightness(1.12) !important }
html body:not(#_):not(#_):not(#_) :is(.btn,.gbtn,.ghost,.mini-btn,.buy,.playbuy,#slotRand):disabled{ opacity:.4; filter:none !important; box-shadow:none !important }
html body:not(#_):not(#_):not(#_) :is(.btn,.gbtn,.ghost,.mini-btn,.buy,.playbuy,#slotRand):not(.xback):not(.google):not(.apple)::before,
html body:not(#_):not(#_):not(#_) :is(.btn,.gbtn,.ghost,.mini-btn,.buy,.playbuy,#slotRand):not(.xback):not(.google):not(.apple)::after{ display:none !important }
html body :is(.btn,.ghost,.mini-btn) .btnic{ width:18px; height:18px; vertical-align:-4px; margin-right:6px; filter:none }
html body:not(#_):not(#_):not(#_) button.wide{ display:block; width:100%; max-width:420px }

/* ---- option boxes (setup pages, pick-one lists): flat dark, the chosen one gets a teal fill and a thin gold line ---- */
html body:not(#_):not(#_):not(#_) #setupOv .opt{
  position:relative; min-height:56px; padding:6px 12px !important; margin:0 !important; display:flex; align-items:center; justify-content:center; text-align:center;
  border:1px solid var(--k-line) !important; border-image:none !important; border-radius:12px !important; background:var(--k-fill-soft) !important; box-shadow:none !important; filter:none !important; color:var(--k-ink) !important }
html body:not(#_):not(#_):not(#_) #setupOv .opt b{ color:var(--k-ink) !important; font-size:16px; font-weight:700; text-shadow:none }
html body:not(#_):not(#_):not(#_) #setupOv .opt[aria-pressed="true"]{ background:var(--k-fill) !important; border:1.5px solid var(--k-acc) !important; box-shadow:0 2px 8px rgba(0,0,0,.4) !important; filter:none !important }
html body:not(#_):not(#_):not(#_) #setupOv .opt[aria-pressed="true"] b{ color:#fff !important }
html body:not(#_):not(#_):not(#_) #setupOv .opt:not([aria-pressed="true"]):active{ transform:scale(.97) }

/* ---- tabs (sign in, collection, store, ranking ...) ---- */
html body:not(#_):not(#_):not(#_) :is(#acctOv .tabs button,.ctabs button,.lgtabs button){
  border:1px solid transparent !important; border-image:none !important; border-radius:9px !important; background:transparent !important; color:var(--k-mute) !important; text-shadow:none !important; box-shadow:none !important; font-weight:700; filter:none !important; opacity:1 }
html body:not(#_):not(#_):not(#_) :is(#acctOv .tabs button[aria-selected="true"],.ctabs button.on,.ctabs button[aria-selected="true"],.lgtabs button.on,.lgtabs button[aria-selected="true"]){
  background:var(--k-fill) !important; color:#fff !important; border:1px solid rgba(255,255,255,.22) !important }
html body:not(#_):not(#_):not(#_) #acctOv .tabs{ background:none !important; padding:0 !important; gap:6px !important }

/* ---- switches (settings): a plain track with a round knob ---- */
html body:not(#_):not(#_):not(#_) :is(#setOv,.gov) .tog i{ position:relative; display:block; flex:none; width:46px; height:26px; border-radius:13px !important; background:rgba(255,255,255,.16) !important; border:1px solid var(--k-line) !important; transition:background .15s }
html body:not(#_):not(#_):not(#_) :is(#setOv,.gov) .tog i::before{ display:none !important }
html body:not(#_):not(#_):not(#_) :is(#setOv,.gov) .tog i::after{ content:"" !important; position:absolute; top:2px; left:2px; width:20px; height:20px; border-radius:50%; background:#e9ece1; box-shadow:0 1px 3px rgba(0,0,0,.5); transition:transform .15s }
html body:not(#_):not(#_):not(#_) :is(#setOv,.gov) .tog input:checked + i{ background:#2f8a74 !important; border-color:transparent !important }
html body:not(#_):not(#_):not(#_) :is(#setOv,.gov) .tog input:checked + i::after{ transform:translateX(20px) }

/* ---- text fields and drop-downs ---- */
html body:not(#_):not(#_):not(#_) :is(#acctOv,#setOv,#setupOv) :is(.field input:not([type=checkbox]):not([type=range]):not([type=file]),.joinrow input,.field select,.slot select){
  min-height:38px; box-sizing:border-box; width:100%; padding:0 12px !important; border:1px solid var(--k-line) !important; border-image:none !important; border-radius:10px !important;
  background:rgba(5,20,18,.72) !important; color:var(--k-ink) !important; box-shadow:none !important; font-size:15px }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) :is(#acctOv,#setOv,#setupOv) :is(.field select,.slot select){ appearance:none; -webkit-appearance:none; padding-right:30px !important;
  background:rgba(5,20,18,.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e9ece1' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") right 11px center/12px 8px no-repeat !important }
html body:not(#_):not(#_):not(#_) :is(#acctOv,#setOv,#setupOv) :is(.field input,.joinrow input):focus,
html body:not(#_):not(#_):not(#_) :is(#acctOv,#setOv,#setupOv) :is(.field select,.slot select):focus{ outline:none; border-color:var(--k-acc) !important }

/* ---- window titles: soft off-white, no gold gradient ---- */
html body:not(#_):not(#_):not(#_) .gov:not(#roundOv):not(#quickOv)>.gpanel:not(.home)>h2,html body:not(#_):not(#_):not(#_) .gov .gpanel .lgbar>h2,html body:not(#_):not(#_):not(#_) .gov .phead h2{
  background:none !important; -webkit-background-clip:border-box !important; background-clip:border-box !important; color:var(--k-ink) !important; -webkit-text-fill-color:var(--k-ink) !important; filter:none !important; text-shadow:0 1px 2px rgba(0,0,0,.5) !important }

/* ---- names: the same soft colour everywhere ---- */
html body:not(#_):not(#_):not(#_) :is(#meChip .nm,#meChip b,#profOv .pname,#profOv .bigname,#friendsOv .fname,#friendsOv .frow b,#rankOv .rname){ color:var(--k-name) !important }

/* ---- the home screen: the same flower picture, calmer, so the cards stand out ---- */
html body:not(#_):not(#_):not(#_) :is(#hubOv.hubov,#homeOv,#achOv){
  background:linear-gradient(rgba(4,16,14,.46),rgba(4,16,14,.58)), #04120f url(../art/ui/glass/loading-bg-glass.webp?v=2) center/cover no-repeat !important; background-blend-mode:normal }

/* =====================================================================
   The game setup pages (vs computer, friends room): one question per page, centred, nothing cut off.
   Top: the window title. Middle: the question + big choices. Bottom bar: Back (left), step dots (centre), Next / Start (right).
   ===================================================================== */
html body:not(#_):not(#_):not(#_) #setupOv.gsetup .gpanel{ display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:14px; width:100%; max-width:none; height:100%; box-sizing:border-box;
  padding:calc(var(--safeT,0px) + 70px) calc(var(--safeR,0px) + 22px) calc(var(--safeB,0px) + 104px) calc(var(--safeL,0px) + 22px); overflow-x:hidden; overflow-y:auto }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup .gpanel>*{ order:50; flex:none; width:min(860px,100%); max-width:100%; box-sizing:border-box }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup .gpanel>h2{ order:0 }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup [hidden]{ display:none !important }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup #hPlayers{ order:10 }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup #modeOpts{ order:11 }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup #pmRow{ order:20; display:contents }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup :is(#targetWrap,#matchWrap,#aceWrap,#magicWrap){ order:20; display:flex; flex-direction:column; align-items:center; gap:14px; width:min(860px,100%) }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup #slotsWrap{ order:40; display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"h r" "s s"; align-items:center; gap:10px 12px; width:min(780px,100%); position:static }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup #slotsWrap>h3{ grid-area:h; justify-self:start }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup #slotsWrap>.slots{ grid-area:s }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup #slotsWrap>#slotRand{ grid-area:r; position:static !important; width:auto !important; margin:0 !important; min-height:34px; padding:4px 14px !important; font-size:14px }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup #setupErr{ order:45; min-height:0; margin:0 }

/* the question of each page: a small outlined number and the words, on one line */
html body:not(#_):not(#_):not(#_) #setupOv.gsetup h3[data-n]{ display:flex; align-items:center; justify-content:center; gap:12px; margin:0 !important; font-size:24px !important; font-weight:700; letter-spacing:.02em; text-transform:none; color:var(--k-ink) !important; text-align:center }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup h3[data-n]::before{ content:attr(data-n); display:grid; place-items:center; flex:none; width:30px; height:30px; border-radius:50%; background:none; border:1.5px solid var(--k-acc); color:var(--k-acc); font:700 15px/1 system-ui,sans-serif; box-shadow:none }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup #slotsWrap>h3[data-n]{ justify-content:flex-start }

/* the choices */
html body:not(#_):not(#_):not(#_) #setupOv.gsetup :is(#modeOpts,#targetOpts,#matchOpts,#aceOpts,#magicOpts){ display:flex !important; flex-wrap:wrap; justify-content:center; gap:12px !important; grid-template-columns:none !important; width:100% }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup .opt{ flex:0 1 210px; min-width:0; min-height:72px }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup #modeOpts{ flex-wrap:nowrap; gap:10px !important }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup #modeOpts .opt{ flex:1 1 0; max-width:200px; padding-left:4px !important; padding-right:4px !important }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup #modeOpts .opt b{ font-size:15px; white-space:nowrap }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup .opt b{ font-size:18px; white-space:normal; line-height:1.15 }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup .modeic{ display:none !important }

/* the seats: two columns, each a small card with a round letter */
html body:not(#_):not(#_):not(#_) #setupOv.gsetup .slots{ display:grid !important; grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important; gap:10px 14px !important; width:100% }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup .slot{ display:grid; grid-template-columns:40px minmax(0,1fr); column-gap:12px; row-gap:2px; align-items:center; margin:0; padding:7px 10px; box-sizing:border-box;
  border:1px solid var(--k-line); border-radius:12px; background:var(--k-fill-soft); font-size:12px; color:var(--k-mute) }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup .slot>.seatav{ grid-row:1 / span 2; width:40px; height:40px; border-radius:50%; display:grid; place-items:center; font:700 18px/1 system-ui,sans-serif; font-style:normal; color:var(--k-ink); background:#1f4f47; box-shadow:inset 0 0 0 1px var(--k-line) }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup .slot>:not(.seatav){ grid-column:2; min-width:0 }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setupOv.gsetup .slot select{ width:100% !important; max-width:100% !important; min-height:32px !important; height:32px !important; font-size:14px; padding-top:0; padding-bottom:0 }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup .slot.me{ border-color:rgba(217,183,101,.55) }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup .slot.me .youseat{ font-size:16px; color:var(--k-ink); font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap }

/* the bottom bar: Back left, dots centre, Next / Start right (the bar lets taps through; only the buttons catch them) */
html body:not(#_):not(#_):not(#_) #setupOv.gsetup #gsNav{ order:100; position:fixed; left:0; right:0; bottom:0; z-index:5; width:auto; max-width:none; display:flex; align-items:center; justify-content:space-between; gap:14px; pointer-events:none;
  padding:22px calc(var(--safeR,0px) + 30px) calc(var(--safeB,0px) + 36px) calc(var(--safeL,0px) + 30px); background:linear-gradient(rgba(3,14,12,0),rgba(3,14,12,.92) 55%) }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup #gsNav>*{ pointer-events:auto }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup #gsNav .gssum{ display:none }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup #gsNav>:is(#gsNext,#dealBtn,#gsBack){ width:auto !important; flex:none !important; display:inline-flex !important; align-items:center; justify-content:center }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup #gsNav>:is(#gsNext,#dealBtn){ margin-left:auto !important; margin-right:0 !important; min-width:120px; min-height:40px; font-size:16px }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup #gsNav>#gsBack{ margin-left:0 !important; margin-right:auto !important; min-width:90px; min-height:40px; font-size:15px }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup #gsDots{ position:fixed; z-index:6; left:50%; bottom:calc(var(--safeB,0px) + 52px); transform:translateX(-50%); width:auto; display:flex; gap:8px; margin:0; pointer-events:none }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup #gsDots i{ width:8px; height:8px; border-radius:50%; background:rgba(233,236,225,.28); box-shadow:none }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup #gsDots i.done{ background:rgba(233,236,225,.6) }
html body:not(#_):not(#_):not(#_) #setupOv.gsetup #gsDots i.on{ width:22px; border-radius:4px; background:var(--k-ink); box-shadow:none }

/* short landscape phones */
@media (max-height:440px){
  html body:not(#_):not(#_):not(#_) #setupOv.gsetup .gpanel{ padding-top:calc(var(--safeT,0px) + 58px); padding-bottom:calc(var(--safeB,0px) + 84px); gap:10px }
  html body:not(#_):not(#_):not(#_) #setupOv.gsetup h3[data-n]{ font-size:19px !important; gap:9px }
  html body:not(#_):not(#_):not(#_) #setupOv.gsetup h3[data-n]::before{ width:24px; height:24px; font-size:13px }
  html body:not(#_):not(#_):not(#_) #setupOv.gsetup .opt{ min-height:56px; flex-basis:170px }
  html body:not(#_):not(#_):not(#_) #setupOv.gsetup .opt b{ font-size:16px }
  html body:not(#_):not(#_):not(#_) #setupOv.gsetup #modeOpts .opt b{ font-size:13px }
  html body:not(#_):not(#_):not(#_) #setupOv.gsetup #modeOpts .opt{ min-height:60px }
  html body:not(#_):not(#_):not(#_) #setupOv.gsetup .slots{ gap:7px 12px !important }
  html body:not(#_):not(#_):not(#_) #setupOv.gsetup .slot{ grid-template-columns:30px minmax(0,1fr); column-gap:9px; row-gap:0; padding:4px 8px; font-size:11px; line-height:1.15 }
  html body:not(#_):not(#_):not(#_) #setupOv.gsetup .slot>.seatav{ width:30px; height:30px; font-size:14px }
  html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setupOv.gsetup .slot select{ min-height:27px !important; height:27px !important; font-size:13px; padding-left:8px !important }
  html body:not(#_):not(#_):not(#_) #setupOv.gsetup .slot.me .youseat{ font-size:14px }
  html body:not(#_):not(#_):not(#_) #setupOv.gsetup #slotsWrap{ gap:6px 10px }
  html body:not(#_):not(#_):not(#_) #setupOv.gsetup #slotsWrap>#slotRand{ min-height:30px; padding:2px 12px !important; font-size:13px }
  html body:not(#_):not(#_):not(#_) #setupOv.gsetup #gsNav{ padding-top:8px; padding-bottom:calc(var(--safeB,0px) + 28px) }
  html body:not(#_):not(#_):not(#_) #setupOv.gsetup #gsNav>:is(#gsNext,#dealBtn,#gsBack){ min-height:36px; font-size:14px }
  html body:not(#_):not(#_):not(#_) #setupOv.gsetup #gsDots{ bottom:calc(var(--safeB,0px) + 42px) }
}

/* the window title leaves room for the small Back button */
html body:not(#_):not(#_):not(#_) .gov:not(#roundOv):not(#quickOv)>.gpanel:not(.home)>h2{ padding-left:80px !important }

/* =====================================================================
   PROFILE (Fix Round 4 item 8): the photo kept being squeezed to 60 x 52 on short screens. It is now a fixed square that cannot shrink,
   and the card is a plain grid: photo + name / place / streak, then level, next unlock, stats. Colours: soft off-white, thin neutral lines.
   ===================================================================== */
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #profOv .gpanel{ display:grid !important; grid-template-columns:minmax(0,1.08fr) minmax(0,1fr) !important; column-gap:32px !important; row-gap:0 !important; align-content:start !important; align-items:start !important;
  padding:calc(var(--safeT,0px) + 66px) calc(var(--safeR,0px) + 26px) 14px calc(var(--safeL,0px) + 26px) !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #profOv .pcard{ grid-column:1 !important; grid-row:1 !important; display:grid !important; grid-template-columns:64px minmax(0,1fr) !important; grid-template-rows:auto;
  column-gap:14px !important; row-gap:2px !important; align-items:center; padding:0 !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #profOv :is(.pcard,.mlist)::before{ color:var(--k-mute) !important; font-size:11px; letter-spacing:.14em; margin-bottom:8px }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #profOv .bigav{ grid-column:1 !important; grid-row:2 / span 3 !important; width:64px !important; height:64px !important; min-width:64px !important; min-height:64px !important; max-width:64px !important; max-height:64px !important;
  aspect-ratio:1 / 1; flex:none; margin:0 !important; align-self:center !important; justify-self:center; border-radius:50% !important; background-size:cover !important; background-position:center !important; box-shadow:0 0 0 2px rgba(233,236,225,.38) !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #profOv .bigav:is([class*="fr-"]){ box-shadow:none !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #profOv :is(.ptitle,.pmail,.wallet):empty{ display:none !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #profOv .pname{ color:var(--k-name) !important; font-size:19px !important; line-height:1.15; overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #profOv :is(.pmeta,.streak){ color:var(--k-mute) !important; font-size:12.5px !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #profOv .lvl{ margin-top:12px !important; color:var(--k-ink) !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #profOv .lvl>span:first-child{ font-weight:700; color:var(--k-ink) !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #profOv .lvl .xpbar{ height:6px !important; background:rgba(233,236,225,.14) !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #profOv .lvl .xpbar i{ background:#7fc4b0 !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #profOv :is(.lvl small,.nextrw){ color:var(--k-mute) !important; font-size:11.5px !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #profOv .stats{ border-color:var(--k-line) !important; margin-top:12px !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #profOv .stats>div+div{ border-left-color:var(--k-line) !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #profOv .stats b,html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #profOv .stats b.win{ color:var(--k-ink) !important; font-size:19px !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #profOv .stats span{ color:var(--k-mute) !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #profOv .mlist{ grid-column:2 !important; grid-row:1 !important; align-self:start }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #profOv .mrow{ border-bottom:1px solid var(--k-line) !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #profOv .mrow b{ color:var(--k-ink) !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #profOv .mrow.danger b{ color:#f0a39a !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #profOv .mrow em{ color:var(--k-mute) !important }

/* =====================================================================
   EDIT PROFILE (Fix Round 4 item 6): no Character button, no scrolling. Left: your profile (photo + name, sex + year, place + Save).
   Right: the account (signed in with, Sign out, Delete). One screen at every size.
   ===================================================================== */
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof{ display:grid !important; grid-template-columns:minmax(0,1.9fr) minmax(0,.9fr) !important; column-gap:30px !important; row-gap:0 !important; align-content:start; align-items:start;
  padding:calc(var(--safeT,0px) + 62px) calc(var(--safeR,0px) + 26px) 10px calc(var(--safeL,0px) + 26px) !important; overflow:hidden }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof>:is(.xback,.backlink,h2){ grid-column:1 / -1 }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof #setProfile{ grid-column:1 !important; grid-row:2 !important; display:grid !important; grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  grid-template-areas:"h h" "photo name" "two two" "place save" "note note"; gap:12px 16px !important; align-items:end; width:100% }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof #setProfile>*{ grid-column:auto !important; margin:0 !important; min-width:0 }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof #setProfile>h3{ grid-area:h !important; margin:0 !important; font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--k-mute) !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof #setProfile>.photorow{ grid-area:photo !important; align-self:center; display:grid; grid-template-columns:64px minmax(0,1fr); gap:12px; align-items:center }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof .photorow>div>b{ display:none }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof .photoacts{ display:flex; flex-direction:column; gap:6px; margin:0 }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof .photoacts .mini-btn{ min-height:30px; padding:2px 10px !important; font-size:13px; width:100%; margin:0 }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .photobtn{ width:64px !important; height:64px !important; min-width:64px; flex:none; padding:0; border-radius:50%; aspect-ratio:1 / 1; position:relative }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .photobtn #setAv,html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv #setAv .bigav{ width:64px !important; height:64px !important; min-width:64px; max-width:64px; aspect-ratio:1 / 1; display:block; border-radius:50% !important; background-size:cover !important; background-position:center !important; box-shadow:0 0 0 2px rgba(233,236,225,.38) !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .photobtn i{ right:-3px; bottom:-3px; width:24px; height:24px; background:#2a6a5e !important; color:var(--k-ink) !important; box-shadow:0 0 0 2px #0b1f1b }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof #setProfile>label.field:has(#setName){ grid-area:name !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof #setProfile>.two{ grid-area:two !important; display:grid !important; grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important; gap:12px 16px }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof #setProfile>.field:has(#setPlace){ grid-area:place !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof #setProfile>#saveProfile{ grid-area:save !important; max-width:none !important; width:100%; justify-self:stretch }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof #setProfile>.note{ grid-area:note !important; font-size:12px; color:var(--k-mute); margin:0 !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof #setProfile .field{ display:grid; gap:4px; font-size:12px; color:var(--k-mute); font-weight:600 }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof #setProfile .field>span{ font-size:12px; color:var(--k-mute) }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof .placebtn{ min-height:38px; padding:4px 12px; border:1px solid var(--k-line) !important; border-radius:10px !important; background:rgba(5,20,18,.72) !important; color:var(--k-ink) !important; box-shadow:none !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof .placebtn b{ font-size:14px; color:var(--k-ink) }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof .placebtn small{ color:var(--k-mute); font-weight:700 }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof #setAccount{ grid-column:2 !important; grid-row:2 !important; display:grid !important; grid-template-columns:1fr !important; gap:10px !important; margin:0 !important; align-content:start; align-self:start }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof #setAccount>h3{ margin:0 !important; font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--k-mute) !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof #setAccount .kv{ display:flex; justify-content:space-between; gap:8px; font-size:12.5px; color:var(--k-mute); margin:0 }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof #setAccount .kv b{ color:var(--k-ink) }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof #setAccount button{ width:100% !important; max-width:none; margin:0 !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof>:is(#setErr,.ver){ grid-column:1 / -1 }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof>#setErr{ margin:6px 0 0; min-height:0; font-size:12px }
@media (max-height:430px){
  html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof #setProfile{ gap:8px 16px !important }
  html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof #setProfile>.note,html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof .ver{ display:none !important }
  html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof #setProfile .field{ gap:2px }
}

/* ---- price pills in the Store, collection preview buttons, score chips: flat, no gold gloss ---- */
html body:not(#_):not(#_):not(#_):not(#_) :is(.sitem,.shoppack,.shopentry) .price{ background:rgba(5,20,18,.78) !important; border:1px solid var(--k-line) !important; border-image:none !important; color:var(--k-ink) !important; box-shadow:none !important; text-shadow:none !important; filter:none !important; border-radius:999px !important }
html body:not(#_):not(#_):not(#_):not(#_) :is(.sitem,.shoppack,.shopentry) .price *{ color:var(--k-ink) !important; text-shadow:none !important }
html body:not(#_):not(#_):not(#_):not(#_) .sitem.have .price{ background:var(--k-fill) !important; border-color:rgba(255,255,255,.22) !important }
html body:not(#_):not(#_):not(#_):not(#_) #collPrev{ min-width:0 }
html body:not(#_):not(#_):not(#_):not(#_) #collPrev .cpacts{ min-width:0; max-width:100% }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #collPrev .cpacts :is(.gbtn,.btn){ padding:4px 12px !important; font-size:13px !important; min-height:32px !important; margin:0 !important; max-width:100%; white-space:nowrap }
html body:not(#_):not(#_):not(#_):not(#_):not(#_) .chip{ background:rgba(6,22,19,.85) !important; border:1px solid var(--k-line) !important; border-radius:999px !important; box-shadow:none !important; color:var(--k-ink) !important; padding-left:14px !important; padding-right:14px !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_) .chip.mine{ background:var(--k-fill) !important; border:1px solid rgba(255,255,255,.28) !important; color:#fff !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_) .chip.mine :is(b,span,i){ color:#fff !important; text-shadow:none !important }

/* ---- more gold -> calm: the home option buttons, Google button, headings, window titles in header bars ---- */
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) :is(.hbtn.main,#homeQuick){ background:var(--k-fill) !important; border:1px solid rgba(255,255,255,.26) !important; border-image:none !important; color:var(--k-ink) !important; box-shadow:0 2px 8px rgba(0,0,0,.4) !important; text-shadow:none !important; filter:none !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) :is(.hbtn.main,#homeQuick) *{ color:var(--k-ink) !important; text-shadow:none !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) .btn.google{ background:#eef0e8 !important; color:#1c2b27 !important; border:1px solid rgba(255,255,255,.5) !important; box-shadow:0 2px 6px rgba(0,0,0,.35) !important; text-shadow:none !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) .btn.apple{ background:#0b0f0e !important; color:#f2f2ee !important; border:1px solid rgba(255,255,255,.35) !important; text-shadow:none !important }
html body:not(#_):not(#_):not(#_) .gov .gpanel .lgbar>h2,html body:not(#_):not(#_):not(#_) .gov .phead h2{ padding-left:80px !important }
html body:not(#_):not(#_):not(#_):not(#_) .gov .gpanel :is(.faq b,.faq summary,.faq h4){ color:var(--k-ink) !important }
html body:not(#_):not(#_):not(#_):not(#_) .gov .gpanel :is(h3,.sech,.flabel){ color:var(--k-mute) !important }

/* ---- tab strips (Collection, Store, Ranking ...): start at the left edge and fit; on small phones the little icons go and the padding shrinks ---- */
html body:not(#_):not(#_):not(#_):not(#_) :is(#collOv,#shopOv) .ctabs{ justify-self:stretch !important; max-width:100% !important; box-sizing:border-box; overflow-x:auto; justify-content:flex-start }
@media (max-width:760px){
  html body:not(#_):not(#_):not(#_):not(#_) :is(#collOv,#shopOv) .ctabs button{ padding-left:8px !important; padding-right:8px !important; font-size:12px !important; gap:0 }
  html body:not(#_):not(#_):not(#_):not(#_) :is(#collOv,#shopOv) .ctabs button :is(svg,img,i,.tic){ display:none !important }
}
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof>:is(#setErr,.ver){ grid-row:3 !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof>:is(.xback,.backlink,h2){ grid-row:1 !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof>.ver{ margin:10px 0 0; text-align:left }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #setOv .gpanel.mprof{ grid-template-rows:0 auto auto !important }

/* ---- On / off switches (Settings): a clear track with a round knob (the older picture switch hid the knob) ---- */
html body:not(#_):not(#_):not(#_):not(#_):not(#_) :is(#setOv,.gov) .tog i{ width:50px !important; height:28px !important; border-radius:14px !important; background:rgba(255,255,255,.16) !important; background-image:none !important; border:1px solid var(--k-line) !important; box-shadow:none !important; position:relative; flex:none }
html body:not(#_):not(#_):not(#_):not(#_):not(#_) :is(#setOv,.gov) .tog i::after{ display:block !important; content:"" !important; position:absolute; top:2px; left:2px; width:22px; height:22px; border-radius:50%; background:#e9ece1; box-shadow:0 1px 3px rgba(0,0,0,.5); transition:transform .15s }
html body:not(#_):not(#_):not(#_):not(#_):not(#_) :is(#setOv,.gov) .tog input:checked + i{ background:#2f8a74 !important; background-image:none !important; border-color:transparent !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_) :is(#setOv,.gov) .tog input:checked + i::after{ transform:translateX(22px) }

/* ---- Collection > Emojis, the "In games" row: eight bigger slots, the little cross sits inside the corner ---- */
html body:not(#_):not(#_):not(#_):not(#_) #styleBox #loadStrip .slot{ height:clamp(40px,12vh,50px) !important; border-radius:11px; display:grid; place-items:center; overflow:hidden }
html body:not(#_):not(#_):not(#_):not(#_) #styleBox #loadStrip .slot .emo-i{ width:30px !important; height:30px !important; font-size:30px; vertical-align:0 }
html body:not(#_):not(#_):not(#_):not(#_) #styleBox #loadStrip .slot .x{ top:2px !important; right:2px !important; width:14px !important; height:14px !important }
html body:not(#_):not(#_):not(#_):not(#_) #styleBox #loadStrip .slot .x::before,html body:not(#_):not(#_):not(#_):not(#_) #styleBox #loadStrip .slot .x::after{ left:3px !important; top:6.2px !important; width:8px !important }

/* ---- Store > Magic: the three price buttons fit the card, with small icons ---- */
html body:not(#_):not(#_):not(#_):not(#_):not(#_) #shopOv .mgcard .mgbuy{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; width:100% }
html body:not(#_):not(#_):not(#_):not(#_):not(#_) #shopOv .mgcard .mgbuy .mini-btn{ min-height:26px !important; padding:2px 4px !important; font-size:12px; gap:3px; width:100%; margin:0 !important; display:inline-flex; align-items:center; justify-content:center; white-space:nowrap }
html body:not(#_):not(#_):not(#_):not(#_):not(#_) #shopOv .mgcard .mgbuy .mini-btn i{ width:12px !important; height:12px !important; flex:none; vertical-align:0 !important; margin:0 !important }

/* the profile photo and name stay in ONE place on Home and on the game pages (the Back arrow keeps its own room at the left on both) */
html body:not(#_):not(#_):not(#_):not(#_) #hubOv #meChip{ margin-left:46px }

/* Settings: the little speaker / note icons sit in the middle of their square in every row (the volume rows had them pushed left) */
html body:not(#_):not(#_):not(#_):not(#_) #setOv :is(.tog,.rng)>span.rowico{ display:grid !important; place-items:center !important; justify-items:center !important; align-items:center !important; justify-content:center !important; text-align:center }
html body:not(#_):not(#_):not(#_):not(#_) #setOv :is(.tog,.rng)>span.rowico>svg{ margin:0 !important; justify-self:center; align-self:center }

/* very short phones (568x320): the Next / Start bar sits a little lower so six seats still fit above it */
@media (max-height:340px){
  html body:not(#_):not(#_):not(#_):not(#_) #setupOv.gsetup #gsNav{ padding-top:0; padding-bottom:calc(var(--safeB,0px) + 18px) }
  html body:not(#_):not(#_):not(#_):not(#_) #setupOv.gsetup #gsNav>:is(#gsNext,#dealBtn,#gsBack){ min-height:34px }
  html body:not(#_):not(#_):not(#_):not(#_) #setupOv.gsetup #gsDots{ bottom:calc(var(--safeB,0px) + 31px) }
}

/* (16 Nov 2026, user: "the mic box is empty, no mic is seen") the one-button rules above switch every ::before / ::after off for .ghost buttons, which removed the microphone drawing of the voice button (#micBtn is a .ghost). It is a flat round button with its microphone back; while recording the red ring (::after) and the square stop sign (::before) show again. */
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #micBtn{ width:46px !important; height:46px !important; min-height:0 !important; padding:0 !important; border-radius:50% !important; display:grid; place-items:center }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #micBtn[hidden]{ display:none !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #micBtn::before{ display:block !important }
html body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #micBtn.rec::after{ display:block !important }

/* (17 Nov 2026, user: on iPhone the back arrow sits on top of the window title) Every phone (iPhone and Android): the title starts after the arrow, which sits
   at the safe edge (beside the camera notch). The old fixed 80px only fitted phones with a narrow safe edge; this is the same 80px on a phone with no
   notch (18px edge + 62px) and moves in with the notch. Phones with no cut-out keep exactly 80px. */
html body:not(#_):not(#_):not(#_):not(#_) .gov:not(#roundOv):not(#quickOv)>.gpanel:not(.home)>h2{ padding-left:calc(var(--safeL) + 62px) !important }
html body:not(#_):not(#_):not(#_):not(#_) .gov .gpanel .lgbar>h2,html body:not(#_):not(#_):not(#_):not(#_) .gov .phead h2{ padding-left:calc(var(--safeL) + 62px) !important }
