/* Made by game/build.js from game/css/. Don't edit it here: every build rewrites it. */
/* ============================================================
   Order Up — the game at /play (src/play.njk, the code in game/js)

   This is one of the parts game/build.js joins, in file-name order, into
   src/assets/css/play.css. Edit the parts, never that file.

   The look is written down in game/README.md and drawn in
   game/style-sheet.html: flat shapes, the house outline (teal dark, never
   black), one flat shadow down and to the right, red only for "tap me" and
   "late", never red on teal.

   The whole game is one 360px-wide stage that play.js scales to the phone
   (transform: scale), so every length here is a plain px on that stage and
   nothing needs a media query. Heights flex: the griddle and the table take
   the room a taller phone gives.

   House tokens come from tokens.css. The game palette is here, on .ou, and
   stays here (STYLE.md: a piece's own colours never go in tokens.css).
   ============================================================ */

.ou-body { background: #1C2226; overflow: hidden; overscroll-behavior: none; }

.ou {
    --sky-pink: #F4A9B8; --sky-peach: #F8BE8A; --sky-gold: #F7D88C; --sky-lavender: #9C8BC4; --sky-noon: #BFE2EC;
    --brick: #8C5B4A; --brick-dark: #5F3D32; --window-light: #FFE7A8;
    --steel-light: #E6ECEE; --steel: #C5CFD3; --steel-dark: #8E9AA0;
    --flattop: #3A4247; --flattop-heat: #F08A3C; --floor: #1C2226;
    --gold: #F4C542; --gold-dark: #E5AE25; --paper: #FFFDF6;
    /* Rarity, the way most games colour it (owner 2026-11-12): gray, blue,
       purple, gold. Always with the word and its diamonds too. */
    --r-normal: #B9C2C6; --r-normal-bg: #F1F3F4;
    --r-rare: #2E6DB4; --r-rare-bg: #EEF4FB; --r-rare-own: #D9E6F6;
    --r-epic: #6E3FA6; --r-epic-bg: #F5EFFB; --r-epic-own: #E6D9F4;
    --house-gradient: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 55%, #3C7183 100%);
    --shadow: rgba(31, 69, 82, .25);

    position: fixed; inset: 0;
    background: var(--floor);
    font-family: Lato, system-ui, sans-serif; font-weight: 700; line-height: 1.25;
    color: var(--text-dark);
    -webkit-user-select: none; user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.ou-stage {
    position: absolute; left: 0; top: 0; width: 360px; height: 640px;
    transform-origin: 0 0; overflow: hidden; background: var(--floor);
}
.ou-scr { position: absolute; inset: 0; display: flex; flex-direction: column; }
.ou-scr[hidden] { display: none; }
.ou [hidden] { display: none !important; }
.ou button { font: inherit; color: inherit; border: 0; background: none; padding: 0; margin: 0; cursor: pointer; touch-action: manipulation; }
.ou button:focus-visible, .ou a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.ou-sprites { position: absolute; width: 0; height: 0; }

/* ---------- shared bits ---------- */
.ou-i { display: block; width: 100%; height: 100%; overflow: visible; }
.ou-sh { filter: drop-shadow(2px 2px 0 var(--shadow)); }
.ou-label { font: 700 11px/1.2 Lato, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.ou-kicker { font: italic 400 20px/1.2 "Playfair Display", Georgia, serif; }
.ou .ou-h { font: 700 26px/1.12 "Playfair Display", Georgia, serif; margin: 0; color: inherit; }
/* Rounded, outlined boxes keep their colour inside the outline (owner
   2026-11-13: corners looked broken on a scaled-up screen, the fill showing
   through where the curve meets the straight edge). */
.ou-btn, .ou-rc, .ou-card, .ou-set, .ou-setbox, .ou-ticket, .ou-bin, .ou-bubble, .ou-scrap, .ou-send, .ou-spare, .ou-level { background-clip: padding-box !important; }
.ou-btn {
    display: block; width: 100%; min-height: 54px; padding: 14px 12px; border-radius: 12px; text-align: center;
    background: var(--accent) !important; color: #fff !important; border: 2px solid var(--teal-dark) !important;
    font: 700 16px/1.2 Lato, sans-serif !important; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
    box-shadow: 0 4px 0 var(--accent-dark);
}
.ou-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--accent-dark); background: var(--accent-dark) !important; }
.ou-btn--quiet { background: #fff !important; color: var(--text-dark) !important; box-shadow: 0 4px 0 var(--steel-dark); }
.ou-btn--quiet:active { background: var(--steel-light) !important; box-shadow: 0 1px 0 var(--steel-dark); }
.ou-btn[disabled] { background: var(--steel) !important; color: #5A6970 !important; box-shadow: 0 4px 0 var(--steel-dark); cursor: default; }
.ou-link {
    color: var(--mint) !important; font: 700 14px/1.2 Lato, sans-serif !important; letter-spacing: .12em; text-transform: uppercase;
    text-decoration: underline; text-underline-offset: 4px; padding: 12px 8px !important; display: inline-block;
}
.ou-link--dark { color: var(--accent) !important; }

/* ---------- title ---------- */
.ou-title { background: var(--house-gradient); color: var(--cream); align-items: center; text-align: center; padding: 0 22px 14px; }
.ou-title-sky { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 196px; display: block; }
.ou-title-body { position: relative; flex: none; display: grid; justify-items: center; gap: 6px; width: 100%; padding-top: 12px; }
.ou-title-gap { flex: 0 0 194px; }
.ou-wordmark { width: 184px; line-height: 0; }
.ou-wordmark svg {
    display: block; width: 100%; height: auto; overflow: visible;
    fill: var(--cream); stroke: var(--teal-dark); stroke-width: 1.5; stroke-linejoin: miter; stroke-miterlimit: 10; paint-order: stroke;
    filter: drop-shadow(1.3px 1.8px 0 var(--coral));
}
/* the name on its order ticket (partials/game/logo.njk): 1em is the name */
.ou-title h1 { font-size: 40px; line-height: 1; margin: 4px 0 12px; }
.ou-levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; margin-top: 4px; }
.ou .ou-level { min-height: 44px; border-radius: 10px; border: 2px solid var(--mint); color: var(--cream); font: 700 14px/1 Lato, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.ou .ou-level.is-on { background: var(--cream); color: var(--text-dark); border-color: var(--cream); }
.ou-title .ou-level-text { margin: 0; min-height: 34px; font: 400 13.5px/1.3 Lato, sans-serif; color: var(--mint); }
.ou-title-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 4px; }
.ou-title-links .ou-link { padding: 9px 4px !important; font-size: 13px !important; }
.ou-title-foot { position: relative; flex: none; margin-top: auto; font: 400 13px/1.3 Lato, sans-serif; color: var(--mint); min-height: 17px; }

/* A short phone (the stage under 660 tall, e.g. an iPhone SE with the
   browser's bars): a little less sky, a smaller wordmark and ticket, so the
   whole title fits without scrolling (owner 2026-11-11: nobody scrolls). */
.ou-stage.is-short .ou-title-gap { flex-basis: 168px; }
.ou-stage.is-short .ou-wordmark { width: 156px; }
.ou-stage.is-short .ou-title h1 { font-size: 32px; margin: 2px 0 8px; }
.ou-stage.is-short .ou-title-body { gap: 4px; padding-top: 8px; }
.ou-stage.is-short .ou-title .ou-level-text { min-height: 0; }
/* ---------- the shift ---------- */
.ou-hud { flex: none; height: 44px; background: var(--house-gradient); color: var(--cream); display: flex; align-items: center; gap: 8px; padding: 0 8px; }
.ou-pause { width: 36px; height: 36px; border-radius: 8px; border: 2px solid var(--mint) !important; display: grid !important; place-items: center; flex: none; }
.ou-pause::before { content: ""; width: 10px; height: 12px; border-left: 3px solid var(--mint); border-right: 3px solid var(--mint); }
.ou-when, .ou-tips { line-height: 1.05; }
.ou-when .ou-label, .ou-tips .ou-label { color: var(--mint); display: block; font-size: 10.5px; }
.ou-when b, .ou-tips b { font: 900 20px/1.05 Lato, sans-serif; font-variant-numeric: tabular-nums; }
.ou-tips { text-align: right; min-width: 52px; }
.ou-tips b.is-pop { animation: ou-pop .3s ease-out; }
.ou-cups { display: flex; gap: 1px; margin-left: auto; }
.ou-cups span { width: 28px; height: 28px; display: block; }
.ou-cups .is-spilled { opacity: .92; }

.ou-rail { flex: none; height: 118px; background: var(--steel-dark); padding: 9px 5px 7px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; border-bottom: 3px solid var(--teal-dark); position: relative; }
.ou-rail::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 5px; background: var(--steel-light); border-bottom: 2px solid var(--teal-dark); }
.ou-rail-empty { grid-column: 1 / -1; align-self: center; text-align: center; color: var(--teal-dark); font: 400 14px/1.3 Lato, sans-serif; }
.ou-ticket {
    position: relative; min-width: 0; background: var(--paper); border: 2px solid var(--teal-dark); border-radius: 3px 3px 8px 8px;
    padding: 6px 6px 0; display: flex; flex-direction: column; box-shadow: 3px 3px 0 var(--shadow); overflow: hidden;
}
.ou-ticket.is-new { animation: ou-drop .22s ease-out; }
.ou-ticket .ou-label { font-size: 10px; letter-spacing: .1em; color: var(--teal); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ou-tname { font: 700 15px/1.08 Lato, sans-serif; margin: 2px 0 2px; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ou-parts { display: flex; gap: 1px; margin-top: auto; }
.ou-parts span { width: 25px; height: 25px; display: block; position: relative; flex: none; }
.ou-parts span.is-have { opacity: .32; }
.ou-parts span.is-have::after { content: ""; position: absolute; left: 6px; top: 3px; width: 8px; height: 14px; border: solid var(--teal-dark); border-width: 0 4px 4px 0; transform: rotate(40deg); opacity: 1; }
.ou-ticket .ou-timer { height: 8px; margin: 4px -6px 0; background: var(--steel-light); border-top: 2px solid var(--teal-dark); overflow: hidden; flex: none; }
.ou-ticket .ou-timer i { display: block; height: 100%; width: 100%; background: var(--teal); transform-origin: 0 50%; }
.ou-ticket.is-togo { background: #E9F3F5; }
/* Impatient (trouble): a dashed edge and a striped clock that runs fast. */
.ou-ticket.is-hurry { outline: 2px dashed var(--teal-dark); outline-offset: -5px; }
.ou-ticket.is-hurry .ou-timer i { background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .45) 0 4px, transparent 4px 8px); }
.ou-ticket.is-aim { outline: 3px solid var(--teal-dark); outline-offset: 1px; transform: translateY(3px); }
.ou-ticket.is-late .ou-timer i { background: var(--accent); }
.ou-ticket.is-late .ou-label { color: var(--accent); }
.ou-ticket.is-late { animation: ou-shake .35s ease-in-out 1; }
.ou-ticket.is-special { background: #FFF6E3; }
.ou-ticket.is-usual::before, .ou-ticket.is-family::before, .ou-ticket.is-special::before {
    content: attr(data-flag); position: absolute; right: -1px; top: -1px; font: 700 9.5px/1 Lato, sans-serif; letter-spacing: .08em; text-transform: uppercase;
    padding: 3px 5px; border-radius: 0 0 0 6px; background: var(--gold); color: var(--text-dark); border-left: 2px solid var(--teal-dark); border-bottom: 2px solid var(--teal-dark);
}
.ou-ticket.is-family { background: #EAF7F5; }
.ou-ticket.is-family::before { background: var(--mint); }
.ou-ticket.is-usual .ou-label, .ou-ticket.is-family .ou-label, .ou-ticket.is-special .ou-label { padding-right: 46px; }

.ou-pass { flex: none; height: 32px; position: relative; overflow: hidden; border-bottom: 3px solid var(--teal-dark);
    background: linear-gradient(180deg, var(--sky1, #9C8BC4), var(--sky2, #F4A9B8) 55%, var(--sky3, #F8BE8A)); }
.ou-pass::before, .ou-pass::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12px; background: var(--brick); }
.ou-pass::before { left: 0; border-right: 2px solid var(--brick-dark); } .ou-pass::after { right: 0; border-left: 2px solid var(--brick-dark); }
.ou-sun { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #FFF6D2; left: var(--sun-x, 10%); top: var(--sun-y, 30px); box-shadow: 0 0 0 4px rgba(255, 246, 210, .35); }
.ou-pass-phase { position: absolute; left: 20px; top: 0; bottom: 0; display: flex; align-items: center; color: var(--teal-dark); font-size: 10.5px; background: rgba(250, 247, 242, .72); padding: 0 8px; border-radius: 0 0 8px 8px; height: 20px; }
.ou-crew { position: absolute; right: 16px; top: 1px; bottom: 1px; display: flex; gap: 4px; align-items: center; }
.ou-crew > * { width: 28px; height: 28px; display: block; position: relative; background: rgba(250, 247, 242, .82) !important; border-radius: 8px; border: 2px solid var(--teal-dark) !important; padding: 1px !important; }
.ou-crew .ou-cookie { width: 44px; display: flex !important; align-items: center; gap: 1px; padding: 1px 3px 1px 1px !important; background: var(--gold) !important; }
.ou-crew .ou-cookie .ou-i { width: 22px; height: 22px; flex: none; }
.ou-crew .ou-cookie b { font: 900 13px/1 Lato, sans-serif; }
.ou-crew .ou-cookie { animation: ou-nudge 2.2s ease-in-out infinite; }
.ou-crew .ou-meter { position: absolute; left: 2px; right: 2px; bottom: 1px; height: 4px; background: var(--steel); border-radius: 2px; overflow: hidden; }
.ou-crew .ou-meter i { display: block; height: 100%; background: var(--teal); transform-origin: 0 50%; }

.ou-griddle { flex: 1 1 128px; min-height: 120px; background: var(--flattop); border-bottom: 6px solid #2A3034; padding: 6px 8px; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr; gap: 6px; position: relative; touch-action: none; }
/* Four spots sit in one row, big enough to swipe; the Second Flat-Top makes it two rows of three. */
.ou-griddle.is-n6 { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); }
.ou-spot { border-radius: 12px; border: 2px dashed rgba(230, 236, 238, .2) !important; display: block !important; position: relative; min-width: 0; min-height: 0; touch-action: none; }
/* The ring and the food fill the spot up to a size and stay in its middle
   whatever shape the spot is. (They were sized by a percentage of the row,
   which a wider screen ignored: the rings spilled over two spots.) */
.ou-spot .ou-food { position: absolute; inset: 0; margin: auto; width: 70%; height: 70%; max-width: 60px; max-height: 60px; }
.ou-spot .ou-ring { position: absolute; inset: 0; margin: auto; width: 94%; height: 94%; max-width: 80px; max-height: 80px; transform: rotate(-90deg); }
.ou-ring circle { fill: none; stroke-width: 4; }
.ou-ring .ou-ring-bg { stroke: rgba(230, 236, 238, .2); }
.ou-ring .ou-ring-fg { stroke: var(--mint); stroke-linecap: round; stroke-dasharray: 182.2; }
.ou-spot.is-done .ou-ring .ou-ring-fg, .ou-spot.is-flip .ou-ring .ou-ring-fg { stroke: var(--flattop-heat); }
.ou-spot.is-done .ou-ring .ou-ring-bg, .ou-spot.is-flip .ou-ring .ou-ring-bg { stroke: var(--mint); stroke-width: 5; }
.ou-spot.is-done .ou-food, .ou-spot.is-flip .ou-food { animation: ou-bounce .9s ease-in-out infinite; }
/* A flip (owner 2026-11-13): the food goes up, turns over in the air and
   lands with a little squash and a puff of steam. A flare-up when food
   burns. Both run on their own clocks (play.js sets --ago, the ms since it
   started, so a redraw half way picks it up where it was); 520 and 850 ms,
   the same as FLIP_MS and FLAME_MS in play.js. */
.ou-spot.is-flipping .ou-food { animation: ou-flip .52s cubic-bezier(.3, .7, .4, 1) both; animation-delay: calc(var(--ago, 0) * -1ms); }
.ou-puff { position: absolute; left: 50%; top: 58%; width: 70%; height: 30%; max-width: 60px; transform: translateX(-50%); pointer-events: none; z-index: 1;
    background: radial-gradient(circle at 20% 60%, rgba(230, 236, 238, .85) 0 22%, transparent 24%), radial-gradient(circle at 50% 45%, rgba(230, 236, 238, .85) 0 26%, transparent 28%), radial-gradient(circle at 80% 60%, rgba(230, 236, 238, .85) 0 22%, transparent 24%);
    opacity: 0; animation: ou-puff .52s ease-out both; animation-delay: calc(var(--ago, 0) * -1ms); }
.ou-spot .ou-flame { position: absolute; left: 50%; top: 50%; width: 80%; height: 80%; max-width: 66px; max-height: 66px; pointer-events: none; z-index: 4;
    opacity: 0; animation: ou-flame .85s ease-out both; animation-delay: calc(var(--ago, 0) * -1ms); transform-origin: 50% 90%; }
/* The word under the food: Pull, Flip (Swipe on Rush) or Burnt. Never colour alone. */
.ou-spot[data-tag]::after { content: attr(data-tag); position: absolute; bottom: 1px; left: 50%; transform: translateX(-50%); font: 700 10px/1 Lato, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dark); background: var(--mint); border-radius: 6px; padding: 2px 6px; border: 1.5px solid var(--teal-dark); z-index: 3; white-space: nowrap; }
.ou-spot.is-flip[data-tag]::after { background: var(--gold); }
.ou-spot.is-burnt[data-tag]::after { background: var(--steel); }
/* Trouble on the flat-top: a spot that's out, and a cold one (blue, solid edge). */
.ou-spot.is-broken { border-style: solid !important; border-color: rgba(230, 236, 238, .35) !important;
    background: repeating-linear-gradient(45deg, rgba(0, 0, 0, .28) 0 8px, rgba(0, 0, 0, .1) 8px 16px); }
.ou-spot.is-broken[data-tag]::after { background: var(--steel); }
.ou-spot.is-cold { border-style: solid !important; border-color: #8EC8E8 !important; background: rgba(142, 200, 232, .14); }
.ou-spot.is-cold:not([data-act])[data-tag]::after { background: #CFE6F4; }
.ou-spot.is-burnt .ou-food { filter: brightness(.36) saturate(.5); }
.ou-spot.is-burnt .ou-ring { display: none; }
.ou-spot.is-burnt::before { content: ""; position: absolute; inset: 14% 22%; background:
    linear-gradient(45deg, transparent 46%, var(--steel-light) 46% 54%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, var(--steel-light) 46% 54%, transparent 54%); opacity: .75; z-index: 2; pointer-events: none; }
.ou-spot.is-raw:not(.is-turned) .ou-food, .ou-spot.is-flip .ou-food { --marks: 0; }
.ou-smoke { position: absolute; top: -2px; left: 50%; width: 30px; height: 16px; margin-left: -15px; z-index: 2; }

.ou-table { flex: 0 2 104px; min-height: 94px; background: linear-gradient(180deg, var(--steel-light), var(--steel)); border-bottom: 3px solid var(--teal-dark); display: grid; grid-template-columns: 1fr 104px 1fr; align-items: center; gap: 6px; padding: 4px 8px; position: relative; }
.ou-side { display: flex; flex-direction: column; gap: 4px; align-self: stretch; justify-content: space-between; min-width: 0; padding: 2px 0; }
.ou-hint { font: 700 13px/1.2 Lato, sans-serif; color: var(--teal-dark); min-height: 31px; }
.ou-hint.is-bad { color: var(--text-dark); }
.ou-scrap { align-self: flex-start; min-height: 40px; padding: 8px 12px !important; border-radius: 10px; background: #fff !important; border: 2px solid var(--teal-dark) !important; font: 700 12px/1 Lato, sans-serif !important; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 3px 0 var(--steel-dark); }
.ou-scrap[disabled] { opacity: .4; }
.ou-sidebtns { display: flex; align-items: flex-end; gap: 6px; }
.ou-sidebtns .ou-scrap { align-self: auto; padding: 8px 9px !important; letter-spacing: .08em; }
/* The Second Plate: a small plate beside Scrap, its food shown small. */
.ou-spare { position: relative; width: 50px; height: 50px; flex: none; padding: 0 !important; background: none !important; border: 0 !important; }
.ou-spare > .ou-i { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(2px 2px 0 var(--shadow)); }
.ou-spare span { position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; }
.ou-spare span .ou-i { width: 100%; height: 100%; }
.ou-spare em { position: absolute; right: -3px; top: -3px; font: 900 10px/1 Lato, sans-serif; font-style: normal; background: var(--teal-dark); color: var(--cream); border-radius: 999px; padding: 2px 4px; }
.ou-spare b { position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%); font: 700 9px/1 Lato, sans-serif; letter-spacing: .12em; text-transform: uppercase; background: var(--teal-dark); color: var(--cream); border-radius: 999px; padding: 2px 5px; }
.ou-spare.is-full { animation: ou-pop .22s ease-out; }
.ou-plate { position: relative; height: min(104px, 100%); width: auto; aspect-ratio: 1; justify-self: center; }
.ou-plate > .ou-i { position: absolute; inset: 0; }
.ou-plate.is-bad { animation: ou-shake .3s ease-in-out 1; }
/* The plate that went out slides off under Send; a clean one comes in from
   the left (owner 2026-11-13). The one going is a copy, never tappable. */
.ou-plate.ou-plate-gone { position: absolute; justify-self: auto; aspect-ratio: auto; pointer-events: none; z-index: 1; animation: ou-slide .42s cubic-bezier(.5, 0, .9, .6) both; }
.ou-plate.is-fresh { animation: ou-platein .26s ease-out .14s both; }
.ou-sendwrap { position: relative; z-index: 2; }
.ou .ou-pi { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.ou-pi.is-new { animation: ou-pop .22s ease-out; }
.ou-sendwrap { align-self: stretch; display: flex; align-items: center; justify-content: flex-end; }
.ou-send { width: 96px; height: 76px; border-radius: 14px; background: var(--accent) !important; color: #fff !important; border: 2px solid var(--teal-dark) !important; font: 700 17px/1 Lato, sans-serif !important; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 4px 0 var(--accent-dark); }
.ou-send:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--accent-dark); }
.ou-send.is-off { background: var(--steel) !important; color: #5A6970 !important; box-shadow: 0 4px 0 var(--steel-dark); }
.ou-send.is-ready { animation: ou-ready 1s ease-in-out infinite; }

.ou-bins { flex: none; background: #2A3034; padding: 6px 6px 8px; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 50px; gap: 6px; }
.ou-bin { background: var(--steel-light) !important; border: 2px solid var(--teal-dark) !important; border-radius: 12px; display: grid !important; grid-template-rows: 1fr auto; place-items: center; box-shadow: 0 3px 0 var(--teal-dark); padding: 2px 2px 3px !important; min-width: 0; }
.ou-bin .ou-i { width: 31px; height: 31px; }
.ou-bin .ou-label { font-size: 9.5px; letter-spacing: .08em; color: var(--text-dark); }
.ou-bin:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--teal-dark); }
.ou-bin.is-off { opacity: .32; box-shadow: none; }
.ou-bin.is-cook { background: #FBEFDD !important; }
.ou-bin.is-full { opacity: .55; }

/* things laid over the kitchen */
.ou-toast { position: absolute; left: 50%; top: 170px; transform: translateX(-50%); background: var(--cream); color: var(--text-dark); border: 2px solid var(--teal-dark); border-radius: 999px; padding: 7px 14px; font: 700 15px/1.2 Lato, sans-serif; box-shadow: 3px 3px 0 var(--shadow); white-space: nowrap; pointer-events: none; opacity: 0; z-index: 6; max-width: 340px; overflow: hidden; text-overflow: ellipsis; }
.ou-toast.is-on { opacity: 1; animation: ou-pop .2s ease-out; }
/* Over the ticket rail, never the flat-top or the bins (owner 2026-11-12):
   food keeps cooking where the player can see it. */
.ou-banner { display: flex; flex-direction: column; justify-content: center; height: 118px; position: absolute; left: 0; right: 0; top: 44px; background: var(--house-gradient); color: var(--cream); text-align: center; padding: 14px 16px; border-top: 4px solid var(--mint); border-bottom: 4px solid var(--mint); pointer-events: none; opacity: 0; z-index: 7; }
.ou-banner b { display: block; font: 700 28px/1.1 "Playfair Display", Georgia, serif; }
.ou-banner span { font: 400 16px/1.3 Lato, sans-serif; }
.ou-banner.is-on { opacity: 1; animation: ou-pop .25s ease-out; }
.ou-bubbles { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.ou-bubble { position: absolute; pointer-events: auto; width: 196px; min-height: 60px; background: var(--cream) !important; border: 2.5px solid var(--teal-dark) !important; border-radius: 16px; padding: 8px 12px 9px !important; text-align: left; box-shadow: 4px 4px 0 var(--shadow); animation: ou-pop .22s ease-out; }
.ou-bubble::after { content: ""; position: absolute; left: 22px; bottom: -11px; width: 16px; height: 16px; background: var(--cream); border: solid var(--teal-dark); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) skew(8deg, 8deg); }
.ou-bubble .ou-label { color: var(--teal); display: block; font-size: 10px; }
.ou-bubble b { font: 700 16px/1.2 Lato, sans-serif; display: block; }
/* Small Talk: answered already, so it is only seen and never in the way of a tap. */
.ou-bubble.is-answered { pointer-events: none; opacity: .88; }
.ou-bubble small { display: block; font: 400 12px/1.2 Lato, sans-serif; color: #4A5A62; margin-top: 2px; }

.ou-pausebox { position: absolute; inset: 0; background: rgba(28, 34, 38, .78); z-index: 9; display: grid; place-items: center; padding: 24px; }
.ou-pausebox[hidden] { display: none; }
.ou-pausecard { width: 100%; background: var(--cream); border: 2px solid var(--teal-dark); border-radius: 16px; padding: 18px 16px 16px; display: grid; gap: 10px; text-align: center; }

/* ---------- paper screens: dawn, after close, week over, recipe box, how ---------- */
/* The band on top and the foot stay put; only the middle scrolls. */
.ou-paper { background: var(--cream); overflow: hidden; }
.ou-top { flex: none; background: var(--house-gradient); color: var(--cream); padding: 14px 16px 12px; border-bottom: 4px solid var(--accent); position: relative; }
.ou-top .ou-label { color: var(--mint); display: block; margin-top: 4px; }
.ou-top--wallet { padding-right: 104px; }
.ou-top--dawn { background: linear-gradient(180deg, #9C8BC4, #F4A9B8 55%, #F8BE8A); color: var(--text-dark); border-bottom-color: var(--teal-dark); }
.ou-top--dawn .ou-label { color: var(--text-dark); }
.ou-top--fri { background: linear-gradient(180deg, #6E5E9E, #E88FA0 55%, #F59E5E); }
/* max-content rows: a card keeps its height and the middle scrolls, instead of every card being squeezed to fit. */
.ou-body-pad { padding: 12px 12px 16px; display: grid; grid-auto-rows: max-content; gap: 9px; align-content: start; flex: 1 1 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
/* Continue and New week side by side; the check before a week is thrown away. */
.ou-gorow { display: grid; grid-template-columns: 1fr; gap: 8px; width: 100%; }
.ou-gorow:has(#ou-fresh:not([hidden])) { grid-template-columns: 1.7fr 1fr; }
.ou .ou-gorow .ou-btn { letter-spacing: .06em; padding-left: 6px; padding-right: 6px; white-space: nowrap; }
.ou-gorow:has(#ou-fresh:not([hidden])) .ou-btn { font-size: 15px !important; }
.ou .ou-btn--ghost { background: transparent !important; color: var(--cream) !important; border: 2px solid var(--mint) !important; box-shadow: none; }
.ou .ou-btn--ghost:active { background: var(--teal-dark) !important; transform: translateY(2px); }
.ou-confirm { width: 100%; background: var(--teal-dark); border: 2px solid var(--mint); border-radius: 12px; padding: 12px; display: grid; gap: 10px; }
.ou-title .ou-confirm p { margin: 0; font: 700 16px/1.3 Lato, sans-serif; color: var(--cream); }
/* The first-open notice: over the title, until it's answered. */
.ou-told { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 8; background: var(--cream); border: 2px solid var(--teal-dark); border-radius: 14px; padding: 14px; display: grid; gap: 8px; text-align: left; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.ou-title .ou-told p { margin: 0; color: var(--text-dark); font: 400 15px/1.35 Lato, sans-serif; }
.ou-title .ou-told p b { font: 700 18px/1.2 "Playfair Display", Georgia, serif; }
.ou-told .ou-btn--ghost { color: var(--text-dark) !important; border-color: var(--teal-dark) !important; }
.ou-told .ou-link { color: var(--accent) !important; justify-self: start; padding: 4px 0 !important; }
/* The in-app browser warning: the same card, top of the stack. */
.ou-inapp { z-index: 9; }
.ou-inapp .ou-btn { text-align: center; text-decoration: none; }
.ou-title .ou-inapp p.ou-inapp-how { padding: 8px 10px; background: #fff; border: 2px dashed var(--teal-dark); border-radius: 10px; font-size: 14px; }
.ou-title .ou-inapp p.ou-inapp-fine { font-size: 13px; color: #4A5A62; }
.ou-pausenote { margin: -4px 0 4px; color: #4A5A62; }

/* Settings: a switch a row, then who made it. */
.ou-set { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin: 0 0 8px; padding: 11px 12px !important; background: #fff !important; border: 2px solid var(--teal-dark) !important; border-radius: 12px; text-align: left; color: var(--text-dark) !important; }
.ou-set b { display: block; font: 700 17px/1.2 "Playfair Display", Georgia, serif; }
.ou-set small { display: block; font: 400 13px/1.3 Lato, sans-serif; color: #4A5A62; margin-top: 2px; }
.ou-set i { flex: none; font: 900 13px/1 Lato, sans-serif; font-style: normal; letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: var(--steel-light); border: 2px solid var(--steel-dark); }
.ou-set[aria-pressed="true"] i { background: var(--mint); border-color: var(--teal-dark); }
/* A volume: Off, Low, Medium, High in one row (owner 2026-11-13). */
.ou-set.ou-set--vol { display: block; }
.ou-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; margin-top: 8px; }
.ou .ou-seg button { min-height: 40px; min-width: 0; padding: 4px 2px; border-radius: 9px; border: 2px solid var(--steel-dark); background: var(--steel-light); color: var(--text-dark); font: 700 12px/1.1 Lato, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.ou .ou-seg button[aria-pressed="true"] { background: var(--mint); border-color: var(--teal-dark); }
.ou-reset { width: 100%; margin-top: 4px; }
/* Settings boxes: home screen, save code. */
.ou-setbox { margin: 12px 0; padding: 10px 12px; background: #fff; border: 2px solid var(--teal-dark); border-radius: 12px; }
.ou-setbox .ou-fine { margin: 4px 0 8px; }
.ou-setbox .ou-btn { width: 100%; }
.ou-code { display: block; width: 100%; box-sizing: border-box; margin: 8px 0 0; padding: 8px; font: 400 12px/1.35 ui-monospace, Menlo, Consolas, monospace; color: var(--text-dark); background: var(--cream); border: 2px solid var(--steel-dark); border-radius: 8px; resize: none; word-break: break-all; }
.ou-code-load { margin-top: 8px; }
.ou-code-msg { margin: 6px 0 0; font: 700 13px/1.3 Lato, sans-serif; color: var(--teal-dark); }
.ou-code-msg:empty { display: none; }
.ou-bests { list-style: none; margin: 0 0 8px; padding: 0; font: 400 14px/1.5 Lato, sans-serif; }
.ou-bests span { color: #4A5A62; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
/* A finished week's code, to look it up in the results. */
.ou-weekcode { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; width: 100%; margin: 10px 0; padding: 8px 12px !important; background: #fff !important; color: var(--text-dark) !important; border: 2px dashed var(--teal-dark) !important; border-radius: 12px; text-align: left; }
.ou-weekcode b { font: 700 15px/1 Lato, sans-serif; color: var(--teal); }
.ou-weekcode.is-shown b { font: 700 18px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .08em; color: var(--text-dark); }
.ou-bests .ou-weekcode { display: inline-flex; width: auto; margin: 2px 0 2px 8px; padding: 3px 8px !important; }
.ou-bests .ou-weekcode .ou-label { display: none; }
.ou-bests .ou-weekcode b { font-size: 12px; }
.ou-weekcode small { flex-basis: 100%; font: 400 12px/1.3 Lato, sans-serif; color: #4A5A62; }
/* Achievements: a row each, earned ones in mint. */
.ou-achs { display: grid; gap: 6px; margin: 4px 0 10px; }
.ou-ach { display: flex; gap: 10px; align-items: center; padding: 8px 10px; background: #fff; border: 2px dashed var(--steel-dark); border-radius: 12px; font: 400 14px/1.3 Lato, sans-serif; text-align: left; color: #4A5A62; }
/* Its icon is the item it opens up, on that item's rarity (owner
   2026-11-13); grey until earned, then a gleam runs across it now and then. */
.ou-ach-i { position: relative; flex: none; width: 42px; height: 42px; padding: 3px; border-radius: 10px; border: 2px solid var(--steel-dark); background: var(--r-normal-bg); overflow: hidden; opacity: .45; filter: grayscale(1); }
.ou-ach-i .ou-i { width: 100%; height: 100%; display: block; }
.ou-ach.is-got .ou-ach-i { opacity: 1; filter: none; border-color: var(--teal-dark); }
.ou-ach.is-got .ou-ach-i.is-rare { background: var(--r-rare-own); border-color: var(--r-rare); }
.ou-ach.is-got .ou-ach-i.is-epic { background: var(--r-epic-own); border-color: var(--r-epic); }
.ou-ach.is-got .ou-ach-i.is-gold { background: linear-gradient(135deg, #FFF3C4, #F4C542); border-color: #7A5A0E; }
.ou-ach.is-got .ou-ach-i { box-shadow: 0 0 0 2px rgba(255, 210, 80, .55), 0 0 10px 1px rgba(255, 210, 80, .6); }
.ou-ach.is-got .ou-ach-i::after { content: ""; position: absolute; inset: -2px; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .95) 48%, rgba(255, 246, 200, .7) 54%, transparent 68%); transform: translateX(-120%); animation: ou-gleam 3.4s ease-in-out infinite; }
.ou-ach.is-got:nth-child(3n+2) .ou-ach-i::after { animation-delay: 1.1s; }
.ou-ach.is-got:nth-child(3n) .ou-ach-i::after { animation-delay: 2.2s; }
.ou-ach b { display: block; font: 700 16px/1.2 "Playfair Display", Georgia, serif; color: var(--text-dark); }
.ou-ach small { display: block; font: 700 11px/1.2 Lato, sans-serif; letter-spacing: .1em; text-transform: uppercase; margin-top: 3px; color: var(--teal); }
.ou-ach.is-got { border: 2px solid var(--teal-dark); background: #E3F6F2; color: var(--text-dark); }
/* Power Flicker: the kitchen goes dark and the tickets can't be read; the flat-top glows on. */
.ou-stage.is-dark .ou-rail, .ou-stage.is-dark .ou-pass, .ou-stage.is-dark .ou-table, .ou-stage.is-dark .ou-bins { filter: brightness(.3); transition: filter .15s; }
.ou-stage.is-dark .ou-griddle { filter: brightness(.55); }
.ou-stage.is-dark .ou-ticket .ou-tname, .ou-stage.is-dark .ou-ticket .ou-parts { visibility: hidden; }
.ou-credits { margin-top: 16px; font: 400 15px/1.4 Lato, sans-serif; }
.ou-credits p { margin: 6px 0 10px; }
.ou-credit b { display: block; font: 700 24px/1.2 "Playfair Display", Georgia, serif; }
.ou-version { display: block; font: 400 11px/1.2 Lato, sans-serif; color: var(--mint); opacity: .75; }

/* Send in your score (the week-over screen, only when results go somewhere). */
.ou-sendin { display: grid; gap: 8px; background: #fff; border: 2px solid var(--teal-dark); border-radius: 12px; padding: 12px; box-shadow: 3px 3px 0 var(--shadow); position: relative; }
.ou-sendin .ou-label { color: var(--teal); }
.ou-field { display: grid; gap: 3px; font: 700 14px/1.25 Lato, sans-serif; }
/* 18px: under 16 on the screen and an iPhone zooms the whole page on focus. */
.ou-field input { font: 400 18px/1.2 Lato, sans-serif; color: var(--text-dark); padding: 10px 10px; border: 2px solid var(--teal-dark); border-radius: 10px; background: var(--cream); width: 100%; min-width: 0; -webkit-user-select: text; user-select: text; }
.ou-field input:focus { outline: 3px solid var(--accent); outline-offset: 1px; }
.ou-field--web { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ou-fine { margin: 0; font: 400 12.5px/1.35 Lato, sans-serif; color: #4A5A62; }
.ou-fine a { color: var(--accent); text-decoration: underline; }
.ou-sent { background: #fff; border: 2px solid var(--teal-dark); border-radius: 12px; padding: 12px; font-weight: 700; }

/* "The game didn't start": over everything, only if play.js never came up. */
.ou-oops { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 420px; margin: 0 auto; z-index: 20; background: var(--cream); border: 2px solid var(--teal-dark); border-radius: 14px; padding: 14px; display: grid; gap: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.ou-oops p { margin: 0; font: 400 16px/1.35 Lato, sans-serif; color: var(--text-dark); }

.ou-foot { flex: none; padding: 10px 12px 12px; background: var(--cream); border-top: 2px solid var(--steel); box-shadow: 0 -8px 12px -8px rgba(31, 69, 82, .3); display: grid; gap: 8px; position: relative; z-index: 1; }
.ou-top--back { padding-right: 96px; }
.ou .ou-topback { position: absolute; right: 12px; top: 12px; min-width: 72px; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 2px solid var(--mint); color: var(--cream); font: 700 14px/1 Lato, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.ou .ou-topback:active { background: var(--teal-dark); }
/* On the pink morning band the button is dark on light, like the band's own words. */
.ou .ou-top--dawn .ou-topback { color: var(--text-dark); border-color: var(--teal-dark); background: rgba(250, 247, 242, .55); }
.ou-body-pad > .ou-label { color: var(--teal); margin-top: 2px; }
.ou-note { font: 400 14px/1.35 Lato, sans-serif; margin: 0; }

.ou-card { position: relative; background: #fff !important; border: 2px solid var(--teal-dark) !important; border-radius: 12px; text-align: left; box-shadow: 3px 3px 0 var(--shadow); display: grid !important; grid-template-columns: 46px 1fr auto; gap: 4px 10px; align-items: center; padding: 22px 10px 9px !important; width: 100%; overflow: hidden; }
.ou-card:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--shadow); }
.ou-card .ou-ci { width: 46px; height: 46px; }
.ou-card b { font: 700 17px/1.12 "Playfair Display", Georgia, serif; display: block; }
.ou-card .ou-ct { font: 400 14px/1.25 Lato, sans-serif; display: block; }
.ou-card .ou-own { font: 700 11px/1 Lato, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); display: block; margin-top: 3px; }
.ou-rar { position: absolute; left: 0; right: 0; top: 0; height: 17px; display: flex; align-items: center; gap: 5px; padding: 0 9px; font: 700 10px/1 Lato, sans-serif; letter-spacing: .16em; text-transform: uppercase; border-bottom: 2px solid var(--teal-dark); background: var(--steel-light); color: var(--text-dark); }
.ou-rar i { width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); display: block; }
.ou-card.is-normal .ou-rar { background: var(--r-normal); }
.ou-card.is-rare .ou-rar { background: var(--r-rare); color: #fff; }
.ou-card.is-rare { background: var(--r-rare-bg) !important; box-shadow: 3px 3px 0 var(--r-rare); }
/* Legendary: a dark band with gold diamonds. Still no red. */
.ou-card.is-epic .ou-rar { background: var(--r-epic); color: #fff; }
.ou-card.is-epic { border-color: var(--teal-dark) !important; box-shadow: 3px 3px 0 var(--r-epic); background: var(--r-epic-bg) !important; }
/* Legendary: gold all over, shining, with rays turning behind its picture
   (owner 2026-11-12). The one card allowed gradients on it. Still: the word
   and four diamonds, the house outline, and the price button red. */
.ou-card.is-legendary { background: linear-gradient(135deg, #FFF3C4 0%, #FFE07A 38%, #F4C542 62%, #FFE9A0 100%) !important; border-color: #7A5A0E !important;
    box-shadow: 3px 3px 0 #9C7414, 0 0 18px 3px rgba(255, 210, 80, .75); animation: ou-glow 2.4s ease-in-out infinite; }
.ou-card.is-legendary .ou-rar { background: linear-gradient(90deg, #E5AE25, #FFE58A 50%, #E5AE25); color: var(--text-dark); border-bottom-color: #7A5A0E; z-index: 2; }
.ou-card.is-legendary > * { position: relative; z-index: 1; }
.ou-card.is-legendary > .ou-rar { position: absolute; }
.ou-card.is-legendary::before { content: ""; position: absolute; left: 33px; top: 42px; width: 260px; height: 260px; margin: -130px 0 0 -130px; z-index: 0; pointer-events: none;
    background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .85) 0deg 7deg, rgba(255, 255, 255, 0) 7deg 22deg);
    -webkit-mask: radial-gradient(circle, #000 12%, transparent 68%); mask: radial-gradient(circle, #000 12%, transparent 68%);
    animation: ou-rays 9s linear infinite; }
.ou-card.is-legendary::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .75) 50%, transparent 65%); transform: translateX(-100%); animation: ou-shine 3s ease-in-out infinite; }
.ou-card.is-legendary .ou-ci { filter: drop-shadow(0 0 6px rgba(255, 255, 255, .9)) drop-shadow(2px 2px 0 rgba(122, 90, 14, .4)); }
.ou-card.is-epic .ou-rar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%); transform: translateX(-100%); animation: ou-shine 2.6s ease-in-out infinite; }
.ou-price { min-width: 58px; min-height: 44px; display: grid; place-items: center; border-radius: 10px; background: var(--accent); color: #fff; border: 2px solid var(--teal-dark); font: 700 16px/1 Lato, sans-serif; padding: 0 8px; }
.ou-card.is-poor .ou-price, .ou-card.is-sold .ou-price { background: var(--steel); color: #5A6970; }
.ou-card.is-sold { opacity: .6; }
.ou-card.is-off { opacity: .55; }
.ou-card.is-nope { animation: ou-shake .3s ease-in-out 1; }
.ou-price.is-sale { display: flex; flex-direction: column; justify-content: center; gap: 2px; line-height: 1; }
.ou-price s { font: 700 11px/1 Lato, sans-serif; opacity: .8; }
/* An item's number (owner 2026-11-12): highlighted, and it grows with each one owned. */
.ou-card b.ou-num, .ou-own-info b.ou-num, b.ou-num { display: inline; font-family: Lato, sans-serif; font-size: 1em; font-weight: 900; line-height: inherit; background: var(--mint); color: var(--text-dark); border-radius: 4px; padding: 0 3px; white-space: nowrap; }
.ou-clean { margin: 0 0 10px; padding: 8px 10px; border: 2px solid var(--teal-dark); border-radius: 10px; background: #E3F6F2; font: 400 14px/1.3 Lato, sans-serif; }
/* Trouble today, on the morning screen: ink and steel, never red. */
.ou-trouble { display: flex; gap: 10px; align-items: center; margin: 0 0 10px; padding: 9px 11px; background: var(--steel-light); border: 2px dashed var(--text-dark); border-radius: 12px; font: 400 14px/1.3 Lato, sans-serif; text-align: left; }
.ou-trouble > .ou-i { width: 40px; height: 40px; flex: none; filter: grayscale(.6); }
.ou-trouble b { display: block; font: 700 17px/1.2 "Playfair Display", Georgia, serif; }
.ou-sale { margin: 0 0 8px; padding: 8px 10px; border: 2px dashed var(--teal-dark); border-radius: 10px; background: #FFF6D6; font: 400 14px/1.3 Lato, sans-serif; }
.ou-pausecard .ou-row .ou-btn { letter-spacing: .08em; padding: 14px 6px; }
/* Sound and Music in pause: the word small, the volume under it. A tap steps Off, Low, Medium, High. */
.ou-pausecard .ou-row [data-act="sound"], .ou-pausecard .ou-row [data-act="music"] { padding: 8px 6px; line-height: 1.15; }
.ou-pausecard .ou-row [data-act="sound"] span, .ou-pausecard .ou-row [data-act="music"] span { display: block; font-size: 11px; letter-spacing: .14em; color: #4A5A62; margin-bottom: 3px; }
.ou-card--special { grid-template-columns: 52px 1fr auto; padding-top: 10px !important; }
.ou-card--special .ou-ci { width: 52px; height: 52px; border-radius: 10px; overflow: hidden; border: 2px solid var(--teal-dark); background: var(--steel-light); }
.ou-card--special img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ou-chip { display: inline-block; font: 700 12px/1 Lato, sans-serif; background: var(--steel-light); border: 1.5px solid var(--teal-dark); border-radius: 999px; padding: 4px 8px; margin: 3px 3px 0 0; }
.ou-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ou-istats { display: grid; gap: 6px; margin: 6px 0 12px; }
/* The week's items: icon, name and days, then what it did. */
.ou-istats > div { display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; align-items: center; padding: 6px 8px; background: var(--r-normal-bg); border: 2px solid var(--teal-dark); border-radius: 10px; }
.ou-istats > div.is-rare { background: var(--r-rare-own); } .ou-istats > div.is-epic { background: var(--r-epic-own); }
.ou-istats svg { grid-row: span 3; width: 34px; height: 34px; }
.ou-istats b { font: 900 15px/1.2 Lato, sans-serif; }
.ou-istats span { font: 700 12px/1.3 Lato, sans-serif; color: #4A5A62; }
.ou-istats strong { font: 900 14px/1.3 Lato, sans-serif; color: var(--teal-dark); }
.ou-own-row { display: flex; flex-wrap: wrap; gap: 4px; }
.ou-own-row button { width: 40px; height: 40px; position: relative; background: var(--r-normal-bg) !important; border: 2px solid var(--teal-dark) !important; border-radius: 9px; padding: 3px !important; display: block; }
.ou-own-row button.is-rare { background: var(--r-rare-own) !important; } .ou-own-row button.is-epic { background: var(--r-epic-own) !important; }
.ou-own-row button.is-legendary { background: linear-gradient(135deg, #FFF3C4, #F4C542) !important; border-color: #7A5A0E !important; }
.ou-own-row button.is-picked { outline: 3px solid var(--teal); outline-offset: 1px; }
.ou-own-info { margin: 6px 0 0; padding: 7px 10px; background: #fff; border: 2px solid var(--teal-dark); border-radius: 10px; font: 400 14px/1.3 Lato, sans-serif; text-align: left; }
.ou-own-info b { font: 700 15px/1.2 "Playfair Display", Georgia, serif; }
.ou-own-info span { font: 700 10px/1 Lato, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #4A5A62; }
.ou-pause-own:empty { display: none; }
.ou-pause-own .ou-own-row { justify-content: center; }
.ou-own-row button em { position: absolute; right: -4px; bottom: -4px; font: 900 10px/1 Lato, sans-serif; font-style: normal; background: var(--teal-dark); color: var(--cream); border-radius: 999px; padding: 2px 4px; }
.ou-shophead { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
/* Restock: small, beside the shop's name, a refresh arrow and its price. */
.ou-restock { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px !important; background: #fff !important; color: var(--text-dark) !important;
    border: 2px solid var(--teal-dark) !important; border-radius: 999px; font: 900 14px/1 Lato, sans-serif; box-shadow: 0 3px 0 var(--steel-dark); }
.ou-restock svg { width: 16px; height: 16px; }
.ou-restock:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--steel-dark); }
.ou-restock[disabled] { opacity: .45; box-shadow: none; }
.ou-wallet { position: absolute; right: 14px; top: 14px; text-align: right; line-height: 1.05; }
.ou-wallet b { font: 900 22px/1 Lato, sans-serif; display: block; }

.ou-week { display: grid; gap: 0; background: #fff; border: 2px solid var(--teal-dark); border-radius: 12px; overflow: hidden; }
.ou-week div { display: grid; grid-template-columns: 62px 1fr auto; align-items: baseline; gap: 8px; padding: 8px 12px; border-top: 1.5px solid var(--steel); font: 400 15px/1.2 Lato, sans-serif; }
.ou-week div:first-child { border-top: 0; }
.ou-week div b { font: 700 19px/1.1 "Playfair Display", Georgia, serif; color: var(--accent); }
.ou-week div strong { font: 900 17px/1 Lato, sans-serif; font-variant-numeric: tabular-nums; }
.ou-week div.is-total { background: var(--cream-alt); } .ou-week div.is-total b { color: var(--text-dark); }
/* A day's rank is its whole row, in the rarity colours (owner 2026-11-13:
   not a tag in the row, which pushed it onto two lines). The words stay, so
   it never rests on colour alone. */
.ou-week div[class^="is-"]:not(.is-total) span { font: 700 12px/1.2 Lato, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.ou-week div[class^="is-"]:not(.is-total) b { color: var(--text-dark); }
.ou-week div.is-normal { background: var(--r-normal-bg); box-shadow: inset 6px 0 0 var(--r-normal); }
.ou-week div.is-normal span { color: #4A5A62; }
.ou-week div.is-rare { background: var(--r-rare-own); box-shadow: inset 6px 0 0 var(--r-rare); }
.ou-week div.is-rare span { color: var(--r-rare); }
.ou-week div.is-epic { background: var(--r-epic-own); box-shadow: inset 6px 0 0 var(--r-epic); }
.ou-week div.is-epic span { color: var(--r-epic); }
/* The day a week was lost or ended on, and catering that wasn't on time:
   a soft red (owner 2026-11-13: red for bad, like a late ticket). */
.ou-week div.is-bad { background: #F8DEDA; box-shadow: inset 6px 0 0 var(--accent-dark); }
.ou-week div.is-bad span { color: var(--accent-dark); }
.ou-week div.is-legendary { position: relative; overflow: hidden; background: linear-gradient(100deg, #FFE9A0 0%, #FFE07A 35%, #F4C542 70%, #FFE58A 100%); box-shadow: inset 6px 0 0 #B8860B; }
.ou-week div.is-legendary span { color: #6B4E0A; }
.ou-week div.is-legendary::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .75) 50%, transparent 65%); transform: translateX(-100%); animation: ou-shine 3.2s ease-in-out infinite; }
/* The week code and Share side by side. */
.ou-row--code { grid-template-columns: 1fr 1fr; align-items: stretch; margin: 10px 0; }
.ou-row--code .ou-weekcode { margin: 0; }
.ou-row--code .ou-share { margin: 0; }
/* Past weeks: one card a week. */
.ou-past { margin: 0 0 16px; }
.ou-past-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin: 0 2px 6px; }
.ou-past-head b { display: block; font: 700 18px/1.15 "Playfair Display", Georgia, serif; }
.ou-past-head small { display: block; font: 700 11px/1.3 Lato, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #4A5A62; }
.ou-past-head strong { font: 900 20px/1 Lato, sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ou-past .ou-row--code { margin: 8px 0 0; }
.ou-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.ou-strip span { padding: 6px 2px 5px; border-radius: 8px; border: 2px solid var(--steel-dark); background: var(--r-normal-bg); text-align: center; font: 900 14px/1.1 Lato, sans-serif; font-variant-numeric: tabular-nums; }
.ou-strip b { display: block; font: 700 10px/1.2 Lato, sans-serif; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; }
.ou-strip .is-rare { background: var(--r-rare-own); border-color: var(--r-rare); }
.ou-strip .is-epic { background: var(--r-epic-own); border-color: var(--r-epic); }
.ou-strip .is-legendary { background: linear-gradient(135deg, #FFF3C4, #F4C542); border-color: #B8860B; }
.ou-strip .is-cater { background: #fff; border-color: var(--teal-dark); }
.ou-strip .is-bad { background: #F8DEDA; border-color: var(--accent-dark); color: var(--accent-dark); }

.ou-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ou-rc { background: #fff; border: 2px solid var(--teal-dark); border-radius: 12px; overflow: hidden; display: grid; grid-template-rows: 78px auto; box-shadow: 3px 3px 0 var(--shadow); }
.ou-rc .ou-rp { background: var(--steel-light); display: grid; place-items: center; border-bottom: 2px solid var(--teal-dark); overflow: hidden; border-radius: 10px 10px 0 0; }
.ou-rc .ou-rp img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ou-rc .ou-rp .ou-i { width: 52px; height: 52px; }
.ou-rc.is-new .ou-rp .ou-i { opacity: .25; filter: grayscale(1); }
.ou-rc div { padding: 6px 8px 8px; }
.ou-rc b { font: 700 15px/1.12 "Playfair Display", Georgia, serif; display: block; }
.ou-rc span { font: 400 13px/1.25 Lato, sans-serif; display: block; margin-top: 2px; }

.ou-how-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ou-how-list li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; background: #fff; border: 2px solid var(--teal-dark); border-radius: 12px; padding: 8px 10px; font: 400 15px/1.3 Lato, sans-serif; }
.ou-how-list li .ou-i { width: 44px; height: 44px; }
.ou-how-list b { font-weight: 700; }

/* ---------- motion ---------- */
@keyframes ou-pop { 0% { transform: scale(.82); } 70% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes ou-drop { 0% { transform: translateY(-26px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes ou-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@keyframes ou-flip {
    0% { transform: perspective(240px) translateY(0) rotateX(0); }
    45% { transform: perspective(240px) translateY(-24px) rotateX(200deg) scale(1.08); }
    78% { transform: perspective(240px) translateY(0) rotateX(360deg) scale(1.06, .84); }
    100% { transform: perspective(240px) translateY(0) rotateX(360deg) scale(1); }
}
@keyframes ou-puff { 0%, 70% { opacity: 0; transform: translateX(-50%) scale(.6); } 80% { opacity: .9; } 100% { opacity: 0; transform: translateX(-50%) translateY(-10px) scale(1.25); } }
@keyframes ou-flame {
    0% { opacity: 1; transform: translate(-50%, -45%) scale(.3); }
    22% { opacity: 1; transform: translate(-50%, -62%) scale(1.18, 1.1); }
    50% { opacity: 1; transform: translate(-50%, -68%) scale(.94, 1.06); }
    100% { opacity: 0; transform: translate(-50%, -92%) scale(.55); }
}
@keyframes ou-slide { 0% { transform: none; opacity: 1; } 100% { transform: translateX(170px) rotate(10deg); opacity: 0; } }
@keyframes ou-platein { 0% { transform: translateX(-28px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes ou-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes ou-ready { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes ou-nudge { 0%, 86%, 100% { transform: rotate(0); } 90% { transform: rotate(-7deg); } 95% { transform: rotate(7deg); } }
@keyframes ou-rays { to { transform: rotate(360deg); } }
@keyframes ou-glow { 0%, 100% { box-shadow: 3px 3px 0 #9C7414, 0 0 12px 2px rgba(255, 210, 80, .55); } 50% { box-shadow: 3px 3px 0 #9C7414, 0 0 22px 6px rgba(255, 210, 80, .9); } }
@keyframes ou-shine { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes ou-gleam { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes ou-steam { 0%, 100% { opacity: .2; transform: translateY(2px); } 50% { opacity: .9; transform: translateY(-3px); } }
.ou-steam { animation: ou-steam 2.4s ease-in-out infinite; }
.ou-toast.is-on, .ou-banner.is-on { transform-origin: 50% 50%; }
.ou-toast.is-on { animation: none; }

@media (prefers-reduced-motion: reduce) {
    .ou *, .ou *::before, .ou *::after { animation: none !important; transition: none !important; }
    .ou-ticket.is-aim { transform: none; }
}

/* ---------- the intro (owner 2026-11-24) ----------
   Played by 19-start.js once a visit: the wordmark out of the dark, then
   sunrise over the front, then the buttons. The dark is its own layer so it
   can lift while the wordmark stays. Never with reduced motion. */
.ou-intro { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ou-intro-night { position: absolute; inset: 0; background: linear-gradient(180deg, #102A33 0%, var(--teal-dark) 62%, #24505F 100%); }
.ou-wordmark.ou-intro-mark { position: relative; width: 236px; }
.ou-title-sky .sf-sun { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: reduce) { .ou-intro { display: none; } }
