/* The Twilight Cabin, TheCouch.Party's own look (docs/shelf_design.md): a deep blue-grey dusk outside, cedar and
   candlelight inside; rounded cards, big obvious buttons. Single-theme dark on purpose.
   One copy for the site's pages (RedundAnt's site pass, Zach 2026-11-07: the colours were declared 8 times in 3 naming
   schemes): the colours, the fonts, the bar across the top, the logo and the name, the buttons and the key chip. Each
   page keeps only its own layout. Couch Couture dresses these same colours (couture/couture.css: the one colour map).
   CouchPad's pad.html can't load this file (a home's phone hub serves it too): it keeps the same values itself. */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Nunito:wght@500;600;700;800&display=swap');

:root {
  /* the walls and the cards */
  --wall: #1F2830; --wall2: #25303A; --card: #2A3540; --edge: #3A4754; --off: #333F4A; --dark: #12181D;
  /* the words: ink, and soft for the quieter ones */
  --ink: #E9E4DA; --soft: #A9AFAF;
  /* Play (the main buttons; teal for links) */
  --play: #86AFA2; --play-hi: #9BC0B4; --play-ink: #14211D; --play-low: #5A7F73; --teal: #86AFA2;
  /* sage: ticks, what fits, the couch lobby's buttons (the shelf's green on every page: Zach 2026-11-07) */
  --sage: #9CC08A; --sage-low: #698B62;
  /* cedar (second choices, the tags) and the lamp (candlelight: keys, the code, what's picked) */
  --cedar: #4A3A2C; --cedar-hi: #594634; --cedar-low: #33281E; --cedar-line: #7A5E44; --tag: #F0CF9F;
  --lamp: #E2B26E; --lamp-hi: #EBC288; --lamp-low: #A8844F;
  --plum: #A08AAE; --brick: #B5655A; --brick-bg: #3E2A2A; --brick-ink: #F2B8A8;
  --gut: max(16px, 4vw); --round: 22px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--wall); color: var(--ink); font-family: Nunito, system-ui, sans-serif; }
h1, h2, h3 { font-family: Fredoka, Nunito, sans-serif; margin: 0; font-weight: 700; }
[hidden] { display: none !important; }

/* ---- the bar across the top (the shelf, Play on any TV): it stays as the page scrolls, the page frosted under it */
.bar { position: sticky; top: 0; z-index: 20; background: #1F2830f0; backdrop-filter: blur(8px); border-bottom: 2px solid var(--edge); }
.grow { flex: 1; }
/* the logo and the name (home) */
.word { display: inline-flex; align-items: center; gap: 10px; font-family: Fredoka, sans-serif; font-size: 26px; font-weight: 700; color: var(--ink);
        text-decoration: none; white-space: nowrap; }
.word i { font-style: normal; color: var(--lamp); }
.logo { display: block; width: 38px; height: 38px; flex: none; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='6' y='22' width='52' height='26' rx='10' fill='%2386AFA2'/%3E%3Crect x='12' y='14' width='40' height='20' rx='8' fill='%23A9C9BE'/%3E%3Crect x='2' y='30' width='12' height='20' rx='6' fill='%235A7F73'/%3E%3Crect x='50' y='30' width='12' height='20' rx='6' fill='%235A7F73'/%3E%3Crect x='14' y='36' width='36' height='10' rx='4' fill='%23E2B26E'/%3E%3Crect x='10' y='48' width='5' height='8' rx='2' fill='%23B08560'/%3E%3Crect x='49' y='48' width='5' height='8' rx='2' fill='%23B08560'/%3E%3C/svg%3E"); }
@media (max-width: 720px) {
  .word { font-size: 21px; gap: 7px; }
  .logo { width: 30px; height: 30px; }
}

/* ---- buttons: big pills. Play (sage-teal) is the main one, cedar the second, quiet an outline, off greyed */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px;
       font-family: Fredoka, sans-serif; font-weight: 600; font-size: 21px; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap;
       transition: transform .12s ease, background .12s ease; }
.btn:active { transform: scale(.97); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn.play { background: var(--play); color: var(--play-ink); box-shadow: 0 4px 0 var(--play-low); }
.btn.play:hover { background: var(--play-hi); }
.btn.more, .btn.mirror { background: var(--cedar); color: var(--tag); box-shadow: inset 0 0 0 2px var(--cedar-line), 0 4px 0 var(--cedar-low); }
.btn.more:hover, .btn.mirror:hover { background: var(--cedar-hi); box-shadow: inset 0 0 0 2px var(--lamp), 0 4px 0 var(--cedar-low); }
.btn.quiet { background: var(--card); color: var(--ink); border: 2px solid var(--edge); }
.btn.quiet:hover { border-color: var(--ink); }
.btn.off { background: var(--off); color: var(--soft); cursor: default; box-shadow: none; white-space: normal; text-align: center; }
.btn.small { min-height: 46px; font-size: 19px; padding: 0 22px; }

/* ---- a key to press: the letter chip's look, as every "press this" label on the site (Zach 2026-10-22); on a button
   it takes the button's own ink */
kbd { display: inline-block; padding: 0 6px; border-radius: .4em; background: transparent; border: 2px solid var(--lamp); color: var(--lamp);
      font-family: Fredoka, Nunito, sans-serif; font-weight: 600; font-size: .95em; white-space: nowrap; }
button kbd, .btn kbd { color: inherit; border-color: currentColor; }
