:root {
  --ink: #123844;
  --paper: #e8f1ec;
  --paper-deep: #d7e6df;
  --acid: #cfe56a;
  --acid-bright: #e8f49e;
  --rust: #e06b50;
  --sea: #62a9a7;
  --line: rgba(18, 56, 68, .16);
  --muted: #547079;
  --glass: rgba(255, 255, 255, .42);
  --glass-strong: rgba(255, 255, 255, .62);
  --glass-border: rgba(255, 255, 255, .7);
  --glass-shadow: 0 18px 55px rgba(36, 65, 47, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 3%, rgba(207,229,106,.42), transparent 27rem),
    radial-gradient(circle at 94% 24%, rgba(98,169,167,.34), transparent 25rem),
    radial-gradient(circle at 45% 100%, rgba(56,128,142,.2), transparent 32rem),
    var(--paper);
  background-attachment: fixed;
  font-family: "DM Sans", sans-serif;
}
.grain {
  position: fixed; inset: 0; pointer-events: none; opacity: .07; z-index: 10;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
button, a { font: inherit; }
button { color: inherit; }
.site-header, footer, main { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-header {
  position: sticky; top: 10px; z-index: 30; display: flex; justify-content: space-between; align-items: center;
  margin-top: 10px; padding: 10px 14px; border: 1px solid var(--glass-border); border-radius: 18px;
  background: rgba(244,248,237,.62); box-shadow: 0 10px 35px rgba(36,65,47,.09);
  backdrop-filter: blur(18px) saturate(135%); -webkit-backdrop-filter: blur(18px) saturate(135%);
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
}
.brand { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-size: 11px; }
.brand-logo { display: block; width: 122px; height: auto; }
.brand-lockup { display: inline-flex; align-items: center; gap: .24em; font-size: 15px; font-weight: 700; letter-spacing: -.045em; }
.brand-buoy-part { display: inline-flex; align-items: center; padding: .08em .3em .14em .25em; border-radius: .3em; background: var(--acid); box-shadow: 2px 2px 0 var(--rust); transform: rotate(-2deg); }
.brand-lockup b, .wordmark b { font: inherit; }
.buoy-letter {
  position: relative; display: inline-block; flex: 0 0 .72em; width: .72em; height: .72em; margin: 0 .015em;
  border: .055em solid var(--ink); border-radius: 50%; background: linear-gradient(to bottom, var(--rust) 0 49%, var(--paper) 49% 100%);
  transform: translateY(.045em);
}
.buoy-letter::before { content: ""; position: absolute; left: 50%; top: -.34em; width: .22em; height: .24em; border: .055em solid var(--ink); border-radius: 50%; transform: translateX(-50%); }
.buoy-letter::after { content: ""; position: absolute; left: .07em; right: .07em; top: 46%; height: .045em; border-radius: 999px; background: var(--ink); }
.brand-buoy-part .buoy-letter { margin-inline: .06em; border-width: .07em; }
.brand-mark {
  display: grid; place-items: center; width: 27px; height: 31px; color: var(--paper); background: var(--rust);
  border: 3px solid var(--paper); border-radius: 50%; box-shadow: 0 0 0 2px var(--rust), inset 0 0 0 2px rgba(18,56,68,.22);
  font-family: "DM Sans", sans-serif; font-size: 13px; font-weight: 700; transform: rotate(-4deg);
}
.header-actions { display: flex; align-items: center; gap: 24px; }
.edition { color: var(--muted); }
.header-account { display: flex; align-items: center; min-width: 0; }
.header-login-button, .header-user button { border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.36); font-size: 10px; font-weight: 700; letter-spacing: .1em; cursor: pointer; }
.header-login-button { padding: 8px 14px; }
.header-login-button:hover, .header-login-button:focus-visible, .header-user button:hover, .header-user button:focus-visible { color: var(--paper); background: var(--rust); border-color: var(--rust); outline: none; }
.header-user { display: flex; align-items: center; gap: 9px; min-width: 0; }
.header-user span { max-width: 240px; overflow: hidden; color: var(--muted); font-size: 10px; letter-spacing: .04em; text-overflow: ellipsis; white-space: nowrap; }
.header-user span::before { content: "●"; margin-right: 7px; color: #4e9d71; font-size: 8px; }
.header-user button { padding: 6px 10px; letter-spacing: .05em; }
.site-menu { position: relative; z-index: 20; }
.site-menu summary { list-style: none; cursor: pointer; padding: 9px 0 9px 12px; }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu summary span { display: inline-block; margin-left: 5px; transition: transform .2s ease; }
.site-menu[open] summary span { transform: rotate(180deg); }
.site-menu summary:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }
.menu-panel { position: absolute; top: calc(100% + 8px); right: 0; min-width: 230px; padding: 8px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(20,50,41,.92); box-shadow: 0 15px 35px rgba(16,41,31,.2); backdrop-filter: blur(18px); }
.menu-panel button, .menu-panel .menu-link { display: block; width: 100%; border: 0; padding: 13px 12px; color: var(--paper); background: transparent; text-align: left; text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .04em; cursor: pointer; }
.menu-panel button:hover, .menu-panel button:focus-visible, .menu-panel .menu-link:hover, .menu-panel .menu-link:focus-visible { background: var(--rust); outline: none; }
.menu-link span { float: right; }
.menu-account { margin-top: 7px; padding-top: 7px; border-top: 1px solid rgba(255,255,255,.18); }
.menu-account p { margin: 3px 12px 5px; color: var(--acid-bright); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.account-notice { width: min(620px, calc(100% - 32px)); display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin: 12px auto 0; padding: 11px 12px; border: 1px solid rgba(18,56,68,.16); border-radius: 14px; background: rgba(232,244,158,.9); box-shadow: 0 10px 30px rgba(36,65,47,.11); backdrop-filter: blur(14px); }
.account-notice-mark { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: var(--paper); background: var(--ink); font-weight: 700; }
.account-notice p { margin: 0; font-size: 12px; font-weight: 700; line-height: 1.35; }
.account-notice > button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; font-size: 22px; cursor: pointer; }
.account-notice > button:hover, .account-notice > button:focus-visible { color: var(--paper); background: var(--rust); outline: none; }
.list-editor { width: min(1040px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 1px solid var(--glass-border); border-radius: 24px; color: var(--ink); background: rgba(239,244,229,.92); box-shadow: 0 25px 70px rgba(16,41,31,.32); backdrop-filter: blur(24px); }
.list-editor::backdrop { background: rgba(16,41,31,.72); backdrop-filter: blur(4px); }
.list-editor form { padding: 34px; }
.editor-head { display: flex; justify-content: space-between; gap: 25px; margin-bottom: 28px; }
.editor-head h2 { margin-bottom: 8px; font-size: clamp(34px, 5vw, 55px); letter-spacing: -.045em; }
.editor-head p:last-child { margin-bottom: 0; color: var(--muted); }
.close-button { flex: 0 0 auto; align-self: start; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--glass); font-size: 28px; cursor: pointer; }
.close-button:hover { color: var(--paper); background: var(--rust); border-color: var(--rust); }
.editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.editor-grid label > span { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-weight: 700; }
.editor-grid small { color: var(--muted); font-weight: 500; }
.editor-grid textarea { width: 100%; resize: vertical; min-height: 235px; padding: 13px; border: 1px solid var(--glass-border); border-radius: 14px; color: var(--ink); background: rgba(255,255,255,.46); font: 14px/1.5 "DM Sans", sans-serif; }
.editor-grid textarea:focus { outline: 3px solid var(--acid); border-color: var(--ink); }
.editor-error { margin: 18px 0 0; color: var(--rust); font-weight: 700; }
.editor-actions { display: flex; justify-content: space-between; gap: 15px; margin-top: 24px; }
.editor-actions > div { display: flex; gap: 10px; }
.account-dialog { width: min(470px, calc(100% - 32px)); padding: 0; border: 1px solid var(--glass-border); border-radius: 24px; color: var(--ink); background: rgba(239,244,229,.94); box-shadow: 0 25px 70px rgba(16,41,31,.32); backdrop-filter: blur(24px); }
.account-dialog::backdrop { background: rgba(16,41,31,.72); backdrop-filter: blur(4px); }
.account-dialog form { position: relative; padding: 36px; }
.account-dialog .close-button { position: absolute; top: 22px; right: 22px; }
.account-mark { display: grid; place-items: center; width: 52px; height: 58px; margin-bottom: 24px; border-radius: 16px; color: var(--paper); background: linear-gradient(135deg, var(--rust), #df7657); box-shadow: 4px 4px 0 var(--ink); font-size: 25px; font-weight: 700; transform: rotate(-3deg); }
.account-dialog h2 { margin-bottom: 10px; font-size: 42px; letter-spacing: -.04em; }
.account-dialog > form > p:not(.kicker):not(.editor-error):not(.privacy-note) { color: var(--muted); line-height: 1.5; }
.account-dialog label { display: block; margin-top: 18px; font-weight: 700; }
.account-dialog label span { display: block; margin-bottom: 7px; }
.account-dialog input:not([type="checkbox"]) { width: 100%; padding: 13px 14px; border: 1px solid var(--glass-border); border-radius: 12px; color: var(--ink); background: rgba(255,255,255,.56); font: inherit; }
.account-dialog input:focus { outline: 3px solid var(--acid); outline-offset: 2px; border-color: var(--ink); }
.field-hint { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; font-weight: 500; }
.forgot-password-button { display: block; margin: 8px 0 0 auto; padding: 3px 0; border: 0; color: var(--rust); background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.forgot-password-button:hover, .forgot-password-button:focus-visible { color: var(--ink); outline-offset: 3px; }
.account-dialog .marketing-choice { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; margin-top: 20px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.28); cursor: pointer; }
.account-dialog .marketing-choice input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--rust); }
.account-dialog .marketing-choice span { margin: 0; color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.45; }
.account-choice-hint { margin: 18px 0 0; padding: 11px 13px; border-left: 3px solid var(--acid); color: var(--muted); background: rgba(255,255,255,.26); font-size: 12px; line-height: 1.5; }
.account-choice-hint strong { color: var(--ink); }
.account-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.privacy-note { margin: 18px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; text-align: center; }
.privacy-note a { color: inherit; text-underline-offset: 2px; }
.hero {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); column-gap: 55px;
  align-items: end; padding: 38px 0 34px; max-width: none;
}
.eyebrow, .kicker { font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.eyebrow { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; margin-bottom: 13px; color: var(--rust); }
.eyebrow span { width: 31px; height: 2px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Fraunces, serif; }
.hero-lockup { align-self: end; }
.wordmark-logo { width: min(650px, 100%); margin: -12px 0 -8px; line-height: 0; }
.wordmark-logo img { display: block; width: 100%; height: auto; }
.wordmark {
  display: inline-flex; align-items: baseline; margin: 0; font-size: clamp(58px, 7.6vw, 96px);
  line-height: .78; letter-spacing: -.08em; isolation: isolate; font-family: "DM Sans", sans-serif; font-weight: 700;
}
.wordmark > span { position: relative; z-index: 1; }
.wordmark > span::after {
  content: ""; position: absolute; z-index: -1; left: 3%; right: -2%; bottom: -7px;
  height: 10px; background: var(--acid); transform: rotate(-1.5deg); border-radius: 50%;
}
.wordmark em {
  display: inline-flex; align-items: center; margin-left: .07em; padding: .04em .12em .08em .08em; color: var(--ink);
  background: linear-gradient(135deg, var(--acid), var(--acid-bright)); border-radius: .18em; font-size: .72em; font-weight: 700; letter-spacing: -.06em;
  transform: rotate(-2deg) translateY(-.04em); box-shadow: 4px 4px 0 var(--rust);
}
.wordmark em .buoy-letter { margin-left: .1em; margin-right: -.14em; }
.strapline { margin: 20px 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #397d87; }
.intro { max-width: 400px; margin: 0 0 3px; padding-left: 22px; border-left: 2px solid var(--acid); font-size: 15px; line-height: 1.55; color: var(--muted); }
.quest { margin-bottom: 28px; padding: 25px; border: 1px solid var(--glass-border); border-radius: 28px; background: var(--glass); box-shadow: var(--glass-shadow); backdrop-filter: blur(16px) saturate(120%); -webkit-backdrop-filter: blur(16px) saturate(120%); }
.journey-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 26px; }
.kicker { margin-bottom: 8px; color: var(--rust); }
.journey-head h2, .recipe h2 { margin-bottom: 0; font-size: clamp(32px, 4vw, 52px); letter-spacing: -.04em; }
.progress-label { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 0; }
.step { margin-bottom: 8px; border: 1px solid rgba(255,255,255,.58); border-radius: 15px; background: rgba(255,255,255,.26); transition: background .3s ease, transform .3s ease; overflow: hidden; }
.step-button { width: 100%; min-height: 86px; display: grid; grid-template-columns: 72px 1fr 1fr; align-items: center; text-align: left; border: 0; background: transparent; padding: 14px 18px 14px 0; }
.step-number { font-family: Fraunces, serif; font-size: 24px; color: var(--muted); }
.step strong { display: block; font-family: Fraunces, serif; font-size: 22px; }
.step small { display: block; margin-top: 4px; color: var(--muted); }
.step-value { justify-self: end; font-weight: 700; color: var(--muted); }
.step.active { background: linear-gradient(135deg, rgba(207,229,106,.9), rgba(141,206,182,.64)); transform: translateX(4px); }
.step.active .step-button { padding-left: 18px; }
.step.active .step-number, .step.active .step-value { color: var(--ink); }
.step.complete .step-value { color: var(--rust); }
.step.complete .step-value::before { content: "✓ "; }
.oracle { display: grid; grid-template-columns: minmax(300px, .9fr) 1.1fr; align-items: center; gap: 70px; padding: 30px; border: 1px solid rgba(255,255,255,.56); border-radius: 24px; background: rgba(255,255,255,.22); }
.die-wrap { display: grid; place-items: center; position: relative; min-height: 300px; }
.die-button { position: relative; z-index: 2; width: min(320px, 100%); border: 0; padding: 0; background: transparent; cursor: pointer; filter: drop-shadow(0 18px 9px rgba(16,41,31,.14)); transition: transform .25s ease, filter .25s ease; transform-origin: 50% 85%; }
.die-button:hover { transform: translateY(-7px) rotate(-2deg); }
.die-button:focus-visible { outline: 4px solid var(--rust); outline-offset: 8px; border-radius: 50%; }
.d20-canvas { display: block; width: 100%; aspect-ratio: 1; }
.die-button.rolling { animation: die-hop-3d 1.35s cubic-bezier(.2,.72,.25,1) both; filter: drop-shadow(0 9px 6px rgba(16,41,31,.12)); }
.die-shadow { width: 65%; height: 18px; margin-top: -10px; border-radius: 50%; background: rgba(16,41,31,.2); filter: blur(8px); transform-origin: center; }
.die-button.rolling + .die-shadow { animation: die-shadow-roll 1.35s ease-out both; }
@keyframes die-hop-3d {
  0% { transform: translateY(0) scale(1); }
  16% { transform: translateY(-38px) scale(.95); }
  43% { transform: translateY(-24px) scale(1.015); }
  68% { transform: translateY(-5px) scale(.985, 1.025); }
  76% { transform: translateY(2px) scale(1.055, .94); }
  86% { transform: translateY(-8px) scale(.985, 1.015); }
  94% { transform: translateY(0) scale(1.018, .98); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes die-shadow-roll {
  0%, 100% { transform: scaleX(1); opacity: 1; }
  20% { transform: scaleX(.54); opacity: .35; }
  48% { transform: scaleX(.68); opacity: .52; }
  74% { transform: scaleX(1.13); opacity: .95; }
  85% { transform: scaleX(.87); opacity: .7; }
}
.oracle-copy { max-width: 470px; }
.oracle-copy h3 { margin: 10px 0 12px; font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: -.045em; }
.oracle-copy > p:not(.kicker):not(.keyboard-hint) { color: var(--muted); line-height: 1.6; }
.action-button, .secondary-button { border: 1px solid var(--ink); border-radius: 999px; padding: 16px 20px; font-size: 12px; font-weight: 700; letter-spacing: .13em; cursor: pointer; transition: .2s ease; }
.action-button { background: linear-gradient(135deg, var(--ink), #265d4d); color: var(--paper); box-shadow: 0 8px 20px rgba(20,50,41,.16); }
.action-button span { margin-left: 28px; font-size: 18px; }
.action-button:hover { background: var(--rust); border-color: var(--rust); }
.secondary-button { border-color: var(--line); background: var(--glass); backdrop-filter: blur(8px); }
.secondary-button:hover { background: var(--paper-deep); }
.secondary-button:disabled { cursor: wait; opacity: .62; }
.keyboard-hint { margin: 12px 0 0; font-size: 11px; color: var(--muted); }
kbd { border: 1px solid var(--line); padding: 2px 6px; border-radius: 3px; background: var(--paper-deep); }
.recipe { margin-bottom: 28px; padding: 38px; border: 1px solid var(--glass-border); border-radius: 28px; background: var(--glass); box-shadow: var(--glass-shadow); backdrop-filter: blur(16px); }
.recipe-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 38px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.recipe-card { min-height: 160px; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.18); }
.recipe-card span { font-size: 10px; font-weight: 700; letter-spacing: .15em; color: var(--rust); }
.recipe-card strong { display: block; margin-top: 26px; font: 700 27px/1.05 Fraunces, serif; }
.recipe-line { max-width: 800px; margin: 35px 0; font: 700 clamp(25px, 3vw, 38px)/1.25 Fraunces, serif; }
.reroll-notice { max-width: 800px; margin: -14px 0 25px; padding: 12px 15px; border-left: 3px solid var(--rust); color: var(--ink); background: rgba(207,229,106,.3); font-size: 13px; font-weight: 700; line-height: 1.45; }
.recipe.rerolling .recipe-card:last-child { animation: wildcard-search 1.35s ease-in-out both; }
.recipe.reroll-complete .recipe-card:last-child { animation: wildcard-land .65s cubic-bezier(.2,.8,.3,1) both; }
@keyframes wildcard-search {
  0%, 100% { opacity: 1; transform: translateY(0); }
  35% { opacity: .42; transform: translateY(-5px); }
  68% { opacity: .72; transform: translateY(2px); }
}
@keyframes wildcard-land {
  0% { background: rgba(207,229,106,.72); transform: scale(.97); }
  55% { background: rgba(207,229,106,.42); transform: scale(1.025); }
  100% { background: rgba(255,255,255,.18); transform: scale(1); }
}
.recipe-actions { display: flex; gap: 12px; flex-wrap: wrap; }
footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding: 20px 0 30px; font-size: 10px; font-weight: 700; letter-spacing: .15em; color: var(--muted); }
.site-footer { align-items: center; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--rust); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
@media (min-width: 1060px) {
  .quest {
    display: grid; grid-template-columns: minmax(380px, .84fr) minmax(460px, 1.16fr);
    grid-template-rows: auto 1fr; column-gap: clamp(28px, 3.5vw, 52px); align-items: start;
  }
  .journey-head { grid-column: 1; grid-row: 1; }
  .steps { grid-column: 1; grid-row: 2; }
  .step-button { grid-template-columns: 54px minmax(145px, 1fr) minmax(125px, .82fr); }
  .step strong { font-size: 19px; }
  .step-value { max-width: 190px; text-align: right; font-size: 13px; line-height: 1.3; }
  .oracle {
    grid-column: 2; grid-row: 1 / span 2; align-self: center; grid-template-columns: minmax(195px, .82fr) minmax(215px, 1.18fr);
    gap: clamp(20px, 2.5vw, 38px); padding: 24px;
  }
  .die-button { width: min(280px, 100%); }
  .oracle-copy h3 { font-size: clamp(40px, 4vw, 58px); }
}
@media (max-width: 760px) {
  .site-header, footer, main { width: min(100% - 28px, 1180px); }
  .edition { display: none; }
  .header-actions { gap: 4px; }
  .header-login-button { padding: 7px 10px; }
  .header-user { gap: 5px; }
  .header-user span { max-width: min(29vw, 130px); font-size: 8px; }
  .header-user span::before { margin-right: 4px; }
  .header-user button { padding: 5px 7px; font-size: 8px; }
  .site-header { top: 6px; margin-top: 6px; padding: 7px 10px 6px; border-radius: 13px; }
  .brand-lockup { font-size: 13px; }
  .brand-logo { width: 104px; }
  .brand-mark { width: 24px; height: 27px; font-size: 15px; }
  .site-menu summary { padding-block: 4px; }
  .hero { display: block; padding: 15px 0 13px; }
  .eyebrow, .intro { display: none; }
  .wordmark-logo { width: min(310px, 82vw); margin: -6px 0 -5px; }
  .wordmark { font-size: clamp(43px, 13vw, 60px); }
  .wordmark span::after { bottom: -3px; height: 6px; }
  .wordmark em { box-shadow: 3px 3px 0 var(--ink); }
  .strapline { margin: 11px 0 0 2px; font-size: 8px; letter-spacing: .12em; }
  .quest { margin-bottom: 14px; padding: 12px; border-radius: 18px; }
  .journey-head { align-items: center; margin-bottom: 8px; }
  .journey-head .kicker { display: none; }
  .journey-head h2 { font-size: 25px; }
  .progress-label { font-size: 9px; }
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); }
  .step { min-width: 0; margin: 0; border-right: 1px solid var(--line); border-radius: 0; }
  .step:first-child { border-radius: 10px 0 0 10px; }
  .step:last-child { border-radius: 0 10px 10px 0; }
  .step.active { transform: none; }
  .step-button { min-height: 76px; display: block; padding: 7px 4px; text-align: center; }
  .step.active .step-button { padding: 7px 5px; }
  .step-number { display: block; font-size: 15px; line-height: 1; }
  .step strong { margin-top: 5px; overflow: hidden; font-family: "DM Sans", sans-serif; font-size: 9px; line-height: 1.1; letter-spacing: .04em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
  .step small, .step-value { display: none; }
  .step.complete .step-value { display: -webkit-box; max-width: none; margin-top: 5px; overflow: hidden; color: var(--rust); font-size: 8px; line-height: 1.18; text-align: center; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .step.complete .step-value::before { content: none; }
  .oracle { grid-template-columns: 1fr; gap: 4px; padding: 12px 0 0; border: 0; border-radius: 0; background: transparent; text-align: center; }
  .oracle-copy { margin: auto; }
  .die-button { width: 142px; }
  .die-wrap { min-height: 138px; }
  .die-shadow { width: 105px; height: 10px; margin-top: -4px; }
  .oracle-copy .kicker, .oracle-copy > p:not(.keyboard-hint) { display: none; }
  .oracle-copy h3 { margin: 3px 0 9px; font-size: 26px; line-height: 1; }
  .oracle-copy .action-button { padding: 11px 15px; }
  .keyboard-hint { margin-top: 7px; font-size: 9px; }
  .recipe-grid { grid-template-columns: 1fr 1fr; }
  .recipe { padding: 24px 16px 34px; border-radius: 18px; }
  .list-editor form { padding: 22px; }
  .account-dialog form { padding: 26px 20px; }
  .account-dialog h2 { font-size: 34px; }
  .account-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .account-actions button { width: 100%; padding-inline: 12px; }
  .site-footer { justify-content: center; text-align: center; }
  .site-footer nav { order: 3; width: 100%; justify-content: center; }
  .editor-grid { grid-template-columns: 1fr; }
  .editor-actions { align-items: stretch; flex-direction: column-reverse; }
  .editor-actions > div { display: grid; grid-template-columns: 1fr 1fr; }
  .editor-actions button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.reset-page { min-height: 100vh; }
.reset-home-link { color: var(--ink); font-size: 10px; text-decoration: none; }
.reset-home-link:hover, .reset-home-link:focus-visible { color: var(--rust); }
.reset-main { display: grid; place-items: center; min-height: calc(100vh - 85px); padding-block: 36px; }
.reset-card { width: min(500px, 100%); padding: 38px; border: 1px solid var(--glass-border); border-radius: 26px; background: var(--glass-strong); box-shadow: var(--glass-shadow); backdrop-filter: blur(18px); }
.reset-card h1 { margin-bottom: 12px; font-size: clamp(42px, 7vw, 62px); line-height: .96; letter-spacing: -.05em; }
.reset-card > p:not(.kicker) { color: var(--muted); line-height: 1.55; }
.reset-card form label { display: block; margin-top: 18px; font-weight: 700; }
.reset-card form label span, .reset-card form small { display: block; margin-bottom: 7px; }
.reset-card form small { margin-top: 6px; color: var(--muted); font-weight: 500; }
.reset-card input { width: 100%; padding: 13px 14px; border: 1px solid var(--glass-border); border-radius: 12px; color: var(--ink); background: rgba(255,255,255,.56); font: inherit; }
.reset-card input:focus { outline: 3px solid var(--acid); outline-offset: 2px; border-color: var(--ink); }
.reset-card form .action-button { width: 100%; margin-top: 24px; }
.reset-success { padding-top: 16px; }
.reset-success strong { font-family: Fraunces, serif; font-size: 25px; }
.reset-success p { margin: 9px 0 24px; color: var(--muted); line-height: 1.55; }
.reset-success .action-button { display: inline-block; text-decoration: none; }
@media (max-width: 760px) {
  .reset-main { min-height: auto; padding-block: 24px; }
  .reset-card { padding: 26px 20px; border-radius: 20px; }
}
