/* Outmark suite chrome: today's dailies, the game switcher and "next up" prompts.
   Pages can theme it with --suite-* variables (Matricks sets a dark set). */
:root {
  --suite-ink: #202024; --suite-muted: #68645f; --suite-line: #ddd6c9; --suite-paper: #fffdf7;
  --suite-active: #202024; --suite-active-ink: #fff; --suite-dot: #ef6455; --suite-purple: #613ef0;
}

/* Game switcher: the same row under the header on every game. */
.suite-switcher { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.suite-switcher::-webkit-scrollbar { display: none; }
.suite-switch { position: relative; display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; min-height: 44px; padding: 5px 14px 5px 5px; border: 1px solid var(--suite-line); border-radius: 999px; background: var(--suite-paper); color: var(--suite-ink); font: 800 14px/1 Arial, Helvetica, sans-serif; text-decoration: none; transition: border-color .15s, transform .1s; }
.suite-switch:hover { border-color: var(--suite-ink); }
.suite-switch:active { transform: translateY(1px); }
.suite-switch[aria-current="page"] { border-color: var(--suite-active); background: var(--suite-active); color: var(--suite-active-ink); }
.suite-switch-art { display: block; width: 32px; height: 32px; flex: 0 0 32px; }
.suite-switch-art svg { display: block; width: 100%; height: 100%; }
.suite-dot { position: absolute; top: 4px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--suite-dot); box-shadow: 0 0 0 2px var(--suite-paper); }
.suite-switch[aria-current="page"] .suite-dot { box-shadow: 0 0 0 2px var(--suite-active); }

/* Today on Outmark: three daily tiles in each game's own look. */
.suite-today { margin: 4px 0 30px; }
.suite-today-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.suite-today-head h2 { margin: 0; font-size: 22px; letter-spacing: -.03em; color: var(--suite-ink); }
.suite-today-head p { margin: 4px 0 0; color: var(--suite-muted); font-size: 14px; }
.suite-today-count { flex: 0 0 auto; padding: 7px 12px; border-radius: 999px; background: #ebe5ff; color: var(--suite-purple); font: 800 13px Arial, sans-serif; }
.suite-today-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.suite-tile { position: relative; display: grid; align-content: start; gap: 4px; min-height: 236px; padding: 16px; border: 1px solid var(--suite-line); border-radius: 20px; background: var(--suite-paper); color: var(--suite-ink); text-decoration: none; box-shadow: 0 4px 0 #e8e1d4; transition: transform .15s, box-shadow .15s; overflow: hidden; }
.suite-tile:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #e2d9c9; }
.suite-tile-art { display: block; width: 64px; height: 64px; margin-bottom: 8px; }
.suite-tile-art svg { width: 100%; height: 100%; }
.suite-tile-kicker { font: 800 11px Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--suite-purple); }
.suite-tile strong { font-size: 22px; letter-spacing: -.03em; }
.suite-tile small { color: var(--suite-muted); font-size: 14px; line-height: 1.3; }
.suite-tile-meta { margin-top: 6px; color: var(--suite-muted); font: 700 12px Arial, sans-serif; }
.suite-tile-status { justify-self: start; margin-top: 4px; padding: 4px 9px; border-radius: 999px; background: rgba(0, 0, 0, .05); font: 800 12px Arial, sans-serif; }
.suite-tile.done .suite-tile-status { background: #e3f6e9; color: #1f7a45; }
.suite-tile-cta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; font: 900 15px Arial, sans-serif; }
.suite-tile-cta b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--suite-purple); color: #fff; }
/* Each game keeps its own identity, whatever page shows it. */
.suite-tile[data-game="fives"] { background: #fffdf7; border-color: #ddd6c9; color: #202024; }
.suite-tile[data-game="fives"] small, .suite-tile[data-game="fives"] .suite-tile-meta { color: #68645f; }
.suite-tile[data-game="drift"] { background: linear-gradient(160deg, #e7f4f1 0%, #fffdf7 60%); border-color: #cfe3df; box-shadow: 0 4px 0 #d6e7e3; color: #202024; }
.suite-tile[data-game="drift"] small, .suite-tile[data-game="drift"] .suite-tile-meta { color: #4f6460; }
.suite-tile[data-game="drift"] .suite-tile-kicker { color: #13856b; }
.suite-tile[data-game="drift"] .suite-tile-cta b { background: #13856b; }
.suite-tile[data-game="matricks"] { background: radial-gradient(260px 160px at 20% 0%, #2a2470, transparent 70%), #121026; border-color: #3a3478; color: #f3f0ff; box-shadow: 0 4px 0 #0b0a18; }
.suite-tile[data-game="matricks"] small, .suite-tile[data-game="matricks"] .suite-tile-meta { color: #a7a2c9; }
.suite-tile[data-game="matricks"] .suite-tile-kicker { color: #6fe3ff; font-family: ui-monospace, Menlo, Consolas, monospace; }
.suite-tile[data-game="matricks"] .suite-tile-status { background: rgba(255, 255, 255, .08); }
.suite-tile[data-game="matricks"].done .suite-tile-status { background: rgba(198, 244, 90, .16); color: #c6f45a; }
.suite-tile[data-game="matricks"] .suite-tile-cta b { background: #c6f45a; color: #121026; }
@media (max-width: 760px) {
  .suite-today-row { display: flex; gap: 10px; margin: 0; padding: 0 0 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .suite-today-row::-webkit-scrollbar { display: none; }
  .suite-tile { flex: 0 0 72%; min-height: 220px; scroll-snap-align: start; }
}

/* Next up, shown on every result screen. */
.suite-next { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 12px; padding: 10px 12px; border: 1px solid var(--suite-line); border-radius: 16px; background: var(--suite-paper); color: var(--suite-ink); text-align: left; text-decoration: none; }
.suite-next:hover { border-color: var(--suite-ink); }
.suite-next-art { flex: 0 0 44px; width: 44px; height: 44px; }
.suite-next-art svg { width: 100%; height: 100%; }
.suite-next-copy { display: grid; gap: 1px; min-width: 0; }
.suite-next-copy small { color: var(--suite-purple); font: 800 11px Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.suite-next-copy strong { font-size: 16px; }
.suite-next-copy span { overflow: hidden; color: var(--suite-muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.suite-next > b { margin-left: auto; font-size: 20px; color: var(--suite-purple); }
.suite-next[data-game="matricks"] { background: #121026; border-color: #3a3478; color: #f3f0ff; }
.suite-next[data-game="matricks"] .suite-next-copy small { color: #6fe3ff; }
.suite-next[data-game="matricks"] .suite-next-copy span { color: #a7a2c9; }
.suite-next[data-game="matricks"] > b { color: #c6f45a; }

/* Game pages: the switcher row sits under the header at page width. */
.suite-switcher-row.game { width: min(100% - 32px, 1060px); margin: 6px auto 4px; }
.suite-today + * { margin-top: 0; }
/* Fives: the switcher sits under the brand bar on the home screen only. */
.suite-switcher-row { margin: -14px 0 22px; }
body:has(#home.hide) .suite-switcher-row { display: none; }
.result-next-up { width: 100%; }
.suite-switcher-row { min-width: 0; max-width: 100%; overflow: hidden; }
.suite-switcher { max-width: 100%; }
@media (max-width: 360px) {
  .suite-switch { gap: 6px; padding-right: 10px; font-size: 13px; }
  .suite-switch-art { width: 26px; height: 26px; flex-basis: 26px; }
}
.suite-today { min-width: 0; max-width: 100%; }

.suite-tile-cta .om-icon, .suite-next > b .om-icon { width: 16px; height: 16px; stroke-width: 2.6; }
.suite-tile-status .om-icon { width: 12px; height: 12px; stroke-width: 3; vertical-align: -1px; }
