/* The Cognitive Creamery — parlour styling.
   Also loaded inside the Long Road's shadow root (modes/slice/puzzle.js),
   which is why the tokens sit on :host as well as :root, and why nothing
   here may depend on site.css. */
:root,
:host {
  --cc-cream: #fdf4e3;
  --cc-cream-2: #f7e7cd;
  --cc-paper: #fffaf0;
  --cc-choc: #4b2e1d;
  --cc-choc-2: #6a4630;
  --cc-ink: #3a2a1c;
  --cc-soft: #6e5640;
  --cc-pink: #c9476a;
  --cc-pink-soft: #f2a0bb;
  --cc-mint: #1f7a5e;
  --cc-gold: #c98720;
  --cc-focus: #c98720;
  --cc-line: rgba(75, 46, 29, .18);
  --cc-shadow: 0 16px 40px -24px rgba(75, 46, 29, .55);
  --cc-red: #b42f37;
  --cc-black: #24242c;
  --cc-font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body {
  background:
    radial-gradient(circle at 10% 6%, rgba(226, 96, 126, .12), transparent 26rem),
    radial-gradient(circle at 90% 14%, rgba(47, 169, 140, .1), transparent 26rem),
    linear-gradient(180deg, var(--cc-cream), var(--cc-cream-2));
}

.spoon-suite {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(14px, 4vw, 32px) clamp(12px, 4vw, 28px) 48px;
}

/* ============ Hero: a chocolate storefront under a candy-striped awning ============ */
.suite-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 340px);
  gap: clamp(14px, 4vw, 32px);
  align-items: center;
  background: linear-gradient(170deg, var(--cc-choc-2), var(--cc-choc));
  border-radius: 22px;
  padding: clamp(28px, 5vw, 44px) clamp(16px, 4vw, 32px) clamp(18px, 4vw, 32px);
  color: #fff;
  box-shadow: var(--cc-shadow);
  overflow: hidden;
}
/* While a game is open the hero steps aside but keeps its <h1> for screen readers. */
.suite-hero.cc-tucked {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  box-shadow: none;
}
.suite-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 14px;
  background: repeating-linear-gradient(90deg, var(--cc-pink) 0 28px, #fff6ec 28px 56px);
}
.suite-kicker {
  margin: 0 0 8px;
  color: #ffd9a8;
  font: 800 .76rem/1 var(--cc-font);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.suite-hero h1 {
  margin: 0;
  font: 900 clamp(1.9rem, 6.4vw, 3.6rem)/.98 var(--cc-font);
  color: #fff;
}
.suite-hero p:not(.suite-kicker) {
  max-width: 600px;
  margin: 10px 0 0;
  color: rgba(255, 244, 226, .94);
  font-size: clamp(.98rem, 2.2vw, 1.12rem);
  line-height: 1.5;
}
.hero-poster {
  width: 100%;
  height: auto;
  justify-self: end;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  border: 4px solid rgba(255, 246, 236, .85);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
}

@media (max-width: 640px) {
  /* Phones: words first, a small window on the shop beside them, so the
     menu starts on the first screen. */
  .suite-hero {
    grid-template-columns: minmax(0, 1fr) 36%;
    align-items: start;
    padding-top: 26px;
  }
  .suite-hero p:not(.suite-kicker) { font-size: .95rem; }
  .hero-poster { border-width: 3px; border-radius: 12px; margin-top: 4px; }
}
@media (max-width: 359px) {
  .suite-hero { grid-template-columns: 1fr; }
  .hero-poster { display: none; }
}

/* ============ Shared bits ============ */
.cc-app { color: var(--cc-ink); font-family: var(--cc-font); }
.cc-app button { font-family: var(--cc-font); }
.cc-app [hidden] { display: none !important; }
.cc-app :focus-visible { outline: 3px solid var(--cc-focus); outline-offset: 2px; }

.cc-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============ Menu ============ */
.cc-menu { margin-top: 18px; }
.cc-shelf-head { margin: 0 2px 12px; }
.cc-shelf-head h2 {
  margin: 0 0 3px;
  font: 900 clamp(1.25rem, 5vw, 1.6rem)/1.1 var(--cc-font);
  color: var(--cc-ink);
}
.cc-shelf-head p { margin: 0; color: var(--cc-soft); font-size: .95rem; line-height: 1.4; }
.cc-daily-head { margin-top: 28px; }

.cc-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 158px), 1fr));
  gap: 12px;
}
@media (min-width: 720px) {
  .cc-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
.cc-tile {
  appearance: none;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 158px;
  padding: 14px 14px 12px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 18px;
  color: #fff;
  text-align: left;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0)),
    var(--c, #873f7f);
  box-shadow: var(--cc-shadow);
  cursor: pointer;
  overflow: hidden;
  transition: transform .15s ease;
}
.cc-tile::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -46px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  pointer-events: none;
}
.cc-tile:hover { transform: translateY(-3px); }
.cc-tile:focus-visible { outline: 3px solid var(--cc-choc); outline-offset: 3px; }
.cc-tile-emoji { font-size: 1.9rem; line-height: 1; }
.cc-tile-name { margin-top: 6px; font-weight: 900; font-size: 1.12rem; line-height: 1.15; }
.cc-tile-blurb { font-size: .86rem; line-height: 1.35; color: rgba(255, 255, 255, .94); }
.cc-tile-meta {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.cc-tile-energy,
.cc-tile-continue {
  font-size: .74rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 8px;
  line-height: 1;
}
.cc-tile-energy { background: rgba(0, 0, 0, .2); }
.cc-tile-continue { background: #fff7e8; color: var(--cc-choc); }

.cc-daily {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 8px;
}
.cc-daily-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--cc-paper);
  border: 1px solid var(--cc-line);
  border-left: 6px solid var(--c, var(--cc-choc));
  color: var(--cc-ink);
  text-decoration: none;
  box-shadow: 0 6px 16px -14px rgba(75, 46, 29, .6);
}
.cc-daily-row:hover { transform: translateY(-2px); transition: transform .15s ease; }
.cc-daily-emoji { font-size: 1.5rem; line-height: 1; flex: 0 0 auto; }
.cc-daily-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.cc-daily-text strong { font-size: 1rem; }
.cc-daily-text span { font-size: .84rem; color: var(--cc-soft); line-height: 1.3; }
.cc-chip {
  flex: 0 0 auto;
  font-size: .74rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--cc-cream-2);
  color: var(--cc-choc);
}
.cc-chip-done { background: var(--cc-mint); color: #fff; }
.cc-daily-more { margin: 12px 2px 0; font-size: .92rem; }
.cc-daily-more a { color: var(--cc-ink); font-weight: 700; }

/* ============ Play area ============ */
.cc-play {
  position: relative;
  margin-top: 16px;
  background: rgba(255, 250, 240, .97);
  border: 2px solid var(--c, var(--cc-line));
  border-radius: 20px;
  padding: 10px clamp(6px, 2.4vw, 22px) 0;
  box-shadow: var(--cc-shadow);
}
.cc-play-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 0 4px;
}
.cc-back,
.cc-sound,
.cc-tool,
.cc-sheet-cancel {
  appearance: none;
  border: 1px solid var(--cc-line);
  background: var(--cc-paper);
  color: var(--cc-ink);
  border-radius: 999px;
  min-height: 44px;
  padding: 10px 14px;
  font: 800 .92rem/1 var(--cc-font);
  cursor: pointer;
}
.cc-back { background: var(--cc-choc); color: #ffe9cf; border-color: var(--cc-choc); }
.cc-embedded .cc-play-top { grid-template-columns: minmax(0, 1fr) auto; }
.cc-embedded .cc-play-title { text-align: left; }
.cc-sound { min-width: 44px; padding: 8px; font-size: 1.15rem; }
.cc-play-title { min-width: 0; text-align: center; }
.cc-play-kicker {
  margin: 0 0 2px;
  color: var(--cc-soft);
  font: 800 .66rem/1 var(--cc-font);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.cc-play-title h2 {
  margin: 0;
  font: 900 clamp(1.15rem, 4.6vw, 1.7rem)/1.1 var(--cc-font);
  color: var(--cc-ink);
}
.cc-play-title h2:focus { outline: none; }
.cc-howto {
  margin: 8px auto 10px;
  max-width: 560px;
  text-align: center;
  color: var(--cc-soft);
  font-size: .93rem;
  line-height: 1.4;
}
.cc-howto:empty { display: none; }
.cc-stage { min-height: 300px; padding-bottom: 12px; }
.cc-oops { text-align: center; color: var(--cc-soft); padding: 40px 12px; }

/* Undo / Hint / New: docked to the bottom of the screen while you play. */
.cc-tools {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 calc(-1 * clamp(6px, 2.4vw, 22px));
  padding: 10px 10px max(10px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(255, 250, 240, .85), rgba(255, 250, 240, .98) 30%);
  border-top: 1px solid var(--cc-line);
  border-radius: 0 0 18px 18px;
}
.cc-tools:empty { display: none; }
.cc-tool {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 1 auto;
  min-width: 88px;
  justify-content: center;
}
.cc-tool.primary { background: var(--cc-choc); color: #ffe9cf; border-color: var(--cc-choc); }
.cc-tool:disabled { opacity: .45; cursor: default; }
.cc-tool-icon { font-size: 1.05rem; line-height: 1; }
@media (max-width: 360px) {
  .cc-tools { gap: 6px; padding-left: 6px; padding-right: 6px; }
  .cc-tool { min-width: 0; padding: 10px 11px; gap: 4px; }
}
.cc-back:hover,
.cc-sound:hover,
.cc-tool:not(:disabled):hover { transform: translateY(-1px); }

/* The round is over */
.cc-done {
  max-width: 520px;
  margin: 18px auto 8px;
  padding: 22px 18px;
  background: #fff;
  border: 1px solid var(--cc-line);
  border-radius: 18px;
  text-align: center;
}
.cc-done-kicker {
  margin: 0 0 6px;
  color: var(--cc-pink);
  font: 800 .74rem/1 var(--cc-font);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cc-done-title { margin: 0; font: 900 clamp(1.5rem, 6vw, 2.3rem)/1.05 var(--cc-font); color: var(--cc-ink); }
.cc-done-text { margin: 10px auto 0; color: var(--cc-soft); line-height: 1.45; }
.cc-done-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }
.cc-finished .cc-howto { display: none; }

/* One question, a few big answers */
.cc-sheet {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(45, 28, 16, .45);
}
.cc-sheet-card {
  width: min(100%, 400px);
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: var(--cc-paper);
  border-radius: 20px;
  padding: 20px 18px 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  text-align: center;
  color: var(--cc-ink);
  font-family: var(--cc-font);
}
.cc-sheet-card h3 { margin: 0 0 6px; font-size: 1.3rem; }
.cc-sheet-card > p { margin: 0 0 14px; color: var(--cc-soft); line-height: 1.4; }
.cc-sheet-choices { display: grid; gap: 8px; margin-bottom: 10px; }
.cc-choice {
  appearance: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  min-height: 52px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--cc-line);
  background: #fff;
  color: var(--cc-ink);
  cursor: pointer;
  font-family: var(--cc-font);
}
.cc-choice strong { font-size: 1rem; }
.cc-choice span { font-size: .84rem; color: var(--cc-soft); }
.cc-choice.primary { background: var(--cc-choc); border-color: var(--cc-choc); color: #ffe9cf; }
.cc-choice.primary span { color: #f3d9bb; }
.cc-sheet-cancel { width: 100%; }

/* Toast */
.cc-toast {
  position: fixed;
  left: 50%;
  bottom: calc(76px + env(safe-area-inset-bottom));
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  background: var(--cc-choc);
  color: #ffe9cf;
  border-radius: 999px;
  padding: 11px 16px;
  font: 800 .9rem/1.25 var(--cc-font);
  transition: opacity .2s ease, transform .2s ease;
  max-width: 92vw;
  width: max-content;
  text-align: center;
  z-index: 240;
}
.cc-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Cherry rain (page only) */
.cc-drop {
  position: fixed;
  top: -30px;
  font-size: 1.5rem;
  z-index: 9999;
  pointer-events: none;
  animation: ccDropFall 2.6s linear forwards;
}
@keyframes ccDropFall {
  to { transform: translateY(110vh) rotate(400deg); opacity: .9; }
}

/* Gentle "that doesn't fit" wobble, shared by every game */
.cc-nope { animation: ccNope .32s ease; }
@keyframes ccNope {
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
/* "Try this one" glow, shared by every game's Hint */
.cc-hint { animation: ccHint 1.1s ease-in-out 2; }
@keyframes ccHint {
  50% { box-shadow: 0 0 0 4px var(--cc-gold), 0 0 18px 4px rgba(201, 135, 32, .7); }
}

/* Footer sits on cream: keep it ink. */
footer {
  max-width: 900px;
  margin: 26px auto 0;
  padding: 0 clamp(16px, 4vw, 32px) 36px;
  text-align: center;
  color: var(--cc-soft);
  font-size: .85rem;
  line-height: 1.5;
}
footer a { color: var(--cc-ink); }

@media (prefers-reduced-motion: reduce) {
  .cc-app *,
  .cc-app *::before,
  .cc-app *::after {
    animation: none !important;
    transition: none !important;
  }
  .cc-drop { display: none !important; }
  .cc-hint { box-shadow: 0 0 0 4px var(--cc-gold) !important; }
}

/* ============ Card table: Island Solitaire, FreeCell, Sundae Golf ============
   --cw (the measured card width, set by js/cards.js) sizes every card's type,
   so the corner index stays readable from a 320px phone to a desktop. */
.cc-cards {
  --cw: 44px;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.cc-row,
.cc-tableau {
  display: grid;
  gap: 4px;
  align-items: start;
}
.cc-row { margin-bottom: 14px; }
.cc-row-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cc-row-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 3px; }
.cc-col { position: relative; min-height: calc(var(--cw) * 1.4); }

.cc-card,
.cc-slot {
  appearance: none;
  display: block;
  width: 100%;
  aspect-ratio: 5 / 7;
  margin: 0;
  padding: 0;
  border-radius: calc(var(--cw) * .13);
  cursor: pointer;
  font-family: var(--cc-font);
}
.cc-card {
  position: relative;
  background: #fff;
  border: 1.5px solid rgba(75, 46, 29, .34);
  box-shadow: 0 2px 5px rgba(75, 46, 29, .22);
  overflow: hidden;
}
.cc-col > .cc-card { position: absolute; left: 0; top: 0; }
.cc-card.red { color: var(--cc-red); }
.cc-card.black { color: var(--cc-black); }
.cc-card-ix {
  position: absolute;
  top: calc(var(--cw) * .05);
  left: calc(var(--cw) * .08);
  display: flex;
  align-items: baseline;
  gap: 1px;
  font-weight: 900;
  font-size: max(11px, calc(var(--cw) * .34));
  line-height: 1;
  letter-spacing: -.03em;
}
.cc-card-s { font-size: .92em; }
.cc-card-pip {
  position: absolute;
  right: calc(var(--cw) * .08);
  bottom: calc(var(--cw) * .05);
  font-size: calc(var(--cw) * .6);
  line-height: 1;
}
.cc-card.down {
  background: repeating-linear-gradient(135deg, var(--cc-pink-soft) 0 6px, #f8d9e4 6px 12px);
  border-color: #d98aa5;
  cursor: default;
}
.cc-card.sel {
  border-color: var(--cc-gold);
  box-shadow: 0 0 0 3px var(--cc-gold), 0 6px 14px rgba(75, 46, 29, .35);
  background: #fffbea;
}
.cc-slot {
  border: 2px dashed rgba(75, 46, 29, .3);
  background: rgba(75, 46, 29, .05);
  color: var(--cc-soft);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: calc(var(--cw) * .44);
  line-height: 1;
}
.cc-slot.red { color: rgba(180, 47, 55, .6); }
.cc-slot.black { color: rgba(36, 36, 44, .5); }
.cc-slot.cc-back-card {
  border: 1.5px solid #d98aa5;
  background: repeating-linear-gradient(135deg, var(--cc-pink-soft) 0 6px, #f8d9e4 6px 12px);
  font-size: calc(var(--cw) * .52);
  box-shadow: 0 2px 5px rgba(75, 46, 29, .22);
}
.cc-slot.cc-cleared { border-style: dotted; opacity: .5; cursor: default; }

/* Sundae Golf: the deck and the pile sit under the table, bigger. */
.cc-golf .cc-tableau { margin-bottom: 18px; }
.cc-card.cc-buried { cursor: default; }
.cc-golf-row {
  display: flex;
  justify-content: center;
  gap: 28px;
}
.cc-golf-spot {
  --cw-big: calc(var(--cw) * 1.5);
  width: var(--cw-big);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.cc-golf-spot > .cc-card,
.cc-golf-spot > .cc-slot { --cw: var(--cw-big); }
.cc-golf-label { font-size: .8rem; font-weight: 800; color: var(--cc-soft); }

/* ============ Scoop Sort ============ */
.cc-scoops {
  --s: clamp(36px, 11vw, 48px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 14px var(--gap, 8px);
  max-width: 540px;
  margin: 0 auto;
  padding-top: 14px;
}
.cc-scoops-8 { max-width: calc(4 * (var(--s) + 10px) + 3 * var(--gap, 8px) + 2px); }
.cc-cone {
  appearance: none;
  flex: 0 0 auto;
  width: calc(var(--s) + 10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 0 6px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.cc-cone.sel { transform: translateY(-10px); background: rgba(201, 135, 32, .14); }
.cc-cone.done { cursor: default; }
.cc-cone-cherry { height: calc(var(--s) * .5); font-size: calc(var(--s) * .45); line-height: calc(var(--s) * .55); }
.cc-cone-stack { display: flex; flex-direction: column-reverse; align-items: center; }
.cc-scoop {
  width: var(--s);
  height: calc(var(--s) * .86);
  margin-top: calc(var(--s) * -.14);
  display: grid;
  place-items: center;
  border-radius: 50% 50% 42% 42%;
  border: 1.5px solid rgba(75, 46, 29, .28);
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .6), transparent 42%),
    var(--f, #eee);
  box-shadow: inset 0 calc(var(--s) * -.08) 0 rgba(0, 0, 0, .12);
  font-size: calc(var(--s) * .42);
  line-height: 1;
  transition: transform .15s ease;
}
.cc-scoop:last-child { margin-top: 0; }
.cc-scoop.empty {
  background: transparent;
  border: 1.5px dashed rgba(75, 46, 29, .16);
  box-shadow: none;
}
.cc-scoop.lifted { transform: translateY(-5px); box-shadow: 0 0 0 3px var(--cc-gold); }
.cc-cone-base {
  width: calc(var(--s) * .92);
  height: calc(var(--s) * .95);
  margin-top: -2px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background:
    repeating-linear-gradient(45deg, transparent 0 5px, rgba(122, 74, 32, .5) 5px 7px),
    repeating-linear-gradient(-45deg, transparent 0 5px, rgba(122, 74, 32, .5) 5px 7px),
    #e0ad66;
}
.cc-cone-pop { animation: ccPop .45s ease; }
@keyframes ccPop { 50% { transform: scale(1.1); } }

/* ============ Sprinkle Pairs ============ */
.cc-pairs { position: relative; width: 100%; max-width: 440px; margin: 0 auto; }
.cc-pairs-inner { position: relative; height: 100%; margin: 0 auto; }
.cc-tile2 {
  appearance: none;
  position: absolute;
  width: var(--tw);
  height: calc(var(--tw) * 1.18);
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: calc(var(--tw) * .16);
  border: 1.5px solid rgba(75, 46, 29, .38);
  background: linear-gradient(180deg, #fffdf7, #f4e6cb);
  box-shadow: 3px 4px 0 #d6bb92, 3px 4px 0 1.5px rgba(75, 46, 29, .3);
  font-size: calc(var(--tw) * .56);
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.cc-tile2.up { box-shadow: 4px 5px 0 #c9a873, 4px 5px 0 1.5px rgba(75, 46, 29, .3), 0 10px 16px -6px rgba(75, 46, 29, .45); }
.cc-tile2.tucked { opacity: .55; filter: saturate(.35); cursor: default; }
.cc-tile2.sel {
  border-color: var(--cc-gold);
  background: linear-gradient(180deg, #fffaf0, #ffe9b8);
  box-shadow: 0 0 0 3px var(--cc-gold), 3px 4px 0 #d6bb92;
}

/* ============ Flavor Match ============ */
.cc-mem {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 380px);
  margin: 0 auto;
}
.cc-mem-20 { width: min(100%, 340px); }
.cc-dish {
  appearance: none;
  aspect-ratio: 1;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 2px solid #d98aa5;
  background: repeating-linear-gradient(135deg, var(--cc-pink-soft) 0 8px, #f8d9e4 8px 16px);
  box-shadow: 0 4px 0 rgba(75, 46, 29, .12);
  font-size: clamp(1.5rem, 7vw, 2.1rem);
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.cc-dish-face { pointer-events: none; }
.cc-dish.open { background: #fff; border-color: var(--cc-line); }
.cc-dish.miss { background: #fff7e2; border-color: #d9a43a; }
.cc-dish.matched { border-color: var(--cc-mint); box-shadow: 0 0 0 2px rgba(31, 122, 94, .35); cursor: default; }
.cc-mem-pop { animation: ccPop .4s ease; }
