:root {
  color-scheme: dark;
  --ink: #13110e;
  --panel: #1b1915;
  --paper: #f0dfb8;
  --cream: #fff3d5;
  --mustard: #f3b51b;
  --orange: #e85d21;
  --red: #c83324;
  --deep-red: #8f1e17;
  --counter-red: #a82a1f;
  --aged-paper: #e7cf99;
  --line: rgba(255, 243, 213, .22);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--ink); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  background:
    radial-gradient(circle at 14% 17%, rgba(200,51,36,.18), transparent 31rem),
    radial-gradient(circle at 82% 77%, rgba(243,181,27,.07), transparent 29rem),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.012) 3px 4px),
    #12100d;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

.noise {
  position: fixed; inset: 0; pointer-events: none; opacity: .09; 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='.5'/%3E%3C/svg%3E");
}

button, a { font: inherit; }
button { cursor: pointer; }

.topbar {
  height: 76px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 64px); border-bottom: 1px solid var(--line);
  position: relative; z-index: 2;
}
.brand { color: var(--cream); text-decoration: none; display: flex; gap: 12px; align-items: center; font: 900 1.05rem/1 Georgia, serif; letter-spacing: .08em; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--mustard); color: var(--deep-red); border: 3px double var(--deep-red); transform: rotate(-3deg); box-shadow: 0 0 0 2px var(--cream); font-family: Georgia, serif; }
.header-actions { display: flex; gap: 16px; align-items: center; }
.network { font: 800 .75rem/1 Arial, sans-serif; letter-spacing: .08em; color: var(--paper); display: flex; align-items: center; gap: 8px; }
.network i { width: 8px; height: 8px; border-radius: 99px; background: var(--mustard); box-shadow: 0 0 14px var(--mustard); }
.wallet, .basket-trigger { min-height: 42px; padding: 0 18px; border: 2px solid var(--cream); background: transparent; color: var(--cream); font-weight: 900; letter-spacing: .05em; box-shadow: 4px 4px 0 var(--deep-red); transition: transform .15s, box-shadow .15s; }
.basket-trigger { background: var(--cream); color: var(--deep-red); border-color: var(--deep-red); display: flex; align-items: center; gap: 9px; box-shadow: 4px 4px 0 var(--mustard); }
.basket-trigger b { min-width: 22px; height: 22px; padding: 0 5px; display: grid; place-items: center; border-radius: 50%; background: var(--deep-red); color: var(--cream); font-size: .7rem; }
.wallet:hover { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--orange); }
.basket-trigger:hover { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--mustard); }
.checker-band { height: 12px; border-bottom: 2px solid var(--cream); background: conic-gradient(from 90deg, var(--cream) 25%, var(--deep-red) 0 50%, var(--cream) 0 75%, var(--deep-red) 0) 0 0/20px 20px; }

main { width: min(1280px, 100%); margin: 0 auto; padding: clamp(28px, 5vw, 70px) clamp(20px, 4vw, 64px); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 78px); align-items: center; min-height: calc(100vh - 142px); }
.fryer-panel { min-width: 0; }
.eyebrow, .status-line { display: flex; justify-content: space-between; gap: 12px; font: 900 .72rem/1.2 Georgia, serif; letter-spacing: .12em; color: var(--mustard); }
h1 { margin: 18px 0 8px; font: 900 clamp(4.6rem, 10vw, 9rem)/.72 Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; letter-spacing: -.025em; transform: scaleX(.92); transform-origin: left; }
h1 em { color: var(--mustard); font-style: normal; text-shadow: 6px 6px 0 var(--red); }
.lede { margin: 26px 0 28px; color: var(--paper); font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.45; font-weight: 700; }

.fryer-window { height: 156px; border: 6px double rgba(255,243,213,.58); background: linear-gradient(180deg,#0b0907,#211008); position: relative; overflow: hidden; display: grid; place-items: center; box-shadow: inset 0 0 60px rgba(232,93,33,.22), 5px 5px 0 var(--deep-red); }
.heat-lines { position: absolute; inset: 0; display: flex; justify-content: space-evenly; opacity: .6; filter: blur(10px); }
.heat-lines b { width: 16%; background: linear-gradient(transparent,var(--orange),transparent); animation: heat 2.4s ease-in-out infinite alternate; }
.heat-lines b:nth-child(2) { animation-delay: -.8s; background: linear-gradient(transparent,var(--mustard),transparent); }
.heat-lines b:nth-child(3) { animation-delay: -1.4s; }
@keyframes heat { to { transform: translateY(-26px) scaleX(1.7); opacity: .35; } }
.mystery-card { display: flex; align-items: center; gap: 20px; z-index: 1; transform: rotate(-1deg); }
.mystery-card strong { font: 900 1.1rem/1 Impact, sans-serif; letter-spacing: .08em; }
.mystery-eyes { display: flex; gap: 5px; }
.mystery-eyes i { width: 38px; height: 38px; border-radius: 50%; background: var(--cream); border: 3px solid #222; position: relative; }
.mystery-eyes i::after { content: ''; position: absolute; width: 13px; height: 13px; border-radius: 50%; background: #0b0907; left: 12px; top: 12px; animation: look 3.5s steps(1) infinite; }
@keyframes look { 33% { transform: translate(7px,-5px); } 66% { transform: translate(-7px,5px); } }
.window-label { position: absolute; left: 12px; bottom: 8px; font-size: .6rem; font-weight: 900; letter-spacing: .12em; color: rgba(255,243,213,.58); }
.supply-row { display: grid; grid-template-columns: auto 12px auto; align-items: end; justify-content: start; gap: 12px; padding-top: 18px; }
.supply-row div { display: grid; }
.supply-row small { font-size: .63rem; font-weight: 900; letter-spacing: .12em; color: #bbaa89; }
.supply-row strong { font: 900 1.65rem/1 Impact, sans-serif; letter-spacing: .04em; }
.slash { color: var(--orange); font-weight: 900; font-size: 1.6rem; }

.mint-panel { position: relative; background: linear-gradient(100deg, var(--paper), #f7e8c5 52%, var(--aged-paper)); color: var(--ink); transform: rotate(.25deg); box-shadow: 14px 14px 0 var(--deep-red); border: 1px solid #8b744c; }
.mint-panel::after { content: ''; position: absolute; inset: 12px; border: 3px double rgba(143,30,23,.25); pointer-events: none; }
.ticket-edge { position: absolute; inset: -6px 0 auto; height: 12px; background: radial-gradient(circle at 6px 6px, transparent 5px, var(--paper) 5.5px) 0 0/12px 12px repeat-x; }
.mint-inner { position: relative; z-index: 1; padding: clamp(24px, 4vw, 48px); }
.status-line { color: #65583f; border-bottom: 2px dashed rgba(19,17,14,.3); padding-bottom: 15px; }
h2 { margin: 28px 0 24px; font: 900 clamp(2.5rem, 5vw, 4.4rem)/.85 Impact, Haettenschweiler, sans-serif; letter-spacing: -.01em; }
.quantity-counter { min-height: 84px; display: grid; grid-template-columns: 82px 1fr 82px; border: 4px double var(--deep-red); background: rgba(255,255,255,.26); box-shadow: inset 0 0 0 3px var(--paper); }
.quantity-counter button { border: 0; background: var(--deep-red); color: var(--cream); font: 900 2.3rem/1 Georgia, serif; transition: background .12s, transform .12s; }
.quantity-counter button:hover:not(:disabled) { background: var(--counter-red); }
.quantity-counter button:active:not(:disabled) { transform: scale(.94); }
.quantity-counter button:disabled { opacity: .38; cursor: not-allowed; }
.quantity-counter input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); text-align: center; font: 900 3.4rem/1 Impact, sans-serif; appearance: textfield; }
.quantity-counter input::-webkit-inner-spin-button, .quantity-counter input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.basket-more { display: grid; place-items: center; aspect-ratio: 1; border: 2px dashed var(--ink); color: var(--deep-red); font: 900 .8rem/1 Impact, sans-serif; }
.quantity-limit { margin: 8px 0 0; text-align: center; color: #65583f; font: 900 .67rem/1 Georgia, serif; letter-spacing: .13em; }
.basket-head { margin-top: 30px; padding-bottom: 8px; display: flex; justify-content: space-between; font-weight: 900; font-size: .72rem; letter-spacing: .12em; }
.basket { min-height: 66px; border: 3px solid var(--ink); padding: 10px; display: grid; grid-template-columns: repeat(6,1fr); gap: 7px; background: rgba(255,255,255,.24); }
.basket-item { aspect-ratio: 1; background: repeating-linear-gradient(45deg,var(--mustard),var(--mustard) 6px,#da8e19 6px,#da8e19 12px); border: 2px solid var(--ink); position: relative; animation: drop .22s ease both; }
.basket-item::before, .basket-item::after { content: ''; position: absolute; top: 30%; width: 8px; height: 8px; border: 2px solid var(--ink); border-radius: 50%; background: var(--cream); }
.basket-item::before { left: 25%; } .basket-item::after { right: 25%; }
@keyframes drop { from { transform: translateY(-9px) rotate(-7deg); opacity: 0; } }
.receipt { margin: 18px 0; display: flex; justify-content: space-between; border-top: 2px dashed rgba(19,17,14,.3); border-bottom: 2px dashed rgba(19,17,14,.3); padding: 12px 0; }
.receipt div { display: grid; gap: 2px; }
.receipt div:last-child { text-align: right; }
.receipt span { font-size: .62rem; font-weight: 900; letter-spacing: .12em; color: #65583f; }
.receipt strong { font: 900 1.2rem/1 Impact, sans-serif; letter-spacing: .04em; }
.fry-button { width: 100%; min-height: 80px; border: 5px double var(--cream); outline: 3px solid var(--ink); color: var(--cream); background: var(--deep-red); display: grid; place-items: center; align-content: center; box-shadow: 7px 7px 0 var(--ink); }
.fry-button span { font: 900 1.65rem/1 Impact, sans-serif; letter-spacing: .06em; }
.fry-button small { font-size: .58rem; margin-top: 5px; letter-spacing: .11em; font-weight: 900; }
.fry-button:disabled { cursor: not-allowed; filter: saturate(.7); }
.contract-note { text-align: center; margin: 13px 0 0; font-size: .72rem; font-weight: 800; color: #65583f; }
.test-reveal { width: 100%; margin-top: 12px; min-height: 42px; border: 2px solid var(--deep-red); background: transparent; color: var(--deep-red); font-weight: 900; letter-spacing: .08em; }
.test-reveal:hover { background: var(--deep-red); color: var(--cream); }

footer { min-height: 66px; border-top: 10px solid transparent; border-image: conic-gradient(from 90deg, var(--cream) 25%, var(--deep-red) 0 50%, var(--cream) 0 75%, var(--deep-red) 0) 10 round; padding: 18px clamp(20px, 4vw, 64px); display: flex; justify-content: flex-end; gap: 20px; align-items: center; color: #bbaa89; font-size: .68rem; font-weight: 900; letter-spacing: .1em; }
footer nav { display: flex; gap: 28px; }
footer a { color: var(--paper); text-decoration: none; }
footer a:hover { color: var(--mustard); }

.owned-dialog { width: min(980px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; color: var(--ink); background: transparent; overflow: visible; }
.owned-dialog::backdrop { background: rgba(8,7,5,.82); backdrop-filter: blur(5px); }
.owned-ticket { position: relative; max-height: calc(100vh - 32px); overflow: auto; padding: clamp(22px, 4vw, 42px); background: linear-gradient(105deg, #f6e8c6, var(--paper) 55%, var(--aged-paper)); border: 8px double var(--deep-red); box-shadow: 14px 14px 0 rgba(200,51,36,.65); }
.owned-ticket::before { content: ''; position: absolute; inset: 10px; border: 1px dashed rgba(143,30,23,.38); pointer-events: none; }
.owned-topline, .owned-heading, .owned-footer { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.owned-topline { justify-content: flex-end; padding-bottom: 13px; border-bottom: 2px dashed rgba(19,17,14,.35); }
.owned-topline button { border: 0; padding: 7px 10px; background: var(--deep-red); color: var(--cream); font-size: .68rem; font-weight: 900; letter-spacing: .08em; }
.owned-heading { margin: 22px 0 20px; align-items: end; }
.owned-heading h2 { margin: 0; color: var(--deep-red); text-shadow: 3px 3px 0 var(--mustard); }
.owned-heading > strong { padding: 9px 12px; border: 3px double var(--deep-red); color: var(--deep-red); font: 900 1rem/1 Impact, sans-serif; letter-spacing: .08em; }
.owned-status { position: relative; margin: 10px 0 20px; color: #65583f; font: 700 .84rem/1.45 Georgia, serif; }
.owned-status:empty { display: none; }
.owned-grid { position: relative; min-height: 178px; display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 14px; }
.owned-card { min-width: 0; border: 3px solid var(--ink); background: #fbefcf; box-shadow: 5px 5px 0 var(--deep-red); animation: drop .28s ease var(--delay) both; }
.owned-art { aspect-ratio: 1; display: grid; place-content: center; justify-items: center; gap: 14px; background: radial-gradient(circle at center, rgba(243,181,27,.32), transparent 65%), repeating-linear-gradient(45deg, #24150d 0 9px, #311b10 9px 18px); color: var(--cream); }
.owned-art img { width: 100%; height: 100%; display: block; object-fit: contain; background: repeating-conic-gradient(rgba(143,30,23,.08) 0 25%, transparent 0 50%) 0 0/18px 18px, #f7e8c5; }
.owned-eyes { display: flex; gap: 5px; }
.owned-eyes i { width: 30px; height: 30px; border-radius: 50%; background: var(--cream); border: 3px solid var(--ink); position: relative; }
.owned-eyes i::after { content: ''; position: absolute; width: 9px; height: 9px; left: 8px; top: 9px; border-radius: 50%; background: var(--ink); }
.owned-card-label { padding: 10px; display: grid; gap: 3px; }
.owned-card-label strong { font: 900 .9rem/1 Impact, sans-serif; letter-spacing: .04em; }
.owned-card-label span { color: #766443; font: 900 .58rem/1 Georgia, serif; letter-spacing: .12em; }
.owned-empty { grid-column: 1 / -1; min-height: 178px; display: grid; place-items: center; border: 3px dashed rgba(19,17,14,.45); color: #766443; font: 900 clamp(1.4rem, 4vw, 2.5rem)/1 Impact, sans-serif; letter-spacing: .06em; }
.owned-footer { justify-content: flex-end; margin-top: 24px; padding-top: 14px; border-top: 2px dashed rgba(19,17,14,.35); font: 900 .62rem/1.35 Georgia, serif; letter-spacing: .08em; }
.owned-footer a { color: var(--deep-red); font-weight: 900; text-decoration: none; white-space: nowrap; }

@media (max-width: 860px) {
  .network { display: none; }
  main { grid-template-columns: 1fr; padding-top: 34px; }
  .fryer-window { height: 132px; }
  .mint-panel { transform: none; box-shadow: 8px 8px 0 rgba(232,93,33,.75); }
  footer { flex-direction: column; align-items: flex-start; }
  .owned-dialog { width: min(720px, calc(100% - 24px)); }
}
@media (max-width: 460px) {
  .topbar { height: 68px; }
  .brand { font-size: 0; gap: 0; }
  .brand-mark { width: 30px; height: 30px; }
  .header-actions { gap: 8px; }
  .wallet, .basket-trigger { min-height: 38px; padding: 0 9px; font-size: .65rem; }
  .network { display: none; }
  h1 { font-size: 5.1rem; }
  .mint-inner { padding: 24px 20px; }
  .basket { grid-template-columns: repeat(6,1fr); }
  .quantity-counter { grid-template-columns: 68px 1fr 68px; }
  .owned-ticket { padding: 20px 16px; box-shadow: 8px 8px 0 rgba(200,51,36,.65); }
  .owned-heading { align-items: flex-start; }
  .owned-heading > strong { font-size: .78rem; }
  .owned-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .owned-footer { align-items: flex-start; flex-direction: column; }
  footer nav { gap: 14px; flex-wrap: wrap; }
}

/* Owner-only production preparation */
.production-body { min-height: 100vh; background: #16120f; color: var(--cream); }
.production-network i { background: #d09a17; box-shadow: 0 0 0 3px rgba(208,154,23,.2); }
.production-main { display: block; max-width: 1040px; margin: 0 auto; padding: 48px 24px 80px; }
.production-ticket { position: relative; padding: 48px; border: 2px dashed #b79c6a; background: #f5e5bb; color: var(--ink); box-shadow: 12px 12px 0 var(--deep-red); }
.production-kicker { margin: 0 0 12px; color: var(--deep-red); font: 900 .78rem/1 Georgia, serif; letter-spacing: .16em; }
.production-ticket h1 { margin: 0; color: var(--deep-red); font: 900 clamp(4rem, 11vw, 7.8rem)/.78 Impact, sans-serif; letter-spacing: -.02em; text-transform: uppercase; }
.production-ticket h1 em { color: var(--deep-red); font-style: normal; text-shadow: 7px 7px 0 var(--mustard); }
.production-warning { max-width: 720px; margin: 28px 0; padding: 15px 18px; border: 3px double var(--deep-red); background: #fff4d6; font-weight: 900; line-height: 1.4; }
.production-config { display: grid; margin: 0; border-top: 3px solid var(--ink); }
.production-config div { display: grid; grid-template-columns: 190px 1fr; gap: 18px; padding: 12px 0; border-bottom: 1px dashed #8d7954; }
.production-config dt { font: 900 .72rem/1.4 Georgia, serif; letter-spacing: .1em; }
.production-config dd { margin: 0; overflow-wrap: anywhere; font: 700 .84rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.production-balance { display: flex; justify-content: space-between; gap: 18px; margin: 26px 0 14px; padding: 16px 18px; background: var(--ink); color: var(--cream); font-weight: 900; letter-spacing: .08em; }
.production-balance .low { color: #ffcf38; }
.production-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.production-steps li { display: grid; grid-template-columns: 1fr 140px; align-items: center; gap: 16px; padding: 16px; border: 2px solid var(--ink); background: rgba(255,255,255,.25); }
.production-steps li > div { display: flex; align-items: center; gap: 14px; }
.production-steps li b { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 50%; background: var(--deep-red); color: var(--cream); font: 900 1.15rem/1 Impact, sans-serif; }
.production-steps li span { display: grid; gap: 5px; }
.production-steps li strong { letter-spacing: .06em; }
.production-steps li small { color: #65583f; font-weight: 700; line-height: 1.35; }
.production-steps li button { min-height: 48px; border: 2px solid var(--deep-red); background: var(--deep-red); color: var(--cream); font: 900 .82rem/1 Georgia, serif; letter-spacing: .1em; }
.production-steps li button:disabled { opacity: .36; cursor: not-allowed; }
.production-steps li.complete { border-color: #35683b; background: #e3ebcf; }
.production-steps li.complete b { background: #35683b; font-size: 0; }
.production-steps li.complete b::after { content: '✓'; font-size: 1.15rem; }
.production-result { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 58px; margin-top: 18px; padding-top: 18px; border-top: 3px solid var(--ink); }
.production-result p { margin: 0; font-weight: 900; line-height: 1.4; }
.production-result p.error { color: var(--deep-red); }
.production-result a { flex: 0 0 auto; color: var(--deep-red); font: 900 .78rem/1 Georgia, serif; letter-spacing: .1em; }
@media (max-width: 720px) {
  .production-main { padding: 24px 12px 52px; }
  .production-ticket { padding: 28px 18px; box-shadow: 7px 7px 0 var(--deep-red); }
  .production-ticket h1 em { text-shadow: 4px 4px 0 var(--mustard); }
  .production-config div { grid-template-columns: 1fr; gap: 5px; }
  .production-steps li { grid-template-columns: 1fr; }
  .production-result { align-items: flex-start; flex-direction: column; }
}

/* Readable controls and keyboard/motion accessibility. */
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.network, .eyebrow, .status-line, .quantity-limit, .basket-head, .receipt span, .contract-note, footer, .owned-topline button, .owned-footer { font-size: .875rem; line-height: 1.35; }
.fry-button small, .supply-row small, .window-label, .owned-card-label span { font-size: .75rem; line-height: 1.4; }
.owned-status { font-size: 1rem; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 480px) { footer nav { flex-wrap: wrap; gap: 16px; } .receipt { gap: 12px; flex-wrap: wrap; } .status-line { flex-wrap: wrap; } }

/* Banner-led fry-house finish; owner controls retain their existing theme. */
.fryer-body { color-scheme: light; color: var(--ink); background: #f8efd9; }
.fryer-body .noise { opacity: .045; }
.fryer-body .topbar { height: auto; min-height: 82px; padding-block: 16px; border-color: #bca785; gap: 20px; }
.fryer-body .brand { color: var(--deep-red); }
.fryer-body .brand-mark { font-size: 24px; }
.fryer-body .network { color: #62533c; }
.fryer-body .network i { background: #327446; box-shadow: none; }
.fryer-body .wallet { color: var(--deep-red); border-color: var(--deep-red); background: #fff8e9; }
.fryer-body .checker-band { height: 20px; border: 0; }
.fryer-body main { padding-top: 38px; padding-bottom: 48px; gap: clamp(28px,4vw,64px); min-height: calc(100vh - 176px); }
.fryer-banner { display: block; width: 100%; height: auto; margin: 0 0 28px; border: 1px solid #dfcba3; }
.fryer-body .eyebrow { color: #796344; letter-spacing: .06em; font-size: .8rem; }
.fryer-body h1 { color: var(--deep-red); font-size: clamp(3.4rem,5.8vw,5.2rem); line-height: 1.02; transform: none; margin: 18px 0 0; letter-spacing: -.025em; }
.fryer-body h1 em { color: var(--deep-red); text-shadow: 3px 3px 0 var(--mustard); }
.fryer-body .lede { color: #62533c; font-size: .95rem; letter-spacing: .04em; margin: 14px 0 26px; }
.fryer-body .fryer-window { height: 158px; color: var(--cream); border-color: var(--deep-red); box-shadow: 5px 5px 0 #d6b370; }
.fryer-body .window-label { color: var(--cream); font-size: .75rem; letter-spacing: .04em; }
.fryer-body .supply-row { padding-top: 24px; gap: 16px; }
.fryer-body .supply-row strong { color: var(--deep-red); font-size: 2rem; }
.fryer-body .supply-row small { color: #62533c; }
.fryer-body .mint-panel { background: #fff8e9; transform: none; border: 2px solid var(--deep-red); box-shadow: 9px 9px 0 var(--deep-red); }
.fryer-body .ticket-edge { display: none; }
.fryer-body .mint-panel::after { inset: 9px; border-color: #dcc69e; }
.fryer-body .mint-inner { padding: clamp(24px,3.2vw,40px); }
.fryer-body .mint-inner h2 { color: var(--deep-red); font-size: clamp(2.6rem,4.6vw,4rem); line-height: .98; margin: 24px 0; }
.fryer-body .status-line { font-size: .75rem; gap: 10px; letter-spacing: .04em; }
.fryer-body .quantity-counter { background: #f6e7c6; }
.fryer-body .basket-head { margin-top: 24px; }
.fryer-body .receipt strong { line-height: 1.2; }
.fryer-body .contract-note { line-height: 1.5; margin-top: 18px; }
.fryer-body footer { border-image: none; border-top: 2px solid var(--deep-red); color: var(--deep-red); min-height: 70px; }
.fryer-body footer a { color: var(--deep-red); }
.fryer-body .owned-ticket { background: #fff4da; }
.fryer-body .owned-topline button { min-height: 44px; padding: 10px 14px; }
@media (max-width: 860px) {
 .fryer-body main { max-width: 620px; gap: 32px; padding-top: 24px; }
 .fryer-body h1 { font-size: clamp(3rem,10vw,5rem); }
 .fryer-banner { margin-bottom: 20px; }
 .fryer-body .fryer-window { height: 120px; }
 .fryer-body .supply-row { padding-top: 18px; }
}
@media (max-width: 480px) {
 .fryer-body .topbar { padding: 12px 16px; min-height: 70px; gap: 12px; }
 .fryer-body .header-actions { gap: 8px; }
 .fryer-body .wallet, .fryer-body .basket-trigger { min-height: 44px; font-size: .75rem; padding: 0 8px; letter-spacing: 0; }
 .fryer-body main { padding-inline: 18px; }
 .fryer-body .mint-inner { padding: 26px 20px; }
 .fryer-body .eyebrow { font-size: .75rem; }
 .fryer-body .window-label { left: 8px; font-size: .7rem; }
 .fryer-body .owned-heading { flex-wrap: wrap; }
 .fryer-body .owned-heading h2 { font-size: 2.4rem; }
 .fryer-body footer nav { gap: 16px; font-size: .8rem; }
}

/* Approved banner replaces the header monogram and wordmark. */
.fryer-body .topbar { padding-block: 12px; }
.fryer-body .brand { display: block; flex: 0 1 360px; min-width: 200px; }
.fryer-body .header-banner { display: block; width: 100%; height: auto; }
.fryer-body .header-actions { flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) {
 .fryer-body .brand { flex-basis: 280px; min-width: 170px; }
}
@media (max-width: 600px) {
 .fryer-body .topbar { flex-direction: column; align-items: stretch; gap: 14px; padding: 14px 18px 18px; }
 .fryer-body .brand { flex: none; width: min(100%, 340px); margin-inline: auto; min-width: 0; }
 .fryer-body .header-actions { justify-content: center; gap: 14px; }
}

/* Robin Neon brand refresh — 2026-09-16. Keep golden food artwork unchanged. */
:root {
  --neon: #ccff00;
  --ink: #171a12;
  --paper: #ffffff;
  --cream: #ffffff;
  --mustard: #ccff00;
  --red: #ccff00;
  --deep-red: #171a12;
  --counter-red: #303824;
  --aged-paper: #f2f5e9;
}
.fryer-body { background: #f7f8f2; }
.fryer-body .noise { display: none; }
.fryer-body .topbar { background: #fff; border-color: #d4d8cb; }
.fryer-body .checker-band, .checker-band {
  background: conic-gradient(from 90deg, #fff 25%, #ccff00 0 50%, #fff 0 75%, #ccff00 0) 0 0/24px 24px;
  height: 24px;
}
.fryer-body .wallet, .fryer-body .basket-trigger { background: #fff; color: var(--ink); border-color: var(--ink); box-shadow: 4px 4px 0 var(--neon); }
.fryer-body .basket-trigger { background: var(--neon); box-shadow: 4px 4px 0 var(--ink); }
.fryer-body .network, .fryer-body .eyebrow, .fryer-body .lede,
.fryer-body .supply-row small, .status-line, .quantity-limit,
.receipt span, .contract-note, .owned-status, .owned-card-label span, .owned-empty { color: #505747; }
.fryer-body .network i { background: var(--neon); border: 1px solid #657d00; width: 10px; height: 10px; }
.fryer-body .fryer-window { box-shadow: 5px 5px 0 var(--neon); }
.fryer-body .mint-panel { background: #fff; box-shadow: 9px 9px 0 var(--neon); }
.fryer-body .mint-panel::after { border-color: #d4d8cb; }
.fryer-body .quantity-counter { background: #fff; }
.quantity-counter button { background: var(--neon); color: var(--ink); }
.quantity-counter button:hover:not(:disabled) { background: #b8e600; }
.fry-button { background: var(--neon); color: var(--ink); border-color: var(--ink); }
.fry-button:disabled { filter: none; background: #e7edcf; color: #505747; }
.fry-button:hover:not(:disabled) { background: #b8e600; }
.basket-item { background: repeating-linear-gradient(45deg,#f3b51b,#f3b51b 6px,#da8e19 6px,#da8e19 12px); }
.fryer-body footer { background: #fff; }
.fryer-body footer a:hover, .owned-footer a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: #789500; text-underline-offset: 5px; }
.fryer-body .owned-ticket { background: #fff; box-shadow: 10px 10px 0 var(--neon); }
.owned-ticket::before { border-color: #a0a990; }
.owned-card { background: #fff; box-shadow: 5px 5px 0 var(--neon); }
.owned-art img { background: repeating-conic-gradient(#ccff00 0 25%, #fff 0 50%) 0 0/32px 32px; }
button:focus-visible, a:focus-visible, input:focus-visible { outline-color: #527000; }
.production-ticket { background: #fff; border-color: #899477; box-shadow: 12px 12px 0 var(--neon); }
.production-warning { background: #f2f8da; }
.production-kicker, .production-steps li small { color: #505747; }
.collection-body { color-scheme: light; background: #f7f8f2; color: var(--ink); }
.collection-body .topbar { background: #fff; border-bottom: 12px solid var(--neon); }
.collection-body .brand { color: var(--ink); }
.collection-body a { color: #435b00; }
@media (max-width: 480px) { .fryer-body .mint-panel, .fryer-body .owned-ticket { box-shadow: 6px 6px 0 var(--neon); } }

/* Compact masthead and top-aligned order layout — 2026-09-16. */
.fryer-body .topbar {
  min-height: 0;
  padding: 10px max(24px, calc((100vw - 1120px) / 2));
  gap: 24px;
  border-bottom: 2px solid var(--ink);
}
.fryer-body .brand { flex: 0 0 250px; min-width: 0; }
.fryer-body .header-banner { width: 250px; height: auto; }
.fryer-body .header-actions { gap: 12px; flex-wrap: nowrap; }
.fryer-body .network { font-size: .75rem; letter-spacing: .035em; }
.fryer-body > .checker-band { display: none; }
.fryer-body main {
  width: min(1168px, 100%);
  max-width: 1168px;
  min-height: 0;
  padding: 28px 24px 36px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 36px;
}
.fryer-body .fryer-panel { padding-top: 4px; }
.fryer-body .eyebrow { font-size: .75rem; }
.fryer-body h1 { margin-top: 16px; font-size: clamp(3rem,5vw,4.5rem); }
.fryer-body .lede { margin: 12px 0 22px; font-size: .875rem; }
.fryer-body .fryer-window { height: 220px; }
.fryer-body .supply-row { padding-top: 22px; }
.fryer-body .mint-inner { padding: 24px; }
.fryer-body .mint-panel { box-shadow: 6px 6px 0 var(--neon); }
.fryer-body .status-line { padding-bottom: 12px; }
.fryer-body .mint-inner h2 { font-size: clamp(2.4rem,3.6vw,3rem); margin: 18px 0; line-height: 1; }
.fryer-body .quantity-counter { min-height: 68px; grid-template-columns: 64px 1fr 64px; }
.fryer-body .quantity-counter input { font-size: 2.7rem; }
.fryer-body .quantity-limit { font: 700 .75rem/1.3 Arial, sans-serif; letter-spacing: .04em; margin-top: 8px; }
.fryer-body .basket-head { margin-top: 18px; }
.fryer-body .basket { min-height: 56px; padding: 8px; }
.fryer-body .receipt { margin: 14px 0; padding: 10px 0; }
.fryer-body .fry-button { min-height: 68px; }
.fryer-body .contract-note { margin-top: 14px; font-size: .8rem; }
.fryer-body footer { min-height: 56px; padding-block: 16px; }
@media (max-width: 1000px) {
 .fryer-body .network { display: none; }
 .fryer-body main { gap: 28px; }
}
@media (max-width: 760px) {
 .fryer-body .topbar { padding: 10px 20px 14px; gap: 16px; }
 .fryer-body .brand { flex-basis: 200px; }
 .fryer-body .header-banner { width: 200px; }
 .fryer-body .wallet, .fryer-body .basket-trigger { min-height: 42px; font-size: .75rem; padding-inline: 10px; }
 .fryer-body main { grid-template-columns: 1fr; max-width: 600px; padding: 24px 20px 32px; gap: 28px; }
 .fryer-body .fryer-window { height: 150px; }
 .fryer-body .supply-row { padding-top: 16px; }
}
@media (max-width: 600px) {
 .fryer-body .topbar { flex-direction: column; gap: 8px; }
 .fryer-body .brand { flex: none; width: 200px; margin-inline: auto; }
 .fryer-body .header-actions { justify-content: center; gap: 14px; }
 .fryer-body .mint-inner { padding: 22px 20px; }
 .fryer-body .mint-inner h2 { font-size: 2.5rem; }
}

/* Collector-facing details: concise facts, reveal expectations, optional verification. */
.details-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px max(24px, calc((100vw - 960px) / 2)); background: #fff; border-bottom: 8px solid #ccff00; }
.details-header .brand { font: 900 1.25rem/1 Georgia, serif; }
.details-back { font: 800 .8rem/1.4 Arial, sans-serif; text-decoration: none; border-bottom: 2px solid #ccff00; padding-block: 4px; }
.collection-body .details-main { display: block; width: min(100%, 1008px); min-height: 0; padding: 32px 24px 36px; }
.details-kicker { font: 800 .75rem/1.4 Arial, sans-serif; letter-spacing: .1em; margin: 0 0 10px; color: #505747; }
.collection-body .details-main h1 { font-size: clamp(2.4rem,5.5vw,4rem); line-height: 1; transform: none; margin: 0 0 24px; letter-spacing: -.015em; }
.details-facts { display: grid; grid-template-columns: 1fr 1fr 1.35fr; margin: 0 0 24px; border-block: 2px solid #171a12; }
.details-facts div { padding: 16px 20px; border-right: 1px solid #d4d8cb; }
.details-facts div:first-child { padding-left: 0; }
.details-facts div:last-child { border: 0; }
.details-facts dt { font-size: .75rem; font-weight: 800; color: #505747; margin-bottom: 8px; }
.details-facts dd { margin: 0; font: 900 clamp(1.2rem,2.5vw,1.8rem)/1.2 Arial, sans-serif; }
.details-facts dd span { font-size: 1rem; }
.details-reveal { background: #fff; padding: 24px; border: 2px solid #171a12; box-shadow: 6px 6px 0 #ccff00; }
.details-main h2 { font: 900 1.4rem/1.25 Arial, sans-serif; letter-spacing: -.025em; margin: 0 0 12px; }
.details-main p { font-size: 1rem; line-height: 1.6; }
.details-reveal p:last-child { margin-bottom: 0; }
.details-reveal .details-small { font-size: .875rem; color: #505747; }
.details-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 28px 0 20px; }
.details-notes p { margin: 0; }
.details-technical { border-block: 1px solid #bac2ae; padding: 18px 0; }
.details-technical summary { cursor: pointer; font-size: .9rem; font-weight: 800; }
.details-technical code { display: block; overflow-wrap: anywhere; font-size: .875rem; line-height: 1.5; }
.details-technical p { color: #505747; font-size: .9rem; }
.details-main .details-preview { margin: 20px 0 0; font-size: .8rem; color: #505747; }
@media (max-width: 580px) {
 .details-header { padding: 18px 20px; gap: 14px; }
 .details-header .brand { font-size: 1rem; }
 .details-back { font-size: .7rem; }
 .collection-body .details-main { padding: 26px 20px; }
 .details-facts { grid-template-columns: 1fr 1fr; }
 .details-facts div { padding: 14px 12px; }
 .details-facts div:nth-child(2) { border: 0; }
 .details-facts div:last-child { grid-column: 1/-1; padding-left: 0; border-top: 1px solid #d4d8cb; }
 .details-reveal { padding: 20px; }
 .details-notes { grid-template-columns: 1fr; gap: 22px; }
}
