/* Watacha Wilków V — śnieg i sosna za dnia, nocny las po zmroku. */

@font-face { font-family: "Alegreya"; font-weight: 500; font-display: swap; src: url(fonts/alegreya-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Alegreya"; font-weight: 500; font-display: swap; src: url(fonts/alegreya-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya"; font-weight: 700; font-display: swap; src: url(fonts/alegreya-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Alegreya"; font-weight: 700; font-display: swap; src: url(fonts/alegreya-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya Sans"; font-weight: 400; font-display: swap; src: url(fonts/alegreya-sans-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Alegreya Sans"; font-weight: 400; font-display: swap; src: url(fonts/alegreya-sans-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya Sans"; font-weight: 400; font-style: italic; font-display: swap; src: url(fonts/alegreya-sans-latin-ext-400-italic.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Alegreya Sans"; font-weight: 400; font-style: italic; font-display: swap; src: url(fonts/alegreya-sans-latin-400-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya Sans"; font-weight: 700; font-display: swap; src: url(fonts/alegreya-sans-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Alegreya Sans"; font-weight: 700; font-display: swap; src: url(fonts/alegreya-sans-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --bg: #e9edf1;
    --surface: #f8fafb;
    --surface-2: #dfe5eb;
    --line: #c9d2db;
    --ink: #1d2733;
    --muted: #586576;
    --pine: #2d5a4c;
    --pine-ink: #ffffff;
    --pine-soft: #d6e5df;
    --amber: #9a6514;
    --amber-soft: #f4e6c9;
    --ember: #b8321f;
    --ember-ink: #ffffff;
    --ember-soft: #f6dcd6;
    --ok: #2f7a4f;
    --ok-soft: #d9eee1;
    --radius: 10px;
    --radius-sm: 7px;
    --serif: "Alegreya", Georgia, serif;
    --sans: "Alegreya Sans", system-ui, sans-serif;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #11181d;
        --surface: #19232a;
        --surface-2: #223039;
        --line: #2e3d48;
        --ink: #e3e9ee;
        --muted: #93a3b0;
        --pine: #6cb39a;
        --pine-ink: #0d1915;
        --pine-soft: #1f3a32;
        --amber: #e2b45a;
        --amber-soft: #3a2f19;
        --ember: #f0624b;
        --ember-ink: #1b0a07;
        --ember-soft: #43201a;
        --ok: #66c28e;
        --ok-soft: #1c3627;
        color-scheme: dark;
    }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 17px/1.5 var(--sans);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 .8em; }
a { color: var(--pine); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
img { max-width: 100%; }
code, .mono { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .9em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
[hidden] { display: none !important; }

/* --- nagłówek i zakładki --- */
.top {
    position: sticky; top: 0; z-index: 20;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 8px 16px; padding-top: max(8px, env(safe-area-inset-top));
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand-mark { font-size: 1.6rem; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; white-space: nowrap; }
.brand-name b { color: var(--pine); font-weight: 700; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.online-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; border-radius: 999px; background: var(--surface-2);
    color: var(--ink); text-decoration: none; font-weight: 700; font-size: .9rem;
}
.online-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.sound-btn {
    font-size: 1.15rem; line-height: 1; padding: 6px 9px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--surface); cursor: pointer;
}
.sound-btn.is-on { background: var(--pine-soft); border-color: var(--pine); }
.sound-btn.needs-tap { border-color: var(--amber); background: var(--amber-soft); animation: nudge 1.6s ease-in-out infinite; }
.me { display: flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; font-weight: 700; }
.me-nick { max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tabs {
    display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none;
    padding: 0 8px; background: var(--surface); border-bottom: 1px solid var(--line);
}
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
    display: flex; align-items: center; gap: 6px; white-space: nowrap;
    padding: 10px 12px; color: var(--muted); text-decoration: none; font-weight: 700;
    border-bottom: 3px solid transparent;
}
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--ink); border-bottom-color: var(--pine); }

/* --- treść --- */
.wrap { width: 100%; max-width: 780px; margin: 0 auto; padding: 16px; flex: 1; }
.page-title { margin: 8px 0 16px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.page-head .page-title { margin-bottom: 12px; }
.crumbs { margin: 4px 0 8px; font-size: .95rem; }
.card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 16px 18px; margin-bottom: 14px;
}
.card > :last-child { margin-bottom: 0; }
.card-alert { border-color: var(--ember); border-left-width: 5px; }
.card-accent { border-color: var(--amber); border-left-width: 5px; }
.card-link { display: block; color: var(--ink); text-decoration: none; }
.card-link:hover { border-color: var(--pine); }
.card-link-title { color: var(--pine); margin-bottom: .3em; }
.grid-2 { display: grid; gap: 0 14px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.link-list li:last-child { border-bottom: 0; }
.list-card { padding: 6px 18px; }
.list-card > h2 { margin-top: 10px; }

.prose { overflow-wrap: anywhere; }
.prose h3 { margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 .8em; }
.prose li { margin-bottom: .2em; }
.prose blockquote { margin: 0 0 .8em; padding: 6px 12px; border-left: 4px solid var(--line); color: var(--muted); }
.prose p:last-child { margin-bottom: 0; }

/* --- komunikaty --- */
.flash { border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 14px; font-weight: 700; }
.flash-ok { background: var(--ok-soft); color: var(--ok); }
.flash-error { background: var(--ember-soft); color: var(--ember); }
.badge {
    display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .8rem; font-weight: 700;
    background: var(--surface-2); color: var(--muted); vertical-align: middle;
}
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-alert { background: var(--ember-soft); color: var(--ember); }
.badge-accent { background: var(--amber-soft); color: var(--amber); }

/* --- formularze i przyciski --- */
label { display: block; font-weight: 700; margin-bottom: 12px; }
label.inline { display: inline-block; margin-bottom: 0; }
label.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
label.check input { margin-top: 5px; }
input[type=text], input[type=password], input[type=search], input[type=number], input[type=datetime-local], select, textarea {
    display: block; width: 100%; margin-top: 4px;
    font: inherit; font-weight: 400; color: var(--ink);
    background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 9px 11px;
}
label.inline select, label.inline input { display: inline-block; width: auto; }
textarea { resize: vertical; min-height: 3em; }
input:focus, select:focus, textarea:focus { border-color: var(--pine); outline: 2px solid var(--pine-soft); outline-offset: 0; }
.hint { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); margin-top: 4px; }
.form-card { max-width: 440px; margin: 0 auto 14px; }
.narrow { max-width: 480px; margin-left: auto; margin-right: auto; }
.form-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin: 8px 0 12px; }
.wrap-row .grow { flex: 1 1 180px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.actions form, .inline-form { display: inline; margin: 0; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    font: 700 1rem/1.2 var(--sans); padding: 10px 16px; border-radius: var(--radius-sm);
    border: 1px solid var(--line); background: var(--surface); color: var(--ink);
    text-decoration: none; cursor: pointer;
}
.btn:hover { border-color: var(--ink); }
.btn-primary { background: var(--pine); border-color: var(--pine); color: var(--pine-ink); }
.btn-primary:hover { filter: brightness(1.08); border-color: var(--pine); }
.btn-alert { background: var(--ember); border-color: var(--ember); color: var(--ember-ink); }
.btn-danger { color: var(--ember); }
.btn-danger:hover { border-color: var(--ember); }
.btn-sm { padding: 6px 11px; font-size: .9rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--pine); text-decoration: underline; cursor: pointer; }
.format-help { margin: -4px 0 12px; font-size: .9rem; color: var(--muted); }
.format-help summary { cursor: pointer; }
.format-help ul { margin: 6px 0 0; padding-left: 1.2em; }

/* --- pierwsze logowanie --- */
.steps { display: flex; gap: 6px; justify-content: center; margin: 4px 0 14px; flex-wrap: wrap; }
.step { padding: 4px 12px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-weight: 700; font-size: .9rem; }
.step.on { background: var(--pine); color: var(--pine-ink); }
.step.done { background: var(--pine-soft); color: var(--pine); }
.welcome h2:first-child { font-size: 1.6rem; }
.welcome-go { margin-top: 20px; }

/* --- logowanie --- */
body.guest { justify-content: center; }
.guest-wrap { width: 100%; max-width: 440px; margin: 0 auto; padding: 32px 16px; }
.guest-brand { text-align: center; margin-bottom: 20px; }
.guest-mark { font-size: 3.4rem; line-height: 1; }
.guest-brand h1 { font-size: 2rem; margin: 8px 0 2px; font-weight: 500; }
.guest-brand h1 b { color: var(--pine); font-weight: 700; }
.guest-brand p { color: var(--muted); }
.credit { font-size: .8rem; color: var(--muted); text-align: center; margin: 16px 0 0; }

/* --- awatary --- */
.av { display: inline-block; flex: none; object-fit: cover; border-radius: 8px; background: var(--surface-2); }
.av-sm { width: 28px; height: 28px; border-radius: 6px; }
.av-md { width: 40px; height: 40px; }
.av-lg { width: 52px; height: 52px; }
.av-xl { width: 88px; height: 88px; border-radius: 12px; }
.av-letter { display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 700; color: var(--pine); background: var(--pine-soft); }
.av-sm.av-letter { font-size: .9rem; }
.av-xl.av-letter { font-size: 2.4rem; }
.hero-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.hero-tools input { flex: 1 1 200px; margin: 0; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--amber); padding: 5px 12px; border-radius: 999px; font: 700 .9rem var(--sans); cursor: pointer; }
.chip.on { background: var(--amber-soft); border-color: var(--amber); }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.hero { position: relative; margin: 0; padding: 6px; border: 2px solid transparent; border-radius: var(--radius); text-align: center; font-weight: 400; font-size: .8rem; line-height: 1.2; cursor: pointer; background: var(--bg); }
.hero input { position: absolute; opacity: 0; pointer-events: none; }
.hero img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 7px; margin-bottom: 4px; }
.hero:hover { border-color: var(--line); }
.hero:has(input:checked) { border-color: var(--pine); background: var(--pine-soft); font-weight: 700; }
.hero:has(input:focus-visible) { outline: 3px solid var(--amber); }
.sticky-submit { position: sticky; bottom: 0; padding: 12px 0 max(4px, env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--surface) 30%); margin-top: 8px; }
.profile-head { display: flex; gap: 16px; align-items: center; margin-bottom: 8px; }
.profile-head h1 { margin: 0; }

/* --- rozkazy: najważniejszy element strony --- */
#order-banners { position: sticky; top: 52px; z-index: 15; }
.order-banner {
    display: flex; gap: 12px; align-items: flex-start;
    background: var(--ember); color: var(--ember-ink);
    padding: 12px 16px; border-bottom: 2px solid rgba(0, 0, 0, .25);
}
.order-banner.is-new { animation: horn .5s ease-in-out 3; }
.order-banner-icon { font-size: 1.8rem; line-height: 1; }
.order-banner-body { flex: 1; min-width: 0; }
.order-banner-head { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; }
.order-banner-text p { margin: .2em 0 0; }
.order-banner-text a { color: inherit; }
.order-banner .btn { background: var(--ember-ink); color: var(--ember); border-color: var(--ember-ink); white-space: nowrap; }
.order-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.order-row:last-child { border-bottom: 0; }
.order-row.is-active { border-left: 4px solid var(--ember); padding-left: 12px; }
.order-row.is-acked { opacity: .75; }
.order-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.order-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.acks { margin-top: 6px; }
.acks p { margin: 4px 0; }

/* --- powiadomienia w rogu --- */
#toasts { position: fixed; right: 12px; bottom: 12px; left: 12px; z-index: 30; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; }
.toast {
    pointer-events: auto; max-width: 420px; width: 100%;
    background: var(--surface); border: 2px solid var(--ember); border-radius: var(--radius);
    padding: 10px 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.toast-head { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; color: var(--ember); }
.toast-close { background: none; border: 0; font-size: 1.1rem; cursor: pointer; color: var(--muted); }
.session-lost { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; background: var(--amber-soft); color: var(--ink); border: 2px solid var(--amber); border-radius: var(--radius); padding: 12px 16px; font-weight: 700; text-align: center; }

/* --- czat --- */
.chat { display: flex; flex-direction: column; height: calc(100dvh - 150px); min-height: 320px; }
.chat-online { margin-bottom: 8px; font-size: .95rem; }
.chat-online summary { cursor: pointer; color: var(--muted); font-weight: 700; }
.chat-log { flex: 1; overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px; overscroll-behavior: contain; }
.chat-day { text-align: center; color: var(--muted); font-size: .8rem; font-weight: 700; margin: 10px 0 6px; }
.msg { display: flex; gap: 8px; padding: 6px 4px; border-radius: var(--radius-sm); }
.msg .av { margin-top: 2px; }
.msg-body { min-width: 0; flex: 1; }
.msg-head { font-size: .9rem; display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.msg-head time { color: var(--muted); font-size: .8rem; }
.msg-text { overflow-wrap: anywhere; }
.msg-mine .msg-head b { color: var(--pine); }
.msg-important { background: var(--ember-soft); border-left: 4px solid var(--ember); }
.msg-del { margin-left: auto; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .85rem; }
.chat-form { margin-top: 8px; padding-bottom: env(safe-area-inset-bottom); }
.chat-form textarea { margin: 0; max-height: 160px; resize: none; }
.chat-form-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; }
.important-toggle { display: flex; gap: 6px; align-items: center; margin: 0; font-weight: 700; color: var(--ember); }
.chat-error { color: var(--ember); font-weight: 700; margin: 6px 0 0; }
.online-list { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 6px; }
.online-item { display: inline-flex; align-items: center; gap: 6px; }
.mini-msg { padding: 6px 0; border-bottom: 1px solid var(--line); }

/* --- ankiety --- */
.poll-item-q { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--pine); margin-bottom: 4px; }
.poll-item.needs-vote { border-color: var(--amber); border-left-width: 5px; }
.poll-form { margin-top: 12px; }
.poll-option { display: flex; gap: 10px; align-items: center; padding: 10px 12px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 400; cursor: pointer; }
.poll-option:has(input:checked) { border-color: var(--pine); background: var(--pine-soft); font-weight: 700; }
.result { margin-bottom: 12px; }
.result-label { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; }
.bar { display: block; width: 100%; height: 10px; border: 0; border-radius: 999px; background: var(--surface-2); overflow: hidden; appearance: none; margin: 4px 0; }
.bar::-webkit-progress-bar { background: var(--surface-2); border-radius: 999px; }
.bar::-webkit-progress-value { background: var(--pine); border-radius: 999px; }
.bar::-moz-progress-bar { background: var(--pine); border-radius: 999px; }
.result.mine .bar::-webkit-progress-value { background: var(--amber); }
.result.mine .bar::-moz-progress-bar { background: var(--amber); }

/* --- forum i komentarze --- */
.forum-cat { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.forum-cat p { margin: 0; }
.forum-stats { display: flex; gap: 12px; flex-wrap: wrap; }
.thread-row { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.thread-row:last-child { border-bottom: 0; }
.thread-title { display: block; font-weight: 700; color: var(--pine); }
.post { display: flex; gap: 12px; align-items: flex-start; }
.card.post { margin-bottom: 10px; }
#komentarze .post { padding: 10px 0; border-bottom: 1px solid var(--line); }
.post-body { flex: 1; min-width: 0; }
.post-head { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; margin-bottom: 4px; }
.post-actions { display: flex; gap: 12px; margin-top: 8px; }
.admin-bar { margin: -6px 0 12px; }
.pager { display: flex; gap: 4px; flex-wrap: wrap; margin: 0 0 12px; }
.pager a, .pager span { min-width: 34px; text-align: center; padding: 4px 8px; border-radius: var(--radius-sm); border: 1px solid var(--line); text-decoration: none; }
.pager .on { background: var(--pine); color: var(--pine-ink); border-color: var(--pine); font-weight: 700; }
.cat-form { display: grid; gap: 0 10px; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 640px) { .cat-form { grid-template-columns: 1fr 1.6fr 90px auto; } .cat-form label { margin-bottom: 0; } }

/* --- admin --- */
.user-row { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.user-row.is-off { opacity: .55; }
.user-id { display: flex; gap: 10px; align-items: center; min-width: 200px; }
.user-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0; }
.user-form select { width: auto; margin: 0; padding: 6px 8px; }
.user-form label.check { margin: 0; align-items: center; }
.user-form label.check input { margin-top: 0; }
.credentials { display: grid; gap: 8px; margin: 10px 0; }
.credentials div { display: flex; flex-direction: column; background: var(--bg); border-radius: var(--radius-sm); padding: 8px 12px; }
.credentials b { font-size: 1.15rem; user-select: all; }

/* --- błędy --- */
.error-card { text-align: center; padding: 32px 18px; }
.error-code { font-family: var(--serif); font-size: 3.5rem; font-weight: 700; color: var(--muted); line-height: 1; margin-bottom: 8px; }

/* --- stopka --- */
.foot { max-width: 780px; width: 100%; margin: 0 auto; padding: 8px 16px 24px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.foot .credit { margin: 0; }

@keyframes horn { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@keyframes nudge { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) {
    .order-banner.is-new, .sound-btn.needs-tap { animation: none; }
}
@media (max-width: 480px) {
    body { font-size: 16px; }
    h1 { font-size: 1.5rem; }
    .card { padding: 14px; }
    .brand-name { font-size: 1.05rem; }
    .me-nick { display: none; }
    .important-toggle .muted { display: none; }
}
