/* .site-cheatcode: video game deals. Modern and minimal, no warm tones, a look of its own
   (founder, Nov 9). The one bold thing is each price shown as a score chip with notched pixel corners; the pixel
   font appears only in the name. Plain outlined cards, one electric violet. Loads after site.css. */
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 400 800; font-display: swap;
             src: url("fonts/Rubik-normal.b65daadded74.woff2") format("woff2"); }
@font-face { font-family: "Silkscreen"; font-style: normal; font-weight: 400; font-display: swap;
             src: url("fonts/Silkscreen-normal.5eef6cee3f3d.woff2") format("woff2"); }
:root {
  --ink: #17142b; --muted: #5d5873; --paper: #f3f2f8; --surface: #ffffff; --band: #e9e6f7; --line: #17142b;
  --wood: #6236ff; --honey: #4d1fe0; --wood-text: #4d1fe0; --grain: none; --deal-red: #d6164f;
  --radius: 4px; --shadow: none;
  --serif: "Rubik", system-ui, sans-serif; --sans: "Rubik", system-ui, sans-serif; --pixel: "Silkscreen", ui-monospace, monospace;
  /* corners cut in 4px steps, like a sprite's */
  --notch: polygon(0 4px, 4px 4px, 4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px),
                   calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px));
}
a { text-decoration-color: rgba(98, 54, 255, .5); }
a:hover { color: var(--wood); }
h1, h2, h3 { font-weight: 700; letter-spacing: -.03em; }
h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); margin: .8rem 0 1.4rem; }
.site-header { background: rgba(243, 242, 248, .92); border-bottom: 2px solid var(--ink); }
.site-header::after, .site-footer::before { display: none; }
.brand { font: 400 1.25rem/1 var(--pixel); letter-spacing: .02em; gap: .55em; }
/* The logo (founder's pick, Nov 9): a pixel coin with a stepped price cut through it */
.brand img { width: auto; height: 1.05em; }
.site-footer { background: var(--paper); border-top: 2px solid var(--ink); }
.footer-button { border: 2px solid var(--ink); border-radius: var(--radius); }

.deal-tabs { gap: .5rem; margin-top: 1.6rem; }
.deal-tabs a { padding: .3rem .85rem; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--surface);
               color: var(--ink); font-size: .9rem; font-weight: 500; }
.deal-tabs a:hover { background: var(--band); }
.deal-tabs a[aria-current="page"] { background: var(--ink); color: #fff; font-weight: 600; }

.deal-list { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(18rem, 100%), 1fr)); }
.deal-card { display: flex; flex-direction: column; margin: 0; padding: 1.1rem 1.2rem 1.15rem; border: 2px solid var(--ink);
             border-radius: var(--radius); }
.deal-card:hover { border-color: var(--wood); }
/* The price chip, then right under it the product's name, large and bold, then when and where we found it (founder,
   Nov 9: it must be easy to see which product a price is for). The price's paragraph lets its parts join the card's
   order. */
.deal-card > p:first-of-type { display: contents; color: var(--muted); font-size: .8rem; }
.deal-card .amount { order: -2; }
.deal-card h2 { order: -1; font-size: 1.32rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.22; margin: .1rem 0 .35rem; }
.deal-card h2 a { text-decoration: none; }
.deal-card > p:last-of-type:not(:first-of-type) { color: var(--muted); font-size: .9rem; }
/* The game's picture first, inside the outline, whole on white (Nov 10). */
.deal-card > .deal-picture { order: -3; width: 100%; aspect-ratio: 4 / 3; margin: 0 0 .9rem; }

/* The score chip. Its digits are heavy Rubik, not the pixel font, which was too slow to read (founder, Nov 9: prices
   must scan fast); the notched corners keep the game feel. */
.amount { display: inline-block; padding: .4rem .7rem .38rem; background: var(--wood); color: #fff; font: 800 1.6rem/1 var(--sans);
          font-variant-numeric: tabular-nums; letter-spacing: -.01em; clip-path: var(--notch); }
.deal-card .amount { display: block; width: fit-content; margin-bottom: .55rem; }

.deal h1 { max-width: 24ch; }
.verdict { max-width: 42rem; padding: 1.5rem 1.6rem; border: 2px solid var(--ink); }
.deal > .deal-picture { border-width: 2px; }
.verdict .price { color: var(--muted); }
.verdict .amount { font-size: 1.9rem; margin-right: .4rem; vertical-align: -.1em; }
.go-to-store { margin-top: .6rem; padding: .75rem 1.4rem; border-radius: 0; background: var(--wood); clip-path: var(--notch); }
.go-to-store:hover { background: var(--honey); }
/* the notch would clip a keyboard focus ring, so a focused button drops it */
.go-to-store:focus-visible { clip-path: none; outline: 3px solid var(--ink); outline-offset: 2px; }
button { border: 2px solid var(--ink); border-radius: var(--radius); background: var(--wood); color: #fff; }
button:hover { background: var(--honey); }
.feedback button { background: var(--surface); color: var(--ink); }
.feedback button:hover { background: var(--band); border-color: var(--ink); color: var(--ink); }
input, select, textarea { border: 2px solid var(--ink); border-radius: var(--radius); }

/* Free game Thursday: the week's free game leads the page, large, on a violet-tinted panel (founder, Nov 16). */
.free-game { max-width: 45rem; margin: 0 0 2rem; padding: 1.4rem 1.5rem 1.5rem; background: var(--band); border: 2px solid var(--wood); }
.free-game-picture { display: block; width: 100%; height: auto; max-height: 26rem; object-fit: contain; margin: 0 0 1.1rem; }
.free-game-line { margin: 0 0 .4rem; font-size: clamp(1.4rem, 3.2vw, 1.95rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.2; }
