:root {
  --ink: #1c1b19;
  --paper: #eaf4ff;
  --coral: #ff4772;
  --butter: #ffdb45;
  --blue: #4935ff;
  --mint: #00c99b;
  --lilac: #a75cff;
  --line: rgba(28, 27, 25, 0.18);
  --shadow: 0 28px 70px rgba(42, 34, 22, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background-color: var(--paper);
  background-image: linear-gradient(135deg, #f8fcff 0%, #dff4ff 42%, #eadcff 100%);
  background-attachment: fixed;
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}
button, input { font: inherit; }
button { color: inherit; }

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  z-index: 20;
  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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}
.luck-field { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.luck-field::before { content: ""; position: absolute; inset: -18%; background: radial-gradient(circle at 78% 20%, rgba(255,219,69,.58), transparent 25%), radial-gradient(circle at 18% 72%, rgba(0,201,155,.3), transparent 28%), radial-gradient(circle at 52% 44%, rgba(167,92,255,.24), transparent 30%), conic-gradient(from 120deg at 65% 40%, transparent, rgba(73,53,255,.13), transparent 30%); animation: aura-shift 18s ease-in-out infinite alternate; }
.luck-field::after { content:""; position:absolute; inset:0; opacity:.22; background-image:linear-gradient(rgba(73,53,255,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(73,53,255,.12) 1px,transparent 1px); background-size:54px 54px; mask-image:linear-gradient(to bottom,transparent,black 20%,black 80%,transparent); }
.luck-field i { position: absolute; left: var(--x); top: var(--y); color: var(--blue); opacity: .12; text-shadow:0 0 22px rgba(73,53,255,.22); font: 700 clamp(24px, 4vw, 58px) "DM Mono", monospace; font-style: normal; animation: luck-drift calc(14s + var(--i) * .8s) ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.9s); }
.luck-marquee { position: absolute; left: 0; width: max-content; display: flex; color: var(--blue); opacity: .11; font: 500 12px "DM Mono", monospace; letter-spacing: .22em; white-space: nowrap; }
.luck-marquee-top { top: 18%; animation: luck-scroll 42s linear infinite; transform: rotate(-4deg); transform-origin: left; }
.chance-line { position: absolute; width: 42vw; height: 42vw; border: 2px dashed rgba(73,53,255,.1); border-radius: 50%; }
.chance-line-one { right: -17vw; top: 26%; }
.chance-line-two { left: -20vw; bottom: -10%; }
@keyframes luck-drift { from { transform: translate3d(-8px,-10px,0) rotate(-8deg); } to { transform: translate3d(18px,26px,0) rotate(12deg); } }
@keyframes luck-scroll { to { translate: -50% 0; } }
@keyframes aura-shift { to { transform:translate3d(5%,3%,0) rotate(3deg) scale(1.06); } }

.site-header {
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.04em;
}
.brand-mark {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
}
.header-note { margin: 0; font-size: 13px; color: rgba(28,27,25,.6); }
.all-tools-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--ink); color: inherit; text-decoration: none; font: 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
.all-tools-link span { color: var(--coral); }
.header-actions { display:flex; align-items:center; gap:22px; }
.home-link { display:inline-flex; align-items:center; gap:7px; padding:8px 0; color:inherit; text-decoration:none; font:10px "DM Mono",monospace; text-transform:uppercase; letter-spacing:.08em; }
.home-link span { color:var(--blue); font-size:15px; transition:transform .2s ease; }
.home-link:hover span { transform:translateX(-4px); }

.hero {
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  min-height: 780px;
  display: grid;
  grid-template-columns: minmax(390px, .82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: clamp(50px, 6vw, 110px);
  padding: 70px 0 92px;
}
.eyebrow {
  margin: 0 0 16px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
}
h1 {
  margin: 0;
  font-size: clamp(62px, 6vw, 100px);
  line-height: .88;
  letter-spacing: -.075em;
  font-weight: 800;
}
.hero-subtitle {
  max-width: 510px;
  margin: 29px 0 35px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(28,27,25,.68);
}
.decision-card {
  max-width: 510px;
  padding: 23px;
  border: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: rgba(234,244,255,.58);
  box-shadow: none;
}
.decision-card > label, .options-heading {
  display: flex;
  justify-content: space-between;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .11em;
  text-transform: uppercase;
}
#question {
  width: 100%;
  padding: 11px 0 15px;
  border: 0;
  border-bottom: 1px solid var(--line);
  outline: 0;
  background: transparent;
  font-weight: 700;
  font-size: 18px;
}
#question:focus { border-color: var(--ink); }
.options-heading { margin: 21px 0 10px; align-items: center; }
.text-button { border: 0; padding: 0; background: transparent; font-size: 9px; cursor: pointer; opacity: .55; text-decoration: underline; }
.options-list { display: grid; gap: 7px; }
.option-row { display: grid; grid-template-columns: 30px 1fr 30px; align-items: center; gap: 8px; }
.option-number {
  font: 10px "DM Mono", monospace;
  opacity: .5;
  text-align: center;
}
.option-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.55);
  padding: 9px 11px;
  outline: 0;
}
.option-input:focus { border-color: var(--ink); background: white; }
.remove-option {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  opacity: .45;
  font-size: 18px;
}
.remove-option:hover { background: rgba(28,27,25,.08); opacity: 1; }
.add-option {
  width: 100%;
  margin-top: 10px;
  padding: 9px;
  border: 1px dashed rgba(28,27,25,.3);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}
.add-option:hover { border-color: var(--ink); background: rgba(255,255,255,.4); }

.wheel-stage { position: relative; min-width: 0; display: grid; place-items: center; padding-top: 10px; }
.wheel-wrap {
  width: min(46vw, 660px);
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 26px 28px rgba(61,43,23,.14));
}
#wheel { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 1; transform: rotate(0deg); }
.pointer {
  position: absolute;
  z-index: 4;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 55px;
  background: var(--ink);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}
.spin-button {
  position: absolute;
  z-index: 3;
  width: 132px;
  aspect-ratio: 1;
  border: 3px solid var(--paper);
  outline: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, background .2s;
}
.spin-button:hover { transform: scale(1.06) rotate(-3deg); background: #32302c; }
.spin-button:active { transform: scale(.96); }
.spin-button:disabled { cursor: wait; }
.spin-button span { font-weight: 800; font-size: 25px; letter-spacing: -.04em; }
.spin-button small { font: 10px "DM Mono", monospace; opacity: .68; }
.wheel-hint { margin: 18px 0 0; font: 11px "DM Mono", monospace; opacity: .6; }
.orbit-note { position: absolute; z-index: 2; font: 10px "DM Mono", monospace; letter-spacing: .1em; }
.orbit-note-one { top: 7%; right: -2%; transform: rotate(8deg); }
.orbit-note-two { bottom: 14%; left: -3%; transform: rotate(-7deg); }

.how-it-works {
  padding: 100px max(32px, calc((100vw - 1440px) / 2));
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 100px;
  color: var(--paper);
  background: var(--ink);
}
.how-it-works h2 { margin: 0; font-size: clamp(48px, 5vw, 76px); line-height: .98; letter-spacing: -.065em; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 55px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid rgba(247,243,235,.18); }
.steps li:last-child { border-bottom: 1px solid rgba(247,243,235,.18); }
.steps span { font: 12px "DM Mono", monospace; color: var(--coral); }
.steps h3 { margin: 0 0 4px; font-size: 20px; }
.steps p { margin: 0; color: rgba(247,243,235,.58); line-height: 1.6; font-size: 14px; }

footer {
  display: flex;
  justify-content: space-between;
  padding: 24px max(32px, calc((100vw - 1440px) / 2));
  font: 10px "DM Mono", monospace;
  letter-spacing: .08em;
}
.footer-links { display:flex;gap:16px;align-items:center;flex-wrap:wrap; }.footer-links a,.privacy-settings-button { color:inherit;text-decoration:none;border:0;border-bottom:1px solid var(--line);background:none;padding:0;font:inherit;letter-spacing:inherit;cursor:pointer; }
.footer-links a:hover,.privacy-settings-button:hover { color:var(--coral); }
.legal-page { width:min(1200px,calc(100% - 64px));margin:0 auto;padding:100px 0 120px; }.legal-page h1 { font-size:clamp(70px,9vw,130px); }.legal-copy { max-width:720px;margin:75px 0 0 auto; }.legal-copy p,.legal-copy li { color:rgba(28,27,25,.67);font-size:15px;line-height:1.8; }.legal-copy h2 { margin:48px 0 10px;font-size:30px;letter-spacing:-.04em; }.legal-copy a { color:var(--ink);text-decoration-thickness:1px;text-underline-offset:3px; }.legal-copy li + li { margin-top:9px; }
.guide-index { width:min(1200px,calc(100% - 64px));margin:0 auto;padding:100px 0 120px; }.guide-index h1 { max-width:1050px;font-size:clamp(70px,9vw,130px); }.guide-deck { max-width:650px;margin:42px 0 70px auto;color:rgba(28,27,25,.64);font-size:18px;line-height:1.7; }.guide-list { max-width:900px;margin-left:auto;border-top:2px solid var(--ink); }.guide-list a { min-height:84px;display:grid;grid-template-columns:42px 1fr 240px;gap:18px;align-items:center;border-bottom:1px solid var(--line);color:inherit;text-decoration:none; }.guide-list a:hover strong { color:var(--coral); }.guide-list span { font:9px "DM Mono",monospace;opacity:.45; }.guide-list strong { font-size:23px;letter-spacing:-.035em;transition:color .2s; }.guide-list small { color:rgba(28,27,25,.48);font-size:12px; }
.article-page { width:min(1180px,calc(100% - 64px));margin:0 auto;padding:45px 0 120px; }.breadcrumbs { display:flex;gap:8px;margin-bottom:85px;font:9px "DM Mono",monospace;text-transform:uppercase;letter-spacing:.07em; }.breadcrumbs a { color:inherit;text-decoration:none;border-bottom:1px solid var(--line); }.breadcrumbs span { opacity:.4; }.article-page article { max-width:790px;margin:0 auto; }.article-page h1 { margin-bottom:42px;font-size:clamp(58px,7vw,98px); }.article-lead { margin-bottom:55px!important;color:var(--ink)!important;font-size:21px!important;line-height:1.65!important; }.article-page h2 { margin:55px 0 14px;font-size:32px;letter-spacing:-.045em; }.article-page article > p,.article-page li { color:rgba(28,27,25,.68);font-size:16px;line-height:1.85; }.article-page li + li { margin-top:8px; }.article-cta { margin:55px 0;padding:28px 0;border-top:2px solid var(--ink);border-bottom:1px solid var(--ink); }.article-cta p { margin:0 0 8px!important;font:9px "DM Mono",monospace!important;letter-spacing:.1em;color:rgba(28,27,25,.5)!important;text-transform:uppercase; }.article-cta a { color:var(--coral);font-size:22px;font-weight:800;text-decoration:none; }

/* Coin flip */
.coin-hero {
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  min-height: 800px;
  padding: 68px 0 90px;
  display: grid;
  grid-template-columns: minmax(410px, .86fr) minmax(500px, 1.14fr);
  align-items: center;
  gap: clamp(55px, 7vw, 120px);
  overflow: hidden;
}
.coin-copy h1 { font-size: clamp(58px, 5.8vw, 94px); }
.coin-settings { max-width: 500px; padding: 22px 0; border: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); border-radius: 0; box-shadow: none; background: rgba(234,244,255,.48); }
.settings-title { margin: 0 0 13px; font: 10px "DM Mono", monospace; letter-spacing: .12em; }
.coin-settings label { display: grid; grid-template-columns: 34px 92px 1fr; gap: 9px; align-items: center; padding: 8px 0; font-size: 12px; }
.coin-settings label + label { border-top: 1px solid var(--line); }
.coin-settings input { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.55); outline: 0; font-weight: 700; }
.coin-settings input:focus { border-color: var(--ink); background: white; }
.side-dot { width: 28px; height: 28px; display: inline-grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--ink); border-radius: 50%; font: 10px "DM Mono", monospace; font-style: normal; }
.heads-dot { background: var(--butter); }
.tails-dot { color: white; background: var(--blue); }
.coin-arena { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; perspective: 1200px; }
.coin {
  position: relative;
  z-index: 2;
  width: min(31vw, 420px);
  aspect-ratio: 1;
  transform-style: preserve-3d;
  transition: transform 1.6s cubic-bezier(.18,.72,.16,1);
}
.coin.in-flight { animation: coin-hop 1.6s cubic-bezier(.25,.7,.18,1); }
.coin-face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; border: 7px solid var(--ink); border-radius: 50%; backface-visibility: hidden; box-shadow: inset 0 0 0 9px rgba(255,255,255,.28), inset 0 0 0 13px var(--ink); }
.coin-heads { color: var(--ink); background: var(--butter); }
.coin-tails { color: white; background: var(--blue); transform: rotateY(180deg); }
.coin-rim { position: absolute; inset: 28px; border: 2px dashed currentColor; border-radius: 50%; opacity: .45; }
.coin-letter { font-size: clamp(110px, 13vw, 190px); font-weight: 800; line-height: .78; letter-spacing: -.08em; }
.coin-face small { margin-top: 24px; font: 12px "DM Mono", monospace; letter-spacing: .22em; }
.coin-shadow { position: absolute; top: min(31vw, 420px); width: min(24vw, 330px); height: 35px; border-radius: 50%; background: rgba(28,27,25,.16); filter: blur(12px); transform: translateY(-8px); }
.coin.in-flight + .coin-result { opacity: .7; }
.coin-result { min-height: 70px; margin-top: 28px; text-align: center; transition: .25s ease; }
.coin-result span { display: block; margin-bottom: 7px; font: 10px "DM Mono", monospace; letter-spacing: .12em; opacity: .55; }
.coin-result strong { display: block; max-width: 500px; font-size: clamp(24px, 3vw, 38px); line-height: 1; letter-spacing: -.045em; overflow-wrap: anywhere; }
.coin-result.revealed strong { color: var(--coral); }
.flip-button { width: min(330px, 90%); margin-top: 12px; padding: 16px 22px; display: flex; flex-direction: column; align-items: center; border: 1px solid var(--ink); border-radius: 12px; color: var(--paper); background: var(--ink); box-shadow: 5px 5px 0 var(--coral); cursor: pointer; transition: .2s ease; }
.flip-button:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--coral); }
.flip-button:active { transform: translate(3px,3px); box-shadow: 2px 2px 0 var(--coral); }
.flip-button:disabled { cursor: wait; }
.flip-button span { font-weight: 800; letter-spacing: .02em; }
.flip-button small { margin-top: 3px; opacity: .55; font: 9px "DM Mono", monospace; }
.keyboard-hint { margin: 18px 0 0; font: 10px "DM Mono", monospace; opacity: .5; }
kbd { padding: 2px 5px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,.5); }
.coin-orbit { position: absolute; z-index: 3; font: 10px "DM Mono", monospace; letter-spacing: .12em; }
.coin-orbit-one { top: 9%; left: 1%; transform: rotate(-9deg); }
.coin-orbit-two { top: 18%; right: 1%; transform: rotate(9deg); }
@keyframes coin-hop { 0%,100% { translate: 0 0; } 42% { translate: 0 -82px; } }

.flip-ledger { padding: 100px max(32px, calc((100vw - 1440px) / 2)); display: grid; grid-template-columns: .85fr 1.15fr; gap: 110px; color: var(--paper); background: var(--ink); }
.flip-ledger h2 { margin: 0 0 28px; font-size: clamp(48px, 5vw, 76px); line-height: .98; letter-spacing: -.065em; }
.ledger-clear { padding: 0; border: 0; border-bottom: 1px solid rgba(247,243,235,.45); color: inherit; background: transparent; cursor: pointer; font: 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
.scoreboard { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; margin-bottom: 36px; }
.scoreboard > div:not(.score-divider) { display: flex; flex-direction: column; align-items: center; }
.scoreboard strong { font-size: clamp(56px, 7vw, 96px); line-height: 1; }
.scoreboard span { margin-top: 7px; font: 10px "DM Mono", monospace; letter-spacing: .13em; opacity: .55; }
.score-divider { font-size: 36px; opacity: .25; }
.flip-history { margin: 0; padding: 0; list-style: none; }
.flip-history li { display: grid; grid-template-columns: 32px 34px 1fr auto; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(247,243,235,.16); }
.flip-history li > span, .flip-history small { font: 9px "DM Mono", monospace; opacity: .45; text-transform: uppercase; }
.flip-history strong { font-size: 14px; }
.flip-history .side-dot { color: var(--ink); }
.flip-history .tails-dot { color: white; }
.flip-history .empty-history { display: block; padding: 28px 0; color: rgba(247,243,235,.45); font-size: 13px; }

/* Magic 8 Ball */
.magic-hero {
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  min-height: 820px;
  padding: 68px 0 90px;
  display: grid;
  grid-template-columns: minmax(410px, .86fr) minmax(500px, 1.14fr);
  align-items: center;
  gap: clamp(55px, 7vw, 120px);
  overflow: hidden;
}
.magic-copy h1 { font-size: clamp(62px, 6vw, 98px); }
.magic-question-card { max-width: 510px; padding: 22px 0; border: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); border-radius: 0; box-shadow: none; background: rgba(234,244,255,.48); }
.magic-question-card label { display: block; margin-bottom: 11px; font: 10px "DM Mono", monospace; letter-spacing: .11em; }
.magic-question-card textarea { width: 100%; resize: none; padding: 13px; border: 1px solid var(--line); border-radius: 9px; outline: 0; background: rgba(255,255,255,.55); font-size: 17px; line-height: 1.45; font-weight: 650; }
.magic-question-card textarea:focus { border-color: var(--ink); background: white; }
.magic-question-card textarea::placeholder { color: rgba(28,27,25,.35); }
.question-meta { display: flex; justify-content: space-between; margin-top: 10px; font: 8px "DM Mono", monospace; letter-spacing: .08em; opacity: .48; }
.magic-arena { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.magic-ball { position: relative; z-index: 2; width: min(36vw, 490px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 38% 28%, #454648 0, #17181a 26%, #070708 68%, #010101 100%); box-shadow: inset -38px -45px 70px #000, inset 18px 16px 30px rgba(255,255,255,.11), 0 38px 45px rgba(38,29,18,.2); transform-origin: 50% 85%; }
.ball-glare { position: absolute; top: 10%; left: 17%; width: 27%; height: 14%; border-radius: 50%; background: radial-gradient(ellipse, rgba(255,255,255,.26), transparent 70%); transform: rotate(-33deg); filter: blur(3px); }
.answer-window { position: relative; width: 54%; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border: 8px solid #050506; border-radius: 50%; background: radial-gradient(circle, #14133e 0, #060614 68%, #000 100%); box-shadow: inset 0 0 28px #000, 0 0 0 2px #34343a; }
.answer-depth { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(65,80,255,.14), transparent 65%); }
.answer-die { position: relative; width: 78%; aspect-ratio: 1; display: grid; place-items: center; color: #edf1ff; background: #334cf0; clip-path: polygon(50% 3%, 96% 84%, 4% 84%); filter: drop-shadow(0 0 18px rgba(68,91,255,.8)); transition: opacity .35s ease, transform .65s ease, background .35s; }
.answer-die span { width: 60%; margin-top: 9%; text-align: center; font: 700 clamp(14px, 1.55vw, 21px)/1.05 "DM Mono", monospace; text-transform: uppercase; overflow-wrap: anywhere; }
.answer-die.thinking { opacity: .32; transform: scale(.72) rotate(38deg); }
.answer-die.revealed { animation: answer-rise .7s ease both; }
.answer-die.maybe { background: #624bd4; }
.answer-die.no { background: #2944b6; }
.magic-shadow { width: min(28vw, 380px); height: 35px; margin-top: -4px; border-radius: 50%; background: rgba(28,27,25,.18); filter: blur(13px); }
.magic-ball.shaking { animation: magic-shake 1.25s cubic-bezier(.36,.07,.19,.97); }
.shake-button { width: min(350px, 92%); margin-top: 22px; padding: 16px 22px; display: flex; flex-direction: column; align-items: center; border: 1px solid var(--ink); border-radius: 12px; color: var(--paper); background: var(--ink); box-shadow: 5px 5px 0 var(--blue); cursor: pointer; transition: .2s ease; }
.shake-button:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--blue); }
.shake-button:active { transform: translate(3px,3px); box-shadow: 2px 2px 0 var(--blue); }
.shake-button:disabled { cursor: wait; }
.shake-button span { font-weight: 800; letter-spacing: .02em; }
.shake-button small { margin-top: 3px; opacity: .55; font: 9px "DM Mono", monospace; }
.magic-note { position: absolute; z-index: 3; font: 10px "DM Mono", monospace; letter-spacing: .11em; }
.magic-note-one { top: 13%; right: -1%; transform: rotate(8deg); }
.magic-note-two { bottom: 25%; left: -2%; transform: rotate(-7deg); }
@keyframes magic-shake { 0%,100% { transform: translate3d(0,0,0) rotate(0); } 10%,30%,50%,70%,90% { transform: translate3d(-14px,-3px,0) rotate(-3deg); } 20%,40%,60%,80% { transform: translate3d(15px,2px,0) rotate(3deg); } }
@keyframes answer-rise { from { opacity: 0; transform: scale(.72) rotate(-20deg); } to { opacity: 1; transform: scale(1) rotate(0); } }

.oracle-log { padding: 100px max(32px, calc((100vw - 1440px) / 2)); display: grid; grid-template-columns: .82fr 1.18fr; gap: 110px; color: var(--paper); background: var(--ink); }
.oracle-log h2 { margin: 0 0 28px; font-size: clamp(48px, 5vw, 76px); line-height: .98; letter-spacing: -.065em; }
.reading-history { margin: 0; padding: 0; list-style: none; }
.reading-history li { display: grid; grid-template-columns: 34px 1fr auto; gap: 18px; align-items: start; padding: 18px 0; border-top: 1px solid rgba(247,243,235,.16); }
.reading-history li:last-child { border-bottom: 1px solid rgba(247,243,235,.16); }
.reading-number { padding-top: 3px; font: 9px "DM Mono", monospace; opacity: .4; }
.reading-history p { margin: 0 0 6px; color: rgba(247,243,235,.55); font-size: 13px; line-height: 1.45; }
.reading-history strong { font-size: 18px; }
.reading-history strong.yes { color: var(--mint); }
.reading-history strong.maybe { color: var(--lilac); }
.reading-history strong.no { color: var(--coral); }
.reading-tone { padding: 4px 7px; border: 1px solid currentColor; border-radius: 30px; font: 8px "DM Mono", monospace; text-transform: uppercase; }
.reading-tone.yes { color: var(--mint); }
.reading-tone.maybe { color: var(--lilac); }
.reading-tone.no { color: var(--coral); }
.reading-history .empty-reading { display: block; padding: 28px 0; color: rgba(247,243,235,.45); font-size: 13px; }

/* Homepage */
.home-hero { width: min(1440px, calc(100% - 64px)); min-height: 730px; margin: 0 auto; padding: 100px 0 70px; position: relative; overflow: hidden; }
.home-hero h1 { max-width: 1180px; font-size: clamp(70px, 9.3vw, 145px); line-height: .83; }
.home-hero h1 em { color: var(--coral); font-style: normal; }
.home-intro { max-width: 1040px; margin: 48px 0 0 auto; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.home-intro p { max-width: 590px; margin: 0; color: rgba(28,27,25,.66); font-size: 19px; line-height: 1.65; }
.home-intro a { flex: 0 0 auto; color: inherit; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 8px; font: 10px "DM Mono", monospace; text-transform: uppercase; }
.home-intro a span { color: var(--coral); }
.home-actions { display:flex;gap:24px;align-items:center; }
.lucky-ticker { position: absolute; left: 0; bottom: 0; width: max-content; display: flex; color: var(--ink); opacity: .1; font: 800 clamp(32px,5vw,72px) "Manrope", sans-serif; white-space: nowrap; animation: luck-scroll 34s linear infinite; }
.tool-directory { padding: 110px max(32px, calc((100vw - 1440px) / 2)); display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; color: var(--paper); background: var(--ink); }
.directory-heading { position: sticky; top: 40px; align-self: start; }
.directory-heading h2, .home-about h2 { margin: 0; font-size: clamp(50px,5.4vw,80px); line-height: .94; letter-spacing: -.07em; }
.tool-list { border-top: 1px solid rgba(247,243,235,.2); }
.tool-list a { display: grid; grid-template-columns: 42px 1fr 190px 60px; gap: 18px; align-items: center; min-height: 78px; border-bottom: 1px solid rgba(247,243,235,.18); color: inherit; text-decoration: none; transition: padding .2s ease, color .2s ease; }
.tool-list a:hover { padding-left: 12px; color: var(--butter); }
.tool-no { font: 9px "DM Mono", monospace; opacity: .4; }
.tool-list strong { font-size: clamp(19px,2vw,27px); letter-spacing: -.035em; }
.tool-list small { color: rgba(247,243,235,.48); font-size: 12px; }
.tool-list i { width: 42px; height: 42px; display: grid; place-items: center; justify-self: end; border: 1px solid rgba(247,243,235,.28); border-radius: 50%; font: 12px "DM Mono", monospace; font-style: normal; }
.home-about { padding: 120px max(32px, calc((100vw - 1440px) / 2)); }
.home-about h2 { max-width: 900px; }
.about-columns { max-width: 920px; margin: 65px 0 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.about-columns p { margin: 0; color: rgba(28,27,25,.66); line-height: 1.8; font-size: 15px; }
.home-guides { padding:95px max(32px,calc((100vw - 1440px) / 2));display:grid;grid-template-columns:1fr 1fr;gap:40px 90px;align-items:end;color:var(--paper);background:var(--blue); }.home-guides h2 { margin:0;font-size:clamp(45px,5vw,74px);line-height:.96;letter-spacing:-.065em; }.home-guides > p { margin:0;color:rgba(255,255,255,.7);font-size:16px;line-height:1.75; }.home-guides > a { grid-column:2;justify-self:start;color:white;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.55);padding-bottom:6px;font:10px "DM Mono",monospace;text-transform:uppercase; }
.not-found { width:min(1100px,calc(100% - 64px));min-height:720px;margin:0 auto;padding:100px 0; }.not-found h1 { font-size:clamp(75px,10vw,140px); }.not-found > p:not(.eyebrow) { max-width:600px;margin:40px 0;color:rgba(28,27,25,.62);font-size:18px;line-height:1.7; }.not-found .action-button { color:var(--paper);text-decoration:none; }

/* Shared utility pages */
.utility-hero { width: min(1440px, calc(100% - 64px)); min-height: 760px; margin: 0 auto; padding: 72px 0 94px; display: grid; grid-template-columns: minmax(390px,.82fr) minmax(500px,1.18fr); align-items: center; gap: clamp(55px,7vw,120px); }
.utility-copy h1 { font-size: clamp(65px,7vw,108px); overflow-wrap: anywhere; }
.utility-stage { min-width: 0; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.stage-kicker, .control-label { display: block; margin-bottom: 12px; font: 9px "DM Mono", monospace; letter-spacing: .13em; opacity: .52; }
.control-lines, .number-controls, .name-entry, .party-controls { max-width: 520px; padding: 22px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.control-lines > div + label, .control-lines > label { display: grid; grid-template-columns: 1fr auto; align-items: center; margin-top: 22px; }
.control-lines > label .control-label { grid-column: 1 / -1; }
.choice-tabs { display: flex; flex-wrap: wrap; gap: 5px; }
.choice-tabs button { min-width: 52px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 0; background: rgba(234,244,255,.62); cursor: pointer; font: 10px "DM Mono", monospace; }
.choice-tabs button.selected { color: var(--paper); border-color: var(--ink); background: var(--ink); }
input[type="range"] { accent-color: var(--coral); }
.control-lines output { font: 10px "DM Mono", monospace; }
.action-button { width: min(360px,94%); margin-top: 28px; padding: 16px 22px; display: flex; flex-direction: column; align-items: center; border: 1px solid var(--ink); border-radius: 0; color: var(--paper); background: var(--ink); box-shadow: 6px 6px 0 var(--coral); cursor: pointer; transition: transform .2s, box-shadow .2s; }
.action-button:hover { transform: translate(-2px,-2px); box-shadow: 9px 9px 0 var(--coral); }
.action-button:active { transform: translate(3px,3px); box-shadow: 2px 2px 0 var(--coral); }
.action-button:disabled { cursor: wait; }
.action-button > small { margin-top: 4px; opacity: .55; font: 9px "DM Mono", monospace; }
.seo-section { padding: 105px max(32px, calc((100vw - 1440px) / 2)); display: grid; grid-template-columns: .78fr 1.22fr; gap: 110px; color: var(--paper); background: var(--ink); }
.seo-section h2 { margin: 0; font-size: clamp(48px,5vw,76px); line-height: .97; letter-spacing: -.065em; }
.seo-body { max-width: 760px; }
.seo-body > p { margin: 0 0 20px; color: rgba(247,243,235,.66); font-size: 15px; line-height: 1.78; }
.seo-body details { border-top: 1px solid rgba(247,243,235,.18); }
.seo-body details:last-child { border-bottom: 1px solid rgba(247,243,235,.18); }
.seo-body summary { padding: 17px 0; cursor: pointer; font-weight: 700; font-size: 14px; }
.seo-body details p { margin: -4px 0 18px; color: rgba(247,243,235,.58); font-size: 13px; line-height: 1.65; }
.related-tools { padding:95px max(32px,calc((100vw - 1440px) / 2));background:var(--paper); }.related-tools h2 { margin:0 0 45px;font-size:clamp(45px,5vw,72px);line-height:.96;letter-spacing:-.065em; }.related-tools > div { max-width:850px;margin-left:auto;border-top:2px solid var(--ink); }.related-tools a { min-height:72px;display:grid;grid-template-columns:38px 1fr 30px;align-items:center;gap:12px;border-bottom:1px solid var(--line);color:inherit;text-decoration:none; }.related-tools a:hover strong { color:var(--coral); }.related-tools span { font:9px "DM Mono",monospace;opacity:.4; }.related-tools strong { font-size:20px; }.related-tools i { font-style:normal;color:var(--coral); }

/* Dice */
.dice-results { max-width: 650px; min-height: 300px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
.poly-die { width: clamp(112px,12vw,165px); aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--ink); background: var(--butter); border: 4px solid var(--ink); clip-path: polygon(50% 0,94% 22%,94% 77%,50% 100%,6% 77%,6% 22%); filter: drop-shadow(8px 9px 0 var(--ink)); transform: rotate(-4deg); }
.poly-die.alt { color: white; background: var(--blue); transform: rotate(5deg); }
.poly-die small { font: 9px "DM Mono", monospace; opacity: .55; }
.poly-die strong { font-size: clamp(50px,7vw,88px); line-height: 1; }
.dice-results.rolling .poly-die { animation: die-tumble .3s linear infinite; }
.total-readout { margin-top: 16px; display: flex; align-items: baseline; gap: 12px; }
.total-readout span { font: 9px "DM Mono", monospace; opacity: .5; }
.total-readout strong { font-size: 48px; }
@keyframes die-tumble { 50% { transform: translateY(-12px) rotate(12deg); } }

/* Number */
.number-controls { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: end; }
.number-controls label { display: grid; gap: 7px; }
.number-controls label > span { font: 9px "DM Mono", monospace; letter-spacing: .1em; }
.number-controls input[type="number"] { width: 100%; min-width: 0; padding: 12px 8px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; outline: 0; font-size: 25px; font-weight: 800; }
.number-controls label:nth-of-type(3) { grid-column: 1 / 2; margin-top: 17px; }
.number-controls .check-line { grid-column: 3; display: flex; align-items: center; padding-bottom: 10px; }
.range-dash { padding-bottom: 13px; }
.check-line { display: flex !important; align-items: center; gap: 9px; font-size: 11px; }
.giant-number { max-width: 650px; color: var(--coral); font-size: clamp(100px,17vw,250px); font-weight: 800; line-height: .8; letter-spacing: -.09em; text-align: center; overflow-wrap: anywhere; }
.giant-number.many { font: 700 clamp(34px,5vw,68px)/1.15 "DM Mono", monospace; letter-spacing: -.05em; }
.giant-number.number-pop { animation: number-pop .55s ease; }
.giant-number.number-shuffling { color:var(--blue); filter:blur(1px); animation:number-shuffle .14s steps(2,end) infinite; }
@keyframes number-pop { from { opacity: 0; transform: translateY(18px) skewX(-7deg); } }
@keyframes number-shuffle { 50% { transform:translateY(-7px) skewX(-4deg); opacity:.55; } }

/* Yes / No */
.single-line-input { max-width: 510px; padding: 19px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.single-line-input label { display: block; margin-bottom: 8px; font: 9px "DM Mono", monospace; }
.single-line-input input { width: 100%; padding: 9px 0; border: 0; outline: 0; background: transparent; font-size: 20px; font-weight: 700; }
.binary-tally { max-width: 510px; margin-top: 16px; display: flex; gap: 25px; font: 9px "DM Mono", monospace; }
.binary-tally strong { color: var(--coral); font-size: 13px; }
.binary-wheel { width: min(36vw,490px); aspect-ratio: 1; position: relative; overflow: hidden; border: 7px solid var(--ink); border-radius: 50%; box-shadow: 0 28px 42px rgba(28,27,25,.18); transition: transform 3s cubic-bezier(.12,.72,.08,1); }
.binary-half { position: absolute; inset: 0 50% 0 0; display: flex; align-items: center; justify-content: center; padding-left: 8%; font-size: clamp(35px,5vw,68px); font-weight: 800; writing-mode: vertical-rl; transform: rotate(180deg); }
.yes-half { color: var(--ink); background: var(--butter); }
.no-half { left: 50%; right: 0; padding: 0 8% 0 0; color: white; background: var(--blue); transform: none; }
.binary-pointer { position: absolute; z-index: 3; top: -8px; width: 38px; height: 54px; background: var(--ink); clip-path: polygon(50% 100%,0 0,100% 0); }
.binary-result { min-height: 45px; margin: 20px 0 0; font: 600 20px "DM Mono", monospace; }
.binary-result[data-answer="yes"] { color: #248e6c; }.binary-result[data-answer="no"] { color: var(--coral); }

/* Name picker */
.name-entry label:first-child { display: flex; justify-content: space-between; margin-bottom: 8px; font: 9px "DM Mono", monospace; letter-spacing: .1em; }
.name-entry textarea { width: 100%; resize: vertical; padding: 12px 0; border: 0; outline: 0; background: transparent; font: 600 17px/1.55 "DM Mono", monospace; }
.name-entry .check-line { margin-top: 10px; }
.name-stream { width: min(38vw,520px); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; opacity: .24; transform: rotate(-3deg); }
.name-stream span { padding: 6px 10px; border: 1px solid var(--ink); font: 9px "DM Mono", monospace; }
.picked-name { max-width: 650px; min-height: 140px; display: grid; place-items: center; color: var(--coral); font-size: clamp(70px,11vw,155px); font-weight: 800; line-height: .85; letter-spacing: -.08em; text-align: center; overflow-wrap: anywhere; }
.picked-name.choosing { filter: blur(2px); transform: skewX(-5deg); }

/* Playing card */
.deck-status { max-width: 510px; padding: 20px 0; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: baseline; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.deck-status span { font: 9px "DM Mono", monospace; }.deck-status strong { font-size: 32px; }.deck-status button,.plain-reset { padding: 0 0 4px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; cursor: pointer; font: 9px "DM Mono", monospace; }
.drawn-cards { max-width: 510px; max-height: 145px; margin: 18px 0 0; padding: 0; overflow: auto; list-style: none; }
.drawn-cards li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 12px; }.drawn-cards span { display: inline-block; width: 45px; font: 700 15px "DM Mono", monospace; }.drawn-cards .red { color: #d83f3f; }
.playing-card { width: min(27vw,340px); aspect-ratio: .7; position: relative; transform-style: preserve-3d; transition: transform .65s ease; filter: drop-shadow(17px 22px 0 var(--ink)); }
.playing-card.is-back { transform: rotateY(180deg) rotate(3deg); }.playing-card.drawing { animation: card-draw .65s ease; }
.card-front,.card-back { position: absolute; inset: 0; overflow: hidden; border: 4px solid var(--ink); background: #fffdf8; backface-visibility: hidden; }
.card-back { display: grid; place-items: center; color: white; background: repeating-linear-gradient(45deg,#314bc9 0 8px,#203798 8px 16px); transform: rotateY(180deg); }.card-back::before { content:""; position:absolute; inset:12px; border:2px solid white; }.card-back span { font-size: 80px; }
.card-front { display: grid; place-items: center; }.playing-card.red-card .card-front { color: #d73737; }
.card-corner { position: absolute; display: flex; flex-direction: column; align-items: center; font: 700 28px/1 "DM Mono",monospace; }.card-corner i { font-style: normal; font-size: 22px; }.card-corner.top { top:16px;left:16px; }.card-corner.bottom { right:16px;bottom:16px;transform:rotate(180deg); }.card-front > strong { font-size: clamp(100px,14vw,185px); }
@keyframes card-draw { 0% { transform: translateX(80px) rotateY(100deg) rotate(12deg); opacity:0; } }

/* Rock paper scissors */
.rps-choices { max-width: 520px; display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; padding: 20px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.rps-choices button { padding: 13px 7px; display: grid; gap: 5px; justify-items: center; border: 1px solid var(--line); background: transparent; cursor: pointer; font: 9px "DM Mono",monospace; }.rps-choices button:hover { color:white;background:var(--ink); }.rps-choices span { font-size: 30px; }
.rps-choices button:disabled { cursor:not-allowed; opacity:.35; color:var(--ink); background:transparent; }
.rps-score { max-width:520px;margin-top:18px;display:flex;justify-content:space-between;align-items:center;font:10px "DM Mono",monospace; }.rps-score strong { color:var(--coral);font-size:20px; }.rps-score i { font-style:normal;opacity:.4;font-size:8px; }
.rps-battle { display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:25px; }.rps-battle > div { text-align:center; }.rps-battle span { display:block;margin-bottom:10px;font:9px "DM Mono",monospace;opacity:.45; }.rps-battle strong { display:block;font-size:clamp(100px,13vw,170px);line-height:1;filter:drop-shadow(8px 10px 0 rgba(28,27,25,.14)); }.rps-battle i { font:700 20px "DM Mono",monospace;opacity:.35; }.rps-battle.counting strong { animation:rps-bounce .3s ease infinite alternate; }.rps-result { min-height:35px;margin:28px 0 12px;font:700 18px "DM Mono",monospace;color:var(--coral);text-align:center; }.plain-reset { margin-top:5px; }
@keyframes rps-bounce { to { transform:translateY(-18px) rotate(-8deg); } }

/* Party tools */
.party-controls .control-label:not(:first-child) { margin-top:20px; }.party-stage blockquote { max-width:610px;min-height:150px;margin:5px 0;display:grid;place-items:center;font-size:clamp(31px,4vw,58px);font-weight:800;line-height:1.03;letter-spacing:-.055em;text-align:center; }.party-stamp { width:58px;height:58px;display:grid;place-items:center;margin-bottom:12px;border:2px solid var(--ink);border-radius:50%;color:var(--paper);background:var(--coral);font-size:27px;font-weight:800;transform:rotate(-9deg); }.prompt-pop { animation:prompt-pop .5s ease; } @keyframes prompt-pop { from { opacity:0;transform:translateY(15px) rotate(-1deg); } }
.bottle-arena { position:relative; width:220px; height:220px; margin-bottom:4px; border:2px dashed rgba(73,53,255,.24); border-radius:50%; background:rgba(255,255,255,.3); box-shadow:inset 0 0 0 18px rgba(73,53,255,.035); }
.td-bottle { position:absolute; inset:50% auto auto 50%; width:126px; height:48px; margin:-24px 0 0 -63px; display:grid; place-items:center; font-size:72px; line-height:1; transform-origin:50% 50%; transition:transform 1.2s cubic-bezier(.12,.72,.08,1); filter:drop-shadow(7px 8px 0 rgba(28,27,25,.13)); }
.bottle-player { position:absolute; width:30px; height:30px; display:grid; place-items:center; border-radius:50%; color:white; background:var(--blue); font:10px "DM Mono",monospace; }
.bottle-player-one { left:50%; top:-15px; transform:translateX(-50%); }.bottle-player-two { right:-15px; top:50%; transform:translateY(-50%); }.bottle-player-three { left:50%; bottom:-15px; transform:translateX(-50%); }.bottle-player-four { left:-15px; top:50%; transform:translateY(-50%); }
.wyr-hero { width:min(1440px,calc(100% - 64px));min-height:800px;margin:0 auto;padding:75px 0 95px;display:flex;flex-direction:column;align-items:center;text-align:center; }.wyr-heading h1 { font-size:clamp(72px,9vw,130px); }.wyr-heading > p:last-child { max-width:590px;margin:25px auto 40px;color:rgba(28,27,25,.62);line-height:1.65; }.wyr-options { width:min(1100px,100%);display:grid;grid-template-columns:1fr auto 1fr;align-items:stretch;gap:25px; }.wyr-options > i { align-self:center;font:700 13px "DM Mono",monospace;font-style:normal; }.wyr-option { min-height:270px;padding:36px;display:grid;grid-template-rows:auto 1fr auto auto;justify-items:start;border:2px solid var(--ink);border-radius:0;background:rgba(234,244,255,.72);cursor:pointer;text-align:left;transition:.25s; }.wyr-option:nth-of-type(2) { color:white;background:var(--blue); }.wyr-option > span { width:36px;height:36px;display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;font:12px "DM Mono",monospace; }.wyr-option strong { align-self:center;font-size:clamp(25px,3vw,42px);line-height:1.05;letter-spacing:-.045em; }.wyr-option small { font:9px "DM Mono",monospace;opacity:.55; }.wyr-option:hover,.wyr-option.chosen { transform:translateY(-7px);box-shadow:9px 10px 0 var(--coral); }.wyr-option.not-chosen { opacity:.58;transform:scale(.98); }.wyr-vote { min-height:36px;margin-top:26px;font:700 clamp(18px,1.6vw,22px)/1.45 "DM Mono",monospace;color:var(--coral); }
.wyr-percent { width:100%; margin-top:16px; display:grid; grid-template-columns:auto 1fr; gap:10px; align-items:center; opacity:0; transform:translateY(8px); transition:.35s ease; }
.wyr-percent b { font:700 22px "DM Mono",monospace; }.wyr-percent::after { content:""; grid-column:2; grid-row:1; width:100%; height:8px; background:rgba(28,27,25,.16); }.wyr-percent i { z-index:1; grid-column:2; grid-row:1; width:0; height:8px; background:var(--coral); transition:width .7s ease .15s; }
.wyr-option:nth-of-type(2) .wyr-percent::after { background:rgba(255,255,255,.25); }.wyr-option:nth-of-type(2) .wyr-percent i { background:var(--butter); }
.wyr-option.poll-visible .wyr-percent { opacity:1; transform:none; }.wyr-poll-note { margin:2px 0 0; font:8px "DM Mono",monospace; letter-spacing:.08em; opacity:.48; }

.result-dialog {
  width: min(510px, calc(100% - 32px));
  padding: 45px;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 12px 12px 0 var(--ink);
  text-align: center;
}
.result-dialog::backdrop { background: rgba(28,27,25,.72); backdrop-filter: blur(6px); }
.result-dialog h2 { margin: 8px 0 13px; font-size: clamp(52px, 8vw, 78px); line-height: .95; letter-spacing: -.07em; color: var(--coral); overflow-wrap: anywhere; }
.result-dialog p:not(.eyebrow) { margin: 0 0 28px; opacity: .6; }
.dialog-close { position: absolute; top: 12px; right: 14px; border: 0; background: transparent; font-size: 28px; cursor: pointer; }
.result-actions { display: grid; gap: 9px; }
.primary-button, .secondary-button { border-radius: 10px; padding: 13px 18px; cursor: pointer; font-weight: 700; }
.primary-button { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); }
.secondary-button { background: transparent; border: 1px solid var(--line); }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 30; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 11px 16px; border-radius: 30px; color: var(--paper); background: var(--ink); font-size: 12px; transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.confetti { position: fixed; inset: 0; z-index: 40; width: 100%; height: 100%; pointer-events: none; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 58px; }
  .hero-copy { max-width: 700px; }
  .decision-card { max-width: 620px; }
  .wheel-wrap { width: min(82vw, 650px); }
  .wheel-stage { margin-top: 30px; }
  .how-it-works { grid-template-columns: 1fr; gap: 50px; }
  .coin-hero { grid-template-columns: 1fr; }
  .coin-copy { max-width: 720px; }
  .coin { width: min(72vw, 430px); }
  .coin-shadow { top: min(72vw, 430px); width: min(58vw, 330px); }
  .coin-arena { margin-top: 45px; }
  .flip-ledger { grid-template-columns: 1fr; gap: 50px; }
  .magic-hero { grid-template-columns: 1fr; }
  .magic-copy { max-width: 720px; }
  .magic-ball { width: min(74vw, 490px); }
  .magic-shadow { width: min(58vw, 380px); }
  .magic-arena { margin-top: 45px; }
  .oracle-log { grid-template-columns: 1fr; gap: 50px; }
  .tool-directory { grid-template-columns: 1fr; gap: 55px; }
  .directory-heading { position: static; }
  .utility-hero { grid-template-columns: 1fr; gap: 65px; }
  .utility-copy { max-width: 740px; }
  .seo-section { grid-template-columns: 1fr; gap: 52px; }
  .binary-wheel { width: min(72vw,490px); }
  .playing-card { width: min(55vw,340px); }
  .name-stream { width: min(76vw,520px); }
}
@media (max-width: 600px) {
  .site-header, .hero, .coin-hero, .utility-hero, .home-hero, .wyr-hero { width: calc(100% - 32px); }
  .site-header { padding: 18px 0; }
  .header-note { display: none; }
  .brand { font-size: 16px; gap: 7px; }
  .brand-mark { width: 27px; height: 27px; }
  .hero { padding: 42px 0 70px; gap: 50px; }
  h1 { font-size: clamp(54px, 17vw, 76px); }
  .hero-subtitle { font-size: 15px; }
  .decision-card { padding: 17px 0; box-shadow: none; }
  .wheel-wrap { width: 92vw; }
  .spin-button { width: 100px; }
  .spin-button span { font-size: 21px; }
  .orbit-note { display: none; }
  .how-it-works { padding: 76px 24px; }
  footer { flex-direction: column; gap: 8px; padding: 22px 24px; }
  .footer-links { order:3;margin-top:5px; }
  .legal-page { width:calc(100% - 32px);padding:64px 0 80px; }.legal-copy { margin-top:48px; }
  .guide-index,.article-page { width:calc(100% - 32px);padding:64px 0 80px; }.guide-index h1 { font-size:18vw; }.guide-deck { margin:34px 0 52px;font-size:16px; }.guide-list a { grid-template-columns:27px 1fr;gap:10px; }.guide-list small { grid-column:2; }.breadcrumbs { margin-bottom:55px;flex-wrap:wrap; }.article-page h1 { font-size:16vw; }.article-lead { font-size:18px!important; }.article-page h2 { font-size:27px; }.article-page article > p,.article-page li { font-size:15px; }.article-cta a { font-size:19px; }
  .result-dialog { padding: 42px 22px 28px; box-shadow: 7px 7px 0 var(--ink); }
  .coin-hero { padding: 42px 0 70px; gap: 35px; }
  .coin-copy h1 { font-size: clamp(51px, 15vw, 70px); }
  .coin-settings { padding: 16px 0; box-shadow: none; }
  .coin-settings label { grid-template-columns: 30px 1fr; }
  .coin-settings input { grid-column: 1 / -1; }
  .coin { width: 82vw; }
  .coin-shadow { top: 82vw; width: 64vw; }
  .coin-letter { font-size: 36vw; }
  .coin-orbit { display: none; }
  .flip-ledger { padding: 76px 24px; }
  .flip-history li { grid-template-columns: 25px 30px 1fr auto; gap: 8px; }
  .magic-hero { width: calc(100% - 32px); padding: 42px 0 70px; gap: 35px; }
  .magic-copy h1 { font-size: clamp(54px, 16vw, 72px); }
  .magic-question-card { padding: 16px 0; box-shadow: none; }
  .magic-ball { width: 88vw; }
  .answer-die span { font-size: clamp(12px, 4vw, 17px); }
  .magic-note { display: none; }
  .oracle-log { padding: 76px 24px; }
  .reading-history li { grid-template-columns: 25px 1fr; gap: 10px; }
  .reading-tone { grid-column: 2; justify-self: start; }
  .home-hero { min-height: 670px; padding: 64px 0 70px; }
  .home-hero h1 { font-size: clamp(63px,19vw,88px); }
  .home-intro { margin-top: 38px; display: block; }
  .home-intro p { font-size: 16px; }
  .home-intro a { display: inline-block; margin-top: 24px; }
  .home-actions { display:block; }
  .tool-directory { padding: 76px 24px; }
  .tool-list a { grid-template-columns: 28px 1fr 38px; gap: 9px; min-height: 72px; }
  .tool-list small { display: none; }
  .tool-list i { width: 34px; height: 34px; }
  .home-about { padding: 80px 24px; }
  .about-columns { margin-top: 42px; grid-template-columns: 1fr; gap: 24px; }
  .home-guides { padding:70px 24px;grid-template-columns:1fr;gap:28px; }.home-guides > a { grid-column:1; }.not-found { width:calc(100% - 32px);padding:70px 0; }
  .utility-hero { min-height: 0; padding: 48px 0 72px; gap: 52px; }
  .utility-copy h1 { font-size: clamp(56px,17vw,78px); }
  .seo-section { padding: 76px 24px; }
  .related-tools { padding:70px 24px; }
  .action-button { width: calc(100% - 12px); }
  .dice-results { min-height: 250px; gap: 6px; }
  .poly-die { width: min(30vw,118px); filter: drop-shadow(5px 6px 0 var(--ink)); }
  .poly-die strong { font-size: 16vw; }
  .number-controls { grid-template-columns: 1fr auto 1fr; }
  .giant-number { max-width: 100%; font-size: 34vw; }
  .giant-number.many { font-size: 10vw; }
  .binary-wheel { width: 84vw; }
  .binary-half { font-size: 12vw; }
  .name-stream { width: 90vw; }
  .picked-name { min-height: 125px; font-size: 22vw; }
  .playing-card { width: 67vw; }
  .rps-battle { gap: 10px; }
  .rps-battle strong { font-size: 29vw; }
  .party-stage blockquote { min-height: 160px; font-size: 10vw; }
  .wyr-hero { padding: 50px 0 75px; }
  .wyr-heading h1 { font-size: 19vw; }
  .wyr-options { grid-template-columns: 1fr; gap: 12px; }
  .wyr-options > i { margin: -2px 0; }
  .wyr-option { min-height: 190px; padding: 24px; }
  .wyr-option strong { font-size: 8vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@supports (content-visibility: auto) {
  .seo-section,
  .related-tools,
  .how-it-works,
  .flip-ledger,
  .oracle-log,
  .tool-directory,
  .home-about,
  .home-guides {
    content-visibility: auto;
    contain-intrinsic-size: 720px;
  }
}
