/* ===== App pages (launch, explore, token, payments, admin) in the template's language ===== */
.app-top { padding-top: 0; }
.app-top .util-head { margin-top: 120px; }
.ul { text-decoration: underline; text-underline-offset: 3px; color: #000; }
.app-tabs { display: inline-grid; grid-auto-flow: column; gap: 4px; margin-top: 24px; padding: 4px; border-radius: 100px; background: #fff; box-shadow: inset 0 0 0 1px #edf0f3; }
.app-tabs a, .app-tabs button { height: 36px; padding: 0 22px; border-radius: 100px; display: grid; place-items: center; font-size: 15px; text-transform: uppercase; color: var(--ink-50); transition: background .25s, color .25s; }
.app-tabs a.on, .app-tabs button.on { background: var(--bg); color: #000; }
.hint { font-size: 13px; color: var(--ink-50); line-height: 1.35; margin-top: 8px; }
.hint.center { text-align: center; margin-top: 14px; }
.ferr { display: block; color: #b33b2c; font-size: 13px; margin-top: 6px; min-height: 0; }
.ferr:empty { display: none; }
.err:empty { display: none; }

.launch { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; margin-top: 24px; padding-bottom: 140px; }
.ln-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.acard { padding: 40px; border-radius: 24px; background: #fff; }
.ac-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.ac-note { margin: 4px 0 10px; padding: 10px 14px; border-radius: 12px; background: #fff4e5; color: #8a5208; font-size: 14px; }
.mgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 22px 0 24px; }
.mtile { position: relative; height: 62px; padding: 0 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px #e6e9ed; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; text-align: left; transition: box-shadow .2s, background .2s, transform .3s var(--spring); }
.mtile:hover { background: #fafbfc; }
.mtile.on { box-shadow: inset 0 0 0 1.5px #000; background: #fbfbfc; }
.mtile[disabled] { opacity: .4; pointer-events: none; }
.mtile img { height: 18px; width: auto; max-width: 96px; }
.mtile img.png { height: 20px; }
.mtile .ic { width: 30px; height: 30px; border-radius: 9px; background: #111; color: #fff; display: grid; place-items: center; flex: none; }
.mtile .ic svg { width: 16px; height: 16px; }
.mtile .ok { position: absolute; right: 10px; top: 50%; margin-top: -9px; width: 18px; height: 18px; border-radius: 50%; background: #000; color: #fff; display: none; place-items: center; font-size: 10px; }
.mtile.on .ok { display: grid; }
.ac-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; align-items: center; }
.rec-sel { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: var(--green-bg); }
.rec-sel .ck { width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.rec-sel b { display: block; font-weight: 500; }
.rec-sel small { color: var(--ink-70); font-size: 13px; }
.rec-sel .pill { margin-left: auto; height: 34px; }
.saved { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.saved button { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #f5f7fa; font-size: 14px; text-align: left; }
.saved button:hover { background: #eef1f5; }
.saved button[disabled] { opacity: .5; }
.saved small { color: var(--ink-50); }
.frow { display: flex; gap: 12px; }
.frow .field { flex: 1; margin-top: 0; }
.acard .field { margin-top: 22px; }
.acard .frow + .field, .acard .ac-h + .frow { margin-top: 22px; }
.acard .ac-h + .frow { margin-top: 18px; }
.field textarea { border-radius: 18px; }
.imgpick { display: flex; gap: 16px; align-items: flex-start; }
.imgdrop { width: 96px; height: 96px; border-radius: 20px; background: #f5f7fa; box-shadow: inset 0 0 0 1px #e6e9ed; display: grid; place-items: center; overflow: hidden; cursor: pointer; flex: none; transition: box-shadow .2s; color: var(--ink-50); }
.imgdrop.over { box-shadow: inset 0 0 0 2px #000; }
.imgdrop img { width: 100%; height: 100%; object-fit: cover; }
.mini-in { width: 100%; height: 38px !important; margin-top: 10px; font-size: 14px !important; }
.desc-meta { display: flex; justify-content: space-between; gap: 12px; }
.desc-meta .hint { margin-top: 8px; }
.tax-v { float: right; font-weight: 500; }
.links-d { margin-top: 22px; }
.links-d summary { cursor: pointer; font-size: 16px; font-weight: 500; list-style: none; display: flex; align-items: center; gap: 8px; }
.links-d summary::before { content: '+'; width: 20px; height: 20px; border-radius: 50%; background: #000; color: #fff; display: grid; place-items: center; font-size: 13px; }
.links-d[open] summary::before { content: '−'; }
.eth-in { position: relative; }
.eth-in input { padding-right: 60px !important; }
.eth-in span { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 14px; font-weight: 500; color: var(--ink-50); }
.acard .btn.block { margin-top: 26px; }
.done { margin-top: 18px; padding: 20px; border-radius: 16px; background: var(--green-bg); }
.done b { display: block; font-size: 18px; font-weight: 500; }
.done p { margin-top: 6px; color: var(--ink-70); font-size: 14px; }
.done .ac-btns { margin-top: 14px; }
.ln-side { position: sticky; top: 24px; }
.sum { padding: 28px; border-radius: 24px; background: #fff; }
.sum h3 { font-size: 20px; font-weight: 500; }
.sum .ws-tok { margin-top: 18px; }
.sum .ws-art { overflow: hidden; }
.sum .ws-art img { width: 100%; height: 100%; object-fit: cover; }
.sum dl { margin: 18px 0 0; }
.sum dl div { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid #eef1f4; font-size: 14px; }
.sum dt { color: var(--ink-50); } .sum dd { margin: 0; font-weight: 500; text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sum .ws-split { margin-top: 16px; }
.sum-net { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--ink-50); }
.sum-net img { width: 14px; height: 14px; }

/* explore */
.ex-top { display: flex; justify-content: space-between; align-items: flex-end; padding-top: 130px; }
.ex-top h1 { margin-top: 24px; }
.ex-top p { width: 460px; color: var(--ink-70); margin-top: 20px; }
.trend { margin-top: 48px; }
.trend h3, .sec-l { font-size: 16px; font-weight: 500; text-transform: uppercase; }
.trend-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.tchip { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 18px; background: #fff; transition: transform .35s var(--spring), box-shadow .3s; }
.tchip:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20,20,25,.06); }
.tchip .ta { width: 52px; height: 52px; border-radius: 14px; overflow: hidden; flex: none; background: #f1f4f7; }
.tchip .ta img { width: 100%; height: 100%; object-fit: cover; }
.tchip b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tchip small { color: var(--ink-50); font-size: 13px; }
.tchip > span:last-child { margin-left: auto; text-align: right; font-size: 13px; color: var(--ink-50); }
.tchip > span:last-child b { color: #000; font-size: 15px; }
.tchip > span:nth-child(2) { min-width: 0; }
.ex-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 56px; padding-bottom: 16px; border-bottom: 1px solid #e3e7eb; flex-wrap: wrap; }
.ex-bar .app-tabs { margin: 0; }
.search { position: relative; flex: 1; max-width: 420px; }
.search input { width: 100%; height: 44px; padding: 0 18px 0 44px; border-radius: 100px; border: 1px solid #e3e7eb; background: #fff; outline: none; font-size: 15px; }
.search input:focus { border-color: #000; }
.search svg { position: absolute; left: 16px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--ink-50); }
.tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; padding-bottom: 140px; }
.tcard { display: block; border-radius: 20px; background: #fff; overflow: hidden; transition: transform .45s var(--spring), box-shadow .3s; }
.tcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20,20,25,.07); }
.tcard .ti { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #eef1f5; }
.tcard .ti img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tcard:hover .ti img { transform: scale(1.05); }
.tcard .tags { position: absolute; left: 10px; right: 10px; top: 10px; display: flex; justify-content: space-between; gap: 6px; }
.tag-w { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 100px; background: rgba(255,255,255,.88); backdrop-filter: blur(6px); font-size: 12px; font-weight: 500; max-width: 70%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tag-w.dark { background: rgba(0,0,0,.72); color: #fff; }
.tcard .tc { padding: 16px; }
.tcard .tn { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.tcard .tn b { font-size: 18px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcard .tn small { color: var(--ink-50); font-size: 13px; }
.tcard .tm2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.tcard .tm2 span { padding: 8px 10px; border-radius: 10px; background: #f5f7fa; font-size: 12px; color: var(--ink-50); display: flex; flex-direction: column; gap: 3px; }
.tcard .tm2 b { color: #000; font-size: 14px; font-weight: 500; }
.tcard .prog { margin-top: 12px; height: 4px; border-radius: 4px; background: #eef1f4; overflow: hidden; }
.tcard .prog i { display: block; height: 100%; background: #000; border-radius: 4px; }
.tcard .tf { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--ink-50); }
.art { display: grid; place-items: center; width: 100%; height: 100%; font-size: 40px; font-weight: 600; color: #fff; }

/* token page */
.tk { padding-top: 120px; padding-bottom: 140px; }
.tk-head { display: flex; align-items: center; gap: 20px; }
.tk-logo { width: 84px; height: 84px; border-radius: 24px; overflow: hidden; flex: none; background: #eef1f5; }
.tk-logo img { width: 100%; height: 100%; object-fit: cover; }
.tk-head h1 { font-size: 48px; letter-spacing: -.02em; line-height: 1; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tk-head h1 small { font-size: 18px; color: var(--ink-50); font-weight: 500; letter-spacing: 0; }
.tk-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tk-meta .chip { cursor: pointer; }
.chip.coral { background: #fde7e2; box-shadow: none; color: #9d381c; }
.tk-grid { display: grid; grid-template-columns: 1fr 380px; gap: 16px; margin-top: 32px; align-items: start; }
.tk-l { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tk-chart { padding: 28px; border-radius: 24px; background: #fff; }
.tk-ct { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.tk-ct small { color: var(--ink-50); font-size: 14px; }
.tk-ct .mc { font: 500 40px/1 var(--fi); letter-spacing: -.02em; margin-top: 8px; }
.tk-ct .chg { font-size: 14px; margin-top: 8px; }
.up { color: var(--green); } .down { color: #c2412f; }
.tk-stats { display: flex; gap: 28px; }
.tk-stats b { display: block; font-size: 18px; font-weight: 500; margin-top: 6px; }
.chart { position: relative; height: 280px; margin-top: 18px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .tip { position: absolute; top: 0; transform: translateX(-50%); padding: 4px 10px; border-radius: 100px; background: #000; color: #fff; font-size: 12px; pointer-events: none; white-space: nowrap; }
.tk-tabs { padding: 24px; border-radius: 24px; background: #fff; }
.tk-tabs .app-tabs { margin: 0 0 16px; }
.trow { display: grid; grid-template-columns: 70px 1fr 1fr 90px; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 12px; font-size: 14px; }
.trow:nth-child(odd) { background: #f7f9fb; }
.trow .side { font-weight: 500; }
.trow .side.buy { color: var(--green); } .trow .side.sell { color: #c2412f; }
.trow .t { text-align: right; color: var(--ink-50); }
.trow a { text-decoration: none; }
.panel { padding: 20px; border-radius: 24px; background: #fff; }
.panel + .panel { margin-top: 16px; }
.panel h3 { font-size: 18px; font-weight: 500; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 100px; background: #f5f7fa; }
.seg button { height: 38px; border-radius: 100px; font-size: 15px; font-weight: 500; color: var(--ink-50); transition: background .25s, color .25s; }
.seg button.on { background: #000; color: #fff; }
.payin { margin-top: 14px; padding: 16px; border-radius: 18px; background: #f5f7fa; }
.payin .pl { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-50); }
.payin .pr { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.payin input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font: 500 30px var(--fi); letter-spacing: -.03em; }
.payin .unit { padding: 6px 12px; border-radius: 100px; background: #fff; font-size: 13px; font-weight: 600; }
.presets { display: flex; gap: 6px; margin-top: 12px; }
.presets button { flex: 1; height: 30px; border-radius: 100px; background: #fff; font-size: 12px; font-weight: 500; color: var(--ink-70); }
.presets button:hover { background: #eceff3; }
.quote { display: flex; flex-direction: column; gap: 8px; margin: 14px 4px 0; font-size: 14px; }
.quote div { display: flex; justify-content: space-between; gap: 10px; }
.quote dt { color: var(--ink-50); } .quote dd { margin: 0; font-weight: 500; }
.quote .warn dt, .quote .warn dd { color: #a8600b; }
.panel .btn.block { margin-top: 16px; }
.panel .hint { text-align: center; }
.okline { display: block; margin-top: 10px; text-align: center; font-size: 13px; color: var(--green); }
.curve-bar { height: 10px; border-radius: 10px; background: #eef1f4; overflow: hidden; margin-top: 12px; }
.curve-bar i { display: block; height: 100%; background: linear-gradient(90deg, #f79276, #ec5a4f); border-radius: 10px; }
.kvl { display: flex; flex-direction: column; margin-top: 12px; }
.kvl div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eef1f4; font-size: 14px; }
.kvl div:last-child { border-bottom: 0; }
.kvl dt { color: var(--ink-50); } .kvl dd { margin: 0; font-weight: 500; text-align: right; }
.skel { background: linear-gradient(90deg, #eef1f4 0%, #f7f9fb 50%, #eef1f4 100%); background-size: 200% 100%; animation: sk 1.2s linear infinite; border-radius: 12px; }
@keyframes sk { to { background-position: -200% 0; } }

/* payments */
.pay-hero { margin-top: 120px; padding: 40px; border-radius: 32px; background: #fff; box-shadow: 6px 6px 25px 0 #fff; }
.pay-ht { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pay-ht > span { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-70); }
.pay-ht > span i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.pay-big { margin-top: 28px; font: 500 128px/1 var(--fi); letter-spacing: -.05em; }
.pay-big .odo .d { height: 1em; }
.pay-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid #eef1f4; }
.pay-kpis small { color: var(--ink-50); font-size: 14px; }
.pay-kpis b { display: block; margin-top: 8px; font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.pay-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; padding-bottom: 140px; }
.pay-col { padding: 24px; border-radius: 24px; background: #fff; min-width: 0; }
.pay-col .ac-h { margin-bottom: 14px; }
.pager { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-50); }
.pager button { width: 30px; height: 30px; border-radius: 50%; background: #f1f4f7; display: grid; place-items: center; font-size: 15px; }
.pager button:disabled { opacity: .4; }
.prow { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: #f7f9fb; margin-bottom: 6px; }
.prow .pa { width: 36px; height: 36px; border-radius: 10px; overflow: hidden; background: #e9edf2; flex: none; display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.prow .pa img { width: 100%; height: 100%; object-fit: cover; }
.prow > span:nth-child(2) { flex: 1; min-width: 0; }
.prow b { display: block; font-weight: 500; }
.prow small { color: var(--ink-50); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.prow .pv { text-align: right; }
.prow .pv b { font-size: 16px; }

/* admin */
.adm { padding-bottom: 140px; }
.adm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.adm-grid .acard.wide { grid-column: 1 / -1; }
.adm .acard p.t-body { margin-top: 4px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.stat-grid div { padding: 14px; border-radius: 14px; background: #f5f7fa; }
.stat-grid small { color: var(--ink-50); font-size: 13px; display: block; }
.stat-grid b { display: block; margin-top: 6px; font-size: 18px; font-weight: 500; }
.inl { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.inl input { flex: 1; min-width: 160px; height: 42px; padding: 0 16px; border-radius: 100px; border: 1px solid #e3e7eb; outline: none; font-size: 14px; }
.inl input:focus { border-color: #000; }
.txs { font-size: 13px; margin-top: 10px; color: var(--ink-70); }
.txs.ok { color: var(--green); } .txs.bad { color: #b33b2c; }
.lst { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.lst > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #f5f7fa; font-size: 14px; }
.lst button.x { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #b33b2c; }
.mstate { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.mstate > div { padding: 12px; border-radius: 12px; background: #f5f7fa; font-size: 13px; }
.mstate b { display: block; font-weight: 500; font-size: 14px; }
.mstate small { display: block; color: var(--ink-50); margin-top: 3px; }
.mstate button { margin-top: 8px; font-size: 12px; text-decoration: underline; }
.mstate button.red { color: #b33b2c; }
.gate { padding: 18px; border-radius: 16px; background: #fff4e5; color: #8a5208; font-size: 14px; margin-top: 16px; }

@media (max-width: 1099px) {
  .launch, .tk-grid { grid-template-columns: 1fr; }
  .ln-side { position: static; }
  .tgrid { grid-template-columns: repeat(3, 1fr); }
  .trend-row { grid-template-columns: repeat(2, 1fr); }
  .adm-grid, .pay-cols { grid-template-columns: 1fr; }
}
@media (max-width: 809px) {
  .acard { padding: 22px; }
  .mgrid { grid-template-columns: repeat(2, 1fr); }
  .frow { flex-direction: column; }
  .frow .field { width: auto !important; }
  .tgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ex-top { flex-direction: column; align-items: flex-start; padding-top: 110px; }
  .ex-top p { width: auto; }
  .pay-big { font-size: 64px; }
  .pay-kpis { grid-template-columns: 1fr 1fr; }
  .tk-head h1 { font-size: 34px; }
  .trow { grid-template-columns: 50px 1fr 1fr; }
  .trow .t { display: none; }
  .stat-grid, .mstate { grid-template-columns: 1fr 1fr; }
}
