/* Launch page ("Take the helm"): page-only layout. Components come from system.css. */

/* ---- hero */
.create-hero { padding-block: 36px 8px; }
.create-hero .cap-up { margin-bottom: 14px; color: var(--fg); }
.create-hero .lead { margin-top: 20px; }
@media (min-width: 900px) {
  .create-hero { padding-block: 56px 16px; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); }
  .create-hero .lead { margin-top: 28px; }
  .create-mark { width: min(100%, 340px); }
}

/* ---- form column */
.create-grid { align-items: start; }
.create-legend { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.create-step { font-family: var(--font-display); font-weight: 900; font-size: 44px; line-height: 0.8; opacity: 0.28; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .create-step { font-size: 56px; } .create-legend > .sub { font-size: 34px; } }

.create-logo-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: start; margin-bottom: 20px; }
.create-logo-preview { margin-top: 4px; }
.create-socials { margin-top: 20px; }
@media (min-width: 900px) { .create-socials { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.create-socials + .hint { margin-top: 18px; }

.create-tax { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.create-tax-field { flex: 0 0 auto; width: 104px; }
.create-tax-field > .field { text-align: right; }

/* pressed quick-pick chips (system.css styles only the resting button.chip) */
button.chip[aria-pressed="true"] { background: var(--fg); color: var(--surface); }
button.chip:disabled { opacity: 0.35; }

.create-vault { display: grid; gap: 8px; }
.create-vault-addr { font-size: 15px; font-weight: 700; }
.create-risks-title { margin-top: 28px; margin-bottom: 12px; color: var(--fg); }
.create-risks { font-size: 14px; color: var(--fg-2); }
.check { cursor: pointer; font-weight: 600; }

.error[hidden] + .hint { margin-top: 6px; }

/* ---- summary board */
.create-summary { display: grid; gap: 20px; }
.create-summary > * { min-width: 0; margin: 0; }
.create-preview { display: flex; align-items: center; gap: 16px; min-width: 0; }
.create-preview-text { min-width: 0; display: grid; gap: 10px; }
.create-preview-name { text-transform: none; font-size: 30px; line-height: 1; }
.create-preview-name[data-placeholder="true"] { color: var(--fg-2); opacity: 0.6; }
.create-ticker { text-transform: none; font-size: 12px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.create-preview-chips { --gap: 8px; }
.create-watch { display: grid; gap: 8px; }
.create-watch > .fuse > i { background: var(--accent); }
.create-watch-cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }

.create-rows { border-top: 2px solid var(--rule); padding-top: 6px; }
.create-rows > div > :first-child { color: var(--fg-2); min-width: 0; }
.create-rows > div > :last-child { flex: 0 0 auto; max-width: 70%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.create-rows a { text-decoration-thickness: 1.5px; }

.create-total { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2px 16px; padding-top: 16px; border-top: 2px solid var(--rule); }
.create-total > .fig { grid-row: 1 / span 2; grid-column: 2; text-align: right; color: var(--accent); overflow-wrap: anywhere; }
.create-total > .cap-up { align-self: start; }
.create-note { font-size: 14px; }
.create-launch { min-height: 60px; font-size: 18px; }
.create-launch[data-busy="true"] { opacity: 1; animation: pulse 1.6s ease-in-out infinite; }
.create-summary > .cap:empty { display: none; }

.create-log { display: grid; gap: 8px; max-height: 220px; overflow-y: auto; padding-top: 14px; border-top: 1px solid var(--rule-soft); font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.create-log > li { position: relative; padding-left: 18px; }
.create-log > li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border-radius: 1px; background: var(--fg-2); }
.create-log > li[data-kind="ok"] { color: var(--up); }
.create-log > li[data-kind="ok"]::before { background: var(--up); }
.create-log > li[data-kind="bad"] { color: var(--down); font-weight: 600; }
.create-log > li[data-kind="bad"]::before { background: var(--down); }

/* ---- result */
.create-result > .head { margin-top: 8px; color: var(--accent); }
.create-result-facts { margin-top: 24px; }
.create-result-facts dd .chip { margin-right: 4px; }
@media (max-width: 639px) {
  .create-result-facts > div { flex-direction: column; gap: 4px; }
  .create-result-facts dd { text-align: left; }
}

@media (max-width: 479px) {
  .create-logo-row { gap: 14px; }
  .create-logo-preview { width: 56px; height: 56px; font-size: 32px; }
  .create-preview-name { font-size: 26px; }
}

/* the ticker is written on chain in upper case (create.js upper-cases the value as it is typed) */
#symbol { text-transform: uppercase; }
#symbol::placeholder { text-transform: none; }
