
/*
 * Whac-a-Cat: the game's stylesheet, vendored for workraft.ai/whac-a-cat/ (where it came from is recorded in the
 * site's repository, not here). The script is /whac-a-cat/whac-a-cat.js; the art is /whac-a-cat/art/.
 *
 * Edits for the site (everything else is the game as published):
 * - Every selector is scoped to the page root .wac (the game's :root variables live on .wac), so nothing reaches the
 *   site's skip link or accessibility widget; the body rules became html:has(.wac) body.
 * - No Google Fonts: Plus Jakarta Sans and Rubik come from the site's own font files.
 * - Focus: the game's own outlines are removed so the site ring applies (2 px ocean, 2 px gap, on this light page).
 * - Contrast (WCAG 2.2 AA): white labels sit on Sky 700 (#0369A1) instead of Sky 600, Sky 600 text becomes Sky 700,
 *   the faint grey text becomes the quiet grey, the footer line the muted grey; the 10 to 12 px labels (the box
 *   chips too, with tighter tracking on phones) are 13 px, the site's floor.
 * - The request card's buttons are .actions .btn, so the rule cannot reach the site's Button primitive (.btn).
 * - The system pointer is hidden only over the play area while a round runs (was the whole page).
 * - The annoyance meter throbs five times at its maximum (was endless); the --box size leaves room for the
 *   "Back to work" bar above the bridge window.
 * - Reduced motion also follows html[data-motion="reduced"] (the accessibility widget).
 */
/* Layout: the bridge of Cosmo's ship. A wide bridge window (deep space, Earth's curve) carries the title and the
   instruments; below it, on the bright bridge floor, nine plain kraft boxes with holographic status chips.
   One light look on purpose: it is the brand's bridge interior (Slate/50 -> #E3ECF5). */
.wac{
  color-scheme: light;
  --sky-950: #082F49;   /* deep space, ink on light */
  --sky-900: #0C4A6E;
  --sky-600: #0284C7;   /* CTA */
  --sky-700: #0369A1;   /* workraft.ai edit: CTA fill and small blue text (white on it 5.9:1) */
  --sky-500: #0EA5E9;   /* glow, screens */
  --sky-300: #7DD3FC;   /* labels on dark */
  --sky-200: #BAE6FD;
  --sky-100: #E0F2FE;
  --space-a: #071A33;   /* space gradient */
  --space-b: #0D5D96;
  --slate-50: #F8FAFC;  /* bridge interior */
  --bridge: #E3ECF5;
  --floor: #D9E4EF;
  --bezel: #D3DDE8;
  --ink: #0F172A;
  --text: #334155;
  --muted: #475569;
  --quiet: #64748B;
  --faint: #94A3B8;
  --line: #E2E8F0;
  --ok: #22C55E;
  --white: #FFFFFF;
  --flap: #0B2A47;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-line: rgba(125, 211, 252, 0.28);
  --holo: rgba(14, 165, 233, 0.10);
  --holo-line: rgba(14, 165, 233, 0.35);
  --glow: rgba(14, 165, 233, 0.45);
  --beam: rgba(224, 242, 254, 0.78);
  --shadow-ink: rgba(8, 47, 73, 0.12);
  --dim: rgba(8, 47, 73, 0.55);

  --display: "Rubik", "Arial Rounded MT Bold", "Helvetica Neue", Arial, sans-serif;
  --body: "Plus Jakarta Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* every box measurement derives from --box (box width; the 3D box is 809 x 575, its art canvas 813 x 750) */
  --box: clamp(64px, min(15vw, (100vh - 380px) / 4.2), 200px);   /* grid + chips + gaps ~ 4.2 boxes tall (and the Back to work bar) */
  position: relative; min-height: 100vh; color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased;
}
/* workraft.ai edit: in a pop-up (the site's embed mode, html[data-embed], D63) there is no Back to work bar */
html[data-embed] .wac{ --box: clamp(64px, min(15vw, (100vh - 300px) / 4.2), 200px); }
@media (max-width: 640px){ .wac, html[data-embed] .wac{ --box: clamp(64px, calc((100vw - 32px) / 3 / 1.45), 118px); } }

.wac [hidden]{ display: none !important; }
html:has(.wac){ color-scheme: light; }
html:has(.wac) body{
  background: linear-gradient(180deg, #F8FAFC 0%, #E3ECF5 62%, #D9E4EF 100%) fixed;
  background-color: #F8FAFC;
}
.wac .stage{
  min-height: 100vh; min-height: 100dvh; box-sizing: border-box;
  display: flex; flex-direction: column; gap: clamp(8px, 1.8vh, 18px); overflow-x: clip;
  max-width: 1240px; margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 56px);
  padding-block: clamp(12px, 3vh, 36px) 12px;
}

/* bridge window */
.wac .window{
  position: relative; min-width: 0; overflow: hidden; isolation: isolate;
  border: 10px solid var(--bezel); border-radius: 30px;
  background: linear-gradient(165deg, var(--space-a) 0%, var(--sky-900) 62%, var(--space-b) 100%);
  padding: clamp(18px, 3vw, 34px) clamp(20px, 3.4vw, 44px) clamp(26px, 3.6vw, 44px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
}
.wac .window canvas{ position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.wac .window::after{ /* Earth's curve, low in the window */
  content: ""; position: absolute; z-index: -1; left: -10%; right: -10%; top: 82%; height: 300%;
  border-radius: 50%; background: radial-gradient(ellipse at 50% 0%, rgba(14,165,233,.28), rgba(8,47,73,0) 40%);
  box-shadow: 0 -2px 18px var(--glow), 0 -1px 0 var(--sky-500); opacity: .8;
}
.wac .moon{ position: absolute; z-index: -1; left: 54%; top: 16%; width: 22px; height: 22px; border-radius: 50%; background: var(--slate-50); box-shadow: 0 0 16px 4px var(--glow); }
.wac .title{ display: grid; gap: 8px; min-width: 0; }
/* "See you never.": the UFO streaks through the window behind the title and the line appears in its wake */
.wac .ufo2{ position: absolute; z-index: -1; left: 0; top: 0; width: clamp(54px, 5.6vw, 82px); opacity: 0; pointer-events: none; }
.wac .ufo2 img{ display: block; width: 100%; max-width: none; }
.wac .ufo2::before{ content: ""; position: absolute; right: 72%; top: 46%; width: 220%; height: 3px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(125, 211, 252, .85)); }
.wac .sub.end{ font-size: clamp(17px, 1.9vw, 25px); color: var(--white); }
.wac .say{ display: inline-block; white-space: nowrap; }
/* each letter is left behind by the UFO: it fades in from a soft blur and settles */
.wac .ch{ display: inline-block; opacity: 0; filter: blur(7px); transform: translate(-8px, 7px) scale(.86);
  transition: opacity .7s ease-out, filter .9s ease-out, transform .9s cubic-bezier(.2,.8,.3,1), text-shadow 1.6s ease-out;
  text-shadow: 0 0 16px rgba(125, 211, 252, .95); }
.wac .ch.in{ opacity: 1; filter: none; transform: none; }
.wac .ch.cool{ text-shadow: 0 0 0 rgba(125, 211, 252, 0); }
.wac .hl{ position: relative; isolation: isolate; display: inline-block; padding: 0 .3em; margin-left: .05em; font-weight: 800; transition: color .5s .15s; }
.wac .hl::before{ content: ""; position: absolute; inset: 0; z-index: -1; background: var(--slate-50); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s cubic-bezier(.3,.8,.3,1); }
.wac .hl.on{ color: var(--sky-950); }
.wac .hl.on::before{ transform: none; }
.wac .hl.on .ch{ text-shadow: none; }
.wac h1{ margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: 0; font-size: clamp(30px, 4.4vw, 56px); line-height: 1; color: var(--white); text-wrap: balance; }
.wac .sub{ margin: 0; font-size: clamp(14px, 1.45vw, 19px); font-weight: 600; color: var(--sky-200); min-height: 1.4em; }
.wac .hud{ display: flex; align-items: stretch; gap: clamp(12px, 2vw, 24px); }
.wac .label{ font-size: 13px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sky-300); }
.wac .inst{ background: var(--glass); border: 1px solid var(--glass-line); border-radius: 16px; padding: 12px 18px; display: grid; gap: 8px; align-content: center; }
.wac .segs{ display: flex; gap: 6px; }
.wac .seg{ width: clamp(22px, 2.6vw, 36px); height: 12px; border-radius: 6px; background: rgba(255,255,255,.14); transition: background-color .3s, box-shadow .3s; }
/* annoyance stays in the core palette (the brand book: no colour outside it in the sky): Sky/500, then a hot Sky/200 glow */
.wac .seg.on{ background: var(--sky-500); }
.wac .seg.hot{ background: var(--sky-200); box-shadow: 0 0 10px 1px var(--sky-500); }
.wac .meter.max .seg{ animation: throb 0.9s ease-in-out 5; }
@keyframes throb{ 50% { opacity: .5; } }
.wac .mood{ font-size: 14px; font-weight: 700; color: var(--white); min-height: 1.3em; }
.wac .flaps{ display: flex; gap: 4px; }
.wac .flap{
  position: relative; width: clamp(28px, 2.6vw, 36px); height: clamp(38px, 3.5vw, 48px); border-radius: 6px;
  background: linear-gradient(180deg, #123A5E 0 50%, var(--flap) 50% 100%);
  display: grid; place-items: center; overflow: hidden;
  font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); color: var(--white); font-variant-numeric: tabular-nums;
}
.wac .flap::after{ content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.45); }
.wac .flap.flip span{ animation: flip .28s ease-out; }
@keyframes flip{ 0% { transform: rotateX(80deg); opacity: .2; } 100% { transform: none; opacity: 1; } }


/* bridge floor + boxes */
.wac .arena{ position: relative; flex: 1; min-width: 0; width: 100%; display: grid; place-items: center; overflow: hidden; padding-block: calc(var(--box) * 0.36) 6px; }
.wac .grid{ display: grid; grid-template-columns: repeat(3, var(--box)); column-gap: max(calc(var(--box) * 0.46), 8rem - var(--box)); row-gap: calc(var(--box) * 0.34); }   /* workraft.ai edit: the columns never come closer than the 13 px chips need (8rem apart) */
.wac .cell{ display: flex; flex-direction: column; align-items: center; width: var(--box); gap: calc(var(--box) * 0.1); transition: opacity .5s; }
.wac .cell .chip{ flex: none; }
.wac .slot{
  position: relative; width: var(--box); height: calc(var(--box) * 0.7108);
  padding: 0; border: 0; background: none; cursor: pointer; border-radius: 12px; font: inherit;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.wac .slot::before{ content: ""; position: absolute; left: -6%; right: -6%; top: calc(var(--box) * -0.3); bottom: 0; }
.wac .slot .shadow{ position: absolute; left: 4%; right: 4%; bottom: -6%; height: 16%; background: radial-gradient(closest-side, rgba(8, 47, 73, .2), transparent); border-radius: 50%; transition: opacity .4s; }
/* The 3D box in layers on one canvas (813 x 750, the box sits at its bottom): back + inside, Cosmo, front, paws.
   Cosmo slides up from inside; the box front covers him, and the clip ends at the box floor. */
.wac .art{ position: absolute; inset: 0; z-index: 2; pointer-events: none; transition: filter .25s; }
.wac .slot.up .art{ filter: drop-shadow(0 0 8px var(--glow)); }   /* Sky/500 rim light while he is up */
.wac .art img, .wac .art .pop{ position: absolute; left: -0.25%; width: 100.5%; top: calc(var(--box) * -0.2139); max-width: none; display: block; }
.wac .art .back{ z-index: 1; } .wac .art .front{ z-index: 3; }
.wac .art .pop{ z-index: 2; height: calc(var(--box) * 0.9271); overflow: hidden;
  -webkit-mask: var(--pop-mask) 0 0 / 100% 100% no-repeat; mask: var(--pop-mask) 0 0 / 100% 100% no-repeat; }
.wac .art .pop img{ left: 0; top: 0; width: 100%; transform: translateY(56%); transition: transform .16s cubic-bezier(.3,.7,.4,1); }
.wac .art .paws{ z-index: 4; opacity: 0; transform: translateY(-3%); transition: opacity .08s, transform .12s; }
.wac .slot.up .pop img{ transform: translateY(0); }
.wac .slot.up.paws-on .paws{ opacity: 1; transform: none; }
.wac .slot.bonk .pop img{ transform: translateY(56%) scaleY(.82); transition: transform .12s ease-in; }
.wac .slot.bonk .paws{ opacity: 0; transition-duration: .04s; }
/* box reactions: a jolt on every hit and miss */
.wac .slot.flapping .art{ animation: jolt .3s; transform-origin: 50% 100%; }
@keyframes jolt{ 30% { transform: translateY(3%) scaleY(.94) scaleX(1.03); } 65% { transform: translateY(-1%) scaleY(1.02); } }
.wac .slot.shake .pop img, .wac .slot.shake .paws{ animation: shake .32s ease-in-out; }
@keyframes shake{ 20% { margin-left: -3px; } 40% { margin-left: 3px; } 60% { margin-left: -2px; } 80% { margin-left: 2px; } }
.wac .chip{
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .8125rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;   /* workraft.ai edit: 13 px, the site's type floor (was 10 to 12 px) */
  color: var(--sky-950); background: var(--holo); border: 1px solid var(--holo-line); border-radius: 999px;
  padding: 5px 11px 5px 9px; white-space: nowrap; transition: background-color .2s, color .2s, box-shadow .2s;
}
.wac .chip::before{ content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky-500); }
.wac .cell.live .chip{ background: var(--sky-950); color: var(--white); box-shadow: 0 0 12px var(--glow); }
.wac .cell.live .chip::before{ background: var(--sky-300); box-shadow: 0 0 6px 1px var(--sky-500); }
.wac .arena.spot .cell:not(.live), .wac .arena.faded .cell:not(.star){ opacity: .16; }
.wac .arena.spot .cell:not(.live){ opacity: .28; }

/* speech bubbles + score pop */
.wac .bubble{
  position: absolute; z-index: 8; bottom: calc(100% - var(--box) * 0.08);
  background: var(--white); color: var(--sky-950); border: 0;
  box-shadow: 0 0 0 1px var(--line), 0 10px 24px rgba(8, 47, 73, .16);
  font-weight: 700; font-size: clamp(13px, 1.4vw, 20px); line-height: 1.15; white-space: nowrap;
  padding: .45em .85em .5em; border-radius: 16px 16px 16px 4px;
  opacity: 0; transform: translateY(6px) scale(.9); transition: opacity .15s, transform .2s cubic-bezier(.3,1.6,.5,1);
  pointer-events: none;
}
.wac .bubble.r{ left: 70%; }
.wac .bubble.l{ right: 70%; border-radius: 18px 18px 4px 18px; }
.wac .bubble.show{ opacity: 1; transform: none; }
.wac .bubble.huge{ font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4.2vw, 60px); padding: .2em .55em .28em; border-radius: 28px 28px 28px 6px; bottom: calc(100% - var(--box) * 0.1); }
.wac .bubble.huge.show{ animation: slam .32s cubic-bezier(.2,1.6,.4,1); }
@keyframes slam{ 0% { transform: scale(1.8) rotate(-4deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.wac .plus{ position: absolute; z-index: 8; top: -14%; font-family: var(--display); font-weight: 700; font-size: clamp(18px, 1.9vw, 28px); color: var(--sky-600); pointer-events: none; animation: rise .7s ease-out forwards; }
.wac .plus.r{ left: 86%; } .wac .plus.l{ right: 86%; }
@keyframes rise{ from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-34px); } }

/* hammers: each tool's striking point sits exactly on the pointer (element offset -60px, -60px) */
.wac .tool{ position: fixed; left: 0; top: 0; z-index: 50; width: 120px; height: 120px; margin: -60px 0 0 -60px; pointer-events: none; opacity: 0; transition: opacity .1s; }
.wac .tool svg{ position: absolute; inset: 0; width: 120px; height: 120px; overflow: visible; }
.wac .tool .t{ transform-box: view-box; transition: transform .16s ease-out; }
/* mallet */
/* mallet, side view: the handle lies level to the right, the head stands upright and its end strikes (60,60) = the pointer.
   The arm pivots at the grip (60,112 in drawing units); at rest it is held up high, a swing brings it down. */
.wac .t-mallet{ transform-origin: 60px 60px; transform: translate(0, -48px) rotate(-90deg); }
.wac .t-arm{ transform-box: view-box; transform-origin: 60px 112px; transform: rotate(55deg); }
.wac .t-head{ transform-box: view-box; transform-origin: 14px 60px; }
.wac .aim{ opacity: .14; transform-box: fill-box; transform-origin: center; }
.wac .burst{ position: fixed; z-index: 49; width: 64px; height: 64px; margin: -32px 0 0 -32px; pointer-events: none; animation: burst .32s ease-out forwards; }
.wac .burst path{ stroke: var(--sky-500); stroke-width: 4; stroke-linecap: round; }
@keyframes burst{ from { transform: scale(.4); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
/* no system pointer while playing (the mallet is the pointer) or during the cut-scenes; it returns for the request and the email */
@media (hover: hover) and (pointer: fine){ .wac.nocursor .arena, .wac.nocursor .arena *{ cursor: none !important; } }

/* reject: Cosmo stares from a porthole */
.wac .stare{ position: absolute; z-index: 11; left: 50%; top: 50%; width: min(400px, 70%, 90vh - 320px); aspect-ratio: 1; max-width: 100%; transform: translate(-50%, -47%) scale(.9); opacity: 0; transition: opacity .35s, transform .45s cubic-bezier(.3,1.3,.5,1); pointer-events: none; }
.wac .stare.show{ opacity: 1; transform: translate(-50%, -50%); }
.wac .disc{ position: absolute; inset: 0; border-radius: 50%; background: var(--slate-50); box-shadow: 0 0 0 3px var(--sky-500), 0 0 30px 6px var(--glow), 0 30px 60px var(--shadow-ink); display: grid; place-items: end center; overflow: hidden; }
.wac .disc img{ position: absolute; left: 50%; bottom: 3%; height: 86%; width: auto; max-width: none; display: block; transform: translateX(-50%); }
.wac .stare .bubble{ left: auto; right: -8%; top: 2%; bottom: auto; }

/* approve: the UFO pickup */
.wac .ufo{ position: absolute; z-index: 14; left: 0; top: 0; width: calc(var(--box) * 1.9); transform: translate(var(--ux, -60vw), var(--uy, -40vh)); transition: transform 1.1s cubic-bezier(.2,.8,.3,1); pointer-events: none; }
.wac .ufo img{ display: block; width: 100%; max-width: none; }
.wac .ufo.hover img{ animation: hover 1.4s ease-in-out infinite; }
@keyframes hover{ 50% { transform: translateY(-6%) rotate(1deg); } }
.wac .ufo.away{ transition: transform .7s cubic-bezier(.6,0,.9,.5); }
.wac .beam{
  position: absolute; z-index: 12; left: 0; top: 0; width: 1px; height: 1px; pointer-events: none;
  background: linear-gradient(180deg, var(--beam), rgba(224, 242, 254, .5));
  clip-path: polygon(var(--bt1) 0, var(--bt2) 0, 100% 100%, 0 100%);
  opacity: 0; transform-origin: 50% 0; transform: scaleY(0); transition: opacity .3s, transform .45s ease-out;
}
.wac .beam.on{ opacity: 1; transform: none; }
.wac .mote{ position: absolute; z-index: 13; width: 7px; height: 7px; border-radius: 2px; background: var(--faint); opacity: .7; pointer-events: none; animation: mote 1.6s linear forwards; }
@keyframes mote{ to { transform: translateY(var(--rise)) rotate(160deg); opacity: 0; } }
.wac .slot.lift{ z-index: 13; transition: transform 1.5s cubic-bezier(.55,0,.75,.45), opacity .35s 1.2s; transform: translateY(var(--lift)) scale(.42) rotate(-4deg); opacity: 0; }
.wac .slot.lift .shadow{ opacity: 0; }

.wac .toast{
  position: absolute; z-index: 15; left: 50%; bottom: 3%; transform: translate(-50%, 16px);
  display: flex; gap: 10px; align-items: center;
  background: var(--sky-950); color: var(--white); border-radius: 14px; padding: 13px 22px;
  font-weight: 700; font-size: clamp(15px, 1.5vw, 20px); white-space: nowrap; box-shadow: 0 12px 30px var(--shadow-ink);
  opacity: 0; transition: opacity .3s, transform .35s cubic-bezier(.3,1.4,.5,1); pointer-events: none;
}
.wac .toast b{ color: var(--ok); font-weight: 800; }
.wac .toast.show{ opacity: 1; transform: translate(-50%, 0); }

/* out-of-office reply */
.wac .ooo{
  position: absolute; z-index: 16; left: 50%; top: 50%; width: min(460px, 100%); box-sizing: border-box;
  background: var(--white); border-radius: 20px; box-shadow: 0 24px 60px rgba(8,47,73,.22); overflow: hidden;
  transform: translate(-50%, -46%); opacity: 0; transition: opacity .4s, transform .5s cubic-bezier(.3,1.3,.5,1);
}
.wac .ooo.show{ opacity: 1; transform: translate(-50%, -50%); }
.wac .mail-head{ display: grid; gap: 4px; padding: 16px 24px; background: var(--slate-50); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--quiet); font-weight: 600; }
.wac .mail-head b{ color: var(--ink); font-weight: 700; }
.wac .auto{ justify-self: start; font: 800 13px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--sky-700); background: var(--sky-100); border-radius: 10px; padding: 6px 10px; margin-bottom: 6px; }
.wac .mail-body{ padding: 20px 24px 22px; display: grid; gap: 10px; font-size: clamp(15px, 1.4vw, 17px); line-height: 1.5; color: var(--text); }
.wac .mail-body p{ margin: 0; }
.wac .mail-body .sig{ color: var(--quiet); font-size: 14px; line-height: 1.4; }
.wac .mail-body .sig b{ color: var(--ink); }
.wac .again{
  justify-self: start; margin-top: 6px; font: 800 15px/1 var(--body); letter-spacing: .04em; color: var(--white); background: var(--sky-700);
  border: 0; border-radius: 12px; padding: 14px 22px; cursor: pointer;
}
.wac .again:hover{ background: var(--sky-950); }

/* leave request: a Workraft time-off notification */
.wac .dim{ position: fixed; inset: 0; z-index: 40; background: var(--dim); display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .3s; }
.wac .dim.show{ opacity: 1; }
.wac .card{ position: relative; width: min(560px, 100%); box-sizing: border-box; background: var(--white); border-radius: 24px; box-shadow: 0 24px 60px rgba(8,47,73,.35); overflow: hidden; transform: translateY(18px) scale(.97); transition: transform .35s cubic-bezier(.3,1.3,.5,1); }
.wac .dim.show .card{ transform: none; }
.wac .app{ display: flex; align-items: center; gap: 10px; padding: 14px clamp(22px, 4vw, 36px); background: var(--slate-50); border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--quiet); }
.wac .app i{ width: 18px; height: 18px; border-radius: 5px; background: var(--sky-500); box-shadow: inset 0 0 0 4px var(--sky-100); }
.wac .app span:last-child{ margin-left: auto; font-weight: 600; color: var(--quiet); }
.wac .card-body{ padding: clamp(20px, 4vw, 34px) clamp(22px, 4vw, 36px) clamp(22px, 4vw, 34px); display: grid; gap: 18px; }
.wac .card h2{ margin: 0; display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); color: var(--ink); }
.wac .pill{ font: 800 13px/1 var(--body); letter-spacing: .08em; color: var(--sky-700); background: var(--sky-100); border-radius: 14px; padding: 7px 12px; }
.wac .pill.again-pill{ color: var(--slate-50); background: var(--sky-950); }
.wac .who{ display: flex; align-items: center; gap: 14px; }
.wac .avatar{ width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--sky-100); overflow: hidden; display: grid; place-items: end center; box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--sky-200); }
.wac .avatar img{ width: 96%; display: block; }
.wac .who strong{ display: block; font-size: 19px; font-weight: 700; color: var(--ink); }
.wac .who span{ font-size: 14px; font-weight: 600; color: var(--quiet); }
.wac .lede{ margin: 0; font-size: clamp(16px, 1.6vw, 19px); font-weight: 600; color: var(--text); }
.wac .fields{ margin: 0; display: grid; grid-template-columns: max-content 1fr; border-bottom: 1px solid var(--line); }
.wac .fields dt, .wac .fields dd{ margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
.wac .fields dt{ font-size: 15px; font-weight: 600; color: var(--quiet); padding-right: clamp(24px, 6vw, 72px); }
.wac .fields dd{ font-size: 17px; font-weight: 600; color: var(--ink); }
.wac .fields dd.reason{ font-weight: 800; }
.wac .actions{ position: relative; display: flex; gap: 14px; padding-top: 4px; }
.wac .actions .btn{ flex: 1; height: 54px; border-radius: 14px; cursor: pointer; font: 800 16px/1 var(--body); letter-spacing: .05em; }
.wac .actions .btn.reject{ background: var(--white); color: var(--text); border: 2px solid var(--line); transition: transform .18s cubic-bezier(.3,1.4,.5,1), opacity .25s, flex-grow .3s; position: relative; z-index: 2; }
.wac .actions .btn.reject:hover{ border-color: var(--faint); }
.wac .actions .btn.reject.gone{ transform: scale(0) !important; opacity: 0; }
.wac .actions .btn.approve{ background: var(--sky-700); color: var(--white); border: 0; }
.wac .actions .btn.approve:hover{ background: var(--sky-950); }
.wac .nope{ margin: -6px 0 0; font-size: 13px; font-weight: 600; color: var(--quiet); text-align: center; }

.wac .foot{ display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); padding-block: 2px; }
.wac .foot img{ width: 96px; height: auto; display: block; transform: translateY(1px); }

@media (max-width: 640px){
  .wac .window{ border-width: 6px; border-radius: 22px; }
  .wac .moon{ left: auto; right: 9%; top: 12%; width: 16px; height: 16px; }
  .wac .hud{ width: 100%; justify-content: space-between; }
  .wac .inst.meter{ flex: 1; }
  .wac .inst{ padding: 10px 14px; }
  .wac .seg{ width: 20px; }
  /* workraft.ai edit: on phones the chips stay at 13 px when the accessibility widget enlarges text, because three
     columns of larger chips cannot fit the screen (the boxes are the buttons; their names are not affected) */
  .wac .chip{ font-size: 13px; letter-spacing: .03em; padding: 4px 7px; gap: 4px; }
  .wac .chip::before{ width: 5px; height: 5px; }
  /* the columns at least 104 px apart (the chips' room), at most as far as keeps the outer chips in the play area */
  .wac .arena{ container-type: inline-size; }
  .wac .grid{ column-gap: calc(min(max(var(--box) * 1.46, 104px), 50cqi - 60px) - var(--box)); }
}
/* workraft.ai edit: the narrowest phones keep the 13 px chips inside the play area (which clips): no dot (the live
   chip still turns navy), tighter tracking, and the columns only as far apart as the outer chips allow */
@media (max-width: 360px){
  .wac .chip{ letter-spacing: .01em; padding-inline: 6px; }
  .wac .chip::before{ display: none; }
  .wac .grid{ column-gap: calc(min(104px, 50cqi - 53px) - var(--box)); }
}
@media (max-width: 340px){
  .wac .chip{ letter-spacing: 0; padding-inline: 5px; }
}
@media (prefers-reduced-motion: reduce){
  .wac .slot .pop img, .wac .stare, .wac .card, .wac .ufo, .wac .slot.lift, .wac .beam{ transition-duration: .01s !important; }
  .wac .burst{ animation-duration: .01s; }
  .wac .meter.max .seg, .wac .slot.flapping .art, .wac .flap.flip span, .wac .ufo.hover img, .wac .bubble.huge.show, .wac .slot.shake .pop img, .wac .slot.shake .paws{ animation: none; }
}
/* the same still state when the accessibility widget asks for reduced motion */
html[data-motion="reduced"] .wac .slot .pop img, html[data-motion="reduced"] .wac .stare, html[data-motion="reduced"] .wac .card, html[data-motion="reduced"] .wac .ufo, html[data-motion="reduced"] .wac .slot.lift, html[data-motion="reduced"] .wac .beam{ transition-duration: .01s !important; }
html[data-motion="reduced"] .wac .burst{ animation-duration: .01s; }
html[data-motion="reduced"] .wac .meter.max .seg, html[data-motion="reduced"] .wac .slot.flapping .art, html[data-motion="reduced"] .wac .flap.flip span, html[data-motion="reduced"] .wac .ufo.hover img, html[data-motion="reduced"] .wac .bubble.huge.show, html[data-motion="reduced"] .wac .slot.shake .pop img, html[data-motion="reduced"] .wac .slot.shake .paws{ animation: none; }
