/* LuckyBot AI: zora layout. Generated file. */

:root {
  --bg: #ffffff; --surface: #ffffff; --surface-2: #f4f4f4; --soft: #efefef; --soft-hover: #e6e6e6;
  --ink: #111111; --ink-hover: #333333; --ink-2: #4d4d4d; --ink-3: #9a9a9a;
  --line: #e8e8e8; --line-strong: #d6d6d6;
  --accent: #111111; --accent-hover: #333333; --accent-shade: #000000; --accent-ink: #ffffff; --accent-text: #5b3cff;
  --pop: #e9e3ff; --pop-soft: #f4f1ff; --pop-line: #cfc3ff;
  --ok: #1db954; --bad: #ff4847; --focus: rgba(91, 60, 255, 0.15); --shadow: rgba(0, 0, 0, 0.1);
  --font-display: "Hanken Grotesk", system-ui, sans-serif; --font-body: "Hanken Grotesk", system-ui, sans-serif; --font-mono: "DM Mono", ui-monospace, monospace;
  --display-weight: 500; --display-tracking: -0.04em; --display-stretch: 100%;
  
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
code { font-family: var(--font-mono); font-size: 0.86em; background: var(--soft); padding: 0.12em 0.4em; border-radius: 6px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--pop); color: var(--ink); }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.hand { font-family: "Caveat", cursive; font-weight: 600; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 999px; z-index: 200; }
.skip:focus { left: 12px; }

h1, h2 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-stretch: var(--display-stretch, 100%); line-height: 1.05; }
h3 { font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none; white-space: nowrap;
  transition: transform 0.12s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: var(--ink-hover); }
.btn-ink.connected { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); font-family: var(--font-mono); font-size: 0.85rem; }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 2px 0 var(--accent-shade); }
.btn-accent:hover:not(:disabled) { background: var(--accent-hover); }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { background: var(--soft); }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--line-strong); padding-bottom: 2px; }
.link-arrow::after { content: " \2192"; }
.link-arrow:hover { border-color: var(--ink); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.nav-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch, 100%); letter-spacing: var(--display-tracking); font-size: 1.2rem; text-decoration: none; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.net { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; color: var(--ink-2); }
.net i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; flex-direction: column; gap: 6px; align-items: center; justify-content: center; }
.menu-btn span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-links:empty ~ .nav-actions .menu-btn { display: none !important; }

/* ---------- utilities ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.logo svg { width: 26px; height: 26px; flex-shrink: 0; }
.logo span { white-space: nowrap; }
.footer-links { flex-wrap: wrap; }
.foot-mono { font-family: var(--font-mono); }

/* ---------- tool core ---------- */
.setup-banner { margin-bottom: 20px; padding: 14px 18px; border-radius: 16px; background: var(--pop-soft); color: var(--ink); font-size: 0.95rem; border: 1.5px dashed var(--pop-line); }
.setup-banner code { background: rgba(0, 0, 0, 0.06); }
.field-label { display: block; font-weight: 700; margin-bottom: 10px; }
.field {
  width: 100%; font: inherit; font-size: 1.02rem; color: var(--ink); background: var(--field-bg, var(--bg));
  border: 1.5px solid var(--line-strong); border-radius: 16px; padding: 15px 16px; resize: vertical;
  transition: border-color 0.15s, box-shadow 0.15s;
}
textarea.field { min-height: 128px; }
.field::placeholder { color: var(--ink-3); }
.field:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--focus); }
.field-foot { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin: 12px 0 20px; }
.examples { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.examples-label { font-size: 0.85rem; color: var(--ink-3); margin-right: 2px; }
.example-chip { font-size: 0.85rem; padding: 5px 12px; border-radius: 999px; background: var(--soft); color: var(--ink); transition: background-color 0.15s; }
.example-chip:hover { background: var(--soft-hover); }
.char-count { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-3); padding-top: 6px; flex-shrink: 0; }
.fine { margin-top: 12px; font-size: 0.86rem; color: var(--ink-2); text-align: center; }
.fine a { font-weight: 600; margin-left: 4px; }
.live-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 20px; padding-top: 16px; border-top: 1.5px dashed var(--line); font-size: 0.86rem; color: var(--ink-2); }
.live-stats b { color: var(--ink); font-family: var(--font-mono); font-weight: 600; }
.pending { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: var(--pop-soft); color: var(--ink); font-size: 0.9rem; }

.progress { list-style: none; margin-top: 22px; padding-top: 18px; border-top: 1.5px solid var(--line); display: grid; gap: 14px; text-align: left; }
.pstep { display: flex; gap: 14px; opacity: 0.4; transition: opacity 0.2s; }
.pstep strong { display: block; font-size: 0.95rem; }
.pdetail { font-size: 0.86rem; color: var(--ink-2); word-break: break-word; }
.pdetail a { font-weight: 600; }
.pdot { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; border-radius: 50%; border: 2px solid var(--line-strong); position: relative; }
.pstep.active, .pstep.done, .pstep.error { opacity: 1; }
.pstep.active .pdot { border-color: var(--ink); border-right-color: transparent; animation: spin 0.8s linear infinite; }
.pstep.done .pdot { border-color: var(--ok); background: var(--ok); }
.pstep.done .pdot::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pstep.error .pdot { border-color: var(--bad); background: var(--bad); }
.pstep.error .pdetail { color: var(--bad); }
@keyframes spin { to { transform: rotate(360deg); } }

.me { display: grid; gap: 9px; font-size: 0.92rem; }
.me div { display: flex; justify-content: space-between; gap: 12px; }
.me dt { color: var(--ink-2); }
.me dd { font-weight: 600; font-family: var(--font-mono); font-size: 0.86rem; text-align: right; }
.history { display: grid; gap: 8px; }
.history-item { text-align: left; display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--bg); font-size: 0.88rem; transition: background-color 0.15s; }
.history-item:hover { background: var(--soft); }
.history-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-item small { color: var(--ink-3); font-size: 0.76rem; }

.result { animation: rise 0.3s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.result-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.result-head h3 { margin: 0; }
.result-body { font-size: 1.02rem; }
.result-body h3, .result-body h4, .result-body h5, .result-body h6 { font-weight: 700; font-size: 1.05rem; margin: 18px 0 6px; }
.result-body p { margin: 8px 0; }
.result-body ul, .result-body ol { margin: 8px 0 8px 1.3em; }
.result-body li { margin: 4px 0; }
.result-body hr { border: 0; border-top: 1.5px solid var(--line); margin: 16px 0; }
.result-meta { margin-top: 18px; padding-top: 14px; border-top: 1.5px dashed var(--line); font-size: 0.86rem; color: var(--ink-2); }
.result-meta a { font-weight: 600; }
.disclaimer { margin-top: 6px; font-size: 0.8rem; color: var(--ink-3); }

/* ---------- modal & toast ---------- */
.modal { margin: auto; width: min(420px, calc(100% - 32px)); border: 0; border-radius: 28px; padding: 26px; background: var(--modal-bg, #fff); color: var(--modal-ink, #1a1a1a); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.35); font-family: var(--font-body); }
.modal::backdrop { background: rgba(10, 10, 20, 0.5); }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.modal-head h3 { font-size: 1.15rem; }
.dialog-close { width: 36px; height: 36px; border-radius: 50%; opacity: 0.6; }
.dialog-close:hover { opacity: 1; background: rgba(0, 0, 0, 0.06); }
.wallet-list { display: grid; gap: 8px; margin-bottom: 14px; }
.wallet-option { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px; border-radius: 16px; background: rgba(0, 0, 0, 0.04); text-align: left; transition: background-color 0.15s; }
.wallet-option:hover { background: rgba(0, 0, 0, 0.08); }
.wallet-option img { border-radius: 8px; }
.wallet-option small { display: block; opacity: 0.7; font-size: 0.8rem; }
.wallet-option.danger strong { color: #c62828; }
.wallet-icon-fallback { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; background: #1a1a1a; color: #fff; }
.wallet-empty { display: grid; gap: 10px; text-align: center; }
.wallet-empty .btn-ink { background: #1a1a1a; color: #fff; }
.wallet-empty .btn-ghost { background: #fff; color: #1a1a1a; box-shadow: inset 0 0 0 1.5px #d4d4d8; }
.wallet-empty a:not(.btn) { font-weight: 600; }
.modal-foot { font-size: 0.84rem; opacity: 0.7; }
.toasts { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; width: min(420px, calc(100% - 32px)); }
.toast { padding: 13px 18px; border-radius: 16px; background: #1a1a1a; color: #fff; font-size: 0.92rem; box-shadow: 0 16px 40px -16px rgba(0,0,0,0.5); opacity: 0; transform: translateY(8px); transition: opacity 0.25s, transform 0.25s; }
.toast.show { opacity: 1; transform: none; }
.toast-error { background: #c62828; }

/* ---------- shared responsive ---------- */
@media (max-width: 760px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--surface); padding: 6px 20px 14px; box-shadow: 0 12px 24px -16px rgba(0,0,0,0.3); }
  .nav-open .nav-links { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1.5px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .menu-btn { display: flex; }
  .net { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand > span:last-child { display: none; }
  .nav-actions .js-connect { padding: 8px 16px; min-height: 40px; }
  .field-foot { flex-direction: column; }
  .pending { flex-direction: column; align-items: stretch; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}


/* ===== LuckyBot: the orb is a crystal ball (after zora.co) ===== */
body { font-size: 15.5px; letter-spacing: -0.015em; font-weight: 410; color: var(--ink-2); }
h1, h2, h3, strong, b { color: var(--ink); }

.z-nav { display: flex; align-items: center; gap: 24px; padding: 14px 22px; }
.z-nav .logo { font-weight: 600; font-size: 1.1rem; margin-right: auto; }
.z-nav .logo .z-dot { width: 32px; height: 32px; }
.z-ai { font-style: normal; margin-left: 6px; padding: 2px 7px; border-radius: 8px; background: #111; color: #fff; font-size: 0.72em; font-weight: 600; letter-spacing: 0.04em; vertical-align: 2px; }
.z-links { gap: 22px; }
.z-links a { color: var(--ink-2); }
.z-actions { display: flex; align-items: center; gap: 10px; }
.z-nav .btn-ink { background: var(--ink); color: #fff; border-radius: 12px; min-height: 40px; padding: 8px 16px; }
.z-nav .btn-ink.connected { background: var(--surface-2); color: var(--ink); box-shadow: none; }

.z-dot, .z-orb, .z-av { border-radius: 50%; background: radial-gradient(circle at 32% 28%, #ffffff 0 6%, #ffd2f3 14%, #a26bff 38%, #2f2bd9 64%, #0a0a2e 100%); }
.z-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 20px 30px; }
.z-orb { position: relative; width: min(260px, 60vw); aspect-ratio: 1; margin-bottom: 30px; box-shadow: 0 40px 90px -30px rgba(92, 60, 255, 0.55), inset -18px -26px 60px rgba(0,0,0,0.35);
  animation: orb 12s ease-in-out infinite; }
.z-orb-shine { position: absolute; left: 20%; top: 14%; width: 30%; height: 18%; border-radius: 50%; background: rgba(255,255,255,0.7); filter: blur(8px); }
@keyframes orb { 0%, 100% { filter: hue-rotate(0deg); transform: translateY(0); } 50% { filter: hue-rotate(40deg); transform: translateY(-8px); } }
.z-hero h1 { font-family: var(--font-body); font-weight: 500; font-size: clamp(2.2rem, 5.2vw, 3.6rem); letter-spacing: -0.045em; line-height: 1.02; max-width: 13em; }
.z-sub { max-width: 32em; margin: 16px auto 30px; font-size: 1.05rem; }
.z-card { width: min(100%, 520px); text-align: left; background: var(--surface-2); border-radius: 16px; padding: 18px; }
.z-card .field-label { font-weight: 500; font-size: 0.9rem; color: var(--ink); }
.z-card .field { background: var(--surface); border: 0; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.z-card .field:focus { box-shadow: 0 0 0 2px var(--ink); }
.z-card-foot { display: flex; justify-content: space-between; gap: 10px; margin: 12px 0 14px; align-items: center; }
.z-card .example-chip { background: var(--surface); box-shadow: 0 0 0 1px var(--line); border-radius: 10px; }
.z-card .examples-label { display: none; }
.z-card #run-btn { background: var(--ink); color: #fff; border-radius: 12px; box-shadow: none; }
.z-card #run-btn:hover:not(:disabled) { background: #333; }
.z-card .fine { color: var(--ink-3); }

.z-result { max-width: 640px; margin: 0 auto; padding: 0 20px 20px; }
.z-result:has(> .result[hidden]) { display: none; }
.z-result .result { border-radius: 16px; padding: 26px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(92,60,255,0.6); }
.z-result .result-head h3 { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; font-weight: 500; }
.z-result .result-head h3::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff 0 6%, #ffd2f3 14%, #a26bff 38%, #2f2bd9 64%, #0a0a2e 100%); }
.z-result .result-body h4 { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.03em; margin: 4px 0 10px; }
.z-result .btn-ghost { box-shadow: 0 0 0 1px var(--line); border-radius: 10px; }

.z-feed { max-width: 980px; margin: 0 auto; padding: 70px 20px 0; }
.z-tabs { display: flex; gap: 22px; margin-bottom: 18px; font-weight: 500; }
.z-tabs span { color: var(--ink-3); padding-bottom: 8px; }
.z-tabs .is-on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.z-table { display: grid; gap: 8px; }
.z-tr { display: grid; grid-template-columns: minmax(150px, 1.1fr) minmax(0, 2.4fr) 90px 90px; gap: 16px; align-items: center; padding: 12px 16px; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.z-th { background: none; box-shadow: none; padding-top: 0; padding-bottom: 0; font-size: 0.85rem; color: var(--ink-3); }
.z-who { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.z-who small { display: block; font-weight: 410; color: var(--ink-3); font-size: 0.8rem; }
.z-av { width: 38px; height: 38px; flex-shrink: 0; }
.z-read { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.z-num { font-variant-numeric: tabular-nums; color: var(--ink); }
.z-up { color: var(--ok); font-weight: 500; }
.z-feed-note { font-size: 0.82rem; color: var(--ink-3); margin-top: 10px; }

.z-mine { max-width: 980px; margin: 0 auto; padding: 40px 20px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.z-box:has(> [hidden]:only-child) { display: none; }
.z-box { background: var(--surface-2); border-radius: 16px; padding: 18px; }
.z-box h3 { font-size: 0.95rem; font-weight: 500; margin-bottom: 10px; }
.z-box .history-item { background: var(--surface); }
.z-box-stats .live-stats { border: 0; margin: 0; padding: 0; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 0.95rem; }
.z-box-stats .live-stats b { font-family: var(--font-body); font-size: 1.4rem; }

.z-faq { max-width: 980px; margin: 0 auto; padding: 90px 20px 90px; }
.z-faq h2 { font-family: var(--font-body); font-weight: 500; font-size: clamp(1.8rem, 3.4vw, 2.4rem); letter-spacing: -0.04em; margin-bottom: 26px; }
.z-faq-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.z-faq-grid ol { list-style: none; counter-reset: s; display: grid; gap: 16px; }
.z-faq-grid ol li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 12px; }
.z-faq-grid ol li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); color: var(--ink); font-weight: 500; }
.z-faq-list details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.z-faq-list details:first-child { padding-top: 0; }
.z-faq-list summary { cursor: pointer; list-style: none; font-weight: 500; color: var(--ink); display: flex; justify-content: space-between; gap: 14px; }
.z-faq-list summary::-webkit-details-marker { display: none; }
.z-faq-list summary::after { content: "+"; font-size: 1.2rem; line-height: 1; }
.z-faq-list details[open] summary::after { content: "\2212"; }
.z-faq-list details p { margin-top: 8px; }

.z-foot { display: grid; justify-items: start; gap: 10px; padding: 30px 22px 40px; font-size: 0.85rem; color: var(--ink-3); }
.z-foot-mark { font-size: clamp(2.6rem, 9vw, 5rem); font-weight: 500; letter-spacing: -0.06em; color: #b8b8b8; line-height: 1; }
.z-foot .footer-links { display: flex; gap: 18px; }
.z-foot a { text-decoration: none; color: var(--ink-2); }

@media (max-width: 860px) {
  .z-tr { grid-template-columns: minmax(0, 1fr) 70px; }
  .z-tr > :nth-child(2), .z-tr > :nth-child(4) { display: none; }
  .z-mine, .z-faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .z-nav { padding: 12px 14px; }
  .z-card-foot { flex-direction: column; align-items: flex-start; }
}


