/* Dam Builder styles. Same big, round, friendly look as Wildfire. */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #7fc1e0; font-family: -apple-system, "Avenir Next", "Trebuchet MS", "Segoe UI", Roboto, sans-serif; color: #1f2a1f; }
#app { position: fixed; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; }
#view { position: absolute; left: 0; top: 0; touch-action: none; display: block; }
.hidden { display: none !important; }
svg { display: block; }
.small { font-size: 14px; font-weight: 600; color: #4a5a4a; text-align: center; }

.btn { border: 0; font: inherit; font-weight: 800; cursor: pointer; color: #1f2a1f; box-shadow: 0 3px 0 rgba(0,0,0,0.22), 0 4px 10px rgba(0,0,0,0.15); outline: none; }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,0.22); }
.btn.round { width: 52px; height: 52px; border-radius: 26px; padding: 0; display: flex; align-items: center; justify-content: center; font-size: 18px; flex: none; }
.btn.round svg { width: 30px; height: 30px; }
.btn.pill { border-radius: 30px; padding: 12px 22px; font-size: 18px; min-height: 52px; }
.btn.big { font-size: 22px; padding: 14px 30px; min-height: 60px; }
.red { background: #ff5a4e; color: #fff; } .green { background: #4cc35a; color: #fff; } .blue { background: #3d9bff; color: #fff; }
.orange { background: #ff9a1f; color: #fff; } .white { background: #fff; } .yellow { background: #ffd23f; }

/* ---- HUD ---- */
#hud { position: absolute; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none; }
#hud > * { pointer-events: auto; }
#topbar { position: absolute; left: 0; right: 0; top: 0; padding: 8px; padding-top: calc(8px + env(safe-area-inset-top)); padding-left: calc(8px + env(safe-area-inset-left)); padding-right: calc(8px + env(safe-area-inset-right));
  display: flex; flex-wrap: wrap; align-items: center; pointer-events: none !important; }
#topbar > * { pointer-events: auto; margin: 3px 4px; }
.chip { background: rgba(255,255,255,0.93); border-radius: 22px; height: 44px; padding: 0 14px; display: flex; align-items: center; font-weight: 800; font-size: 17px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); white-space: nowrap; }
.chip svg { width: 24px; height: 24px; flex: none; margin-right: 6px; }
#money.over { color: #d23b2f; } #money { color: #1b7a2b; }
#scoreChip { color: #1d5fb0; }
#btnMute { margin-left: auto; }
#btnMuteT { position: absolute; right: calc(12px + env(safe-area-inset-right)); top: calc(12px + env(safe-area-inset-top)); }
#toast { position: absolute; left: 50%; top: calc(70px + env(safe-area-inset-top)); transform: translateX(-50%); background: rgba(30,30,30,0.86); color: #fff; padding: 10px 18px; border-radius: 18px; font-weight: 700; font-size: 17px; max-width: 92%; text-align: center; pointer-events: none !important; z-index: 5; }
#toast.warn { background: rgba(230,120,0,0.95); } #toast.danger { background: rgba(210,40,30,0.95); }
#banner { position: absolute; left: 50%; top: calc(118px + env(safe-area-inset-top)); transform: translateX(-50%); width: 520px; max-width: 94%; background: #fff1ef; border: 4px solid #ff5a4e; border-radius: 22px; padding: 10px 16px; display: flex; flex-direction: column; text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,0.25); pointer-events: none !important; }
#banner b { font-size: 22px; color: #c62828; } #banner span { font-size: 16px; font-weight: 700; line-height: 1.3; }
#tip { position: absolute; left: 50%; top: calc(66px + env(safe-area-inset-top)); transform: translateX(-50%); width: 440px; max-width: 94%; background: #fffbe6; border: 4px solid #ffb627; border-radius: 22px; padding: 12px 16px; font-size: 17px; font-weight: 700; line-height: 1.35; box-shadow: 0 8px 24px rgba(0,0,0,0.25); display: flex; flex-direction: column; z-index: 6; }
#tip .btn { align-self: flex-end; margin-top: 6px; min-height: 44px; padding: 8px 20px; }

/* bottom sheets (site pick and build) */
.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 26px 26px 0 0; box-shadow: 0 -6px 24px rgba(0,0,0,0.2); display: flex; flex-direction: column; max-height: 46%;
  padding: 10px 12px; padding-left: calc(12px + env(safe-area-inset-left)); padding-right: calc(12px + env(safe-area-inset-right)); padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
#sitePanel { max-height: 50%; }
.shead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; flex: none; }
.shead > b { font-size: 21px; margin-right: 10px; }
.sfoot { display: flex; justify-content: space-between; align-items: center; flex: none; padding-top: 8px; }
.sfoot .btn.big { margin-left: auto; }
#siteList { overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1 1 auto; margin-top: 6px; }
.site { display: flex; align-items: center; border: 4px solid #eee; border-radius: 18px; padding: 8px 12px; margin: 6px 0; background: #fafafa; }
.site.on { border-color: #ff9a1f; background: #fff6e6; }
.site .num { width: 36px; height: 36px; border-radius: 18px; background: #ffd23f; font-weight: 900; font-size: 19px; display: flex; align-items: center; justify-content: center; flex: none; margin-right: 10px; }
.site b { font-size: 18px; } .site .note { font-size: 14px; font-weight: 600; color: #4a5a4a; } .site .facts { font-size: 13px; font-weight: 700; color: #1d5fb0; margin-top: 2px; }

#budgetBox { flex: 1 1 220px; margin-right: 10px; }
#budgetTxt { font-weight: 900; font-size: 18px; color: #1b7a2b; }
#budgetTxt.over { color: #d23b2f; }
#budgetBar { height: 10px; border-radius: 5px; background: #e6eee6; overflow: hidden; margin-top: 3px; position: relative; }
#budgetBar i { position: absolute; left: 0; top: 0; bottom: 0; background: #4cc35a; border-radius: 5px; }
#budgetBar.over i { background: #ff5a4e; }
#risks { display: flex; flex-wrap: wrap; }
.risk { display: flex; align-items: center; font-size: 13px; font-weight: 800; background: #f3f5f3; border-radius: 14px; padding: 4px 9px 4px 5px; margin: 2px; }
.risk i { width: 16px; height: 16px; border-radius: 8px; margin-right: 5px; flex: none; }
.lv0 i { background: #4cc35a; } .lv1 i { background: #ffc21a; } .lv2 i { background: #ff5a4e; }
#tabs { display: flex; overflow-x: auto; flex: none; margin: 8px 0 4px; -webkit-overflow-scrolling: touch; }
#tabs::-webkit-scrollbar { display: none; }
#tabs button { flex: none; border: 0; background: #eef3ee; border-radius: 16px; font: inherit; font-weight: 800; font-size: 16px; padding: 8px 14px; margin-right: 6px; color: #2c4a2c; min-height: 42px; }
#tabs button.on { background: #3d9bff; color: #fff; }
#tabBody { overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1 1 auto; min-height: 90px; }
.olbl { font-size: 15px; font-weight: 900; color: #24412a; margin: 8px 2px 2px; }
.opts { display: flex; flex-wrap: wrap; }
.opt { flex: 1 1 140px; border: 3px solid #e4e8e4; border-radius: 16px; background: #fff; font: inherit; padding: 7px 8px; margin: 3px; text-align: left; color: #1f2a1f; display: flex; flex-direction: column; min-height: 54px; }
.opt.on { border-color: #ff9a1f; background: #fff6e6; }
.opt b { font-size: 15px; } .opt small { font-size: 12px; font-weight: 600; color: #4a5a4a; line-height: 1.2; } .opt .c { font-size: 12px; font-weight: 800; color: #1b7a2b; }
.opt.tight { flex: 1 1 64px; align-items: center; text-align: center; }
.why { font-size: 13px; font-weight: 600; color: #4a5a4a; background: #f4f8ff; border-radius: 12px; padding: 6px 10px; margin: 6px 3px; line-height: 1.3; }
.chk { display: flex; align-items: flex-start; background: #f6f8f6; border-radius: 14px; padding: 8px 10px; margin: 5px 2px; }
.chk i { width: 22px; height: 22px; border-radius: 11px; flex: none; margin: 2px 10px 0 0; }
.chk b { font-size: 16px; } .chk div { font-size: 14px; font-weight: 600; color: #3a4a3a; line-height: 1.3; }
.chk .num { font-size: 13px; color: #1d5fb0; font-weight: 800; }

/* running */
#gauge { position: absolute; right: calc(10px + env(safe-area-inset-right)); top: calc(76px + env(safe-area-inset-top)); width: 112px; background: rgba(255,255,255,0.94); border-radius: 18px; padding: 8px; box-shadow: 0 3px 12px rgba(0,0,0,0.18); }
.gtitle { font-weight: 900; font-size: 16px; text-align: center; }
#gBar { position: relative; height: 150px; margin: 4px 34px 4px 6px; border-radius: 10px; background: linear-gradient(#e9f4fb, #d6e9f4); overflow: visible; border: 2px solid #b9d2e2; }
#gWater { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(#5db7f5, #2f8fd8); border-radius: 0 0 8px 8px; }
.gline { position: absolute; left: -4px; right: -4px; height: 0; border-top: 3px solid #555; }
.gline span { position: absolute; left: 100%; top: -9px; font-size: 11px; font-weight: 800; white-space: nowrap; margin-left: 2px; color: #333; transform-origin: left; }
.gline.crest { border-color: #8d5a2b; } .gline.lip { border-color: #1b7a2b; border-top-style: dashed; }
.gline.crest span { top: -14px; } .gline.lip span { top: 0px; }
.gflow { display: flex; flex-direction: column; font-size: 13px; font-weight: 800; }
.gin { color: #1d5fb0; } .gout { color: #1b7a2b; }
.gnum { font-size: 11px; font-weight: 700; color: #555; line-height: 1.25; }
#runBar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; padding: 8px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); pointer-events: none !important; }
#runBar > * { pointer-events: auto; }
#forecast { margin-bottom: 8px; background: #fff3d6; color: #8a4b00; height: auto; min-height: 44px; white-space: normal; text-align: center; max-width: 94%; padding: 6px 14px; }
#btnSkip { margin-bottom: 8px; min-height: 44px; padding: 8px 20px; font-size: 16px; }
#forecast.calm { background: #e6f4ea; color: #1e5b2c; }
#forecast.now { background: #3d4f63; color: #fff; }
#runCtl { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; }
.ctlbox { background: rgba(255,255,255,0.95); border-radius: 26px; padding: 6px 8px 6px 14px; display: flex; align-items: center; box-shadow: 0 3px 12px rgba(0,0,0,0.2); margin: 4px; }
#btnNext { margin: 4px; min-height: 50px; padding: 8px 20px; font-size: 18px; }
#btnNext.dim { opacity: 0.45; }
#season { position: relative; width: 640px; max-width: 96%; height: 30px; margin-bottom: 6px; background: rgba(255,255,255,0.92); border-radius: 14px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); overflow: hidden; }
#season .months { display: flex; height: 100%; }
#season .sm { flex: 1 1 0; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; color: #345; border-right: 1px solid rgba(0,0,0,0.06); }
#season .sspring { background: #e3f6d6; } #season .ssummer { background: #fff3c4; } #season .sfall { background: #fde2c8; } #season .swinter { background: #e2eefa; }
#season .now { position: absolute; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: #ff5a4e; border-radius: 2px; box-shadow: 0 0 0 2px rgba(255,255,255,0.8); }
#season .storms { position: absolute; left: 0; right: 0; top: 0; bottom: 0; pointer-events: none; }
#season .st { position: absolute; top: 3px; width: 12px; height: 12px; margin-left: -6px; border-radius: 6px; background: #3d4f63; border: 2px solid #fff; }
#season .st.big { width: 16px; height: 16px; margin-left: -8px; top: 1px; background: #1d3550; }
#season .st.past { opacity: 0.35; }
#slowmo { position: absolute; left: 50%; top: calc(64px + env(safe-area-inset-top)); transform: translateX(-50%); background: #3d4f63; color: #fff; font-weight: 900; font-size: 15px; padding: 6px 14px; border-radius: 14px; pointer-events: none !important; letter-spacing: 1px; }
#jumpOv { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(20,40,70,0.38); pointer-events: none !important; z-index: 4; transition: opacity 0.4s; }
#jumpOv.out { opacity: 0; }
#jumpOv b { font-size: 46px; font-weight: 900; color: #fff; text-shadow: 0 4px 14px rgba(0,0,0,0.4); }
#jumpOv span { font-size: 20px; font-weight: 800; color: #fff; margin-top: 6px; text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
/* build tools */
.presets .opt { flex: 1 1 110px; }
.hrow { display: flex; align-items: center; flex-wrap: wrap; margin: 4px 0; }
.hrow .olbl { margin: 0 8px 0 2px; }
.btn.round.sm { width: 40px; height: 40px; font-size: 24px; }
.hval { font-size: 16px; margin: 0 10px; min-width: 150px; text-align: center; }
.hnote { font-size: 12px; font-weight: 600; color: #667; flex: 1 1 100%; margin-left: 2px; }
.palette { display: flex; flex-wrap: wrap; }
.mat { flex: 1 1 140px; border: 3px solid #e4e8e4; border-radius: 16px; background: #fff; font: inherit; padding: 6px 8px 6px 46px; margin: 3px; text-align: left; position: relative; min-height: 58px; color: #1f2a1f; display: flex; flex-direction: column; }
.mat i { position: absolute; left: 8px; top: 10px; width: 30px; height: 30px; border-radius: 6px; border-bottom: 8px solid; }
.mat.on { border-color: #3d9bff; background: #eef6ff; }
.mat b { font-size: 15px; } .mat small { font-size: 11.5px; font-weight: 600; color: #4a5a4a; line-height: 1.2; } .mat .c { font-size: 11px; font-weight: 800; color: #1b7a2b; }
.tools { display: flex; flex-wrap: wrap; margin: 6px 0 2px; }
.tool { border: 0; background: #eef3ee; border-radius: 16px; font: inherit; font-weight: 800; font-size: 14px; padding: 6px 12px; margin: 3px; min-height: 44px; color: #2c4a2c; display: flex; align-items: center; }
.tool span { font-size: 18px; margin-right: 6px; }
.tool.on { background: #3d9bff; color: #fff; }
.tool:disabled { opacity: 0.4; }
.why.stat { background: #fff8e6; }
.lowspot { color: #2a8cff; }
.probs { margin: 4px 0; }
.prob { display: flex; align-items: center; font-size: 14px; font-weight: 700; background: #f6f8f6; border-radius: 12px; padding: 6px 10px; margin: 3px 2px; }
.prob i { width: 16px; height: 16px; border-radius: 8px; margin-right: 8px; flex: none; }
/* map picker difficulty */
.rate { display: flex; align-items: center; font-size: 13px; font-weight: 900; margin-top: 2px; }
.rate .dots { display: flex; margin-right: 6px; }
.rate .dots i { width: 12px; height: 12px; border-radius: 6px; background: #dde3dd; margin-right: 3px; }
.rate.r1 .dots i.on, .rate.r2 .dots i.on { background: #4cc35a; } .rate.r3 .dots i.on { background: #ffc21a; } .rate.r4 .dots i.on, .rate.r5 .dots i.on { background: #ff5a4e; }
.rate.r1, .rate.r2 { color: #1b7a2b; } .rate.r3 { color: #9a6a00; } .rate.r4, .rate.r5 { color: #c62828; }
.glbl { font-weight: 900; font-size: 17px; margin-right: 10px; }
.seg3 { display: flex; }
.seg3 button { border: 0; font: inherit; font-weight: 800; font-size: 17px; min-width: 84px; min-height: 50px; border-radius: 22px; background: #eef3ee; margin: 0 3px; color: #2c4a2c; }
.seg3 button.on { background: #3d9bff; color: #fff; }
.seg3.none button { opacity: 0.4; }

/* ---- title ---- */
.screen { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: linear-gradient(#bfe8ff, #a6dc7a); }
.tscroll { position: absolute; left: 0; right: 0; top: 0; bottom: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 16px; padding-top: calc(16px + env(safe-area-inset-top)); padding-bottom: calc(30px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; }
.tscroll > * { flex: none; }
.logo { display: flex; align-items: center; }
.logo svg { width: 76px; height: 76px; margin-right: 6px; }
.logo h1 { margin: 0; font-size: 54px; font-weight: 900; color: #1d6fb8; text-shadow: 0 3px 0 #fff, 0 6px 12px rgba(0,0,0,0.15); letter-spacing: 1px; }
.tag { margin: 4px 0 10px; font-size: 18px; font-weight: 700; text-align: center; color: #2c4a2c; }
h2 { font-size: 21px; margin: 16px 0 8px; color: #24412a; }
.seg { display: flex; flex-wrap: wrap; justify-content: center; max-width: 760px; width: 100%; }
.seg button { flex: 1 1 120px; min-height: 70px; border-radius: 20px; border: 4px solid transparent; background: #fff; font: inherit; padding: 8px 10px; margin: 5px; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 3px 0 rgba(0,0,0,0.15); color: #1f2a1f; }
.seg button b { font-size: 20px; }
.seg button small { font-size: 14px; font-weight: 600; color: #4a5a4a; text-align: center; }
.seg button.on { border-color: #ff9a1f; background: #fff6e6; }
#yearPick button { flex: 1 1 90px; }
#mapPick { display: flex; flex-wrap: wrap; justify-content: center; max-width: 780px; }
.mcard { width: 236px; max-width: 46vw; margin: 6px; border-radius: 22px; border: 4px solid transparent; background: #fff; box-shadow: 0 3px 0 rgba(0,0,0,0.15); padding: 8px 10px 10px; display: flex; flex-direction: column; align-items: center; font: inherit; color: #1f2a1f; }
.mcard.on { border-color: #ff9a1f; background: #fff6e6; }
.mcard canvas { width: 100%; height: auto; aspect-ratio: 2 / 1.25; }
.mcard b { font-size: 18px; margin-top: 4px; } .mcard small { font-size: 13px; font-weight: 600; color: #4a5a4a; text-align: center; }
.badge { font-size: 12px; font-weight: 900; border-radius: 10px; padding: 2px 10px; margin-top: 4px; color: #fff; background: #3d9bff; }
.badge.real { background: #8e5a2b; }
.mstory { max-width: 620px; font-size: 14px; font-weight: 600; color: #3a4a3a; text-align: center; background: rgba(255,255,255,0.7); border-radius: 14px; padding: 8px 12px; margin-top: 4px; line-height: 1.35; }
#btnPlay { margin-top: 18px; min-width: 200px; }
.foot { margin-top: 14px; font-size: 14px; font-weight: 700; color: #3a5a3a; }

/* ---- modals ---- */
.modal { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: rgba(20,40,60,0.45); display: flex; align-items: center; justify-content: center; padding: 12px; z-index: 10; }
.card { background: #fff; border-radius: 26px; padding: 18px; width: 420px; max-width: 100%; max-height: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; box-shadow: 0 10px 30px rgba(0,0,0,0.3); display: flex; flex-direction: column; }
.card > .btn { margin: 6px 0; }
.card.wide { width: 580px; }
.ctitle { font-size: 28px; font-weight: 900; text-align: center; color: #1d4f7a; margin-bottom: 6px; }
#rStars { display: flex; justify-content: center; margin: 2px 0 6px; }
#rStars svg { width: 46px; height: 46px; margin: 0 3px; }
#rCause { background: #fff1ef; border: 3px solid #ffb4ab; border-radius: 16px; padding: 10px 12px; margin: 4px 0 8px; font-size: 15px; font-weight: 600; line-height: 1.35; }
#rCause b { color: #c62828; font-size: 17px; }
.rrow { display: flex; align-items: center; padding: 6px 4px; border-bottom: 2px solid #f0f0f0; font-weight: 800; font-size: 16px; }
.rrow .rl { flex: 1 1 auto; } .rrow .rl small { display: block; font-size: 12px; font-weight: 600; color: #667; }
.rrow .rv { flex: none; font-size: 18px; min-width: 56px; text-align: right; }
.rrow .rv.neg { color: #d23b2f; }
.rrow.total { border: 0; font-size: 20px; } .rrow.total .rv { font-size: 24px; color: #1d5fb0; }
#keepBox { background: #eef6ff; border-radius: 18px; padding: 10px; margin-top: 10px; display: flex; flex-direction: column; align-items: center; }
.ptitle2 { font-size: 20px; font-weight: 900; color: #1d4f7a; }
.kbtns { display: flex; flex-wrap: wrap; justify-content: center; margin: 6px 0; }
.kbtns .btn { margin: 4px; }
.rbtns { display: flex; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.rbtns .btn { margin: 4px; }
.urow { display: flex; align-items: center; border-bottom: 2px solid #f0f0f0; padding: 8px 2px; }
.urow .ul { flex: 1 1 auto; font-weight: 800; font-size: 16px; } .urow .ul small { display: block; font-size: 13px; font-weight: 600; color: #556; }
.urow .btn { flex: none; min-height: 46px; padding: 8px 16px; font-size: 16px; margin-left: 8px; }
.urow.bought .ul { color: #1b7a2b; }

@media (max-width: 600px) {
  .chip { height: 38px; font-size: 15px; padding: 0 10px; }
  .btn.round { width: 44px; height: 44px; }
  #topbar > * { margin: 2px 2px; }
  .logo h1 { font-size: 34px; } .logo svg { width: 46px; height: 46px; }
  .mcard { width: calc(50% - 10px); max-width: none; margin: 5px; padding: 6px; border-radius: 18px; } .mcard b { font-size: 16px; } .mcard small { font-size: 11.5px; }
  #mapPick { width: 100%; }
  .logo { padding: 0 46px; }
  #slowmo { top: auto; bottom: calc(232px + env(safe-area-inset-bottom)); }
  .seg button { min-height: 60px; margin: 3px; } .seg button b { font-size: 18px; } .seg button small { font-size: 12px; }
  #yearPick button { flex: 1 1 52px; }
  .sheet { max-height: 54%; }
  #tabs { flex-wrap: wrap; overflow: visible; margin: 6px 0 2px; }
  #tabs button { font-size: 14px; padding: 6px 10px; min-height: 36px; margin: 2px 4px 2px 0; }
  .sfoot .btn.big { font-size: 19px; padding: 10px 18px; min-height: 52px; }
  .sfoot .btn.pill { font-size: 16px; padding: 10px 14px; }
  .shead > b { font-size: 18px; }
  #gauge { width: 96px; top: calc(112px + env(safe-area-inset-top)); padding: 6px; }
  #gBar { height: 110px; margin-right: 30px; }
  .gflow { font-size: 11px; }
  .seg3 button { min-width: 50px; min-height: 42px; font-size: 14px; margin: 0 2px; }
  .ctlbox { padding: 4px 4px 4px 10px; margin: 2px; }
  #btnNext { min-height: 44px; font-size: 15px; padding: 6px 12px; margin: 2px; }
  #season { height: 24px; margin-bottom: 4px; } #season .sm { font-size: 9px; }
  #jumpOv b { font-size: 32px; }
  .mat { flex: 1 1 46%; min-height: 50px; padding-left: 40px; } .mat i { width: 24px; height: 24px; left: 7px; } .mat small { display: none; }
  .tool { font-size: 13px; padding: 4px 9px; min-height: 40px; }
  .presets .opt small { display: none; }
  .hval { min-width: 110px; font-size: 14px; margin: 0 6px; }
  .glbl { font-size: 14px; margin-right: 6px; }

  .card { padding: 14px; } .ctitle { font-size: 24px; }
  .opt { flex: 1 1 120px; }
  #banner b { font-size: 18px; } #banner span { font-size: 14px; }
  #banner { top: calc(112px + env(safe-area-inset-top)); }
  #toast { top: calc(104px + env(safe-area-inset-top)); font-size: 15px; }
}
