/* Beranda DIME v2: hero instrumen (wordmark + murai hidup + pelat kontrak + pita pemakaian), chat, pita tarif, penutup.
   Bagian tengah (struk, cadangan, pemegang, agen, konsol, kepercayaan) punya CSS sendiri: land-*.css */

/* ============ HERO ============ */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-bottom: 8px; }
.hero::before { /* genangan cahaya dingin di belakang murai — satu-satunya "latar" */
  content: ''; position: absolute; left: 50%; top: 8%; width: min(1100px, 120vw); aspect-ratio: 1.3; transform: translateX(-44%); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(200, 212, 235, .075), rgba(200, 212, 235, .02) 55%, transparent 75%);
}

.hx-kicker { position: relative; z-index: 3; display: flex; justify-content: space-between; gap: 24px; padding-top: 18px; font: 500 11px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.hx-kicker b { color: var(--text); font-weight: 500; }
.hx-kicker .sep { color: rgba(255,255,255,.18); margin: 0 6px; }
.hx-diamond { display: inline-block; width: 7px; height: 7px; border: 1px solid var(--edge); transform: rotate(45deg); margin-right: 12px; box-shadow: var(--edge-glow); vertical-align: 1px; }

.hx-stage { position: relative; height: clamp(540px, calc(100svh - 64px - 44px - 200px), 780px); }

/* Wordmark raksasa — logam disikat, padat (bukan garis luar), redup supaya murai tampil di depannya */
.hx-word { position: absolute; left: 0; right: 0; top: 1%; display: flex; justify-content: center; pointer-events: none; z-index: 0; will-change: transform; }
.hx-word span {
  font: 700 clamp(150px, 30vw, 500px)/.78 var(--sans); letter-spacing: -.07em; padding-right: .07em; user-select: none;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,0) 0 2px, rgba(0,0,0,.42) 2px 3px),
    linear-gradient(180deg, #3b3e45 0%, #1b1c20 46%, #0b0c0e 82%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.06));
}

/* Murai + lapisan hidupnya (HUD, kilau, mata) */
.hx-bird { position: absolute; left: 53%; top: 0; height: 100%; aspect-ratio: 1105 / 920; transform: translateX(-50%); z-index: 1; pointer-events: none; }
.hx-bird picture, .hx-img { display: block; width: 100%; height: 100%; }
.hx-img { object-fit: contain;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%), linear-gradient(180deg, #000 70%, transparent 99%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 24%), linear-gradient(180deg, #000 70%, transparent 99%); mask-composite: intersect; }
.hx-hud { position: absolute; left: -12%; top: -14%; width: 124%; height: 128%; z-index: 0; }
.hx-sheen { position: absolute; inset: 0; z-index: 2; mix-blend-mode: screen; opacity: .9;
  -webkit-mask: url(/img/hero-cut.webp) center / contain no-repeat; mask: url(/img/hero-cut.webp) center / contain no-repeat;
  background: linear-gradient(112deg, transparent 42%, rgba(235,242,255,.26) 50%, transparent 58%) 0 0 / 260% 100% no-repeat;
  background-position: 130% 0; animation: hx-sheen 8s var(--ease-io) 1.2s infinite; }
@keyframes hx-sheen { 0% { background-position: 130% 0; } 38%, 100% { background-position: -30% 0; } }
.hx-eye { position: absolute; left: 74.2%; top: 10.5%; width: 7%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 3; border-radius: 50%; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255,255,255,1) 0 6%, rgba(225,235,255,.55) 14%, rgba(225,235,255,.12) 38%, transparent 68%);
  animation: hx-eye 5.5s ease-in-out infinite; }
@keyframes hx-eye { 0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(.9); } 46% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); } 50% { opacity: .2; transform: translate(-50%, -50%) scale(.7); } 54% { opacity: 1; } }

/* Teks mikro vertikal di kedua tepi */
.hx-edge { position: absolute; top: 48%; z-index: 2; font: 500 10px/1 var(--mono); letter-spacing: .34em; text-transform: uppercase; color: rgba(255,255,255,.28); writing-mode: vertical-rl; white-space: nowrap; }
.hx-edge.l { left: 20px; transform: translateY(-50%) rotate(180deg); }
.hx-edge.r { right: 20px; transform: translateY(-50%); }
.hx-edge::before { content: ''; display: inline-block; width: 1px; height: 46px; background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.35)); margin-bottom: 14px; vertical-align: middle; }

/* Kisi depan: salinan kiri-bawah, pelat kanan-bawah */
.hx-grid { position: relative; z-index: 4; height: 100%; display: grid; grid-template-columns: minmax(0, 540px) 1fr 304px; gap: 24px; align-items: end; padding-bottom: 58px; }
.hero-copy { grid-column: 1; position: relative; }
.hero-copy::before { /* tirai gelap lembut di belakang teks, bukan kotak */
  content: ''; position: absolute; left: -140px; right: -60px; top: -60px; bottom: -80px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 30% 60%, rgba(5,5,6,.92) 0%, rgba(5,5,6,.7) 45%, rgba(5,5,6,0) 72%); }
.hx-h1 { font-size: clamp(40px, 4.1vw, 60px); line-height: 1.0; letter-spacing: -.045em; margin: 18px 0 18px; }
.hx-h1 .l { display: block; font-weight: 300; color: var(--text); }
.hx-h1 .b { display: block; font-weight: 600; background: linear-gradient(180deg, #ffffff 0%, #d6d9df 50%, #8e939c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .05em; }
.hero-copy .lead { margin: 0; font-size: 16.5px; max-width: 500px; }
.hero .live { margin-bottom: 0; }

.hx-side { grid-column: 3; display: flex; flex-direction: column; gap: 10px; }

/* Pelat kontrak $DIME ("mint plate") */
.mint { padding: 16px 16px 14px; --chamfer: 12px; }
.mint-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mint-st { display: inline-flex; align-items: center; gap: 7px; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel-2); }
.mint-st i { width: 6px; height: 6px; border: 1px solid var(--steel-2); transform: rotate(45deg); }
.mint.live .mint-st i { background: var(--white); border-color: var(--white); box-shadow: 0 0 8px rgba(255,255,255,.9); animation: pulse 2s ease-in-out infinite; }
.mint-addr { margin: 14px 0 10px; height: 40px; display: flex; align-items: center; gap: 5px; padding: 0 12px; border: 1px solid var(--hair-2); background: rgba(0,0,0,.35); font: 500 13px var(--mono); color: var(--text); letter-spacing: .02em; overflow: hidden; }
.mint-addr .slot { flex: 1; height: 10px; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); background: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 4px); }
.mint-note { margin: 0 0 12px; font-size: 12px; line-height: 1.5; color: var(--dim); }
.mint-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.mint-act { display: flex; gap: 8px; }
.mint-act .btn { flex: 1; border-radius: 4px; }
.mint-buy { border-color: rgba(255,255,255,.55); color: var(--white); background: rgba(255,255,255,.04); }
.mint-buy[aria-disabled="true"] { cursor: default; }
.mint.live .mint-buy { background: var(--white); color: #050506; border-color: var(--white); }

/* Pita pemakaian live */
.tape { padding: 12px 14px 10px; --chamfer: 10px; }
.tape-head { display: flex; justify-content: space-between; margin-bottom: 8px; }
.tape-rows { list-style: none; margin: 0; padding: 0; height: 118px; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.tape-rows li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 6px 0; border-top: 1px dashed rgba(255,255,255,.08); font: 11.5px/1.35 var(--mono); color: var(--muted); }
.tape-rows li:first-child { border-top: 0; }
.tape-rows li .m { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tape-rows li .c { color: var(--white); text-align: right; }
.tape-rows li .t { color: var(--dim); grid-column: 1 / -1; font-size: 10.5px; }
.tape-rows li.new { animation: tape-in .7s var(--ease) both; }
@keyframes tape-in { from { opacity: 0; transform: translateY(-10px); background: rgba(255,255,255,.06); } to { opacity: 1; transform: none; background: transparent; } }
.tape-empty { color: var(--dim) !important; display: block !important; }

/* Kotak chat menempel di bawah panggung, sedikit menimpa dahan murai */
.hero-inner { position: relative; z-index: 5; padding-top: 0; padding-bottom: 10px; }
.hero .composer { margin: -34px auto 0; }
.hero .chips, .hero .fine.landing-note { margin-left: auto; margin-right: auto; justify-content: center; text-align: center; }

/* Baris pembacaan statistik di kaki hero */
.hx-stats { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 34px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.hx-stats > div { padding: 18px 20px 16px; border-left: 1px solid var(--hair); display: flex; flex-direction: column; gap: 10px; }
.hx-stats > div:first-child { border-left: 0; padding-left: 0; }
.hx-stats b { font: 300 26px/1 var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--white); }

/* ============ Komposer chat ============ */
.composer { max-width: 760px; padding: 14px; border-radius: 18px; background: linear-gradient(180deg, rgba(20,21,25,.94), rgba(11,12,14,.96)); border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 30px 80px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.07), 0 0 0 1px rgba(0,0,0,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); position: relative; }
.composer::before { content: ''; position: absolute; left: 22px; top: -1px; width: 32%; height: 1px; background: linear-gradient(90deg, var(--edge), rgba(255,255,255,0)); box-shadow: var(--edge-glow); }
.composer:focus-within { border-color: rgba(255,255,255,.34); box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 4px rgba(255,255,255,.04), inset 0 1px 0 rgba(255,255,255,.07); }
.composer textarea { width: 100%; min-height: 56px; max-height: 260px; resize: none; background: transparent; border: 0; outline: 0; color: var(--text); font: 16px/1.55 var(--sans); padding: 6px 6px 10px; }
.composer textarea::placeholder { color: #6f737c; }
.cbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.model-btn { display: inline-flex; align-items: center; gap: 10px; height: 38px; max-width: 100%; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); cursor: pointer; font-size: 14px; }
.model-btn:hover { border-color: rgba(255,255,255,.3); }
.model-btn .mname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 190px; }
.model-btn .rate { font: 12px var(--mono); color: var(--dim); }
.attach { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; color: var(--muted); font-size: 18px; }
.attach:hover { color: var(--text); border-color: rgba(255,255,255,.3); }
.meter { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font: 11.5px var(--mono); color: var(--muted); letter-spacing: .04em; }
.meter .bar { width: 92px; height: 3px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.meter .bar i { display: block; height: 100%; background: var(--white); box-shadow: 0 0 8px rgba(255,255,255,.7); transition: width .3s; }
.send { height: 38px; padding: 0 18px; border-radius: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; max-width: 760px; }
.chips button { height: 32px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(8,8,10,.6); color: var(--muted); font-size: 13px; cursor: pointer; transition: color .15s, border-color .15s; }
.chips button:hover { color: var(--text); border-color: var(--line-2); }
.fine { margin: 14px 0 0; font-size: 12px; color: var(--dim); max-width: 760px; }
.fine a { text-decoration: underline; text-underline-offset: 3px; }
.attached { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 6px 8px; }
.attached span { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 8px; border-radius: 8px; background: rgba(255,255,255,.06); font-size: 12px; color: var(--muted); }
.attached button { background: none; border: 0; color: var(--dim); cursor: pointer; padding: 0; }

/* ============ Mode chat ============ */
body.chatting .landing-only { display: none !important; }
body.chatting .hero { min-height: calc(100svh - var(--nav-h)); }
body.chatting .hero::before { opacity: .5; }
body.chatting .hero-inner { padding-top: 24px; padding-bottom: 24px; display: flex; flex-direction: column; min-height: calc(100svh - var(--nav-h)); }
body.chatting .composer { margin: 0 auto; width: 100%; max-width: 820px; position: sticky; bottom: 16px; }
body.chatting .chips, body.chatting .fine.landing-note { display: none; }
.chat-top { display: none; max-width: 820px; width: 100%; margin: 0 auto 10px; align-items: center; gap: 10px; }
body.chatting .chat-top { display: flex; }
.chat-top .title { font-size: 13px; color: var(--dim); font-family: var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-top .sp { flex: 1; }
.thread { display: none; flex: 1; width: 100%; max-width: 820px; margin: 0 auto; padding: 8px 0 22px; }
body.chatting .thread { display: block; }
.msg { margin: 0 0 22px; }
.msg.user .bubble { margin-left: auto; max-width: 78%; width: fit-content; background: rgba(255,255,255,.07); border: 1px solid var(--line); border-radius: 16px 16px 4px 16px; padding: 10px 14px; white-space: pre-wrap; word-wrap: break-word; }
.msg.ai .who { display: flex; align-items: center; gap: 8px; font: 12px var(--mono); color: var(--dim); margin-bottom: 8px; }
.msg.ai .who img { width: 20px; height: 20px; border-radius: 50%; }
.msg.ai .body { line-height: 1.7; word-wrap: break-word; }
.msg.ai .body p { margin: 0 0 12px; }
.msg.ai .body pre { background: #0c0d10; border: 1px solid var(--line); border-radius: 12px; padding: 14px; overflow-x: auto; font: 13px/1.55 var(--mono); }
.msg.ai .body code { font: 13px var(--mono); background: rgba(255,255,255,.06); padding: 1px 5px; border-radius: 5px; }
.msg.ai .body pre code { background: none; padding: 0; }
.msg.ai .body ul, .msg.ai .body ol { padding-left: 22px; margin: 0 0 12px; }
.msg.ai .body h1, .msg.ai .body h2, .msg.ai .body h3 { font-size: 16px; margin: 18px 0 8px; }
.msg .receipt { margin-top: 12px; max-width: 520px; }
.msg .err { color: var(--bad); font-size: 14px; }
.msg .err .btn { margin-top: 10px; }
.cursor::after { content: '▍'; animation: pulse 1s steps(1) infinite; color: var(--muted); }
.receipt .row span { min-width: 0; overflow-wrap: anywhere; }
.receipt .row b { white-space: nowrap; }

/* ============ Pemilih model ============ */
.picker .modal { width: min(620px, 100%); padding: 0; display: flex; flex-direction: column; max-height: min(680px, calc(100vh - 40px)); }
.picker-head { padding: 18px 18px 12px; border-bottom: 1px solid var(--line); }
.picker-head .row { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.picker-head .row button { height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2); background: none; color: var(--muted); font-size: 12.5px; cursor: pointer; }
.picker-head .row button.on { background: var(--white); color: #050506; border-color: var(--white); }
.picker-list { overflow-y: auto; padding: 6px; }
.picker-list .grp { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding: 12px 12px 6px; }
.mrow { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; background: none; border: 0; cursor: pointer; }
.mrow:hover, .mrow.sel { background: rgba(255,255,255,.06); }
.mrow .n { font-size: 14px; display: flex; align-items: center; gap: 8px; }
.mrow .l { font-size: 12px; color: var(--dim); font-family: var(--mono); }
.mrow .p { font: 12.5px var(--mono); color: var(--muted); text-align: right; grid-row: span 2; align-self: center; }

/* ============ Pita tarif ============ */
.rates { padding: 54px 0 58px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: linear-gradient(180deg, rgba(255,255,255,.012), rgba(255,255,255,0)); overflow: hidden; }
.rates-cap { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; }
.rates-row { display: flex; width: max-content; gap: 0; animation: rates-run var(--dur, 90s) linear infinite; will-change: transform; }
.rates-row.rev { animation-direction: reverse; margin-top: 10px; }
.rates:hover .rates-row { animation-play-state: paused; }
@keyframes rates-run { to { transform: translateX(-50%); } }
.rate-i { display: inline-flex; align-items: baseline; gap: 14px; padding: 12px 26px; border-left: 1px solid var(--hair); white-space: nowrap; }
.rate-i .lab { font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.rate-i .nm { font-size: 17px; font-weight: 400; color: var(--text); letter-spacing: -.01em; }
.rate-i .px { font: 13px var(--mono); color: var(--steel-2); font-variant-numeric: tabular-nums; }
.rate-i .px em { font-style: normal; color: var(--dim); margin: 0 4px; }
.rate-i .fr { font: 500 9.5px var(--mono); letter-spacing: .1em; color: #050506; background: #e9ecf1; padding: 3px 5px; align-self: center; }
@media (prefers-reduced-motion: reduce) { .rates-row { animation: none; } .rates { overflow-x: auto; } }

/* ============ Penutup: odometer ============ */
.closing2 { position: relative; padding: 130px 0 120px; overflow: hidden; isolation: isolate; border-top: 1px solid var(--hair); }
.odo-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin: 10px 0 70px; }
.odo { display: flex; align-items: flex-end; font: 200 clamp(64px, 12.5vw, 196px)/1 var(--sans); letter-spacing: -.055em; font-variant-numeric: tabular-nums; color: var(--white); }
.odo .d { display: inline-block; height: 1em; overflow: hidden; position: relative; width: .62em; text-align: center;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 82%, transparent 100%); }
.odo .d > span { display: flex; flex-direction: column; transition: transform 2.2s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--dl, 0s); }
.odo .d > span > i { font-style: normal; height: 1em; line-height: 1; display: block; }
.odo .s { display: inline-block; color: var(--steel); }
.odo .s.cur { font-size: .58em; align-self: flex-start; margin: .1em .06em 0 0; }
.odo .dim-d .d { color: #4c5058; }
.odo-sub { color: var(--dim); }
.close-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; padding-top: 40px; border-top: 1px solid var(--hair); }
.close-cta .sub { margin: 0 0 22px; }
.close-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.close-bird { position: absolute; right: -6%; top: 4%; width: min(820px, 64vw); z-index: -1; opacity: .2; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent 100%); mask-image: radial-gradient(closest-side, #000 40%, transparent 100%); }

/* ============ Responsif ============ */
@media (max-width: 1180px) {
  .hx-edge { display: none; }
  .hx-grid { grid-template-columns: minmax(0, 480px) 1fr 280px; }
  .hx-stats { grid-template-columns: repeat(3, 1fr); }
  .hx-stats > div:nth-child(n+4) { border-top: 1px solid var(--hair); }
  .hx-stats > div:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (max-width: 900px) {
  /* susun ulang: murai → judul → chat → pelat kontrak → pita → statistik */
  .hero { display: flex; flex-direction: column; }
  .hx-stage, .hx-grid { display: contents; }
  .hx-kicker { order: 0; }
  .hx-kicker .hx-k-r { display: none; }
  .hx-word { position: absolute; top: 46px; }
  .hx-word span { font-size: 33vw; }
  .hx-bird { order: 1; position: relative; left: auto; transform: none; width: 112vw; height: auto; margin: 2vw 0 0 -2vw; align-self: center; }
  .hx-bird picture, .hx-img { height: auto; }
  .hero-copy { order: 2; padding: 0 24px; margin-top: -16vw; }
  .hero-copy::before { left: -40px; right: -40px; top: -30px; bottom: -30px; background: radial-gradient(ellipse at 40% 50%, rgba(5,5,6,.85), rgba(5,5,6,0) 72%); }
  .hero-inner { order: 3; margin-top: 26px; }
  .hero .composer { margin-top: 0; }
  .hero .chips, .hero .fine.landing-note { justify-content: flex-start; text-align: left; }
  .hx-side { order: 4; padding: 26px 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
  .hx-stats-wrap { order: 6; }
  .close-row { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .hx-kicker { font-size: 10px; letter-spacing: .12em; }
  .hx-word span { font-size: 34vw; }
  .hx-h1 { font-size: 40px; }
  .hero-copy .lead { font-size: 15.5px; }
  .hx-side { grid-template-columns: 1fr; }
  .hx-stats { grid-template-columns: 1fr 1fr; }
  .hx-stats > div { padding: 16px 14px 14px; }
  .hx-stats > div:nth-child(n) { border-left: 1px solid var(--hair); border-top: 1px solid var(--hair); padding-left: 14px; }
  .hx-stats > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hx-stats > div:nth-child(-n+2) { border-top: 0; }
  .hx-stats > div:last-child { grid-column: 1 / -1; }
  .hx-stats b { font-size: 22px; }
  .model-btn .rate { display: none; }
  .cbar .model-btn { flex: 1 1 calc(100% - 48px); min-width: 0; }
  .meter { margin-left: 0; order: 3; flex: 1; flex-direction: row; align-items: center; gap: 8px; }
  .meter .bar { width: 100%; max-width: 120px; }
  .cbar .send { order: 4; margin-left: auto; }
  .chips button { font-size: 12.5px; }
  .msg.user .bubble { max-width: 90%; }
  .rates { padding: 40px 0 44px; }
  .rates-cap { flex-direction: column; align-items: flex-start; gap: 12px; }
  .rate-i { padding: 10px 18px; }
  .rate-i .nm { font-size: 15px; }
  .closing2 { padding: 90px 0 84px; }
  .odo-wrap { margin-bottom: 48px; }
  .close-bird { width: 120vw; right: -40vw; top: 0; opacity: .14; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-sheen, .hx-eye { animation: none; }
  .odo .d > span { transition: none; }
}

/* ---- Penyetelan setelah potret pertama ---- */
.hx-bird { top: 6%; height: 94%; }
.hx-hud { left: -30%; top: -10%; width: 160%; height: 120%; }
.hx-kicker { z-index: 6; }
@media (max-width: 1180px) {
  .hx-kicker .opt { display: none; }
  .hx-grid { grid-template-columns: minmax(0, 470px) 1fr 292px; }
  .mint-top .label { letter-spacing: .1em; }
}
@media (max-width: 1024px) {
  .hx-kicker .hx-k-r { display: none; }
}
@media (max-width: 900px) {
  .hx-kicker { order: 0; }
  .hx-bird { top: auto; height: auto; }
  .hx-side { display: contents; }
  .hero-copy { order: 2; margin-top: -10vw; }
  .mint { order: 3; margin: 22px 24px 0; }
  .hero-inner { order: 4; margin-top: 14px; }
  .tape { order: 5; margin: 24px 24px 0; }
  .hx-stats-wrap { order: 6; }
  /* kartu kontrak ringkas di HP: label + status, lalu alamat + tombol sebaris */
  .mint { display: grid; grid-template-columns: 1fr auto; gap: 10px 10px; align-items: center; padding: 12px 12px 12px 14px; }
  .mint-top { grid-column: 1 / -1; }
  .mint-addr { margin: 0; height: 36px; }
  .mint-note { display: none; }
  .mint-act .btn { flex: none; }
  .mint-act #mint-copy { display: none; }
  .mint.live .mint-act #mint-copy { display: inline-flex; }
}
@media (max-width: 640px) {
  .mint-buy { padding: 0 12px; }
}

.tape-rows:has(.tape-empty) { height: auto; }
