@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap');
/* take5games shared splash ("D · Sheet", chosen 2026-11-01). A bottom sheet over the game, drawn inside the
   game's own splash overlay; the overlay's original content is hidden but stays in the page and keeps working.
   See t5splash.js. */
.t5s-on > :not(.t5s-sheet) { display: none !important; }
.t5s-on { background: rgba(15, 23, 42, .45) !important; }
html.t5s-lock, html.t5s-lock body { overflow: hidden !important; }

.t5s-sheet { --bc: #334155; --ink: #0f172a; --ink-2: #475569; --muted: #94a3b8; --line: #e6e9ef;
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 2147483000;
  width: 100%; max-width: 440px; max-height: calc(100dvh - 8px); overflow-y: auto; overscroll-behavior: contain;
  box-sizing: border-box; padding-top: 8px; background: #fff; color: var(--ink); text-align: left;
  border-radius: 22px 22px 0 0; box-shadow: 0 -18px 50px -12px rgba(15, 23, 42, .45);
  font: 500 14px/1.35 Open Sans, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased;
  animation: t5sUp .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes t5sUp { from { transform: translate(-50%, 24px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .t5s-sheet { animation: none; } }
.t5s-sheet *, .t5s-sheet *::before, .t5s-sheet *::after { box-sizing: border-box; }
.t5s-sheet::before { content: ""; display: block; width: 40px; height: 5px; border-radius: 3px; background: #d6dae1; margin: 0 auto; }

/* Header: icon (the homepage icon), name, tagline, dateline; Home and Help on the right */
.t5s-head { position: relative; display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; align-items: center; padding: 10px 16px 0; }
.t5s-icon { position: relative; grid-row: span 3; align-self: start; width: 48px; height: 48px; border-radius: 5px; display: grid; place-items: center;
  background: var(--bc); color: #fff; font: 800 22px/1 Open Sans, system-ui, sans-serif; box-shadow: 0 6px 14px -8px rgba(15, 23, 42, .6); }
.t5s-icon.w { background: #fff; color: var(--bc); box-shadow: inset 0 0 0 1.5px var(--bc), 0 6px 14px -8px rgba(15, 23, 42, .4); }
.t5s-icon .t5s-sym { position: absolute; top: 5px; right: 6px; font-size: 8px; font-style: normal; opacity: .75; line-height: 1; }
.t5s-titles { padding-right: 100px; min-width: 0; }
.t5s-name { margin: 0; font: 800 18px/1.1 Open Sans, system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.t5s-tag { margin: 3px 0 0; font-size: 12.5px; color: var(--ink-2); }
.t5s-date { grid-column: 2; margin-top: 4px; font: 600 11.5px/1.2 Open Sans, system-ui, sans-serif; color: var(--muted); }
.t5s-tools { position: absolute; top: 2px; right: 10px; display: flex; gap: 6px; }
.t5s-tools a, .t5s-tools button { width: 44px; height: 44px; border-radius: 12px; border: 0; display: grid; place-items: center; cursor: pointer;
  background: #f3f4f6; color: var(--ink-2); font-size: 12.5px; text-decoration: none; padding: 0; }
.t5s-tools a:hover, .t5s-tools button:hover { background: #e5e7eb; color: var(--ink); }
.t5s-tools svg { width: 22px; height: 22px; fill: currentColor; }

.t5s-body { padding: 12px 16px 14px; }
/* One big button in the game colour; Done turns it into the day's result */
.t5s-play { width: 100%; border: 0; border-radius: 14px; padding: 13px 12px; cursor: pointer; color: #fff; background: color-mix(in srgb, var(--bc) 82%, #000);
  font: 800 14px/1 Open Sans, system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 5px;
  box-shadow: 0 10px 20px -12px color-mix(in srgb, var(--bc) 80%, #000); transition: transform .12s, filter .12s; }
.t5s-play:hover { filter: brightness(1.08); } .t5s-play:active { transform: translateY(1px); }
.t5s-play small { font: 600 11.5px/1.2 Open Sans, system-ui, sans-serif; letter-spacing: 0; text-transform: none; opacity: .85; }
.t5s-play.done { background: #f1f5f9; color: var(--ink); box-shadow: none; border: 1px solid var(--line); cursor: default; }
.t5s-play.done:hover { filter: none; }
.t5s-play:focus-visible, .t5s-sec button:focus-visible, .t5s-sheet summary:focus-visible, .t5s-tools a:focus-visible, .t5s-tools button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.t5s-sec { display: flex; gap: 8px; margin-top: 7px; }
.t5s-sec button { flex: 1; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 8px; cursor: pointer;
  font: 700 11.5px/1 Open Sans, system-ui, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.t5s-sec button i { color: color-mix(in srgb, var(--bc) 82%, #000); }
.t5s-extra { margin-top: 8px; padding: 7px 10px; border-radius: 10px; text-align: center; font-size: 12px; color: var(--ink-2);
  background: color-mix(in srgb, var(--bc) 7%, #fff); border: 1px solid color-mix(in srgb, var(--bc) 18%, #fff); }
.t5s-extra b { color: var(--ink); }
/* Medals with what each takes */
.t5s-medals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.t5s-medal { display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: 6px; padding: 7px 4px;
  border-radius: 10px; border: 1px solid var(--line); background: #fbfcfd; }
.t5s-medal .e { grid-row: span 2; font-size: 17px; line-height: 1; }
.t5s-medal .n { font: 800 17px/1 Open Sans, system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.t5s-medal .c { margin-top: 1px; font: 600 10.5px/1.2 Open Sans, system-ui, sans-serif; color: var(--muted); }
.t5s-medal.today { border-color: color-mix(in srgb, var(--bc) 50%, #fff); background: color-mix(in srgb, var(--bc) 8%, #fff); }
.t5s-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 14px; margin-top: 9px; font-size: 12px; color: var(--ink-2); }
.t5s-stats b { color: var(--ink); font-weight: 800; font-variant-numeric: tabular-nums; }
/* Two collapsible rows */
.t5s-sheet details { margin-top: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.t5s-sheet details + details { margin-top: 6px; }
.t5s-sheet summary { list-style: none; cursor: pointer; padding: 10px 12px; display: flex; align-items: center; gap: 9px;
  font: 800 11.5px/1 Open Sans, system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.t5s-sheet summary::-webkit-details-marker { display: none; }
.t5s-sheet summary .lead { width: 14px; height: 14px; flex: none; fill: color-mix(in srgb, var(--bc) 82%, #000); }
.t5s-sheet summary .chev { margin-left: auto; width: 12px; height: 12px; fill: var(--muted); transition: transform .15s; }
.t5s-sheet details[open] summary .chev { transform: rotate(180deg); }
.t5s-how { padding: 0 14px 12px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.t5s-how ul, .t5s-how ol { margin: 0; padding-left: 20px; }
.t5s-how p { margin: 0 0 6px; }
.t5s-how img { max-width: 100%; height: auto; }
.t5s-dailies { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 12px 12px; }
.t5s-dailies a { position: relative; width: 40px; height: 40px; border-radius: 5px; display: grid; place-items: center; text-decoration: none;
  background: var(--c); color: #fff; font: 800 16px/1 Open Sans, system-ui, sans-serif; }
.t5s-dailies a.w { background: #fff; color: var(--c); box-shadow: inset 0 0 0 1.5px var(--c); }
.t5s-dailies a.ok::after { content: "✓"; position: absolute; right: -5px; bottom: -5px; width: 16px; height: 16px; border-radius: 50%; background: #22c55e; color: #fff;
  font: 900 10px/16px Open Sans, system-ui, sans-serif; text-align: center; box-shadow: 0 0 0 2px #fff; }
.t5s-dailies .t5s-none { font-size: 12.5px; color: var(--ink-2); padding: 4px 2px; }

/* Wide screens: a centred card instead of a bottom sheet (nothing to slide over on a desktop) */
@media (min-width: 700px) and (min-height: 560px) {
  .t5s-sheet { top: 50%; bottom: auto; transform: translate(-50%, -50%); border-radius: 18px; padding-top: 6px; max-height: calc(100dvh - 40px);
    box-shadow: 0 30px 70px -20px rgba(15, 23, 42, .55), 0 2px 6px rgba(15, 23, 42, .12); animation-name: t5sIn; }
  .t5s-sheet::before { visibility: hidden; height: 4px; }
  .t5s-body { padding-bottom: 16px; }
}
@keyframes t5sIn { from { transform: translate(-50%, calc(-50% + 16px)); opacity: 0; } to { transform: translate(-50%, -50%); opacity: 1; } }

/* Home button: big enough everywhere (user, 2026-11-03: "Make the Home button larger across the website").
   Every game's own Home link (an icon link back to the homepage) is at least 44x44 with a 22px icon. */
a:is([href="https://take5games.com"], [href="https://take5games.com/"], [href="https://take5games.com/index.html"], [href="../index.html"], [href="/"], [aria-label="Home"]):has(svg, i, img, span) {
  min-width: 44px !important; min-height: 44px !important; max-width: none !important; max-height: none !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; box-sizing: border-box !important; flex-shrink: 0 !important; }
a:is([href="https://take5games.com"], [href="https://take5games.com/"], [href="https://take5games.com/index.html"], [href="../index.html"], [href="/"], [aria-label="Home"]) svg {
  width: 22px !important; height: 22px !important; }
a:is([href="https://take5games.com"], [href="https://take5games.com/"], [href="https://take5games.com/index.html"], [href="../index.html"], [href="/"], [aria-label="Home"]) > i {
  font-size: 21px !important; }
a:is([href="https://take5games.com"], [href="https://take5games.com/"], [href="https://take5games.com/index.html"], [href="../index.html"], [href="/"], [aria-label="Home"]) > span:only-child:not(:empty) {
  font-size: 22px !important; line-height: 1 !important; }

/* "Today's other dailies" as small homepage list tiles on the homepage's dark pane (2026-11-07, every game) */
.t5s-sheet .t5s-dailies.t5dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0 8px 10px; padding: 10px;
  background: #23272e; border-radius: 12px; }
.t5s-sheet .t5dl-h { grid-column: 1 / -1; margin: 2px 2px 0; font: 800 10.5px/1.3 "Open Sans", system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #cbd5e1; }
.t5s-sheet .t5dl-h ~ .t5dl-h { margin-top: 6px; }
.t5s-sheet .t5s-dailies.t5dl a.t5dl-row { position: relative; display: flex; align-items: center; gap: 7px; min-width: 0; width: auto; height: auto; min-height: 40px;
  padding: 4px 8px 4px 5px; background: #fff; border: 0; border-radius: 9px; text-decoration: none; color: #0f172a; font: inherit; box-sizing: border-box;
  box-shadow: none; transition: transform .12s, background .12s; }
.t5s-sheet .t5s-dailies.t5dl a.t5dl-row:hover { background: #f8fafc; }
.t5s-sheet .t5s-dailies.t5dl a.t5dl-row:active { transform: scale(.97); }
.t5s-sheet .t5s-dailies.t5dl a.t5dl-row::after { content: none; }
.t5s-sheet .t5dl-chip { position: relative; flex: none; width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center;
  background: var(--c); color: #fff; font: 800 13px/1 "Open Sans", system-ui, sans-serif; }
.t5s-sheet .t5dl-chip.w { background: #fff; color: var(--c); box-shadow: inset 0 0 0 1.5px var(--c); }
.t5s-sheet .t5dl-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.t5s-sheet .t5dl-txt b { font: 800 11px/1.15 "Open Sans", system-ui, sans-serif; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t5s-sheet .t5dl-txt small { font: 500 10.5px/1.2 "Open Sans", system-ui, sans-serif; color: #475569; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.t5s-sheet .t5s-dailies.t5dl a.t5dl-row.ok { background: #3a3f48; }
.t5s-sheet .t5dl-row.ok .t5dl-txt b { color: #e2e8f0; }
.t5s-sheet .t5dl-row.ok .t5dl-txt small { color: #94a3b8; }
.t5s-sheet .t5dl-row.ok .t5dl-chip { opacity: .75; }
.t5s-sheet .t5dl-row.ok .t5dl-chip::after { content: "✓"; position: absolute; right: -5px; bottom: -5px; width: 14px; height: 14px; border-radius: 50%;
  background: #22c55e; color: #fff; font: 800 9px/14px "Open Sans", sans-serif; text-align: center; box-shadow: 0 0 0 2px #3a3f48; }
.t5s-sheet .t5dl-count { margin-left: auto; margin-right: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: none; color: #475569;
  background: #f1f5f9; border-radius: 99px; padding: 2px 8px; }
.t5s-sheet .t5dl-count + .chev { margin-left: 0; }

/* Favourite star on the icon's bottom-right corner (2026-11-07). 44px tap area; only the name text is under it. */
.t5s-sheet .t5s-fav { position: absolute; left: 46px; top: 43px; z-index: 2; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; background: #fff; color: #64748b; font: 400 19px/1 "Open Sans", system-ui, sans-serif;
  box-shadow: 0 0 0 1px #d6dbe3, 0 2px 6px rgba(15, 23, 42, .18); -webkit-tap-highlight-color: transparent; transition: transform .12s; }
.t5s-sheet .t5s-fav::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; }
.t5s-sheet .t5s-fav:hover { color: #0f172a; }
.t5s-sheet .t5s-fav:active { transform: scale(.88); }
.t5s-sheet .t5s-fav.on { color: #f5b301; -webkit-text-stroke: .8px #b7791f; background: #fff6d6; box-shadow: 0 0 0 1px #f0cf6e, 0 2px 6px rgba(15, 23, 42, .18); }
.t5s-sheet .t5s-fav.pop { animation: t5sFavPop .35s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes t5sFavPop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }
.t5s-sheet .t5s-favmsg { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); z-index: 3; white-space: nowrap; pointer-events: none;
  background: #0f172a; color: #fff; font: 700 12.5px/1 "Open Sans", system-ui, sans-serif; padding: 8px 12px; border-radius: 99px; animation: t5sFavMsg 1.8s both; }
@keyframes t5sFavMsg { 0% { opacity: 0; transform: translate(-50%, -6px); } 12%, 82% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .t5s-sheet .t5s-fav.pop, .t5s-sheet .t5s-favmsg { animation: none; } }

/* "PLAY ANOTHER?" under a finished daily: a quiet dark pill to the game's unlimited version (v9) */
.t5s-more { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px;
  background: #0f172a; color: #fff; text-decoration: none; font: 800 12.5px/1 Open Sans, system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase;
  box-shadow: 0 8px 18px -12px rgba(15,23,42,.8); transition: transform .15s ease, box-shadow .15s ease; }
.t5s-more .inf { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bc); color: #fff; font: 700 17px/1 system-ui, sans-serif;
  letter-spacing: 0; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); }
.t5s-more .ar { font-size: 18px; letter-spacing: 0; opacity: .6; transition: transform .15s ease, opacity .15s ease; }
.t5s-more:hover { transform: translateY(-1px); box-shadow: 0 12px 22px -12px rgba(15,23,42,.9); }
.t5s-more:hover .ar { transform: translateX(3px); opacity: 1; }
.t5s-more:active { transform: translateY(1px); }
.t5s-more:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .t5s-more, .t5s-more .ar { transition: none; } }

/* ----- night mode (v11, user 2026-11-07): the sheet itself; each game's own night sheet is /shared/night/<game>.css ----- */
.t5s-tools:has(> :nth-child(3)) a, .t5s-tools:has(> :nth-child(3)) button { width: 40px; height: 40px; }
.t5s-head:has(.t5s-tools > :nth-child(3)) .t5s-titles { padding-right: 136px; }
.t5s-tools [data-act="night"] svg { width: 20px; height: 20px; }
html.t5-night .t5s-on { background: rgba(0, 0, 0, .62) !important; }
html.t5-night .t5s-sheet { --ink: #e8eaef; --ink-2: #aab2c0; --muted: #7d8696; --line: #2b313b; background: #171a20; color: var(--ink); box-shadow: 0 -18px 50px -12px rgba(0, 0, 0, .8); color-scheme: dark; }
html.t5-night .t5s-sheet::before { background: #3a404b; }
html.t5-night .t5s-tools a, html.t5-night .t5s-tools button { background: #232832; color: #cfd5df; }
html.t5-night .t5s-tools a:hover, html.t5-night .t5s-tools button:hover { background: #2e3440; color: #fff; }
html.t5-night .t5s-tools [data-act="night"] { color: #ffd54a; }
html.t5-night .t5s-icon { box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .9); }
html.t5-night .t5s-icon.w { background: #eef0f3; }   /* light tile keeps a dark-coloured glyph readable */
html.t5-night .t5s-fav { background: #232832; color: #e8eaef; border-color: #3a404b; }
html.t5-night .t5s-play.done { background: #232832; color: #e8eaef; border-color: #2e3440; }
html.t5-night .t5s-sec button, html.t5-night .t5s-medal, html.t5-night .t5s-sheet details { background: #1d2128; border-color: #2b313b; color: var(--ink); }
html.t5-night .t5s-sheet summary { color: var(--ink); }
html.t5-night .t5s-sheet .t5dl-count { background: #2b313b; color: #cbd5e1; }
html.t5-night .t5s-sheet .t5dl { background: #0f1115; }
html.t5-night .t5s-more { background: #f2f4f7; color: #0f172a; }
html.t5-night .t5s-favmsg { background: #f2f4f7; color: #0f172a; }
html.t5-night .t5s-play:focus-visible, html.t5-night .t5s-tools a:focus-visible, html.t5-night .t5s-tools button:focus-visible, html.t5-night .t5s-sheet summary:focus-visible { outline-color: #e8eaef; }
html.t5-night .t5s-extra { background: #1d2128; border-color: #2b313b; color: var(--ink-2); }
html.t5-night .t5s-sheet .t5s-dailies.t5dl a.t5dl-row { background: #232832; color: var(--ink); box-shadow: none; }
html.t5-night .t5s-sheet .t5s-dailies.t5dl a.t5dl-row:hover { background: #2b313b; }
html.t5-night .t5s-sheet .t5dl-txt b { color: #e8eaef; }
html.t5-night .t5s-sheet .t5dl-txt small { color: #9aa3b2; }
html.t5-night .t5s-sheet .t5s-dailies.t5dl a.t5dl-row.ok { background: #181b21; }
html.t5-night .t5s-sheet .t5dl-row.ok .t5dl-txt b { color: #aab2c0; }
html.t5-night .t5s-sheet .t5dl-chip.w { background: #eef0f3; }
html.t5-night .t5s-sheet .t5dl-h { color: #9aa3b2; }
/* near-black brand colours (Ninja, Crossy, False Flag…) still show their edge on the night sheet */
html.t5-night .t5s-play:not(.done), html.t5-night .t5s-icon:not(.w) { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 6px 14px -8px rgba(0, 0, 0, .9); }
/* dark brand colours on the night sheet: a light play button, light icon accents */
html.t5-night .t5s-sheet.t5s-darkbc .t5s-play:not(.done) { background: #e8eaef; color: #0f172a; }
html.t5-night .t5s-sheet.t5s-darkbc .t5s-sec button i, html.t5-night .t5s-sheet.t5s-darkbc summary svg { color: #cfd5df; fill: #cfd5df; }
html.t5-night .t5s-sheet.t5s-darkbc .t5s-more .inf { background: #e8eaef; color: #0f172a; }
