/* DEGEN mint site — warm sticker design system:
   cream background, thick ink outlines, hard offset shadows,
   dot pattern, Luckiest Guy / ZCOOL KuaiLe display type.
   Mandarin only, no on-page signing anywhere. */
:root {
  --bg: #FFE9C2; --card: #FFF8EA; --card2: #FFFDF6; --line: rgba(43,22,6,.25); --line2: #2B1606;
  --y: #F2851F; --y2: #FF9A3C; --text: #2B1606; --muted: #6B4423; --dim: #7A5434; --ok: #2E8B3A; --err: #D2312B;
  --ink: #2B1606; --well: #FFF1D6; --nut: #C8782E; --leaf: #6CBF3A;
  --serif: "Luckiest Guy", "ZCOOL KuaiLe", "Noto Sans SC", "PingFang SC", sans-serif;
  --sans: "Fredoka", "Geist", -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --r: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 var(--sans); overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(900px 500px at 75% -10%, rgba(43,22,6,0.26), transparent 60%), radial-gradient(700px 400px at 0% 30%, rgba(43,22,6,0.11), transparent 60%); }
a { color: var(--y); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; }
[hidden] { display: none !important; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.eyebrow { margin: 0 0 12px; font: 500 11px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--y); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: .02em; margin: 0; }
h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.08; }
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; }
h3 { font-size: 17px; line-height: 1.3; }
.gold { background: linear-gradient(100deg, #FFE7A3, #F0B90B 55%, #C99400); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 50; background: rgba(255,244,222,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(43,22,6,0.31); }
.bar .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 700 18px var(--serif); letter-spacing: .12em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.bar nav { display: flex; gap: 22px; margin-left: 18px; }
.bar nav a { color: var(--muted); font-size: 13px; letter-spacing: .04em; }
.bar nav a:hover { color: var(--text); text-decoration: none; }
.bar .sp { flex: 1; }
.btn-y { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--y); color: var(--ink); font: 600 14px var(--sans); cursor: pointer; box-shadow: 0 0 0 1px rgba(255,231,163,.4) inset, 0 6px 24px -8px rgba(43,22,6,1.00); transition: transform .12s, background .2s, box-shadow .2s; white-space: nowrap; }
.btn-y:hover { background: var(--y2); text-decoration: none; }
.btn-y:active { transform: scale(.97); }
.btn-y:disabled { opacity: .38; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-y.big { width: 100%; min-height: 54px; font-size: 16px; border-radius: 12px; letter-spacing: .02em; }
.btn-o { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line2); border-radius: 10px; background: transparent; color: var(--y); font: 500 13px var(--sans); cursor: pointer; white-space: nowrap; }
.btn-o:hover { background: rgba(43,22,6,0.18); text-decoration: none; }
.btn-o:disabled { opacity: .4; cursor: not-allowed; }

/* hero */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 460px; gap: 48px; align-items: start; }
.hero-copy { padding-top: 24px; }
.hero-copy .sub { margin: 20px 0 0; max-width: 520px; color: var(--muted); font-size: 16px; }
.hero-art { width: min(300px, 70%); margin: 28px 0 0; display: block; filter: drop-shadow(0 20px 60px rgba(43,22,6,0.40)); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.chip b { display: block; font: 600 16px var(--mono); color: var(--text); }
.chip span { font-size: 11px; color: var(--dim); letter-spacing: .06em; text-transform: uppercase; }

.card { position: relative; background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.pass { box-shadow: 0 30px 80px -30px rgba(43,22,6,0.55), 0 0 0 1px rgba(43,22,6,0.13) inset; }
.pass::before { content: ""; position: absolute; inset: -1px; border-radius: var(--r); padding: 1px; background: linear-gradient(140deg, rgba(43,22,6,1.00), rgba(43,22,6,0.11) 40%, rgba(43,22,6,0.11) 60%, rgba(43,22,6,1.00)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.pass-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.pass-title { font: 600 15px var(--serif); letter-spacing: .2em; color: var(--y); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); font: 500 11px var(--mono); letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
.pill[data-s="live"] { color: var(--y); border-color: var(--line2); }
.pill[data-s="live"]::before { background: var(--y); box-shadow: 0 0 8px var(--y); }
.pill[data-s="open"]::before { background: var(--ok); }
.pill[data-s="refund"]::before { background: var(--err); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lbl { font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.blk { padding: 16px 0; border-bottom: 1px solid rgba(43,22,6,0.22); }
.blk:last-child { border-bottom: 0; padding-bottom: 0; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; font: 600 20px var(--mono); }
.price .arrow { color: var(--y); }
.price small { font: 400 12px var(--sans); color: var(--dim); }
.seg { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin-top: 10px; }
.seg button { height: 38px; padding: 0; border: 1px solid rgba(43,22,6,0.44); border-radius: 8px; background: var(--well); color: var(--muted); font: 500 14px var(--mono); cursor: pointer; transition: all .15s; }
.seg button:hover:not(:disabled) { border-color: var(--line2); color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--y); border-color: var(--y); color: var(--ink); font-weight: 600; box-shadow: 0 0 16px -4px rgba(43,22,6,1.00); }
.seg button:disabled { opacity: .3; cursor: not-allowed; }
.quote { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.quote div { padding: 12px 14px; border-radius: 10px; background: var(--well); border: 1px solid rgba(43,22,6,0.22); }
.quote b { display: block; margin-top: 2px; font: 600 17px var(--mono); }
.note { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.prog-fig { font: 600 34px/1.1 var(--mono); letter-spacing: -.01em; }
.prog-fig span { color: var(--dim); font-size: 20px; font-weight: 400; }
.track { position: relative; height: 10px; margin-top: 12px; border-radius: 999px; background: var(--well); border: 1px solid rgba(43,22,6,0.40); overflow: hidden; }
.track > span { position: absolute; inset: 0 auto 0 0; width: 0; min-width: 0; border-radius: 999px; background: linear-gradient(90deg, #B8860B, #F0B90B 60%, #FFE7A3); box-shadow: 0 0 14px rgba(43,22,6,1.00), 0 0 4px rgba(255,255,255,.6); transition: width .8s cubic-bezier(.2,.7,.2,1); }
.cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.cd div { text-align: center; padding: 10px 0 8px; border-radius: 10px; background: var(--well); border: 1px solid rgba(43,22,6,0.26); }
.cd b { display: block; font: 600 22px/1.1 var(--mono); color: var(--text); }
.cd span { font: 500 10px var(--mono); letter-spacing: .14em; color: var(--dim); text-transform: uppercase; }
.cd-msg { margin-top: 10px; font: 600 18px var(--mono); color: var(--y); }
.status { margin: 14px 0 0; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.status:empty { display: none; }
.status[data-state="ok"] { color: var(--ok); }
.status[data-state="err"] { color: var(--err); }

/* prompt preview (DEGEN: mint happens via an agent prompt, no on-page signing) */
.prompt-details { margin-top: 14px; }
.prompt-details summary { list-style: none; cursor: pointer; font-size: 13px; color: var(--muted); }
.prompt-details summary::-webkit-details-marker { display: none; }
.prompt-details summary::before { content: "+ "; color: var(--y); font-weight: 700; }
.prompt-details[open ] summary::before { content: "− "; }
.prompt-box { margin: 10px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--well); border: 1px solid rgba(43,22,6,0.22); font: 12.5px/1.7 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); }

/* sections */
section.sec { padding: 72px 0; border-top: 1px solid rgba(43,22,6,0.18); }
.sec-head { max-width: 720px; margin-bottom: 32px; }
.sec-head p.lead { margin: 14px 0 0; color: var(--muted); font-size: 16px; }
.invite { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.invite .big { font: 600 clamp(40px, 6vw, 64px)/1 var(--serif); }
.linkbox { display: flex; gap: 8px; align-items: stretch; margin-top: 14px; }
.linkbox code { flex: 1; min-width: 0; display: flex; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--well); border: 1px solid var(--line); font: 13px var(--mono); color: var(--text); overflow-wrap: anywhere; word-break: break-all; }
.invite-input { display: flex; gap: 8px; margin-top: 14px; }
.invite-input input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font: 14px var(--mono); color: var(--text); }
.invite-input input:focus { outline: 2px solid var(--y); outline-offset: 1px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mech { padding: 22px; }
.mech-wide { grid-column: span 2; }
.mech .n { font: 600 13px var(--mono); color: var(--y); letter-spacing: .1em; }
.mech h3 { margin: 12px 0 10px; }
.mech p, .mech li { margin: 0; color: var(--muted); font-size: 13.5px; }
.mech ul { margin: 0; padding-left: 18px; }
.mech li + li { margin-top: 4px; }
.lb { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 13.5px; }
th { text-align: left; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding: 8px 6px; border-bottom: 1px solid var(--line); }
td { padding: 10px 6px; border-bottom: 1px solid rgba(43,22,6,0.18); font-family: var(--mono); }
td.r, th.r { text-align: right; }
td.rk { width: 36px; color: var(--y); }
.empty { padding: 28px 0 12px; text-align: center; color: var(--dim); font-size: 14px; }
.lb-meta { margin-top: 14px; font-size: 12px; color: var(--dim); }
.addr { display: grid; gap: 0; }
.addr .a { display: grid; grid-template-columns: 200px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(43,22,6,0.22); }
.addr .a:last-child { border-bottom: 0; }
.addr .a a { font: 13.5px var(--mono); overflow-wrap: anywhere; word-break: break-all; }
.addr .pending { font: 13.5px var(--mono); color: var(--dim); }
.faq details { border-bottom: 1px solid rgba(43,22,6,0.31); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 32px 18px 0; position: relative; font-weight: 500; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 400 22px var(--mono); color: var(--y); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--muted); max-width: 820px; }
.risk { margin-top: 28px; padding: 16px 18px; border: 1px solid rgba(248,113,113,.35); border-radius: 12px; background: rgba(248,113,113,.06); color: #9b1c1c; font-size: 14px; }
footer { padding: 40px 0 56px; border-top: 1px solid rgba(43,22,6,0.26); color: var(--dim); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
footer .brand { font-size: 15px; }
footer .brand img { width: 24px; height: 24px; }

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { padding-top: 0; }
  .hero-art { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .bar nav { display: none; }
  .invite { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 14px; }
  .bar .wrap { gap: 8px; height: 58px; }
  .brand span { display: none; }
  .btn-y { padding: 0 12px; font-size: 13px; }
  .hero { padding: 28px 0 24px; }
  .card { padding: 18px; }
  .seg { grid-template-columns: repeat(5, 1fr); }
  .grid, .lb { grid-template-columns: 1fr; }
  .mech-wide { grid-column: auto; }
  .addr .a { grid-template-columns: 1fr auto; }
  .addr .a .lbl { grid-column: 1 / -1; }
  section.sec { padding: 52px 0; }
  .prog-fig { font-size: 28px; }
  .cd b { font-size: 19px; }
  .linkbox, .invite-input { flex-direction: column; }
  .chips { display: grid; grid-template-columns: 1fr 1fr; }
}

/* ===== Meme theme: cartoon sticker look (thick ink outlines, offset shadows, dot pattern) ===== */
body { background: var(--bg); }
body::before { background:
  radial-gradient(circle at 20px 20px, rgba(200,120,46,.16) 3px, transparent 4px) 0 0/44px 44px,
  radial-gradient(1000px 520px at 80% -10%, rgba(242,133,31,.30), transparent 60%),
  radial-gradient(800px 480px at -10% 40%, rgba(108,191,58,.14), transparent 60%); }
h1, h2, h3 { font-weight: 400; letter-spacing: .01em; color: var(--ink); }
h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.04; text-shadow: 3px 3px 0 #fff, 6px 6px 0 rgba(43,22,6,.18); }
h2 { font-size: clamp(30px, 4vw, 46px); }
.gold { background: none; color: var(--y); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--ink); }
.eyebrow { display: inline-block; padding: 4px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--leaf); color: #fff; font-weight: 600; box-shadow: 3px 3px 0 var(--ink); }
.bar { background: rgba(255,233,194,.94); border-bottom: 3px solid var(--ink); }
.brand { font: 400 24px var(--serif); letter-spacing: .06em; color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); }
.bar nav a { color: var(--ink); font-weight: 600; }
.btn-y { border: 3px solid var(--ink); border-radius: 14px; background: var(--y); color: #fff; font-weight: 700; box-shadow: 4px 4px 0 var(--ink); text-shadow: 1px 1px 0 rgba(43,22,6,.35); transition: transform .1s, box-shadow .1s; }
.btn-y:hover { background: var(--y2); transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--ink); }
.btn-y:active { transform: translate(3px,3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-y.big { font: 400 22px var(--serif); letter-spacing: .04em; min-height: 60px; }
.btn-o { border: 2px solid var(--ink); background: #fff; color: var(--ink); font-weight: 600; box-shadow: 2px 2px 0 var(--ink); }
.btn-o:hover { background: var(--well); }
.hero { padding: 40px 0 48px; }
@media (min-width: 981px) { .hero .wrap { grid-template-columns: 1fr 470px; } }
.hero-art { width: min(360px, 80%); margin: 30px auto 0 0; border-radius: 50%; border: 5px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); filter: none; animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(4deg); } }
.chip { border: 2px solid var(--ink); border-radius: 14px; background: #fff; box-shadow: 3px 3px 0 var(--ink); }
.chip:nth-child(1) { background: #FFD9A8; } .chip:nth-child(2) { background: #DFF3C8; } .chip:nth-child(3) { background: #FFE07A; } .chip:nth-child(4) { background: #FFC7B0; }
.chip b { color: var(--ink); } .chip span { color: var(--muted); font-weight: 600; }
.card { background: var(--card); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); }
.pass { box-shadow: 10px 10px 0 var(--ink); }
.pass::before { display: none; }
.pass-head { border-bottom: 3px dashed rgba(43,22,6,.35); }
.pass-title { font: 400 20px var(--serif); letter-spacing: .08em; color: var(--y); -webkit-text-stroke: 1px var(--ink); }
.pill { border: 2px solid var(--ink); background: #fff; color: var(--ink); font-weight: 600; }
.pill[data-s="live"] { color: var(--ink); background: #DFF3C8; border-color: var(--ink); }
.pill[data-s="live"]::before { background: var(--leaf); box-shadow: 0 0 0 2px #fff; }
.lbl { color: var(--muted); font-weight: 600; }
.blk { border-bottom: 2px dashed rgba(43,22,6,.18); }
.seg button { border: 2px solid var(--ink); background: #fff; color: var(--ink); font-weight: 600; }
.seg button[aria-pressed="true"] { background: var(--y); border-color: var(--ink); color: #fff; box-shadow: 2px 2px 0 var(--ink); }
.quote div, .cd div, .prompt-box { border: 2px solid var(--ink); background: var(--well); border-radius: 12px; }
.cd b { color: var(--ink); } .cd-msg { color: var(--y); }
.track { height: 18px; border: 3px solid var(--ink); background: #fff; }
.track > span { background: repeating-linear-gradient(-45deg, var(--y) 0 12px, var(--y2) 12px 24px); box-shadow: none; }
section.sec { border-top: 3px solid var(--ink); }
section.sec:nth-of-type(odd) { background: #FFF4DE; }
.mech .n { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 6px; border: 2px solid var(--ink); border-radius: 999px; background: var(--y); color: #fff; font-weight: 700; box-shadow: 2px 2px 0 var(--ink); }
.mech:nth-child(3n+2) .n { background: var(--leaf); } .mech:nth-child(3n) .n { background: var(--nut); }
.linkbox code { border: 2px solid var(--ink); background: #fff; }
.invite-input input { border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.invite .big { font: 400 clamp(48px, 7vw, 80px)/1 var(--serif); color: var(--y); -webkit-text-stroke: 2px var(--ink); text-shadow: 4px 4px 0 var(--ink); }
th { color: var(--muted); border-bottom: 3px solid var(--ink); }
td.rk { color: var(--y); font-weight: 700; }
.faq details { border-bottom: 2px dashed rgba(43,22,6,.25); }
.faq summary::after { color: var(--y); font-weight: 700; }
.risk { border: 2px solid var(--err); background: #FFE4DE; }
footer { background: var(--ink); color: #E9CFA8; border-top: 0; }
footer .brand { color: #FFE9C2; }
footer a { color: var(--y2); }
.ticker { overflow: hidden; background: var(--y); border-bottom: 3px solid var(--ink); white-space: nowrap; }
.ticker div { display: inline-block; padding: 8px 0; font: 400 18px var(--serif); letter-spacing: .06em; color: #fff; text-shadow: 2px 2px 0 var(--ink); animation: tick 30s linear infinite; }
.ticker span { margin: 0 16px; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 980px) { .hero-art { display: block; width: 200px; margin: 20px auto 0; } .hero-copy { text-align: center; } .chips { justify-content: center; } .hero-copy .sub { margin-left: auto; margin-right: auto; } }
@media (max-width: 640px) { .pass { box-shadow: 6px 6px 0 var(--ink); } .btn-y.big { font-size: 19px; } .hero-art { width: 160px; } .chips { display: grid; } }
.btn-y:disabled { opacity: .6; background: #E8B98A; } .btn-o:disabled { opacity: .6; } .note { color: var(--muted); }
html, body { max-width: 100%; overflow-x: hidden; }
.ticker { width: 100%; max-width: 100vw; }
.hero .wrap > * { min-width: 0; }
@media (max-width: 980px) { .hero .wrap { grid-template-columns: 1fr !important; } }
@media (max-width: 640px) { h1 { font-size: 40px; text-shadow: 2px 2px 0 #fff, 4px 4px 0 rgba(43,22,6,.18); } .gold { -webkit-text-stroke: 1.5px var(--ink); text-shadow: 3px 3px 0 var(--ink); } .eyebrow { font-size: 10px; letter-spacing: .1em; } .pass-title { font-size: 17px; } .price { font-size: 17px; } .ticker div { font-size: 15px; } .brand img { width: 34px; height: 34px; } }
@media (prefers-reduced-motion: reduce) { .hero-art, .ticker div { animation: none; } }
