/* Screen layouts from the Claude Design canvas: loading, connect wallet,
   account, how to play, and the pieces the panels share (status tiles, fee
   steps, podium, tier cards…). Colours and shapes come from style.css. */

/* Big outlined title (loading, connect) */
.game-title {
  margin: 0; font-family: var(--title); font-weight: 400; line-height: 1; letter-spacing: 1px; color: var(--panel);
  text-shadow: 0 4px 0 var(--ink), 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 -3px 0 var(--ink), 0 8px 0 var(--night-shadow);
}

/* ------------------------------------------------------- loading screen */
.loading {
  position: fixed; inset: 0; z-index: 500; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px; padding: 40px 16px 150px; background: var(--night) url("../Assets/night_arena.svg") center bottom / cover no-repeat;
  transition: opacity .45s ease;
}
.loading.gone { opacity: 0; pointer-events: none; }
.ld-brand { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.ld-bomb { position: relative; width: 120px; height: 120px; animation: ld-bob 1.8s ease-in-out infinite; }
.ld-bomb img { width: 120px; height: 120px; image-rendering: pixelated; }
.ld-spark { position: absolute; top: -6px; right: 4px; animation: ld-spark .35s steps(2) infinite; }
.ld-brand .game-title { font-size: clamp(56px, 9vw, 96px); }
.ld-tag { margin-top: 6px; font-size: 16px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #dbe4ff; }
.ld-card {
  width: 100%; max-width: 560px; display: flex; flex-direction: column; gap: 14px; padding: 20px;
  border-radius: 20px; border: 3px solid var(--ink); background: var(--panel); box-shadow: 0 8px 0 var(--night-shadow);
}
.ld-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 800; }
.ld-pct { font-family: var(--title); font-size: 26px; line-height: 1; font-weight: 400; }
.ld-track { height: 30px; padding: 4px; border-radius: 12px; border: 3px solid var(--ink); background: #e6d3b0; }
.ld-fill {
  width: 0; height: 100%; border-radius: 7px; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .15); transition: width .35s ease;
  background-image: repeating-linear-gradient(45deg, #22c55e 0 12px, #16a34a 12px 24px); background-size: 34px 34px;
  animation: ld-stripes .7s linear infinite;
}
.ld-tip { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--panel-2); }
.ld-tip img { flex: none; width: 32px; height: 32px; object-fit: contain; image-rendering: pixelated; }
.ld-tip p { font-size: 14px; line-height: 1.5; }
.ld-bottom { position: absolute; left: 0; right: 0; bottom: 0; }
.ld-heroes { display: flex; justify-content: center; gap: clamp(4px, 2vw, 24px); padding: 0 12px; }
.ld-hop { width: clamp(36px, 5vw, 64px); height: clamp(36px, 5vw, 64px); image-rendering: pixelated; animation: ld-hop .9s ease-in-out infinite; }
.ld-floor { height: 48px; border-top: 3px solid var(--ink); background: #d94f8c url("../Assets/MAPA/Morango/Parede.png") 0 0 / 48px 48px repeat-x; image-rendering: pixelated; }
@keyframes ld-stripes { from { background-position: 0 0; } to { background-position: 34px 0; } }
@keyframes ld-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes ld-spark { 0% { opacity: 1; transform: scale(1); } 100% { opacity: .35; transform: scale(.6); } }
@keyframes ld-hop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ------------------------------------------------------- connect wallet */
.connect {
  position: fixed; inset: 0; z-index: 120; overflow-y: auto; display: flex; flex-direction: column; align-items: center;
  gap: 24px; padding: clamp(16px, 4vw, 48px) 16px; background: var(--night) url("../Assets/night_arena.svg") center bottom / cover no-repeat;
}
.cn-wrap { width: 100%; max-width: 1120px; margin: auto 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.cn-about { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.cn-brand { display: flex; align-items: center; gap: 14px; }
.cn-brand img { width: 76px; height: 76px; image-rendering: pixelated; }
.cn-brand .game-title { font-size: clamp(48px, 7vw, 76px); }
.cn-lead { max-width: 480px; font-size: 20px; line-height: 1.45; font-weight: 600; color: #eef2ff; }
.cn-features { display: flex; flex-direction: column; gap: 10px; }
.cn-feature {
  display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 16px; border: 3px solid var(--ink);
  background: var(--panel); box-shadow: 0 4px 0 var(--night-shadow);
}
.cn-feature > span { flex: none; width: 52px; height: 52px; border-radius: 12px; background: var(--panel-2); display: flex; align-items: center; justify-content: center; }
.cn-feature img { width: 38px; height: 38px; object-fit: contain; image-rendering: pixelated; }
.cn-feature b { font-size: 15px; }
.cn-feature p { margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
.cn-sprites { display: flex; flex-wrap: wrap; gap: 6px; }
.cn-sprites img { width: 44px; height: 44px; image-rendering: pixelated; }
.cn-card { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: 22px; box-shadow: 0 10px 0 var(--night-shadow); }
.cn-card h2 { font-size: 32px; line-height: 1.1; }
.cn-card h2 + p { margin-top: 4px; font-size: 14px; color: var(--ink-3); }
.cn-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.cn-steps li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border-radius: 12px; background: var(--panel-2); text-align: center; color: var(--ink-3); }
.cn-steps li > span { width: 28px; height: 28px; border-radius: 999px; background: var(--line); color: var(--ink-3); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.cn-steps li b { font-size: 12.5px; }
.cn-steps li.now { background: #ede9fe; color: #4c1d95; }
.cn-steps li.now > span { background: var(--brand); color: #fff; }
.cn-steps li.done > span { background: var(--ok); color: #fff; }
.cn-wallet {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 10px 14px; border-radius: 16px; border: 3px solid var(--ink);
  background: var(--card); color: var(--ink); text-align: left; box-shadow: 0 4px 0 var(--ink); cursor: pointer; font: inherit;
}
.cn-wallet:hover:not(:disabled) { transform: translateY(-1px); }
.cn-wallet:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.cn-wallet:disabled { opacity: .55; cursor: wait; }
.cn-wallet.primary { background: var(--brand); color: #fff; }
.cn-wallet-ico { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--panel-2); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.cn-wallet.primary .cn-wallet-ico { background: #ede9fe; color: var(--brand-2); }
.cn-wallet-text { flex: 1 1 auto; display: flex; flex-direction: column; }
.cn-wallet-text b { font-size: 17px; font-weight: 800; }
.cn-wallet-text span { font-size: 12.5px; font-weight: 600; opacity: .9; }
.cn-badge { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--ok-bg); color: #166534; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; }
.cn-wallet.primary .cn-badge { background: var(--panel); color: #4c1d95; }
.cn-svg { display: inline-flex; flex: none; }
.cn-spin { animation: spin 1s linear infinite; }
.cn-box { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 16px; font-size: 13.5px; }
.cn-box b { font-size: 15px; }
.cn-box.warn { border: 2px solid #f2d27a; background: var(--warn-bg); }
.cn-box.warn b { color: #78350f; }
.cn-box.sign { border: 2px solid #c7d2fe; background: var(--info-bg); }
.cn-box.sign b { color: #312e81; }
.cn-box.sign .row { gap: 12px; align-items: center; }
.cn-msg {
  margin: 0; padding: 12px; border-radius: 10px; background: var(--card); border: 2px solid var(--line);
  font-family: ui-monospace, Consolas, monospace; font-size: 12px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere;
}
.cn-alert { margin: 0; padding: 10px 14px; border-radius: 12px; border: 2px solid #fca5a5; background: var(--bad-bg); color: #7f1d1d; font-size: 14px; font-weight: 600; }
.cn-safe { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--panel-2); }
.cn-safe svg { flex: none; margin-top: 1px; }
.cn-safe p { font-size: 13px; line-height: 1.5; }
.cn-req { font-size: 12.5px; color: var(--ink-3); }
.cn-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-bottom: auto; }
.cn-links button { min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: var(--panel); font-size: 14px; font-weight: 700; cursor: pointer; }
.cn-links button:hover { color: #fff; text-decoration: underline; }
.cn-links button:focus-visible { outline-color: var(--gold); }

/* --------------------------------------------------------------- account */
.acc-head { display: flex; align-items: center; gap: 16px; }
.acc-avatar {
  flex: none; width: 76px; height: 76px; border-radius: 18px; border: 3px solid var(--solid, var(--ink-3)); background: var(--tint, var(--panel-2));
  display: flex; align-items: center; justify-content: center;
}
.acc-avatar img { width: 60px; height: 60px; object-fit: contain; image-rendering: pixelated; }
.acc-name { font-size: 22px; font-weight: 800; }
.acc-list { margin: 0; border-radius: 16px; border: 2px solid var(--line); background: var(--card); overflow: hidden; }
.acc-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.acc-list > div:last-child { border-bottom: 0; }
.acc-list dt { color: var(--ink-2); }
.acc-list dd { margin: 0; font-weight: 700; text-align: right; }
.acc-label { font-size: 12px; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .4px; }
.acc-addr { display: block; padding: 10px 12px; border-radius: 10px; background: var(--panel-2); font-family: ui-monospace, Consolas, monospace; font-size: 13px; overflow-wrap: anywhere; }
.vip-chip { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; }
.vip-chip.t1 { background: #f3d6bd; color: #5a2e10; } .vip-chip.t2 { background: #e5e7eb; color: #374151; } .vip-chip.t3 { background: #fde68a; color: #78350f; }
.dot-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--ok-bg); color: #166534; font-size: 12px; font-weight: 700; }
.dot-pill::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: #22c55e; }

/* ----------------------------------------------------------- how to play */
.g-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.g-step { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; border: 2px solid var(--line); background: var(--card); }
.g-icon { flex: none; position: relative; width: 56px; height: 56px; border-radius: 14px; background: var(--panel-2); display: flex; align-items: center; justify-content: center; }
.g-icon img { width: 40px; height: 40px; object-fit: contain; image-rendering: pixelated; }
.g-icon .n {
  position: absolute; top: -8px; left: -8px; width: 26px; height: 26px; border-radius: 999px; background: var(--ink); color: var(--panel);
  font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.g-step h3 { margin: 2px 0 4px; font-size: 17px; font-weight: 800; }
.g-step p { font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.tile {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; border: 2px solid var(--line); background: var(--card);
  color: var(--ink); text-align: left; font: inherit; cursor: pointer;
}
.tile:hover { border-color: var(--ink); }
.tile img { flex: none; width: 32px; height: 32px; object-fit: contain; image-rendering: pixelated; }
.tile span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tile b { font-size: 14px; }
.tile small { font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.note-icon { flex-direction: row; gap: 14px; align-items: flex-start; }
.note-icon > svg { flex: none; margin-top: 1px; }
.note-icon > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

/* ----------------------------------------------------- shared panel pieces */
.mini-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 10px; }
.mini-tile { padding: 10px 12px; border-radius: 12px; background: var(--panel-2); }
.mini-tile .k { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.mini-tile .v { font-size: 20px; font-weight: 800; }
.mini-tile .v small { font-size: 13px; }
.win-tile { background: var(--ok-bg); } .win-tile .k, .win-tile .d { color: #166534; } .win-tile .v { color: #14532d; }
.lose-tile { background: var(--bad-bg); } .lose-tile .k, .lose-tile .d { color: #991b1b; } .lose-tile .v { color: #7f1d1d; }
.mini-tile .d { font-size: 12px; }
.fee-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.fee-steps div { padding: 10px 8px; border-radius: 10px; text-align: center; }
.fee-steps b { display: block; font-size: 20px; font-weight: 800; }
.fee-steps span { font-size: 12px; font-weight: 600; }
.fee-15 { background: #fee2e2; color: #991b1b; } .fee-8 { background: #fef3c7; color: #92400e; }
.fee-5 { background: #e0f2fe; color: #075985; } .fee-2 { background: #dcfce7; color: #166534; }
.fee-chip { padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.odds-bar { display: flex; height: 18px; border-radius: 999px; overflow: hidden; border: 2px solid var(--ink); }
.odds-bar span { min-width: 4px; }
.pity { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; flex: 1 1 auto; max-width: 240px; }
.pity span { height: 8px; border-radius: 3px; background: #c7d2fe; }
.pity span.on { background: #4f46e5; }
.hero-tile { flex: none; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--tint, var(--panel-2)); }
.hero-tile img { image-rendering: pixelated; object-fit: contain; }
.r0 { --solid: #6b6b6b; --tint: #ebe8e1; } .r1 { --solid: #2563eb; --tint: #dce6fb; } .r2 { --solid: #15803d; --tint: #d8efdf; }
.r3 { --solid: #9333ea; --tint: #ecdcf9; } .r4 { --solid: #b45309; --tint: #f8e2bd; } .r5 { --solid: #be123c; --tint: #f7d6dd; }
.pick-btn {
  min-width: 0; margin: 0; padding: 10px; display: flex; gap: 10px; align-items: center; text-align: left; font: inherit; color: inherit;
  background: var(--card); border: 2px solid var(--line); border-radius: 14px; box-shadow: 0 3px 0 var(--line); cursor: pointer;
}
.pick-btn.on { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(124, 58, 237, .25), 0 3px 0 var(--brand); }
.pick-btn b { font-size: 14px; }
.pick-btn small { display: block; font-size: 12px; color: var(--ink-2); }
.pick-btn .state { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.pick-btn.on .state { color: var(--brand-2); }
.dashed-msg { padding: 20px; border-radius: 14px; border: 2px dashed var(--dash); text-align: center; font-size: 14px; font-weight: 600; }
.machine { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.machine .slot {
  width: 76px; height: 76px; border-radius: 14px; border: 2px dashed var(--dash); background: var(--panel);
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; color: #b9a07a;
}
.machine .slot.full { border-style: solid; border-color: var(--solid); background: var(--tint); }
.machine .slot img { width: 56px; height: 56px; image-rendering: pixelated; }
.machine .result { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.machine .result > div {
  width: 96px; height: 96px; border-radius: 18px; border: 3px solid var(--solid); background: var(--tint);
  display: flex; align-items: center; justify-content: center; font-family: var(--title); font-size: 44px; color: var(--solid);
}
.podium { display: flex; align-items: flex-end; justify-content: center; gap: 10px; padding: 16px 16px 0; border-radius: 18px; background: var(--card); border: 2px solid var(--line); }
.podium > div { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100px; }
.podium img { image-rendering: pixelated; }
.podium .step { width: 100%; border-radius: 12px 12px 0 0; border: 2px solid var(--ink); border-bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.podium .step b { font-size: 20px; }
.podium .step span { font-size: 13px; font-weight: 700; }
.tier-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 18px; border: 3px solid var(--line); background: var(--card); }
.tier-card.current { border-color: var(--ink); box-shadow: 0 5px 0 var(--ink); }
.tier-card .yours { position: absolute; top: -12px; right: 16px; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: var(--panel); font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; }
.medal { flex: none; width: 48px; height: 48px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-family: var(--title); font-size: 22px; border: 3px solid; }
.medal.t1 { background: #e7b98d; border-color: #8a4b20; color: #5a2e10; }
.medal.t2 { background: #e5e7eb; border-color: #6b7280; color: #374151; }
.medal.t3 { background: #fde68a; border-color: #b45309; color: #78350f; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.checks li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.4; }
.checks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; background: no-repeat center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.swatch-btn {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px 0 6px; border-radius: 14px; border: 2px solid var(--line);
  background: var(--card); color: var(--ink); font-size: 14px; font-weight: 700; cursor: pointer;
}
.swatch-btn.on { border-color: var(--ink); }
.swatch-btn:disabled { opacity: .55; cursor: not-allowed; }
.swatch-btn > i { width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--ink); }
.skin-card { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 16px; border: 2px solid var(--line); background: var(--card); }
.skin-art { position: relative; height: 96px; border-radius: 12px; background: var(--panel-2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.skin-art > i { position: absolute; inset: 0; opacity: .35; }
.skin-art > b { position: absolute; bottom: 6px; left: 6px; right: 6px; height: 6px; border-radius: 999px; }
.skin-art img { position: relative; width: 64px; height: 64px; image-rendering: pixelated; }
.owned-tag { display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 10px; background: var(--ok-bg); color: #166534; font-size: 13px; font-weight: 800; }
.listing { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 16px; border: 2px solid var(--line); background: var(--card); }
.listing-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.listing-foot b { font-size: 17px; }
.listing-foot small { display: block; font-size: 12px; color: var(--ink-2); }
.stake-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 64px; padding: 8px;
  border-radius: 14px; border: 2px solid var(--line); background: var(--panel); color: var(--ink); cursor: pointer; font: inherit;
}
.stake-btn b { font-size: 17px; }
.stake-btn span { font-size: 12px; font-weight: 600; opacity: .85; }
.stake-btn.on { background: var(--ink); color: var(--panel); border-color: var(--ink); }
.stake-btn:disabled { opacity: .45; cursor: not-allowed; }
.house-card { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 16px; border: 2px solid var(--line); background: var(--card); }
.house-card.mine { border-color: var(--ink); }
.house-card dl { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font-size: 13px; }
.house-card dt { color: var(--ink-2); }
.house-card dd { margin: 0; font-weight: 800; font-size: 15px; }
.rate-bars { height: 200px; display: grid; gap: 6px; align-items: end; padding-bottom: 4px; border-bottom: 2px solid var(--ink); background: linear-gradient(var(--line-2) 1px, transparent 1px) 0 0 / 100% 50px; }
.rate-bars > div { border-radius: 6px 6px 0 0; }
.rate-days { display: grid; gap: 6px; font-size: 10.5px; color: var(--ink-2); text-align: center; }
.flow-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) 80px; gap: 10px; align-items: center; font-size: 13px; }
.flow-row > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flow-row > div { height: 12px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.flow-row > div > i { display: block; height: 100%; border-radius: 999px; background: var(--brand); }
.flow-row > b { text-align: right; }
.result-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.result-hero .big-days { font-family: var(--title); font-size: 56px; line-height: 1.05; }

@media (prefers-reduced-motion: reduce) {
  .ld-bomb, .ld-spark, .ld-hop, .ld-fill, .cn-spin { animation: none; }
}
@media (max-width: 720px) {
  .loading { gap: 20px; padding-bottom: 120px; }
  .cn-card { padding: 18px; }
  .cn-card h2 { font-size: 26px; }
  .flow-row { grid-template-columns: 120px minmax(0, 1fr) 64px; }
  .fee-steps b { font-size: 16px; }
  .result-hero .big-days { font-size: 44px; }
}

/* Claim: amount field with a label and unit inside */
.amount-box {
  flex: 1 1 260px; display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 14px; border-radius: 12px;
  border: 2px solid var(--line); background: var(--panel); font-size: 13px; font-weight: 700; color: var(--ink-3);
}
.amount-box:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.amount-box input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; font: 800 18px var(--font); color: var(--ink); outline: none; }
