:root {
  --sea: #0e7490; --sea-deep: #083344; --sand: #fff8e7; --card: #ffffff; --ink: #1f2933; --muted: #5b6770;
  --red: #e03131; --gold: #f59f00; --gold-soft: #ffe8a3; --green: #2f9e44; --green-soft: #d3f9d8; --red-soft: #ffe3e3;
  --line: #e3e8ec; --radius: 18px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  font-family: ui-rounded, "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color: var(--ink); background: linear-gradient(180deg, var(--sea) 0%, var(--sea-deep) 100%) fixed;
  font-size: 17px; line-height: 1.4;
}
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
#app { max-width: 560px; margin: 0 auto; min-height: 100%; padding: 12px 14px calc(28px + env(safe-area-inset-bottom)); }

/* bar atas */
.top { display: flex; align-items: center; gap: 8px; color: #fff; padding: 4px 2px 12px; }
.top .sp { flex: 1; }
.pill { background: rgba(255,255,255,.16); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 15px; color: #fff; white-space: nowrap; }
.pill.gold { background: var(--gold); color: #3b2500; }
.iconbtn { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 19px; display: grid; place-items: center; }

/* tombol */
.btn { display: block; width: 100%; padding: 15px 18px; border-radius: 16px; font-weight: 800; font-size: 18px; text-align: center;
  background: var(--gold); color: #3b2500; box-shadow: 0 4px 0 #c47f00; transition: transform .06s; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #c47f00; }
.btn.green { background: var(--green); color: #fff; box-shadow: 0 4px 0 #1f7030; }
.btn.ghost { background: #fff; color: var(--sea); box-shadow: 0 4px 0 #cfd8dd; }
.btn.plain { background: transparent; color: var(--muted); box-shadow: none; font-weight: 700; font-size: 16px; padding: 10px; }
.btn + .btn { margin-top: 12px; }

/* beranda */
.hero { text-align: center; color: #fff; padding: 18px 6px 8px; }
.hero img { width: 104px; height: 104px; border-radius: 26px; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.hero h1 { font-size: 30px; line-height: 1.1; margin: 14px 0 6px; letter-spacing: -.3px; }
.hero p { margin: 0; opacity: .9; }
.card { background: var(--card); border-radius: var(--radius); padding: 18px; margin-top: 16px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.card h2 { font-size: 18px; margin: 0 0 10px; }
.levels { display: grid; gap: 8px; }
.level { display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; border: 2px solid var(--line); border-radius: 14px; background: #fff; }
.level b { display: block; }
.level small { color: var(--muted); }
.level .em { font-size: 26px; }
.level[aria-pressed="true"] { border-color: var(--sea); background: #e6f6fa; }
.prog { height: 12px; background: var(--line); border-radius: 99px; overflow: hidden; }
.prog i { display: block; height: 100%; background: var(--green); border-radius: 99px; transition: width .3s; }
.muted { color: var(--muted); font-size: 15px; }
.center { text-align: center; }

/* peta */
.island { color: #fff; font-weight: 800; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; opacity: .85; margin: 22px 4px 8px; display: flex; align-items: center; gap: 10px; }
.island::after { content: ""; flex: 1; height: 2px; background: rgba(255,255,255,.25); border-radius: 2px; }
.route { display: grid; gap: 10px; }
.node { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: var(--card); border-radius: 16px; padding: 10px 12px; box-shadow: 0 3px 10px rgba(0,0,0,.15); position: relative; }
.node .no { width: 26px; text-align: center; font-weight: 800; color: var(--muted); font-size: 14px; }
.node .emb { width: 52px; height: 52px; flex: none; display: grid; place-items: center; }
.node .emb img { max-width: 52px; max-height: 52px; object-fit: contain; }
.node .nm { flex: 1; min-width: 0; }
.node .nm b { display: block; font-size: 17px; }
.node .nm small { color: var(--muted); }
.node .st { font-weight: 800; font-size: 14px; color: #8a5a00; background: var(--gold-soft); padding: 4px 9px; border-radius: 99px; white-space: nowrap; }
.node.done .st { background: var(--green-soft); color: #1f7030; }
.node.now { outline: 3px solid var(--gold); animation: pulse 1.6s infinite; }
.node.locked { background: rgba(255,255,255,.72); }
.node.locked .emb img { filter: grayscale(1); opacity: .55; }
.node.locked .st { background: #e9edf0; color: var(--muted); }
.node.prem .st { background: #3b2500; color: var(--gold-soft); }
@keyframes pulse { 50% { outline-color: rgba(245,159,0,.35); } }

/* halaman provinsi */
.phead { text-align: center; }
.phead .big { height: 150px; display: grid; place-items: center; }
.phead .big img { max-height: 150px; max-width: 70%; object-fit: contain; }
.phead h1 { margin: 10px 0 2px; font-size: 26px; }
.stages { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.stage { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 14px 10px; text-align: center; }
.stage .em { font-size: 30px; display: block; }
.stage b { display: block; margin: 4px 0 2px; font-size: 16px; }
.stage .stars { font-size: 17px; letter-spacing: 1px; color: #cfd6db; }
.stage .stars .on { color: var(--gold); }
.stage.ok { border-color: var(--green); background: #f3fcf4; }

/* kuis */
.qbar { display: flex; align-items: center; gap: 10px; color: #fff; padding: 4px 0 12px; }
.qbar .prog { flex: 1; background: rgba(255,255,255,.25); }
.qbar .prog i { background: var(--gold); }
.timer { height: 6px; background: rgba(255,255,255,.25); border-radius: 9px; overflow: hidden; margin: -4px 0 10px; }
.timer i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: left; }
.qcard { background: var(--card); border-radius: var(--radius); padding: 18px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.qtag { font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--sea); }
.qtext { font-size: 21px; font-weight: 800; margin: 6px 0 14px; line-height: 1.25; }
.qimg { height: 190px; display: grid; place-items: center; margin-bottom: 14px; background: #f5f7f8; border-radius: 14px; padding: 10px; }
.qimg img { max-height: 168px; max-width: 100%; object-fit: contain; }
.qimg.kecil { height: 150px; }
.qimg.kecil img { max-height: 128px; }

/* lambang dengan penutup nama daerah */
.lamb { position: relative; display: inline-block; line-height: 0; overflow: hidden; border-radius: 6px; max-width: 100%; }
.tutup { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(45deg, #f59f00 0 10px, #ffd43b 10px 20px); transition: transform .55s ease; display: grid; place-items: center; }
.tutup::after { content: "?"; font-weight: 800; font-size: 18px; line-height: 1; color: #7a4a00; }
.tutup.atas { top: 0; border-bottom: 2px solid #b87900; }
.tutup.bawah { bottom: 0; border-top: 2px solid #b87900; }
.lamb.buka .atas { transform: translateY(-102%); }
.lamb.buka .bawah { transform: translateY(102%); }
.opts.imgs .tutup::after { font-size: 13px; }

/* peta */
#app.wide { max-width: 1100px; }
#app.wide #info, #app.wide > .card { max-width: 532px; margin-left: auto; margin-right: auto; }
.maphead { color: #fff; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 0 4px 8px; }
.maphead b { font-size: 20px; }
.maphead span { font-size: 14px; opacity: .9; text-align: right; }
.mapwrap { overflow-x: auto; overflow-y: hidden; border-radius: 18px; height: min(54vh, 440px); background: #8fd3e8; box-shadow: 0 6px 18px rgba(0,0,0,.2); -webkit-overflow-scrolling: touch; }
.mapwrap.jalan { overflow-x: hidden; }
.peta { display: block; height: 100%; width: auto; min-width: 100%; aspect-ratio: 1612 / 605; user-select: none; }
.qmap .peta { width: 100%; height: auto; min-width: 0; aspect-ratio: auto; border-radius: 14px; max-height: 46vh; }
.qmap { margin-bottom: 6px; }
.laut { fill: #8fd3e8; }
.darat path { fill: #a9d98a; stroke: #4f9148; stroke-width: 1.1; stroke-linejoin: round; fill-rule: evenodd; }
.pulau { font: 800 15px ui-rounded, system-ui, sans-serif; fill: #fff; opacity: .8; letter-spacing: 3px; text-anchor: middle; pointer-events: none; }
.pin { cursor: pointer; outline: none; }
.pin .hit { fill: transparent; }
.pin .dot { fill: #fff; stroke: #33515c; stroke-width: 2.5; transition: r .15s; }
.pin .ic { font: 800 12px system-ui, sans-serif; text-anchor: middle; pointer-events: none; fill: #fff; }
.pin .nm { font: 800 14px ui-rounded, system-ui, sans-serif; text-anchor: middle; fill: #083344; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.pin.free .dot { fill: #ffd43b; stroke: #b87900; animation: kedip 1.6s infinite; }
.pin.vis .dot { fill: #f59f00; stroke: #8a5a00; }
.pin.done .dot { fill: #2f9e44; stroke: #1f7030; }
.pin.at .dot { fill: #e03131; stroke: #fff; stroke-width: 3.5; }
.pin.prem .dot { fill: #d5dde1; stroke: #7f8c93; }
.pin.prem .ic { font-size: 11px; }
.pin.sel .dot { stroke: #083344; stroke-width: 5; }
.pin:focus-visible .dot { stroke: #083344; stroke-width: 5; }
.pin.ask .dot { fill: #fff; stroke: #0e7490; stroke-width: 3; }
.pin.ask .ic { fill: #0e7490; font-size: 15px; }
.pin.right .dot { fill: #2f9e44; stroke: #1f7030; }
.pin.wrong .dot { fill: #e03131; stroke: #a61e1e; }
@keyframes kedip { 50% { stroke-width: 7; stroke-opacity: .45; } }
.saya { font-size: 26px; text-anchor: middle; pointer-events: none; }
.rute { fill: none; stroke: #fff; stroke-width: 4; stroke-dasharray: 10 9; stroke-linecap: round; }
.veh { font-size: 38px; text-anchor: middle; pointer-events: none; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; color: #fff; font-size: 13px; padding: 8px 4px 0; opacity: .92; }
.legend .d { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 5px; border: 2px solid #fff; vertical-align: -1px; }
.legend .d.free { background: #ffd43b; } .legend .d.open { background: #fff; border-color: #33515c; } .legend .d.done { background: #2f9e44; } .legend .d.prem { background: #aab5ba; }
.infocard { display: flex; gap: 14px; align-items: center; }
.infocard .emb { width: 84px; height: 84px; flex: none; display: grid; place-items: center; }
.infocard .emb img { max-width: 84px; max-height: 84px; object-fit: contain; }
.infobody { flex: 1; min-width: 0; }
.infobody h2 { margin: 0 0 4px; font-size: 21px; }
.infobody p { margin: 0 0 10px; }

/* pengaturan */
.sethead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sethead h2 { margin: 0; }
.iconbtn.gelap { background: #e9e2cf; color: var(--ink); }
.iconbtn.masuk { background: var(--gold); color: #3b2500; font-weight: 800; font-size: 17px; }
.avatar { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 21px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #f59f00, #e03131); box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.setakun { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #0e7490, #083344); box-shadow: 0 4px 0 #052430; }
.setakun:active { transform: translateY(3px); box-shadow: 0 1px 0 #052430; }
.setakun .tx { flex: 1; min-width: 0; }
.setakun b { display: block; font-size: 18px; }
.setakun small { opacity: .85; font-size: 13px; }
.setakun .panah { font-size: 28px; opacity: .7; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg .level { flex-direction: column; gap: 2px; text-align: center; padding: 12px 6px; box-shadow: 0 3px 0 var(--line); }
.seg .level .em { font-size: 30px; }
.seg .level small { font-size: 12px; }
.seg .level[aria-pressed="true"] { border-color: var(--sea); background: #e6f6fa; box-shadow: 0 3px 0 #9ccfdc; }
.saklar { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 12px 14px; margin-top: 8px; }
.saklar .em { font-size: 26px; }
.saklar .tx { flex: 1; }
.saklar b { display: block; }
.saklar small { color: var(--muted); font-size: 13px; }
.tuas { width: 52px; height: 30px; border-radius: 99px; background: #cfd6db; position: relative; transition: background .2s; flex: none; }
.tuas i { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s; }
.saklar[aria-checked="true"] .tuas { background: var(--green); }
.saklar[aria-checked="true"] .tuas i { transform: translateX(22px); }
.ubin { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.u { border-radius: 18px; padding: 14px 12px; text-align: left; color: #fff; box-shadow: 0 4px 0 rgba(0,0,0,.25); min-height: 96px; }
.u:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,.25); }
.u span { font-size: 28px; display: block; line-height: 1.1; }
.u b { display: block; font-size: 17px; margin-top: 4px; }
.u small { font-size: 12.5px; opacity: .92; }
.u.emas { background: linear-gradient(135deg, #f7b731, #e08600); color: #3b2500; }
.u.biru { background: linear-gradient(135deg, #2aa7c4, #0e7490); }
.u.hijau { background: linear-gradient(135deg, #51b866, #2f8a43); }
.u.merah { background: linear-gradient(135deg, #f06a6a, #c92a2a); }

/* akun */
.akunhead { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.akunhead h2 { margin: 0; }
.tabs2 { display: grid; grid-template-columns: 1fr 1fr; background: #e9e2cf; border-radius: 14px; padding: 4px; margin: 10px 0 14px; }
.tabs2 button { padding: 10px; border-radius: 11px; font-weight: 800; color: var(--muted); }
.tabs2 button[aria-pressed="true"] { background: #fff; color: var(--sea); box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.lbl { display: block; font-weight: 800; font-size: 14px; margin-top: 8px; }
.err { color: #c92a2a; min-height: 1.3em; font-weight: 700; }
.kredit { padding-left: 18px; margin: 4px 0; font-size: 14px; }
.kredit li { margin: 4px 0; line-height: 1.3; }
.kredit small { display: block; color: var(--muted); font-size: 12px; }
.kredit a { color: var(--sea); }

/* pembayaran QRIS */
.qrisgrid { display: grid; gap: 10px; }
.qrisbox { background: #fff; border-radius: 16px; padding: 10px; text-align: center; border: 2px solid var(--line); }
.qrkode { width: min(190px, 26vh, 60vw); margin: 0 auto 2px; }
.qrkode svg { width: 100%; height: auto; display: block; }
.nominal { font-size: 26px; font-weight: 800; color: var(--red); letter-spacing: .5px; line-height: 1.15; }
.kodepesan { font-size: 13px; color: var(--muted); }
.qrisinfo .note { margin: 0 0 6px; }
.langkah { padding-left: 20px; margin: 4px 0; font-size: 15px; }
.langkah li { margin: 2px 0; }
.kecil { font-size: 13px; margin: 4px 0; }
.duatombol { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; margin-top: 6px; }
.duatombol .btn { margin-top: 0; padding: 12px 10px; font-size: 16px; }
.duatombol .btn:only-child { grid-column: 1 / -1; }
a.btn { text-decoration: none; }

.setgrid { display: grid; gap: 0 18px; }

/* perjalanan */
.tiket { flex: 1; text-align: center; font-size: 24px; letter-spacing: 4px; }
.tiket span { opacity: .3; filter: grayscale(1); transition: opacity .3s; }
.tiket span.on { opacity: 1; filter: none; }
.kendaraan { display: grid; gap: 10px; margin: 12px 0; }
.kend { display: flex; align-items: center; gap: 12px; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 12px 14px; box-shadow: 0 3px 0 var(--line); }
.kend:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--line); }
.kend .em { font-size: 34px; }
.kend span:nth-child(2) { flex: 1; }
.kend b { display: block; }
.kend small { display: block; color: var(--muted); font-size: 13px; }
.ongkos { text-align: right; font-size: 17px; white-space: nowrap; }
.musik { display: inline-block; background: #e6f6fa; color: var(--sea); border-radius: 99px; padding: 5px 12px; font-size: 14px; font-weight: 700; margin-top: 6px; }
.tiba { height: 130px; display: grid; place-items: center; }
.tiba img { max-height: 130px; max-width: 60%; object-fit: contain; }
.opts { display: grid; gap: 10px; }
.opt { text-align: left; padding: 14px 16px; border-radius: 14px; border: 2px solid var(--line); background: #fff; font-weight: 700; font-size: 17px; box-shadow: 0 3px 0 var(--line); min-height: 54px; }
.opt:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--line); }
.opts.imgs { grid-template-columns: 1fr 1fr; }
.opts.imgs .opt { height: 130px; display: grid; place-items: center; padding: 10px; }
.opts.imgs img { max-height: 106px; max-width: 100%; object-fit: contain; }
.opt.right { border-color: var(--green); background: var(--green-soft); box-shadow: 0 3px 0 #9fdcaa; }
.opt.wrong { border-color: var(--red); background: var(--red-soft); box-shadow: 0 3px 0 #f5b5b5; }
.opt:disabled { cursor: default; color: inherit; }
.feed { margin-top: 14px; border-radius: 14px; padding: 14px; }
.feed.ok { background: var(--green-soft); }
.feed.no { background: var(--red-soft); }
.feed b { font-size: 18px; }
.feed p { margin: 4px 0 12px; }

/* cocokkan */
.match { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.match .col { display: grid; gap: 10px; align-content: start; }
.tile { padding: 10px; border-radius: 12px; border: 2px solid var(--line); background: #fff; font-weight: 700; font-size: 15px; min-height: 76px; text-align: center; line-height: 1.25; box-shadow: 0 3px 0 var(--line); }
.tile.el { background: #eef9fc; border-color: #bfe3ec; box-shadow: 0 3px 0 #bfe3ec; }
.tile.sel { border-color: var(--gold); background: var(--gold-soft); box-shadow: 0 3px 0 #e2b84a; }
.tile.done { border-color: var(--green); background: var(--green-soft); box-shadow: none; opacity: .8; }
.tile.bad { border-color: var(--red); background: var(--red-soft); animation: shake .3s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* hasil */
.result { text-align: center; }
.result .bigstars { font-size: 54px; letter-spacing: 6px; color: #d7dde1; margin: 6px 0; }
.result .bigstars .on { color: var(--gold); animation: pop .5s backwards; }
.result .bigstars .on:nth-child(2) { animation-delay: .2s; } .result .bigstars .on:nth-child(3) { animation-delay: .4s; }
@keyframes pop { from { transform: scale(0); } 70% { transform: scale(1.3); } }
.result h1 { margin: 4px 0; font-size: 26px; }
.stamp { display: inline-block; border: 3px dashed var(--red); color: var(--red); border-radius: 14px; padding: 10px 16px; font-weight: 800; transform: rotate(-4deg); margin: 12px 0 4px; animation: pop .5s .5s backwards; }

/* modal */
.modal { position: fixed; inset: 0; background: rgba(4,26,36,.72); display: grid; place-items: end center; z-index: 10; padding: 0; }
.modal[hidden] { display: none; }
.sheet { background: var(--sand); width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; border-radius: 22px 22px 0 0; padding: 20px 18px calc(22px + env(safe-area-inset-bottom)); animation: up .22s; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet h2 { margin: 0 0 6px; font-size: 22px; }
.sheet h3 { margin: 16px 0 6px; font-size: 16px; color: var(--sea); }
.sheet ul { margin: 0; padding-left: 20px; }
.sheet li { margin: 4px 0; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.plan { background: #fff; border-radius: 16px; padding: 14px 12px; border: 2px solid var(--line); }
.plan.best { border-color: var(--gold); background: #fffaf0; }
.plan h3 { margin: 0; color: var(--ink); font-size: 17px; }
.plan .price { font-size: 22px; font-weight: 800; margin: 2px 0 8px; }
.plan ul { padding-left: 0; list-style: none; font-size: 14px; }
.plan li::before { content: "✓ "; color: var(--green); font-weight: 800; }
.plan li.x { color: var(--muted); } .plan li.x::before { content: "– "; color: var(--muted); }
.note { background: #fff3bf; border-radius: 12px; padding: 10px 12px; font-size: 14px; margin: 10px 0; }
.field { width: 100%; padding: 13px 14px; border-radius: 12px; border: 2px solid var(--line); font: inherit; margin: 8px 0; background: #fff; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 15px; }
.kv span { color: var(--muted); }
.learn-list { columns: 2; column-gap: 14px; font-size: 14px; padding: 0; list-style: none; }
.learn-list li { break-inside: avoid; margin: 0 0 6px; }
.learn-list small { color: var(--muted); display: block; }
.cert { background: #fff; border: 6px double var(--gold); border-radius: 12px; padding: 22px 16px; text-align: center; }
.cert h1 { font-size: 22px; margin: 6px 0; }
.cert .who { font-size: 26px; font-weight: 800; color: var(--red); margin: 10px 0; }
/* pop-up menyesuaikan layar (harus di akhir berkas agar menimpa aturan dasar di atas):
   dua kolom di layar besar, padat di HP, supaya isinya terlihat tanpa digulir */
@media (min-width: 720px) {
  .modal { place-items: center; padding: 16px; }
  .sheet { border-radius: 22px; max-height: calc(100vh - 32px); }
  .sheet.lebar { max-width: 800px; }
  .qrisgrid { grid-template-columns: 290px 1fr; align-items: start; gap: 16px; }
  .qrkode { width: 230px; }
  .setgrid { grid-template-columns: 1fr 1fr; }
  .setgrid .ubin { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 719px) {
  .sheet { padding: 16px 14px calc(16px + env(safe-area-inset-bottom)); max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); }
  .plans { margin: 10px 0; gap: 8px; }
  .plan { padding: 10px; }
  .plan .price { margin: 0 0 4px; }
  .plan li { margin: 2px 0; }
  .sheet h3 { margin: 12px 0 4px; }
  .sethead { margin-bottom: 6px; }
  .setakun { padding: 10px 12px; }
  .setakun .avatar { width: 38px; height: 38px; font-size: 18px; }
  .seg .level { padding: 8px 4px; }
  .seg .level .em { font-size: 24px; }
  .saklar { padding: 8px 12px; margin-top: 6px; }
  .saklar .em { font-size: 22px; }
  .ubin { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .u { min-height: 0; padding: 10px 4px; text-align: center; border-radius: 14px; }
  .u span { font-size: 24px; }
  .u b { font-size: 13px; margin-top: 2px; }
  .u small { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
