/* Cadrevio — UI aplikacji. Ciemny interfejs jak w edytorach zdjęć: zdjęcie jest najjaśniejszym elementem ekranu. */
:root {
  --bg: #0c0d10;
  --surface: #15171c;
  --surface-2: #1d2027;
  --line: #2a2e37;
  --fg: #f2f3f5;
  --muted: #8f95a3;
  --accent: #4b74ff;
  --accent-ink: #ffffff;
  --strava: #fc5200;
  --danger: #ff6b6b;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 15px; line-height: 1.45; -webkit-tap-highlight-color: transparent; }
body { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); min-height: 100dvh; }
[hidden] { display: none !important; }
button, input, select { font: inherit; color: inherit; }
button:focus-visible, a:focus-visible, label:focus-within, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); }
.brand { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: .02em; text-transform: uppercase; display: flex; align-items: center; gap: 9px; }
.mark { width: 26px; height: 26px; color: var(--fg); flex: none; }
.who { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.who img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.who button { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; color: var(--fg); }

/* ---------- landing ---------- */
.landing { max-width: 1100px; margin: 0 auto; padding: 8px 16px 48px; display: grid; gap: 32px; }
@media (min-width: 900px) { .landing { grid-template-columns: 1fr 1fr; align-items: center; min-height: calc(100dvh - 70px); } }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(52px, 13vw, 92px); line-height: .9; margin: 0; text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { color: #c9cdd6; font-size: 17px; max-width: 34ch; margin: 18px 0 26px; }
.cta { display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
.fine { color: var(--muted); font-size: 12.5px; margin-top: 18px; max-width: 40ch; }
.strava-btn { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--strava); color: #fff; text-decoration: none; font-weight: 700; padding: 15px 18px; border-radius: 12px; font-size: 16px; }
.strava-btn svg { width: 20px; height: 20px; }
.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 8px; cursor: pointer; }
.showcase { overflow: hidden; border-radius: 18px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.show-track { display: flex; gap: 12px; width: max-content; animation: drift 60s linear infinite; }
.show-track canvas { width: 200px; height: 250px; border-radius: 14px; display: block; }
@keyframes drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .show-track { animation: none; } }

/* ---------- editor ---------- */
.editor { display: grid; gap: 14px; padding: 0 16px 110px; max-width: 1200px; margin: 0 auto; }
@media (min-width: 900px) { .editor { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; gap: 28px; } .stage { position: sticky; top: 70px; } }
.stage { min-width: 0; }
.canvas-wrap { display: flex; justify-content: center; border-radius: 14px; overflow: hidden; background: repeating-conic-gradient(#1b1e24 0 25%, #121418 0 50%) 0 0 / 20px 20px; }
#out { display: block; max-width: 100%; height: auto; max-height: 58dvh; width: auto; touch-action: none; cursor: grab; }
@media (min-width: 900px) { #out { max-height: calc(100dvh - 120px); } }
.hint { color: var(--muted); font-size: 12.5px; text-align: center; margin: 8px 0 0; }
.panel { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.strip-head { display: flex; justify-content: space-between; align-items: baseline; }
.count { font-family: var(--mono); font-size: 12px; color: var(--fg); }
.strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 8px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.tpl { flex: 0 0 auto; scroll-snap-align: start; border: 2px solid transparent; border-radius: 12px; padding: 0; background: var(--surface); cursor: pointer; position: relative; }
.tpl canvas { width: 92px; height: 115px; display: block; border-radius: 10px; }
.tpl span { position: absolute; left: 6px; bottom: 6px; font-size: 10.5px; font-weight: 700; background: rgba(0,0,0,.65); padding: 2px 6px; border-radius: 6px; }
.tpl[aria-selected=true] { border-color: var(--accent); }

.tabs { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-radius: 12px; padding: 4px; gap: 4px; }
.tabs button { border: 0; background: none; padding: 9px 4px; border-radius: 9px; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--muted); }
.tabs button[aria-selected=true] { background: var(--surface-2); color: var(--fg); }
.tab { display: flex; flex-direction: column; gap: 12px; background: var(--surface); border-radius: 14px; padding: 14px; }

.source { font-size: 13px; color: var(--muted); }
.acts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 320px; overflow-y: auto; }
.acts button { width: 100%; text-align: left; background: var(--surface-2); border: 1px solid transparent; border-radius: 10px; padding: 10px 12px; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; }
.acts button[aria-pressed=true] { border-color: var(--accent); }
.acts .n { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.acts .d { font-family: var(--mono); font-size: 12px; color: var(--fg); text-align: right; font-variant-numeric: tabular-nums; }
.acts .m { font-size: 12px; color: var(--muted); grid-column: 1 / -1; }
.empty { color: var(--muted); font-size: 13.5px; padding: 6px 2px; }

.primary-btn, .ghost-btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; padding: 12px 14px; font-weight: 700; cursor: pointer; text-align: center; }
.primary-btn { background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); }
.ghost-btn { background: var(--surface-2); border: 1px solid var(--line); color: var(--fg); }
.wide { width: 100%; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.row2 { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.field { display: flex; flex-direction: column; gap: 6px; }
input[type=text] { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; }
input[type=range] { accent-color: var(--accent); width: 100%; }
.toggle { display: flex; gap: 10px; align-items: center; font-size: 14px; cursor: pointer; }
.toggle input { width: 20px; height: 20px; accent-color: var(--accent); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--surface-2); border-radius: 10px; padding: 3px; gap: 3px; }
.seg button { border: 0; background: none; padding: 9px 4px; border-radius: 8px; font-weight: 600; font-size: 13.5px; cursor: pointer; color: var(--muted); }
.seg button[aria-pressed=true] { background: var(--accent); color: var(--accent-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { position: relative; border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; font-size: 13.5px; cursor: pointer; user-select: none; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip:has(input:checked) { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip.off { opacity: .35; pointer-events: none; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.sw { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; padding: 0; }
.sw[aria-pressed=true] { border-color: var(--fg); box-shadow: inset 0 0 0 3px var(--surface); }
.powered { font-size: 11.5px; color: var(--muted); text-align: right; margin: 0; }

.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .actionbar { left: auto; width: 520px; right: max(16px, calc((100vw - 1200px) / 2 + 16px)); bottom: 16px; border: 1px solid var(--line); border-radius: 16px; } }

.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(90px + env(safe-area-inset-bottom, 0px)); background: var(--fg); color: var(--bg); padding: 11px 16px; border-radius: 12px; font-weight: 600; font-size: 14px; z-index: 50; max-width: calc(100vw - 32px); box-shadow: 0 8px 30px rgba(0,0,0,.4); }
.toast.err { background: var(--danger); color: #1a0606; }

/* ---------- język, premium ---------- */
.lang { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; font-size: 13px; color: var(--fg); }
.who-slot { display: flex; align-items: center; gap: 8px; }
.who-slot .pro-chip { background: linear-gradient(135deg, #ffd36e, #ff9f43); color: #1b1300; border: 0; font-weight: 800; }
.tpl .pro { position: absolute; top: 6px; right: 6px; left: auto; bottom: auto; background: linear-gradient(135deg, #ffd36e, #ff9f43); color: #1b1300; font-size: 9.5px; letter-spacing: .06em; }
input[type=number] { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; font-variant-numeric: tabular-nums; }
.seg button:disabled { opacity: .35; cursor: default; }
.sheet-bg { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.6); display: flex; align-items: flex-end; justify-content: center; backdrop-filter: blur(4px); }
.sheet { width: 100%; max-width: 480px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px 22px 0 0; padding: 22px 18px calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 600px) { .sheet-bg { align-items: center; } .sheet { border-radius: 22px; } }
.sheet h2 { font-family: var(--display); font-weight: 800; font-size: 40px; text-transform: uppercase; margin: 0; line-height: 1; }
.pro-badge { display: inline-block; align-self: flex-start; margin: 0; background: linear-gradient(135deg, #ffd36e, #ff9f43); color: #1b1300; font-weight: 800; font-size: 12px; letter-spacing: .1em; padding: 4px 10px; border-radius: 999px; }
.sheet-lead { margin: 0; color: #c9cdd6; }
.perks { margin: 0; padding: 0 0 0 20px; color: var(--fg); display: grid; gap: 6px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plan { background: var(--surface-2); border: 2px solid var(--line); border-radius: 14px; padding: 14px; text-align: left; display: flex; flex-direction: column; gap: 4px; cursor: pointer; color: var(--fg); }
.plan span { font-size: 13px; color: var(--muted); }
.plan strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.plan[aria-pressed=true] { border-color: var(--accent); }

/* ---------- rozmiar i położenie ---------- */
.layout-box { display: flex; flex-direction: column; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.layout-head { display: flex; justify-content: space-between; align-items: center; }
.link-btn.small { padding: 2px 4px; font-size: 13px; }
.layout-row { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.pos-grid { display: grid; grid-template-columns: repeat(3, 34px); grid-template-rows: repeat(3, 34px); gap: 4px; padding: 6px; background: var(--surface-2); border-radius: 12px; }
.pos-grid button { border: 1px solid var(--line); background: transparent; border-radius: 7px; cursor: pointer; padding: 0; display: grid; place-items: center; }
.pos-grid button::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.pos-grid button[aria-checked=true] { background: var(--accent); border-color: var(--accent); }
.pos-grid button[aria-checked=true]::after { background: #fff; }
.size-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.size-col output { color: var(--fg); font-family: var(--mono); letter-spacing: 0; }
#posAuto[aria-pressed=true] { border-color: var(--accent); color: var(--fg); }
.fixed-note { margin: 0; font-size: 13px; color: var(--muted); }
.layout-box.disabled .layout-row { opacity: .35; pointer-events: none; }

/* ---------- pasek aktualizacji ---------- */
.update-bar { position: fixed; left: 50%; transform: translateX(-50%); top: calc(env(safe-area-inset-top, 0px) + 64px); z-index: 70;
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 14px; max-width: calc(100vw - 32px);
  background: var(--surface-2); border: 1px solid var(--accent); box-shadow: 0 10px 30px rgba(0,0,0,.45); font-weight: 600; font-size: 14px; }
.update-bar .primary-btn { padding: 8px 14px; white-space: nowrap; }

/* ---------- przesunięcie stylu w pionie ---------- */
.shift-head { display: flex; justify-content: space-between; align-items: center; }
.shift-head output { color: var(--fg); font-family: var(--mono); letter-spacing: 0; }
.shift-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; color: var(--muted); font-weight: 700; }

.drag-seg { max-width: 360px; margin: 10px auto 0; }

/* ---------- przykłady na stronie startowej ---------- */
.examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 22px; max-width: 420px; }
.examples figure { margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.examples canvas { width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 10px; display: block; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.examples figcaption { font-size: 11.5px; color: var(--muted); text-align: center; font-weight: 600; }
.fine a, .legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.legal { margin: 0; font-size: 11.5px; text-align: right; }

/* ---------- powiększony podgląd ---------- */
.zoom-row { display: flex; justify-content: center; margin-top: 8px; }
.zoom-row .ghost-btn { padding: 8px 14px; font-size: 13.5px; }
.viewer { position: fixed; inset: 0; z-index: 80; background: #050608; display: flex; flex-direction: column;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) 12px calc(env(safe-area-inset-bottom, 0px) + 12px); gap: 12px; }
.viewer-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.viewer-frame { position: relative; flex: none; }
.viewer-frame img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 8px;
  background: repeating-conic-gradient(#1b1e24 0 25%, #121418 0 50%) 0 0 / 20px 20px; }
.safe { position: absolute; left: 0; right: 0; background: rgba(255, 70, 70, .28); border: 2px dashed rgba(255,255,255,.75);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 6px; }
.safe span { font-size: 12px; font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.8); }
.safe-top { top: 0; height: 13%; border-radius: 8px 8px 0 0; }
.safe-bot { bottom: 0; height: 17.7%; border-radius: 0 0 8px 8px; }
.viewer-bar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; max-width: 520px; width: 100%; margin: 0 auto; }

/* ---------- ulubione style ---------- */
.favs { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; min-height: 40px; }
.favs::-webkit-scrollbar { display: none; }
.fav { flex: 0 0 auto; position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.fav-btn { border: 2px solid var(--line); background: var(--surface); border-radius: 10px; padding: 0; cursor: pointer; overflow: hidden; }
.fav-btn:hover, .fav-btn:focus-visible { border-color: var(--accent); }
.fav canvas { width: 64px; height: 80px; display: block; }
.fav span { font-size: 11px; color: var(--muted); max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fav-x { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); font-size: 13px; line-height: 1; cursor: pointer; padding: 0; }
.favs-empty { font-size: 12.5px; color: var(--muted); align-self: center; }
/* kolor automatyczny */
.sw.auto { background: linear-gradient(135deg, #ffffff 0 50%, #111111 50% 100%); position: relative; }
.sw.auto::after { content: "A"; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #4b74ff; }

/* ---------- Apple / Safari ---------- */
input[type=text], input[type=number], select { font-size: 16px; } /* iOS nie powiększa wtedy strony przy wpisywaniu */
#out, .tpl canvas, .fav canvas { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.top { -webkit-backdrop-filter: blur(12px); }
.actionbar { -webkit-backdrop-filter: blur(14px); }
.sheet-bg { -webkit-backdrop-filter: blur(4px); }
.ios-tip { display: flex; gap: 10px; align-items: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; margin: 14px 0 0; max-width: 420px; }
.ios-tip span { flex: 1; }
.ios-tip svg { width: 15px; height: 15px; vertical-align: -2px; }
.ios-tip-x { background: none; border: 0; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; padding: 0 2px; }
.panel .ios-tip { margin: 0; max-width: none; }

.who-slot .strava-btn { white-space: nowrap; gap: 6px; }
.lbl-short { display: none; }
@media (max-width: 440px) { .lbl-long { display: none; } .lbl-short { display: inline; } .brand { font-size: 21px; } }

a.brand { color: var(--fg); text-decoration: none; }
#openEditor { padding: 15px 18px; font-size: 16px; border-radius: 12px; }

/* ---------- uwaga o stylu bez danych ---------- */
.tpl-note { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 10px 0 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 13.5px; line-height: 1.4; }
.tpl-note[hidden] { display: none; }
/* ---------- wszystkie style jako siatka ---------- */
.strip-tools { display: inline-flex; align-items: baseline; gap: 12px; }
.strip.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); overflow: visible; scroll-snap-type: none; }
.strip.grid .tpl canvas { width: 100%; height: auto; aspect-ratio: 4 / 5; }
/* ---------- mały podgląd na telefonie ---------- */
.mini-prev { position: fixed; z-index: 25; right: 12px; top: calc(env(safe-area-inset-top, 0px) + 66px); width: 92px; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 10px 30px rgba(0,0,0,.55); cursor: pointer; opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .2s; }
.mini-prev.on { opacity: 1; transform: none; }
.mini-prev[hidden] { display: none; }
.mini-prev canvas { display: block; width: 100%; height: auto; }
@media (min-width: 900px) { .mini-prev { display: none !important; } }

/* ---------- animowane style ---------- */
.anim-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; }
.anim-bar[hidden], .anim-dur[hidden], .anim-note[hidden] { display: none; }
.anim-toggle { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.anim-toggle[aria-pressed="true"] { border-color: var(--accent, #ff5a1f); background: color-mix(in srgb, var(--accent, #ff5a1f) 16%, var(--surface)); }
.anim-toggle:disabled { opacity: .5; cursor: not-allowed; }
.anim-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted, #888); }
.anim-toggle[aria-pressed="true"] .anim-dot { background: var(--accent, #ff5a1f); animation: animPulse 1.2s ease-in-out infinite; }
@keyframes animPulse { 50% { opacity: .35; transform: scale(.8); } }
.anim-dur { width: auto; }
.anim-dur button { padding: 7px 14px; }
.anim-note { width: 100%; margin: 0; text-align: center; font-size: 13px; color: var(--muted, #999); }
.tpl .anim-badge { position: absolute; top: 6px; left: 6px; right: auto; bottom: auto; width: 20px; height: 20px; padding: 0; display: grid; place-items: center; font-size: 9px; border-radius: 50%; background: rgba(0,0,0,.7); color: #fff; }
@media (prefers-reduced-motion: reduce) { .anim-toggle[aria-pressed="true"] .anim-dot { animation: none; } }
/* ---------- konto ---------- */
.or-line { display: flex; align-items: center; gap: 10px; margin: 2px 0; color: var(--muted); font-size: 13px; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.or-line[hidden], .email-form[hidden] { display: none; }
.email-form { display: flex; flex-direction: column; gap: 10px; }
.email-form input { width: 100%; }
.sent-note { background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 12px; padding: 12px; }
.sheet .fine { font-size: 12.5px; color: var(--muted); margin: 0; }
.link-btn.danger { color: var(--danger); }
.who-slot .acc-btn { width: 30px; height: 30px; padding: 0; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--accent); color: var(--accent-ink); border: 0; text-transform: uppercase; }
.email-form input { background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 16px; }
.email-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
#googleBtn, #acConnect { text-decoration: none; text-align: center; }

/* ---------- style partnerów ---------- */
.tpl.partner::after { content: "★"; position: absolute; top: 6px; left: 6px; width: 20px; height: 20px; display: grid; place-items: center; font-size: 11px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.tpl.partner .anim-badge { left: 30px; }
#codeInput { text-transform: uppercase; letter-spacing: .08em; }
/* logowanie widoczne na ekranie startowym */
.login-cta { gap: 8px; }
.login-cta svg { width: 18px; height: 18px; flex: none; }
.who-slot .signin-top { background: var(--fg); color: var(--bg); border: 0; font-weight: 700; padding: 7px 14px; }
