/* OUTMARK: a play surface, an invitation, and a ladder. Game CSS remains in index.html. */
:root {
  --outmark-cream: #f6f2e9;
  --outmark-paper: #fffdf7;
  --outmark-ink: #202024;
  --outmark-muted: #68645f;
  --outmark-line: #ddd6c9;
  --outmark-purple: #613ef0;
  --outmark-coral: #ef6455;
}
body { background: var(--outmark-cream); color: var(--outmark-ink); }
body::before, body::after { display: none; }
.shell:has(#home:not(.hide)) { width: min(100% - 40px, 960px) !important; padding: 24px 0 30px !important; }
body:has(#home:not(.hide)) .brandbar{ display: flex !important; align-items: center !important; gap: 12px !important; margin: 0 0 28px !important; }
body:has(#home:not(.hide)) .wordmark{ min-width: 0 !important; flex: 0 1 auto !important; gap: 0 !important; }
body:has(#home:not(.hide)) .logo{
  display: flex; align-items: center; gap: 10px; color: var(--outmark-ink) !important;
  margin: 0 !important; font-size: 35px !important; line-height: 1 !important;
  letter-spacing: -.055em !important; font-weight: 950 !important; cursor: pointer;
}
.outmark-mark { position: relative; width: 39px; height: 36px; flex: 0 0 39px; }
.outmark-mark i { position: absolute; z-index: 1; left: 0; top: -8px; color: var(--outmark-purple); font: 1000 49px/1 Arial, sans-serif; transform: rotate(-8deg); }
.outmark-mark b { position: absolute; top: 13px; left: 18px; width: 22px; height: 22px; border: 6px solid var(--outmark-coral); border-radius: 50%; }
body:has(#home:not(.hide)) .tag{ display: none !important; }
body:has(#home:not(.hide)) .brand-actions{ display: flex !important; align-items: center !important; flex: 0 0 auto !important; gap: 4px !important; margin-left: auto; padding: 0 !important; max-width: none !important; width: auto !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
body:has(#home:not(.hide)) .brand-actions .profile-chip{ display: flex !important; align-items: center !important; flex: 0 1 auto !important; width: auto !important; max-width: 200px !important; height: 44px !important; min-height: 44px !important; padding: 4px 10px 4px 4px !important; border: 1px solid var(--outmark-line) !important; border-radius: 99px !important; background: var(--outmark-paper) !important; gap: 7px !important; }
body:has(#home:not(.hide)) .brand-actions .profile-chip-name{ display: block !important; max-width: 140px !important; font-size: 13px !important; font-weight: 650 !important; color: var(--outmark-ink); }
body:has(#home:not(.hide)) .brand-actions .profile-chip .fives-avatar.sm{ width: 32px !important; height: 32px !important; flex-basis: 32px !important; }
body:has(#home:not(.hide)) .brand-actions .how-help-toggle, body:has(#home:not(.hide)) .brand-actions .active-games-toggle, body:has(#home:not(.hide)) .brand-actions .settings-toggle{ display: grid !important; place-items: center !important; width: 44px !important; height: 44px !important; min-height: 44px !important; min-width: 44px !important; max-width: 44px !important; flex: 0 0 44px !important; padding: 0 !important; border: 0 !important; border-radius: 12px !important; background: transparent !important; box-shadow: none !important; }
body:has(#home:not(.hide)) .brand-actions .top-action-icon{ width: 22px !important; height: 22px !important; stroke: var(--outmark-ink); }
body:has(#home:not(.hide)) .brand-actions .top-action-icon .icon-dot{ fill: var(--outmark-ink); }
body:has(#home:not(.hide)) .brand-actions button:hover{ background: #ebe5ff !important; transform: none !important; }
#home { display: block !important; }
#home.hide { display: none !important; }
#home .hero-panel { padding: 0 !important; overflow: visible !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
#home .hero-panel::after { display: none !important; }
#home .premium-home-stack { display: grid !important; gap: 0 !important; }
.outmark-hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 22px 32px; padding: 12px 0 32px; }
.outmark-hero-copy { grid-column: 1; grid-row: 1; align-self: end; }
.outmark-hero h2 { grid-column: 1; margin: 0; font-size: clamp(82px, 9vw, 116px); line-height: .94; font-weight: 950; letter-spacing: -.075em; }
.outmark-title-dot { color: var(--outmark-coral); }
.outmark-hero p { margin: 18px 0 0; color: var(--outmark-ink); font-size: 23px; line-height: 1.35; font-weight: 450; letter-spacing: -.02em; }
.outmark-hero p > span { display: block; }
.outmark-hero-play { display: flex; align-items: center; gap: 20px; grid-column: 1; grid-row: 2; align-self: start; }
.outmark-hero-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 54px; width: 240px; padding: 12px 20px; border: 0; border-radius: 14px; background: var(--outmark-purple); color: #fff; font-size: 18px; font-weight: 750; cursor: pointer; box-shadow: 0 4px 0 #4828c4; }
.outmark-hero-cta > span { font-size: 25px; }
.outmark-hero-cta:hover { background: #5532df; }
.outmark-hero-cta:active { transform: translateY(2px); box-shadow: 0 2px 0 #4828c4; }
.outmark-text-link { padding: 10px 0; min-height: 44px; border: 0; background: transparent; color: var(--outmark-muted); font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.outmark-text-link:hover { color: var(--outmark-purple); }
.outmark-hero-board { grid-column: 2; grid-row: 1 / 3; display: grid; justify-items: center; gap: 16px; }
.outmark-hero-board > span { max-width: 100%; font-size: 13px; font-weight: 500; color: var(--outmark-muted); text-align: center; }
.outmark-hero-cells { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(6, minmax(0, 1fr)); gap: 1px; width: 260px; aspect-ratio: 1; border: 1px solid #aaa091; border-radius: 14px; overflow: hidden; background: #c6bdad; box-shadow: 5px 7px 0 #d7cfbf; }
.outmark-hero-cells i { position: relative; display: grid; place-items: center; min-width: 0; min-height: 0; background: var(--outmark-paper); }
.outmark-hero-cells { transform: rotate(-5deg); }
.outmark-hero-cells i.x { color: var(--outmark-purple); }
.outmark-hero-cells i.o { color: var(--outmark-coral); }
.outmark-hero-cells i::before, .outmark-hero-cells i::after { content: none; }
.outmark-hero-cells .hero-mark { display: block; width: 76%; height: auto; aspect-ratio: 1; fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.outmark-hero-cells i.oldest { background: #eee7fe; outline: 1px dashed var(--outmark-purple); outline-offset: -4px; }
.outmark-section-heading { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 8px; }
.outmark-section-heading h2 { margin: 0; font-size: 20px; font-weight: 750; letter-spacing: -.035em; }
#home .play-your-way-strip { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 0 !important; margin: 0 0 28px !important; }
#home .play-your-way-strip .premium-action, #home .play-your-way-strip .premium-action + .premium-action { display: grid !important; grid-template-columns: 40px minmax(0, 1fr) auto !important; align-items: center !important; gap: 10px !important; min-width: 0 !important; min-height: 78px !important; padding: 10px 12px !important; border: 0 !important; border-bottom: 1px solid var(--outmark-line) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--outmark-ink) !important; text-align: left !important; }
#home .play-your-way-strip .premium-action:first-child { padding-left: 0 !important; }
#home .play-your-way-strip .premium-action:hover { background: rgba(97, 62, 240, .055) !important; filter: none !important; transform: none !important; }
#home .play-your-way-strip .premium-action:active { background: #e8dffc !important; transform: none !important; }
#home .play-your-way-strip .playway-icon { width: 40px !important; height: 40px !important; flex-basis: 40px !important; display: grid !important; place-items: center !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; color: var(--outmark-purple) !important; }
#home .play-your-way-strip .playway-icon svg { width: 31px !important; height: 31px !important; }
#home .play-your-way-strip .playway-icon.find svg { fill: currentColor !important; }
#home .play-your-way-strip .playway-icon.friend { color: var(--outmark-coral) !important; }
#home .play-your-way-strip .playway-icon.friend svg { fill: none !important; stroke: currentColor !important; }
#home .play-your-way-strip .playway-icon.party { color: var(--outmark-coral) !important; }
#home .play-your-way-strip .playway-icon.party svg circle { fill: currentColor !important; stroke: none !important; }
#home .play-your-way-strip .playway-icon.party svg path { fill: none !important; stroke: currentColor !important; }
#home .play-your-way-strip .playway-copy { display: grid !important; justify-items: start !important; width: auto !important; gap: 4px !important; }
#home .play-your-way-strip .premium-action strong { color: var(--outmark-ink) !important; font-size: 17px !important; font-weight: 700 !important; letter-spacing: -.02em !important; line-height: 1.25 !important; text-transform: none !important; }
#home .play-your-way-strip .premium-action small { display: block !important; color: var(--outmark-muted) !important; font-size: 14px !important; font-weight: 450 !important; line-height: 1.35 !important; text-transform: none !important; letter-spacing: 0 !important; }
#home .play-your-way-strip .premium-action small { max-width: none !important; margin: 0 !important; text-align: left !important; opacity: 1; }
#home .play-your-way-strip .premium-action .playway-arrow { display: block !important; width: auto !important; height: auto !important; border: 0 !important; background: transparent !important; color: var(--outmark-ink) !important; font-size: 20px !important; }
#home .play-your-way-strip .playway-arrow { transition: transform .15s ease, color .15s ease; }
#home .play-your-way-strip .premium-action:hover .playway-arrow { color: var(--outmark-purple) !important; transform: translateX(2px); }
#home .play-your-way-strip .premium-action:focus-visible { outline-offset: -3px !important; border-radius: 8px !important; }
#home .premium-progress-grid { display: grid !important; grid-template-columns: 1.1fr 1fr !important; grid-template-rows: auto !important; align-items: center !important; gap: 28px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; }
#home .premium-progress-grid > .daily-progress { display: grid !important; grid-column: 1 !important; grid-row: auto !important; grid-template-columns: 48px minmax(0, 1fr) auto !important; align-items: center !important; gap: 15px 12px !important; min-height: 0 !important; padding: 20px !important; border: 1px solid #d5d8b9 !important; border-radius: 18px !important; background: #edf0d5 !important; box-shadow: none !important; text-align: left !important; }
.outmark-daily-symbol { display: grid; place-items: center; width: 48px; height: 48px; color: #454b2a; }
.outmark-daily-symbol svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.outmark-daily-symbol .daily-day { fill: currentColor; stroke: none; }
#home .daily-status-stack { display: grid !important; gap: 4px !important; width: auto !important; justify-items: start !important; align-content: center !important; }
#home .daily-progress .premium-card-label { display: block !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; color: #53593a !important; font-size: 13px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; }
#home .daily-status-stack > #dailyProgressTitle { margin: 0 !important; padding: 0 !important; width: auto !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; color: var(--outmark-ink) !important; font-size: 25px !important; font-weight: 850 !important; letter-spacing: -.045em !important; text-transform: none !important; }
#home .daily-sun-mark { display: none !important; }
#home .daily-status-stack > .daily-difficulty { margin: 0 !important; padding: 0 !important; min-height: 0 !important; border: 0 !important; background: transparent !important; font-size: 13px !important; font-weight: 500 !important; color: #53593a !important; letter-spacing: 0 !important; text-transform: none !important; }
#home .daily-status-stack > .daily-difficulty .daily-difficulty-dot { width: 8px !important; height: 8px !important; flex-basis: 8px !important; border: 0 !important; }
#home .daily-progress .home-card-link { display: grid !important; justify-items: end !important; align-items: center !important; gap: 3px !important; width: auto !important; min-height: 44px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; color: #343a21 !important; font-size: 13px !important; font-weight: 750 !important; letter-spacing: 0 !important; text-transform: none !important; }
#home .daily-progress .home-card-link > span { font-size: 23px; }
.outmark-daily-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid #d6dabe; }
#home #dailyProgressText { display: block !important; margin: 0 !important; padding: 0 !important; color: #454b2a !important; font-size: 13px !important; font-weight: 600 !important; letter-spacing: 0 !important; line-height: 1.3 !important; text-transform: none !important; }
.outmark-daily-week { display: flex; align-items: center; gap: 9px; }
#home .daily-week-label { width: auto !important; margin: 0 !important; font-size: 13px !important; font-weight: 500 !important; letter-spacing: 0 !important; line-height: 1.2 !important; text-transform: none !important; color: #53593a !important; }
#home .week-dots { display: flex !important; width: auto !important; gap: 5px !important; padding: 0 !important; margin: 0 !important; }
#home .week-dot { width: 10px !important; height: 10px !important; flex-basis: 10px !important; border: 1px solid #bcc2a1 !important; background: #f7f8eb !important; box-shadow: none !important; }
#home .week-dot.played, #home .week-dot.won { background: var(--outmark-purple) !important; border-color: var(--outmark-purple) !important; }
#home .week-dot.today { outline: 2px solid var(--outmark-purple) !important; outline-offset: 2px !important; }
#home .premium-progress-grid > .achievement-progress { position: relative !important; display: grid !important; grid-column: 2 !important; grid-row: auto !important; grid-template-columns: 1fr auto !important; align-content: center !important; align-items: center !important; gap: 10px 12px !important; min-height: 0 !important; min-width: 0 !important; padding: 16px 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; text-align: left !important; }
#home .achievement-home-heading { display: grid !important; gap: 3px !important; grid-column: 1 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
#home .achievement-home-heading .premium-card-label { color: var(--outmark-ink) !important; font-size: 20px !important; font-weight: 750 !important; letter-spacing: -.035em !important; text-transform: none !important; }
.achievement-earned-count { color: var(--outmark-muted); font-size: 13px; font-weight: 450; }
#home .achievement-earned-count strong { display: inline !important; }
#home #achievementProgressTitle { color: var(--outmark-muted) !important; font-size: 13px !important; font-weight: 650 !important; }
#home .achievement-mini-badges { display: flex !important; flex-wrap: nowrap !important; grid-column: 2 !important; grid-row: 1 !important; justify-content: end !important; gap: 5px !important; min-height: 0 !important; margin: 0 !important; }
#home .achievement-mini-badges .achievement-badge.mini { width: 31px !important; height: 31px !important; flex-basis: 31px !important; box-shadow: none !important; transform: none !important; }
#home #achievementProgressText { display: block !important; grid-column: 1 / -1 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; font-size: 14px !important; font-weight: 450 !important; line-height: 1.45 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--outmark-muted) !important; }
#home #achievementProgressText::first-line { color: var(--outmark-muted) !important; }
#home .achievement-progress .progress-meter { grid-column: 1 / -1 !important; height: 5px !important; margin: 0 !important; border: 0 !important; background: #e0dacf !important; }
#home .achievement-progress .home-card-link { position: absolute; right: 0; bottom: 33px; display: none !important; }
#home > .hero-panel .records-progress { display: grid !important; grid-template-columns: 1fr auto !important; align-items: center !important; gap: 8px 12px !important; min-height: 0 !important; margin: 16px 0 0 !important; padding: 14px 0 20px !important; border: 0 !important; border-bottom: 1px solid var(--outmark-line) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; text-align: left !important; }
#home .records-progress > strong { grid-column: 1 !important; grid-row: 1 !important; font-size: 18px !important; font-weight: 750 !important; letter-spacing: -.025em !important; text-transform: none !important; }
#home .records-progress .home-card-link { grid-column: 2 !important; grid-row: 1 !important; margin: 0 !important; padding: 0 !important; color: var(--outmark-purple) !important; font-size: 13px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; }
.outmark-record-empty { grid-column: 1 / -1; grid-row: 2; font-size: 14px; font-weight: 450; color: var(--outmark-muted); line-height: 1.4; }
.outmark-record-empty b { font-weight: 600; color: var(--outmark-ink); }
#home .records-progress .home-record-stats { grid-column: 1 / -1 !important; grid-row: 2 !important; width: 100% !important; margin: 5px 0 0 !important; }
#home .home-record-stats > span { display: flex; align-items: baseline; justify-content: center; gap: 7px; }
#home .home-record-stats b { font-size: 20px !important; font-weight: 750 !important; }
#home .home-record-stats small { margin: 0 !important; font-size: 13px !important; font-weight: 500 !important; letter-spacing: 0 !important; text-transform: none !important; }
#home .premium-gauntlet { margin-top: 28px; display: grid !important; gap: 17px !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
#home .premium-gauntlet-title { gap: 12px !important; align-items: center !important; }
#home .premium-crossed { width: 42px !important; height: 42px !important; flex: 0 0 42px !important; border-radius: 50% !important; }
#home .premium-gauntlet-title h2 { margin: 0 0 3px; font-size: 28px; font-weight: 850; letter-spacing: -.045em; line-height: 1.1; }
#home .premium-gauntlet-title small { display: block !important; font-size: 14px !important; font-weight: 450 !important; color: var(--outmark-muted) !important; }
#home .premium-rungs { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 12px !important; margin: 0 !important; }
#home .premium-rungs .bot-rung, #home .premium-rungs .bot-rung.active { min-height: 206px !important; padding: 13px 11px !important; gap: 7px !important; border: 1px solid var(--outmark-line) !important; border-radius: 17px !important; background: #faf7ef !important; outline: 0 !important; box-shadow: none !important; }
#home .premium-rungs .bot-rung.active { border-color: var(--bot-accent) !important; background: var(--outmark-paper) !important; box-shadow: 0 0 0 2px color-mix(in srgb, var(--bot-accent) 13%, transparent) !important; }
#home .premium-rungs .bot-rung:hover { border-color: var(--bot-accent) !important; transform: none; }
#home .premium-rungs .bot-rung-art { width: 116px !important; max-width: 100%; height: 116px; margin: 0 auto !important; filter: none; }
#home .bot-rung-name { max-width: 100%; font-size: 22px !important; font-weight: 800 !important; letter-spacing: -.035em !important; line-height: 1.1; white-space: nowrap; text-transform: none !important; }
#home .bot-rung-difficulty { display: block; font-size: 12px; font-weight: 600; line-height: 1.2; color: var(--outmark-muted); text-transform: none; letter-spacing: 0; }
#home .bot-threat { gap: 5px !important; }
#home .bot-threat i { width: 9px !important; height: 9px !important; border-width: 1.5px !important; }
#home .bot-rung-state { width: auto !important; min-height: 20px !important; margin-top: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; font-size: 13px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--outmark-muted) !important; }
#home .bot-rung.cleared .bot-rung-state { color: #3e673c !important; background: transparent !important; }
#home .bot-rung[data-level="brutal"].locked .bot-rung-state { color: var(--outmark-ink) !important; background: transparent !important; }
#botDetail { display: grid !important; grid-template-columns: minmax(0, 1fr) auto !important; grid-template-areas: 'identity action' 'empty action' 'stats stats' 'note note' !important; align-items: center !important; gap: 7px 20px !important; padding: 14px 0 !important; border: 0 !important; border-top: 1px solid var(--outmark-line) !important; border-radius: 0 !important; background: transparent !important; color: var(--outmark-ink) !important; }
#botDetail .bot-detail-identity { display: block !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; text-align: left !important; }
#botDetail .bot-detail-identity img { display: none !important; }
#botDetail .bot-detail-identity strong { color: var(--outmark-ink) !important; font-size: 21px !important; font-weight: 750 !important; letter-spacing: -.035em !important; text-transform: none !important; }
#botDetail .bot-detail-identity small { margin-top: 4px !important; color: var(--outmark-muted) !important; font-size: 14px !important; font-weight: 450 !important; line-height: 1.3 !important; }
.bot-detail-empty { grid-area: empty; margin: 0; font-size: 13px; font-weight: 450; color: var(--outmark-muted); }
#botDetail .bot-detail-stats { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 16px !important; padding: 12px 0 0 !important; }
#botDetail .bot-detail-stats > span { display: grid !important; justify-items: start !important; align-content: start !important; gap: 4px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; text-align: left !important; }
#botDetail .bot-detail-stats small { color: var(--outmark-muted) !important; font-size: 13px !important; font-weight: 450 !important; line-height: 1.4 !important; letter-spacing: 0 !important; text-transform: none !important; }
#botDetail .bot-detail-stats strong { color: var(--outmark-ink) !important; font-size: 21px !important; font-weight: 700 !important; letter-spacing: -.02em !important; text-transform: none !important; }
#botDetail .bot-detail-stats > .bot-detail-global { grid-column: 1 / -1; grid-template-columns: auto auto 1fr; align-items: baseline !important; gap: 8px 14px !important; border-top: 1px solid var(--outmark-line) !important; padding-top: 14px !important; }
#botDetail .bot-detail-global > small:last-child { justify-self: end; text-align: right; }
.bot-detail-note { grid-area: note; margin: 6px 0 0; font-size: 13px; line-height: 1.45; font-weight: 450; color: var(--outmark-muted); }
#botDetail .bot-detail-cta { display: flex !important; align-items: center !important; justify-content: center !important; gap: 12px !important; min-height: 48px !important; margin: 0 !important; padding: 11px 22px !important; border: 0 !important; border-radius: 12px !important; background: var(--bot-detail-accent) !important; color: #fff !important; font-size: 16px !important; font-weight: 750 !important; letter-spacing: 0 !important; text-transform: none !important; }
#botDetail .bot-detail-cta .cta-text { font-size: 16px !important; font-weight: 750 !important; letter-spacing: 0 !important; text-transform: none !important; }
#botGauntlet[data-selected="brutal"] #botDetail .bot-detail-cta, #botDetailSheet[data-selected="brutal"] #botDetail .bot-detail-cta { background: #242426 !important; color: #e2f78a !important; }
#botDetail [hidden], #home .home-record-stats[hidden], #homeRecordEmpty[hidden] { display: none !important; }
#botDetail .bot-detail-stats [hidden] { display: none !important; }
#home .live-pulse { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 12px !important; width: 100% !important; min-height: 76px !important; margin: 26px 0 0 !important; padding: 16px 18px !important; border: 0 !important; border-radius: 15px !important; background: #252528 !important; box-shadow: none !important; color: #fff !important; text-align: left; }
#home .live-pulse-left { display: grid !important; grid-template-columns: auto minmax(0, 1fr) !important; align-items: center !important; gap: 3px 12px !important; min-width: 0 !important; }
#home .live-pulse-top { grid-column: 1; grid-row: 1 / 3; }
#home .live-badge { padding: 0 !important; background: transparent !important; color: #e2f78a !important; font-size: 13px !important; font-weight: 650 !important; letter-spacing: .025em !important; text-transform: none !important; }
#home .live-dot { background: #e2f78a !important; animation: none !important; }
#home .live-pulse strong { grid-column: 2; grid-row: 1; max-width: none !important; color: #fff !important; font-size: 15px !important; font-weight: 650 !important; line-height: 1.3 !important; white-space: normal !important; }
#home .live-pulse small { display: block !important; grid-column: 2; grid-row: 2; max-width: none !important; color: #c8c6c1 !important; font-size: 13px !important; font-weight: 450 !important; line-height: 1.4; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }
#home .live-records { flex: 0 0 auto; color: #e2f78a !important; font-size: 13px !important; font-weight: 600 !important; white-space: nowrap !important; text-transform: none !important; letter-spacing: 0 !important; }
#home .live-pulse:hover { background: #323235 !important; }
body:has(#home:not(.hide)) .footer{ margin: 26px 0 0 !important; padding: 20px 0 0 !important; border-top: 1px solid var(--outmark-line); gap: 8px !important; text-transform: none !important; }
body:has(#home:not(.hide)) .footer-brand{ font-size: 13px; font-weight: 750; letter-spacing: .06em; color: var(--outmark-ink); }
body:has(#home:not(.hide)) .footer-brand span{ color: var(--outmark-muted); font-weight: 450; }
body:has(#home:not(.hide)) .footer-links{ gap: 0 6px !important; font-size: 13px !important; font-weight: 450 !important; line-height: 1.4 !important; letter-spacing: 0 !important; color: var(--outmark-muted) !important; }
body:has(#home:not(.hide)) .footer-links .link-btn, body:has(#home:not(.hide)) .footer-links a{ display: inline-flex; align-items: center; min-height: 44px; padding: 6px 3px; border-bottom: 0; }
body:has(#home:not(.hide)) .footer-links .link-btn:hover, body:has(#home:not(.hide)) .footer-links a:hover{ color: var(--outmark-purple) !important; text-decoration: underline; }
body:has(#home:not(.hide)) .logo:focus-visible, body:has(#home:not(.hide)) .brand-actions button:focus-visible, body:has(#home:not(.hide)) .outmark-hero-cta:focus-visible, body:has(#home:not(.hide)) .outmark-text-link:focus-visible, body:has(#home:not(.hide)) #home button:focus-visible{ outline: 3px solid var(--outmark-purple) !important; outline-offset: 4px !important; }
#home button:disabled { cursor: not-allowed; opacity: .55; transform: none !important; }
@media (max-width: 800px) {
  #home .premium-progress-grid { grid-template-columns: 1fr !important; gap: 18px !important; }
  #home .premium-progress-grid > .achievement-progress { grid-column: 1 !important; }
  .outmark-hero-cells { width: 240px; }
}
@media (min-width: 601px) and (max-width: 900px) {
  #home .play-your-way-strip .premium-action, #home .play-your-way-strip .premium-action + .premium-action { grid-template-columns: 32px minmax(0, 1fr) 16px !important; gap: 8px !important; padding: 10px 8px !important; }
  #home .play-your-way-strip .playway-icon { width: 32px !important; height: 32px !important; }
  #home .play-your-way-strip .playway-icon svg { width: 28px !important; height: 28px !important; }
}
@media (max-width: 600px) {
  .shell:has(#home:not(.hide)) { width: calc(100% - 36px) !important; padding-top: 16px !important; }
  body:has(#home:not(.hide)) .brandbar{ margin-bottom: 18px !important; }
  body:has(#home:not(.hide)) .logo{ font-size: 27px !important; gap: 7px; }
  .outmark-mark { width: 30px; height: 30px; flex-basis: 30px; }
  .outmark-mark i { font-size: 39px; top: -7px; }
  .outmark-mark b { width: 18px; height: 18px; border-width: 5px; left: 14px; top: 11px; }
  body:has(#home:not(.hide)) .brand-actions{ gap: 0 !important; }
  body:has(#home:not(.hide)) .brand-actions .profile-chip{ width: 44px !important; max-width: 44px !important; flex: 0 0 44px !important; padding: 5px !important; }
  body:has(#home:not(.hide)) .brand-actions .profile-chip-name{ display: none !important; }
  body:has(#home:not(.hide)) .brand-actions .how-help-toggle{ display: none !important; }
  .outmark-hero { grid-template-columns: minmax(0, 1fr) 138px; gap: 22px 18px; padding: 4px 0 28px; }
  .outmark-hero h2 { font-size: clamp(58px, 16vw, 68px); line-height: .96; }
  .outmark-hero-copy { align-self: center; }
  .outmark-hero p { margin-top: 14px; font-size: 17px; line-height: 1.45; }
  .outmark-hero-board { grid-column: 2; grid-row: 1; gap: 10px; }
  .outmark-hero-cells { width: 138px; border-radius: 10px; box-shadow: 3px 5px 0 #d7cfbf; }
  .outmark-hero-board > span { font-size: 13px; line-height: 1.35; white-space: normal; }
  .outmark-hero-play { grid-column: 1 / -1; grid-row: 2; gap: 18px; margin-top: 0; }
  .outmark-hero-cta { flex: 1; width: auto; min-height: 52px; font-size: 17px; }
  .outmark-text-link { font-size: 14px; }
  .outmark-section-heading { margin: 2px 0 7px; }
  .outmark-section-heading h2 { font-size: 19px; }
  #home .play-your-way-strip { grid-template-columns: 1fr !important; margin-bottom: 24px !important; }
  #home .play-your-way-strip .premium-action, #home .play-your-way-strip .premium-action + .premium-action { min-height: 68px !important; padding: 10px 0 !important; gap: 12px !important; }
  #home .premium-progress-grid > .daily-progress { padding: 16px !important; gap: 13px 9px !important; grid-template-columns: 42px minmax(0, 1fr) auto !important; }
  .outmark-daily-symbol { width: 42px; height: 42px; }
  .outmark-daily-symbol svg { width: 30px; height: 30px; }
  #home .daily-status-stack > #dailyProgressTitle { font-size: 23px !important; }
  #home .daily-progress .home-card-link { font-size: 13px !important; }
  #home .premium-progress-grid > .achievement-progress { padding: 12px 0 10px !important; }
  #home .achievement-mini-badges .achievement-badge.mini { width: 29px !important; height: 29px !important; flex-basis: 29px !important; }
  #home .premium-gauntlet { margin-top: 24px; }
  #home .premium-gauntlet-title h2 { font-size: 26px; }
  #home .premium-rungs { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  #home .premium-rungs .bot-rung, #home .premium-rungs .bot-rung.active { min-height: 190px !important; padding: 12px 8px !important; gap: 6px !important; }
  #home .premium-rungs .bot-rung-art { width: 105px !important; height: 105px; }
  #home .bot-rung-name { font-size: 21px !important; }
  #home .bot-rung-state { font-size: 13px !important; }
  #home .home-record-stats > span { display: grid; justify-items: center; gap: 3px; }
  #home .home-record-stats small { font-size: 13px !important; }
  #home .live-pulse { padding: 14px 12px !important; }
  #home .live-pulse-left { gap: 3px 8px !important; }
  #home .live-pulse strong { font-size: 14px !important; }
  #home .live-pulse small { font-size: 13px !important; }
  #home .live-records { font-size: 13px !important; }
  body:has(#home:not(.hide)) .footer-links{ font-size: 13px !important; gap: 0 5px !important; }
}
@media (max-width: 520px) {
  .bot-detail-sheet { position: fixed !important; inset: auto 0 0 !important; margin: 0 auto !important; }
  #botDetail { grid-template-columns: 1fr !important; grid-template-areas: 'identity' 'empty' 'stats' 'note' 'action' !important; gap: 12px !important; border: 0 !important; padding: 0 !important; }
  #botDetail .bot-detail-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 18px 16px !important; padding-top: 4px !important; }
  #botDetail .bot-detail-stats > .bot-detail-global { grid-template-columns: 1fr auto; }
  #botDetail .bot-detail-global > small:last-child { grid-column: 1 / -1; justify-self: start; text-align: left; }
  #botDetail .bot-detail-cta { min-height: 52px !important; }
  .bot-sheet-shell { border: 1px solid var(--outmark-line); border-radius: 22px 22px 0 0; background: var(--outmark-cream); box-shadow: 0 -10px 30px rgba(0, 0, 0, .15); }
  .bot-sheet-toolbar { padding: 8px 16px; border-bottom: 1px solid var(--outmark-line); }
  .bot-sheet-label { font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; }
  .bot-sheet-close { width: 44px; height: 44px; border: 0; background: #eae4d9; }
  .bot-sheet-content { padding: 20px 20px calc(20px + env(safe-area-inset-bottom)); }
}
@media (max-width: 370px) {
  .shell:has(#home:not(.hide)) { width: calc(100% - 28px) !important; }
  body:has(#home:not(.hide)) .logo{ font-size: 23px !important; gap: 5px; }
  .outmark-mark { width: 27px; flex-basis: 27px; }
  .outmark-hero { grid-template-columns: minmax(0, 1fr) 120px; gap: 20px 12px; }
  .outmark-hero h2 { font-size: clamp(50px, 16vw, 58px); }
  .outmark-hero p { font-size: 16px; }
  .outmark-hero-cells { width: 120px; }
  .outmark-hero-board > span { font-size: 13px; }
  .outmark-hero-play { gap: 12px; }
  .outmark-hero-cta { padding: 12px 16px; gap: 15px; }
  #home .achievement-mini-badges { gap: 3px !important; }
  #home .achievement-mini-badges .achievement-badge.mini { width: 25px !important; height: 25px !important; flex-basis: 25px !important; }
  #home .achievement-home-heading .premium-card-label { font-size: 18px !important; }
  #home .daily-status-stack > #dailyProgressTitle { font-size: 21px !important; }
  .outmark-daily-bottom { gap: 8px; }
  .outmark-daily-week { gap: 6px; }
  #home .daily-week-label { display: none !important; }
  #home .live-pulse-left { grid-template-columns: 1fr !important; }
  #home .live-pulse-top { display: none; }
  #home .live-pulse strong, #home .live-pulse small { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  #home *, .outmark-hero-cta { animation: none !important; transition: none !important; }
}

/* Launch integration: keep the native Outmark PNG and semantic home button.
   Home composition is preserved from codex/outmark-clean-fun-home@c9ad680. */
body:has(#home:not(.hide)) .brand-logo{width:260px;max-width:100%}
body:has(#home:not(.hide)) .brand-home:focus-visible{outline:3px solid var(--outmark-purple);outline-offset:4px}
body:has(#home:not(.hide)){font-family:Arial,Helvetica,sans-serif!important}
body:has(#home:not(.hide)) .brandbar{padding:0!important;border:0!important;flex-wrap:nowrap!important}
#home .play-your-way-strip{gap:12px!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important}
#home .play-your-way-strip .premium-action:nth-child(n){min-height:86px!important;padding:14px!important;border:1px solid var(--outmark-line)!important;border-radius:16px!important;background:var(--outmark-paper)!important;box-shadow:0 3px 0 #e4ddd1!important;cursor:pointer!important;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease!important}
#home .play-your-way-strip .premium-action:hover{border-color:var(--outmark-purple)!important;background:#fff!important;box-shadow:0 5px 0 #d8cdec!important;transform:translateY(-2px)!important}
#home .play-your-way-strip .premium-action:active{box-shadow:0 1px 0 #d8cdec!important;transform:translateY(2px)!important}
#home .play-your-way-strip .premium-action:focus-visible{border-radius:16px!important;outline-offset:3px!important}
#home .play-your-way-strip .premium-action .playway-icon{width:40px!important;height:40px!important;border:0!important;border-radius:0!important;background:transparent!important}
#home .play-your-way-strip .premium-action .playway-copy strong{font-size:17px!important;font-weight:700!important;line-height:1.25!important}
#home .play-your-way-strip .premium-action .playway-copy small{font-size:14px!important;font-weight:450!important;line-height:1.35!important}
#home .play-your-way-strip .premium-action .playway-arrow{display:grid!important;place-items:center!important;width:30px!important;height:30px!important;border:0!important;border-radius:50%!important;background:#eee9ff!important;color:var(--outmark-purple)!important;font-size:19px!important;font-weight:750!important}
#home .play-your-way-strip .playway-friend .playway-arrow,#home .play-your-way-strip .playway-party .playway-arrow{background:#fff0ed!important;color:var(--outmark-coral)!important}
#home .outmark-hero h2{font-family:Arial,Helvetica,sans-serif;font-weight:950}
#home .outmark-hero p{font-weight:450}
@media(max-width:600px){body:has(#home:not(.hide)) .brand-logo{width:190px}}
@media(max-width:370px){body:has(#home:not(.hide)) .brand-logo{width:148px}body:has(#home:not(.hide)) .brandbar{align-items:center!important}}
@media(max-width:600px){#home .play-your-way-strip{gap:10px!important}#home .play-your-way-strip .premium-action:nth-child(n){min-height:72px!important;padding:12px!important}}

/* Daily invites a round of Fives. The small position is decorative, not the puzzle. */
#home #dailyProgressBtn{grid-template-columns:86px minmax(0,1fr)!important;gap:10px 18px!important;min-height:178px!important;padding:16px!important;border:1px solid #ddd6c9!important;border-radius:20px!important;background:#fffdf8!important;box-shadow:0 3px 12px rgba(32,32,36,.035)!important;text-align:left!important}
#home #dailyProgressBtn:hover{border-color:#c4b5f4!important;background:#fff!important}
#home #dailyProgressBtn:active{background:#faf8ff!important}
.outmark-daily-preview{display:grid;place-items:center;grid-column:1;grid-row:1;align-self:center;width:86px;aspect-ratio:1}
.outmark-daily-preview svg{display:block;width:100%;height:auto;aspect-ratio:1;overflow:hidden;border-radius:9px}
.daily-preview-board{fill:#f9f6ee;stroke:#d5cfc3;stroke-width:1}
.daily-preview-grid{fill:none;stroke:#ded8cc;stroke-width:.65}
.daily-preview-mark{fill:none;stroke:currentColor;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}
.daily-preview-x{color:var(--outmark-purple)}
.daily-preview-o{color:var(--outmark-coral)}
#home #dailyProgressBtn .daily-status-stack{grid-column:2;grid-row:1;align-content:center!important;justify-items:start!important;gap:5px!important;min-width:0!important}
#home #dailyProgressBtn .premium-card-label{color:var(--outmark-purple)!important;font-size:10px!important;font-weight:750!important;letter-spacing:.07em!important;text-transform:uppercase!important}
#home #dailyProgressBtn .daily-status-stack>#dailyProgressTitle{margin:0!important;font-size:26px!important;line-height:1.08!important;font-weight:800!important;letter-spacing:-.035em!important;color:var(--outmark-ink)!important}
#home #dailyProgressBtn .daily-meta{display:flex;align-items:center;gap:8px;min-width:0;font-size:11px;line-height:1.2;color:var(--outmark-muted)}
#home #dailyProgressBtn .daily-difficulty{display:inline-flex!important;align-items:center!important;min-height:22px!important;padding:3px 7px!important;border:0!important;border-radius:6px!important;background:#eee9ff!important;color:#5b41c9!important;font-size:10px!important;font-weight:700!important;letter-spacing:0!important;text-transform:none!important}
#home #dailyProgressCta{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;width:100%!important;max-width:180px!important;min-height:36px!important;margin:3px 0 0!important;padding:8px 12px!important;border:0!important;border-radius:9px!important;background:var(--outmark-purple)!important;color:#fff!important;font-size:13px!important;line-height:1!important;font-weight:700!important;letter-spacing:0!important;text-transform:none!important;white-space:nowrap!important}
#home #dailyProgressCta>span{display:inline!important;font-size:17px!important;line-height:1!important}
#home #dailyProgressBtn .outmark-daily-bottom{grid-column:1 / -1;grid-row:2;gap:12px;padding-top:8px;border-color:#eee8de}
#home #dailyProgressText{color:var(--outmark-muted)!important;font-size:12px!important;font-weight:500!important}
#home #dailyProgressBtn .outmark-daily-week[hidden]{display:none!important}
@media(max-width:370px){#home #dailyProgressBtn{grid-template-columns:72px minmax(0,1fr)!important;gap:12px 14px!important;padding:16px!important}.outmark-daily-preview{width:72px}#home #dailyProgressBtn .daily-status-stack>#dailyProgressTitle{font-size:23px!important}}
