/* CHAINLIFE site shell v2 around the 链上人生 game.
   Phone (≤720px): the game fills the screen, bottom tab bar, pages slide over it, bottom-sheet connect dialog.
   Desktop (≥721px): top bar with navigation + countdown + wallet, the game in a console frame in the middle,
   pages open as wide two-column panels; ≥1180px adds a presale rail on the left and a wallet rail on the right.
   Uses the game's own tokens from css/style.css. Prefix: cl- */

:root {
  --pixel: "Silkscreen", "DM Mono", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", ui-monospace, monospace;
  --mono: "DM Mono", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", ui-monospace, "SF Mono", Menlo, monospace;
  --cl-top-h: 64px;
  --cl-line: rgba(255, 255, 255, 0.08);
  --cl-line-2: rgba(62, 224, 176, 0.30);
  --cl-panel: linear-gradient(180deg, rgba(28, 32, 42, 0.92) 0%, rgba(17, 20, 27, 0.94) 100%);
  --cl-glass: rgba(12, 15, 21, 0.72);
  --cl-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 40px rgba(0, 0, 0, 0.35);
  --cl-safe-b: env(safe-area-inset-bottom, 0px);
  --cl-tabs-h: 64px;
}
html[lang="zh-CN"] { --cl-kick-font: var(--sans); }

/* ---------- background (desktop) ---------- */
.cl-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; display: none;
  background:
    radial-gradient(ellipse 60% 40% at 50% -6%, rgba(62, 224, 176, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 40% 36% at 92% 100%, rgba(139, 124, 240, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 36% 30% at 4% 80%, rgba(232, 184, 109, 0.06) 0%, transparent 60%),
    var(--ink); }
.cl-bg::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 32px 32px; mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 85%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 85%); }
.cl-bg i { position: absolute; width: 10px; height: 10px; background: var(--mint); opacity: 0.0; box-shadow: 0 0 14px var(--mint-glow); animation: cl-float 14s linear infinite; }
.cl-bg i:nth-child(1) { left: 8%; animation-delay: 0s; }
.cl-bg i:nth-child(2) { left: 22%; width: 6px; height: 6px; animation-delay: -4s; animation-duration: 18s; background: var(--amber); }
.cl-bg i:nth-child(3) { left: 41%; width: 8px; height: 8px; animation-delay: -9s; animation-duration: 16s; }
.cl-bg i:nth-child(4) { left: 63%; width: 6px; height: 6px; animation-delay: -2s; animation-duration: 20s; background: var(--growth); }
.cl-bg i:nth-child(5) { left: 79%; animation-delay: -11s; animation-duration: 17s; }
.cl-bg i:nth-child(6) { left: 93%; width: 7px; height: 7px; animation-delay: -6s; animation-duration: 15s; background: var(--love); }
@keyframes cl-float { 0% { transform: translateY(105vh); opacity: 0; } 10% { opacity: .55; } 85% { opacity: .35; } 100% { transform: translateY(-8vh); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cl-bg i { animation: none; } }

/* ---------- buttons ---------- */
.cl-btn { height: 46px; border-radius: 10px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14.5px; font-weight: 700; letter-spacing: .03em; color: #04261c;
  background: linear-gradient(180deg, #5af5c8 0%, #2bd6a9 100%); box-shadow: 0 3px 0 #13896c, 0 8px 22px rgba(62, 224, 176, 0.28), inset 0 1px 0 rgba(255,255,255,0.45);
  white-space: nowrap; text-decoration: none; transition: transform .08s, box-shadow .08s, filter .15s; position: relative; }
.cl-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.cl-btn:hover:not(:disabled) { filter: brightness(1.06); }
.cl-btn:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 #13896c, 0 4px 12px rgba(62, 224, 176, 0.25), inset 0 1px 0 rgba(255,255,255,0.45); }
.cl-btn--ghost { color: var(--white); background: linear-gradient(180deg, #232836 0%, #1a1e29 100%); border: 1px solid var(--cl-line); box-shadow: 0 3px 0 #0b0d12, inset 0 1px 0 rgba(255,255,255,0.05); }
.cl-btn--ghost:hover:not(:disabled) { border-color: var(--cl-line-2); color: var(--mint); filter: none; }
.cl-btn--ghost:active:not(:disabled) { box-shadow: 0 1px 0 #0b0d12; }
.cl-btn--amber { color: #2a1b05; background: linear-gradient(180deg, #f6d394 0%, #e2a956 100%); box-shadow: 0 3px 0 #9c6e2a, 0 8px 20px var(--amber-dim); }
.cl-btn--danger { color: #fff; background: linear-gradient(180deg, #f08070 0%, #d4553f 100%); box-shadow: 0 3px 0 #8e3022, 0 8px 20px rgba(226, 91, 91, .22); }
.cl-btn--sm { height: 34px; border-radius: 8px; padding: 0 12px; font-size: 12.5px; }
.cl-btn--block { width: 100%; }
.cl-btn:disabled { opacity: .4; box-shadow: none; transform: none; }
.cl-ibtn { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 8px; border: 1px solid var(--cl-line); color: var(--white-dim); display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.02); text-decoration: none; transition: color .15s, border-color .15s; }
.cl-ibtn:hover { color: var(--mint); border-color: var(--cl-line-2); }
.cl-ibtn svg { width: 14px; height: 14px; }
.cl-link { color: var(--mint); font-size: 11.5px; font-family: var(--mono); }
.cl-link:empty { display: none; }

/* ---------- wallet buttons ---------- */
.cl-wbtn { height: 34px; border-radius: 9px; padding: 0 14px; font-size: 12.5px; font-weight: 700; color: #04261c; background: linear-gradient(180deg, #5af5c8 0%, #2bd6a9 100%); box-shadow: 0 2px 0 #13896c; display: inline-flex; align-items: center; gap: 7px; max-width: 170px; white-space: nowrap; overflow: hidden; }
.cl-wbtn__dot { width: 7px; height: 7px; flex: 0 0 7px; background: #04261c; }
.cl-wbtn.is-conn, .cl-wbtn.is-watch { background: var(--chrome-2); color: var(--white); border: 1px solid var(--cl-line-2); box-shadow: none; font-family: var(--mono); font-weight: 500; }
.cl-wbtn.is-conn .cl-wbtn__dot { background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.cl-wbtn.is-watch .cl-wbtn__dot { background: var(--amber); }
.cl-wbtn.is-wrong { background: linear-gradient(180deg, #f6d394 0%, #e2a956 100%); color: #2a1b05; box-shadow: 0 2px 0 #9c6e2a; }

/* ---------- top bar (desktop) ---------- */
.cl-top { display: none; }
.cl-top__in { height: 100%; max-width: 1680px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 22px; }
.cl-brand { display: flex; align-items: center; gap: 11px; text-align: left; flex-shrink: 0; }
.cl-brand img { width: 36px; height: 36px; image-rendering: pixelated; filter: drop-shadow(0 0 10px var(--mint-glow)); }
.cl-brand b { display: block; font-family: var(--pixel); font-size: 19px; letter-spacing: .08em; line-height: 1; color: var(--white); }
.cl-brand small { display: block; font-size: 10.5px; letter-spacing: .12em; color: var(--mint); margin-top: 5px; }
.cl-nav { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255,255,255,0.03); border: 1px solid var(--cl-line); }
.cl-nav button { height: 34px; padding: 0 13px; border-radius: 8px; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--white-dim); transition: color .15s, background .15s; }
.cl-nav button svg { width: 13px; height: 13px; }
.cl-nav button:hover { color: var(--white); background: rgba(255,255,255,0.04); }
.cl-nav button.is-on { color: var(--mint); background: var(--mint-dim); box-shadow: inset 0 0 0 1px var(--cl-line-2); }
.cl-top__r { margin-left: auto; display: flex; align-items: center; gap: 10px; min-width: 0; }
.cl-chip { height: 34px; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--cl-line-2); background: rgba(14, 61, 50, 0.35); font-family: var(--mono); font-size: 13px; color: var(--white); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cl-chip em { font-style: normal; font-family: var(--sans); font-size: 11.5px; color: var(--mint); }
.cl-chip::before { content: ""; width: 6px; height: 6px; background: var(--mint); box-shadow: 0 0 8px var(--mint); animation: cl-blink 1.4s infinite; }
.cl-langbtn { height: 34px; min-width: 46px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--cl-line); color: var(--white-dim); font-size: 12px; }
.cl-langbtn:hover { color: var(--mint); border-color: var(--cl-line-2); }

/* ---------- panels (rails) ---------- */
.cl-aside, .cl-rail { display: none; }
.cl-panel { position: relative; background: var(--cl-panel); border: 1px solid var(--cl-line); border-radius: 14px; padding: 16px; box-shadow: var(--cl-shadow); }
.cl-panel + .cl-panel, .cl-panel + .cl-sale, .cl-sale + .cl-panel { margin-top: 14px; }
.cl-panel__k, .cl-kick { font-family: var(--pixel); font-size: 10px; letter-spacing: .14em; color: var(--mint); margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
html[lang="zh-CN"] .cl-panel__k, html[lang="zh-CN"] .cl-kick { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.cl-panel::before, .cl-sale::before, .cl-card--mint::before { content: ""; position: absolute; left: -1px; top: -1px; width: 10px; height: 10px; border-left: 2px solid var(--mint); border-top: 2px solid var(--mint); border-radius: 14px 0 0 0; opacity: .7; pointer-events: none; }
.cl-hero h2 { font-family: var(--display); font-size: 26px; font-weight: 900; line-height: 1.15; margin: 2px 0 10px; background: linear-gradient(180deg, #ffffff 0%, #bff5e4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cl-hero p { font-size: 13px; line-height: 1.7; color: var(--white-dim); margin: 0; }
.cl-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cl-tags span { font-family: var(--mono); font-size: 10.5px; color: var(--amber); border: 1px solid rgba(232, 184, 109, 0.3); background: rgba(232, 184, 109, 0.07); border-radius: 6px; padding: 3px 7px; }
.cl-timeline { list-style: none; margin: 14px 0 0; padding: 0; position: relative; }
.cl-timeline::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 2px; background: repeating-linear-gradient(180deg, var(--chrome-3) 0 4px, transparent 4px 7px); }
.cl-timeline li { position: relative; padding: 0 0 10px 22px; display: flex; flex-direction: column; }
.cl-timeline li:last-child { padding-bottom: 0; }
.cl-timeline li i { position: absolute; left: 0; top: 4px; width: 10px; height: 10px; background: var(--chrome-3); border: 2px solid var(--ink); }
.cl-timeline li.is-done i { background: var(--mint-deep); }
.cl-timeline li.is-now i { background: var(--mint); box-shadow: 0 0 10px var(--mint-glow); }
.cl-timeline b { font-size: 12.5px; color: var(--white); }
.cl-timeline li:not(.is-now) b { color: var(--white-dim); }
.cl-timeline span { font-family: var(--mono); font-size: 10.5px; color: var(--text-faint); }
.cl-aside__links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; padding: 0 4px; }
.cl-aside__links a { color: var(--white-dim); text-decoration: none; border-bottom: 1px dashed var(--cl-line); }
.cl-aside__links a:hover { color: var(--mint); border-color: var(--cl-line-2); }

/* wallet rail card */
.cl-wcard__empty { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.cl-wcard__empty img { width: 52px; height: 52px; border-radius: 10px; image-rendering: pixelated; border: 1px solid var(--cl-line); flex-shrink: 0; }
.cl-wcard__empty p { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--white-dim); }
.cl-wcard__ways { font-size: 10.5px; color: var(--text-faint); text-align: center; margin-top: 10px; line-height: 1.5; }
.cl-acct { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: rgba(0,0,0,0.25); border: 1px solid var(--cl-line); }
.cl-acct__id { flex: 1; min-width: 0; }
.cl-acct__id small { display: block; font-size: 11px; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-acct__id b { display: block; font-family: var(--mono); font-weight: 500; font-size: 16px; color: var(--white); }
.cl-acct--sm .cl-acct__id b { font-size: 14px; }
.cl-acct__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 10px 0 4px; }
.cl-acct__grid > div { border-radius: 9px; background: rgba(0,0,0,0.22); border: 1px solid var(--cl-line); padding: 7px 9px; min-width: 0; }
.cl-acct__grid small { display: block; font-size: 10px; color: var(--text-faint); letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-acct__grid b { display: block; font-family: var(--mono); font-weight: 500; font-size: 13.5px; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-wico { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 9px; object-fit: cover; }
.cl-wico.is-big { width: 42px; height: 42px; flex-basis: 42px; border-radius: 11px; }
.cl-wico--px { background: var(--mint-deep); color: var(--mint); display: grid; place-items: center; font-family: var(--pixel); font-size: 14px; border: 1px solid var(--cl-line-2); }
.cl-net { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; color: var(--white-dim); padding: 6px 8px; border-radius: 9px; }
.cl-net i { width: 7px; height: 7px; flex: 0 0 7px; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.cl-net span { flex: 1; min-width: 0; }
.cl-net.is-wrong { background: var(--amber-dim); color: var(--amber); }
.cl-net.is-wrong i { background: var(--amber); box-shadow: none; }
.cl-gallery--rail { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.cl-gallery--rail button { aspect-ratio: 1; border-radius: 8px; border: 1px dashed var(--cl-line-2); color: var(--mint); font-family: var(--pixel); font-size: 16px; }

/* ---------- console frame around the game (desktop) ---------- */
.cl-stage { position: relative; }
.cl-console { position: relative; }
.cl-console__bar { display: none; }

/* ---------- sale box ---------- */
.cl-sale { position: relative; border: 1px solid var(--cl-line-2); border-radius: 14px; background: linear-gradient(160deg, rgba(20, 74, 60, 0.55) 0%, rgba(13, 30, 26, 0.75) 60%, rgba(16, 19, 26, 0.9) 100%); padding: 16px; box-shadow: var(--cl-shadow), inset 0 0 40px rgba(62, 224, 176, 0.05); }
.cl-sale__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cl-sale__k { font-family: var(--pixel); font-size: 10px; letter-spacing: .14em; color: var(--mint); }
.cl-sale__lab { font-size: 12px; color: var(--white-dim); margin-top: 8px; }
.cl-count { display: flex; gap: 6px; margin: 8px 0 6px; }
.cl-count > span { flex: 1; text-align: center; background: linear-gradient(180deg, #0a0c11 0%, #11151d 100%); border: 1px solid var(--cl-line); border-radius: 9px; padding: 7px 0 5px; position: relative; overflow: hidden; }
.cl-count > span::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,0.5); }
.cl-count b { display: block; font-family: var(--mono); font-size: 24px; font-weight: 500; color: var(--white); line-height: 1.1; font-variant-numeric: tabular-nums; text-shadow: 0 0 12px rgba(62, 224, 176, 0.35); }
.cl-count small { font-size: 9.5px; color: var(--text-faint); letter-spacing: .1em; text-transform: uppercase; }
.cl-sale__live { font-family: var(--display); font-size: 22px; font-weight: 900; color: var(--mint); margin: 8px 0 2px; }
.cl-sale__when { font-size: 11px; color: var(--white-dim); line-height: 1.5; }
.cl-bar { position: relative; height: 10px; border-radius: 3px; background: rgba(0,0,0,0.35); border: 1px solid var(--cl-line); overflow: hidden; margin: 12px 0 6px; }
.cl-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; transition: width .5s; background: repeating-linear-gradient(90deg, var(--mint) 0 6px, var(--mint-2) 6px 8px); box-shadow: 0 0 10px var(--mint-glow); }
.cl-bar--amber i { background: repeating-linear-gradient(90deg, var(--amber) 0 6px, #c9964f 6px 8px); box-shadow: none; }
.cl-sale__prog { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--white); }
.cl-sale__btns { display: flex; gap: 8px; margin-top: 14px; }
.cl-sale__btns > * { flex: 1; }
.cl-sale .cl-note { font-size: 11px; }

/* landing strip injected into the game's start screen */
.cl-strip { margin: 2px 0 14px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--cl-line-2); border-radius: 12px; background: linear-gradient(160deg, rgba(20, 74, 60, 0.55), rgba(13, 30, 26, 0.7)); padding: 9px 10px 9px 12px; text-align: left; }
.cl-strip__txt { flex: 1; min-width: 0; }
.cl-strip__k { font-family: var(--pixel); font-size: 9.5px; letter-spacing: .1em; color: var(--mint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-strip__v { font-family: var(--mono); font-size: 13.5px; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.cl-strip__v em { font-style: normal; color: var(--white-dim); font-family: var(--sans); font-size: 11.5px; }
.cl-strip .cl-btn { flex-shrink: 0; }

/* ---------- tab bar (phone) ---------- */
.cl-tabs { position: fixed; left: 0; right: 0; bottom: 0; height: calc(var(--cl-tabs-h) + var(--cl-safe-b)); z-index: 60; display: none; background: rgba(12, 14, 20, 0.94); border-top: 1px solid var(--cl-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 0 4px var(--cl-safe-b); }
.cl-tabs.is-on { display: flex; }
.cl-tabs button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: var(--text-faint); font-family: var(--pixel); font-size: 9.5px; letter-spacing: .08em; position: relative; min-height: 48px; }
html[lang="zh-CN"] .cl-tabs button { font-family: var(--sans); font-size: 11px; letter-spacing: .04em; }
.cl-tabs button svg { width: 20px; height: 20px; transition: transform .15s; }
.cl-tabs button.is-on { color: var(--mint); }
.cl-tabs button.is-on svg { transform: translateY(-1px); filter: drop-shadow(0 0 6px var(--mint-glow)); }
.cl-tabs button.is-on::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; background: var(--mint); box-shadow: 0 0 12px var(--mint-glow); }
.cl-tabs button.is-mint:not(.is-on) svg { color: var(--amber); }
.cl-has-tabs .view-landing .landing-body { padding-bottom: calc(var(--cl-tabs-h) + 16px + var(--cl-safe-b)); }

/* menu button added into the game's top bar + pixel sound icon */
.cl-menu-btn { width: 32px; height: 28px; border-radius: 999px; border: 1px solid var(--hairline); color: var(--white-dim); display: inline-flex; align-items: center; justify-content: center; margin-left: 8px; }
.cl-menu-btn svg { width: 14px; height: 14px; }
.topbar > div:first-child { display: flex; align-items: center; }
.topbar .icon-btn svg { width: 15px; height: 15px; }
.topbar .icon-btn { color: var(--white-dim); }

/* drawer (menu while a life is running, phone) */
.cl-drawer { position: absolute; inset: 0; z-index: 70; display: none; background: rgba(5, 7, 10, 0.6); }
.cl-drawer.is-on { display: block; }
.cl-drawer__box { position: absolute; left: 12px; right: 12px; top: 50px; background: var(--chrome); border: 1px solid var(--cl-line); border-radius: 16px; padding: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.cl-drawer__box button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 13px 12px; border-radius: 10px; font-size: 15px; color: var(--white); text-align: left; }
.cl-drawer__box button:hover { background: var(--chrome-2); }
.cl-drawer__box button svg { width: 18px; height: 18px; color: var(--mint); }

/* ---------- pages ---------- */
.cl-pages { display: none; user-select: text; -webkit-user-select: text; }
.cl-pages.is-on { display: flex; }
.cl-pages__in { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.cl-phead { height: 56px; flex: 0 0 56px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-bottom: 1px solid var(--cl-line); background: linear-gradient(180deg, rgba(20, 50, 42, 0.9) 0%, rgba(16, 19, 26, 0.95) 100%); }
.cl-phead__t { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 900; font-size: 19px; white-space: nowrap; overflow: hidden; }
.cl-phead__t span { overflow: hidden; text-overflow: ellipsis; }
.cl-phead__t svg { width: 18px; height: 18px; color: var(--mint); flex-shrink: 0; }
.cl-phead .lang-toggle { min-width: 40px; height: 32px; border-radius: 8px; border: 1px solid var(--cl-line); color: var(--white-dim); font-size: 11.5px; padding: 0 9px; }
.cl-pbody { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 16px 16px 28px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #2a2f3b transparent; }
.cl-pbody::-webkit-scrollbar { width: 6px; }
.cl-pbody::-webkit-scrollbar-thumb { background: #2a2f3b; border-radius: 3px; }
.cl-pbody > * { animation: cl-in .28s ease-out both; }
@keyframes cl-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.cl-lead { font-size: 13.5px; line-height: 1.7; color: var(--white-dim); margin: 0 0 14px; }
.cl-cols { display: block; }
.cl-col { min-width: 0; }

.cl-card { position: relative; background: var(--cl-panel); border: 1px solid var(--cl-line); border-radius: 14px; padding: 16px; margin-bottom: 12px; box-shadow: var(--cl-shadow); }
.cl-card--mint { border-color: var(--cl-line-2); background: linear-gradient(165deg, rgba(20, 74, 60, 0.5) 0%, rgba(17, 22, 28, 0.94) 55%); }
.cl-card__t { font-family: var(--pixel); font-size: 10.5px; letter-spacing: .12em; color: var(--mint); margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
html[lang="zh-CN"] .cl-card__t { font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; }
.cl-rows { display: grid; }
.cl-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; font-size: 13px; }
.cl-row + .cl-row { border-top: 1px dashed var(--cl-line); }
.cl-row > span:first-child { color: var(--white-dim); flex-shrink: 0; }
.cl-row > b { font-family: var(--mono); font-weight: 500; text-align: right; color: var(--white); overflow-wrap: anywhere; min-width: 0; }
.cl-ok { color: var(--mint) !important; }
.cl-no { color: #ff9b8f !important; }
.cl-note { font-size: 11.5px; line-height: 1.6; color: var(--white-dim); margin: 8px 0 0; }
.cl-msg { display: none; font-size: 12.5px; line-height: 1.5; padding: 9px 11px; border-radius: 9px; margin-top: 10px; background: var(--amber-dim); color: var(--amber); overflow-wrap: anywhere; border: 1px solid rgba(232, 184, 109, 0.25); }
.cl-msg.is-on { display: block; }
.cl-msg.is-busy { background: rgba(74, 212, 224, 0.10); color: var(--growth); border-color: rgba(74, 212, 224, 0.25); }
.cl-msg.is-err { background: rgba(226, 91, 91, .12); color: #ff9b8f; border-color: rgba(226, 91, 91, .3); }
.cl-msg.is-ok { background: var(--mint-dim); color: var(--mint); border-color: var(--cl-line-2); }
.cl-msg a { color: inherit; font-weight: 700; white-space: nowrap; }
.cl-spin { display: inline-block; width: 10px; height: 10px; margin-right: 8px; background: currentColor; animation: cl-spin 0.9s steps(4) infinite; vertical-align: -1px; }
@keyframes cl-spin { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } }

.cl-gate { text-align: center; padding: 24px 16px 16px; }
.cl-gate p { font-size: 13px; color: var(--white-dim); margin: 0 0 14px; line-height: 1.6; }
.cl-gate__px { width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 14px; overflow: hidden; border: 1px solid var(--cl-line-2); image-rendering: pixelated; box-shadow: 0 0 24px var(--mint-dim); }

.cl-journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 12px 0; }
.cl-journey > div { border: 1px solid var(--cl-line); border-radius: 10px; padding: 8px 6px 9px; text-align: center; background: rgba(0,0,0,0.2); min-width: 0; }
.cl-journey > div.is-now { border-color: var(--mint); background: var(--mint-dim); box-shadow: 0 0 18px rgba(62, 224, 176, 0.12); }
.cl-journey > div.is-done { opacity: .5; }
.cl-journey em { display: block; font-style: normal; font-family: var(--pixel); font-size: 9px; color: var(--mint); letter-spacing: .1em; }
.cl-journey b { display: block; font-size: 12px; line-height: 1.3; margin-top: 2px; }
.cl-journey span { display: block; font-size: 10px; color: var(--white-dim); margin-top: 3px; line-height: 1.3; }
.cl-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cl-tiers > div { border: 1px solid var(--cl-line); border-radius: 11px; padding: 11px 12px; background: rgba(0,0,0,0.25); min-width: 0; }
.cl-tiers > div.is-mine { border-color: var(--mint); box-shadow: inset 0 0 0 1px var(--cl-line-2), 0 0 18px rgba(62, 224, 176, 0.12); }
.cl-tiers b { display: block; font-family: var(--mono); font-size: 21px; font-weight: 500; color: var(--white); }
.cl-tiers b small { font-size: 11px; color: var(--white-dim); }
.cl-tiers > div[data-tier="pass"] b { color: var(--mint); }
.cl-tiers span { font-size: 11px; color: var(--white-dim); }

.cl-qty { display: grid; grid-template-columns: 52px 1fr 52px; border: 1px solid var(--cl-line); border-radius: 12px; overflow: hidden; background: rgba(0,0,0,0.3); margin: 6px 0 10px; }
.cl-qty button { font-size: 24px; color: var(--mint); background: rgba(255,255,255,0.03); min-height: 50px; }
.cl-qty button:active { background: var(--mint-dim); }
.cl-qty input { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--white); text-align: center; font-family: var(--mono); font-size: 26px; padding: 8px 0; outline: none; -moz-appearance: textfield; }
.cl-qty input::-webkit-outer-spin-button, .cl-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cl-lbl { font-size: 11.5px; color: var(--white-dim); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cl-quote { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.cl-quote > div { border-radius: 10px; padding: 9px 11px; background: rgba(0,0,0,0.28); border: 1px solid var(--cl-line); min-width: 0; }
.cl-quote small { display: block; font-size: 10.5px; color: var(--text-faint); }
.cl-quote b { font-family: var(--mono); font-weight: 500; font-size: 14px; overflow-wrap: anywhere; }
.cl-quote > div.is-big { grid-column: 1 / -1; background: linear-gradient(160deg, #0f4536 0%, #0b2a22 100%); border-color: var(--cl-line-2); }
.cl-quote > div.is-big b { font-size: 26px; color: var(--mint); text-shadow: 0 0 16px var(--mint-glow); }
.cl-steps2 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.cl-steps2 > span { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--chrome-3) 0 4px, transparent 4px 7px); }
.cl-step2 { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--text-faint); }
.cl-step2 i { width: 20px; height: 20px; border-radius: 5px; display: grid; place-items: center; font-style: normal; font-family: var(--mono); font-size: 11px; border: 1px solid var(--cl-line); }
.cl-step2.is-now { color: var(--mint); }
.cl-step2.is-now i { border-color: var(--mint); background: var(--mint-dim); }
.cl-step2.is-done { color: var(--white-dim); }
.cl-step2.is-done i { background: var(--mint); color: #04261c; border-color: var(--mint); }
.cl-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cl-input { display: flex; border: 1px solid var(--cl-line); border-radius: 10px; overflow: hidden; background: rgba(0,0,0,0.3); margin: 6px 0 10px; }
.cl-input:focus-within { border-color: var(--cl-line-2); }
.cl-input input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--white); padding: 11px 12px; font-family: var(--mono); font-size: 15px; outline: none; }
.cl-input button { padding: 0 14px; font-size: 12px; font-weight: 700; color: var(--mint); background: rgba(255,255,255,0.04); border-left: 1px solid var(--cl-line); }
.cl-input--link input { font-size: 11.5px; color: var(--white-dim); }
.cl-ladder { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; align-items: end; height: 76px; margin-top: 10px; }
.cl-ladder i { display: block; background: var(--chrome-3); }
.cl-ladder i.is-now { background: var(--mint); box-shadow: 0 0 12px var(--mint-glow); }
.cl-ladder i.is-done { background: var(--mint-deep); }
.cl-ladder__lab { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; font-family: var(--mono); font-size: 9.5px; color: var(--text-faint); text-align: center; margin-top: 4px; }

.cl-big { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.cl-big > div { background: var(--cl-panel); border: 1px solid var(--cl-line); border-radius: 14px; padding: 13px; min-width: 0; box-shadow: var(--cl-shadow); }
.cl-big > div:first-child { grid-column: 1 / -1; background: linear-gradient(135deg, #0f4536 0%, #11221d 100%); border-color: var(--cl-line-2); }
.cl-big small { display: block; font-size: 11px; color: var(--white-dim); }
.cl-big b { display: block; font-family: var(--mono); font-weight: 500; font-size: 19px; color: var(--white); overflow-wrap: anywhere; line-height: 1.25; margin-top: 3px; }
.cl-big > div:first-child b { font-size: 32px; color: var(--mint); text-shadow: 0 0 18px var(--mint-glow); }
.cl-big span { display: block; font-size: 11px; color: var(--text-faint); margin-top: 2px; }
.cl-live { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 10px; color: var(--mint); letter-spacing: .04em; }
.cl-live::before { content: ""; width: 6px; height: 6px; background: var(--mint); animation: cl-blink 1.4s infinite; }
@keyframes cl-blink { 50% { opacity: .2; } }
.cl-nfts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cl-nfts figure { margin: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--cl-line); background: var(--ink); }
.cl-nfts img { width: 100%; aspect-ratio: 1; image-rendering: pixelated; }
.cl-nfts figcaption { font-family: var(--mono); font-size: 10px; text-align: center; padding: 3px 0; color: var(--white-dim); }
.cl-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 10px; }
.cl-gallery img { width: 100%; aspect-ratio: 1; border-radius: 8px; image-rendering: pixelated; border: 1px solid var(--cl-line); transition: transform .15s, border-color .15s; background: #0a0c11; }
.cl-gallery img:hover { transform: translateY(-2px); border-color: var(--cl-line-2); }
.cl-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cl-steps li { display: flex; gap: 11px; align-items: flex-start; font-size: 12.5px; line-height: 1.6; color: var(--white); }
.cl-steps li i { flex: 0 0 26px; height: 26px; border-radius: 7px; border: 1px solid var(--cl-line-2); background: var(--mint-dim); color: var(--mint); font-style: normal; font-family: var(--mono); font-size: 12px; display: grid; place-items: center; }

/* segments + docs */
.cl-seg { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(0,0,0,0.3); border: 1px solid var(--cl-line); margin-bottom: 16px; }
.cl-seg button { flex: 1; height: 36px; border-radius: 9px; font-size: 13px; color: var(--white-dim); }
.cl-seg button.is-on { background: var(--mint-dim); color: var(--mint); box-shadow: inset 0 0 0 1px var(--cl-line-2); }
.cl-doc { font-size: 13.5px; line-height: 1.75; color: var(--white); }
.cl-doc h2 { font-family: var(--display); font-size: 19px; font-weight: 900; margin: 26px 0 8px; display: flex; align-items: center; gap: 8px; }
.cl-doc h2:first-child { margin-top: 0; }
.cl-doc h2 small { font-family: var(--pixel); font-size: 9.5px; color: var(--mint); border: 1px solid var(--cl-line-2); background: var(--mint-dim); border-radius: 4px; padding: 3px 5px 2px; }
.cl-doc p { margin: 0 0 8px; color: var(--white-dim); }
.cl-doc ul, .cl-doc ol { margin: 0 0 8px; padding-left: 18px; color: var(--white-dim); }
.cl-doc li { margin: 4px 0; }
.cl-doc code { font-family: var(--mono); font-size: 11.5px; color: var(--mint); overflow-wrap: anywhere; }
.cl-table-wrap { border: 1px solid var(--cl-line); border-radius: 12px; overflow: hidden; margin: 10px 0; background: rgba(0,0,0,0.2); }
.cl-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.cl-table td { padding: 9px 11px; border-bottom: 1px solid var(--cl-line); vertical-align: top; color: var(--white-dim); }
.cl-table td:last-child { font-family: var(--mono); font-size: 11.5px; color: var(--white); text-align: right; }
.cl-table tfoot td { font-family: var(--sans) !important; font-size: 10.5px !important; color: var(--text-faint) !important; text-align: left !important; border-bottom: 0; line-height: 1.55; overflow-wrap: anywhere; }
.cl-faq details { border: 1px solid var(--cl-line); border-radius: 12px; background: var(--cl-panel); margin-bottom: 8px; transition: border-color .15s; }
.cl-faq details[open] { border-color: var(--cl-line-2); }
.cl-faq summary { list-style: none; cursor: pointer; padding: 13px 40px 13px 14px; font-size: 13.5px; font-weight: 700; position: relative; }
.cl-faq summary::-webkit-details-marker { display: none; }
.cl-faq summary::after { content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--mint); font-family: var(--mono); font-size: 18px; }
.cl-faq details[open] summary::after { content: "−"; }
.cl-faq details > div { padding: 0 14px 14px; font-size: 12.5px; line-height: 1.7; color: var(--white-dim); overflow-wrap: anywhere; }
.cl-addr { border: 1px solid var(--cl-line); border-radius: 12px; background: var(--cl-panel); padding: 12px 14px; margin-bottom: 8px; }
.cl-addr b { display: block; font-size: 12.5px; }
.cl-addr code { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--white-dim); overflow-wrap: anywhere; margin: 4px 0 8px; }
.cl-addr div { display: flex; gap: 6px; }
.cl-agent { border-radius: 12px; background: #070a0d; border: 1px solid var(--cl-line); padding: 12px; font-size: 12px; color: var(--white-dim); }
.cl-agent ol { padding-left: 18px; margin: 6px 0; line-height: 1.9; }
.cl-agent code { font-family: var(--mono); font-size: 11px; color: var(--mint); overflow-wrap: anywhere; }
.cl-foot { font-size: 10.5px; color: var(--text-faint); line-height: 1.6; margin-top: 14px; text-align: center; }

/* ---------- connect dialog ---------- */
.cl-modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: flex-end; justify-content: center; background: rgba(4, 6, 9, 0.7); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.cl-modal.is-on { display: flex; }
.cl-modal__box { width: 100%; max-height: 88%; overflow-y: auto; overscroll-behavior: contain; background: linear-gradient(180deg, #1b1f2a 0%, #12151c 100%); border-top: 1px solid var(--cl-line-2); border-radius: 20px 20px 0 0; padding: 14px 16px calc(20px + var(--cl-safe-b)); box-shadow: 0 -20px 60px rgba(0,0,0,0.5); animation: cl-sheet .22s ease-out; user-select: text; -webkit-user-select: text; }
@keyframes cl-sheet { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.cl-modal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; position: sticky; top: -14px; padding: 4px 0 6px; background: #1b1f2a; z-index: 2; }
.cl-modal__head b { font-family: var(--display); font-size: 19px; font-weight: 900; }
.cl-modal__head button { font-size: 24px; color: var(--white-dim); width: 36px; height: 36px; border-radius: 9px; }
.cl-modal__head button:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.cl-wsec { padding: 12px 0; border-top: 1px dashed var(--cl-line); }
.cl-wsec:first-child { border-top: 0; padding-top: 2px; }
.cl-wsec__t { font-family: var(--pixel); font-size: 10px; letter-spacing: .12em; color: var(--mint); margin-bottom: 9px; }
html[lang="zh-CN"] .cl-wsec__t { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.cl-wsec__none { font-size: 12.5px; color: var(--white-dim); line-height: 1.55; margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(0,0,0,0.2); border: 1px dashed var(--cl-line); }
.cl-wallet { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--cl-line); background: rgba(255,255,255,0.03); margin-bottom: 7px; text-align: left; font-size: 15px; font-weight: 700; color: var(--white); transition: border-color .15s, background .15s; min-height: 58px; }
.cl-wallet:last-child { margin-bottom: 0; }
.cl-wallet:hover { border-color: var(--cl-line-2); background: rgba(62, 224, 176, 0.05); }
.cl-wallet > span:not(.cl-wico) { flex: 1; min-width: 0; }
.cl-wallet small { display: block; font-weight: 400; font-size: 11.5px; color: var(--text-faint); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-wallet .cl-chev { width: 14px; height: 14px; color: var(--text-faint); flex-shrink: 0; }
.cl-apps + .cl-note + .cl-btn { margin-top: 10px; }
.cl-pill { font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--mint); border: 1px solid var(--cl-line-2); border-radius: 999px; padding: 2px 8px; flex-shrink: 0; }
.cl-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.cl-app { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px 9px; border-radius: 11px; border: 1px solid var(--cl-line); background: rgba(255,255,255,0.03); color: var(--white); text-decoration: none; font-size: 11.5px; font-weight: 600; min-width: 0; transition: border-color .15s; }
.cl-app:hover { border-color: var(--cl-line-2); }
.cl-app > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.cl-app__dot { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-family: var(--pixel); font-size: 13px; color: #0b0d12; background: var(--c); box-shadow: inset 0 -3px 0 rgba(0,0,0,0.18); }
.cl-modal .cl-btn--sm svg { width: 12px; height: 12px; }
.cl-modal .cl-acts { margin-top: 12px; }
/* Agentic Wallet scan */
.cl-lk-qr { padding: 12px; border-radius: 14px; border: 1px solid rgba(240, 185, 11, 0.32); background: rgba(240, 185, 11, 0.05); display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.cl-qr { width: 184px; height: 184px; border-radius: 12px; background: rgba(0,0,0,0.4); border: 1px dashed rgba(240, 185, 11, 0.32); display: grid; place-items: center; overflow: hidden; }
.cl-qr.on { background: #f4f1e8; border: 0; }
.cl-qr svg { width: 100%; height: 100%; display: block; }
.cl-qr-ph { font-family: var(--mono); font-size: 30px; color: #f0b90b; opacity: .7; }
.cl-qr-note { font-size: 11.5px; line-height: 1.5; color: var(--white-dim); overflow-wrap: anywhere; }
.cl-qr-note.bad { color: #ff9b8a; }
.cl-qr-note b { font-family: var(--mono); color: var(--white); letter-spacing: .08em; }
.cl-qr-note a { color: #f0b90b; }

.cl-toast { position: fixed; left: 50%; bottom: calc(84px + var(--cl-safe-b)); z-index: 1100; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; transition: all .2s; background: var(--white); color: var(--text); font-size: 13px; font-weight: 700; padding: 9px 16px; border-radius: 10px; max-width: calc(100vw - 32px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.cl-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* the injected strip must not squeeze the start button */
.view-landing .landing-body > * { flex-shrink: 0; }

/* =====================================================================================================
   PHONE (≤720px)
   ===================================================================================================== */
@media (max-width: 720px) {
  .cl-stage, .cl-console { position: static; width: 100%; height: 100%; }
  .cl-pages { position: fixed; left: 0; right: 0; top: 0; bottom: calc(var(--cl-tabs-h) + var(--cl-safe-b)); z-index: 50; background: var(--ink-2); padding-top: env(safe-area-inset-top, 0px); }
  .cl-pages.is-on { animation: cl-in .22s ease-out; }
  .cl-pbody { padding: 14px 14px 24px; }
  .cl-wbtn { max-width: 140px; }
  .cl-btn { height: 48px; }
  .cl-btn--sm { height: 36px; }
  .cl-acts .cl-btn { min-width: 0; padding: 0 10px; }
  html.cl-modal-open .cl-tabs { z-index: 40; }
  .cl-gallery { grid-template-columns: repeat(4, 1fr); }
  /* phone: the action card comes right after the countdown; timeline / prices / invite follow */
  .cl-cols { display: flex; flex-direction: column; }
  .cl-col { display: contents; }
  .cl-o2 { order: 2; }
  .cl-o3 { order: 3; }
  .cl-col:last-child > :not(.cl-o2):not(.cl-o3) { order: 1; }
}
@media (max-width: 360px) {
  .cl-journey { grid-template-columns: repeat(2, 1fr); }
  .cl-phead .lang-toggle { display: none; }
}

/* =====================================================================================================
   DESKTOP (≥721px): top bar + console + wide pages
   ===================================================================================================== */
@media (min-width: 721px) {
  html, body { overflow: hidden; }
  .cl-bg { display: block; }
  .cl-top { display: block; position: fixed; left: 0; right: 0; top: 0; height: var(--cl-top-h); z-index: 30; background: rgba(9, 11, 16, 0.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--cl-line); }
  .cl-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent 0%, var(--mint) 50%, transparent 100%); opacity: .35; }
  .desktop.cl-desk { position: fixed; left: 0; right: 0; top: var(--cl-top-h); bottom: 0; height: auto; min-height: 0; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 18px 24px; background: transparent; max-width: 1680px; margin: 0 auto; place-items: stretch; }
  .cl-stage { position: relative; min-height: 0; min-width: 0; display: grid; place-items: center; }
  .cl-console { position: relative; padding: 0 14px 14px; border-radius: 26px; background: linear-gradient(180deg, #1d222d 0%, #12151c 100%); border: 1px solid var(--cl-line); box-shadow: 0 0 0 1px rgba(0,0,0,0.5), 0 40px 90px rgba(0,0,0,0.55), 0 0 80px rgba(62, 224, 176, 0.07), inset 0 1px 0 rgba(255,255,255,0.06); }
  .cl-console::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(62, 224, 176, 0.35), transparent 30%, transparent 70%, rgba(62, 224, 176, 0.15)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px; }
  .cl-console__bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 6px; font-family: var(--pixel); font-size: 10px; letter-spacing: .14em; color: var(--white-dim); }
  .cl-console__bar b { font-weight: 400; color: var(--mint); }
  .cl-console__bar em { margin-left: auto; font-style: normal; color: var(--text-faint); }
  .cl-leds { display: inline-flex; gap: 5px; }
  .cl-leds i { width: 7px; height: 7px; background: var(--chrome-3); }
  .cl-leds i:nth-child(1) { background: var(--mint); box-shadow: 0 0 8px var(--mint); animation: cl-blink 2.4s infinite; }
  .cl-leds i:nth-child(2) { background: var(--amber); }
  .cl-console .phone-slot { position: relative; display: block; border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.6); }
  .cl-console .phone { position: absolute; left: 50%; top: 50%; margin: -410px 0 0 -215px; }
  .cl-console .phone { --radius-phone: 18px; box-shadow: none; }
  .cl-stage.is-pages .cl-console { visibility: hidden; position: absolute; }
  html .cl-menu-btn { display: none; }
  .cl-tabs, .cl-tabs.is-on { display: none; }
  .cl-has-tabs .view-landing .landing-body { padding-bottom: 24px; }
  .cl-drawer { display: none !important; }

  /* pages: wide panel */
  .cl-pages { position: absolute; inset: 0; z-index: 5; justify-content: center; }
  .cl-pages__in { max-width: 1060px; width: 100%; border-radius: 20px; border: 1px solid var(--cl-line); background: rgba(13, 16, 22, 0.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 30px 80px rgba(0,0,0,0.45); overflow: hidden; }
  .cl-phead { height: 60px; flex-basis: 60px; padding: 0 22px; }
  .cl-phead__t { font-size: 21px; }
  .cl-phead .lang-toggle, .cl-phead .cl-wbtn, .cl-phead .cl-xbtn { display: none; }
  .cl-pbody { padding: 22px 22px 32px; }
  .cl-rules { max-width: 780px; margin: 0 auto; }
  .cl-addrs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }

  .cl-modal { align-items: center; }
  .cl-modal__box { width: 480px; max-width: calc(100vw - 32px); max-height: calc(100vh - 60px); border: 1px solid var(--cl-line-2); border-radius: 18px; padding: 16px 20px 20px; }
  .cl-toast { bottom: 28px; }
}
@media (min-width: 960px) {
  .cl-cols { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 18px; align-items: start; }
  .cl-pbody > .cl-cols > .cl-col:last-child { animation-delay: .05s; }
}
/* wide: presale rail + game + wallet rail */
@media (min-width: 1180px) {
  .desktop.cl-desk { grid-template-columns: 300px minmax(0, 1fr) 320px; }
  .cl-aside, .cl-rail { display: block; min-height: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; padding: 2px 2px 8px; color: var(--white); user-select: text; -webkit-user-select: text; animation: cl-in .35s ease-out both; }
  .cl-aside::-webkit-scrollbar, .cl-rail::-webkit-scrollbar { width: 0; }
  .cl-aside .cl-sale { margin-top: 14px; }
  .cl-aside .cl-sale__btns .cl-btn { height: 42px; }
  .view-landing .cl-strip { display: none; }
  .cl-pages__in { max-width: none; }
  /* a page takes the presale rail's column too (the page carries the same sale box) */
  .desktop.cl-desk.is-pages .cl-aside { display: none; }
  .desktop.cl-desk.is-pages .cl-stage { grid-column: 1 / 3; }
}
@media (min-width: 1440px) {
  .desktop.cl-desk { grid-template-columns: 330px minmax(0, 1fr) 350px; gap: 32px; padding: 20px 32px; }
}
@media (min-width: 721px) and (max-height: 640px) {
  .cl-console__bar { height: 28px; }
  .desktop.cl-desk { padding-top: 10px; padding-bottom: 10px; }
}
.cl-faq details > div a { color: var(--mint); text-decoration: underline; }
.cl-faq details > div { overflow-wrap: anywhere; }
.cl-note--warn { color: var(--amber); }
.drop-panel .dp-scan { color: var(--amber, #f5b942); }
/* menu entry inside the life HUD (phones); hidden on desktop like the other menu buttons */
.cl-menu-btn--hud { margin-left: 6px; height: 28px; width: 32px; flex: 0 0 auto; }
.hud-tools .icon-btn svg { width: 15px; height: 15px; }
.hud-tools .icon-btn { display: inline-flex; align-items: center; justify-content: center; }

/* official X link */
.cl-xbtn svg { width: 13px; height: 13px; }
.cl-top__r .cl-xbtn { width: 34px; height: 34px; flex-basis: 34px; border-radius: 9px; }
.cl-foot--x { margin-top: 18px; font-size: 12px; color: var(--white-dim); }
.cl-foot--x a { color: var(--mint); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; border-bottom: 1px dashed var(--cl-line-2); }
.cl-foot--x svg { width: 11px; height: 11px; }
