@font-face { font-family: 'Nunito'; src: url(/fonts/nunito-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url(/fonts/nunito-800.woff2) format('woff2'); font-weight: 600 900; font-display: swap; }
@font-face { font-family: 'Cinzel'; src: url(/fonts/cinzel-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --bg: #0f0e15; --bg2: #17151f; --card: #1d1a27; --card2: #252133; --line: #2f2a40;
  --text: #f3f0fa; --muted: #a9a3bd; --accent: #8f7bff; --tier: #8a8f99; --glow: #b9bec8;
  --xp: #7fe3ff; --hp: #ff5d73; --ok: #39d98a; --warn: #ffb648;
  --radius: 18px; --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Nunito', system-ui, sans-serif; font-size: 16px; line-height: 1.45; }
body { min-height: 100dvh; overscroll-behavior-y: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 2px; }
.boot { display: grid; place-items: center; height: 100dvh; color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.shell { max-width: 560px; margin: 0 auto; min-height: 100dvh; position: relative; padding-bottom: calc(120px + var(--safe-b)); }

/* Barre du haut */
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; background: linear-gradient(var(--bg) 70%, transparent); }
.iconbtn { width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; }
.iconbtn svg { width: 22px; height: 22px; }
.brand { font-family: 'Cinzel', serif; letter-spacing: .08em; font-size: 15px; color: var(--muted); }
.sync-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-left: 8px; background: var(--ok); vertical-align: middle; }
.sync-dot.off { background: var(--warn); }

/* Emblème */
.hero { text-align: center; padding: 4px 16px 8px; }
.hero .emblem { width: min(64vw, 260px); height: auto; display: block; margin: 0 auto -8px; filter: drop-shadow(0 10px 24px #0008); }
.rank { font-family: 'Cinzel', serif; font-size: clamp(30px, 9vw, 42px); margin: 0; letter-spacing: .04em; color: var(--glow); text-shadow: 0 0 24px color-mix(in srgb, var(--tier) 55%, transparent); }
.rank small { display: block; font-family: 'Nunito'; font-weight: 800; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.division-badge { display: inline-flex; gap: 6px; margin-top: 8px; }
.division-badge i { width: 22px; height: 6px; border-radius: 4px; background: var(--line); }
.division-badge i.on { background: var(--tier); box-shadow: 0 0 10px var(--tier); }

/* Scène et personnage */
.stage { position: sticky; top: 62px; z-index: 20; margin: 8px 12px 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: 0 18px 40px #0009; transition: height .3s; }
.stage .scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-inner { position: relative; height: 290px; display: flex; align-items: flex-end; justify-content: center; transition: height .25s ease; }
.stage.compact .stage-inner { height: 150px; }
.stage .nyx { height: 92%; width: auto; position: relative; z-index: 2; cursor: pointer; }
.stage.compact .nyx { height: 96%; }
.bars { position: relative; z-index: 3; padding: 10px 14px 12px; background: linear-gradient(transparent, #000c 40%); display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; }
.bar .lbl { letter-spacing: .1em; color: var(--muted); }
.track { height: 12px; border-radius: 8px; background: #ffffff1a; overflow: hidden; position: relative; }
.fill { height: 100%; border-radius: 8px; transition: width .6s cubic-bezier(.2,.8,.2,1); }
.fill.xp { background: linear-gradient(90deg, #4fb8ff, var(--xp)); box-shadow: 0 0 12px var(--xp); }
.fill.hp { background: linear-gradient(90deg, #ff3655, var(--hp)); box-shadow: 0 0 12px var(--hp); }
.fill.hp.low { animation: blinkbar 1s infinite; }
.bar .val { font-variant-numeric: tabular-nums; min-width: 72px; text-align: right; }
@keyframes blinkbar { 50% { opacity: .45; } }

.bubble { position: absolute; z-index: 4; top: 12px; left: 12px; right: 12px; margin: auto; max-width: 340px; background: #fffffff0; color: #1b1726; padding: 10px 14px; border-radius: 16px; font-weight: 800; font-size: 15px; box-shadow: 0 8px 24px #0007; animation: pop .35s cubic-bezier(.2,1.4,.4,1); }
.bubble:after { content: ''; position: absolute; bottom: -8px; left: 50%; border: 8px solid transparent; border-top-color: #fffffff0; border-bottom: 0; transform: translateX(-50%); }
.stage.compact .bubble { display: none; }
.xp-pop { position: absolute; z-index: 5; left: 50%; top: 40%; transform: translateX(-50%); font-weight: 900; font-size: 28px; color: var(--xp); text-shadow: 0 0 16px var(--xp); animation: floatup 1.4s ease-out forwards; pointer-events: none; }
@keyframes floatup { from { opacity: 0; transform: translate(-50%, 10px); } 20% { opacity: 1; } to { opacity: 0; transform: translate(-50%, -70px); } }
@keyframes pop { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Animations du personnage */
.nyx .bob { animation: bob 3.2s ease-in-out infinite; transform-origin: center bottom; }
@keyframes bob { 50% { transform: translateY(-5px); } }
.nyx .blink { animation: blink 5s infinite; transform-origin: 100px 88px; transform-box: view-box; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
.pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }
.twinkle { animation: twinkle 1.8s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .2; } }
.mote { animation: mote 3s ease-in-out infinite; }
@keyframes mote { 50% { transform: translateY(-8px); opacity: .4; } }
.wisp { animation: wisp 4s ease-in-out infinite; }
@keyframes wisp { 25% { transform: translate(8px, -10px); } 50% { transform: translate(0, -16px); } 75% { transform: translate(-6px, -6px); } }
.fall { animation: leaf 7s linear infinite; }
@keyframes leaf { from { transform: translate(0, -40px); } to { transform: translate(-30px, 260px) rotate(200deg); } }
.rise { animation: rise 5s linear infinite; }
@keyframes rise { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-160px); opacity: 0; } }
.nyx.happy .bob { animation: jump .6s ease 2; }
@keyframes jump { 40% { transform: translateY(-22px) scale(1.04, .96); } }
.silhouette { filter: brightness(0) opacity(.35); }
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { animation: none !important; transition: none !important; } }
.reduce-motion *, .reduce-motion *:before { animation: none !important; transition: none !important; }

/* Liste des tâches */
.section { padding: 18px 16px 4px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.section h2 { font-size: 20px; margin: 0; }
.section .sub { color: var(--muted); font-size: 14px; }
.progress-line { height: 6px; background: var(--line); border-radius: 4px; overflow: hidden; margin: -2px 0 14px; }
.progress-line div { height: 100%; background: var(--ok); }
.tasks { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; }
.task { display: grid; grid-template-columns: 6px 1fr auto; gap: 12px; align-items: stretch; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px 12px 0; text-align: left; width: 100%; overflow: hidden; }
.task:hover { background: var(--card2); }
.task .stripe { border-radius: 0 6px 6px 0; }
.task h3 { margin: 0 0 4px; font-size: 16px; font-weight: 800; }
.task .meta { display: flex; flex-wrap: wrap; gap: 6px 12px; color: var(--muted); font-size: 13px; }
.task .right { display: grid; align-content: center; justify-items: end; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 99px; padding: 2px 10px; font-size: 12px; font-weight: 800; background: #ffffff12; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; }
.status { font-size: 12px; font-weight: 800; border-radius: 99px; padding: 3px 10px; }
.status.todo { background: #ffffff14; color: var(--muted); }
.status.doing { background: #39d98a26; color: var(--ok); }
.status.paused { background: #ffb64826; color: var(--warn); }
.status.done { background: #8f7bff26; color: #c7bcff; }
.timer { font-variant-numeric: tabular-nums; font-weight: 900; font-size: 15px; }
.timer.run { color: var(--ok); }
.empty { text-align: center; color: var(--muted); padding: 26px 16px; background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty strong { display: block; color: var(--text); font-size: 17px; margin-bottom: 4px; }
.link { background: none; border: 0; color: #c7bcff; font-weight: 800; padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; }
.daily { margin: 14px 16px 0; padding: 12px 14px; border-radius: var(--radius); background: linear-gradient(135deg, #2a2142, #1d1a27); border: 1px solid var(--line); font-size: 14px; color: #ddd6f5; }
.daily b { color: var(--text); }

/* Bouton + */
.fab { position: fixed; right: max(18px, calc(50vw - 262px)); bottom: calc(22px + var(--safe-b)); z-index: 40; width: 64px; height: 64px; border-radius: 22px; border: 0; background: linear-gradient(135deg, #a28fff, #6c4dff); box-shadow: 0 12px 30px #6c4dff77, inset 0 1px 0 #fff5; display: grid; place-items: center; }
.fab svg { width: 30px; height: 30px; }
.fab:active { transform: scale(.94); }

/* Feuilles (fenêtres du bas) */
.backdrop { position: fixed; inset: 0; z-index: 60; background: #05040acc; backdrop-filter: blur(3px); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: fixed; z-index: 61; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 560px; max-height: 92dvh; overflow: auto; background: var(--bg2); border: 1px solid var(--line); border-bottom: 0; border-radius: 26px 26px 0 0; padding: 10px 18px calc(22px + var(--safe-b)); animation: up .28s cubic-bezier(.2,.9,.3,1); }
@media (min-width: 700px) { .sheet { bottom: auto; top: 50%; transform: translateY(-50%); border-radius: 26px; border-bottom: 1px solid var(--line); animation: fade .2s; } }
@keyframes up { from { transform: translateY(100%); } }
.grab { width: 44px; height: 5px; border-radius: 4px; background: var(--line); margin: 0 auto 12px; }
.sheet h2 { margin: 0 0 14px; font-size: 22px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .field .lab { font-weight: 800; font-size: 14px; color: var(--muted); }
.input { width: 100%; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); font-size: 16px; min-height: 48px; }
textarea.input { min-height: 90px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.labels { display: flex; flex-wrap: wrap; gap: 8px; }
.labels button { border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: 8px 14px; font-weight: 800; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; min-height: 40px; }
.labels button[aria-pressed='true'] { border-color: currentColor; background: #ffffff14; }
.durations { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.durations button { border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 6px 10px; font-size: 13px; font-weight: 800; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); font-weight: 900; font-size: 16px; }
.btn.primary { background: linear-gradient(135deg, #a28fff, #6c4dff); border: 0; color: #fff; }
.btn.go { background: linear-gradient(135deg, #47e59a, #1fae6a); border: 0; color: #06200f; }
.btn.warn { background: linear-gradient(135deg, #ffc76b, #ff9f2e); border: 0; color: #2a1600; }
.btn.danger { color: #ff9aa8; }
.btn.full { width: 100%; }
.actions { display: grid; gap: 10px; margin-top: 8px; }
.actions.two { grid-template-columns: 1fr 1fr; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 16px; }
.detail-grid div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.detail-grid span { display: block; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.detail-grid b { font-size: 16px; }
.big-timer { text-align: center; font-size: 46px; font-weight: 900; font-variant-numeric: tabular-nums; margin: 6px 0 4px; }
.big-timer + p { text-align: center; color: var(--muted); margin: 0 0 14px; font-size: 14px; }
.comment { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; white-space: pre-wrap; margin-bottom: 14px; }
.err { color: #ff9aa8; font-weight: 800; margin: 0 0 10px; }

/* Menu */
.drawer { position: fixed; z-index: 61; top: 0; bottom: 0; left: 0; width: min(86vw, 340px); background: var(--bg2); border-right: 1px solid var(--line); padding: 18px 14px; overflow: auto; animation: slide .25s ease; }
@keyframes slide { from { transform: translateX(-100%); } }
.drawer h2 { font-family: 'Cinzel', serif; font-size: 18px; margin: 4px 8px 16px; color: var(--glow); }
.menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.menu button { width: 100%; text-align: left; display: flex; align-items: center; gap: 14px; padding: 14px 12px; border-radius: 14px; border: 0; background: transparent; font-weight: 800; font-size: 16px; }
.menu button:hover { background: var(--card); }
.menu .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--card2); font-size: 19px; }
.menu .count { margin-left: auto; color: var(--muted); font-size: 14px; }

/* Pages */
.page { position: fixed; inset: 0; z-index: 50; background: var(--bg); overflow: auto; animation: fade .2s; }
.page .wrap { max-width: 560px; margin: 0 auto; padding: 10px 16px calc(40px + var(--safe-b)); }
.page-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 10px 0; background: var(--bg); }
.page-head h1 { font-size: 22px; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 8px 0 18px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px; text-align: center; }
.stat b { display: block; font-size: 22px; }
.stat span { color: var(--muted); font-size: 12px; font-weight: 800; }
.day-title { margin: 18px 0 8px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.evo-grid { display: grid; gap: 12px; }
.evo { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 10px; }
.evo.current { border-color: var(--tier); box-shadow: 0 0 0 1px var(--tier), 0 0 26px color-mix(in srgb, var(--tier) 35%, transparent); }
.evo .pic { height: 110px; display: grid; place-items: center; }
.evo .pic svg { height: 110px; width: auto; }
.evo h3 { margin: 0; font-family: 'Cinzel', serif; font-size: 18px; }
.evo p { margin: 2px 0 8px; color: var(--muted); font-size: 13px; }
.divs { display: flex; gap: 6px; }
.divs span { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 900; font-size: 13px; background: var(--card2); color: var(--muted); }
.divs span.on { background: var(--c); color: #120f19; }
.divs span.here { outline: 2px solid #fff; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.timeline li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font-size: 14px; display: flex; gap: 10px; }
.timeline li span { color: var(--muted); margin-left: auto; white-space: nowrap; }

.reward { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.reward .n { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-weight: 900; background: var(--card2); }
.reward.got .n { background: linear-gradient(135deg, #ffe08a, #f2a93b); color: #2a1a00; }
.reward.now { border-color: #a28fff; }
.reward.now .n { background: linear-gradient(135deg, #a28fff, #6c4dff); color: #fff; }
.reward p { margin: 0; font-weight: 800; }
.reward small { color: var(--muted); font-size: 13px; }
.streak-card { background: linear-gradient(135deg, #2a2142, #1d1a27); border: 1px solid var(--line); border-radius: 20px; padding: 16px; margin: 8px 0 18px; }
.streak-card h2 { margin: 0 0 4px; font-size: 18px; }
.flames { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 6px; }
.flames i { width: 26px; height: 26px; border-radius: 8px; background: var(--card2); display: grid; place-items: center; font-style: normal; font-size: 15px; }
.flames i.on { background: #ff9f2e33; }

.setting { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin-bottom: 10px; }
.setting p { margin: 0; color: var(--muted); font-size: 13px; }
.switch { width: 54px; height: 32px; border-radius: 99px; border: 0; background: var(--line); position: relative; flex: none; }
.switch:after { content: ''; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch[aria-checked='true'] { background: var(--ok); }
.switch[aria-checked='true']:after { transform: translateX(22px); }

/* Grande célébration */
.celebrate { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--c) 45%, #0000), #05040af2 70%); animation: fade .3s; padding: 20px; text-align: center; }
.celebrate .box { max-width: 420px; }
.celebrate .emblem { width: 220px; animation: zoomin .8s cubic-bezier(.2,1.3,.4,1); }
.celebrate .nyx { height: 240px; animation: zoomin 1s cubic-bezier(.2,1.3,.4,1); filter: drop-shadow(0 0 30px var(--c)); }
.celebrate h2 { font-family: 'Cinzel', serif; font-size: 32px; margin: 10px 0 6px; color: #fff; text-shadow: 0 0 20px var(--c); }
.celebrate p { color: #e4def5; font-size: 17px; margin: 0 0 20px; }
.celebrate .flash { position: fixed; inset: 0; background: #fff; animation: flash .9s ease-out forwards; pointer-events: none; }
@keyframes flash { from { opacity: .95; } to { opacity: 0; } }
@keyframes zoomin { from { transform: scale(.3) rotate(-8deg); opacity: 0; } }
.confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 81; }
.confetti i { position: absolute; top: -20px; width: 9px; height: 14px; border-radius: 2px; animation: drop 2.6s linear forwards; }
@keyframes drop { to { transform: translateY(110vh) rotate(720deg); } }

.toast { position: fixed; z-index: 90; left: 50%; bottom: calc(100px + var(--safe-b)); transform: translateX(-50%); background: #2b2540; border: 1px solid var(--line); padding: 12px 18px; border-radius: 14px; font-weight: 800; box-shadow: 0 10px 30px #000a; animation: pop .3s; max-width: 90vw; }

/* Connexion */
.login { max-width: 420px; margin: 0 auto; padding: 30px 20px 60px; text-align: center; }
.login .nyx { height: 220px; }
.login h1 { font-family: 'Cinzel', serif; font-size: 30px; margin: 4px 0; color: var(--glow); }
.login p.lead { color: var(--muted); margin: 0 0 22px; }
.login form { text-align: left; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--card); padding: 5px; border-radius: 16px; margin-bottom: 16px; }
.tabs button { border: 0; background: transparent; padding: 11px; border-radius: 12px; font-weight: 900; }
.tabs button[aria-selected='true'] { background: var(--card2); color: #fff; }

@media (min-width: 900px) {
  .shell { max-width: 1100px; display: grid; grid-template-columns: 440px 1fr; gap: 0 28px; padding: 0 24px 60px; }
  .topbar { grid-column: 1 / -1; }
  .left-col { position: sticky; top: 72px; align-self: start; }
  .stage { position: relative; top: 0; }
  .stage.compact .stage-inner { height: 290px; }
  .stage.compact .bubble { display: block; }
  .right-col { padding-top: 0; }
  .fab { right: 40px; }
}

/* Mes idées */
.chat { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.msg.me { justify-self: end; background: #3a2d66; border-color: #4b3a85; border-bottom-right-radius: 6px; }
.msg.them { justify-self: start; border-bottom-left-radius: 6px; }
.msg .who { font-size: 12px; font-weight: 900; color: var(--muted); margin-bottom: 2px; }
.msg .txt { white-space: pre-wrap; }
.msg .when { font-size: 12px; color: var(--muted); margin-top: 4px; }
.idea-st.fait { color: var(--ok); } .idea-st.encours { color: var(--warn); } .idea-st.question { color: #7fe3ff; } .idea-st.impossible { color: #ff9aa8; }
.composer { position: sticky; bottom: 0; background: var(--bg); padding: 10px 0 calc(10px + var(--safe-b)); display: grid; gap: 8px; }

.login .nyx { filter: drop-shadow(0 0 28px #8f7bff88); }

.push-card { align-items: flex-start; }
.push-state { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 6px; padding: 6px 12px; border-radius: 99px; font-weight: 900; font-size: 15px; }
.push-state.on { background: #39d98a26; color: var(--ok); border: 1px solid #39d98a66; }
.push-state.off { background: #ff5d7322; color: #ff9aa8; border: 1px solid #ff5d7366; }
.push-state.blocked { background: #ffb64822; color: var(--warn); border: 1px solid #ffb64866; }
.push-state.checking { background: #ffffff12; color: var(--muted); }

.push-msg { margin: 10px 0 0 !important; padding: 10px 12px; border-radius: 12px; font-size: 14px !important; font-weight: 700; color: var(--text) !important; }
.push-msg.info { background: #6c8cff22; border: 1px solid #6c8cff66; }
.push-msg.err { background: #ff5d7322; border: 1px solid #ff5d7366; }
.push-msg.ok { background: #39d98a22; border: 1px solid #39d98a66; }
