@font-face {
  font-family: "Bangers";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/dashboard/static/fonts/Bangers-Regular-LatinExt.woff2") format("woff2");
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Bangers";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/dashboard/static/fonts/Bangers-Regular-Latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190, U+2191, U+2192, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-display: "Bangers", cursive;
  --font-interface: "Fredoka", system-ui, sans-serif;
  --font-ui: var(--font-interface);
  --font-body: var(--font-ui);
  --font-heading: var(--font-display);
  --display-outline: #111018;
  color-scheme: dark;
  --paper: #242229;
  --paper-deep: #191720;
  --surface: #302d38;
  --ink: #130f2a;
  --text: #fff8e9;
  --muted: #c8c1d0;
  --pink: #ff4c9a;
  --cyan: #64dfed;
  --yellow: #ffd33f;
  --lime: #b8f25b;
  --purple: #a355ec;
  --orange: #ff873c;
  --grid: rgba(255, 255, 255, 0.055);
  --max-width: 1160px;
}

html[data-theme="light"] {
  color-scheme: light;
  --paper: #fff8e7;
  --paper-deep: #f5ead0;
  --surface: #fffdf6;
  --text: #17122b;
  --muted: #514c59;
  --grid: rgba(29, 23, 48, 0.09);
}

* { box-sizing: border-box; }
html, body, button, input, select, textarea { font-family: var(--font-interface); }
.font-display, .hero-title, .comic-button, .comic-badge { font-family: var(--font-display) !important; font-weight: 400; font-synthesis: none; }
.hero-title, .font-display-outlined { paint-order: stroke fill; -webkit-text-stroke: 1.5px #111; text-shadow: 2px 2px 0 #111; }
.comic-button, .comic-badge { paint-order: stroke fill; -webkit-text-stroke: .6px #111; text-shadow: 1px 1px 0 #111; }
html { background: var(--paper); scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background-color: var(--paper); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px; color: var(--text); font-family: var(--font-body); transition: background-color 180ms ease, color 180ms ease; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea, table { font: inherit; }
button, summary { -webkit-tap-highlight-color: transparent; }
svg { display: block; }

.public-nav { position: relative; z-index: 40; background: color-mix(in srgb, var(--paper) 94%, transparent); border-bottom: 2px solid color-mix(in srgb, var(--ink) 70%, transparent); }
.public-nav__inner { width: min(var(--max-width), calc(100% - 40px)); min-height: 84px; margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.public-brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-interface); font-size: 26px; font-weight: 800; letter-spacing: 0; text-shadow: none; -webkit-text-stroke: 0; }
.public-brand__icon { width: 58px; height: 58px; display: grid; place-items: center; border: 2px solid var(--text); border-radius: 50%; background: var(--paper-deep); box-shadow: 3px 4px 0 var(--ink); overflow: hidden; }
.public-brand img { width: 54px; height: 54px; object-fit: contain; transform: scale(1.15); }
.public-nav__links { display: flex; align-items: center; gap: 26px; }
.public-nav__links a { font-family: var(--font-ui); font-size: 18px; font-weight: 700; letter-spacing: .1px; }
.public-nav__links a:hover, .public-nav__links a[aria-current="page"] { color: var(--pink); }
.public-nav__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.public-sign-in, .premium-nav-pill, .locale-trigger, .theme-toggle, .profile-trigger { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--ink); border-radius: 4px; box-shadow: 4px 5px 0 var(--ink); transition: transform 130ms ease, box-shadow 130ms ease, filter 130ms ease; }
.public-sign-in:hover, .premium-nav-pill:hover, .locale-trigger:hover, .theme-toggle:hover, .profile-trigger:hover { transform: translateY(-2px); box-shadow: 5px 7px 0 var(--ink); }
.public-sign-in:active, .premium-nav-pill:active, .locale-trigger:active, .theme-toggle:active, .profile-trigger:active { transform: translate(3px, 3px); box-shadow: 1px 2px 0 var(--ink); }
.public-sign-in { padding: 0 16px; background: linear-gradient(180deg, rgba(255,255,255,.5), transparent 48%), #fff; color: var(--ink); font-family: var(--font-ui); font-size: 18px; font-weight: 700; }
.premium-nav-pill { position: relative; isolation: isolate; overflow: hidden; min-width: 112px; padding: 0 16px; gap: 7px; background: linear-gradient(180deg, rgba(255,255,255,.3), transparent 48%), var(--pink); color: white; font-weight: 700; }
.premium-nav-pill > svg, .premium-nav-pill > span:not(.premium-paws) { position: relative; z-index: 2; }
.premium-crown-icon { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.premium-paws { position: absolute; z-index: 1; top: 48%; left: 0; display: block; color: rgba(255,255,255,.72); font-size: 11px; line-height: 1; white-space: nowrap; opacity: .52; pointer-events: none; user-select: none; animation: premium-paws-walk 4.8s linear infinite; }
.premium-paws--two { top: 67%; opacity: .4; animation-delay: -2.35s; animation-duration: 5.5s; }
@keyframes premium-paws-walk { from { transform: translate(-150%, -50%) rotate(-8deg); } to { transform: translate(220%, -50%) rotate(8deg); } }

.locale-menu, .profile-menu { position: relative; }
.locale-menu summary, .profile-trigger { list-style: none; cursor: pointer; }
.locale-menu summary::-webkit-details-marker, .profile-trigger::-webkit-details-marker { display: none; }
.locale-trigger { padding: 0 13px; gap: 8px; background: linear-gradient(180deg, rgba(255,255,255,.55), transparent 50%), #f7f2ff; color: var(--ink); font-weight: 700; }
.locale-trigger > svg, .profile-trigger > svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.3; }
.locale-flag { border-radius: 50%; object-fit: cover; }
.theme-toggle { width: 46px; padding: 0; cursor: pointer; background: linear-gradient(180deg, rgba(255,255,255,.28), transparent 48%), var(--yellow); color: var(--ink); }
.theme-toggle svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.theme-toggle__sun { display: none; }
html[data-theme="light"] .theme-toggle__moon { display: none; }
html[data-theme="light"] .theme-toggle__sun { display: block; }
.profile-trigger { padding: 3px 10px 3px 4px; gap: 8px; background: linear-gradient(180deg, rgba(255,255,255,.18), transparent 55%), var(--surface); color: var(--text); font-weight: 700; }
.profile-trigger img { border-radius: 50%; }
.locale-menu__panel, .profile-menu__panel { position: absolute; top: calc(100% + 12px); right: 0; z-index: 50; width: 205px; padding: 8px; border: 2px solid var(--ink); border-radius: 6px; background: var(--surface); box-shadow: 6px 7px 0 var(--ink); }
.profile-menu__panel { width: 280px; }
.locale-menu__panel a, .locale-menu__panel button, .profile-menu__panel a { width: 100%; min-height: 42px; padding: 8px 10px; display: flex; align-items: center; gap: 10px; border: 0; border-radius: 3px; background: transparent; color: var(--text); text-align: left; cursor: pointer; }
.locale-menu__panel a:hover, .locale-menu__panel button:hover, .profile-menu__panel a:hover { background: color-mix(in srgb, var(--purple) 28%, var(--surface)); }
.profile-menu__panel svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.profile-menu__identity { padding: 8px 9px 10px; display: flex; align-items: center; gap: 11px; }
.profile-menu__identity img { border-radius: 50%; }
.profile-menu__identity span { min-width: 0; display: grid; }
.profile-menu__identity strong, .profile-menu__identity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-menu__identity small { color: var(--muted); }
.profile-menu__separator { height: 2px; margin: 5px -8px; background: color-mix(in srgb, var(--ink) 35%, transparent); }
.profile-menu__panel .profile-menu__logout { color: #ff938e; }

.comic-shell { width: min(var(--max-width), calc(100% - 40px)); margin: 0 auto; }
.comic-hero__inner { width: min(1320px, calc(100% - 40px)); margin: 0 auto; }
.comic-hero { min-height: calc(100vh - 84px); display: grid; align-items: center; }
.comic-hero__inner { min-height: 720px; padding: 70px 0 76px; display: grid; grid-template-columns: minmax(620px, 1.04fr) minmax(460px, .96fr); align-items: center; gap: 104px; }
.comic-hero__copy { position: relative; z-index: 2; }
.comic-status { width: fit-content; padding: 7px 13px; display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--ink); border-radius: 99px; background: var(--surface); box-shadow: 3px 4px 0 var(--ink); color: var(--text); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.comic-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px var(--ink); }
.comic-hero h1 { margin: 24px 0 0; display: grid; gap: 0; font-family: var(--font-heading); font-size: clamp(68px, 7.2vw, 104px); font-weight: 400; font-synthesis: none; font-style: normal; line-height: .86; letter-spacing: .035em; text-transform: uppercase; transform: skewX(-5deg) scaleY(1.04); transform-origin: left center; paint-order: stroke fill; -webkit-text-stroke: 1.25px var(--display-outline); text-shadow: 2px 2px 0 var(--display-outline); }
.comic-hero h1 span { width: fit-content; position: relative; }
.comic-hero h1 .hero-underlined::after { content: ""; position: absolute; left: 0; right: 3%; bottom: -4px; height: 5px; background: var(--text); transform: rotate(-2deg); }
.comic-hero h1 mark { display: inline-block; margin-left: 8px; padding: 3px 9px 1px; background: var(--pink); color: #fffaf0; transform: rotate(-1deg); }
.comic-hero h1 .hero-last-line { white-space: nowrap; }
.comic-hero__copy > p { max-width: 650px; margin: 28px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-lead mark { display: inline; padding: 1px 5px; border: 2px solid var(--ink); background: var(--cyan); color: var(--ink); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.comic-actions { margin-top: 30px; display: flex; flex-wrap: nowrap; gap: 18px; }
.comic-button { min-height: 58px; padding: 0 19px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 3px solid var(--ink); border-radius: 1px; box-shadow: 7px 8px 0 var(--ink); font-family: var(--font-heading); font-size: 20px; font-weight: 400; font-synthesis: none; letter-spacing: .035em; text-transform: uppercase; white-space: nowrap; paint-order: stroke fill; -webkit-text-stroke: .55px #111; text-shadow: 1px 1px 0 #111; transition: transform 130ms ease, box-shadow 130ms ease, filter 130ms ease; position: relative; overflow: hidden; }
.comic-button::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(19,15,42,.16) 1px, transparent 1px); background-size: 10px 10px; }
.comic-button > * { position: relative; z-index: 1; }
.comic-button:hover { transform: translateY(-3px); box-shadow: 8px 11px 0 var(--ink); filter: saturate(1.05); }
.comic-button:active { transform: translate(5px, 5px); box-shadow: 2px 3px 0 var(--ink); }
.comic-button svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 2.7; }
.comic-button__icon { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--pink); font-family: var(--font-ui); font-size: 24px; line-height: 1; }
.comic-button--pink { background: linear-gradient(180deg, rgba(255,255,255,.38), transparent 45%), var(--pink); color: white; text-shadow: 2px 2px 0 var(--ink); }
.comic-button--cyan { background: linear-gradient(180deg, rgba(255,255,255,.66), transparent 48%), var(--cyan); color: var(--ink); }
.comic-button--lime { background: linear-gradient(180deg, rgba(255,255,255,.48), transparent 48%), var(--lime); color: var(--ink); }

/* Dark lettering is already its own outline; do not add a second black stroke. */
.comic-button--cyan,
.comic-button--lime,
.comic-button--cyan :is(span, strong, em),
.comic-button--lime :is(span, strong, em),
.feature-heading-highlight,
.feature-heading-highlight :is(span, strong, em) {
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
}

.comic-hero__art { min-height: 570px; position: relative; display: grid; place-items: center; }
.hero-portrait { width: min(500px, 100%); aspect-ratio: 1; position: relative; z-index: 2; border: 5px solid #fff8e9; border-radius: 50%; background: #ad244d; box-shadow: 10px 12px 0 var(--ink); animation: hero-idle 4.2s ease-in-out infinite; overflow: hidden; }
.hero-portrait img { width: 100%; height: 100%; display: block; object-fit: cover; }
@keyframes hero-idle { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
.speech-card { width: 230px; min-height: 96px; padding: 16px 18px; position: absolute; z-index: 4; top: 20px; left: -8px; display: grid; align-content: center; border: 3px solid var(--ink); border-radius: 8px; background: #fff; color: var(--ink); box-shadow: 6px 7px 0 var(--ink); animation: speech-card-bob 3.2s ease-in-out infinite; }
.speech-card::after { content: ""; width: 20px; height: 20px; position: absolute; left: 36px; bottom: -12px; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); background: #fff; transform: rotate(45deg); }
.speech-card strong { font-family: var(--font-display); font-size: 25px; }
.speech-card span { font-size: 13px; }
.speech-card mark { padding: 1px 5px; border: 2px solid var(--ink); background: var(--yellow); color: var(--ink); font-weight: 700; }
@keyframes speech-card-bob { 0%,100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-9px) rotate(-2deg); } }
.comic-sticker { position: absolute; z-index: 5; padding: 12px 16px 9px; border: 3px solid var(--ink); border-radius: 7px; box-shadow: 5px 6px 0 var(--ink); color: var(--ink); font-family: var(--font-display); font-size: 24px; }
.comic-sticker--pow { top: 30px; right: -8px; background: var(--yellow); transform: rotate(8deg); }
.comic-sticker--meow { left: 20px; bottom: 22px; background: var(--lime); transform: rotate(-8deg); }
.comic-star { position: absolute; right: -12px; bottom: 40px; color: var(--orange); font-size: 64px; -webkit-text-stroke: 3px var(--ink); transform: rotate(12deg); }
.comic-divider { height: 14px; background: var(--ink); }

.comic-features { padding: 96px 0 110px; }
.comic-label { width: fit-content; padding: 9px 14px 7px; display: inline-block; border: 2px solid var(--ink); box-shadow: 4px 5px 0 var(--ink); color: var(--ink); font-family: var(--font-heading); font-size: 19px; letter-spacing: .6px; transform: rotate(-2deg); }
.comic-label--cyan { background: var(--cyan); }
.comic-label--yellow { background: var(--yellow); }
.comic-features h2, .landing-command-preview h2 { max-width: 800px; margin: 26px 0 0; font-family: var(--font-heading); font-size: clamp(52px, 6vw, 78px); font-weight: 400; font-synthesis: none; line-height: .95; letter-spacing: .035em; text-transform: uppercase; paint-order: stroke fill; -webkit-text-stroke: 1.1px var(--display-outline); text-shadow: 2px 2px 0 var(--display-outline); }
.feature-heading-highlight { width: fit-content; position: relative; display: inline-block; padding: 2px 8px 0; background: var(--yellow); color: var(--ink); }
.feature-heading-highlight::after { content: ""; position: absolute; left: 3px; right: 3px; bottom: -8px; height: 5px; background: currentColor; transform: rotate(-1.5deg); }
.section-lead { max-width: 670px; margin: 18px 0 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.feature-editorial-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.editorial-card { min-height: 330px; padding: 26px 24px 24px; position: relative; border: 2px solid var(--ink); box-shadow: 7px 8px 0 var(--ink); color: var(--ink); transform: translateY(0) rotate(0); transform-origin: 50% 85%; transition: transform 240ms cubic-bezier(.2,.8,.2,1), box-shadow 240ms cubic-bezier(.2,.8,.2,1), filter 240ms ease; }
.editorial-card:nth-child(odd) { --card-tilt: -1.25deg; }
.editorial-card:nth-child(even) { --card-tilt: 1.25deg; }
.landing-motion .editorial-card, .landing-motion .command-preview-board { opacity: 0; transform: translateY(42px) scale(.96) rotate(var(--card-tilt, 0deg)); transition-delay: var(--reveal-delay, 0ms); }
.landing-motion .editorial-card.is-visible, .landing-motion .command-preview-board.is-visible { opacity: 1; transform: translateY(0) scale(1) rotate(0); transition-property: opacity, transform, box-shadow; transition-duration: 520ms; transition-timing-function: cubic-bezier(.2,.85,.2,1); }
.editorial-card:hover, .landing-motion .editorial-card.is-visible:hover { z-index: 2; transform: translateY(-9px) rotate(var(--card-tilt)); box-shadow: 11px 14px 0 var(--ink); filter: saturate(1.06); }
.editorial-card:active { transform: translateY(-2px) rotate(0); box-shadow: 5px 6px 0 var(--ink); }
.editorial-card--1 { background: #fffdf6; }
.editorial-card--2 { background: var(--yellow); }
.editorial-card--3 { background: var(--cyan); }
.editorial-card--4 { background: var(--lime); }
.editorial-card--5 { background: #fffdf6; }
.editorial-card--6 { background: var(--pink); }
.editorial-number { width: 48px; height: 48px; position: absolute; top: -18px; right: -10px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--pink); font-family: var(--font-heading); font-size: 20px; transform: rotate(5deg); }
.editorial-card:nth-child(3n+2) .editorial-number { background: var(--cyan); }
.editorial-card:nth-child(3n) .editorial-number { background: var(--yellow); }
.editorial-icon { width: 52px; height: 52px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 9px; background: white; box-shadow: 3px 4px 0 var(--ink); color: var(--ink); font-family: var(--font-ui); font-size: 28px; font-weight: 700; }
.editorial-card:hover .editorial-number { animation: badge-pop 420ms cubic-bezier(.34,1.56,.64,1); }
.editorial-card:hover .editorial-icon { animation: icon-bounce 480ms cubic-bezier(.34,1.56,.64,1); }
@keyframes badge-pop { 0%,100% { transform: rotate(5deg) scale(1); } 45% { transform: rotate(-8deg) scale(1.16); } }
@keyframes icon-bounce { 0%,100% { transform: translateY(0) rotate(0); } 45% { transform: translateY(-6px) rotate(-5deg); } }
.editorial-card h3 { margin: 22px 0 10px; font-family: var(--font-heading); font-size: 30px; font-weight: 400; font-synthesis: none; letter-spacing: .035em; }
.editorial-card p { min-height: 48px; margin: 0; font-size: 14px; line-height: 1.45; }
.editorial-card ul { margin: 18px 0 0; padding: 0; display: grid; gap: 8px; list-style: none; font-size: 13px; font-weight: 600; }
.editorial-card li::before { content: "✓"; width: 19px; height: 19px; margin-right: 7px; display: inline-grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; background: white; font-size: 12px; }

.landing-command-preview { padding: 100px 0 110px; background-color: var(--paper-deep); background-image: radial-gradient(var(--grid) 1.2px, transparent 1.2px); background-size: 22px 22px; border-top: 2px solid var(--ink); }
.command-preview-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; }
.landing-command-preview h2 { display: grid; gap: 15px; }
.landing-command-preview h2 mark { width: fit-content; padding: 5px 10px 2px; background: var(--pink); color: #fff8e9; }
.landing-command-preview h2 span { display: block; }
.command-category-tabs { margin-top: 30px; padding: 7px; display: flex; gap: 5px; border: 2px solid var(--ink); border-radius: 99px; background: color-mix(in srgb, var(--surface) 85%, transparent); box-shadow: 4px 5px 0 var(--ink); }
.command-category-tabs button { padding: 10px 16px; border: 0; border-radius: 99px; background: transparent; color: var(--text); font-family: var(--font-ui); font-size: 17px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.command-category-tabs button:hover { color: var(--yellow); }
.command-category-tabs .is-active { background: var(--yellow); color: var(--ink); }
.command-preview-board article[hidden] { display: none; }
.command-preview-board { margin-top: 48px; border: 3px solid var(--ink); border-radius: 10px; overflow: hidden; background: #fff8e7; color: var(--ink); box-shadow: 8px 9px 0 var(--ink); transition: transform 520ms cubic-bezier(.2,.85,.2,1), opacity 520ms ease, box-shadow 220ms ease; }
.command-preview-board:hover { box-shadow: 11px 13px 0 var(--ink); }
.command-preview-board header { min-height: 58px; padding: 0 24px; display: flex; align-items: center; gap: 9px; border-bottom: 3px solid var(--ink); font-weight: 700; }
.command-preview-board article { min-height: 94px; padding: 14px 24px; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 18px; border-bottom: 2px solid var(--ink); }
.command-preview-board article { transition: background-color 180ms ease, transform 180ms cubic-bezier(.2,.8,.2,1), box-shadow 180ms ease; }
.command-preview-board article:hover { position: relative; z-index: 1; background: #fff1c9; transform: translateX(8px); box-shadow: -7px 0 0 var(--pink); }
.command-preview-board article:hover .command-preview-index { transform: rotate(-7deg) scale(1.08); background: var(--lime); }
.command-preview-board article:hover em { background: var(--cyan); }
.command-preview-board article:last-child { border-bottom: 0; }
.command-preview-index { width: 42px; height: 42px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 5px; background: var(--yellow); box-shadow: 2px 3px 0 var(--ink); font-family: var(--font-heading); font-size: 21px; transition: transform 180ms cubic-bezier(.34,1.56,.64,1), background-color 180ms ease; }
.command-preview-board article > span:nth-child(2) { min-width: 0; display: grid; gap: 4px; }
.command-preview-board strong { font-family: var(--font-heading); font-size: 25px; font-weight: 400; }
.command-preview-board small { color: #4f4958; font-size: 14px; }
.command-preview-board em { padding: 6px 10px; border: 2px solid var(--ink); border-radius: 99px; font-style: normal; font-size: 12px; font-weight: 700; text-transform: uppercase; transition: background-color 180ms ease, transform 180ms ease; }
.command-preview-empty { padding: 30px; }
.command-preview-cta { width: fit-content; margin-top: 34px; }
.public-footer { width: min(var(--max-width), calc(100% - 40px)); min-height: 90px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; }
.public-footer div { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.public-footer img { border-radius: 50%; object-fit: contain; }

.public-paw-layer { position: fixed; inset: 0; z-index: 30; pointer-events: none; }
.paw-print { position: absolute; top: 0; left: 0; width: 22px; height: 22px; will-change: transform, opacity; pointer-events: none; user-select: none; opacity: 0; filter: drop-shadow(1px 2px 0 rgba(18,17,25,.85)) drop-shadow(0 4px 8px rgba(0,0,0,.22)); transform: translate(-50%,-50%) scale(.4); animation: paw-pop 450ms cubic-bezier(.34,1.76,.64,1) forwards; }
.paw-print.fade-out { opacity: 0 !important; transform: translate(-50%,-50%) scale(.85) rotate(var(--paw-rot,0deg)) !important; transition: opacity 900ms ease, transform 900ms ease; }
@keyframes paw-pop { 0% { opacity:0; transform:translate(-50%,-50%) scale(.25) rotate(var(--paw-rot,0deg)); } 50% { opacity:.88; transform:translate(-50%,-50%) scale(1.08) rotate(var(--paw-rot,0deg)); } 100% { opacity:.74; transform:translate(-50%,-50%) scale(1) rotate(var(--paw-rot,0deg)); } }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }

@media (max-width: 1240px) {
  .public-nav__inner { flex-wrap: wrap; padding: 12px 0; gap: 14px; }
  .public-nav__links { order: 3; width: 100%; }
  .comic-hero__inner { min-height: 0; padding: 68px 0; grid-template-columns: 1fr; gap: 48px; }
  .comic-hero__copy { max-width: 720px; }
  .comic-hero__art { width: min(600px, 100%); min-height: 520px; margin: 0 auto; }
  .feature-editorial-grid { grid-template-columns: repeat(2, 1fr); }
  .command-preview-heading { display: grid; }
  .command-category-tabs { width: fit-content; margin-top: 0; }
}

@media (min-width: 981px) and (max-width: 1240px) {
  .comic-hero__copy { margin: 0 auto; text-align: center; }
  .comic-status, .comic-hero h1 span { margin-left: auto; margin-right: auto; }
  .comic-actions { justify-content: center; }
}

@media (max-width: 640px) {
  .public-nav__inner, .comic-shell, .comic-hero__inner, .public-footer { width: min(calc(100% - 28px), var(--max-width)); }
  .public-brand span:last-child, .profile-trigger > span, .premium-nav-pill > span:not(.premium-paws) { display: none; }
  .public-brand__icon { width: 48px; height: 48px; }
  .public-brand img { width: 46px; height: 46px; }
  .public-nav__actions { gap: 8px; }
  .public-nav__links { overflow-x: auto; }
  .locale-trigger { padding: 0 9px; }
  .theme-toggle { width: 42px; }
  .premium-nav-pill { min-width: 48px; padding: 0 12px; }
  .comic-hero__inner { padding: 50px 0 56px; }
  .comic-hero h1 { font-size: clamp(53px, 17vw, 72px); }
  .comic-hero h1 mark { margin: 6px 0 0; }
  .comic-hero h1 .hero-last-line { white-space: normal; }
  .comic-actions { display: grid; }
  .comic-button { width: 100%; min-height: 56px; padding: 0 18px; font-size: 21px; }
  .comic-hero__art { min-height: 390px; }
  .hero-portrait { width: min(78vw, 360px); border-width: 4px; box-shadow: 7px 8px 0 var(--ink); }
  .speech-card { width: 170px; min-height: 72px; top: 0; left: 0; }
  .speech-card span { display: none; }
  .comic-sticker--pow { right: 0; top: 18px; }
  .comic-sticker--meow { left: 0; bottom: 5px; }
  .comic-star { right: 2px; bottom: 18px; }
  .comic-features, .landing-command-preview { padding: 72px 0 82px; }
  .comic-features h2, .landing-command-preview h2 { font-size: 48px; }
  .feature-editorial-grid { grid-template-columns: 1fr; }
  .editorial-card { min-height: 300px; }
  .command-category-tabs { max-width: 100%; overflow-x: auto; }
  .command-preview-board article { min-height: 104px; padding: 14px; grid-template-columns: 40px minmax(0,1fr); gap: 12px; }
  .command-preview-index { width: 38px; height: 38px; }
  .command-preview-board em { grid-column: 2; width: fit-content; }
  .public-footer { padding: 22px 0; gap: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .comic-button, .public-sign-in, .premium-nav-pill, .locale-trigger, .theme-toggle, .profile-trigger { transition-duration: .01ms; }
  .landing-motion .editorial-card, .landing-motion .command-preview-board { opacity: 1; transform: none; transition: none; }
  .editorial-card:hover .editorial-number, .editorial-card:hover .editorial-icon { animation: none; }
}
