/* Dodatki są poza głównym torem czatu: panel wysuwa się z lewej strony. */
.drawer-backdrop { position: fixed; inset: 0; z-index: 20; background: rgba(7,15,28,.48); backdrop-filter: blur(2px); }
.side-drawer { position: fixed; z-index: 21; top: 0; left: 0; width: min(455px, 100vw); height: 100dvh; overflow-y: auto; padding: 24px; border-right: 1px solid #bac6d7; color: #172033; background: #f8fafc; box-shadow: 22px 0 56px rgba(15,23,42,.28); transform: translateX(-106%); transition: transform .24s ease; }
.side-drawer.open { transform: translateX(0); }
.menu-edge-tab { position: fixed; z-index: 22; top: 116px; left: 0; display: inline-flex; align-items: center; gap: 3px; min-width: 54px; min-height: 58px; padding: 0 12px 0 9px; border: 1px solid #1f4eb6; border-left: 0; border-radius: 0 18px 18px 0; color: #fff; background: #2e61d4; box-shadow: 2px 3px 10px rgba(16,39,84,.32); cursor: pointer; transition: transform .16s ease, background .16s ease; }
.menu-edge-tab span { font-size: 23px; line-height: 1; }.menu-edge-tab b { margin-top: -3px; font-size: 28px; line-height: 1; font-weight: 500; }.menu-edge-tab:hover { background: #214eb9; transform: translateX(4px); }.menu-edge-tab:focus-visible { outline: 3px solid #f7c948; outline-offset: 2px; }
.drawer-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding-bottom: 17px; border-bottom: 1px solid #d6dde8; }
.drawer-heading .eyebrow { margin-bottom: 4px; }.drawer-heading h2 { margin: 0; font-size: 28px; }
.drawer-close { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid #aeb9ca; border-radius: 50%; color: #172033; background: #fff; font-size: 29px; line-height: 1; }
.drawer-actions { display: grid; gap: 9px; margin: 18px 0; }
.drawer-actions button { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; width: 100%; min-height: 62px; padding: 11px 13px; border: 1px solid #cbd5e1; border-radius: 14px; color: #172033; background: #fff; text-align: left; }
.drawer-actions button > span:first-child { font-size: 22px; }.drawer-actions strong, .drawer-actions small { display: block; }.drawer-actions strong { font-size: 14px; }.drawer-actions small { margin-top: 2px; color: #667085; font-size: 12px; font-weight: 650; }
.drawer-account-summary { width: 100%; margin: 0 0 16px; }
.weather-panel { margin: 16px 0; padding: 15px; border: 1px solid #d0d5db; border-radius: 15px; background: #fff; }.weather-panel p { margin: 8px 0 12px; color: #667085; font-size: 13px; line-height: 1.4; }.weather-current { display: grid; gap: 3px; min-height: 48px; padding: 10px 12px; border-radius: 12px; color: #1e3a6d; background: #edf3ff; font-size: 13px; line-height: 1.35; }.weather-current strong { font-size: 25px; }
.side-drawer .radio-panel, .side-drawer .shoutbox-panel { margin-top: 16px; background: #fff; }.side-drawer .radio-list { max-height: 330px; overflow-y: auto; }.side-drawer .shoutbox-list { max-height: 360px; overflow-y: auto; }
body.drawer-open { overflow: hidden; }
body.dark .side-drawer { color: #edf2ff; border-color: #3b4b62; background: #101827; } body.dark .drawer-heading { border-color: #3b4b62; } body.dark .drawer-close, body.dark .drawer-actions button, body.dark .weather-panel, body.dark .side-drawer .radio-panel, body.dark .side-drawer .shoutbox-panel { color: #edf2ff; border-color: #3b4b62; background: #182337; } body.dark .drawer-actions small, body.dark .weather-panel p { color: #b2c0d5; } body.dark .weather-current { color: #dbeafe; background: #172a49; }
@media (min-width: 860px) { .home-view { display: block; max-width: 1120px; margin: 0 auto; }.home-view .welcome-card { width: min(100%, 760px); margin: 0 auto; }.home-view .connect-button, .home-view .region-field, .home-view .safety { display: block; width: min(100%, 590px); margin-left: auto; margin-right: auto; }.home-view .safety { margin-top: 28px; margin-bottom: 28px; } }
@media (max-width: 430px) { .city-header .brand { min-width: 128px; padding: 0 13px; font-size: 23px; }.online { max-width: 68px; padding: 0 7px; overflow: hidden; white-space: nowrap; }.menu-button { width: 35px; padding: 0; justify-content: center; font-size: 19px; }.menu-button span { display: none; }.header-actions { gap: 4px; }.side-drawer { padding: 19px 16px; }.menu-edge-tab { top: 98px; min-height: 47px; padding-right: 12px; } }

/* Menu zgodne z aplikacją Android: karta konta i pięć osobnych ekranów. */
.side-drawer { width: min(86vw, 390px); padding: 0 16px 24px; color: #172033; background: #f7f7f7; border-color: #d8dee9; box-shadow: 8px 0 36px #0003; }
.drawer-backdrop { background: rgba(4,10,22,.58); backdrop-filter: none; }
.drawer-heading { min-height: 92px; align-items: center; padding: 12px 0; gap: 8px; border-color: #d8dee9; }
.drawer-heading .eyebrow { font-size: 11px; letter-spacing: 1.4px; color: #3457d5; }
.drawer-heading h2 { font-size: 29px; font-weight: 900; }
.drawer-heading-actions { display: flex; align-items: center; gap: 4px; }
.drawer-heading .drawer-online { height: 34px; min-width: 78px; max-width: none; padding: 0 9px; font-size: 12px; color: #172033; border-color: #d8dee9; background: #eef2f8; }
.drawer-close { width: 42px; height: 42px; flex-shrink: 0; border: 0; background: #eef2f8; font-weight: 400; font-size: 31px; }
.drawer-guest-card, .side-drawer .drawer-account-summary { margin: 24px 0 0; padding: 16px; border: 1px solid #d8dee9; border-radius: 24px; background: #eef2f8; }
.drawer-guest-card > strong { display: block; margin-top: 5px; font-size: 20px; font-weight: 900; }
.drawer-guest-card p { margin: 4px 0 0; color: #667085; font-size: 12px; line-height: 18px; }
.side-drawer .account-summary-label { font-size: 10px; letter-spacing: .8px; }
.side-drawer .drawer-account-summary { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.side-drawer .coin-balance { text-align: left; }
.side-drawer .summary-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.drawer-actions { display: block; margin: 16px 0 0; overflow: hidden; border: 1px solid #d8dee9; border-radius: 24px; background: white; }
.drawer-actions button { position: relative; display: grid; grid-template-columns: 38px minmax(0,1fr) 12px; min-height: 78px; padding: 12px 16px; gap: 8px; border: 0; border-radius: 0; background: transparent; }
.drawer-actions button + button::before { content: ''; position: absolute; left: 70px; right: 0; top: 0; height: 1px; background: #d8dee9; }
.drawer-actions button:hover { background: #eef2f8; }
.drawer-actions button:focus-visible { outline: 3px solid #3457d5; outline-offset: -3px; }
.drawer-actions strong { font-size: 16px; font-weight: 900; }
.drawer-actions small { margin-top: 2px; font-size: 11px; font-weight: 400; line-height: 15px; }
.drawer-actions b { color: #667085; font-size: 27px; font-weight: 400; }
.drawer-actions .drawer-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 16px; color: white; font-size: 22px; }
.icon-radio { background: #3457d5; }.icon-weather { background: #18a77b; }.icon-shoutbox { background: #233d9f; }.icon-account { background: #b66a00; }.icon-settings { background: #667085; }
.drawer-note { margin: 24px 8px 0; color: #667085; font-size: 12px; line-height: 18px; text-align: center; }
body.drawer-open .menu-edge-tab { visibility: hidden; }
.tools-view { max-width: 800px; margin: 0 auto; padding: 28px 24px; }
.tool-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.tool-heading h1 { margin: 0; font-size: 28px; }
.tools-view .radio-list { max-height: none; }
.tools-view .shoutbox-panel, .tools-view .weather-panel { margin-top: 0; }
body.dark .side-drawer { background: #111827; border-color: #3b475a; color: #f8fafc; }
body.dark .drawer-heading, body.dark .drawer-actions { border-color: #3b475a; }
body.dark .drawer-heading .eyebrow { color: #6d8dff; }
body.dark .drawer-guest-card, body.dark .side-drawer .drawer-account-summary, body.dark .drawer-close, body.dark .drawer-heading .drawer-online { background: #2b3647; border-color: #3b475a; color: #f8fafc; }
body.dark .drawer-actions, body.dark .drawer-actions button { background: #1f2937; color: #f8fafc; }
body.dark .drawer-actions button:hover { background: #2b3647; }
body.dark .drawer-actions button + button::before { background: #3b475a; }
body.dark .drawer-guest-card p, body.dark .drawer-note, body.dark .drawer-actions small, body.dark .drawer-actions b { color: #b5c0d1; }
@media (max-width: 600px) { .menu-edge-tab { top: 98px; }.tools-view { padding: 24px 16px; } }
@media (prefers-reduced-motion: reduce) { .side-drawer, .menu-edge-tab { transition: none; } }
