@property --c  { syntax: '<color>'; inherits: true; initial-value: #2fd47a; }
@property --c2 { syntax: '<color>'; inherits: true; initial-value: #8ff0b8; }
@property --p  { syntax: '<number>'; inherits: true; initial-value: 0; }

:root {
  --strip-h: 6px; --remind-h: 14px;
  --blue-1: #0a3a8c; --blue-2: #1f7cff; --blue-3: #5fd0ff;
  --ui: 'Inter', 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  /* trygge soner: env() med reserveverdi (--sa?-min settes for iOS Hjem-skjerm-app) */
  --sat: max(env(safe-area-inset-top, 0px), var(--sat-min, 0px)); --sab: max(env(safe-area-inset-bottom, 0px), var(--sab-min, 0px));
  --sal: max(env(safe-area-inset-left, 0px), var(--sal-min, 0px)); --sar: max(env(safe-area-inset-right, 0px), var(--sar-min, 0px));
  --top-gap: 4px;
  transition: --c 1.2s linear, --c2 1.2s linear;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #07080c; color: #e9ecf5; font-family: var(--ui);
  -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; }
button { font: inherit; color: inherit; }
.view { display: none; }
html.v-strip #strip-view { display: block; }
html.v-panel #panel-view { display: grid; }
.dim { color: #8d95ab; }

/* ---------- Måler (felles for stripe og panel) ---------- */
.meter .track { position: absolute; inset: 0; background: rgba(255,255,255,.07); box-shadow: inset 0 -1px 0 rgba(0,0,0,.35); }
.meter .fill { position: absolute; top: 0; left: 0; bottom: 0; width: calc(var(--p) * 100%);
  background: linear-gradient(90deg, color-mix(in oklab, var(--c) 72%, #0b0d14) 0%, var(--c) 70%, var(--c2) 100%);
  box-shadow: 0 0 8px color-mix(in oklab, var(--c) 70%, transparent), 0 0 22px color-mix(in oklab, var(--c) 35%, transparent);
  border-radius: 0 3px 3px 0; transition: width 1.2s cubic-bezier(.3,.7,.2,1), opacity .4s; overflow: hidden; }
.meter .fill::before { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 60%, transparent 100%);
  background-size: 40% 100%; background-repeat: no-repeat; animation: sheen 4.5s cubic-bezier(.45,.05,.55,.95) infinite; mix-blend-mode: overlay; }
.meter .fill::after { content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 2px, transparent 2px 28px); animation: drift 6s linear infinite; opacity: .7; }
.meter .tip { position: absolute; top: 0; bottom: 0; width: 14px; left: calc(var(--p) * 100% - 7px);
  background: radial-gradient(closest-side, #fff, color-mix(in oklab, var(--c2) 70%, transparent) 55%, transparent);
  filter: blur(.5px); animation: tip 2.4s ease-in-out infinite; transition: left 1.2s cubic-bezier(.3,.7,.2,1), opacity .4s; }
.idle .meter .tip, .idle .meter .fill::before { opacity: 0; }
.paused .meter .fill::before, .paused .meter .tip { animation-play-state: paused; }
.paused .meter .fill { opacity: .55; }
@keyframes sheen { 0% { background-position: -60% 0; } 100% { background-position: 160% 0; } }
@keyframes drift { from { background-position: 0 0; } to { background-position: 28px 0; } }
@keyframes tip { 0%,100% { opacity: .65; transform: scaleX(1); } 50% { opacity: 1; transform: scaleX(1.5); } }

.meter .remind { position: absolute; inset: 0; opacity: 0; pointer-events: none; cursor: pointer;
  background: linear-gradient(90deg, var(--blue-1), var(--blue-2) 25%, var(--blue-3) 50%, var(--blue-2) 75%, var(--blue-1));
  background-size: 200% 100%; transition: opacity .5s;
  display: flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; overflow: hidden;
  font-size: 10.5px; font-weight: 650; letter-spacing: .02em; color: #fff; text-shadow: 0 1px 2px rgba(0,20,60,.6); }
.meter .remind .hint { font-weight: 500; opacity: .78; font-size: .9em; }
.meter .remind .dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.6); flex: none; }
.reminding .meter .fill, .reminding .meter .tip { opacity: 0; }
.reminding .meter .remind { opacity: 1; pointer-events: auto; animation: flow 7s linear infinite, breathe 3.6s ease-in-out infinite; }
@keyframes flow { from { background-position: 0% 0; } to { background-position: -200% 0; } }
@keyframes breathe {
  0%,100% { filter: brightness(.82) saturate(.9); box-shadow: 0 0 6px rgba(60,160,255,.35), 0 0 14px rgba(60,160,255,.15); }
  50%     { filter: brightness(1.12) saturate(1.1); box-shadow: 0 0 14px rgba(80,190,255,.75), 0 0 34px rgba(60,160,255,.35); }
}

/* ---------- Stripevisning ---------- */
#strip-view { position: fixed; inset: 0;
  background: radial-gradient(1200px 700px at 15% 110%, #2a1d5c 0%, transparent 60%),
              radial-gradient(900px 600px at 95% -10%, #0f3b5c 0%, transparent 60%),
              linear-gradient(160deg, #10131d, #0b0d14 60%, #121025); }
.strip { position: fixed; top: 0; left: 0; right: 0; height: var(--strip-h); z-index: 50; cursor: pointer;
  transition: height .45s cubic-bezier(.2,.8,.2,1); }
.reminding .strip { height: var(--remind-h); }
.strip .remind { line-height: var(--remind-h); }
.hit { position: fixed; top: 0; left: 0; right: 0; height: 10px; z-index: 51; }
.reminding .hit { display: none; }

.hpanel { position: fixed; top: var(--strip-h); right: 28px; width: 360px; height: 120px; z-index: 49;
  padding: 12px 16px; border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, rgba(22,25,36,.92), rgba(14,16,24,.9));
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.08); border-top: none;
  box-shadow: 0 18px 40px rgba(0,0,0,.55), 0 0 0 .5px rgba(255,255,255,.04), 0 -2px 18px color-mix(in oklab, var(--c) 30%, transparent);
  transform-origin: top center; transform: scaleY(.2) translateY(-20px); opacity: 0; pointer-events: none;
  transition: transform .35s cubic-bezier(.2,.9,.25,1.1), opacity .25s;
  display: grid; grid-template-rows: auto 1fr auto; row-gap: 4px; }
.hpanel::before { content: ''; position: absolute; left: 14px; right: 14px; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--c2), transparent); opacity: .8; }
.hpanel.open { transform: none; opacity: 1; pointer-events: auto; }
.hpanel .row1 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.goal { font-size: 13px; font-weight: 600; color: #cfd5e6; display: flex; align-items: center; gap: 7px; min-width: 0; }
.goal span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flag { width: 8px; height: 8px; border-radius: 2px; background: var(--c); box-shadow: 0 0 8px var(--c); flex: none; }
.r1r { display: flex; align-items: center; gap: 4px; flex: none; }
.pct { font-size: 12px; font-weight: 700; color: var(--c2); font-variant-numeric: tabular-nums; margin-right: 4px; }
.ib { width: 22px; height: 22px; padding: 4px; border-radius: 7px; border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.04); color: #aeb5c8; cursor: pointer; display: inline-grid; place-items: center; }
.ib:hover { background: rgba(255,255,255,.1); color: #fff; }
.ib svg { width: 100%; height: 100%; display: block; }
.hpanel .remain { font-size: 26px; font-weight: 750; letter-spacing: -.02em; line-height: 1.05; align-self: center;
  background: linear-gradient(90deg, #fff 0%, #fff 55%, var(--c2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.hpanel .remain small { font-size: 15px; font-weight: 500; -webkit-text-fill-color: #8d95ab; margin-left: 6px; letter-spacing: 0; }
.hpanel .row3 { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #aeb5c8; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 7px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); white-space: nowrap; }
.chip svg { display: block; }
.chip.water { cursor: pointer; }
.chip.water:hover { background: rgba(95,208,255,.1); }
.drops { display: inline-flex; gap: 2px; }
.hpanel .drops { margin-right: 4px; }
.water b, .i-water b { color: #e8f6ff; font-weight: 650; }
svg.d { display: block; fill: rgba(95,208,255,.10); stroke: rgba(120,200,255,.5); stroke-width: 1.2; overflow: visible; }
svg.d.full { fill: url(#dropGrad); stroke: #8fe0ff; stroke-width: 1; filter: drop-shadow(0 0 2px rgba(95,208,255,.85)); }

/* kompakt infolinje i lave vinduer */
.info { display: none; position: fixed; left: 0; right: 0; top: calc(var(--remind-h) + 2px); height: 24px; padding: 0 10px;
  align-items: center; gap: 8px; font-size: 12px; color: #cfd5e6; white-space: nowrap; overflow: hidden; }
.info .sep { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.25); flex: none; }
.info .grow { flex: 1; }
.info b { font-variant-numeric: tabular-nums; }
.i-goal { overflow: hidden; text-overflow: ellipsis; max-width: 30vw; }
.i-water { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.info .ib { width: 20px; height: 20px; }
.tabcard { display: none; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, 90vw);
  padding: 24px 26px; border-radius: 18px; background: rgba(16,18,28,.75); border: 1px solid rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.tabcard h1 { margin: 0 0 8px; font-size: 20px; }
.tabcard p { margin: 0 0 16px; color: #aeb5c8; font-size: 14px; line-height: 1.5; }
.tabcard .tip { margin: 16px 0 0; font-size: 12.5px; color: #7f88a0; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; }
@media (min-height: 24px) and (max-height: 139px) { .info { display: flex; } .hpanel { display: none; } }
@media (min-height: 330px) { .tabcard { display: block; } }
@media (display-mode: window-controls-overlay) {
  .info { -webkit-app-region: drag; app-region: drag;
    padding-right: calc(100vw - env(titlebar-area-x, 0px) - env(titlebar-area-width, 100vw) + 10px); }
  .info button, .info [role=button] { -webkit-app-region: no-drag; app-region: no-drag; }
}

/* ---------- Knapper ---------- */
.btn { font: 600 14px var(--ui); color: #dfe4f1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  padding: 10px 16px; border-radius: 11px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.btn:hover { background: rgba(255,255,255,.11); }
.btn.primary { background: linear-gradient(180deg, #2fd47a, #1fa65d); border-color: transparent; color: #04140b; }
.btn.danger { color: #ff8a8a; border-color: rgba(255,90,90,.3); }
.btn.small { padding: 6px 12px; font-size: 13px; border-radius: 9px; }
.btn[disabled] { opacity: .4; pointer-events: none; }

/* ---------- Panelvisning ---------- */
#panel-view { position: fixed; inset: 0; grid-template-rows: auto 1fr auto; row-gap: 8px;
  padding: calc(var(--sat) + 52px) max(20px, var(--sar)) max(16px, calc(var(--sab) + 6px)) max(20px, var(--sal));
  background: radial-gradient(120% 60% at 30% 0%, color-mix(in oklab, var(--c) 10%, transparent), transparent 70%), #07080c;
  transition: padding-top .45s cubic-bezier(.2,.8,.2,1); user-select: none; -webkit-user-select: none; }
.pbar { position: absolute; left: var(--sal); right: var(--sar); top: calc(var(--sat) + var(--top-gap)); height: 10px; z-index: 5;
  clip-path: inset(0 -40px -80px -40px); /* glød kun nedover, aldri inn i statuslinjen */ transition: height .45s cubic-bezier(.2,.8,.2,1); }
.pbar .remind { font-size: 16px; gap: 12px; }
.reminding .pbar { height: 52px; }
.reminding #panel-view { padding-top: calc(var(--sat) + var(--top-gap) + 72px); }
/* rolig, ensfarget flate bak statuslinjen / Dynamic Island */
#panel-view::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: var(--sat); background: #07080c; z-index: 7; pointer-events: none; }
.reminding #panel-view::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 4;
  box-shadow: inset 0 0 60px rgba(40,140,255,.35); animation: vign 3.6s ease-in-out infinite; }
@keyframes vign { 0%,100% { opacity: .45; } 50% { opacity: 1; } }
.pglow { position: absolute; left: var(--sal); top: calc(var(--sat) + var(--top-gap) + 10px); width: calc(var(--p) * (100% - var(--sal) - var(--sar))); height: 34px; pointer-events: none;
  background: linear-gradient(180deg, color-mix(in oklab, var(--c) 18%, transparent), transparent);
  -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent); mask-image: linear-gradient(90deg, #000 60%, transparent);
  transition: width 1.2s cubic-bezier(.3,.7,.2,1); }
.reminding .pglow { opacity: 0; }
.prow1 { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prow1 .goal { font-size: clamp(16px, 2.6vw, 24px); color: #b8bfd0; gap: 10px; }
.prow1 .flag { width: .5em; height: .5em; border-radius: 3px; }
.prow1 .pct { font-size: clamp(16px, 2.6vw, 24px); color: color-mix(in oklab, var(--c2) 80%, #fff); margin-right: 8px; }
.ib.big { width: 40px; height: 40px; padding: 10px; border-radius: 12px; }
.pbig { align-self: center; font-weight: 800; letter-spacing: -.035em; line-height: 1; white-space: nowrap;
  font-size: min(16vw, 30vh, 190px); font-variant-numeric: tabular-nums; }
.pbig small { font-size: .36em; font-weight: 500; color: #8a92a8; letter-spacing: 0; margin-left: .3em; }
.pbig .h:empty { display: none; }
.pfoot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px;
  border: 1px solid #1c2030; background: #0b0d13; border-radius: 18px; }
.brk { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #aab2c5; font-weight: 500; line-height: 1.25; }
.brk b { display: block; color: #fff; font-size: 19px; font-weight: 700; }
.brk .cup { width: 26px; height: 26px; color: #c9b48a; flex: none; }
.pwater { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.pwater .drops { gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.pwater .drops button { border: 0; background: none; padding: 4px 3px; cursor: pointer; border-radius: 8px; }
.pwater .drops button:active { transform: scale(.9); }
.pwater .drops svg.d { width: min(22px, 5.4vh); height: auto; aspect-ratio: 12/16; }
.pwater .t { font-size: 13px; color: #9fb7cc; }
.pwater .t b { color: #e8f6ff; }
.pwater .drops button.pop svg { animation: pop .5s; }
@keyframes pop { 40% { transform: scale(1.35); } }
@media (orientation: portrait) {
  #panel-view { row-gap: 14px; }
  .pbig { font-size: min(27vw, 15vh); line-height: .98; white-space: normal; }
  .pbig .h, .pbig .m { display: block; }
  .pbig small { display: block; margin: .25em 0 0 .05em; font-size: .3em; }
  .prow1 { gap: 8px; }
  .prow1 .goal { font-size: 17px; gap: 8px; }
  .prow1 .pct { font-size: 16px; margin-right: 2px; }
  .prow1 .ib.big { width: 36px; height: 36px; padding: 9px; border-radius: 11px; }
  .pfoot { flex-direction: column; align-items: stretch; gap: 16px; padding: 18px; }
  .pwater { align-items: center; border-top: 1px solid #1c2030; padding-top: 14px; }
  .pwater .drops { justify-content: center; }
  .pwater .drops svg.d { width: 26px; }
  .pwater .drops button { padding: 6px 5px; }
}

/* ---------- Innstillinger ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center;
  background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .25s; }
.sheet-wrap.open { opacity: 1; pointer-events: auto; }
.sheet { width: min(520px, 100%); max-height: calc(100% - var(--sat) - 10px); overflow: auto; -webkit-overflow-scrolling: touch;
  background: linear-gradient(180deg, #171a25, #10121a); border: 1px solid rgba(255,255,255,.08); border-bottom: 0;
  border-radius: 22px 22px 0 0; padding: 8px 20px calc(20px + var(--sab)); box-shadow: 0 -20px 50px rgba(0,0,0,.5);
  transform: translateY(30px); transition: transform .3s cubic-bezier(.2,.9,.25,1); }
.sheet-wrap.open .sheet { transform: none; }
@media (min-width: 700px) and (min-height: 640px) {
  .sheet-wrap { align-items: center; } .sheet { border-radius: 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
}
.grab { width: 40px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.18); margin: 0 auto 8px; }
.sh-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sh-head h2 { margin: 0; font-size: 20px; }
.ctl { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.status { font-size: 13px; color: #8d95ab; margin: 8px 0 14px; min-height: 1.2em; }
.f { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; min-width: 0; }
.f > span { font-size: 12.5px; color: #8d95ab; font-weight: 600; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.f input[type=text], .f input[type=number], .f input[type=time] { font: 500 16px var(--ui); color: #fff; width: 100%;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 11px; padding: 10px 12px; min-height: 44px; }
.f input:focus { outline: 2px solid color-mix(in oklab, var(--c) 70%, transparent); outline-offset: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: rgba(255,255,255,.05); border-radius: 11px; padding: 3px; border: 1px solid rgba(255,255,255,.08); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 9px; border-radius: 9px; font-size: 14px; font-weight: 600; color: #aeb5c8; cursor: pointer; }
.seg input:checked + span { background: rgba(255,255,255,.12); color: #fff; }
.stepper { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 8px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 11px; padding: 0 5px; }
.stepper .btn { min-width: 36px; font-size: 18px; padding: 4px 10px; }
.stepper b { font-size: 17px; }
.note { font-size: 12px; color: #7f88a0; margin: -4px 0 12px; }
.note:empty { display: none; }
.tg { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 15px; cursor: pointer; }
.tg input { position: absolute; opacity: 0; pointer-events: none; }
.tg .sw { width: 46px; height: 28px; border-radius: 14px; background: rgba(255,255,255,.14); position: relative; flex: none; transition: background .2s; }
.tg .sw::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; }
.tg input:checked + .sw { background: #2fd47a; }
.tg input:checked + .sw::after { transform: translateX(18px); }
.tg input:focus-visible + .sw { outline: 2px solid #5fd0ff; }
.links { margin-top: 10px; font-size: 13px; color: #6f7890; text-align: center; }
.links a { color: #8fb8ff; text-decoration: none; }

.demo-badge { position: fixed; right: max(10px, var(--sar)); bottom: max(8px, var(--sab)); z-index: 60; font: 700 10px var(--ui);
  letter-spacing: .1em; color: #ffd27a; background: rgba(60,40,0,.6); border: 1px solid rgba(255,200,90,.35); padding: 3px 7px; border-radius: 6px; pointer-events: none; }
html.v-strip .demo-badge { top: 16px; bottom: auto; }
.toast { position: fixed; left: 50%; bottom: calc(24px + var(--sab)); transform: translate(-50%, 20px); z-index: 120; opacity: 0; pointer-events: none;
  background: rgba(20,22,32,.95); border: 1px solid rgba(255,255,255,.1); padding: 9px 14px; border-radius: 11px; font-size: 13px; transition: .25s; max-width: 90vw; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0s !important; animation-iteration-count: 1 !important; } }
[hidden] { display: none !important; }

/* ---------- Fullskjerm-hjelp for iPhone ---------- */
.btn.wide { width: 100%; margin-top: 6px; padding: 13px; font-size: 16px; }
.ios-sheet { text-align: center; padding-top: 8px; }
.ios-sheet h2 { margin: 6px 0 6px; font-size: 20px; }
.ios-lead { margin: 0 auto 14px; max-width: 340px; color: #c3c9d8; font-size: 15px; line-height: 1.45; }
.ios-inline { width: 18px; height: 18px; vertical-align: -3px; color: #0a84ff; }
.ios-art { display: flex; justify-content: center; margin: 4px 0 8px; }
.ios-phone { position: relative; width: 120px; height: 86px; border-radius: 16px 16px 0 0; border: 2px solid rgba(255,255,255,.18); border-bottom: 0;
  background: linear-gradient(180deg, #11141e, #0b0d14); overflow: hidden; }
.ios-bar { position: absolute; left: 10px; right: 10px; top: 12px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.08); }
.ios-bar span { display: block; width: 60%; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #1fa65d, #ff9a2e); box-shadow: 0 0 8px rgba(255,154,46,.6); }
.ios-tb { position: absolute; left: 0; right: 0; bottom: 0; height: 34px; background: rgba(255,255,255,.06); border-top: 1px solid rgba(255,255,255,.08);
  display: grid; place-items: center; }
.ios-share { width: 24px; height: 24px; color: #0a84ff; animation: nudge 1.8s ease-in-out infinite; filter: drop-shadow(0 0 6px rgba(10,132,255,.6)); }
@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.ios-steps { list-style: none; padding: 0; margin: 0 0 14px; text-align: left; display: grid; gap: 8px; }
.ios-steps li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07); font-size: 14.5px; color: #c3c9d8; }
.ios-steps li svg { width: 22px; height: 22px; color: #0a84ff; flex: none; }
.ios-steps b { color: #fff; font-weight: 650; }

/* ---------- Logo C ---------- */
.logo { width: 1.05em; height: 1.05em; flex: none; color: #fff; opacity: .92; }
.tabcard h1, .sh-head h2 { display: flex; align-items: center; gap: .45em; }
.sh-head h2 .logo { opacity: .75; width: .95em; height: .95em; }

/* ---------- Merke øverst (logo + fokusflyt.no) ---------- */
.brand { display: none; position: fixed; left: 50%; top: calc(var(--sat) + var(--top-gap) + 18px); transform: translateX(-50%); z-index: 6;
  align-items: center; gap: 6px; font: 500 12px/1 var(--ui); letter-spacing: .02em; color: #8d95ab; white-space: nowrap;
  pointer-events: none; transition: opacity .3s; }
.brand svg { width: 20px; height: 20px; color: #e9ecf5; opacity: .75; }
html.v-panel .brand { display: flex; }
@media (min-height: 330px) { html.v-strip .brand { display: flex; top: calc(var(--strip-h) + 14px); } }
.reminding .brand { opacity: 0; }

/* iOS Hjem-skjerm-app (black-translucent): reserveinnrykk hvis env() gir 0 */
html.ios-standalone { --sat-min: 47px; --sab-min: 20px; }
@media (orientation: landscape) { html.ios-standalone { --sat-min: 0px; --sal-min: 44px; --sar-min: 44px; --sab-min: 20px; } }
