/* Game cards (moved here from dashboard.css 2026-11-22, owner: the dashboard's Games cards and the
   lavishleaf.org/games/ page must always match). The dashboard and games/index.html both load this file;
   games/index.html is written by tools/games-page.mjs from the dashboard's own cards. */
/* ---- Games (2026-10-25, reworked 2026-10-27): the card is a block, and "Play now" is a real solid button.
   Its link stretches over the whole card so any click plays, and nothing underlines (the site's a:hover rule is
   beaten on purpose: the card text used to underline as if it were the link). */
.db-game { position: relative; display: block; color: inherit; border-top: 3px solid var(--leaf); transition: background .15s; }
.db-game:hover { background: #474747; }
.db-game .db-hint { margin-bottom: 12px; }
.db-game .db-play { display: inline-flex; align-items: center; gap: 8px; background: var(--leaf); color: var(--ink); font-weight: 800; font-size: .95rem; padding: 11px 22px; border-radius: 999px; text-decoration: none; box-shadow: 0 2px 0 var(--leaf-deep, #2C7722); transition: background .15s, transform .08s; }
.db-game .db-play::after { content: ''; position: absolute; inset: 0; border-radius: 12px; }
.db-game:hover .db-play, .db-game .db-play:hover, .db-game .db-play:focus-visible { background: #6FD65F; text-decoration: none; }
.db-game:active .db-play { transform: translateY(1px); }
.db-game .db-play:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
/* The Fairways card is dressed as the game (owner, 2026-11-04: "update the font styles and art to match our current game"). The game's own start-screen scene, its
   title face (Cinzel Decorative), its story face (IM Fell English), the deep-sea panel, and the brass frame and button. These faces are loaded for this card only;
   the rest of the site keeps Sriracha and Nunito Sans. */
/* Redrawn 2026-11-17 (owner): the scene fills the card (larger, sitting lower), the title alone at the top, the verse and button at the bottom over a
   dark fade so they stay readable. */
.db-game.fw-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 420px; padding: 0; overflow: hidden; max-width: 620px;
  border: 2px solid #d3a64c; border-radius: 14px; color: #efe3c2;
  background: linear-gradient(rgba(6, 15, 20, .82) 0%, rgba(6, 15, 20, 0) 24%, rgba(6, 15, 20, 0) 42%, rgba(6, 15, 20, .72) 64%, rgba(6, 15, 20, .94) 100%), url('/images/games/fairways-scene.svg') 50% 72% / cover no-repeat, #0b1b23;
  box-shadow: 0 0 0 4px rgba(6, 18, 24, .7), 0 10px 28px rgba(0, 0, 0, .45); }
.db-game.fw-card:hover { box-shadow: 0 0 0 4px rgba(6, 18, 24, .7), 0 0 0 7px rgba(211, 166, 76, .35), 0 10px 28px rgba(0, 0, 0, .45); }
.fw-card-body { padding: 18px 18px 20px; text-align: center; }
.db-card .fw-card-title { margin: 0; padding: 18px 18px 0; text-align: center; font: 900 2.1rem/1.15 'Cinzel Decorative', 'Cinzel', Georgia, serif;
  letter-spacing: .06em; color: #efe3c2; text-shadow: 0 2px 0 rgba(0, 0, 0, .5); }
.fw-card-verse { margin: 0 0 16px; font: italic 1.3rem/1.5 'IM Fell English', Georgia, serif; color: #f6d991; text-shadow: 0 1px 3px rgba(0, 0, 0, .9); }
.db-game.fw-card .db-play { background: linear-gradient(#e0b862, #c4953b); color: #2a1c05; font-family: 'Cinzel', Georgia, serif; font-weight: 700; letter-spacing: .06em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 2px 0 #7a5a1c, 0 4px 10px rgba(0, 0, 0, .4); }
.db-game.fw-card:hover .db-play, .db-game.fw-card .db-play:hover, .db-game.fw-card .db-play:focus-visible { background: linear-gradient(#ffe188, #f2c75c); }
.db-game.fw-card .db-play::after { border-radius: 14px; }
/* Molecules (2026-11-16): dressed as the printed cards, white type on their deep blue, their card-border blue as the frame. */
.db-game.sg-card { padding: 0; overflow: hidden; max-width: 620px; border: 2px solid #ffd34d; border-radius: 14px; color: #F2F4F2; background: radial-gradient(ellipse at 50% 0%, #17171f 0%, #0a0a0f 62%, #030304 100%); }
.db-game.sg-card:hover { background: radial-gradient(ellipse at 50% 0%, #22222c 0%, #101016 62%, #060608 100%); }
.sg-card-scene { line-height: 0; aspect-ratio: 1200 / 520; overflow: hidden; border-bottom: 2px solid rgba(255, 211, 77, .7); background: #030304; }
.sg-card-scene img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sg-card-body { padding: 14px 18px 18px; text-align: center; }
.db-card .sg-card-title { margin: 0 0 6px; font: 800 1.7rem/1.15 'Nunito Sans', sans-serif; color: #ffd34d; letter-spacing: .02em; }
.sg-card-line { margin: 0 0 10px; font-size: 1.05rem; line-height: 1.5; color: #F2F4F2; font-weight: 700; }
.sg-card-tags { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.sg-card-tags li { font-size: .8rem; font-weight: 700; color: #ffd34d; background: rgba(255, 211, 77, .08); border: 1px solid rgba(255, 211, 77, .35); border-radius: 999px; padding: 3px 10px; }
.db-game.sg-card .db-play::after { border-radius: 14px; }
/* Redrawn 2026-11-17 (owner): title at the top, no rule under a picture; the whole card is one ground of faint compound models
   (molecules-bg.webp) with three molecules built from the cards (molecules-band.webp) lower down, see through. */
.db-game.mo-card { padding: 0; overflow: hidden; max-width: 620px; border: 2px solid #1247ff; border-radius: 14px; color: #F2F4F2;
  background: linear-gradient(rgba(9, 13, 28, 0) 55%, rgba(9, 13, 28, .78) 100%), url('/images/games/molecules-bg.webp') center / cover, #0a0f22; }
.db-game.mo-card:hover { background: linear-gradient(rgba(9, 13, 28, 0) 55%, rgba(9, 13, 28, .7) 100%), url('/images/games/molecules-bg.webp') center / cover, #0b1126; box-shadow: 0 0 0 3px rgba(18, 71, 255, .35); }
.mo-card-head { padding: 18px 18px 0; text-align: center; }
.db-card .mo-card-title { margin: 0; font: 400 2.2rem/1.1 'Audiowide', 'Nunito Sans', sans-serif; color: #fff; text-shadow: 0 2px 0 #1247ff; letter-spacing: .02em; }
.mo-card-sub { display: block; margin-top: 4px; font-size: .5em; letter-spacing: .06em; color: #dfe6ff; text-shadow: 0 1px 0 #1247ff; }
.mo-card-band { position: relative; margin: 2px 6px 0; padding-bottom: 34px; line-height: 0; }
.mo-card-band img { width: 100%; height: auto; display: block; opacity: .82; }
.mo-mol { position: absolute; bottom: 0; transform: translateX(-50%); line-height: 1; text-align: center; white-space: nowrap; font: 400 1rem/1 'Audiowide', 'Nunito Sans', sans-serif; color: #fff; opacity: .9; }
.mo-mol sub { font-size: .65em; }
.mo-mol small { display: block; margin-top: 3px; font: 600 .7rem/1 'Nunito Sans', sans-serif; letter-spacing: .05em; color: #aebbe6; }
.mo-card-body { padding: 12px 18px 18px; text-align: center; }
.mo-card-line { margin: 0 0 14px; font-size: 1rem; line-height: 1.5; color: #dde3f2; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); }
.db-game.mo-card .db-play::after { border-radius: 14px; }
@media (max-width: 520px) { .db-game.fw-card { min-height: 340px; } .db-card .fw-card-title { font-size: 1.7rem; } .fw-card-verse { font-size: 1.12rem; } }
/* Thirteen Chairs (2026-11-17): the game's candle-lit hall, wine ground, parchment type, candle gold button. */
.db-game.tc-card { padding: 0; overflow: hidden; max-width: 620px; border: 2px solid #4a2c37; border-radius: 14px; color: #f3e9dc; background: radial-gradient(120% 90% at 50% 0%, #3a1c26 0%, #22131a 55%, #170d12 100%); }
.db-game.tc-card:hover { background: radial-gradient(120% 90% at 50% 0%, #462230 0%, #2a1720 55%, #1b0f15 100%); }
.tc-card-body { padding: 20px 18px 18px; text-align: center; }
.tc-card-icon { display: block; margin: 0 auto 8px; border-radius: 16px; box-shadow: 0 0 22px rgba(217, 164, 65, .35); }
.db-card .tc-card-title { margin: 0 0 6px; font: italic 400 1.7rem/1.15 'IM Fell English', Georgia, serif; color: #f0c468; text-shadow: 0 2px 0 rgba(0, 0, 0, .5); }
.tc-card-line { margin: 0 0 14px; font-size: 1rem; line-height: 1.5; color: #dccdb0; }
.db-game.tc-card .db-play { background: linear-gradient(#f0c468, #d9a441); color: #24140f; font-weight: 800; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 2px 0 #8e1f2f, 0 4px 10px rgba(0, 0, 0, .4); }
.db-game.tc-card:hover .db-play, .db-game.tc-card .db-play:hover, .db-game.tc-card .db-play:focus-visible { background: linear-gradient(#ffd98a, #ebb655); }
.db-game.tc-card .db-play::after { border-radius: 14px; }
