/* Original Claude product screens and checkout, from the all-products prototype. */
/* страница игры */
.gh { display: flex; align-items: center; gap: 14px; margin: 4px 2px 16px; }
.gh-ic { width: 60px; height: 60px; border-radius: 15px; flex: none; }
.gh h1 { font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; margin: 0; }
.gh h1 em { font-style: normal; color: var(--muted); font-weight: 500; }
.gh p { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); margin: 3px 0 0; }
.gh p svg { width: 14px; height: 14px; }
.pk { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 8px 12px 8px 16px; background: var(--card); border-radius: var(--r); text-align: left; }
.pk-l { font-size: 13px; color: var(--muted); }
.pk-v { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: 15px; }
.pk-v b { font-weight: 600; }
.pk-v .flag { width: 20px; height: 20px; }
.pk .sp-chev { color: var(--dim); display: grid; transform: rotate(90deg); }
.pk .sp-chev svg { width: 15px; height: 15px; }

/* плитки пакетов */
.gx-tile { background: var(--card); border: 1.5px solid transparent; }
.gx-tile.sel { background: var(--card2); background-image: none; border-color: var(--acc); box-shadow: none; }
.gx-tile .badge { position: absolute; left: 10px; top: 8px; margin: 0; }

/* ключи */
.kg { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 10px; margin-top: 14px; }
.kc { display: grid; gap: 6px; text-align: left; align-content: start; }
.kc-img { position: relative; display: block; aspect-ratio: 16/9.2; border-radius: 12px; overflow: hidden; background: var(--card); }
.kc-img img { width: 100%; height: 100%; object-fit: cover; }
.kc b { font-size: 13.5px; font-weight: 500; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kc-p { display: flex; align-items: center; gap: 6px; }
.kc-p em { font-style: normal; font-size: 14px; font-weight: 700; }
.kc-p small { font-size: 11px; color: var(--warn); }
.sec-tabs { margin-top: 2px; }

/* оформление */
#sheet { max-height: 92vh; }
.sheet:has(.sh-cta) { padding-bottom: 0 !important; }
.sh-cta { position: sticky; bottom: 0; margin: 14px -18px 0; padding: 10px 18px calc(14px + var(--safe-b)); background: var(--sheet-bg, var(--bg2)); border-top: 1px solid var(--line); z-index: 3; }
.sh-head h3 { font-size: 18px; }
.sheet .field { margin-top: 16px; }
.f-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.f-top label { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 600; color: var(--text); }
.f-top .n { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--card2); font: 700 12px/1 var(--font); color: var(--text); font-style: normal; }
.f-q { font-size: 13px; font-weight: 500; color: var(--acc-text); min-height: 28px; }
.f-help { font-size: 13px; line-height: 1.4; color: var(--muted); background: var(--card); border-radius: 10px; padding: 9px 12px; margin: 0 0 8px; }
#amtBox input { font: 700 22px/1.2 var(--font); }
.input .cur { font-size: 18px; font-weight: 600; color: var(--muted); padding-right: 16px; }
.amts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 8px; }
.amt { min-height: 42px; border-radius: 11px; background: var(--card); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.amt.on { background: var(--text); color: var(--bg); }
.what { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 11px 14px; background: var(--card); border-radius: 13px; }
.what > svg { width: 18px; height: 18px; color: var(--acc-text); }
.what .flag { width: 20px; height: 20px; }
.what b { display: block; font-size: 14px; font-weight: 600; }
.what small { font-size: 12.5px; color: var(--muted); }
.summary { margin-top: 16px; }
.opts { margin-top: 10px; display: grid; gap: 8px; }
.opts .field { margin: 0; }
.howto { margin-top: 8px; }
.legal { margin-top: 12px; }
.sum-note { margin-top: 2px; }


/* пакеты: нажал — сразу оформление */
.gx-res { margin-top: 14px; }
.gh + .gx-res { margin-top: 0; }
.gx-tile:active { background: var(--card2); }
.seg + .pk { margin-top: 10px; }


/* способ оплаты прямо в оформлении */
.pms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 10px; }
.pm { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; border-radius: 12px; background: var(--card); font-size: 14px; font-weight: 600; color: var(--muted); border: 1.5px solid transparent; }
.pm svg { width: 17px; height: 17px; }
.pm.on { color: var(--text); border-color: var(--acc); background: var(--card2); }
.what + .howto { margin-top: 8px; }

.gx-tile .badge { position: static; align-self: flex-start; margin: 0 0 6px; }
.hs-t b em { display: block; margin: 0; font: inherit; color: #d4ff3a; }
.summary .row.total:first-child { border-top: 0; margin-top: 0; padding-top: 0; }

/* ключи без наличия: видно сразу, до нажатия */
.kc.out .kc-img img { filter: grayscale(1); opacity: .45; }
.kc.out b { color: var(--muted, #8a8f87); }
.kc-out { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; padding: 6px 12px; border-radius: 99px; background: rgba(20, 26, 16, .82); color: #fff; font: 700 12px var(--font); }
.kc-p small.kc-bell { display: inline-flex; align-items: center; gap: 4px; color: var(--muted, #8a8f87); font-size: 11.5px; }
.kc-p small.kc-bell svg { width: 13px; height: 13px; }
