/* PUSH Web — colors and sizes taken from the iPhone app */
:root {
  --orange: #FF7A00;
  --orange2: #ED5C00;
  --navy: #0B2A4A;
  --card: #151D2A;
  --bgtop: #0F1622;
  --bgbot: #070A0F;
  --w65: rgba(255,255,255,.65);
  --w45: rgba(255,255,255,.45);
  --w07: rgba(255,255,255,.07);
  --line: rgba(255,255,255,.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { background: var(--bgbot); color: #fff; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; }
#app { max-width: 560px; margin: 0 auto; }
button, a { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-decoration: none; text-align: inherit; }
input, textarea { font: inherit; color: #fff; background: none; border: 0; outline: none; width: 100%; }
input::placeholder, textarea::placeholder { color: rgba(255,255,255,.35); }
.ic { width: 1.25em; height: 1.25em; flex: none; }

/* backgrounds and layout */
.bg { background: linear-gradient(180deg, var(--bgtop), var(--bgbot)); min-height: 100vh; }
.pad { padding: 25px; }
.full { min-height: 100vh; display: flex; flex-direction: column; }
.scroll { padding-bottom: 120px; }
.stack { display: flex; flex-direction: column; gap: 18px; width: 100%; }
.stackL { display: flex; flex-direction: column; gap: 14px; }
.stackXL { display: flex; flex-direction: column; gap: 22px; }
.stack8 { display: flex; flex-direction: column; gap: 8px; }
.stack10 { display: flex; flex-direction: column; gap: 10px; }
.center { align-items: center; text-align: center; justify-content: center; }
.vcenter { margin: auto 0; }
.grow { flex: 1; }
.row2 { display: flex; gap: 12px; }

/* type */
.t26 { font-size: 26px; font-weight: 700; line-height: 1.2; }
.t28 { font-size: 28px; font-weight: 700; line-height: 1.2; }
.t29 { font-size: 29px; font-weight: 700; }
.t30 { font-size: 30px; font-weight: 700; line-height: 1.15; }
.t31 { font-size: 31px; font-weight: 700; line-height: 1.15; }
.t32 { font-size: 32px; font-weight: 700; line-height: 1.15; }
.muted { color: var(--w65); line-height: 1.4; }
.muted.big, .big { font-size: 17px; }
.strong { font-weight: 600; }
.small { font-size: 13px; }
.fine { font-size: 12px; color: var(--w45); line-height: 1.45; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.fine.center { justify-content: center; text-align: center; }
.orange { color: var(--orange) !important; }
.red { color: rgba(255,59,48,.85) !important; }
.dim { color: rgba(255,255,255,.4) !important; }
.label { display: block; font-size: 10px; font-weight: 700; color: var(--w45); letter-spacing: .02em; margin-bottom: 8px; }
.err { color: #ff453a; font-size: 13px; min-height: 0; }
.err:empty { display: none; }
hr { border: 0; border-top: 1px solid rgba(255,255,255,.1); }
.up { text-transform: uppercase; }

/* logos */
.wordmark { display: flex; align-items: center; gap: 8px; }
.wordmark .wm1 { height: 30px; }
.wordmark .wm2 { height: 22px; }
.pushbadge { width: 120px; height: 120px; object-fit: contain; }
.mini { width: 42px; height: 42px; object-fit: contain; }

/* fields and buttons */
.field { display: flex; flex-direction: column; gap: 7px; width: 100%; text-align: left; }
.field > span { font-size: 10px; font-weight: 700; color: var(--w45); }
.field > div { display: flex; align-items: center; gap: 10px; background: var(--w07); border-radius: 13px; padding: 14px; }
.field .ic { color: var(--orange); width: 18px; height: 18px; }
.primary { width: 100%; height: 54px; border-radius: 16px; background: var(--orange); color: #fff; font-size: 14px; font-weight: 900; text-align: center; letter-spacing: .02em; }
.primary:disabled { background: rgba(142,142,147,.25); color: rgba(255,255,255,.35); }
.outline { width: 100%; height: 54px; border-radius: 16px; border: 1.5px solid var(--orange); color: var(--orange); font-size: 14px; font-weight: 900; text-align: center; }
.danger { width: 100%; height: 54px; border-radius: 16px; background: #ff3b30; color: #fff; font-size: 14px; font-weight: 900; text-align: center; }
.danger:disabled { background: rgba(142,142,147,.3); }
.linkbtn { color: var(--orange); text-align: center; padding: 6px; font-size: 16px; }
.linkbtn.small { color: rgba(255,255,255,.5); font-size: 13px; font-weight: 500; }
.linkbtn.under { text-decoration: underline; color: var(--w45); font-size: 12px; font-weight: 600; }
.textbtn { color: rgba(255,255,255,.6); font-size: 16px; padding: 4px 0; }
.closebtn { align-self: flex-end; color: rgba(255,255,255,.6); }
.logout { color: rgba(255,59,48,.85); font-size: 13px; font-weight: 700; padding: 14px; width: 100%; text-align: center; }
.codeinput { text-align: center; letter-spacing: .2em; font-weight: 800; font-size: 20px; text-transform: uppercase; background: var(--w07); border-radius: 14px; padding: 16px; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgba(255,122,0,.25); border-top-color: var(--orange); animation: spin 1s linear infinite; margin-top: 18px; }
@keyframes spin { to { transform: rotate(360deg) } }

/* onboarding */
.ob { display: flex; flex-direction: column; min-height: 100vh; padding: 0 25px; }
.obdots { display: flex; gap: 6px; justify-content: center; padding-top: 15px; }
.obdots i { width: 24px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.15); transition: all .2s; }
.obdots i.on { background: var(--orange); }
.obdots i.cur { width: 34px; }
.obscroll { flex: 1; display: flex; flex-direction: column; gap: 18px; padding-top: 20px; }
.obfoot { padding: 20px 0 25px; }
.obhead { display: flex; flex-direction: column; gap: 8px; }
.obhead small { font-size: 12px; font-weight: 900; color: var(--orange); }
.obhead h1 { font-size: 30px; font-weight: 700; line-height: 1.15; }
.obhead p { font-size: 16px; color: var(--w65); line-height: 1.4; }
.choice { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid rgba(255,255,255,.06); width: 100%; }
.choice.sel { background: rgba(255,122,0,.12); border: 1.5px solid var(--orange); }
.ci { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,122,0,.12); color: var(--orange); display: flex; align-items: center; justify-content: center; flex: none; }
.ci .ic { width: 22px; height: 22px; }
.ct { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.ct b { font-size: 17px; font-weight: 600; }
.ct small { font-size: 13px; color: rgba(255,255,255,.6); }
.cc { width: 22px; height: 22px; color: rgba(255,255,255,.25); }
.choice.sel .cc, .selrow.sel .ic { color: var(--orange); }
.whybox { height: 150px; resize: none; background: var(--card); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 18px 16px; font-size: 18px; caret-color: var(--orange); }
.whybox.filled { border-color: rgba(255,122,0,.6); }
.count { text-align: right; font-size: 12px; font-weight: 700; color: var(--w45); margin-top: -10px; }
.chips { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.chip { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--w07); font-size: 14px; font-weight: 500; color: rgba(255,255,255,.85); }
.chip .ic { color: var(--orange); }
.betbox { display: flex; align-items: center; gap: 6px; background: var(--card); border-radius: 16px; padding: 18px; font-size: 40px; font-weight: 700; }
.betbox span { color: var(--orange); }
.betbox input { font-size: 40px; font-weight: 700; caret-color: var(--orange); }
.betbox.small, .betbox.small input { font-size: 26px; }
.betbox.small { background: var(--w07); padding: 16px; margin-top: 10px; }
.quick { display: flex; gap: 8px; }
.quick button { flex: 1; text-align: center; padding: 10px 0; border-radius: 999px; background: var(--w07); font-size: 14px; font-weight: 600; color: rgba(255,255,255,.75); }
.quick button.on { background: var(--orange); color: #fff; }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--card); text-align: left; width: 100%; }
.note > .ic { color: var(--orange); width: 18px; height: 18px; margin-top: 2px; }
.note div { display: flex; flex-direction: column; gap: 3px; }
.note b { font-size: 15px; font-weight: 600; }
.note small { font-size: 13px; color: var(--w65); line-height: 1.4; }
.canbe { display: flex; flex-direction: column; gap: 12px; }
.canbe div { display: flex; gap: 12px; align-items: center; font-size: 15px; color: rgba(255,255,255,.85); }
.canbe .ic { color: var(--orange); width: 18px; height: 18px; }
.final .finalhero { position: relative; height: 300px; border-radius: 24px; overflow: hidden; margin-top: 20px; }
.finalhero img { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 62%; }
.youin { font-size: 38px; font-weight: 800; font-style: italic; text-align: center; margin-top: 24px; }
.final > .muted { text-align: center; font-size: 17px; margin-top: 8px; color: rgba(255,255,255,.75); }
.final .quotecard { margin-top: 22px; }
.final .obfoot { margin-top: auto; }
.selrow { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.06); width: 100%; font-size: 14px; font-weight: 500; }
.selrow .ic { color: rgba(255,255,255,.3); }
.selrow.sel { background: rgba(255,122,0,.1); }
.msgbox { height: 90px; background: var(--w07); border-radius: 12px; padding: 10px; resize: none; }

/* hero (sunset) */
.herobg { position: absolute; inset: 0; background:
  radial-gradient(60% 40% at 50% 82%, rgba(255,184,89,.9), transparent 70%),
  linear-gradient(180deg, #0A0F1A 0%, #261826 35%, #783016 70%, #D66018 100%); }
.herobg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.herofade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.45) 25%, transparent 45%, transparent 80%, var(--bgtop) 100%); }

/* home */
.home .hero { position: relative; padding: 54px 22px 36px; text-align: center; overflow: hidden; }
.home .hero > *:not(.herobg):not(.herofade) { position: relative; }
.herotop { display: flex; justify-content: flex-end; }
.herotop .ic { width: 30px; height: 30px; stroke-width: 1.6; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.herowm img { height: 100px; max-width: 80%; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.45)); margin-top: 4px; }
.herowm .t1 { color: var(--orange); font-size: 21px; font-weight: 700; font-style: italic; text-shadow: 0 0 4px rgba(0,0,0,.9), 0 0 10px rgba(0,0,0,.6); margin-top: 2px; }
.herowm .t2 { color: rgba(255,255,255,.92); font-size: 17px; font-style: italic; text-shadow: 0 0 6px rgba(0,0,0,.7); margin-top: 6px; }
.urge { font-size: 31px; font-weight: 800; font-style: italic; line-height: 1.15; text-shadow: 0 0 10px rgba(0,0,0,.6); }
.urge em { color: var(--orange); }
.pushbtn { width: 210px; height: 210px; border-radius: 50%; margin: 45px auto 11px; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(180deg, #FF8C1A, var(--orange), #ED5C00); color: #fff;
  outline: 3px solid rgba(255,122,0,.75); outline-offset: 11px; box-shadow: 0 0 68px rgba(255,122,0,.6); transition: transform .12s; }
.pushbtn:active { transform: scale(.96); }
.pushbtn span { font-size: 44px; font-weight: 900; font-style: italic; }
.pushbtn .ic { width: 34px; height: 34px; stroke-width: 3.5; }
.tools { padding: 6px 20px 120px; display: flex; flex-direction: column; gap: 14px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; min-height: 140px; display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.tiletop { display: flex; justify-content: space-between; align-items: center; }
.tiletop .ic:first-child { color: var(--orange); width: 24px; height: 24px; }
.chev { color: rgba(255,255,255,.45); width: 16px; height: 16px; }
.tile b { font-size: 17px; font-weight: 600; line-height: 1.25; }
.tile small { font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.35; }
.progcard { display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; width: 100%; }
.progcard .big { color: var(--orange); width: 26px; height: 26px; stroke-width: 3; }
.progcard span { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.progcard b { font-size: 18px; font-weight: 600; }
.progcard small { font-size: 14px; color: rgba(255,255,255,.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.progcard em { font-style: normal; font-size: 17px; font-weight: 500; }
.addbet { color: var(--orange); font-size: 13px; font-weight: 600; display: flex; gap: 6px; align-items: center; justify-content: center; }
.quotecard { display: flex; justify-content: center; align-items: flex-start; gap: 10px; padding: 20px 10px; background: var(--card); border-radius: 16px; }
.quotecard.soft { background: rgba(21,29,42,.7); }
.quotecard p { font-size: 22px; font-style: italic; text-align: center; color: rgba(255,255,255,.9); line-height: 1.25; }
.quotecard span { color: var(--orange); font-size: 44px; font-weight: 900; line-height: 1; }
.quotecard .q1 { margin-top: -6px; } .quotecard .q2 { margin-top: 24px; }
.setbacklink { color: rgba(255,255,255,.6); font-size: 14px; font-weight: 600; display: flex; gap: 6px; align-items: center; justify-content: center; padding: 10px; }

/* tab bar (iPhone style) */
.tabbar { position: fixed; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 0 max(10px, env(safe-area-inset-bottom));
  background: rgba(12,16,24,.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-top: .5px solid rgba(255,255,255,.12); z-index: 5; }
.tabbar button { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; font-weight: 600; color: rgba(255,255,255,.5); }
.tabbar .ic { width: 24px; height: 24px; }
.tabbar button.on { color: var(--orange); }

/* sheets and alerts */
#layer { position: relative; z-index: 20; }
.sheet { position: fixed; inset: 0; z-index: 20; transform: translateY(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.sheet.in { transform: none; }
.sheetbody { position: absolute; inset: 0; overflow-y: auto; max-width: 560px; margin: 0 auto; }
.sheetbody > .pad { min-height: 100%; }
.alertwrap { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; padding: 30px; }
.alert { background: rgba(40,44,52,.97); border-radius: 14px; width: 100%; max-width: 290px; text-align: center; overflow: hidden; }
.alert b { display: block; font-size: 17px; font-weight: 600; padding: 20px 16px 4px; }
.alert p { font-size: 13px; color: rgba(255,255,255,.85); padding: 0 16px 18px; line-height: 1.4; }
.alert b + .alertbtns { margin-top: 16px; }
.alertbtns button { display: block; width: 100%; padding: 12px; border-top: .5px solid rgba(255,255,255,.15); color: #0A84FF; font-size: 17px; text-align: center; }
.alertbtns button.destructive { color: #ff453a; }
.alertbtns button.cancel { font-weight: 600; }
.navbar { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px 16px; background: var(--navy); }
.navbar b { font-size: 17px; font-weight: 600; }

/* push timer */
.iv { display: flex; flex-direction: column; gap: 20px; min-height: 100vh; }
.ivtop { display: flex; justify-content: space-between; align-items: center; }
.ivtop.end { justify-content: flex-end; }
.xbtn { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); display: flex; align-items: center; justify-content: center; }
.xbtn.plain { background: none; width: 20px; }
.xbtn .ic { width: 16px; height: 16px; stroke-width: 3; }
.appmark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(180deg, #FF801A, var(--orange)); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 8px rgba(255,122,0,.4); }
.appmark .ic { width: 18px; height: 18px; stroke-width: 3.5; }
.ivhead { text-align: center; display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.ivhead .muted { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.6); }
.ring { position: relative; width: 210px; height: 210px; margin: 4px auto; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 14; }
.ring .track { stroke: rgba(255,255,255,.08); }
.ring .arc { stroke: var(--orange); stroke-linecap: round; transition: stroke-dashoffset 1s linear; filter: drop-shadow(0 0 8px rgba(255,122,0,.5)); }
.ring > div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.ring b { font-size: 58px; font-weight: 700; font-variant-numeric: tabular-nums; font-family: ui-rounded, -apple-system, sans-serif; }
.ring small { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.5); }
.breathecard { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--card); border: 1px solid rgba(255,255,255,.06); border-radius: 18px; width: 100%; }
.bci { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,122,0,.14); color: var(--orange); display: flex; align-items: center; justify-content: center; flex: none; }
.bct { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.bct b { font-size: 16px; font-weight: 700; }
.wave { display: flex; align-items: center; gap: 3px; height: 22px; }
.wave i { width: 3px; border-radius: 2px; background: var(--orange); animation: wave 4.5s ease-in-out infinite; height: 6px; opacity: .6; }
@keyframes wave { 0%, 100% { height: 6px; opacity: .45 } 50% { height: 20px; opacity: .85 } }
.rwhy { display: flex; gap: 8px; align-items: center; justify-content: center; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.06); font-size: 15px; font-weight: 600; color: rgba(255,255,255,.85); width: 100%; }
.pausebtn { width: 56px; height: 56px; border-radius: 50%; background: var(--orange); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 10px rgba(255,122,0,.45); }
.pausebtn .ic { width: 20px; height: 20px; stroke-width: 3.5; }
.iv .linkbtn.small { margin-bottom: auto; }
.lockcard { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 16px; background: var(--card); width: 100%; text-align: left; }
.lockcard > .ic { color: var(--orange); }
.lockcard span { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.lockcard b { font-size: 14px; font-weight: 600; }
.lockcard small { font-size: 12px; font-weight: 600; color: var(--orange); }
.lockcard em { font-style: normal; font-size: 11px; font-weight: 900; color: var(--navy); background: var(--orange); padding: 6px 10px; border-radius: 8px; }

/* breathing */
.bcircle { width: 280px; height: 280px; border-radius: 50%; background: rgba(255,122,0,.15); border: 4px solid var(--orange); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; transform: scale(.55); }
.bcircle b { font-size: 28px; font-weight: 700; }
.bcircle span { font-size: 22px; font-weight: 600; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; min-height: 26px; }
.bigic { color: var(--orange); }
.bigic .ic { width: 50px; height: 50px; stroke-width: 2.5; }
.bigic.left { align-self: flex-start; }

/* help rows, progress rows */
.helprow, .prow, .ypbtn { display: flex; align-items: center; gap: 14px; padding: 14px; background: var(--card); border-radius: 15px; width: 100%; text-align: left; }
.prow { background: none; border-radius: 0; padding: 16px; }
.rows { background: var(--card); border-radius: 18px; overflow: hidden; }
.rows .prow + .prow { border-top: 1px solid var(--line); }
.pri { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,122,0,.12); color: var(--orange); display: flex; align-items: center; justify-content: center; flex: none; }
.prow .pri { width: 40px; height: 40px; border-radius: 10px; }
.pri.big { width: 50px; height: 50px; border-radius: 14px; }
.prt { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.prt b { font-size: 16px; font-weight: 700; }
.prow .prt b { font-weight: 600; }
.prt small { font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.35; }
.prow .prt small { font-size: 13px; color: rgba(255,255,255,.6); }
.follow { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.follow .label { font-size: 13px; color: rgba(255,255,255,.5); margin: 0; }
.follow .prt b { font-size: 13px; }
.premcard { background: var(--card); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.pctop { display: flex; gap: 10px; align-items: center; color: var(--orange); }
.pctop b { color: #fff; font-size: 16px; }
.premcard small { color: var(--w65); font-size: 13px; line-height: 1.4; }

/* progress */
.prog { display: flex; flex-direction: column; gap: 18px; }
.seg { display: flex; gap: 4px; padding: 4px; background: var(--card); border-radius: 999px; }
.seg button { flex: 1; text-align: center; padding: 10px 0; border-radius: 999px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.6); }
.seg button.on { background: var(--orange); color: #fff; }
.stat2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.statcard { padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.statcard > .ic, .sctop > .ic:first-child { color: var(--orange); width: 22px; height: 22px; stroke-width: 2.5; }
.sctop { display: flex; justify-content: space-between; }
.faint { color: rgba(255,255,255,.35); }
.statcard b { font-size: 34px; font-weight: 700; }
.statcard small { font-size: 14px; font-weight: 500; color: var(--w65); }
.chartcard { padding: 18px; background: var(--card); border-radius: 18px; display: flex; flex-direction: column; gap: 14px; }
.chhead { display: flex; justify-content: space-between; align-items: center; }
.chhead b { font-size: 16px; font-weight: 600; }
.chhead small { font-size: 13px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; }
.bars.month { gap: 3px; }
.bars .b { flex: 1; height: 100%; display: flex; flex-direction: column; gap: 6px; }
.bt { flex: 1; display: flex; align-items: flex-end; }
.bt span { width: 100%; border-radius: 6px; background: rgba(255,255,255,.08); }
.bars.month .bt span { border-radius: 2px; }
.bt span.fill { background: linear-gradient(180deg, #FF9E33, var(--orange)); }
.bars small { height: 14px; font-size: 11px; font-weight: 500; color: rgba(255,255,255,.5); text-align: center; white-space: nowrap; }
.bars small.now { color: var(--orange); font-weight: 700; }
.badgehead { display: flex; justify-content: space-between; margin-top: 8px; }
.badgehead small { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.5); }
.badgehead small.orange { font-size: 11px; font-weight: 900; }
.badgegrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 12px; }
.btile { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.btile b { font-size: 10px; font-weight: 900; }
.btile small { font-size: 9px; font-weight: 700; }
.medal { width: 74px; height: 74px; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04)); color: rgba(255,255,255,.3); }
.medal::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.12); }
.medal .ic { width: 27px; height: 27px; stroke-width: 2.5; }
.medal.got { background: linear-gradient(180deg, #FF9933, var(--orange)); color: #fff; box-shadow: 0 0 24px rgba(255,122,0,.45); }
.medal.got::after { border: 3px solid rgba(255,255,255,.85); }
.medal.big { width: 150px; height: 150px; }
.medal.big .ic { width: 54px; height: 54px; }
.kick { font-size: 13px; font-weight: 900; letter-spacing: .15em; color: var(--orange); }
.histrow { display: flex; gap: 10px; align-items: center; padding: 14px; background: var(--card); border-radius: 12px; }
.histrow .ic { color: var(--orange); }

/* milestone */
.milestone { display: flex; flex-direction: column; align-items: center; gap: 14px; min-height: 100vh; position: relative; overflow: hidden; }
.medalwrap { position: relative; width: 190px; height: 190px; display: flex; align-items: center; justify-content: center; margin-top: 6px; animation: pop .6s cubic-bezier(.3,1.6,.5,1); }
.glow { position: absolute; width: 190px; height: 190px; border-radius: 50%; background: rgba(255,122,0,.3); filter: blur(30px); animation: glow 2.8s ease-in-out infinite; }
.spinring { position: absolute; width: 160px; height: 160px; border-radius: 50%; padding: 4px; background: conic-gradient(var(--orange), #fff, rgba(255,122,0,.2), var(--orange));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px)); animation: spin 6s linear infinite; }
.medalwrap .pushbadge { position: relative; }
@keyframes pop { from { transform: scale(.3); opacity: 0 } }
@keyframes glow { 50% { opacity: .4 } }
.kick { font-size: 11px; letter-spacing: 3px; }
.bignum { font-size: 76px; font-weight: 900; font-variant-numeric: tabular-nums; font-family: ui-rounded, -apple-system, sans-serif; line-height: 1; }
.pushes { font-size: 14px; font-weight: 900; letter-spacing: 4px; color: rgba(255,255,255,.6); margin-top: -8px; }
.milestone h2 { font-size: 26px; font-weight: 900; }
.protected { font-size: 13px; font-weight: 900; letter-spacing: 1.5px; padding: 8px 16px; border-radius: 999px; background: rgba(255,122,0,.18); }
.confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 5px; border-radius: 1.5px; animation: fall linear forwards; }
@keyframes fall { to { transform: translate(30px, 110vh) rotate(540deg) } }

/* push nation */
.feed { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.post { background: var(--card); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.post header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.post header small { color: rgba(255,255,255,.5); font-size: 13px; }
.post p { font-size: 16px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.post footer { display: flex; gap: 18px; color: rgba(255,255,255,.55); font-size: 14px; font-weight: 600; }
.post footer span { display: flex; gap: 6px; align-items: center; }
.pill { background: var(--orange); color: #fff; font-size: 10px; font-weight: 900; padding: 2px 8px; border-radius: 999px; }
.roomh { margin: 6px 0; }
#feed { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.gate .gateicon { width: 88px; height: 88px; border-radius: 24px; background: rgba(255,122,0,.12); color: var(--orange); display: flex; align-items: center; justify-content: center; }
.gate .gateicon .ic { width: 40px; height: 40px; stroke-width: 2.5; }

/* resources sheets */
.learn { padding: 18px; background: var(--card); border-radius: 16px; display: flex; flex-direction: column; gap: 10px; }
.learn div { display: flex; gap: 10px; align-items: center; }
.learn .ic { color: var(--orange); }
.learn b { font-size: 17px; font-weight: 700; }
.learn p { font-size: 15px; color: rgba(255,255,255,.75); line-height: 1.45; }
.yptop { display: grid; grid-template-columns: 20px 1fr 20px; align-items: center; text-align: center; }
.yptop b { font-size: 16px; font-weight: 900; }
.ypcard { display: flex; gap: 14px; align-items: center; }
.ypav { width: 60px; height: 60px; border-radius: 50%; background: rgba(255,122,0,.1); color: var(--orange); display: flex; align-items: center; justify-content: center; }
.ypav .ic { width: 26px; height: 26px; stroke-width: 2.5; }
.ypcard div { display: flex; flex-direction: column; gap: 5px; }
.ypcard small { font-size: 11px; font-weight: 700; color: var(--w45); }
.ypcard b { font-size: 22px; font-weight: 700; }
.ypcard b + small { font-size: 13px; font-weight: 400; color: rgba(255,255,255,.55); }
.actionbtn { display: flex; gap: 7px; align-items: center; padding: 12px 18px; border-radius: 12px; background: var(--orange); font-size: 12px; font-weight: 700; }
.linkrow { display: flex; gap: 8px; align-items: center; padding: 10px 0; width: 100%; font-weight: 600; }
.linkrow .chev { margin-left: auto; color: var(--orange); }
.betinline { display: flex; gap: 8px; align-items: center; padding: 14px; border-radius: 13px; background: var(--w07); }
.betinline span { color: var(--orange); font-weight: 700; }
.whyinline { min-height: 70px; padding: 14px; border-radius: 13px; background: var(--w07); resize: vertical; caret-color: var(--orange); }
.dellist { padding: 16px; background: var(--card); border-radius: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: rgba(255,255,255,.7); }
.dellist div { display: flex; gap: 8px; align-items: center; }

/* supporter */
.suphead { display: flex; justify-content: space-between; align-items: flex-start; }
.suphead .label { font-size: 11px; margin-bottom: 4px; }
.sendpush { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 17px; background: rgba(255,122,0,.12); border: 1.5px solid var(--orange); width: 100%; text-align: left; }
.spi { width: 48px; height: 48px; border-radius: 12px; background: var(--orange); color: var(--navy); display: flex; align-items: center; justify-content: center; flex: none; }
.spi .ic { stroke-width: 2.5; }
.sendpush .prt b { font-size: 14px; font-weight: 900; }
.tip { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--card); }
.tip > span { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,122,0,.15); color: var(--orange); font-weight: 900; font-size: 14px; display: flex; align-items: center; justify-content: center; flex: none; }
.tip div { display: flex; flex-direction: column; gap: 4px; }
.tip b { font-size: 15px; }
.tip small { font-size: 13px; color: var(--w65); line-height: 1.4; }

@media (min-width: 700px) { .tabbar { max-width: 560px; margin: 0 auto; border-radius: 22px 22px 0 0; } }

.herobg.photo { background: url('/push-hero.jpg') center / cover no-repeat; }
.finalhero .herofade { background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 40%, rgba(0,0,0,.25)); }

/* premium (PushPremium.swift) */
.fallback { color: var(--orange); font-size: 13px; font-weight: 600; text-decoration: underline; }
.paywall { gap: 18px; }
.features { width: 100%; padding: 18px; background: var(--card); border-radius: 18px; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.features div { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 600; }
.features .ic { color: var(--orange); width: 18px; height: 18px; margin-top: 1px; }
.plan { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 16px; background: var(--card); border: 1.5px solid transparent; width: 100%; text-align: left; }
.plan.sel { background: rgba(255,122,0,.12); border-color: var(--orange); }
.plan > .ic { width: 22px; height: 22px; color: rgba(255,255,255,.35); }
.plan.sel > .ic { color: var(--orange); }
.plan span { display: flex; flex-direction: column; gap: 3px; }
.plan b { font-size: 14px; font-weight: 900; display: flex; gap: 8px; align-items: center; }
.plan b i { font-style: normal; font-size: 10px; font-weight: 900; color: var(--navy); background: var(--orange); padding: 3px 7px; border-radius: 6px; }
.plan em { font-style: normal; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.85); }
.plan small { font-size: 12px; color: rgba(255,255,255,.5); }
.legal { display: flex; gap: 18px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.65); }
.premrow { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--card); border-radius: 17px; width: 100%; text-align: left; margin-top: 10px; }
.premrow .pri { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,122,0,.1); }
.t13 { font-size: 13px !important; font-weight: 700; }
.t22 { font-size: 22px; font-weight: 700; }
.t24 { font-size: 24px; font-weight: 700; }

/* push nation (PushCommunity.swift) */
.nhome { padding: 22px 22px 170px; display: flex; flex-direction: column; gap: 16px; }
.nhead { display: flex; justify-content: space-between; align-items: flex-start; }
.nhead .muted { color: rgba(255,255,255,.6); margin-top: 6px; }
.modbtn { position: relative; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); color: var(--orange); display: flex; align-items: center; justify-content: center; }
.modbtn em { position: absolute; top: -6px; right: -6px; font-style: normal; font-size: 11px; font-weight: 900; background: #ff3b30; color: #fff; padding: 2px 6px; border-radius: 999px; }
.posting { font-size: 12px; font-weight: 700; }
.fab { position: fixed; right: 24px; bottom: calc(90px + env(safe-area-inset-bottom)); width: 62px; height: 62px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 28px rgba(255,122,0,.5); z-index: 6; }
.fab .ic { width: 28px; height: 28px; stroke-width: 3; }
@media (min-width: 560px) { .fab { right: calc(50% - 256px); } }
.ccard { display: flex; gap: 15px; align-items: center; padding: 16px; background: var(--card); border-radius: 17px; width: 100%; text-align: left; }
.ccard .pri { width: 48px; height: 48px; border-radius: 13px; background: rgba(255,122,0,.1); }
.ccard small { font-size: 12px; }
.rulesbtn { display: flex; gap: 8px; align-items: center; color: rgba(255,255,255,.7); font-size: 12px; font-weight: 900; margin-top: 4px; }
.rules { display: flex; flex-direction: column; gap: 16px; }
.rule { display: flex; gap: 12px; align-items: flex-start; }
.rule > span { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,122,0,.15); color: var(--orange); font-size: 14px; font-weight: 900; display: flex; align-items: center; justify-content: center; flex: none; }
.rule div { display: flex; flex-direction: column; gap: 3px; }
.rule b { font-size: 15px; } .rule small { font-size: 13px; color: var(--w65); line-height: 1.4; }
.card16 { padding: 18px; background: var(--card); border-radius: 16px; }
.agree { display: flex; gap: 10px; align-items: center; font-size: 15px; font-weight: 600; }
.agree .ic { width: 24px; height: 24px; color: rgba(255,255,255,.4); }
.agree.on .ic { color: var(--orange); }
.pcard { padding: 16px; border-radius: 16px; background: var(--card); display: flex; flex-direction: column; gap: 12px; }
.pcard.pinned { background: rgba(255,122,0,.10); }
.pcard.removed, .reply.removed { opacity: .6; }
.pinlbl, .rmlbl { display: flex; gap: 5px; align-items: center; font-size: 10px; font-weight: 900; color: var(--orange); }
.rmlbl { color: #ff453a; }
.pinlbl .ic, .rmlbl .ic { width: 12px; height: 12px; }
.phead { display: flex; gap: 10px; align-items: center; }
.av { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; flex: none; }
.av.adm { background: var(--orange); }
.pmeta { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.author { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.author b { font-size: 14px; font-weight: 700; }
.author small { font-size: 12px; color: rgba(255,255,255,.4); }
.founder { font-style: normal; font-size: 9px; font-weight: 900; background: var(--orange); padding: 3px 6px; border-radius: 5px; }
.mod { font-style: normal; font-size: 9px; font-weight: 900; color: var(--orange); border: 1px solid var(--orange); padding: 1px 6px; border-radius: 5px; }
.proom { display: flex; gap: 5px; align-items: center; font-size: 11px; font-weight: 600; color: rgba(255,122,0,.9); }
.proom .ic { width: 12px; height: 12px; }
.dots { width: 36px; height: 28px; color: rgba(255,255,255,.5); display: flex; align-items: center; justify-content: center; }
.dots .ic { stroke-width: 3.5; }
.pbody { font-size: 16px; color: rgba(255,255,255,.9); line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.pbody.link { cursor: pointer; }
.pbody.whole { font-size: 17px; color: #fff; user-select: text; }
.pacts { display: flex; gap: 18px; }
.pacts button { display: flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.6); }
.pacts .ic { width: 17px; height: 17px; }
.sup.on { color: var(--orange); }
.actwrap { position: fixed; inset: 0; z-index: 45; background: rgba(0,0,0,.4); display: flex; align-items: flex-end; justify-content: center; padding: 10px 10px max(10px, env(safe-area-inset-bottom)); }
.acts { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 8px; }
.actgroup { background: rgba(44,48,56,.97); border-radius: 14px; overflow: hidden; }
.actgroup button { display: block; width: 100%; padding: 16px; text-align: center; font-size: 17px; color: #0A84FF; }
.actgroup button + button { border-top: .5px solid rgba(255,255,255,.15); }
.actgroup button.destructive { color: #ff453a; }
.actgroup button.cancel { font-weight: 600; }
.navbar .end { justify-self: end; }
.navbar button:first-child { justify-self: start; }
.postpill { position: fixed; right: 22px; bottom: max(22px, env(safe-area-inset-bottom)); display: flex; gap: 8px; align-items: center; padding: 15px 22px; border-radius: 999px; background: var(--orange); font-size: 15px; font-weight: 900; box-shadow: 0 0 24px rgba(255,122,0,.4); }
.replybar { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 16px max(10px, env(safe-area-inset-bottom)); background: rgba(11,42,74,.95); max-width: 560px; margin: 0 auto; }
.replybar div { display: flex; gap: 10px; align-items: flex-end; }
.replybar textarea { flex: 1; resize: none; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.08); max-height: 120px; }
.replybar button { color: var(--orange); width: 36px; height: 36px; }
.replybar button:disabled { color: rgba(255,255,255,.2); }
.replybar button .ic { width: 34px; height: 34px; }
.replylbl { display: block; font-size: 11px; font-weight: 900; color: var(--w45); margin: 20px 0 12px; }
.reply { padding: 14px; border-radius: 14px; background: rgba(255,255,255,.05); display: flex; flex-direction: column; gap: 8px; }
.rhead { display: flex; justify-content: space-between; align-items: center; }
.reply p { font-size: 15px; color: rgba(255,255,255,.9); white-space: pre-wrap; overflow-wrap: anywhere; }
.roomchips { display: flex; gap: 8px; overflow-x: auto; }
.roomchips button { display: flex; gap: 6px; align-items: center; white-space: nowrap; padding: 9px 12px; border-radius: 999px; background: var(--w07); font-size: 13px; font-weight: 600; color: rgba(255,255,255,.65); }
.roomchips button.on { background: var(--orange); color: #fff; }
.roomchips .ic { width: 14px; height: 14px; }
.composebox { min-height: 200px; padding: 18px 16px; border-radius: 16px; background: var(--w07); font-size: 17px; resize: vertical; }
.crow { display: flex; justify-content: space-between; }
.crow small { font-size: 12px; color: var(--w45); }
.crow small#cnt { font-weight: 700; }
.crisisnote { padding: 14px; border-radius: 12px; background: rgba(255,122,0,.18); font-size: 14px; font-weight: 600; line-height: 1.4; }
.seg.sm button { padding: 7px 0; font-size: 13px; }
.repcard { padding: 16px; border-radius: 16px; background: var(--card); display: flex; flex-direction: column; gap: 10px; }
.rptop { display: flex; justify-content: space-between; }
.rptop small:first-child { font-size: 11px; font-weight: 900; }
.rptop small:last-child { font-size: 11px; }
.rpby { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.6); }
.rpbody { padding: 12px; border-radius: 10px; background: rgba(255,255,255,.06); font-size: 15px; white-space: pre-wrap; }
.rpbtns { display: flex; gap: 10px; }
.sbtn { padding: 9px 14px; border-radius: 10px; border: 1.2px solid rgba(255,255,255,.6); color: rgba(255,255,255,.6); font-size: 12px; font-weight: 900; }
.sbtn.red { border-color: #ff3b30; color: #ff3b30 !important; }
.sbtn.ban { background: rgba(255,59,48,.8); border-color: transparent; color: #fff; }
.modrow { display: flex; gap: 8px; align-items: center; padding: 14px; border-radius: 12px; background: var(--card); }
.modrow button { margin-left: auto; font-size: 13px; }
.nation { padding-bottom: 0; }
