/* PokéLaunch: navy, scarlet and ice. Shared presentation only. */
:root {
  --bg: #080f1e;
  --panel: #111d30;
  --line: #29384f;
  --text: #f4f7fc;
  --muted: #a3b2c9;
  --green: #b9eaff;
  --gold: #f0cc85;
  --purple: #c8afff;
  --blue: #88cfff;
  --red: #ed4d61;
  --red-hover: #ff6476;
  --ice: #b9eaff;
  --surface: #0d1728;
}
body { background: var(--bg); }
.wrap { width: min(1320px, calc(100% - 80px)); }
a, button { transition: background .2s, border-color .2s, color .2s, box-shadow .2s; }
::selection { color: var(--bg); background: var(--ice); }
header { height: 90px; background: var(--surface); border-bottom-color: var(--line); }
.header-inner { gap: 52px; }
.brand { font-size: 26px; gap: 12px; letter-spacing: -1px; }
.brand img { width: 36px; height: 36px; }
.brand img, .login-emblem { object-fit: cover; border-radius: 50%; }
.accent { color: var(--ice); }
nav { height: auto; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 10px; background: #080f1e; }
nav a { height: auto; padding: 9px 20px; border: 0; border-radius: 6px; font-weight: 500; }
nav a:hover { color: var(--text); background: #16243b; }
nav a[aria-current] { color: var(--text); background: #20304a; box-shadow: inset 0 -2px var(--red); }
.header-actions { gap: 24px; }
.network { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); }
.network::before { content: ''; width: 7px; height: 7px; background: var(--ice); border-radius: 50%; box-shadow: 0 0 0 4px #b9eaff0c; }
.primary { color: #fff; background: #ce3449; border-color: #ed4d61; border-radius: 8px; padding: 14px 22px; box-shadow: 0 3px 0 #0002; }
.primary:hover:not(:disabled) { background: #e04055; border-color: #ff7888; box-shadow: 0 4px 18px #ed4d6120; }
.secondary { color: var(--ice); background: #16233a; border-color: #3c516f; border-radius: 8px; }
.secondary:hover:not(:disabled) { background: #223652; border-color: #81aec9; }
.small { padding: 10px 16px; }
.text-button { color: var(--muted); }
.text-button:hover { color: var(--ice); }
.text-link { color: var(--ice); }
.project-token { margin-top: 24px; padding: 14px 18px; gap: 22px; background: #111e32; border: 1px solid #34475f; border-left: 3px solid var(--red); border-radius: 8px; }
.project-token-label { color: var(--ice); font-size: 14px; letter-spacing: .3px; }
.project-token-pending { min-width: 0; flex: 1; color: var(--muted); font-size: 14px; line-height: 1.6; }
.project-token-address { color: #d9e4f4; text-decoration-color: #567493; }
.project-token .small { background: #1b2e49; border-color: #3c5572; }
.catalog { padding: 43px 0 72px; }
.page-title { margin-bottom: 31px; align-items: flex-end; }
.page-title .eyebrow { color: var(--ice); font-size: 12px; letter-spacing: 2px; }
.slash { color: var(--red); margin-inline: 10px; }
h1 { font-size: clamp(36px, 4vw, 52px); font-weight: 600; letter-spacing: -2px; margin: 11px 0 12px; }
.page-title p { max-width: 680px; }
.guide-button { padding: 10px 14px; border: 1px solid var(--line); border-radius: 7px; align-self: auto; margin-bottom: 3px; }
.guide-button:hover { border-color: #57718e; background: #14223a; }
.summary-panel { background: var(--surface); border-radius: 12px; border-color: #34445f; margin-bottom: 28px; }
.summary-intro { min-width: 248px; padding: 26px; background: #172840; border-color: #34445f; position: relative; }
.summary-intro::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--red); }
.summary-intro>.eyebrow { font-size: 12px; letter-spacing: .8px; color: var(--ice); }
.summary-intro strong { font-size: 40px; font-weight: 600; margin: 10px 0 5px; letter-spacing: -1.5px; }
.summary-intro strong span { font-size: 19px; letter-spacing: -.3px; color: #c0d0e6; margin-left: 5px; }
.summary-intro>span:last-child { font-size: 13px; color: #adc3dd; }
.metrics { padding: 30px 0; gap: 0; align-items: stretch; }
.metrics>div { padding: 0 25px; min-width: 0; border-right: 1px solid var(--line); }
.metrics>div:last-child { border: 0; }
.metrics dt { font-size: 13px; }
.metrics dd { font-size: 29px; margin-top: 11px; font-weight: 500; color: var(--text); }
.metrics dd span { color: var(--muted); font-size: 14px; }
.holder-note { margin-top: 5px; color: var(--muted); }
.catalog-toolbar { margin-bottom: 18px; gap: 12px; }
.search-field { background: var(--surface); border-color: var(--line); border-radius: 8px; padding-inline: 16px; }
.search-field>span { color: var(--ice); }
.search-field input { height: 52px; font-size: 15px; background: none; }
.search-field input::placeholder { color: #92a4be; }
.search-field:focus-within { border-color: var(--ice); box-shadow: 0 0 0 3px #b9eaff10; }
select { background: #111e32; border-color: #34455f; border-radius: 7px; min-height: 42px; }
.catalog-toolbar>select { min-width: 174px; }
.filter-row { gap: 18px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.tiers { gap: 5px; }
.tiers button { border-radius: 6px; padding: 9px 11px; color: #b3c1d7; }
.tiers button[aria-pressed=true] { color: var(--ice); background: #20364e; border-color: #4f7696; }
.tiers button:hover { background: #17273e; }
.catalog-controls { gap: 15px; }
.sort-label, .region-label { font-size: 14px; gap: 8px; }
.sort-label select, .region-label select { font-size: 14px; }
.results-bar { font-size: 13px; margin: 21px 0 17px; color: #a1b1c9; }
.card-grid { gap: 20px; }
.object-card { background: var(--panel); border-color: #2b3a53; border-radius: 12px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.object-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--tier) 65%, #29384f); box-shadow: 0 14px 32px #0004; }
.artwork { aspect-ratio: 1.18; background: radial-gradient(ellipse at 50% 75%, color-mix(in srgb, var(--tier) 13%, transparent), transparent 65%), linear-gradient(135deg, #15233a, #0a1425); border-bottom: 1px solid #29384f; isolation: isolate; }
.artwork::before { content: ''; position: absolute; width: 66%; aspect-ratio: 1; border: 1px solid #8dbde512; border-radius: 50%; left: 17%; top: 19%; box-shadow: 0 0 0 18px #8dbde504, 0 0 0 19px #8dbde507; z-index: -1; }
.artwork img { padding: 36px 29px 17px; filter: drop-shadow(0 16px 14px #0006); }
.dex-number, .rank { top: 14px; font-size: 12px; letter-spacing: .7px; }
.dex-number { color: #98aecb; left: 16px; }
.rank { right: 16px; color: var(--tier); }
.card-info { padding: 18px; }
.rarity { font-size: 12px; letter-spacing: .7px; }
.availability { font-size: 12px; color: #afbed4; }
.availability.live { color: #a4f1d0; }
.name-row { margin: 12px 0 10px; gap: 5px; }
.name-row h2 { font-size: 23px; font-weight: 600; letter-spacing: -.8px; }
.name-row h2 a:hover { color: var(--ice); }
.symbol { color: #94aac8; font-size: 12px; }
.types { gap: 5px; }
.type { font-size: 12px; padding: 2px 8px; border-radius: 4px; color: #c0d0e6; border-color: #3a4d69; background: #1a2b43; }
.type.psychic { color: #edb3dc; background: #30243e; border-color: #513951; }
.type.fire { color: #ffc2a1; background: #352635; border-color: #5b3b46; }
.type.water, .type.ice { color: #b4e8ff; background: #172f46; border-color: #315d77; }
.type.flying { color: #c8c4f3; background: #272a48; border-color: #44466e; }
.type.electric { color: #f0d99b; background: #302d30; border-color: #58513b; }
.type.poison { color: #d5b6f5; background: #2d2544; border-color: #504065; }
.type.fairy { color: #f3b9e8; background: #352741; border-color: #5a3b60; }
.card-metrics { margin: 18px 0 15px; padding-top: 14px; border-color: #2a3b56; }
.card-metrics dt { font-size: 12px; }
.card-metrics dd { font-size: 20px; margin-top: 5px; }
.card-button { color: var(--ice); background: #1b304b; border-color: #3d5877; border-radius: 6px; padding: 11px 12px; font-weight: 600; font-size: 14px; }
.card-button span { color: #ffa2ae; font-size: 20px; }
.card-button:hover { color: #fff; background: #bd3044; border-color: var(--red); }
.card-button:hover span { color: #fff; }
.load-more { margin-top: 34px; }
.catalog-note { font-size: 13px; margin-top: 26px; }
footer { padding-block: 30px; border-color: var(--line); }
footer .brand { font-size: 19px; }
footer .accent { font-size: inherit; }
footer span, footer p { font-size: 13px; }
#project-links { gap: 16px; }
.empty { background: var(--surface); border-color: #34455f; border-radius: 12px; padding: 64px 24px; }
.empty-icon { color: var(--ice); }
.activity { padding-top: 43px; }
.activity-item { border-color: var(--line); background: var(--surface); border-radius: 10px; padding: 17px 22px; }
.activity-item:hover { border-color: #547291; background: var(--panel); }
.activity-item strong { color: var(--ice); }
.detail { padding: 32px 0 80px; }
.back-link { padding: 7px 0; margin-bottom: 23px; color: #b8cbe1; }
.back-link:hover { color: var(--ice); }
.detail-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 46px; }
.detail-art { border-radius: 14px; padding: 25px; border-color: #344762; background: radial-gradient(ellipse at 50% 50%, color-mix(in srgb, var(--tier) 15%, transparent), transparent 65%), linear-gradient(140deg, #172942, #0e192d); overflow: hidden; }
.detail-art img { padding: 20px 28px; filter: drop-shadow(0 20px 26px #0007); }
.detail-art-top { font-size: 13px; color: #aebfd7; }
.detail-art-bottom { border-color: #35465f; font-size: 12px; padding-top: 20px; }
.detail-art-bottom b { font-size: 25px; }
.detail-content { padding-top: 7px; min-width: 0; }
.detail-content>.eyebrow { color: var(--ice); letter-spacing: 1.5px; }
.detail-content h1 { font-size: 52px; letter-spacing: -2px; margin: 14px 0 20px; }
.detail-content h1 .symbol { color: #92aecb; font-size: 17px; margin-top: 12px; }
.detail-description { line-height: 1.75; color: #b0bfd6; margin: 25px 0; }
form label { color: #bbc9dd; font-size: 14px; gap: 9px; }
input, textarea { border-color: #344762; background: var(--surface); border-radius: 7px; color: var(--text); padding: 13px 14px; }
input[readonly] { background: #142039; color: #bfd1e9; }
input::placeholder, textarea::placeholder { color: #92a5c1; }
textarea { min-height: 112px; }
.launch-facts { margin: 4px 0; gap: 0; border-top: 1px solid var(--line); }
.launch-facts>div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.launch-facts strong { color: #d8e8f8; }
.notice { border-color: #695737; background: #292738; color: #eed39b; border-radius: 8px; padding: 16px; }
.fine-print { font-size: 13px; color: #a3b2c9; }
.launch-submit { padding: 15px 18px; }
.mint-box { background: #111f35; border-color: #344762; border-radius: 9px; padding: 20px; }
.mint-box .text-button { color: var(--ice); }
.coin-stats { padding: 23px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
dialog { background: #101c30; border-color: #45607f; border-radius: 14px; padding: 36px; box-shadow: 0 30px 120px #000a; }
dialog::backdrop { background: #020814c9; backdrop-filter: blur(6px); }
dialog h2 { font-size: 33px; margin-top: 14px; }
dialog p { color: #b1c0d6; }
.close { width: 36px; height: 36px; border-radius: 6px; top: 12px; right: 12px; line-height: 1; }
.close:hover { background: #24344d; color: #fff; }
.guide-steps li { color: var(--red); }
.guide-steps strong { font-size: 16px; }
.guide-steps span { font-size: 14px; }
#toast { background: #213c58; border-color: #618aaa; color: #f4f9ff; border-radius: 8px; }
.skip-link { color: var(--bg); background: var(--ice); }
.admin-test-notice { margin-top: 24px; }
@media (max-width: 1180px) {
  .wrap { width: calc(100% - 44px); }
  .header-inner { gap: 30px; }
  .summary-intro { min-width: 226px; padding: 23px 20px; }
  .metrics>div { padding-inline: 17px; }
  .metrics dd { font-size: 25px; }
  .filter-row { gap: 16px; }
  .catalog-controls { margin-left: 0; }
  .card-grid { gap: 14px; }
  .card-info { padding: 14px; }
  .name-row h2 { font-size: 21px; }
  .detail-grid { gap: 30px; }
}
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .summary-panel { display: block; }
  .summary-intro { display: flex; flex-direction: row; align-items: center; gap: 20px; border-right: 0; border-bottom: 1px solid #34445f; padding: 18px 23px; }
  .summary-intro strong { margin: 0; white-space: nowrap; font-size: 33px; }
  .summary-intro>span:last-child { margin-left: auto; }
  .metrics { padding: 26px 0; }
  .metrics>div { padding-inline: 22px; }
  .network { display: none; }
  .guide-button { display: inline-flex; white-space: nowrap; }
  .detail-content h1 { font-size: 42px; }
  .detail-art { padding: 18px; }
  .detail-art-bottom { flex-direction: column; gap: 10px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  header { height: auto; min-height: 126px; }
  .header-inner { padding-block: 17px 12px; gap: 15px; flex-wrap: wrap; }
  .brand { font-size: 23px; gap: 9px; }
  .brand img { width: 31px; height: 31px; }
  .header-actions { margin-left: auto; }
  .header-actions .small { padding: 10px 12px; font-size: 14px; }
  nav { order: 3; width: 100%; height: auto; padding: 4px; gap: 4px; }
  nav a { flex: 1; justify-content: center; padding: 8px 12px; }
  .project-token { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px 14px; padding: 13px 14px; margin-top: 20px; }
  .project-token-label { grid-row: 1; grid-column: 1; }
  .project-token-address { grid-row: 2; grid-column: 1/-1; font-size: 13px; }
  .project-token-pending { grid-row: 2; grid-column: 1/-1; }
  .project-token .small { grid-row: 1; grid-column: 2; padding: 7px 11px; }
  .catalog { padding-top: 29px; }
  .page-title { gap: 14px; align-items: flex-start; margin-bottom: 25px; }
  h1 { font-size: 38px; letter-spacing: -1.6px; }
  .page-title p { font-size: 15px; }
  .page-title .eyebrow { font-size: 12px; letter-spacing: 1.2px; }
  .guide-button { display: none; }
  .summary-intro { padding: 18px; gap: 15px; }
  .summary-intro>.eyebrow { max-width: 140px; font-size: 12px; line-height: 1.6; }
  .summary-intro strong { margin-left: auto; font-size: 33px; }
  .summary-intro strong span { font-size: 17px; }
  .summary-intro>span:last-child { display: none; }
  .metrics { grid-template-columns: 1fr 1fr; padding: 0; gap: 0; }
  .metrics>div { padding: 20px 18px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
  .metrics>div:nth-child(2n) { border-right: 0; }
  .metrics>div:nth-last-child(-n+2) { border-bottom: 0; }
  .metrics dd { font-size: 27px; margin-top: 7px; }
  .catalog-toolbar { flex-wrap: wrap; margin-bottom: 16px; }
  .search-field { flex-basis: 100%; }
  .catalog-toolbar>select { width: 100%; }
  .filter-row { gap: 17px; padding-bottom: 19px; }
  .tiers { gap: 3px; }
  .tiers button { padding: 8px; font-size: 14px; }
  .tiers button:first-child span { display: none; }
  .catalog-controls { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .catalog-controls label { display: flex; flex-direction: column; align-items: stretch; gap: 7px; width: 100%; min-width: 0; }
  .catalog-controls select { width: 100%; max-width: none; flex: auto; padding-left: 12px; }
  .results-bar { font-size: 12px; flex-direction: column; gap: 4px; margin: 18px 0 14px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .artwork { aspect-ratio: 1.05; }
  .artwork img { padding: 31px 12px 10px; }
  .dex-number, .rank { font-size: 12px; letter-spacing: 0; top: 11px; }
  .dex-number { left: 11px; }
  .rank { right: 11px; }
  .card-info { padding: 12px; }
  .card-heading { gap: 4px; flex-wrap: wrap; }
  .rarity { letter-spacing: 0; }
  .name-row h2 { font-size: 21px; }
  .name-row { margin: 11px 0 9px; }
  .card-metrics { gap: 4px; padding-top: 12px; margin: 15px 0 12px; }
  .card-metrics dd { font-size: 19px; }
  .card-button { padding: 10px 9px; font-size: 14px; }
  .type { padding-inline: 6px; }
  footer>div { flex-direction: column; align-items: flex-start; gap: 8px; }
  footer { gap: 20px; }
  .detail-grid { grid-template-columns: 1fr; gap: 27px; }
  .detail-art { position: static; padding: 20px; }
  .detail-art img { max-height: 350px; object-fit: contain; padding: 16px; }
  .detail-art-bottom { flex-direction: row; }
  .detail-content h1 { font-size: 45px; }
  .detail-content { padding-top: 0; }
  .activity-item { gap: 12px; padding: 15px; flex-wrap: wrap; }
  .activity-item time { width: 100%; }
  dialog { padding: 30px 23px; }
  dialog h2 { font-size: 29px; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 24px); }
  .brand { font-size: 21px; gap: 7px; }
  .brand img { width: 28px; height: 28px; }
  .header-actions .small { font-size: 13px; padding: 9px 10px; }
  .card-grid { grid-template-columns: 1fr; }
  .artwork { aspect-ratio: 1.25; }
  .summary-intro { gap: 8px; padding: 16px; }
  .summary-intro strong { font-size: 29px; }
  .summary-intro strong span { font-size: 16px; }
  .detail-art-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .object-card:hover { transform: none; }
}
