/* Popas — design „Dark premium” cu mod Zi / Noapte */

:root {
  --bg: #F4F5FA; --surface: #FFFFFF; --surface2: #EEF0F6; --line: #E1E4EE;
  --text: #0F1220; --muted: #5B6172; --accent: #4A5AE0; --on-accent: #FFFFFF;
  --accent-soft: rgba(74, 90, 224, .10); --accent-text: #3848C8;
  --ok: #15803D; --ok-soft: rgba(21,128,61,.10); --warn: #B45309; --warn-soft: rgba(180,83,9,.10);
  --bad: #DC2626; --bad-soft: rgba(220,38,38,.09);
  --shadow: 0 10px 30px rgba(15, 18, 32, .08);
  --r-lg: 26px; --r-md: 18px; --r-sm: 12px;
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Space Grotesk', 'Figtree', system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B0D14; --surface: #151A26; --surface2: #1C2232; --line: #262C3B;
    --text: #FFFFFF; --muted: #A3A9B8; --accent: #8B9CFF; --on-accent: #0B0D14;
    --accent-soft: rgba(139,156,255,.14); --accent-text: #B7C1FF;
    --ok: #4ADE80; --ok-soft: rgba(74,222,128,.12); --warn: #FBBF24; --warn-soft: rgba(251,191,36,.12);
    --bad: #F87171; --bad-soft: rgba(248,113,113,.12);
    --shadow: 0 10px 30px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B0D14; --surface: #151A26; --surface2: #1C2232; --line: #262C3B;
  --text: #FFFFFF; --muted: #A3A9B8; --accent: #8B9CFF; --on-accent: #0B0D14;
  --accent-soft: rgba(139,156,255,.14); --accent-text: #B7C1FF;
  --ok: #4ADE80; --ok-soft: rgba(74,222,128,.12); --warn: #FBBF24; --warn-soft: rgba(251,191,36,.12);
  --bad: #F87171; --bad-soft: rgba(248,113,113,.12);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.5; min-height: 100vh; }
img { max-width: 100%; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(28px, 5vw, 44px); font-weight: 600; }
h2 { font-size: 21px; font-weight: 600; }
h3 { font-size: 17px; font-weight: 600; }
p { margin: 0; }
.ic { flex-shrink: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.accent { color: var(--accent-text); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.stack { display: flex; flex-direction: column; gap: var(--gap, 16px); }
.row { display: flex; align-items: center; gap: var(--gap, 12px); }
.row.between { justify-content: space-between; }
.row.wrap-row { flex-wrap: wrap; }
.grow { flex: 1 1 auto; min-width: 0; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.page { padding-top: 20px; padding-bottom: 120px; }
@media (min-width: 900px) { .page { padding-top: 32px; padding-bottom: 60px; } }

/* ---------- Bară de sus ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.logo { font-family: var(--display); font-weight: 700; font-size: 23px; color: var(--text); letter-spacing: -.03em; }
.logo span { color: var(--accent); }
.logo:hover { text-decoration: none; }
.topnav { display: none; gap: 4px; margin-left: 24px; }
.topnav a { color: var(--muted); padding: 8px 14px; border-radius: 12px; font-weight: 600; font-size: 14px; }
.topnav a:hover, .topnav a.on { color: var(--text); background: var(--surface); text-decoration: none; }
.topbar .actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
@media (min-width: 900px) { .topnav { display: flex; } }

.icon-btn { width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; position: relative; }
.icon-btn:hover { text-decoration: none; border-color: var(--accent); }
.dot { position: absolute; top: 8px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--bad); border: 2px solid var(--surface); }

/* ---------- Navigare jos (telefon) ---------- */
.bottomnav { position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 40; height: 66px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; max-width: 520px; margin: 0 auto; }
.bottomnav a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; font-weight: 600; color: var(--muted); position: relative; }
.bottomnav a:hover { text-decoration: none; color: var(--text); }
.bottomnav a.on { color: var(--accent-text); }
.bottomnav a.on .ic { background: var(--accent); color: var(--on-accent); border-radius: 12px; padding: 5px; width: 32px; height: 32px; }
@media (min-width: 900px) { .bottomnav { display: none; } }

/* ---------- Butoane & câmpuri ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 700 15px var(--font); cursor: pointer; white-space: nowrap; }
.btn:hover { text-decoration: none; border-color: var(--accent); }
.btn-primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-danger { color: var(--bad); }
.btn-danger:hover { border-color: var(--bad); }
.btn-ok { color: var(--ok); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 13px; border-radius: 12px; }
.btn-lg { height: 56px; font-size: 16px; border-radius: 18px; }
.btn-block { width: 100%; }
.linkbtn { background: none; border: 0; color: var(--accent-text); font: 600 14px var(--font); cursor: pointer; padding: 0; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.input, select.input, textarea.input { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 500 15px var(--font); }
textarea.input { min-height: 120px; resize: vertical; line-height: 1.5; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }
.checks { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }

/* ---------- Carduri ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.card.tight { padding: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 14px; font-weight: 600; white-space: nowrap; }
.chip:hover { text-decoration: none; border-color: var(--accent); }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 10px; font-size: 12px; font-weight: 700; background: var(--surface2); color: var(--muted); }
.badge.pending, .badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.confirmed, .badge.approved, .badge.completed, .badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.declined, .badge.cancelled, .badge.rejected, .badge.suspended, .badge.bad { background: var(--bad-soft); color: var(--bad); }
.badge.accent { background: var(--accent-soft); color: var(--accent-text); }
.rating { display: inline-flex; align-items: center; gap: 4px; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 13px; padding: 5px 9px; border-radius: 10px; }

/* ---------- Mesaje flash ---------- */
.flashes { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.flash { padding: 12px 16px; border-radius: 14px; font-weight: 600; font-size: 14px; border: 1px solid var(--line); background: var(--surface); }
.flash.success { color: var(--ok); background: var(--ok-soft); border-color: transparent; }
.flash.error { color: var(--bad); background: var(--bad-soft); border-color: transparent; }
.flash.info { color: var(--accent-text); background: var(--accent-soft); border-color: transparent; }

/* ---------- Acasă ---------- */
.hero { padding: 18px 0 8px; display: grid; gap: 20px; }
.hero h1 span { color: var(--accent-text); }
.hero .lead { color: var(--muted); font-size: 16px; max-width: 520px; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.1fr .9fr; align-items: center; padding: 30px 0 20px; } }
.searchbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px; display: grid; gap: 6px; box-shadow: var(--shadow); }
.searchbox .cell { display: flex; flex-direction: column; gap: 2px; padding: 8px 14px; border-radius: var(--r-md); background: var(--surface2); }
.searchbox .cell label { font-size: 12px; font-weight: 700; color: var(--muted); }
.searchbox .cell input, .searchbox .cell select { border: 0; background: transparent; color: var(--text); font: 700 15px var(--font); padding: 2px 0; outline: none; width: 100%; min-height: 26px; }
.searchbox .two { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.searchbox .three { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.searchbox .three > :last-child { grid-column: span 2; }
@media (min-width: 640px) { .searchbox .three { grid-template-columns: 1fr 1fr .7fr; } .searchbox .three > :last-child { grid-column: auto; } }
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (min-width: 640px) { .cats { grid-template-columns: repeat(8, 1fr); } }
.cat { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--text); }
.cat span.ico { width: 60px; height: 60px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.cat:hover { text-decoration: none; }
.cat:hover span.ico { border-color: var(--accent); color: var(--accent-text); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.scroller { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; flex: 0 0 auto; }
.region { width: 200px; height: 230px; border-radius: var(--r-lg); overflow: hidden; position: relative; display: block; color: #fff; }
.region .media { position: absolute; inset: 0; }
.region .label { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 16px; background: linear-gradient(180deg, transparent, rgba(8,10,16,.8)); display: flex; flex-direction: column; }
.region .label strong { font-family: var(--display); font-size: 19px; }
.region .label small { color: #E0E3EA; font-size: 12px; }
.region:hover { text-decoration: none; }

.promo { background: var(--accent); color: var(--on-accent); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 14px; }
.promo h2 { font-size: 24px; }
.promo .btn { background: var(--on-accent); color: var(--accent); border-color: transparent; justify-self: start; }

/* ---------- Carduri cazare ---------- */
.lcard { display: flex; flex-direction: column; gap: 10px; color: var(--text); position: relative; }
.lcard:hover { text-decoration: none; }
.lcard .media { height: 220px; border-radius: var(--r-lg); overflow: hidden; position: relative; background: var(--surface2); }
.lcard .media img, .lcard .media svg { width: 100%; height: 100%; object-fit: cover; }
.lcard .tag { position: absolute; top: 12px; left: 12px; background: rgba(11,13,20,.72); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 10px; }
.lcard .info { display: flex; justify-content: space-between; gap: 10px; padding: 0 4px; }
.lcard .name { font-family: var(--display); font-weight: 600; font-size: 17px; }
.lcard .price { font-weight: 800; font-size: 16px; margin-top: 4px; }
.lcard .price small { font-weight: 500; color: var(--muted); font-size: 13px; }
.fav-form { position: absolute; top: 10px; right: 10px; z-index: 2; }
.fav-btn { width: 44px; height: 44px; border-radius: 22px; border: 0; background: rgba(255,255,255,.92); color: #0F1220; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.fav-btn.on { color: #E5484D; }
.fav-btn.on svg { fill: currentColor; }
.fav-inline .fav-form { position: static; }
.fav-inline .fav-btn { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 14px; }
.fav-inline .fav-btn.on { color: #E5484D; }

/* ---------- Căutare ---------- */
.search-layout { display: grid; gap: 20px; }
@media (min-width: 900px) { .search-layout { grid-template-columns: 300px 1fr; align-items: start; } }
.filters { display: none; }
.filters.open { display: block; }
@media (min-width: 900px) { .filters { display: block; position: sticky; top: 84px; } .filters-toggle { display: none !important; } }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 700; padding: 0 12px; }
.pager span.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.empty { text-align: center; padding: 48px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty .ico { width: 64px; height: 64px; border-radius: 20px; background: var(--accent-soft); color: var(--accent-text); display: flex; align-items: center; justify-content: center; }

/* ---------- Pagina cazării ---------- */
.gallery { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface2); }
.gallery .track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; height: 340px; }
.gallery .track::-webkit-scrollbar { display: none; }
.gallery .track > * { flex: 0 0 100%; scroll-snap-align: start; height: 100%; }
.gallery .track img, .gallery .track svg { width: 100%; height: 100%; object-fit: cover; }
.gallery .count { position: absolute; bottom: 14px; right: 14px; background: rgba(11,13,20,.75); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 10px; }
.gallery .gnav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 22px; border: 0; background: rgba(255,255,255,.92); color: #0F1220; display: none; align-items: center; justify-content: center; cursor: pointer; }
.gallery .gnav.prev { left: 12px; } .gallery .gnav.next { right: 12px; }
@media (min-width: 900px) { .gallery .track { height: 460px; } .gallery .track > * { flex-basis: 50%; } .gallery .gnav { display: flex; } }
.prop-layout { display: grid; gap: 24px; margin-top: 20px; }
@media (min-width: 900px) { .prop-layout { grid-template-columns: 1fr 360px; align-items: start; } .prop-side { position: sticky; top: 84px; } }
.facts { display: flex; flex-wrap: wrap; gap: 8px; }
.fact { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; font-size: 13px; font-weight: 600; }
.fact .ic { color: var(--accent-text); }
.room { display: grid; gap: 12px; }
.room + .room { border-top: 1px solid var(--line); padding-top: 16px; }
.host-box { display: flex; align-items: center; gap: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 16px; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 18px; flex-shrink: 0; }
.review { display: grid; gap: 6px; padding: 14px 0; border-top: 1px solid var(--line); }
.review .reply { background: var(--surface2); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.stickybar { position: fixed; left: 12px; right: 12px; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 35; background: #0B0D14; color: #fff; border-radius: 22px; padding: 10px 10px 10px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.35); max-width: 520px; margin: 0 auto; }
.stickybar .muted { color: #C9CDD8; }
@media (min-width: 900px) { .stickybar { display: none; } }

/* ---------- Calendar ---------- */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 13px; }
.cal .h { font-weight: 700; color: var(--muted); font-size: 11px; padding: 4px 0; }
.cal .d { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-weight: 600; border: 1px solid transparent; }
.cal .free { background: var(--ok-soft); color: var(--ok); }
.cal .full { background: var(--bad-soft); color: var(--bad); text-decoration: line-through; }
.cal .blocked { background: var(--surface2); color: var(--muted); text-decoration: line-through; }
.cal .past { color: var(--muted); opacity: .45; }
.cal label.d { cursor: pointer; }
.cal label.d input { display: none; }
.cal label.d:has(input:checked) { border-color: var(--accent); background: var(--accent); color: var(--on-accent); text-decoration: none; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; vertical-align: -2px; margin-right: 4px; }

/* ---------- Rezervare / bilet ---------- */
.ticket { background: #0B0D14; color: #fff; border-radius: var(--r-lg); padding: 16px; display: grid; gap: 14px; }
.ticket .dates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ticket .dates div { background: #1A1F2E; border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.ticket .dates small { color: #C9CDD8; font-size: 12px; }
.ticket .dates strong { color: #B7C1FF; font-size: 17px; }
.ticket .thumb { width: 64px; height: 64px; border-radius: 16px; overflow: hidden; flex-shrink: 0; }
.ticket .thumb img, .ticket .thumb svg { width: 100%; height: 100%; object-fit: cover; }
.ticket .muted { color: #C9CDD8; }
.lines { display: grid; gap: 10px; font-size: 14px; }
.lines .row { justify-content: space-between; }
.lines hr { border: 0; border-top: 1px solid var(--line); margin: 2px 0; width: 100%; }
.total { font-family: var(--display); font-weight: 600; font-size: 21px; }
.pay-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-opt { border: 2px solid var(--line); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 14px; background: var(--surface); cursor: pointer; }
.pay-opt:has(input:checked) { border-color: var(--accent); }
.pay-opt.disabled { opacity: .5; cursor: not-allowed; }
.pay-opt input { accent-color: var(--accent); width: 20px; height: 20px; margin: 0; }

/* ---------- Mesaje ---------- */
.thread { display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 80%; padding: 10px 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; white-space: pre-wrap; word-wrap: break-word; }
.bubble.me { align-self: flex-end; background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.bubble small { display: block; font-size: 11px; opacity: .7; margin-top: 4px; }

/* ---------- Panouri (gazdă / admin) ---------- */
.panel-layout { display: grid; gap: 20px; }
@media (min-width: 900px) { .panel-layout { grid-template-columns: 230px 1fr; align-items: start; } }
.sidenav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.sidenav::-webkit-scrollbar { display: none; }
.sidenav a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; color: var(--muted); font-weight: 600; font-size: 14px; white-space: nowrap; background: var(--surface); border: 1px solid var(--line); }
.sidenav a:hover { color: var(--text); text-decoration: none; }
.sidenav a.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
@media (min-width: 900px) { .sidenav { flex-direction: column; position: sticky; top: 84px; } .sidenav a { border: 0; background: transparent; } }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.stat strong { font-family: var(--display); font-size: 26px; font-weight: 600; }
.stat span { color: var(--muted); font-size: 13px; font-weight: 600; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; font-weight: 700; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.list-item { display: flex; gap: 14px; align-items: center; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--text); }
.list-item:hover { text-decoration: none; border-color: var(--accent); }
.list-item .thumb { width: 72px; height: 72px; border-radius: 14px; overflow: hidden; flex-shrink: 0; background: var(--surface2); }
.list-item .thumb img, .list-item .thumb svg { width: 100%; height: 100%; object-fit: cover; }
.photo-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.photo-grid .ph { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; background: var(--surface2); }
.photo-grid .ph img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid .ph .acts { position: absolute; left: 6px; right: 6px; bottom: 6px; display: flex; gap: 6px; }
.photo-grid .ph .acts button { flex: 1; height: 34px; border-radius: 10px; border: 0; background: rgba(11,13,20,.8); color: #fff; font: 700 12px var(--font); cursor: pointer; }
.photo-grid .ph .cover { position: absolute; top: 6px; left: 6px; }
.steps { display: flex; gap: 8px; flex-wrap: wrap; }
.steps a { font-size: 13px; }

/* ---------- Autentificare ---------- */
.auth { max-width: 440px; margin: 20px auto; }

/* ---------- Temă ---------- */
.theme-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.theme-switch button { height: 64px; border-radius: 16px; border: 2px solid var(--line); background: var(--surface); color: var(--text); font: 700 13px var(--font); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.theme-switch button.on { border-color: var(--accent); color: var(--accent-text); }

/* ---------- Subsol ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 120px; font-size: 13px; color: var(--muted); }
.footer .cols { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .footer { padding-bottom: 40px; } .footer .cols { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer a { color: var(--muted); display: block; padding: 3px 0; }
.footer .anpc { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.footer .anpc a { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: var(--surface); }
.prose { max-width: 760px; display: grid; gap: 14px; }
.prose h2 { margin-top: 10px; }
.prose p, .prose li { color: var(--muted); }
.cookie-bar { position: fixed; left: 12px; right: 12px; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 60; max-width: 560px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 14px 16px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; font-size: 13px; }
@media (min-width: 900px) { .cookie-bar { bottom: 20px; } }
