/* readable.css: czytelniejsze czcionki. Tekst do czytania = systemowy sans-serif (bez pobierania fontow),
   monospace zostaje tylko tam, gdzie daje klimat: logo, etykiety, liczniki, przyciski. */
:root { --f-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans JP", sans-serif;
        --f-mono: 'Courier New', monospace; }

html body { font-family: var(--f-sans); line-height: 1.6; }

html body :is(.logo, .sub-logo-info, .offer-category, .ob-left, .deal-tag, .deal-action, .ob-add, .lang-btn, .cookie-btn,
              .ob-chip, .ob-h, .ob-stats, .ob-all, .ob-send, .ob-cancel, .status-badge, .blink-red, .blink-white) { font-family: var(--f-mono); }

html body p { font-size: 15px; color: #c4c4c4; line-height: 1.65; }
html body .ob-intro { font-size: 14px; }
html body .offer-title { font-size: 15px; line-height: 1.35; }
html body .offer-desc { font-size: 14px; color: #c2c2c2; line-height: 1.55; }
html body .ob-meta { font-size: 12.5px; color: #c8c8c8; }
html body .offer-category { font-size: 11px; }
html body .ob-left { font-size: 11px; }
html body .deal-tag { font-size: 13px; }
html body .deal-action { font-size: 11px; }
html body .ob-stats { font-size: 12px; color: #a8a8a8; }
html body .ob-rep { font-size: 11px; color: #a0a0a0; }
html body .ob-dialog { font-family: var(--f-sans); }
html body .ob-form label { font-size: 12.5px; letter-spacing: .3px; color: #c0c0c0; }
html body .ob-form input, html body .ob-form select, html body .ob-form textarea { font-size: 14px; }
html body .ob-form .ob-check { font-size: 12px; }
html body .ob-priv, html body .ob-note { font-size: 11.5px; line-height: 1.55; }
html body .ob-priv { color: #aaa; }
html body .legal-disclaimer { font-size: 12px; line-height: 1.55; color: #c98080; letter-spacing: 0; }
html body footer { font-size: 12px; color: #999; }
html body .cookie-text { font-size: 12px; line-height: 1.5; }
html body .mood-note, html body .mood-total, html body .mood-n { font-size: 11px; }
@media (max-width: 768px) {
    html body .ob-form input, html body .ob-form select, html body .ob-form textarea { font-size: 16px; }   /* iOS nie powieksza strony przy 16 px */
}

/* ---- rozstaw miedzy boxami: rowny odstep (--gap) miedzy wszystkimi sekcjami ---- */
:root { --gap: 12px; }
html body .main-container, html body .dc-wrap { padding-top: calc(var(--gap) / 2); padding-bottom: calc(var(--gap) / 2); }
html body header { margin-bottom: calc(var(--gap) / 2); }
html body footer { margin-top: calc(var(--gap) / 2); }
html body .panel-box { padding: 24px; }
@media (max-width: 768px) {
    :root { --gap: 10px; }
    html body .panel-box { padding: 18px; }
}

/* ---- uklad kompaktowy: mniej odstepow i mniejszy tekst, zeby mapa byla wyzej ---- */
html body header { padding-top: 12px; padding-bottom: 12px; }
html body .main-container { padding-left: 24px; padding-right: 24px; }
html body .panel-box { padding: 16px 18px; }
html body .ob-h { font-size: 15px; margin: 0 0 6px; }
html body .ob-intro { font-size: 13px; line-height: 1.5; max-width: 780px; margin: 0 0 4px; }
html body .ob-stats { font-size: 11px; margin: 2px 0 0; }
html body .ob-status { margin-top: 4px; min-height: 0; }
html body .ob-actions { margin: 8px 0 0; gap: 8px; }
html body .ob-actions .ob-add, html body .ob-actions .ob-alertbtn { padding: 8px 12px; min-height: 38px; }
html body .ob-actions .ob-alertbtn small { font-size: 9.5px; }
html body .ob-map { margin: 10px 0; }
html body .ob-map-sum { padding: 6px 10px; }
html body .ob-map-svg { padding: 0 8px; max-width: 480px; }
html body .ob-map-cap { margin: 0 10px; min-height: 16px; font-size: 12px; }
html body .ob-catlist { padding: 4px 10px 10px; gap: 5px; }
html body .ob-catlist a { font-size: 11.5px; padding: 4px 8px; }
@media (max-width: 768px) {
    html body header { padding-left: 14px; padding-right: 14px; }
    html body .main-container, html body .ob-wrap { padding-left: 12px; padding-right: 12px; }
    html body .panel-box { padding: 12px; }
    html body .ob-intro { font-size: 12.5px; }
}

/* cala mapa na ekranie: wysokosc mapy zalezy od wysokosci okna */
html body svg.ob-map-svg { width: auto; max-width: 100%; height: calc(100vh - 410px); min-height: 280px; max-height: 560px; margin: 0 auto; }
@media (max-width: 768px) { html body svg.ob-map-svg { width: 100%; height: auto; max-height: none; min-height: 0; } }

/* przyciski minimalnie mniejsze */
html body .ob-actions .ob-add, html body .ob-actions .ob-alertbtn { padding: 6px 12px; min-height: 34px; font-size: 12px; }
html body .ob-actions .ob-alertbtn small { font-size: 9px; }
html body .ob-actions { margin-top: 4px; }
html body .ob-intro { margin-top: 0; }
html { scroll-behavior: smooth; }

/* tekst wstepny tablicy: drukowane litery, styl portalu */
html body .ob-intro { text-transform: uppercase; font-family: 'Courier New', monospace; font-size: 12px; letter-spacing: 1.2px; line-height: 1.6; color: #cdbf8a; max-width: 860px; }
html body .ob-intro { font-size: 14px; letter-spacing: 2px; font-weight: bold; }

/* ikony kategorii */
html body .ob-catlist a { display: inline-flex; align-items: center; gap: 6px; }
html body .ob-catlist .ob-ico { width: 18px; height: 18px; flex: none; }
