/* Hood Launcher — Sherwood light-green theme, black-fox archer brand. */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sky-top: #cbe7ba;   /* soft light green, top of page */
  --sky-bot: #f4faee;   /* near-white green, bottom */
  --green: #4aa528;     /* primary green */
  --green-2: #388718;   /* button gradient bottom */
  --green-hi: #6bcf39;  /* bright green, gradient top + accents */
  --lime: #c3f53a;      /* the logo lime, sparingly */
  --ink: #17300e;       /* dark forest green, reads as near-black */
  --wordmark: #10200a;  /* the name, all black */
  --muted: #5d6f53;     /* sage muted text */
  --card: #ffffff;
  --card-2: #f1f7ea;    /* light green card fill */
  --edge: #ddeacf;
  --edge-2: #c9deb7;
  --banner: #1d3f12;    /* deep forest green */
  --red: #e5484d;
  --amber: #b07d00;
  --ok: #2f9e12;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --sans: "Nunito Sans", system-ui, "Segoe UI", sans-serif;
  --r: 22px;
  --r-sm: 13px;
  --shadow: 0 10px 30px rgba(35, 80, 25, 0.13);
  --shadow-sm: 0 3px 12px rgba(35, 80, 25, 0.09);
}

html { color-scheme: light; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  min-height: 100vh;
  background: linear-gradient(180deg, var(--sky-top) 0%, #d9f0c9 20%, #e7f5dc 50%, var(--sky-bot) 100%) fixed;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.hint { color: var(--muted); font-weight: 400; font-size: 0.82em; }
.accent, .brand-accent { color: var(--green); }
.green { color: var(--ok); }
.leaf { filter: hue-rotate(-8deg); }
a { color: #2f7a16; text-decoration: none; }
a:hover { text-decoration: underline; }

/* clouds */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.cloud { position: absolute; background: #fff; border-radius: 100px; filter: blur(14px); opacity: 0.6; }
.cloud.c1 { width: 260px; height: 70px; top: 8%; left: 6%; }
.cloud.c2 { width: 340px; height: 90px; top: 4%; right: 8%; opacity: 0.5; }
.cloud.c3 { width: 200px; height: 60px; top: 22%; left: 40%; opacity: 0.45; }
.cloud.c4 { width: 300px; height: 80px; top: 30%; right: 20%; opacity: 0.4; }

main, .nav, .footer { position: relative; z-index: 1; }

/* nav */
.nav {
  display: flex; align-items: center; gap: 20px;
  max-width: 1140px; margin: 0 auto; padding: 18px 22px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-img { width: 42px; height: 42px; border-radius: 12px; border: 2px solid #fff; box-shadow: var(--shadow-sm); }
.brand-word { font-weight: 900; font-size: 22px; color: var(--wordmark); letter-spacing: -0.01em; white-space: nowrap; }
.brand-word .brand-accent { color: inherit; }
.nav-links { display: flex; gap: 6px; margin-left: 18px; flex: 1; }
.nav-links a { color: var(--ink); font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: 999px; }
.nav-links a:hover { background: rgba(23,48,14,0.08); text-decoration: none; }
.nav-links a.active { color: var(--green-2); }
.nav-links a.active::after { content: ""; display: block; height: 3px; border-radius: 3px; background: var(--green-hi); margin-top: 3px; }
.nav-right { display: flex; align-items: center; gap: 10px; }

.nav-search {
  width: 210px; padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,0.9); border: 0; box-shadow: var(--shadow-sm);
}
.nav-search:focus { outline: none; background: #fff; box-shadow: 0 0 0 3px rgba(95,191,48,0.25); }

.announce {
  position: relative; z-index: 1; text-align: center;
  background: var(--banner); color: #e6f5d8;
  font-weight: 800; font-size: 14px; padding: 9px 16px;
}
.announce b { color: var(--lime); }

.icon-btn {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px;
  background: rgba(255,255,255,0.9); color: var(--ink); border: 0; cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.icon-btn:hover { background: #fff; text-decoration: none; }
.wallet-chip {
  display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.92);
  border-radius: 999px; padding: 8px 14px; font-size: 13px; cursor: pointer; box-shadow: var(--shadow-sm);
}
.wallet-chip .lamp { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

/* buttons */
.btn {
  font-family: var(--sans); font-weight: 800; font-size: 15px; cursor: pointer;
  border: 0; border-radius: 13px; padding: 12px 22px; transition: transform .05s, filter .15s, background .15s;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn-green { background: linear-gradient(180deg, var(--green-hi), var(--green-2)); color: #fff; box-shadow: 0 5px 0 #3c8a1b, var(--shadow-sm); }
.btn-green:hover:not([disabled]) { filter: brightness(1.05); }
.btn-green:active:not([disabled]) { box-shadow: 0 2px 0 #3c8a1b; }
.btn-big { width: 100%; padding: 15px; font-size: 17px; }
.btn-white { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); border-radius: 999px; }
.btn-white:hover { filter: brightness(0.97); }
.btn-ghost { background: var(--card-2); color: var(--ink); border: 1.5px solid var(--edge-2); }
.btn-ghost:hover:not([disabled]) { background: #fff; border-color: var(--green); }
.btn-danger { background: #fff; color: var(--red); border: 1.5px solid #f0b4b6; }
.btn-danger:hover:not([disabled]) { background: #fdf0f0; }
.btn-danger.armed { background: var(--red); color: #fff; }

/* hero — centered column: fox on top, title/tagline/CTA centered under it */
.hero { max-width: 1140px; margin: 4px auto 0; padding: 18px 22px 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; width: 100%; }
.hero-title { font-weight: 900; font-size: clamp(40px, 8vw, 82px); line-height: 1; color: var(--wordmark); letter-spacing: -0.02em; }
.hero-title .accent { color: inherit; }
.hero-banner { margin: 20px auto 0; background: var(--banner); color: #e9f5dd; font-weight: 700; font-size: clamp(15px, 2.2vw, 20px); padding: 16px 22px; border-radius: 16px; max-width: 640px; box-shadow: var(--shadow); }
.hero-banner strong { color: var(--green-hi); }
.hero-leaf { margin-right: 6px; }
.hero-mascot { order: -1; width: clamp(150px, 22vw, 240px); height: auto; border-radius: 30px; border: 6px solid #fff; box-shadow: 0 18px 40px rgba(35,80,25,0.22); margin-bottom: 20px; }

/* feature chips */
.chips { max-width: 1140px; margin: 26px auto 0; padding: 0 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.chip { background: var(--card); border-radius: 16px; padding: 18px 15px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; box-shadow: var(--shadow-sm); }
.chip-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.ic-bolt { background: #eaf7c4; } .ic-coin { background: #d9f6dc; } .ic-shield { background: #d6f0dd; } .ic-rocket { background: #e6f5c9; }
.chip b { display: block; font-size: 14px; }
.chip span { font-size: 12px; color: var(--muted); }

/* cards */
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 26px; }
.card h2 { font-size: 22px; font-weight: 900; }
.card h3 { font-size: 18px; font-weight: 800; }
.lede { color: var(--muted); font-size: 14px; margin: 6px 0 16px; }

.hero-cta { display: block; width: 100%; max-width: 360px; margin: 20px auto 0; text-align: center; text-decoration: none; }
.hero-cta:hover { text-decoration: none; }

/* create page heading */
.create-head { max-width: 1140px; margin: 20px auto 0; padding: 0 22px; text-align: center; }
.create-head h2 { font-size: 30px; font-weight: 900; color: var(--wordmark); }
.create-head > p { color: var(--muted); font-weight: 700; margin: 6px 0 12px; }
.manage-existing { background: rgba(255,255,255,0.7); border-radius: 12px; padding: 10px 14px; display: inline-block; }
.manage-existing summary { cursor: pointer; font-weight: 800; font-size: 13px; color: var(--ink); }
.manage-existing[open] { display: block; max-width: 480px; }
.manage-existing[open] .tax-set { margin-top: 10px; }
.manage-existing .tax-set input { width: 100%; }

/* launch wrap */
.launch-wrap { max-width: 1140px; margin: 20px auto 0; padding: 0 22px; display: grid; grid-template-columns: 1fr 380px; gap: 20px; align-items: start; }

/* wizard */
.stepper { display: flex; gap: 8px; margin-bottom: 22px; }
.step { flex: 1; display: flex; align-items: center; gap: 9px; padding: 10px; border-radius: 12px; background: var(--card-2); opacity: 0.6; transition: 0.25s; }
.step.on { opacity: 1; background: #eaf7e6; }
.step.done { opacity: 1; }
.step-n { width: 26px; height: 26px; border-radius: 50%; background: #cfe0f0; color: #fff; font-weight: 900; display: grid; place-items: center; font-size: 13px; flex-shrink: 0; }
.step.on .step-n, .step.done .step-n { background: var(--green); }
.step b { font-size: 13px; display: block; }
.step span { font-size: 11px; color: var(--muted); }

.wgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.wcol { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 800; }
input, textarea, #board-search {
  font-family: inherit; font-size: 14px; font-weight: 600; color: var(--ink);
  background: var(--card-2); border: 1.5px solid var(--edge-2); border-radius: var(--r-sm); padding: 12px 13px;
}
textarea { resize: vertical; font-weight: 500; }
input::placeholder, textarea::placeholder { color: #9caf8e; font-weight: 500; text-transform: none; }
input:focus, textarea:focus, #board-search:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(95,191,48,0.18); }
input.bad { border-color: var(--red); box-shadow: 0 0 0 3px rgba(229,72,77,0.15); }

.drop { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; border: 2px dashed var(--edge-2); border-radius: var(--r-sm); padding: 22px 14px; cursor: pointer; background: var(--card-2); color: var(--muted); font-weight: 700; font-size: 13px; }
.drop:hover { border-color: var(--green); background: #f4fdf1; }
.drop.filled { border-style: solid; border-color: var(--green); color: var(--ok); background: #f4fdf1; }
.drop-ic { font-size: 24px; }
.drop-sub { font-size: 11px; font-weight: 500; }

.check { flex-direction: row; align-items: flex-start; gap: 10px; background: var(--card-2); border: 1.5px solid var(--edge-2); border-radius: var(--r-sm); padding: 13px; cursor: pointer; font-weight: 700; }
.check input { width: 18px; height: 18px; accent-color: var(--green); margin-top: 1px; flex-shrink: 0; }
.check b { font-size: 13px; } .check i { display: block; font-style: normal; font-weight: 500; font-size: 12px; color: var(--muted); margin-top: 2px; }

.adv { background: var(--card-2); border: 1.5px dashed var(--edge-2); border-radius: var(--r-sm); padding: 12px 14px; }
.adv summary { cursor: pointer; font-weight: 800; font-size: 13px; }
.adv[open] label { margin-top: 10px; }

.wnav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.wnav .wnext { margin-left: auto; }
.fineprint { font-size: 13px; color: var(--muted); margin: 4px 0 8px; }

/* summary */
.summary { position: sticky; top: 16px; }
.sum-h { font-size: 18px; font-weight: 900; display: flex; align-items: center; gap: 7px; margin-bottom: 14px; }
.token-preview { background: var(--card-2); border-radius: 16px; padding: 14px; }
.tp-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.token-card { position: relative; display: flex; gap: 12px; align-items: flex-start; }
.tc-logo { width: 46px; height: 46px; border-radius: 50%; background: #dcefd0 center/cover no-repeat; display: grid; place-items: center; font-size: 22px; flex-shrink: 0; overflow: hidden; border: 2px solid #fff; box-shadow: var(--shadow-sm); }
.tc-body { min-width: 0; flex: 1; }
.tc-head { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.tc-name { font-weight: 900; font-size: 15px; }
.tc-sym { font-family: var(--mono); font-size: 12px; color: var(--ok); font-weight: 600; }
.tc-desc { font-size: 12px; color: var(--muted); margin-top: 3px; word-break: break-word; }
.tc-socials { display: flex; gap: 6px; margin-top: 7px; flex-wrap: wrap; }
.tc-socials a { font-size: 11px; font-weight: 700; background: #fff; border: 1px solid var(--edge-2); border-radius: 999px; padding: 2px 9px; }
.tc-badge { position: absolute; top: 0; right: 0; background: #dff5d6; color: var(--ok); font-size: 10px; font-weight: 800; border-radius: 999px; padding: 3px 9px; }

.sum-rows { margin: 16px 0; display: flex; flex-direction: column; }
.sum-rows > div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--edge); font-size: 14px; }
.sum-rows dt { color: var(--muted); font-weight: 700; } .sum-rows dd { font-weight: 800; text-align: right; }
.sum-note { background: #eef7e4; border-radius: 12px; padding: 12px; font-size: 13px; color: #3c5a2e; font-weight: 700; display: flex; gap: 8px; }
.sum-warn { background: #fbf1d8; border: 1px solid #eacf8f; border-radius: 12px; padding: 12px; font-size: 12.5px; color: #7a5a12; font-weight: 700; line-height: 1.5; margin-bottom: 10px; }

/* post-launch */
.post { max-width: 1140px; margin: 20px auto 0; padding: 0 22px; display: flex; flex-direction: column; gap: 18px; }
.done-links { display: flex; flex-direction: column; gap: 7px; margin-top: 10px; font-size: 14px; }
.done-links .mono { word-break: break-all; }
#st-done { border: 2px solid var(--green); background: linear-gradient(180deg, #f2fdee, #fff); }
.mrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px solid var(--edge); }
.mrow:first-of-type { border-top: 0; }
.mrow p { font-size: 13px; color: var(--muted); max-width: 46ch; }
.mrow.done-row { opacity: 0.55; }
.tax-set { display: flex; gap: 8px; } .tax-set input { width: 72px; }
.publish-steps { margin: 10px 0 0 18px; display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
.note { background: #fdf7e8; border: 1px solid #f0d9a8; border-radius: 12px; padding: 12px 14px; font-size: 13px; color: #7a5b17; margin: 8px 0; }
.note ol { margin: 8px 0 0 18px; display: flex; flex-direction: column; gap: 6px; }

/* status + preview */
.status { margin-top: 12px; font-size: 14px; font-weight: 600; }
.status:empty { margin: 0; }
.status .ok, #log .ok { color: var(--ok); } .status .err { color: var(--red); } .status .warn { color: var(--amber); }
.status .addr { word-break: break-all; }
.preview { font-family: var(--mono); font-size: 13px; color: #3c5a2e; background: var(--card-2); border: 1px solid var(--edge); border-left: 3px solid var(--green); border-radius: 12px; padding: 13px 15px; white-space: pre-line; }
.preview:empty { display: none; }
.spin::before { content: ""; display: inline-block; width: 13px; height: 13px; border: 2.5px solid rgba(95,191,48,0.3); border-top-color: var(--green); border-radius: 50%; margin-right: 8px; vertical-align: -2px; animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.row { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }

/* board */
.board { max-width: 1140px; margin: 26px auto 0; }
.board-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.board-head h2 { display: flex; align-items: center; justify-content: center; gap: 8px; }
#board-search { width: 100%; max-width: 320px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 20px 0; }
.stat { background: var(--card-2); border-radius: 16px; padding: 16px; text-align: center; }
.stat-ic { font-size: 18px; } .stat b { display: block; font-size: 24px; font-weight: 900; color: var(--green); margin: 2px 0; } .stat span { font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: 0.03em; }
.token-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.board-empty { grid-column: 1/-1; text-align: center; color: var(--muted); padding: 30px; }
.tg-card { background: var(--card-2); border: 1px solid var(--edge); border-radius: 16px; padding: 15px; display: flex; flex-direction: column; gap: 8px; }
.tg-card[data-token] { cursor: pointer; transition: transform .1s, box-shadow .15s, border-color .15s; }
.tg-card[data-token]:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--green); }
.tg-top { display: flex; align-items: center; gap: 10px; }
.tg-logo { width: 40px; height: 40px; border-radius: 50%; background: #dcefd0 center/cover no-repeat; display: grid; place-items: center; font-size: 18px; flex-shrink: 0; overflow: hidden; border: 2px solid #fff; }
.tg-name { font-weight: 900; font-size: 14px; } .tg-sym { font-family: var(--mono); font-size: 11px; color: var(--ok); }
.tg-live { margin-left: auto; font-size: 10px; font-weight: 800; color: var(--ok); background: #dff5d6; border-radius: 999px; padding: 2px 8px; }
.tg-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.tg-links { display: flex; gap: 8px; font-size: 12px; font-weight: 700; }

/* faq */
.faq { max-width: 1140px; margin: 26px auto 0; }
.faq h2 { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 16px; }
.faq details { border: 1px solid var(--edge); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 800; font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--green); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; color: var(--muted); font-size: 14px; }

/* token detail page */
.tokenpage { max-width: 1140px; margin: 16px auto 0; padding: 0 22px; }
.tp-back { display: inline-block; color: var(--green-2); font-weight: 800; font-size: 13px; margin-bottom: 12px; }
.tp-back:hover { color: var(--green); text-decoration: none; }
.tp-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.tp-id { display: flex; align-items: center; gap: 14px; }
.tp-logo { width: 66px; height: 66px; border-radius: 18px; background: #dcefd0 center/cover no-repeat; display: grid; place-items: center; font-size: 30px; flex-shrink: 0; border: 3px solid #fff; box-shadow: var(--shadow); overflow: hidden; }
.tp-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.tp-sym { display: flex; align-items: center; gap: 12px; font-size: clamp(28px, 5vw, 44px); font-weight: 900; color: var(--wordmark); line-height: 1; }
.tp-badge { font-size: 12px; font-weight: 800; color: var(--ok); background: #dff5d6; border-radius: 999px; padding: 4px 11px; text-shadow: none; }
.tp-badge.pending { color: var(--amber); background: #fbeecb; }
.tp-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tp-links a, .tp-links button { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 13px; border-radius: 999px; background: rgba(255,255,255,0.92); color: var(--ink); border: 0; font-family: var(--mono); font-size: 12px; font-weight: 700; cursor: pointer; box-shadow: var(--shadow-sm); }
.tp-links a:hover, .tp-links button:hover { background: #fff; text-decoration: none; }

.tp-grid { display: grid; grid-template-columns: 1fr 380px; gap: 20px; align-items: start; }
.tp-maincol { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tp-chartcard { padding: 16px; }
.tp-chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-weight: 900; font-size: 16px; }
.tp-chart-head a { font-size: 12px; font-weight: 700; }
.tp-chart { position: relative; height: 460px; border-radius: 14px; overflow: hidden; background: var(--card-2); border: 1px solid var(--edge); }
.tp-chart iframe { width: 100%; height: 100%; border: 0; display: block; }
.tp-chart-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); font-size: 14px; font-weight: 700; }

.tp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tp-stat { background: var(--card); border-radius: 16px; padding: 15px 16px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 4px; }
.tp-stat span { font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.tp-stat b { font-size: 19px; font-weight: 900; }
.tp-desc { background: rgba(255,255,255,0.7); border-radius: 14px; padding: 14px 16px; color: #3c5a2e; font-weight: 600; font-size: 14px; }

.tp-trade { position: sticky; top: 16px; padding: 20px; }
.tp-trade-h { font-size: 18px; font-weight: 900; margin-bottom: 14px; }
.tp-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--card-2); border-radius: 13px; padding: 5px; margin-bottom: 14px; }
.tp-tab { border: 0; background: transparent; font-family: var(--sans); font-weight: 800; font-size: 15px; padding: 10px; border-radius: 9px; cursor: pointer; color: var(--muted); }
.tp-tab.on { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
.tp-tab.on.sell { background: var(--red); }
.tp-field { background: var(--card-2); border: 1.5px solid var(--edge-2); border-radius: var(--r-sm); padding: 12px 13px; }
.tp-field-top { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.tp-field-row { display: flex; align-items: center; gap: 8px; }
.tp-field-row input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0; font-size: 22px; font-weight: 800; }
.tp-field-row input:focus { outline: none; box-shadow: none; }
.tp-max { border: 0; background: #e3f4d4; color: var(--green-2); font-weight: 800; font-size: 11px; padding: 5px 9px; border-radius: 8px; cursor: pointer; }
.tp-max:hover { background: #d5edc0; }
.tp-cur { font-weight: 900; font-size: 14px; flex-shrink: 0; }
.tp-out { flex: 1; min-width: 0; font-size: 22px; font-weight: 800; color: var(--ink); word-break: break-all; }
.tp-recv .tp-out { color: var(--ink); }
.tp-swapline { display: grid; place-items: center; margin: -7px 0; position: relative; z-index: 2; }
.tp-swapdot { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1.5px solid var(--edge-2); display: grid; place-items: center; font-weight: 900; color: var(--muted); }
.tp-trade-meta { margin: 14px 0; display: flex; flex-direction: column; gap: 8px; }
.tp-trade-meta > div { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.tp-trade-meta b { color: var(--ink); font-weight: 800; }
.tp-slip { display: inline-flex; align-items: center; gap: 2px; }
.tp-slip input { width: 42px; text-align: right; padding: 4px 6px; font-size: 13px; font-weight: 800; border-radius: 8px; }
.tp-trade-note { font-size: 11px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.tp-trade .status { margin-top: 10px; }
.done-open { display: inline-block; font-weight: 900; font-size: 15px; color: var(--ok); margin-bottom: 6px; }
.tp-claim { margin-top: 16px; padding-top: 16px; border-top: 1.5px dashed var(--edge-2); }
.tp-claim-head { font-weight: 900; font-size: 15px; margin-bottom: 8px; }
.tp-claim-amt { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.tp-claim-amt b { font-size: 22px; font-weight: 900; }
#lock-claim.empty { opacity: 0.6; }

/* footer */
.footer { max-width: 1140px; margin: 40px auto 0; padding: 30px 22px; background: rgba(255,255,255,0.65); border-radius: 24px 24px 0 0; backdrop-filter: blur(6px); }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.foot-logo { display: flex; align-items: center; gap: 10px; }
.foot-logo img { width: 34px; height: 34px; border-radius: 9px; }
.foot-logo .brand-word { color: var(--ink); text-shadow: none; font-size: 19px; }
.foot-brand p { color: var(--muted); font-size: 13px; margin: 12px 0; max-width: 46ch; }
.foot-socials { display: flex; gap: 10px; }
.foot-socials a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.foot-socials a:hover { color: var(--green); }
.foot-col h4 { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.foot-col a { display: block; color: var(--ink); font-weight: 700; font-size: 14px; padding: 5px 0; }
.foot-col a:hover { color: var(--green); text-decoration: none; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--edge); font-size: 12px; color: var(--muted); }

/* log + floating status */
.log-bar { max-width: 1140px; margin: 0 auto; padding: 8px 22px 30px; position: relative; z-index: 1; }
#log { font-family: var(--mono); font-size: 11px; color: #5f7593; display: flex; flex-direction: column-reverse; gap: 2px; max-height: 90px; overflow-y: auto; }
#log a { color: #2274c9; } #log .err { color: var(--red); }
.floating-status { position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%); background: #fff; box-shadow: var(--shadow); border-radius: 999px; padding: 10px 18px; font-size: 13px; font-weight: 700; z-index: 30; max-width: 92vw; }
.floating-status:empty { display: none; }
.floating-status.warn { color: var(--amber); }

/* responsive */
@media (max-width: 900px) {
  /* nav wraps: brand + wallet on row 1, links on row 2, redundant search hidden */
  .nav { flex-wrap: wrap; row-gap: 12px; }
  .nav-search { display: none; }
  .nav-links { order: 3; flex: 0 0 100%; margin-left: 0; justify-content: center; gap: 4px; }
  .nav-right { margin-left: auto; }
  .launch-wrap { grid-template-columns: 1fr; }
  .summary { position: static; }
  .chips, .stats { grid-template-columns: 1fr 1fr; }
  .wgrid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .stepper { flex-direction: column; }
  .tp-grid { grid-template-columns: minmax(0, 1fr); }
  .tp-trade { position: static; order: -1; min-width: 0; }
  .tp-stats { grid-template-columns: 1fr 1fr; }
  .tp-chart { height: 380px; }
}

/* phones */
@media (max-width: 560px) {
  .nav { padding: 12px 14px; gap: 12px; }
  .brand-img { width: 36px; height: 36px; }
  .brand-word { font-size: 19px; }
  .nav-links a { font-size: 14px; padding: 6px 10px; }
  .btn-white { padding: 9px 14px; font-size: 13px; }
  .announce { font-size: 12.5px; padding: 8px 13px; }
  .hero { padding: 6px 16px 0; }
  .hero-title { font-size: clamp(40px, 13vw, 56px); }
  .hero-banner { font-size: 15px; padding: 14px 16px; margin-top: 16px; }
  .hero-cta { margin-top: 16px; width: 100%; text-align: center; }
  .chips { grid-template-columns: 1fr; gap: 10px; padding: 0 16px; margin-top: 18px; }
  .create-head, .launch-wrap, .post, .tokenpage, .footer { padding-left: 16px; padding-right: 16px; }
  .board, .faq { margin-left: 16px; margin-right: 16px; }
  .card { padding: 18px; }
  .create-head h2 { font-size: 26px; }
  /* wizard: stack the Back / next buttons so nothing gets crushed */
  .wnav { flex-direction: column-reverse; gap: 10px; }
  .wnav .btn { width: 100%; }
  .wnav .wnext, .wnav .wback { margin: 0; }
  /* token page */
  .tp-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tp-header { gap: 12px; }
  .tp-logo { width: 54px; height: 54px; }
  .tp-sym { font-size: 30px; }
  .tp-links { width: 100%; }
  .tp-chart { height: 320px; }
  .mrow { flex-direction: column; align-items: stretch; gap: 10px; }
  .mrow .btn, .mrow .tax-set { width: 100%; }
  .foot-bottom { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
