:root {
  --bg: #f4efe8;
  --paper: #fbf8f3;
  --ink: #2b2118;
  --muted: #7a6a5a;
  --line: #e3dacb;
  --accent: #d9622b;
  --accent-dark: #bf531f;
  --ok: #2e7d4f;
  --danger: #b3261e;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; }
[hidden] { display: none !important; }

/* ---------- marca ---------- */
@font-face { font-family: 'DM Serif Display'; src: url('/static/dm-serif-display.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
.brand {
  font-family: 'DM Serif Display', var(--serif);
  font-size: 30px;
  letter-spacing: 0;
  text-decoration: none;
  color: var(--ink);
  display: inline-block;
  line-height: 1.1;
}
.brand::after { content: '.'; color: var(--accent); }
.brand.small { font-size: 20px; }
.brand.big { font-size: 60px; }

/* ---------- pagini de mesaj ---------- */
body.center { align-items: center; justify-content: center; padding: 24px; }
.msg { text-align: center; max-width: 440px; }
.msg .tagline { margin: 14px 0 28px; font-size: 13px; letter-spacing: 0.3em; color: var(--muted); }
.msg h1 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 0 0 10px; }
.msg p { color: var(--muted); margin: 0; }

/* ---------- pagina clientului ---------- */
.top { padding: 18px 20px 6px; text-align: center; }
.wrap { width: 100%; max-width: 980px; margin: 0 auto; padding: 14px 16px 28px; flex: 1; }
.player-shell {
  width: min(100%, calc(80vh * var(--ar, 1.7778)));
  aspect-ratio: var(--ar, 1.7778);
  margin: 0 auto;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(43, 33, 24, 0.18);
}
.player-shell video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.title { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.2; margin: 24px 0 4px; text-align: center; overflow-wrap: anywhere; }
.meta { text-align: center; color: var(--muted); margin: 0 0 22px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hint { text-align: center; color: var(--muted); font-size: 13px; margin: 18px auto 0; max-width: 520px; }
.foot {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 22px 16px calc(26px + env(safe-area-inset-bottom));
  color: var(--muted); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
}
.foot .brand { text-transform: none; letter-spacing: 0; font-size: 24px; }
.foot .flinks { letter-spacing: 0; text-transform: none; font-size: 12px; }
.foot .flinks a { color: var(--muted); }
.regnote { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.regnote a { color: var(--muted); }

/* ---------- butoane ---------- */
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 52px; padding: 10px 24px;
  border-radius: 12px; border: 1.5px solid var(--ink);
  background: transparent; color: var(--ink);
  font: 600 16px/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform 0.08s ease, background 0.15s ease;
}
.btn small { font-weight: 400; font-size: 12px; opacity: 0.8; margin-top: 3px; }
.btn:hover { background: rgba(43, 33, 24, 0.06); }
.btn:active { transform: scale(0.98); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn.sm { min-height: 36px; padding: 6px 14px; font-size: 14px; border-radius: 9px; border-width: 1px; flex-direction: row; }
.btn.danger { color: var(--danger); border-color: rgba(179, 38, 30, 0.4); }
.btn.danger:hover { background: rgba(179, 38, 30, 0.08); }
.btn:disabled { opacity: 0.5; cursor: default; }

@media (max-width: 560px) {
  .actions { flex-direction: column; }
  .actions .btn { width: 100%; }
  .title { font-size: 23px; }
}

/* ---------- administrare ---------- */
body.admin { align-items: stretch; }
.app { display: flex; flex-direction: column; flex: 1; }
.adm-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; border-bottom: 1px solid var(--line); background: var(--paper);
}
.adm-right { display: flex; align-items: center; gap: 14px; }
.disk { color: var(--muted); font-size: 13px; text-align: right; }
.disk.low { color: var(--danger); font-weight: 600; }
.adm-wrap { width: 100%; max-width: 920px; margin: 0 auto; padding: 24px 16px 60px; flex: 1; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }

.login { max-width: 380px; margin: 12vh auto 0; text-align: center; }
.login .brand { margin-bottom: 8px; }
.login p { color: var(--muted); margin: 14px 0 20px; }
.login input {
  width: 100%; padding: 13px 14px; font: inherit; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; margin-bottom: 12px;
}
.login input:focus, .titleinput:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.login .btn { width: 100%; }
.error { color: var(--danger); font-size: 14px; margin: 0 0 12px; min-height: 1.2em; }

.drop {
  border: 2px dashed #cbbda8; border-radius: 16px; padding: 34px 18px; text-align: center;
  background: var(--paper); cursor: pointer; transition: background 0.15s, border-color 0.15s;
}
.drop:hover, .drop.over { background: #fff; border-color: var(--accent); }
.drop strong { font-family: var(--serif); font-weight: 400; font-size: 21px; display: block; margin-bottom: 4px; }
.drop span { color: var(--muted); font-size: 14px; }

.uploads { margin-top: 14px; display: grid; gap: 10px; }
.up { padding: 14px 16px; }
.up .row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.up .name { font-weight: 600; overflow-wrap: anywhere; }
.up .stat { color: var(--muted); white-space: nowrap; }
.bar { height: 8px; border-radius: 6px; background: var(--line); overflow: hidden; margin-top: 10px; }
.bar > i { display: block; height: 100%; width: 0%; background: var(--accent); border-radius: 6px; transition: width 0.3s ease; }
.up.err .stat, .up.err .msg2 { color: var(--danger); }
.up .msg2 { font-size: 13px; color: var(--muted); margin-top: 8px; }

h2.sec { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 34px 0 12px; }
.empty { color: var(--muted); padding: 22px; text-align: center; }

.vlist { display: grid; gap: 12px; }
.v { display: grid; grid-template-columns: 168px 1fr; gap: 16px; padding: 14px; }
.thumb {
  width: 168px; aspect-ratio: 16 / 9; border-radius: 10px; background: #e9e1d4; overflow: hidden;
  display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 12px; text-align: center;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vbody { min-width: 0; }
.titleinput {
  width: 100%; font: 600 17px/1.3 var(--sans); color: var(--ink);
  padding: 7px 10px; margin: 0 0 8px; border: 1px solid var(--line); border-radius: 9px; background: #fff;
  transition: border-color 0.2s;
}
.titleinput:hover { border-color: #cbbda8; }
.titleinput.saved { border-color: var(--ok); }
.vmeta { color: var(--muted); font-size: 13px; margin-bottom: 8px; overflow-wrap: anywhere; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 99px; margin-right: 6px; }
.badge.ready { background: rgba(46, 125, 79, 0.12); color: var(--ok); }
.badge.proc { background: rgba(217, 98, 43, 0.14); color: var(--accent-dark); }
.badge.fail { background: rgba(179, 38, 30, 0.12); color: var(--danger); }
.vactions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.check { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink); cursor: pointer; margin-right: 6px; }
.check input { width: 17px; height: 17px; accent-color: var(--accent); }

@media (max-width: 620px) {
  .v { grid-template-columns: 1fr; }
  .thumb { width: 100%; }
  .adm-top { padding: 14px 16px; }
}


/* ---------- pagina de portofoliu (public) ---------- */
.ptop { padding: 14px 24px 12px; max-width: 1320px; margin: 0 auto; width: 100%; }
.pwrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 16px 28px; flex: 1; }
.cover {
  position: relative; height: clamp(150px, 21vw, 290px); border-radius: 18px; overflow: hidden;
  background: #e9e1d4;
}
.cover.nocover { background: linear-gradient(118deg, #2b2118 0%, #7a4426 52%, #d9622b 125%); }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pgrid { display: grid; grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); gap: 16px; align-items: start; }
.pside { display: grid; gap: 12px; margin-top: -110px; position: relative; z-index: 1; }
.pmain { margin-top: 16px; min-width: 0; }
.pcard { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.pid { position: relative; }
.avatar {
  width: 100px; height: 100px; border-radius: 50%; overflow: hidden; background: #efe6d8;
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar span { font-family: var(--serif); font-size: 42px; color: var(--accent-dark); }
.pid h1 { font-family: var(--serif); font-weight: 400; font-size: 29px; line-height: 1.15; margin: 0; overflow-wrap: anywhere; }
.pid .headline { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.pid .bio { margin: 14px 0 0; white-space: pre-line; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.plinks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.plinks a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.plinks a:hover span { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.plinks svg { color: var(--accent-dark); flex: none; }
.share {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background 0.15s, border-color 0.15s;
}
.share:hover { border-color: var(--accent); color: var(--accent-dark); }
.share.done { background: var(--accent); border-color: var(--accent); color: #fff; }
.pstats h2 { font-family: var(--serif); font-weight: 400; font-size: 20px; margin: 0 0 10px; }
.pstats dl { margin: 0; display: grid; gap: 8px; }
.pstats dl > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.pstats dt { color: var(--muted); }
.pstats dd { margin: 0; font-weight: 600; }
.chip { display: inline-block; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 5px 12px; font-size: 14px; color: var(--ink); }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px 18px; margin-top: 18px; }
.vc { display: block; color: var(--ink); text-decoration: none; min-width: 0; }
.vthumb { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #e9e1d4; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.vc:hover .vthumb img { transform: scale(1.035); }
.dur {
  position: absolute; right: 8px; bottom: 8px; background: rgba(43, 33, 24, 0.74); color: #fff;
  font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 7px; letter-spacing: 0.02em;
}
.vt { margin-top: 10px; font-weight: 600; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.vc:hover .vt { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.vd { margin-top: 2px; color: var(--muted); font-size: 13px; }
.pempty { color: var(--muted); text-align: center; padding: 44px 12px; margin: 0; }
.by { text-align: center; margin: -2px 0 6px; color: var(--muted); font-size: 14px; }
.by a { color: var(--ink); font-weight: 600; text-decoration-color: var(--accent); text-underline-offset: 3px; }

@media (max-width: 860px) {
  .pgrid { grid-template-columns: minmax(0, 1fr); }
  .pside { margin-top: -62px; }
  .pmain { margin-top: 0; }
  .ptop { padding: 12px 18px 10px; }
}
@media (max-width: 520px) {
  .vgrid { grid-template-columns: minmax(0, 1fr); }
  .pcard { padding: 18px; }
}

/* ---------- administrare: file (taburi) și profil ---------- */
.adm-top { flex-wrap: wrap; gap: 10px 16px; }
.tabs { display: flex; gap: 4px; }
.tab {
  border: 0; background: transparent; font: 600 15px/1 var(--sans); color: var(--muted);
  padding: 10px 14px; border-radius: 10px; cursor: pointer;
}
.tab:hover { color: var(--ink); }
.tab.active { background: var(--bg); color: var(--ink); }
@media (max-width: 620px) { .tabs { order: 3; width: 100%; } .tab { flex: 1; } }

.monthinput { font: inherit; font-size: 13px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.dateline { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }

.pform { display: grid; gap: 22px; }
.pform .card { display: grid; gap: 16px; }
.pform h3 { font-family: var(--serif); font-weight: 400; font-size: 20px; margin: 0; }
.field > label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field input[type=text], .field textarea {
  width: 100%; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: #fff; color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.help { color: var(--muted); font-size: 13px; margin-top: 5px; }
.handlebox { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.handlebox:focus-within { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.handlebox span { padding: 0 2px 0 14px; color: var(--muted); white-space: nowrap; font-size: 16px; line-height: 1; }
.handlebox input[type=text] { border: 0 !important; outline: 0 !important; flex: 1; min-width: 0; padding: 13px 12px 13px 2px !important; font: inherit; font-size: 16px; color: var(--ink); background: transparent !important; box-shadow: none; margin: 0 !important; width: auto !important; }
.imgrow { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.coverprev { width: 100%; height: 130px; border-radius: 12px; background: #e9e1d4; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.coverprev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avprev { width: 88px; height: 88px; border-radius: 50%; background: #e9e1d4; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 12px; text-align: center; flex: none; border: 1px solid var(--line); }
.avprev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.btnrow { display: flex; gap: 8px; flex-wrap: wrap; }
.linkrow { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 8px; margin-bottom: 8px; }
.pfoot { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pfoot .status { color: var(--ok); font-size: 14px; font-weight: 600; }
.pfoot .status.err { color: var(--danger); }
@media (max-width: 620px) { .linkrow { grid-template-columns: 1fr; } }
.linkrow input[type=text] { width: 100%; padding: 9px 11px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: #fff; color: var(--ink); min-width: 0; }
.linkrow input[type=text]:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }

/* ---------- pagina de video (stil Vimeo) ---------- */
body.watch { background: var(--bg); }
.stage { background: #14100c; padding: 18px 0; display: flex; justify-content: center; }
.stage .player-shell {
  width: min(94%, 1500px, calc(74vh * var(--ar, 1.7778)));
  border-radius: 0; box-shadow: none;
}
.wrap.wide { max-width: 1240px; padding-top: 22px; }
.wgrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.wgrid.solo { grid-template-columns: minmax(0, 760px); justify-content: center; }
.wmain { padding: 26px 28px; }
.wmain .title, .wmain .meta, .wmain .hint { text-align: left; }
.wmain .title { margin-top: 0; font-size: 30px; }
.wmain .meta { margin-bottom: 18px; }
.wmain .actions { justify-content: flex-start; }
.wmain .hint { margin: 14px 0 0; max-width: none; }
.wauthor { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.wa-left { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.wav { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; background: #e9e1d4; border: 1px solid var(--line); }
.wav.ini { display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 22px; color: var(--muted); }
.wa-txt { display: flex; flex-direction: column; min-width: 0; }
.wa-txt strong { font-size: 17px; }
.wa-txt em { font-style: normal; color: var(--muted); font-size: 14px; }
.wbio { margin: 14px 0 0; color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; }
.wlinks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; }
.wlinks a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; text-decoration: none; }
.wlinks a svg { color: var(--accent); }
.wlinks a:hover span { text-decoration: underline; text-decoration-color: var(--accent); }
.wside .pcard { padding: 20px; }
.wh { font-family: var(--serif); font-weight: 400; font-size: 19px; margin: 0 0 14px; }
.wo { align-content: start; display: grid; grid-template-columns: 128px minmax(0, 1fr); column-gap: 12px; text-decoration: none; margin-bottom: 14px; align-items: start; }
.wo-img { grid-row: 1 / 3; align-self: start; position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; }
.wo-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wo-img b { position: absolute; right: 5px; bottom: 5px; background: rgba(20, 16, 12, 0.8); color: #fff; font: 600 11px/1 var(--sans); padding: 3px 5px; border-radius: 5px; }
.wo-t { font-weight: 600; font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
.wo-d { color: var(--muted); font-size: 12px; }
.wo:hover .wo-t { text-decoration: underline; text-decoration-color: var(--accent); }
.wempty { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.wmore { font-weight: 600; font-size: 14px; text-decoration: none; color: var(--accent-dark); }
@media (max-width: 960px) { .wgrid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .stage { padding: 0; }
  .stage .player-shell { width: 100%; }
  .wmain { padding: 20px 18px; }
  .wmain .title { font-size: 24px; }
  .wo { grid-template-columns: 112px minmax(0, 1fr); }
}
.wdesc { margin: 0 0 20px; white-space: pre-line; overflow-wrap: anywhere; }

/* ---------- administrare v2: meniu lateral, încărcare, bibliotecă ---------- */
body.admin { display: block; }
.shell { display: flex; min-height: 100vh; min-height: 100dvh; }
.side {
  width: 232px; flex: none; background: var(--paper); border-right: 1px solid var(--line);
  padding: 22px 14px; display: flex; flex-direction: column; gap: 22px;
  position: sticky; top: 0; height: 100vh; height: 100dvh; overflow-y: auto;
}
.side .brand { margin-left: 10px; align-self: flex-start; }
.snav { display: grid; gap: 4px; }
.snav-i {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 0; border-radius: 12px;
  background: transparent; font: 600 15px/1 var(--sans); color: var(--muted); cursor: pointer; text-align: left;
}
.snav-i svg { flex: none; }
.snav-i:hover { color: var(--ink); background: rgba(43, 33, 24, 0.05); }
.snav-i.active { color: var(--ink); background: var(--bg); }
.snav-i.active svg { color: var(--accent); }
.side-foot { margin-top: auto; display: grid; gap: 10px; justify-items: start; padding: 0 6px; }
.side-foot .disk { text-align: left; }
.content { flex: 1; min-width: 0; }
.shell .adm-wrap { max-width: 940px; padding: 34px 28px 70px; }
.pagetitle { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0 0 20px; }

/* login */
.loginwrap { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.login { width: 100%; max-width: 420px; margin: 0; text-align: left; padding: 34px 32px 28px; box-shadow: 0 14px 40px rgba(43, 33, 24, 0.1); }
.login .brand.big { display: block; text-align: center; width: fit-content; margin: 0 auto; }
.login .tagline { text-align: center; margin: 12px 0 26px; font-size: 12px; letter-spacing: 0.3em; color: var(--muted); }
.login h1 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 0 0 6px; }
.login .sub { margin: 0 0 20px; color: var(--muted); }
.login label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.pwbox { position: relative; margin-bottom: 10px; }
.pwbox input { margin: 0; padding-right: 84px; }
.pwbox button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--accent-dark); font: 600 14px var(--sans); padding: 8px 10px; cursor: pointer; border-radius: 8px; }
.pwbox button:hover { background: rgba(217, 98, 43, 0.1); }
.login .btn { min-height: 50px; }
.loginhelp { margin: 16px 0 0 !important; font-size: 13px; text-align: center; }
.loginhelp code { background: var(--bg); padding: 1px 6px; border-radius: 5px; }

/* încărcare */
.drop { padding: 52px 18px; margin-bottom: 14px; }
.drop strong { font-size: 24px; }
.drop span { font-size: 15px; }
.up { padding: 18px; }
.upmain { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; margin-bottom: 14px; }
.upthumb {
  aspect-ratio: 16 / 9; width: 100%; border: 2px dashed #cbbda8; border-radius: 12px; background: #fff;
  color: var(--muted); font: 600 13px var(--sans); cursor: pointer; overflow: hidden; padding: 0; display: flex; align-items: center; justify-content: center;
}
.upthumb:hover { border-color: var(--accent); color: var(--accent-dark); }
.upthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.upthumb:disabled { cursor: default; }
.upfields { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.upfields .titleinput { margin: 0; }
.updesc, .vdesc {
  width: 100%; font: 14px/1.4 var(--sans); color: var(--ink); padding: 8px 10px; border: 1px solid var(--line);
  border-radius: 9px; background: #fff; resize: vertical; min-height: 64px; flex: 1;
}
.vdesc { min-height: 0; margin: 0 0 8px; flex: none; }
.updesc:focus, .vdesc:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.vdesc.saved { border-color: var(--ok); }
.up .btnrow { margin-top: 10px; }

/* bibliotecă */
.v { grid-template-columns: 220px minmax(0, 1fr); }
.thumb { width: 220px; border: 0; padding: 0; cursor: pointer; position: relative; font: inherit; }
.thumb-edit {
  position: absolute; inset: auto 8px 8px auto; background: rgba(20, 16, 12, 0.78); color: #fff; font: 600 12px var(--sans);
  padding: 5px 10px; border-radius: 7px; opacity: 0; transition: opacity 0.15s;
}
.thumb:hover .thumb-edit, .thumb:focus-visible .thumb-edit { opacity: 1; }
.vstats { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 6px; }
.stat-i { display: flex; align-items: baseline; gap: 6px; background: var(--bg); border-radius: 10px; padding: 6px 11px; font-size: 13px; color: var(--muted); }
.stat-i b { font-size: 18px; color: var(--ink); font-family: var(--serif); font-weight: 400; }

/* fereastra pentru thumbnail */
.modal { position: fixed; inset: 0; background: rgba(20, 16, 12, 0.6); display: flex; align-items: center; justify-content: center; padding: 18px; z-index: 50; }
.modal-box { background: var(--paper); border-radius: 18px; width: 100%; max-width: 640px; max-height: 94vh; overflow: auto; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 0; }
.tm-body { padding: 20px 22px 24px; display: grid; gap: 14px; }
.tm-frame { aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.tm-frame video, .tm-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
#tm-scrub { display: grid; gap: 8px; justify-items: start; }
#tm-scrub label { font-weight: 600; font-size: 14px; }
#tm-range { width: 100%; accent-color: var(--accent); }
.tm-or { text-align: center; color: var(--muted); font-size: 13px; }

@media (max-width: 860px) {
  .shell { flex-direction: column; }
  .side { width: 100%; height: auto; position: static; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .side .brand { margin-left: 4px; }
  .snav { order: 3; width: 100%; grid-template-columns: repeat(3, 1fr); }
  .snav-i { flex-direction: column; gap: 4px; font-size: 13px; padding: 9px 4px; justify-content: center; text-align: center; }
  .side-foot { margin: 0 0 0 auto; grid-auto-flow: column; align-items: center; }
  .side-foot .disk { display: none; }
  .shell .adm-wrap { padding: 22px 14px 60px; }
  .pagetitle { font-size: 26px; }
}
@media (max-width: 620px) {
  .v { grid-template-columns: 1fr; }
  .thumb { width: 100%; }
  .upmain { grid-template-columns: 1fr; }
}

/* titlu peste copertă */
.cover.hastitle::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(10, 8, 6, 0.5), rgba(10, 8, 6, 0.18) 70%, rgba(10, 8, 6, 0.05)); pointer-events: none; }
.cover-title {
  position: absolute; left: 0; right: 0; top: 0; z-index: 1; padding: clamp(14px, 4.5vw, 44px) 20px 0; text-align: center;
  color: #fff; font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 4.2vw, 52px); line-height: 1.15;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45); overflow-wrap: anywhere;
}
.coverbox { position: relative; border-radius: 12px; overflow: hidden; }
.coverbox .coverprev { height: 150px; }
.coverbox .cover-title { font-size: 24px; padding-top: 18px; }
.coverbox.hastitle::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(10, 8, 6, 0.5), rgba(10, 8, 6, 0.1)); pointer-events: none; }
.ownnote { color: var(--muted); font-size: 12px; margin: 0 0 6px; }
.vstats .ownnote { flex-basis: 100%; margin: 2px 0 0; }

/* titlu pe copertă: centrat orizontal și vertical */
.cover-title { inset: 0; top: 0; bottom: 0; padding: 0 24px; display: flex; align-items: center; justify-content: center; }
.coverbox .cover-title { padding: 0 24px; font-size: 24px; }
@media (max-width: 860px) { .cover .cover-title { bottom: 62px; } }

/* ---- conturi: intrare, înregistrare, utilizatori ---- */
.login select, .acc select {
  width: 100%; padding: 13px 14px; font: inherit; border-radius: 10px; border: 1.5px solid var(--line);
  background: #fff; margin-bottom: 12px; color: var(--ink);
}
.login select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.login .loginhelp code { word-break: break-all; }
.linkbtn { border: 0; background: none; color: var(--accent-dark); font: 600 13px var(--sans); cursor: pointer; padding: 4px 2px; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn:hover { color: var(--ink); }
.okmsg { color: var(--ok); font-size: 14px; font-weight: 600; margin: 0 0 12px; }
.okmsg:empty { display: none; }
.aform[hidden] { display: none; }

.side-foot .me { display: grid; gap: 1px; font-size: 14px; line-height: 1.3; max-width: 100%; }
.side-foot .me strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 190px; }
.side-foot .me span { color: var(--muted); font-size: 12px; }
.quota { display: grid; gap: 5px; width: 100%; font-size: 12px; color: var(--muted); }
.qbar { height: 7px; background: var(--line); border-radius: 4px; overflow: hidden; }
.qbar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 4px; transition: width .4s; }
.quota.full .qbar i { background: var(--danger); }
.quota.warn .qbar i { background: #c27a12; }
.quota.big { font-size: 15px; color: var(--ink); gap: 8px; }
.quota.big .qbar { height: 12px; }

.acc { margin-bottom: 18px; display: grid; gap: 4px; }
.acc h3 { font-family: var(--serif); font-weight: 400; font-size: 20px; margin: 0 0 6px; }
.acc .pform { gap: 14px; }
.acc .pwbox input, .acc .invrow input, .acc .copyrow input {
  width: 100%; padding: 11px 13px; font: inherit; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); min-width: 0;
}
.acc .pwbox input { margin: 0; padding-right: 84px; }
.invrow, .copyrow { display: flex; gap: 10px; flex-wrap: wrap; }
.invrow input { flex: 1; min-width: 200px; }
.copyrow input { flex: 1; font-size: 14px; }
.invnew { margin-top: 14px; padding: 14px; background: var(--bg); border-radius: 12px; border: 1px dashed var(--line); }
.invlist { display: grid; gap: 6px; margin-top: 14px; }
.inv { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; padding: 8px 0; border-top: 1px solid var(--line); }
.inv code { background: var(--bg); padding: 2px 8px; border-radius: 6px; }
.inv .grow { flex: 1; min-width: 120px; color: var(--muted); }
.inv .st { font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 99px; background: #e6f1ea; color: var(--ok); }
.inv .st.off { background: var(--bg); color: var(--muted); }

.ulist { display: grid; gap: 0; }
.urow { display: grid; gap: 0; border-top: 1px solid var(--line); }
.urow:first-child { border-top: 0; }
.urow[hidden] { display: none; }
.uhead { display: grid; grid-template-columns: minmax(120px, 1.2fr) minmax(0, 1.6fr) auto 16px; gap: 10px; align-items: center; width: 100%; padding: 9px 4px; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; border-radius: 8px; }
.uhead:hover { background: rgba(0, 0, 0, 0.035); }
.uhead strong { font-size: 15px; }
.uname { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; min-width: 0; }
.uhead .mail { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.usum { color: var(--muted); font-size: 12px; white-space: nowrap; }
.uchev { color: var(--muted); font-size: 20px; line-height: 1; transition: transform 0.15s; }
.urow.open .uchev { transform: rotate(90deg); }
.ubody { display: none; gap: 10px; padding: 4px 4px 16px; }
.urow.open .ubody { display: grid; }
.usearch { width: 100%; padding: 10px 12px; margin: 0 0 8px; font: inherit; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.ucount { color: var(--muted); font-size: 13px; font-weight: 400; }
@media (max-width: 640px) { .uhead { grid-template-columns: minmax(0, 1fr) 16px; } .uhead .mail { grid-column: 1; } .usum { display: none; } .uchev { grid-row: 1; grid-column: 2; } }
.umeta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.umeta .chip { font-size: 12px; padding: 3px 10px; }
.chip.warn { color: var(--danger); border-color: var(--danger); }
.uact { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.uact input[type=number] { width: 84px; padding: 8px 10px; font: inherit; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.uact .sep { color: var(--muted); font-size: 13px; }
.uact .status { font-size: 13px; color: var(--ok); font-weight: 600; }

.exprow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; margin: 4px 0 2px; }
.expsel { padding: 7px 10px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font: inherit; color: var(--ink); }
.expnote { color: var(--danger); font-size: 13px; font-weight: 600; }

/* ---- galeria foto (pagina clientului) ---- */
.noscroll { overflow: hidden; }
body.gal { background: var(--bg); }
.gcover { position: relative; min-height: 78vh; min-height: 78svh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background: #2b2118; overflow: hidden; }
.gcover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gcover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 14, 9, 0.35) 0%, rgba(20, 14, 9, 0.2) 40%, rgba(20, 14, 9, 0.6) 100%); }
.gcover.nocover { background: linear-gradient(118deg, #2b2118 0%, #7a4426 52%, #d9622b 125%); min-height: 46vh; }
.gcover-in { position: relative; z-index: 1; padding: 24px 22px; max-width: 900px; }
.gcover h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 7vw, 76px); line-height: 1.08; margin: 0 0 14px; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.gcover p { margin: 0 0 26px; letter-spacing: 0.18em; text-transform: uppercase; font-size: 13px; opacity: 0.92; }
.gcta { display: inline-block; border: 1.5px solid rgba(255, 255, 255, 0.85); color: #fff; text-decoration: none; padding: 12px 28px; border-radius: 999px; font-weight: 600; font-size: 14px; letter-spacing: 0.04em; }
.gcta:hover { background: rgba(255, 255, 255, 0.16); }
.gbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 10px 18px; background: rgba(244, 239, 232, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.gbar .gtitle { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--serif); font-size: 18px; color: var(--muted); }
.gtools { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.gtools .btn { gap: 8px; }
.gtools .btn svg { flex: none; }
.gtools .btn.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.gtools .btn b { font-weight: 700; }
.gtools .btn small { opacity: 0.85; margin-left: 4px; font-weight: 500; }
.gwrap { max-width: 1500px; margin: 0 auto; padding: 22px 14px 40px; }
.gdesc { max-width: 720px; margin: 8px auto 26px; text-align: center; color: #4c3e31; white-space: pre-line; }
.gempty, .gnone { text-align: center; color: var(--muted); padding: 40px 0; }
.ggrid { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.ggrid::after { content: ''; flex-grow: 1000000; }
.gp { position: relative; margin: 0; flex: calc(var(--r) * 100) 1 calc(var(--r) * 300px); min-width: 0; background: #e6dccd; overflow: hidden; border-radius: 0; }
.gp[hidden] { display: none; }
.gp .gl { display: block; line-height: 0; }
.gp img { width: 100%; height: auto; display: block; aspect-ratio: var(--r); object-fit: cover; transition: transform 0.35s; }
.gp:hover img { transform: scale(1.025); }
.gacts { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: flex-end; gap: 2px; padding: 22px 8px 6px; background: linear-gradient(0deg, rgba(20, 14, 9, 0.55), rgba(20, 14, 9, 0)); opacity: 0; transition: opacity 0.2s; }
.gp:hover .gacts, .gacts:focus-within, .gp.on .gacts { opacity: 1; }
.gacts > * { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; padding: 0; }
.gacts > *:hover { background: rgba(255, 255, 255, 0.2); }
.gacts svg { width: 20px; height: 20px; }
.gs.copied::after, #gshare.copied::after { content: 'Link copiat'; position: absolute; transform: translateY(-34px); background: #2b2118; color: #fff; font-size: 12px; padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
.gtabs { position: sticky; top: 57px; z-index: 19; display: flex; gap: 4px; padding: 0 14px; overflow-x: auto; background: rgba(244, 239, 232, 0.96); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.gtabs::-webkit-scrollbar { display: none; }
.gtab { flex: none; border: 0; background: transparent; font: inherit; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 14px 12px 12px; cursor: pointer; border-bottom: 2px solid transparent; }
.gtab:hover { color: var(--ink); }
.gtab.on { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }
.gtabs.dim .gtab.on { color: var(--muted); border-bottom-color: transparent; font-weight: 400; }
.gkeep { font-size: 12.5px; color: var(--muted); margin-right: 6px; white-space: nowrap; }
@media (max-width: 760px) { .gkeep { display: none; } #gshare span { display: none; } }
@media (hover: none) { .gacts { opacity: 1; padding-top: 30px; } }
@media (hover: none) { .gh { opacity: 1; } }
.gp.on .gh { color: #ff6a55; }
.gp.on .gh .hp, .lb-b.on .hp { fill: currentColor; }
.gauthor { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; max-width: 720px; margin: 46px auto 0; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.lb { position: fixed; inset: 0; z-index: 60; background: rgba(14, 10, 7, 0.96); display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
#nm { z-index: 80; }
.lb img { max-width: 100%; max-height: calc(100vh - 70px); max-height: calc(100dvh - 70px); object-fit: contain; user-select: none; }
.lb-x { position: absolute; top: 10px; right: 14px; z-index: 2; width: 44px; height: 44px; border: 0; background: none; color: #fff; font-size: 34px; cursor: pointer; line-height: 1; }
.lb-n { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 52px; height: 72px; border: 0; background: none; color: #fff; font-size: 46px; cursor: pointer; opacity: 0.75; }
.lb-n:hover { opacity: 1; }
.lb-prev { left: 4px; }
.lb-next { right: 4px; }
.lb-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; padding: 10px 18px; color: #e8dccb; font-size: 14px; background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent); }
.lb-act { display: flex; gap: 6px; }
.lb-b { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.12); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; }
.lb-b.on { background: #fff; color: #d9422b; }
.lb-b[hidden] { display: none; }
@media (max-width: 640px) { .lb-n { width: 40px; font-size: 36px; } .gbar .gtitle { display: none; } .gp { flex-basis: calc(var(--r) * 150px); } .gtools .btn small { display: none; } }

/* ---- galerii (administrare) ---- */
.newgal { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.newgal input { flex: 1; min-width: 220px; padding: 12px 14px; font: inherit; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.glist { display: grid; gap: 14px; margin-top: 14px; }
.gc { display: flex; gap: 16px; padding: 14px; align-items: stretch; }
.gc .gthumb { flex: none; width: 168px; aspect-ratio: 3/2; border-radius: 10px; background: #e6dccd center/cover no-repeat; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.gc .gbody { flex: 1; min-width: 0; display: grid; gap: 6px; align-content: start; }
.gc h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; margin: 0; overflow: hidden; text-overflow: ellipsis; }
.gc .gmeta { color: var(--muted); font-size: 14px; }
.gc .gact { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
@media (max-width: 560px) { .gc { flex-direction: column; } .gc .gthumb { width: 100%; } }
.gdrop-over, .drop.over { }
.gprog { margin-top: 14px; display: grid; gap: 8px; }
.gprog .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.gerrs { color: var(--danger); font-size: 13px; display: grid; gap: 2px; }
.phgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pi2 { display: grid; gap: 6px; }
.pi2 .pimg { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #e6dccd; }
.pi2 .pimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pi2 .pbadge { position: absolute; left: 6px; top: 6px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.pi2 .phearts { position: absolute; right: 6px; bottom: 6px; background: rgba(20, 14, 9, 0.62); color: #fff; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 99px; }
.pi2 .pname { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pi2 .pbtn { display: flex; gap: 6px; }
.pi2 .pbtn .btn { min-height: 32px; padding: 3px 10px; font-size: 12px; border-radius: 8px; flex: 1; }
.favrow { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.favrow:first-child { border-top: 0; }
.favrow img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.favrow .who { color: var(--muted); font-size: 13px; }

/* ---- secțiuni în galerie (administrare) ---- */
.secrow { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.secrow input { flex: 1; min-width: 0; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
.secrow .seccount { font-size: 13px; color: var(--muted); white-space: nowrap; }
.secfilter { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.secchip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; color: var(--ink); }
.secchip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pmove { width: 100%; margin: 6px 0 2px; padding: 6px 8px; font-size: 13px; }
@media (max-width: 560px) { .secrow { flex-wrap: wrap; } .secrow .seccount { order: 3; } }

/* ---- încadrarea copertei ---- */
.cvrow { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 12px; }
.cvbox { position: relative; overflow: hidden; border-radius: 8px; background: #2b2118; cursor: crosshair; touch-action: none; user-select: none; }
.cvbox img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cvwide { flex: 1 1 360px; max-width: 560px; aspect-ratio: 16 / 9; }
.cvtall { flex: 0 0 150px; aspect-ratio: 9 / 16; }
#cv-z { vertical-align: middle; width: 200px; max-width: 50%; }

.gcover p.gkeep2 { margin: -14px 0 22px; letter-spacing: 0.04em; text-transform: none; font-size: 14px; opacity: 0.9; }

/* ---- profil: bară de sus, căutare, inimioare, raportare ---- */
.ptop { display: grid; grid-template-columns: 1fr minmax(0, 520px) 1fr; align-items: center; gap: 14px; }
.ptop #acct { justify-self: end; }
.ptop .brand { justify-self: start; }
.ptop .brand { flex: none; }
.psearch { position: relative; width: 100%; }
.psearch input { width: 100%; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 999px; font: inherit; font-size: 14px; background: #fff; }
.psearch input:focus { outline: none; border-color: var(--accent); }
.ptop #acct { flex: none; }
.sres { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 34px rgba(43, 33, 24, 0.16); padding: 6px; z-index: 40; max-height: 70vh; overflow: auto; }
.sres .sh { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 8px 10px 4px; }
.sres .si { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.sres .si:hover { background: var(--bg); }
.sres .sav { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #efe6d8; color: var(--accent-dark); display: flex; align-items: center; justify-content: center; overflow: hidden; font-family: var(--serif); }
.sres .sav img { width: 100%; height: 100%; object-fit: cover; }
.sres .sth { flex: none; width: 64px; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #e9e1d4; }
.sres .sth img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sres .st { display: flex; flex-direction: column; min-width: 0; }
.sres .st b { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sres .st em { font-style: normal; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sres .sno { padding: 14px; color: var(--muted); font-size: 14px; text-align: center; }
@media (max-width: 640px) { .ptop { grid-template-columns: auto 1fr; } .psearch { order: 3; grid-column: 1 / -1; } }

.vc { position: relative; display: block; color: var(--ink); min-width: 0; }
.vc .vca { display: block; color: var(--ink); text-decoration: none; }
.vc:hover .vt { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.vtools { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.likebtn { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.likebtn.sm { padding: 4px 10px; font-size: 13px; }
.likebtn:hover { border-color: var(--accent); }
.likebtn.on { color: #d9422b; border-color: #d9422b; }
.likebtn.on .hp { fill: currentColor; }
.reportbtn.txt { display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; padding: 4px 2px; }
.reportbtn.txt:hover { color: var(--ink); text-decoration: underline; }
.wsocial { display: flex; align-items: center; gap: 14px; margin: 14px 0 4px; position: relative; flex-wrap: wrap; }
.liketip { position: absolute; left: 0; top: calc(100% + 6px); background: #2b2118; color: #fff; font-size: 13px; padding: 9px 12px; border-radius: 10px; max-width: 280px; z-index: 30; }
.liketip a { color: #ffd8bd; font-weight: 600; }
.vtools .liketip { top: calc(100% + 4px); }
.rlabel { display: block; font-weight: 600; font-size: 14px; margin: 12px 0 5px; }
.rsel, .rarea { width: 100%; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
.rarea { min-height: 84px; resize: vertical; }
#rp .error { color: var(--danger); margin: 10px 0 0; min-height: 1em; font-size: 14px; }

/* copertă mai înaltă pe telefon, imagini încadrate de utilizator */
.avatar img, .cover img { transform-origin: 50% 50%; }
@media (max-width: 860px) { .cover { height: clamp(260px, 74vw, 400px); } }

/* ---- încadrare imagini profil (administrare) ---- */
.framer { margin-top: 6px; }
.coverprev.cvphone { width: 220px; height: 128px; border-radius: 12px; margin-bottom: 8px; }
.coverprev img, .avprev img { pointer-events: none; user-select: none; }
.framer input[type=range] { vertical-align: middle; width: 200px; max-width: 45%; }
/* ---- rapoarte ---- */
.nbadge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #d9422b; color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.repcard { margin-bottom: 12px; }
.repcard.open { border-color: #d9422b; }
.rephead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.repmeta { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.repnote { margin: 6px 0 10px; white-space: pre-line; }

/* ---- V14: profil foto, tab-uri Video/Foto, lightbox ---- */
.ptabs { display: flex; gap: 6px; margin-bottom: 14px; border-bottom: 1px solid var(--line, #e7ddd0); }
.ptab { background: none; border: 0; padding: 8px 14px; font: inherit; font-weight: 600; color: #7a6a5a; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.ptab span { font-weight: 400; font-size: 0.85em; opacity: 0.7; margin-left: 4px; }
.ptab.on { color: var(--accent-dark, #b8481c); border-bottom-color: var(--accent, #d9622b); }
.phtabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 4px 0 18px; }
.phtab { background: transparent; border: 1px solid #d8cbbb; border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 14px; cursor: pointer; color: #5c4d3f; }
.phtab.on { background: #2b2118; border-color: #2b2118; color: #fff; }
.phjust { display: flex; flex-wrap: wrap; gap: 6px; }
.phj { flex: calc(var(--ar) * 220) 1 calc(var(--ar) * 220px); display: block; overflow: hidden; border-radius: 4px; background: #eadfd2; }
.phj[hidden] { display: none; }
.phj img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.phj:hover img { transform: scale(1.03); }
.photog .phero { position: relative; min-height: clamp(340px, 52vw, 520px); display: grid; place-items: end center; overflow: hidden; background: linear-gradient(118deg, #2b2118 0%, #7a4426 52%, #d9622b 125%); color: #fff; }
.photog .phcov { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photog .phshade { position: absolute; inset: 0; background: linear-gradient(rgba(10, 8, 6, 0.15), rgba(10, 8, 6, 0.7)); }
.photog .phid { position: relative; text-align: center; padding: 0 16px 34px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.photog .phid .avatar { width: 104px; height: 104px; margin: 0 0 6px; border: 3px solid rgba(255, 255, 255, 0.9); }
.photog .phid h1 { font-family: var(--serif); font-size: clamp(30px, 6vw, 48px); margin: 0; font-weight: 500; letter-spacing: 0.01em; }
.photog .phid .headline { margin: 0; text-transform: uppercase; letter-spacing: 0.22em; font-size: 12px; opacity: 0.9; }
.photog .phmotto { margin: 6px 0 0; font-style: italic; opacity: 0.92; }
.photog .phero .share { position: absolute; right: 16px; top: 16px; z-index: 2; background: rgba(0, 0, 0, 0.35); color: #fff; border-color: transparent; }
.photog .phmain { max-width: 1400px; margin: 0 auto; padding: 28px 16px 40px; }
.photog .phbio { max-width: 640px; margin: 0 auto 14px; text-align: center; }
.photog .phlinks { justify-content: center; display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 14px; }
.photog .phmeta { display: flex; gap: 18px; justify-content: center; color: #8a7a6a; font-size: 13px; margin-bottom: 22px; }
body.lbx-open { overflow: hidden; }
.lbx { position: fixed; inset: 0; z-index: 100; background: rgba(8, 6, 4, 0.94); display: grid; place-items: center; }
.lbx[hidden] { display: none; }
.lbx img { max-width: 94vw; max-height: 92vh; object-fit: contain; }
.lbx button { position: absolute; background: rgba(255, 255, 255, 0.12); color: #fff; border: 0; font-size: 30px; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; line-height: 1; }
.lbx-x { top: 14px; right: 14px; } .lbx-p { left: 12px; top: 50%; } .lbx-n { right: 12px; top: 50%; }
.pfmode .nopf { display: none !important; }
.pfmode .pbtn .btn:not(.danger) { display: none; }
.premchip { display: inline-block; background: #fff1d6; color: #8a5a00; border-radius: 999px; padding: 1px 9px; font-size: 12px; font-weight: 600; vertical-align: middle; }
.chip.premchip { background: #fff1d6; color: #8a5a00; }
.check.inl { display: inline-flex; align-items: center; gap: 6px; margin: 0 6px; }
.uact input[type=text] { max-width: 170px; }
.profile .ptabs + [data-panel] { margin-top: 4px; }
.uact select, .uact .expsel { width: auto; min-width: 150px; padding: 6px 10px; }
.uact input[type=text] { padding: 6px 8px; width: 150px; }
.pbadge2 { display: inline-flex; vertical-align: middle; margin-left: 6px; cursor: help; line-height: 0; }

/* V14: bară de salvare mereu vizibilă, „Vezi profilul”, contact */
#pform .pfoot { position: sticky; bottom: 0; z-index: 20; background: rgba(250, 246, 240, 0.96); backdrop-filter: blur(6px); padding: 12px 16px; margin: 0 -16px; border-top: 1px solid var(--line, #e7ddd0); box-shadow: 0 -6px 18px rgba(40, 25, 10, 0.08); }
.topbar { display: flex; justify-content: flex-end; padding: 14px 28px 0; }
.topbar .btn[hidden] { display: none; }
@media (max-width: 800px) { .topbar { padding: 10px 14px 0; } }
.pcontact { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 10px 0 0; }
.photog .pcontact { justify-content: center; margin: 0 0 12px; }

.selbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; padding: 8px 10px; background: #f6efe5; border-radius: 10px; }
.selcount { font-size: 13px; font-weight: 600; color: var(--accent-dark, #b8481c); }
.pselect { position: absolute; left: 8px; top: 8px; width: 22px; height: 22px; accent-color: #d9622b; cursor: pointer; z-index: 2; }
.pimg.sel { outline: 3px solid #d9622b; outline-offset: -3px; }
.pimg.sel img { opacity: 0.75; }
.pi2 .pbadge { left: auto; right: 6px; }

.phidden { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(120, 30, 10, 0.88); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 6px; text-align: center; }
.hidnote { background: #fdeede; border: 1px solid #f0c9a0; color: #7a3a10; border-radius: 10px; padding: 10px 12px; font-size: 14px; margin: 0 0 12px; }

/* ---- V14: profil video pe telefon, în stilul Vimeo ---- */
.mtabs { display: none; }
@media (max-width: 860px) {
  .pwrap { padding: 0 10px 24px; }
  .cover { height: clamp(150px, 52vw, 240px); border-radius: 12px; }
  .pside { margin-top: -58px; gap: 10px; }
  .pid.pcard { background: transparent; border: 0; padding: 0 4px; }
  .pid .avatar { width: 112px; height: 112px; border: 4px solid #fff; margin-bottom: 10px; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12); }
  .pid .share { top: 70px; right: 4px; background: transparent; border-color: transparent; }
  .pid h1 { font-family: var(--sans, inherit); font-weight: 700; font-size: 26px; }
  .mtabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #e9e4dc; padding: 4px; border-radius: 12px; }
  .mt { border: 0; background: transparent; font: inherit; font-weight: 600; padding: 9px 0; border-radius: 9px; color: #3b3128; cursor: pointer; }
  .mt.on { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
  .pwrap[data-mt='v'] .pabout { display: none; }
  .pwrap[data-mt='a'] .pmain { display: none; }
  .pmain.pcard { padding: 14px; }
}

/* ---- Analitică ---- */
.an-wrap { max-width: 1100px !important; }
.an-head { margin-bottom: 14px; }
.an-sub { color: var(--muted); font-size: 14px; margin-top: 2px; }
.an-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 6px; }
.an-site b { font-size: 18px; margin-right: 12px; overflow-wrap: anywhere; }
.an-live { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 600; }
.an-live i { width: 9px; height: 9px; border-radius: 50%; background: #25b560; display: inline-block; }
.an-ctl { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.an-sel { font: inherit; font-size: 14px; font-weight: 600; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; }
.an-sel-s { padding: 5px 10px; font-size: 13px; }
.an-nav { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.an-nav button { border: 0; background: transparent; width: 36px; height: 38px; font-size: 20px; cursor: pointer; color: var(--ink); }
.an-nav button + button { border-left: 1px solid var(--line); }
.an-nav button:disabled { opacity: 0.35; cursor: default; }
.an-period { color: var(--muted); font-size: 13px; margin: 0 0 12px; text-align: right; }
.an-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: 0 1px 2px rgba(40, 25, 10, 0.04); }
.an-main { padding: 0; overflow: hidden; }
.an-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.an-tile { text-align: left; border: 0; background: transparent; padding: 16px 14px 12px; cursor: pointer; font: inherit; border-right: 1px solid var(--line); border-bottom: 3px solid transparent; min-width: 0; }
.an-tile:last-child { border-right: 0; }
.an-tile.on { border-bottom-color: var(--accent); background: #fffaf5; }
.an-tl { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #6d5f52; margin-bottom: 6px; }
.an-tile.on .an-tl { color: var(--accent-dark); }
.an-tv { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.an-tv b { font-size: 24px; font-weight: 700; }
.an-d { font-style: normal; font-size: 12px; font-weight: 600; }
.an-d.up { color: #2e7d4f; } .an-d.down { color: #b3261e; }
.an-chartbar { display: flex; justify-content: flex-end; padding: 10px 14px 0; }
.an-chart { position: relative; height: 300px; margin: 4px 14px 14px; }
.an-chart svg { width: 100%; height: 100%; display: block; }
.an-yl span { position: absolute; left: 0; transform: translateY(-50%); font-size: 11px; color: #6d5f52; }
.an-xl span { position: absolute; bottom: 0; transform: translateX(-50%); font-size: 11px; color: #6d5f52; white-space: nowrap; }
.an-dot { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; transform: translate(-50%, -50%); pointer-events: none; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25); }
.an-tip { position: absolute; transform: translate(-50%, -100%); background: #2b2118; color: #fff; font-size: 12px; padding: 7px 10px; border-radius: 8px; pointer-events: none; white-space: nowrap; z-index: 3; }
.an-tt { font-weight: 700; margin-bottom: 2px; }
.an-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.an-ch { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.an-ch h3 { margin: 0; font-size: 15px; }
.an-tabs { display: flex; gap: 12px; }
.an-tabs button { border: 0; background: none; font: inherit; font-size: 12px; font-weight: 600; color: #7a6a5a; cursor: pointer; padding: 2px 0; }
.an-tabs button.on { color: #4338ca; text-decoration: underline; text-underline-offset: 4px; }
.an-list { display: grid; gap: 4px; }
.an-row { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 6px; font-size: 14px; min-height: 36px; }
.an-row i { position: absolute; left: 0; top: 0; bottom: 0; background: #fdf0e6; border-radius: 6px; z-index: 0; }
.an-row > * { position: relative; z-index: 1; }
.an-row .an-name { min-width: 0; overflow-wrap: anywhere; }
.an-row .an-name a { color: var(--ink); text-decoration: none; font-weight: 600; }
.an-row .an-name a:hover { text-decoration: underline; }
.an-row small { color: var(--muted); font-size: 12px; }
.an-empty { color: var(--muted); font-size: 14px; padding: 18px 4px; text-align: center; }
@media (max-width: 860px) {
  .an-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .an-tile { border-bottom: 1px solid var(--line); }
  .an-tile.on { border-bottom: 3px solid var(--accent); }
  .an-cols { grid-template-columns: minmax(0, 1fr); }
  .an-chart { height: 230px; }
  .an-period { text-align: left; }
}

/* ---- V14k: Planuri ---- */
.pl-wrap, .shell .pl-wrap { max-width: 1240px; }
.pl-status { background: #fff4ec; border: 1px solid #f0cdb6; color: #8a3e12; border-radius: 12px; padding: 12px 16px; font-weight: 600; margin-bottom: 16px; }
.pl-toggle { display: inline-flex; background: #efe7de; border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.pl-toggle button { border: 0; background: none; font: inherit; font-weight: 600; font-size: 14px; padding: 8px 18px; border-radius: 999px; cursor: pointer; color: #5b4c3e; }
.pl-toggle button.on { background: #fff; color: #2b2118; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); }
.pl-toggle small { font-weight: 500; color: var(--accent-dark); margin-left: 4px; }
.pl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 1060px) { .pl-grid { grid-template-columns: repeat(2, 1fr); } }
.pl-card { position: relative; background: #fff; border: 1px solid #e6dccf; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; }
.pl-card.cur { outline: 2px solid #2b2118; }
.pl-prem { border-color: var(--accent); }
.pl-prem.cur { outline-color: var(--accent); }
.pl-card h2 { margin: 0 0 6px; font-size: 20px; }
.pl-price { font-size: 15px; color: #6d5f52; margin-bottom: 16px; }
.pl-price b { font-size: 34px; color: #2b2118; }
.pl-tag { position: absolute; top: 16px; right: 16px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.pl-list { list-style: none; margin: 0 0 20px; padding: 0; flex: 1; }
.pl-list li { position: relative; padding: 6px 0 6px 26px; font-size: 15px; }
.pl-list li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 12px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.pl-cta { width: 100%; justify-content: center; text-align: center; margin-top: 8px; display: block; box-sizing: border-box; }
.pl-note { margin: 12px 0 0; }
@media (max-width: 700px) { .pl-grid { grid-template-columns: 1fr; } }
.pl-status.warn { background: #fdecea; border-color: #f0b7b0; color: #8f2a1f; }
.snav-i.dot { position: relative; }
.snav-i.dot::after { content: ""; position: absolute; top: 10px; right: 12px; width: 9px; height: 9px; border-radius: 50%; background: #d93a2b; }
.payrow { padding: 8px 0; border-top: 1px solid #eee3d6; font-size: 14px; }
.payrow:first-child { border-top: 0; }
.disk.crit { color: #fff; background: var(--danger); padding: 2px 8px; border-radius: 6px; }
.onote { margin: 6px 0 0; }
.onote { color: #8a7b6c; font-size: 12.5px; margin: 6px 0 0; }

/* V14q: căutare în meniul din panou */
.side .dsearch { margin: -6px 0 -4px; }
.side .dsearch input { padding: 9px 14px; font-size: 14px; }
.side .dsearch .sres { min-width: 300px; }
@media (max-width: 860px) { .side .dsearch { order: 2; flex: 1 1 100%; margin: 0; } .side .dsearch .sres { min-width: 0; } }
.psz { font-size: 11.5px; color: #8a7b6c; margin: 2px 0 6px; line-height: 1.3; }

/* comutatoare administrator */
.swrow { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line, #e4ddd2); flex-wrap: wrap; }
.swrow > div:first-child { flex: 1 1 200px; min-width: 0; }
.swrow .btnrow { flex: none; flex-wrap: nowrap; }
.swrow input[type=number] { height: 40px; padding: 0 10px; border: 1px solid var(--line, #d9cfbf); border-radius: 10px; font: inherit; background: #fff; }
.swrow b { display: block; font-size: 15px; }
.swrow span { font-size: 13px; }
.swrow span.on { color: #1f7a4d; }
.swrow span.off { color: #b3261e; font-weight: 600; }
.aform .help { margin-bottom: 14px; }

/* sigla din bara de sus a profilurilor */
.ptop .brand.small { font-size: 36px; line-height: 1; }
@media (max-width: 640px) { .ptop .brand.small { font-size: 30px; } }

/* pagina Fișiere server (administrator) */
.fx-wrap { max-width: 1000px; }
.fx-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-bottom: 18px; }
.fx-stat { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fx-stat.wide { grid-column: 1 / -1; }
.fx-stat b { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.fx-stat span { font-size: 13px; color: var(--muted); }
.fx-stat i { font-style: normal; font-size: 12px; color: var(--muted); }
.fx-bar { height: 8px; background: #e9e1d4; border-radius: 6px; overflow: hidden; margin-top: 8px; }
.fx-bar i { display: block; height: 100%; background: var(--accent); }
.fx-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.fx-tab { border: 1px solid var(--line); background: transparent; border-radius: 99px; padding: 8px 18px; font: inherit; font-weight: 600; cursor: pointer; color: var(--muted); }
.fx-tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.fx-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.fx-filters input, .fx-filters select { font: inherit; font-size: 14px; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; min-width: 0; }
.fx-filters input { flex: 1 1 220px; }
.fx-row { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.fx-main { display: flex; align-items: center; gap: 14px; padding: 12px; flex-wrap: wrap; }
.fx-th { width: 112px; height: 64px; object-fit: cover; border-radius: 8px; background: #e9e1d4; flex: none; }
.fx-info { flex: 1 1 220px; min-width: 0; }
.fx-title { font-weight: 600; overflow-wrap: anywhere; }
.fx-sub { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.fx-act { display: flex; gap: 8px; flex-wrap: wrap; }
.fx-pill { display: inline-block; font-size: 11px; font-weight: 700; border-radius: 99px; padding: 1px 9px; background: #eee5d8; color: var(--ink); margin-right: 4px; }
.fx-pill.ok { background: #dff1e6; color: #1f7a4d; }
.fx-pill.bad { background: #f8dcd9; color: #b3261e; }
.fx-det { border-top: 1px solid var(--line); padding: 12px 14px 14px; background: rgba(255, 255, 255, 0.5); }
.fx-det[hidden] { display: none; }
.fx-kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0 0 10px; font-size: 13.5px; }
.fx-kv dt { color: var(--muted); }
.fx-kv dd { margin: 0; overflow-wrap: anywhere; }
.fx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.fx-tile { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.fx-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #e9e1d4; }
.fx-cap { padding: 5px 7px 6px; font-size: 11px; line-height: 1.35; }
.fx-cap span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-cap i { font-style: normal; color: var(--muted); }
.fx-x { position: absolute; top: 5px; right: 5px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(179, 38, 30, 0.92); color: #fff; font-size: 13px; cursor: pointer; line-height: 1; }
@media (max-width: 640px) { .fx-th { width: 84px; height: 52px; } .fx-act { width: 100%; } }
.fx-pill.warn { background: #fdecc8; color: #8a5a00; }
.fx-stat.fx-link { cursor: pointer; border-color: #e6c98a; }
.fx-stat.fx-link:hover { background: #fffaf0; }

/* ---------- Emailuri (admin) ---------- */
.ml-wrap { max-width: 860px; }
.ml-warn { background: #fff3e0; border-left: 4px solid var(--accent); padding: 12px 14px; border-radius: 8px; margin-bottom: 14px; }
.ml-tpls { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.ml-tw { position: relative; }
.ml-tpl { width: 100%; text-align: left; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; padding: 12px; font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 3px; min-height: 64px; }
.ml-tpl:hover { border-color: var(--accent); }
.ml-tpl span { font-size: 12px; color: var(--muted); }
.ml-tx { position: absolute; top: 4px; right: 6px; border: 0; background: transparent; font-size: 20px; line-height: 1; cursor: pointer; color: var(--muted); }
.ml-bar { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; background: var(--paper); position: sticky; top: 0; z-index: 3; }
.ml-bar button, .ml-bar select, .ml-col { height: 34px; min-width: 34px; padding: 0 9px; border: 1px solid var(--line); background: #fff; border-radius: 7px; font: inherit; font-size: 14px; cursor: pointer; color: var(--ink); }
.ml-bar select { width: auto; margin: 0; }
.ml-bar button:hover { border-color: var(--accent); }
.ml-col { position: relative; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; overflow: hidden; }
.ml-col input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; padding: 0; }
.ml-bg { color: #d9a441; }
.ml-pop { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border: 1px solid var(--line); border-bottom: 0; background: #fff3e0; }
.ml-pop input { flex: 1 1 180px; margin: 0; }
.ml-vars { padding: 6px 8px; border: 1px solid var(--line); border-bottom: 0; font-size: 13px; background: var(--paper); display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.ml-vars button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 2px 10px; font: inherit; font-size: 13px; cursor: pointer; }
.ml-ed { min-height: 320px; max-height: 70vh; overflow: auto; border: 1px solid var(--line); border-radius: 0 0 10px 10px; background: #fff; padding: 22px; font-family: Arial, sans-serif; font-size: 16px; line-height: 1.6; color: #2b2118; outline: none; }
.ml-ed:focus { border-color: var(--accent); }
.ml-ed img { max-width: 100%; height: auto; }
.ml-ed a { color: #d9622b; }
.ml-ulist { max-height: 240px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; margin-top: 8px; }
.ml-urow { display: flex; gap: 10px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line); cursor: pointer; }
.ml-urow input { width: auto; margin: 0; }
.ml-camp { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; }
.ml-ch { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 4px; }
.ml-pill { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: #eee; }
.ml-pill.sending { background: #fff3e0; color: var(--accent-dark); }
.ml-pill.done { background: #e4f3ea; color: var(--ok); }
.ml-pill.paused, .ml-pill.cancelled { background: #f6e1df; color: var(--danger); }
.ml-prog { height: 8px; background: var(--line); border-radius: 99px; margin: 8px 0 6px; overflow: hidden; }
.ml-prog i { display: block; height: 100%; background: var(--accent); }
.ml-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.ml-fail { white-space: pre-wrap; margin-top: 8px; max-height: 160px; overflow: auto; }
.ml-opt { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.ml-opt input { width: auto; margin: 0; }
.ml-modal { position: fixed; inset: 0; background: rgba(43, 33, 24, 0.55); z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; }
.ml-mbox { background: #fff; border-radius: 14px; width: min(720px, 100%); height: min(88vh, 900px); display: flex; flex-direction: column; overflow: hidden; }
.ml-mhead { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.ml-mbox iframe { flex: 1; border: 0; width: 100%; background: #f4efe8; }
@media (max-width: 560px) { .ml-ed { padding: 14px; } }
.pfoot input[type=text] { flex: 1 1 220px; min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font: inherit; margin: 0; }
.ml-camp .ml-ch b { overflow-wrap: anywhere; }
.uhead strong.isadm { color: var(--danger); }
.chip.adm { background: rgba(179, 38, 30, 0.1); color: var(--danger); }

/* ---------- Mesaje (chat, admin) ---------- */
.ch-wrap { max-width: 980px; }
.ch-grid { display: grid; grid-template-columns: 320px 1fr; gap: 14px; align-items: start; }
.ch-list { display: flex; flex-direction: column; gap: 6px; }
.ch-item { position: relative; text-align: left; border: 1px solid var(--line); background: var(--paper); border-radius: 12px; padding: 11px 14px; font: inherit; cursor: pointer; color: var(--ink); }
.ch-item.on { border-color: var(--accent); }
.ch-item.closed { opacity: 0.6; }
.ch-top { display: flex; gap: 8px; align-items: center; }
.ch-top b { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-when { font-size: 12px; color: var(--muted); }
.ch-online { font-size: 11px; color: var(--ok); font-weight: 700; }
.ch-prev { color: var(--muted); font-size: 14px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-item.unread .ch-prev { color: var(--ink); font-weight: 600; }
.ch-dot { position: absolute; right: 10px; bottom: 12px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.ch-conv { border: 1px solid var(--line); border-radius: 14px; background: #fff; display: flex; flex-direction: column; height: min(560px, 68vh); overflow: hidden; }
.ch-chead { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--paper); }
.ch-back { display: none; }
.ch-who { flex: 1; display: flex; flex-direction: column; min-width: 0; font-size: 14px; }
.ch-who small { color: var(--muted); }
.ch-acts { display: flex; gap: 6px; }
.ch-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--bg); }
.ch-m { max-width: 80%; padding: 9px 13px; border-radius: 14px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.4; }
.ch-m small { display: block; font-size: 11px; opacity: 0.65; margin-top: 3px; }
.ch-m.them { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.ch-m.me { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.ch-reply { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); align-items: flex-end; }
.ch-reply textarea { flex: 1; margin: 0; font: inherit; font-size: 16px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; resize: none; background: var(--paper); }
.ch-tg { margin-bottom: 14px; }
@media (max-width: 760px) {
  .ch-grid { grid-template-columns: 1fr; }
  .ch-grid.conv-open .ch-list, .ch-grid.conv-open #ch-empty { display: none; }
  .ch-back { display: inline-flex; }
  .ch-conv { height: calc(100vh - 150px); }
}
.ch-acct { font-size: 11px; font-weight: 700; color: var(--accent-dark); background: #fff3e0; border-radius: 99px; padding: 1px 8px; }
.ch-note { align-self: center; font-size: 12.5px; color: var(--muted); background: #e9dfce; border-radius: 99px; padding: 5px 14px; margin: 6px 0; }
.ch-reply[hidden] { display: none; }

/* ---------- grup „Administrare” + spațiu server ---------- */
.snav-group { display: grid; gap: 4px; }
.snav-gh { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; border: 0; background: transparent; border-radius: 12px; font: inherit; font-weight: 600; font-size: 15px; color: var(--muted); cursor: pointer; text-align: left; }
.snav-gh:hover { color: var(--ink); background: rgba(43, 33, 24, 0.05); }
.snav-gh span { flex: 1; }
.snav-gh .gchev { transition: transform 0.15s; flex: none; }
.snav-group.open .gchev { transform: rotate(180deg); }
.snav-group.has-active > .snav-gh { color: var(--ink); }
.snav-group.has-active > .snav-gh svg:first-child { color: var(--accent); }
.snav-sub { display: grid; gap: 2px; margin-left: 14px; padding-left: 8px; border-left: 2px solid var(--line); }
.snav-sub[hidden] { display: none; }
.snav-sub .snav-i { padding: 9px 12px; font-size: 14.5px; }
@media (max-width: 860px) {
  .snav-group { grid-column: 1 / -1; }
  .snav-gh { flex-direction: row; justify-content: center; }
  .snav-gh span { flex: none; }
  .snav-sub { grid-template-columns: repeat(3, 1fr); margin-left: 0; padding-left: 0; border-left: 0; margin-top: 4px; }
}
.side-foot .disk { text-align: left; }
.dk-bar { display: flex; height: 8px; border-radius: 99px; background: #e8dfd0; overflow: hidden; margin: 2px 0 8px; }
.dk-used { background: #2b2118; display: block; height: 100%; }
.dk-sys { background: #b9ad9b; display: block; height: 100%; }
.dk-sw { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }
.dk-sw.dk-free { background: #e8dfd0; border: 1px solid #cfc3ae; }
.dk-sw.dk-sys, .dk-sw.dk-used, .dk-sw.dk-alloc { height: 11px; }
.dk-sep { height: 1px; background: #e8dfd0; margin: 6px 0; }
.dk-alloc { background: #e8a272; display: block; height: 100%; }
.dk-row { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.dk-row b { color: var(--ink); font-weight: 700; white-space: nowrap; }
.dk-row.ok b { color: var(--ok); }
.dk-row.crit b { color: var(--danger); }
.dk-row.warn b { color: #c27a12; }
.dk-sub { font-size: 12px; color: #8a7b6c; margin: -2px 0 4px; }
.diskbox .dk-row { font-size: 14.5px; }
.diskbox .dk-bar { height: 12px; }
body[data-staff="mod"] .adm-only { display: none !important; }
.chip.mod { background: rgba(46, 125, 79, 0.12); color: var(--ok); }

/* banner Premium */
.pnotice { border-radius: 14px; padding: 14px 18px; margin-bottom: 18px; border: 1px solid var(--line); }
.pnotice.soft { background: #fff3e0; border-color: #f0cfa6; }
.pnotice.hard { background: #fbe9e7; border-color: #e8b4ad; }
.pn-main { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.pn-txt { flex: 1 1 320px; display: grid; gap: 4px; }
.pn-txt b { font-size: 16px; }
.pn-txt span { font-size: 14px; color: #5a4a3a; line-height: 1.5; }
.pnotice.hard .pn-txt b { color: var(--danger); }
.pn-act { display: flex; gap: 8px; align-items: center; }
.pn-x { border: 0; background: transparent; font-size: 24px; line-height: 1; cursor: pointer; color: var(--muted); padding: 0 6px; }
.pn-det { font-size: 13.5px; margin-top: 4px; }
.pn-det summary { cursor: pointer; font-weight: 600; }
.pn-det ul { margin: 6px 0 0; padding-left: 20px; max-height: 160px; overflow: auto; }
.dk-row > span:first-child { display: flex; align-items: center; }
.dk-sw { flex: none; margin-right: 7px; vertical-align: 0; }

/* ---------- player Vidora ---------- */
.player-shell { position: relative; }
.vp { position: absolute; inset: 0; color: #fff; font-family: var(--sans, system-ui, sans-serif); user-select: none; -webkit-user-select: none; pointer-events: none; }
.vp > * { pointer-events: auto; }
.vp svg { width: 22px; height: 22px; display: block; }
.vp-b { background: none; border: 0; color: #fff; cursor: pointer; padding: 7px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; opacity: .92; -webkit-tap-highlight-color: transparent; }
.vp-b:hover { opacity: 1; background: rgba(255, 255, 255, .14); }
.vp-b:focus-visible, .vp-seek:focus-visible, .vp-logo:focus-visible { outline: 2px solid #e8a272; outline-offset: 1px; }
.vp-b[hidden] { display: none; }
.vp-big { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: rgba(20, 16, 12, .62); opacity: 0; transition: opacity .2s; padding: 0; }
.vp-big svg { width: 34px; height: 34px; margin-left: 4px; }
.vp-paused .vp-big { opacity: 1; }
.vp-paused:not(.vp-started) .vp-big { background: #d9622b; }
.vp-wait .vp-big { opacity: 0; }
.vp-wait::after { content: ''; position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 3px solid rgba(255, 255, 255, .3); border-top-color: #fff; border-radius: 50%; animation: vpspin .8s linear infinite; pointer-events: none; }
@keyframes vpspin { to { transform: rotate(360deg); } }
.vp-bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 12px 8px; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); opacity: 0; transition: opacity .22s; }
.vp-show .vp-bar { opacity: 1; }
.vp:not(.vp-show) { cursor: none; }
.vp-seek { position: relative; height: 16px; margin: 0 4px; cursor: pointer; touch-action: none; }
.vp-seek::before { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .28); transition: height .12s, top .12s; }
.vp-seek:hover::before { top: 5px; height: 6px; }
.vp-buf, .vp-fill { position: absolute; left: 0; top: 6px; height: 4px; border-radius: 4px; width: 0; transition: height .12s, top .12s; }
.vp-seek:hover .vp-buf, .vp-seek:hover .vp-fill { top: 5px; height: 6px; }
.vp-buf { background: rgba(255, 255, 255, .38); }
.vp-fill { background: #e8743b; }
.vp-knob { position: absolute; top: 2px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #fff; left: 0; transform: scale(0); transition: transform .12s; }
.vp-seek:hover .vp-knob, .vp-seek:focus-visible .vp-knob { transform: scale(1); }
.vp-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.vp-l, .vp-r { display: flex; align-items: center; gap: 2px; min-width: 0; }
.vp-logo { font: 400 22px/1 'DM Serif Display', Georgia, serif; color: #fff; text-decoration: none; padding: 4px 10px 4px 6px; letter-spacing: .2px; opacity: .95; }
.vp-logo i { color: #e8743b; font-style: normal; }
.vp-logo:hover { opacity: 1; }
.vp-time { font-size: 13px; opacity: .9; margin-left: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vp-vol { display: flex; align-items: center; }
.vp-vr { width: 0; opacity: 0; transition: width .18s, opacity .18s; accent-color: #e8743b; height: 4px; margin: 0; cursor: pointer; }
.vp-vol:hover .vp-vr, .vp-vol:focus-within .vp-vr { width: 74px; opacity: 1; margin: 0 6px 0 2px; }
.vp-novr .vp-mute { display: none; }
.vp-menu { position: absolute; right: 12px; bottom: 62px; min-width: 150px; max-height: 70%; overflow: auto; background: rgba(20, 16, 12, .94); border-radius: 12px; padding: 6px; box-shadow: 0 8px 28px rgba(0, 0, 0, .45); }
.vp-menu[hidden] { display: none; }
.vp-mt { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; padding: 6px 10px 4px; }
.vp-mi { display: flex; width: 100%; background: none; border: 0; color: #fff; font: 600 14px/1 var(--sans, system-ui, sans-serif); text-align: left; padding: 10px; border-radius: 8px; cursor: pointer; }
.vp-mi:hover { background: rgba(255, 255, 255, .12); }
.vp-mi.on { color: #e8a272; }
.vp-mi.on::after { content: '✓'; margin-left: auto; padding-left: 14px; }
.vp-on video::-webkit-media-controls { display: none !important; }
.vp-fullshell { width: 100% !important; height: 100% !important; aspect-ratio: auto !important; border-radius: 0 !important; background: #000; }
@media (max-width: 560px) {
  .vp-bar { padding: 28px 6px 4px; }
  .vp-time { font-size: 12px; margin-left: 2px; }
  .vp-logo { font-size: 19px; padding: 4px 6px 4px 4px; }
  .vp-b { padding: 6px; }
  .vp-spd { display: none; }
  .vp-big { width: 64px; height: 64px; }
  .vp-menu { right: 6px; bottom: 54px; }
}

.pnote { background: #fbf1e3; color: #6b4a1f; border-bottom: 1px solid #ecd9b8; padding: 10px 16px; font-size: 14px; text-align: center; }
.pnote.done { background: #e9f4ec; color: #1f5a37; border-color: #cfe5d6; }
.pnote .btn { margin-left: 8px; }

/* V19: pagina cu parolă */
.lockform{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:18px}
.lockform input{flex:1 1 200px;max-width:260px;padding:13px 14px;border:1px solid #d9cdbd;border-radius:12px;font:inherit;background:#fff;color:#2b2118}
.lockform input:focus{outline:2px solid #D9622B;outline-offset:1px}
.lockerr{color:#b3261e;margin-top:14px;font-weight:600}
/* V19: panoul „Acces și email” din cardul videoului */
.vshare{margin-top:10px;padding:12px 14px;border:1px dashed #d9cdbd;border-radius:12px;background:#fbf7f1;display:grid;gap:10px}
.vshare .srow{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.vshare .srow label{font-size:13px;color:#6b5a48;min-width:120px}
.vshare input[type=text],.vshare input[type=email]{flex:1 1 180px;padding:9px 11px;border:1px solid #d9cdbd;border-radius:10px;font:inherit;font-size:14px;background:#fff}
.vshare .snote{font-size:12.5px;color:#8a7b6c;margin:0}
.vshare .sok{font-size:12.5px;color:#2f7a45;font-weight:600}
.badge.lock{background:#efe7dc;color:#5a4632}

/* V19: statistici și poze landing în administrare */
.stgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.stcell{background:#fbf7f1;border:1px solid #eadfce;border-radius:12px;padding:12px 14px;display:grid;gap:2px}
.stcell b{font-size:26px;line-height:1.1;font-family:Georgia,serif}
.stcell span{font-size:13px;color:#4a3a2a;font-weight:600}
.stcell small{font-size:12px;color:#8a7b6c}
.sttitle{margin:16px 0 6px;font-size:13px;font-weight:700;color:#4a3a2a}
.strow{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-top:1px solid #efe6d8;font-size:13.5px}
.strow span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.strow b{white-space:nowrap}
.lgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}
.lslot{border:1px solid #eadfce;border-radius:12px;padding:8px;background:#fbf7f1;display:grid;gap:6px}
.lprev{aspect-ratio:4/3;border-radius:8px;background:#efe6d8;display:flex;align-items:center;justify-content:center;color:#a8998a;font-size:13px;overflow:hidden}
.lprev img{width:100%;height:100%;object-fit:cover}
.llab{font-size:12px;color:#4a3a2a;font-weight:600;min-height:30px}
.lbtn{display:flex;gap:6px;flex-wrap:wrap}

/* V19b: stare după încărcare */
.uplive{margin-top:10px;font-size:14px;font-weight:600;color:#4a3a2a}
.uplive.ok{color:#2f7a45}
.uplive.bad{color:#b3261e}
.upwarn{margin-top:8px;padding:10px 12px;border-left:4px solid #D9622B;background:#FFF3E0;border-radius:8px;font-size:13.5px;line-height:1.5;color:#4a3320}

/* V19c: fereastra „Cum ți se pare Vidora?” */
.fbk{position:fixed;inset:0;z-index:2000;background:rgba(30,22,15,.62);display:flex;align-items:center;justify-content:center;padding:18px;backdrop-filter:blur(3px)}
.fbk-card{background:#fff;border-radius:20px;max-width:480px;width:100%;padding:28px 26px;box-shadow:0 30px 80px rgba(0,0,0,.35);text-align:center}
.fbk-card h2{margin:0 0 8px;font:400 28px/1.2 Georgia,'Times New Roman',serif;color:#2b2118}
.fbk-sub{margin:0 0 16px;color:#6b5a48;font-size:15px;line-height:1.5}
.fbk-stars{display:flex;justify-content:center;gap:6px;margin:0 0 14px}
.fbk-star{background:none;border:0;font-size:38px;line-height:1;cursor:pointer;color:#d9cdbd;padding:2px 4px;transition:transform .1s,color .1s}
.fbk-star:hover{transform:scale(1.12)}
.fbk-star.on{color:#E5A100}
.fbk-star:focus-visible{outline:2px solid #D9622B;border-radius:8px}
.fbk-text{width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid #d9cdbd;border-radius:12px;font:inherit;font-size:15px;resize:vertical;min-height:96px;background:#fff;color:#2b2118}
.fbk-text:focus{outline:2px solid #D9622B;outline-offset:1px}
.fbk-err{color:#b3261e;font-weight:600;margin:10px 0 0;font-size:14px}
.fbk-btns{display:flex;gap:10px;justify-content:flex-end;margin-top:16px;flex-wrap:wrap}
body.fbk-lock{overflow:hidden}
@media(max-width:480px){.fbk-card{padding:22px 18px}.fbk-star{font-size:34px}.fbk-btns .btn{flex:1}}

/* V19d: ordinea videourilor pe profil */
.reorder{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0 0}
.reorder-hint{font-size:13.5px;color:#6b5a48}
.reorder-msg{font-size:13.5px;font-weight:600;color:#2f7a45}
.reorder-msg.bad{color:#b3261e}
.vgrab{display:none;position:absolute;top:8px;left:8px;z-index:3;width:42px;height:42px;border-radius:10px;border:0;background:rgba(20,16,12,.78);color:#fff;font-size:20px;line-height:1;cursor:grab;touch-action:none;align-items:center;justify-content:center;-webkit-tap-highlight-color:transparent}
body.reordering .vgrab:not([hidden]){display:flex}
body.reordering .vc{cursor:grab;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
body.reordering .vc .vtools{display:none}
body.reordering .vc .vca{pointer-events:none}
body.reordering .vc img{-webkit-user-drag:none;user-drag:none}
body.reordering .vc:hover .vthumb img{transform:none}
body.reordering .vc.dragging{opacity:.28}
body.reordering .vc:not(.dragging){outline:2px dashed #d9cdbd;outline-offset:6px;border-radius:12px}
.vghost{position:fixed;z-index:3000;pointer-events:none;opacity:.94;box-shadow:0 18px 44px rgba(0,0,0,.32);border-radius:12px;transform:scale(1.03);margin:0}
.vghost .vgrab,.vghost .vtools{display:none!important}

/* V19e: biblioteca — carduri strânse (miniatură + nume); click pe unul și se deschid toate informațiile */
.vlist { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; align-items: start; }
.v { display: flex; flex-direction: column; gap: 10px; padding: 10px; grid-template-columns: none; }
.v .thumb { width: 100%; }
.vsum { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 2px 2px 4px; font: inherit; color: var(--ink); cursor: pointer; border-radius: 8px; }
.vsum:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vct { font: 600 15px/1.3 var(--sans); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; margin-bottom: 6px; }
.vsum:hover .vct { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.vcm { font-size: 12.5px; color: var(--muted); }
.vcm .badge { margin-bottom: 2px; }
.v:not(.open) { cursor: pointer; }
.v:not(.open):hover { border-color: #cbbda8; box-shadow: 0 6px 18px rgba(43, 33, 24, .08); }
.v:not(.open) .vbody > :not(.vsum):not(.bar) { display: none !important; }
.v:not(.open) .vbody > .bar { margin: 4px 0 0; }
.v.open { grid-column: 1 / -1; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; padding: 14px; cursor: default; }
.v.open .vsum { display: none; }
.vclose { justify-self: end; margin-bottom: 8px; }
.v:not(.open) .vclose { display: none; }
.v.open .vclose { display: inline-flex; float: right; margin: 0 0 8px 10px; }
@media (max-width: 620px) {
  .vlist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .v.open { grid-template-columns: 1fr; }
  .vct { font-size: 13.5px; }
}

/* V19f: biblioteca în două grupe, despărțite de o linie */
.vsec { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; margin: 10px 0 0; color: var(--ink); }
.vsec:first-child { margin-top: 0; }
.vsec-t { font: 600 15px var(--sans); }
.vsec-n { font: 600 12px var(--sans); color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 99px; padding: 1px 8px; }
.vsec-h { font-size: 12.5px; color: var(--muted); }
.vsec::after { content: ''; flex: 1; height: 1px; background: var(--line); align-self: center; }
@media (max-width: 620px) { .vsec-h { display: none; } }

.pl-cur { margin: 0 0 8px; font-weight: 700; color: var(--accent-dark); font-size: 14px; }
.pl-wa { margin-top: 14px; max-width: 420px; }
/* ---- Pachete (administrare) ---- */
.pk-wrap { max-width: 900px; }
.pk-card { background: #fff; border: 1px solid #e6dccf; border-radius: 14px; margin-bottom: 12px; }
.pk-card.off { opacity: 0.7; }
.pk-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; flex-wrap: wrap; }
.pk-head b { font-size: 17px; }
.pk-head .pk-meta { color: #6d5f52; font-size: 14px; flex: 1; min-width: 160px; }
.pk-pill { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: #efe7de; color: #5b4c3e; }
.pk-pill.on { background: #e3f2e3; color: #24692b; }
.pk-pill.paid { background: #fff0e6; color: var(--accent-dark); }
.pk-mv button { border: 1px solid #e0d5c7; background: #fff; border-radius: 8px; width: 30px; height: 30px; cursor: pointer; font: inherit; }
.pk-body { padding: 4px 16px 16px; border-top: 1px solid #f0e8de; }
.pk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px 14px; margin: 14px 0; }
.pk-grid label { display: block; font-size: 13px; font-weight: 600; color: #5b4c3e; margin-bottom: 4px; }
.pk-grid input, .pk-grid select, .pk-grid textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 9px 10px; border: 1px solid #d8ccbd; border-radius: 9px; background: #fff; }
.pk-grid .wide { grid-column: 1 / -1; }
.pk-grid small { display: block; color: #8a7b6c; font-size: 12px; margin-top: 3px; }
.pk-chk { display: flex; gap: 18px; flex-wrap: wrap; margin: 4px 0 12px; }
.pk-chk label { display: flex; align-items: center; gap: 7px; font-size: 14px; }
.pk-prev { font-size: 14px; color: #5b4c3e; background: #faf6f1; border-radius: 10px; padding: 10px 14px; margin: 0 0 12px; }

/* banner de mentenanță (toate conturile) */
.maint { position: sticky; top: 0; z-index: 60; background: #fff3e0; color: #7a3a0c; border-bottom: 2px solid #D9622B; padding: 12px 18px; font-weight: 600; font-size: 15px; line-height: 1.45; text-align: center; }
.coverprev.framing, .avprev.framing { touch-action: none; user-select: none; outline: 2px dashed var(--accent); outline-offset: 2px; }

/* alegerea duratei pe cardurile din Planuri */
.pl-durs{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 10px}
.pl-dur{font:inherit;font-size:13px;font-weight:600;padding:6px 12px;border-radius:99px;border:1.5px solid var(--line,#e5ddd2);background:transparent;color:inherit;cursor:pointer;opacity:.75}
.pl-dur.on{background:var(--ink,#2b2118);border-color:var(--ink,#2b2118);color:#fff;opacity:1}
.pl-mo{margin:2px 0 8px;min-height:1.2em;color:var(--accent,#d9622b);font-size:13px;font-weight:600}

/* recomandări și invitații cu pachet */
.invrow select { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; }
.ivstats { display: grid; gap: 6px; margin-top: 16px; font-size: 15px; }
.ivstats b { font-weight: 700; }
.refset { display: grid; gap: 12px; }
.refset label { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.refset input[type=number] { width: 80px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.refset select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; }
.refset .chk { font-weight: 600; }

/* chat: răspuns la un mesaj, preluare conversație */
.ch-assign { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 14px; font-size: 13px; background: #f3ece1; border-bottom: 1px solid var(--line); }
.ch-assign .ch-warn { flex-basis: 100%; color: #8a4b12; font-weight: 600; }
.ch-quote { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 14px; font-size: 13px; background: #f3ece1; border-top: 1px solid var(--line); border-left: 3px solid var(--accent); }
.ch-q { font-size: 12.5px; opacity: 0.8; border-left: 3px solid rgba(0, 0, 0, 0.25); padding: 2px 8px; margin: 0 0 6px; white-space: pre-wrap; }
.ch-m.me .ch-q { border-left-color: rgba(255, 255, 255, 0.7); }
.ch-by { font-size: 11.5px; font-weight: 700; opacity: 0.85; margin-bottom: 2px; }
.ch-rb { background: none; border: 0; padding: 0; font: inherit; font-size: 11.5px; color: inherit; text-decoration: underline; cursor: pointer; opacity: 0.85; }

.ch-typing { align-self: flex-start; font-size: 12.5px; color: var(--muted); padding: 2px 4px; }
.ch-typing::after { content: ''; display: inline-block; width: 1.4em; text-align: left; animation: vcdots 1.2s steps(4, end) infinite; }
@keyframes vcdots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75%, 100% { content: '...'; } }

.ch-bhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.ch-bhead h3 { margin: 0; }
.ch-bhead select { padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; font-size: 14px; }
.ch-brow { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-top: 1px solid var(--line); }
.ch-brow.me { background: #fbf1e4; border-radius: 10px; }
.ch-brank { width: 34px; font-size: 22px; text-align: center; font-weight: 700; color: var(--muted); }
.ch-bname { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ch-bname small, .ch-bscore small { color: var(--muted); font-size: 12.5px; }
.ch-bscore { display: flex; flex-direction: column; align-items: flex-end; font-size: 16px; }
.ch-brecent { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 13.5px; display: grid; gap: 4px; }
.ch-bcm { color: var(--muted); }

.dk-h { font-weight: 700; font-size: 14px; margin: 2px 0 6px; }

.capstat .dk-bar { margin-bottom: 8px; }
.btnrow { display: flex; gap: 8px; flex-wrap: wrap; }
.pk-state { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 6px; }
.pk-state .btn { padding: 8px 16px; font-size: 14px; }
.pk-state .btn.on { background: var(--accent, #d9622b); border-color: var(--accent, #d9622b); color: #fff; }
.imp { margin-top: 22px; }
.imp .btnrow { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0; }
.imp input { padding: 12px 14px; border: 1px solid var(--line, #e2d8c9); border-radius: 12px; font-size: 16px; background: #fff; }
.imp-row { margin-top: 10px; font-size: 15px; line-height: 1.4; }
.imp-row .dk-bar { margin-top: 6px; }
.rs { position: absolute; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; background: rgba(20, 16, 12, .72); padding: 14px; }
.rs-card { background: #fffdf9; color: #2b2118; border-radius: 18px; padding: 20px 22px; max-width: 340px; width: 100%; text-align: center; box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.rs-t { font-family: Georgia, serif; font-size: 21px; margin: 0 0 4px; }
.rs-s { margin: 0 0 14px; color: #6b5b4d; font-size: 15px; }
.rs-yes, .rs-no { display: block; width: 100%; border-radius: 12px; font-size: 16px; padding: 12px 14px; cursor: pointer; font-family: inherit; }
.rs-yes { background: #d9622b; color: #fff; border: 0; font-weight: 700; }
.rs-no { background: transparent; color: #2b2118; border: 1px solid #d6c9b8; margin-top: 8px; }
@media (max-width: 520px) { .rs-card { padding: 14px 16px; } .rs-t { font-size: 18px; } .rs-s { margin-bottom: 10px; font-size: 14px; } .rs-yes, .rs-no { padding: 10px 12px; font-size: 15px; } }

.nw-card { margin-bottom: 14px; }
.nw-card h3, .nw-it h3 { margin: 0 0 2px; font-family: Georgia, serif; font-weight: 400; font-size: 22px; }
.nw-date { color: #9a8a7b; font-size: 13px; margin-bottom: 8px; }
.nw-body { white-space: pre-wrap; line-height: 1.5; margin: 6px 0 10px; }
.nw-ul { list-style: none; margin: 8px 0 10px; padding: 0; }
.nw-ul li { position: relative; padding: 6px 0 6px 28px; line-height: 1.45; }
.nw-ul li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 12px; height: 12px; border-radius: 50%; background: #d9622b; box-shadow: 0 0 0 4px rgba(217, 98, 43, .15); }
.nw-rw { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 8px 0 4px; }
.nw-ok { color: #1f7a3d; font-weight: 600; } .nw-no, .nw-msg { color: #a33; }
.nw-ed .nw-l { display: block; font-size: 14px; font-weight: 600; margin: 14px 0 6px; }
.nw-ed input[type=text], .nw-ed input[type=number], .nw-ed input[type=date], .nw-ed textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 13px; border: 1px solid #e2d8c9; border-radius: 12px; font: inherit; font-weight: 400; background: #fff; }
.nw-pts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.nw-pt { display: flex; gap: 8px; align-items: center; }
.nw-pt i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #d9622b; }
.nw-pt input { flex: 1; margin: 0 !important; }
.nw-pt button { flex: none; width: 36px; height: 36px; border-radius: 10px; border: 1px solid #e2d8c9; background: #fff; font-size: 20px; line-height: 1; cursor: pointer; color: #8a7a6b; }
.nw-opt { margin: 16px 0 4px; border: 1px dashed #d6c9b8; border-radius: 14px; padding: 10px 14px; }
.nw-opt summary { cursor: pointer; font-weight: 600; }
.nw-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.nw-btns { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.nw-h4 { margin: 26px 0 4px; font-size: 15px; }
.nw-arow { display: flex; gap: 10px; align-items: center; margin-top: 8px; font-size: 14px; padding: 10px 12px; background: #fbf7f0; border-radius: 12px; }
.nw-arow .grow { flex: 1; }
.nw-pop { position: fixed; inset: 0; z-index: 200; background: rgba(20, 16, 12, .62); display: flex; align-items: center; justify-content: center; padding: 14px; }
.nw-pcard { background: #fffdf9; color: #2b2118; border-radius: 24px; max-width: 520px; width: 100%; max-height: 92vh; display: flex; flex-direction: column; box-shadow: 0 16px 60px rgba(0, 0, 0, .42); overflow: hidden; }
.nw-phead { padding: 22px 26px 12px; background: linear-gradient(180deg, #fbefe4, #fffdf9); }
.nw-phead h2 { font-family: Georgia, serif; font-weight: 400; font-size: 28px; margin: 6px 0 0; }
.nw-pbody { padding: 4px 26px 8px; overflow: auto; }
.nw-it { padding: 14px 0 6px; border-top: 1px solid #efe6d9; }
.nw-it:first-child { border-top: 0; }
.nw-foot { padding: 14px 26px 22px; }
.nw-foot .btn { width: 100%; padding: 14px; font-size: 17px; }
.nw-tag { display: inline-block; background: #d9622b; color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; letter-spacing: .3px; }
@media (max-width: 520px) { .nw-phead { padding: 18px 18px 8px; } .nw-phead h2 { font-size: 24px; } .nw-pbody { padding: 2px 18px 6px; } .nw-foot { padding: 12px 18px 18px; } }

.nw-chk { display: flex; align-items: center; gap: 8px; margin: 14px 0 6px; font-weight: 600; font-size: 14px; cursor: pointer; }
.nw-chk input { width: 18px; height: 18px; }
.nw-keep input { display: inline-block !important; width: 84px !important; margin: 0 6px !important; }

/* ---- Bază de date (admin, doar citire) ---- */
.db-wrap { max-width: 1200px; }
.db-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.db-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.db-chip { background: var(--paper); border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; font-size: 13px; display: inline-flex; gap: 6px; align-items: baseline; }
.db-chip i { font-style: normal; color: var(--muted); }
.db-live { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; cursor: pointer; }
.db-live i { width: 10px; height: 10px; border-radius: 50%; background: #1f9d5c; display: inline-block; }
.db-live i.off { background: #b9b0a2; }
.db-live i.beat { animation: dbbeat .9s ease-out; }
@keyframes dbbeat { 0% { box-shadow: 0 0 0 0 rgba(31,157,92,.55); } 100% { box-shadow: 0 0 0 10px rgba(31,157,92,0); } }
.db-tables { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin-bottom: 4px; -webkit-overflow-scrolling: touch; }
.db-tab { flex: none; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: transparent; border-radius: 99px; padding: 7px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--muted); }
.db-tab em { font-style: normal; font-weight: 500; font-size: 12px; background: #efe8db; border-radius: 99px; padding: 1px 8px; color: var(--ink); }
.db-tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.db-tab.active em { background: rgba(255,255,255,.2); color: #fff; }
.db-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.db-filters input, .db-filters select { font: inherit; font-size: 14px; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; min-width: 0; }
.db-filters input[type=search] { flex: 1 1 220px; }
.db-grid { padding: 0; overflow: auto; max-height: 68vh; -webkit-overflow-scrolling: touch; }
.db-t { border-collapse: collapse; width: 100%; font-size: 13px; }
.db-t th { position: sticky; top: 0; background: #f5efe4; text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; font-weight: 700; z-index: 1; }
.db-t th.sortable { cursor: pointer; user-select: none; }
.db-t th.sortable:hover { background: #ece3d2; }
.db-t td { padding: 8px 12px; border-bottom: 1px solid #efe8db; vertical-align: top; max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.db-t tr.click { cursor: pointer; }
.db-t tr.click:hover td { background: #faf6ee; }
.db-idc { color: var(--muted); text-align: right; width: 1%; }
.db-null { color: #a59c8d; font-style: italic; }
.db-mask { color: #8a6d3b; background: #f6ecd2; border-radius: 6px; padding: 1px 8px; font-size: 12px; }
.db-num { font-variant-numeric: tabular-nums; }
.db-new td { animation: dbnew 3.5s ease-out; }
@keyframes dbnew { 0% { background: #fff2b8; } 100% { background: transparent; } }
.db-empty { padding: 26px; text-align: center; color: var(--muted); }
.db-pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.db-pager .btn[disabled] { opacity: .4; cursor: default; }
.db-modal { position: fixed; inset: 0; background: rgba(30,24,16,.5); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 60; }
.db-modal[hidden] { display: none; }
.db-sheet { background: var(--paper); border-radius: 16px; width: 100%; max-width: 720px; max-height: 86vh; overflow: auto; padding: 18px 20px; }
.db-mh { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.db-dl { display: grid; grid-template-columns: minmax(110px, 190px) 1fr; gap: 8px 14px; margin: 0; font-size: 14px; }
.db-dl dt { color: var(--muted); font-weight: 600; overflow-wrap: anywhere; }
.db-dl dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
@media (max-width: 640px) { .db-dl { grid-template-columns: 1fr; gap: 2px; } .db-dl dd { margin-bottom: 10px; } .db-grid { max-height: 60vh; } }

/* ---- secțiune cu parolă (pagina galeriei) ---- */
.gtab .gl-ic { margin-right: 6px; vertical-align: -1px; opacity: 0.7; }
.glock { display: flex; justify-content: center; padding: 40px 0 60px; }
.glock[hidden] { display: none; }
.glock-box { width: 100%; max-width: 380px; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px; }
.glock-box svg { color: var(--muted); }
.glock-box h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 8px 0 6px; overflow-wrap: anywhere; }
.glock-box p { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.glock-box form { display: flex; gap: 8px; }
.glock-box input { flex: 1; min-width: 0; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.glock-box .glock-err { color: var(--danger, #b3261e); font-size: 13px; margin: 10px 0 0; min-height: 1em; }

/* ---- foldere în galerie (administrare), ca în Wfolio ---- */
.fxtabs { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 12px; -webkit-overflow-scrolling: touch; align-items: stretch; }
.fxtab { flex: none; display: flex; align-items: stretch; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; min-width: 150px; max-width: 260px; }
.fxtab.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; }
.fxtab-b { flex: 1; min-width: 0; text-align: left; border: 0; background: transparent; font: inherit; padding: 10px 6px 10px 14px; cursor: pointer; display: grid; gap: 2px; color: var(--ink); }
.fxtab-t { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fxtab-s { font-size: 12px; color: var(--muted); }
.fxlock { display: inline-block; margin-right: 6px; color: var(--muted); vertical-align: -1px; }
.fxtab-m { flex: none; border: 0; background: transparent; width: 34px; font-size: 18px; line-height: 1; cursor: pointer; color: var(--muted); border-radius: 0 12px 12px 0; }
.fxtab-m:hover { background: #f3ede2; color: var(--ink); }
.fxadd { flex: none; border: 1.5px dashed var(--line); background: transparent; border-radius: 12px; padding: 0 16px; font: inherit; font-weight: 600; cursor: pointer; color: var(--muted); min-height: 52px; white-space: nowrap; }
.fxadd:hover { color: var(--ink); border-color: var(--ink); }
.uprow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 12px; }

/* ---- pagina Server (admin) ---- */
.sv-wrap { max-width: 980px; }
.sv-agent { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sv-agent i { width: 10px; height: 10px; border-radius: 50%; background: #1f9d5c; flex: none; }
.sv-agent.bad i { background: #c0392b; }
.sv-btns { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.sv-btns .btn { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; height: auto; padding: 10px 14px; }
.sv-btns .btn small { font-weight: 400; font-size: 12px; color: var(--muted); }
.sv-btns .btn[disabled] { opacity: .5; cursor: default; }
.sv-btns .sv-change { border-color: #e3c3a8; background: #fff8f2; }
.sv-outh { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.sv-outh .btn { margin-left: auto; }
.sv-out { margin: 0; background: #1d1a17; color: #e8e2d8; border-radius: 12px; padding: 14px 16px; font: 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; max-height: 60vh; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
.sv-hrow { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: transparent; border: 0; border-top: 1px solid var(--line); padding: 10px 2px; font: inherit; cursor: pointer; flex-wrap: wrap; }
.sv-hrow:first-of-type { border-top: 0; }
.sv-hrow:hover { background: #faf6ee; }
.sv-hl { font-weight: 600; }
.sv-hs { margin-left: auto; font-size: 13px; font-weight: 600; }
.sv-hs.ok { color: #1f7a4d; } .sv-hs.err { color: #b3261e; } .sv-hs.wait { color: #8a6d3b; }
.sv-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: #b9b0a2; }
.sv-dot.ok { background: #1f9d5c; } .sv-dot.err { background: #c0392b; } .sv-dot.wait { background: #d9a52b; }

/* fundaluri de profil (Premium): fișiere fine, în nuanțele Vidora, pe un strat fix în spatele paginii */
body[class*="pbg-"]::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-size: 1200px auto; background-position: center top; background-repeat: repeat; opacity: .3; }
body.pbg-arce::before { background-image: url(/static/bg/arce-t.svg); }
body.pbg-benzi::before { background-image: url(/static/bg/benzi-t.svg); }
body.pbg-aparate::before { background-image: url(/static/bg/aparate-t.svg); }
body.pbg-film::before { background-image: url(/static/bg/film-t.svg); }
body.pbg-maslin::before { background-image: url(/static/bg/maslin-t.svg); }
body.pbg-curbe::before { background-image: url(/static/bg/curbe-t.svg); }
/* alegerea fundalului în cont */
.bgpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; margin-top: 8px; }
.bgpick label { position: relative; display: block; cursor: pointer; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.bgpick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.bgpick .bgt { display: block; aspect-ratio: 8 / 5; background-size: cover; background-position: center; background-color: #f4efe8; }
.bgpick .bgn { display: block; padding: 5px 8px 6px; font-size: 12px; color: var(--muted); }
.bgpick label:has(input:checked) { border-color: var(--accent); }
.bgpick label:has(input:checked) .bgn { color: var(--ink); font-weight: 600; }
.bgpick label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.bgpick.off { opacity: .55; }
.bgpick.off label { cursor: not-allowed; }
body.pbg-verighete::before { background-image: url(/static/bg/verighete-t.svg); }
body.pbg-inimi::before { background-image: url(/static/bg/inimi-t.svg); }
body.pbg-porumbei::before { background-image: url(/static/bg/porumbei-t.svg); }
body.pbg-rochii::before { background-image: url(/static/bg/rochii-t.svg); }
body.pbg-buchete::before { background-image: url(/static/bg/buchete-t.svg); }
body.pbg-tort::before { background-image: url(/static/bg/tort-t.svg); }
body.pbg-arcade::before { background-image: url(/static/bg/arcade-t.svg); }
body.pbg-polaroid::before { background-image: url(/static/bg/polaroid-t.svg); }
body.pbg-pelicula::before { background-image: url(/static/bg/pelicula-t.svg); }
body.pbg-trepied::before { background-image: url(/static/bg/trepied-t.svg); }
body.pbg-obiective::before { background-image: url(/static/bg/obiective-t.svg); }
body.pbg-vizor::before { background-image: url(/static/bg/vizor-t.svg); }
body.pbg-clachete::before { background-image: url(/static/bg/clachete-t.svg); }
body.pbg-rama::before { background-image: url(/static/bg/rama-t.svg); }
body.pbg-stelute::before { background-image: url(/static/bg/stelute-t.svg); }
body.pbg-papion::before { background-image: url(/static/bg/papion-t.svg); }
body.pbg-dantela::before { background-image: url(/static/bg/dantela-t.svg); }
body.pbg-voal::before { background-image: url(/static/bg/voal-t.svg); }
body.pbg-masina::before { background-image: url(/static/bg/masina-t.svg); }
body.pbg-mix::before { background-image: url(/static/bg/mix-t.svg); }

.procH { margin: 18px 0 8px; font-size: 14px; }
.proclist { display: grid; gap: 10px; }
.procrow { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; }
.proctop { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; flex-wrap: wrap; }
.proctop span { color: var(--muted); font-size: 12.5px; }
.procbar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 8px 0 5px; }
.procbar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width .6s; }
.procst { font-size: 12.5px; color: var(--muted); }

.pres { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: middle; flex: none; }
.pres.on { background: #2fa866; box-shadow: 0 0 0 3px rgba(47,168,102,.22); }
.pres.off { background: #d9483b; }
#uonline { color: var(--muted); font-size: 13px; margin-left: 8px; font-weight: 500; }

.marq { position: fixed; z-index: 90; border: 1.5px solid var(--accent); background: rgba(217,98,43,.14); border-radius: 4px; pointer-events: none; }
body.marqing { user-select: none; -webkit-user-select: none; cursor: crosshair; }
.selpop { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 80; display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; justify-content: center; background: #2b2118; color: #faf6f0; padding: 10px 14px; border-radius: 16px; box-shadow: 0 14px 40px rgba(40,20,5,.35); max-width: calc(100vw - 24px); }
.selpop[hidden] { display: none; }
.selpop .selcount { font-weight: 600; font-size: 14px; padding: 0 4px; color: #faf6f0; white-space: nowrap; }
.selpop .btn { background: #faf6f0; color: #2b2118; border-color: transparent; }
.selpop .btn.danger { background: #d9483b; color: #fff; }
.selpop select { max-width: 200px; }
@media (max-width: 640px) { .selpop { bottom: 12px; width: calc(100vw - 24px); flex-wrap: wrap; } }

/* ---------- temă profil: negru luxury (Premium) ---------- */
body.ptheme-lux { --bg: #0b0907; --paper: #14110e; --ink: #f3e9d7; --muted: #b3a284; --line: #2e261b; --accent: #caa45a; --accent-dark: #e3c27c; background: #0b0907; color: var(--ink); }
body.ptheme-lux::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: url(/static/bg/lux.svg) center top / cover no-repeat; }
body.ptheme-lux .btn { color: var(--ink); border-color: #6b5430; background: transparent; }
body.ptheme-lux .btn:hover { border-color: #caa45a; }
body.ptheme-lux .btn.primary, body.ptheme-lux .btn.accent, body.ptheme-lux #acct .btn, body.ptheme-lux #acct a { background: linear-gradient(135deg, #e3c27c, #b88f43); color: #17120c; border-color: transparent; font-weight: 700; }
body.ptheme-lux .pcard { background: linear-gradient(180deg, #17130f, #110e0b); border-color: #3a2f20; box-shadow: 0 10px 34px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(202, 164, 90, .12); }
body.ptheme-lux .pid .avatar, body.ptheme-lux .avatar { border-color: #caa45a; box-shadow: 0 0 0 1px #6b5430, 0 6px 22px rgba(0, 0, 0, .55); }
body.ptheme-lux .psearch input { background: #17130f; color: var(--ink); border-color: #3a2f20; }
body.ptheme-lux .psearch input::placeholder { color: #8c7c62; }
body.ptheme-lux .sres { background: #17130f; border-color: #3a2f20; }
body.ptheme-lux .share, body.ptheme-lux .likebtn, body.ptheme-lux .monthinput { background: #1b1611; color: var(--ink); border-color: #3a2f20; }
body.ptheme-lux .share.done { background: #caa45a; color: #17120c; }
body.ptheme-lux .ptabs { border-bottom-color: #3a2f20; }
body.ptheme-lux .ptabs button.on, body.ptheme-lux .ptabs .on { color: #e3c27c; border-bottom-color: #caa45a; }
body.ptheme-lux .phtab { background: #1b1611; color: var(--muted); border-color: #3a2f20; }
body.ptheme-lux .phtab.on { background: #caa45a; border-color: #caa45a; color: #17120c; }
body.ptheme-lux h1, body.ptheme-lux h2, body.ptheme-lux h3, body.ptheme-lux .brand { color: #f3e9d7; }
body.ptheme-lux .brand .dot, body.ptheme-lux .brand i { color: #caa45a; }
/* imaginile (miniaturile) au o ramă fină aurie, ca să se potrivească fundalului */
body.ptheme-lux .pcard img, body.ptheme-lux .vthumb, body.ptheme-lux .vcard img, body.ptheme-lux .pgal img, body.ptheme-lux .photo img { outline: 1px solid rgba(202, 164, 90, .38); outline-offset: -1px; }
body.ptheme-lux .vcard, body.ptheme-lux .thumb, body.ptheme-lux .gitem { box-shadow: 0 8px 26px rgba(0, 0, 0, .55); }
body.ptheme-lux .foot, body.ptheme-lux footer { color: var(--muted); }
body.ptheme-lux a { text-decoration-color: rgba(202, 164, 90, .5); }
body.ptheme-lux .cover.nocover, body.ptheme-lux .phero.nocover { background: linear-gradient(135deg, #0f0c09 0%, #3a2c18 55%, #8a6a30 100%); }
body.ptheme-lux .langbtn, body.ptheme-lux .langmenu { background: #17130f; color: var(--ink); border-color: #3a2f20; }
body.ptheme-lux .langmenu button { color: var(--ink); }
body.ptheme-lux .langmenu button:hover, body.ptheme-lux .langmenu button[aria-current] { background: #241d15; }

/* tema neagră + model ales: același model, în auriu pe negru */
body.ptheme-lux[class*="pbg-"]::before { background-color: #0b0907; background-size: 1200px auto; background-position: center top; background-repeat: repeat; opacity: .22; }
body.ptheme-lux.pbg-aparate::before { background-image: url(/static/bg/aparate-l.svg); }
body.ptheme-lux.pbg-arcade::before { background-image: url(/static/bg/arcade-l.svg); }
body.ptheme-lux.pbg-arce::before { background-image: url(/static/bg/arce-l.svg); }
body.ptheme-lux.pbg-benzi::before { background-image: url(/static/bg/benzi-l.svg); }
body.ptheme-lux.pbg-buchete::before { background-image: url(/static/bg/buchete-l.svg); }
body.ptheme-lux.pbg-clachete::before { background-image: url(/static/bg/clachete-l.svg); }
body.ptheme-lux.pbg-curbe::before { background-image: url(/static/bg/curbe-l.svg); }
body.ptheme-lux.pbg-dantela::before { background-image: url(/static/bg/dantela-l.svg); }
body.ptheme-lux.pbg-film::before { background-image: url(/static/bg/film-l.svg); }
body.ptheme-lux.pbg-inimi::before { background-image: url(/static/bg/inimi-l.svg); }
body.ptheme-lux.pbg-masina::before { background-image: url(/static/bg/masina-l.svg); }
body.ptheme-lux.pbg-maslin::before { background-image: url(/static/bg/maslin-l.svg); }
body.ptheme-lux.pbg-mix::before { background-image: url(/static/bg/mix-l.svg); }
body.ptheme-lux.pbg-obiective::before { background-image: url(/static/bg/obiective-l.svg); }
body.ptheme-lux.pbg-papion::before { background-image: url(/static/bg/papion-l.svg); }
body.ptheme-lux.pbg-pelicula::before { background-image: url(/static/bg/pelicula-l.svg); }
body.ptheme-lux.pbg-polaroid::before { background-image: url(/static/bg/polaroid-l.svg); }
body.ptheme-lux.pbg-porumbei::before { background-image: url(/static/bg/porumbei-l.svg); }
body.ptheme-lux.pbg-rama::before { background-image: url(/static/bg/rama-l.svg); }
body.ptheme-lux.pbg-rochii::before { background-image: url(/static/bg/rochii-l.svg); }
body.ptheme-lux.pbg-stelute::before { background-image: url(/static/bg/stelute-l.svg); }
body.ptheme-lux.pbg-tort::before { background-image: url(/static/bg/tort-l.svg); }
body.ptheme-lux.pbg-trepied::before { background-image: url(/static/bg/trepied-l.svg); }
body.ptheme-lux.pbg-verighete::before { background-image: url(/static/bg/verighete-l.svg); }
body.ptheme-lux.pbg-vizor::before { background-image: url(/static/bg/vizor-l.svg); }
body.ptheme-lux.pbg-voal::before { background-image: url(/static/bg/voal-l.svg); }

/* ---- Ideile tale ---- */
.id-wrap { max-width: 860px; }
.id-head { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.id-head .help { margin: 4px 0 14px; max-width: 520px; }
.id-form { margin: 0 0 16px; }
.id-form label { display: block; font-weight: 600; margin-bottom: 8px; }
.id-form textarea { width: 100%; resize: vertical; }
.id-formfoot { display: flex; gap: 10px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.id-formfoot .help:first-child { margin-right: auto; }
.id-search { width: 100%; max-width: 520px; margin-bottom: 14px; }
.id-tabs { display: flex; gap: 6px; margin-bottom: 4px; border-bottom: 1px solid rgba(120, 100, 80, .18); padding-bottom: 8px; }
.id-tab { border: 0; background: transparent; padding: 8px 14px; border-radius: 10px; font: inherit; font-weight: 600; cursor: pointer; color: inherit; opacity: .75; }
.id-tab.active { background: rgba(217, 98, 43, .14); opacity: 1; }
.id-row { display: flex; gap: 16px; align-items: center; padding: 16px 4px; border-bottom: 1px solid rgba(120, 100, 80, .16); }
.id-main { flex: 1; min-width: 0; }
.id-text { line-height: 1.5; overflow-wrap: anywhere; }
.id-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 6px; font-size: 13px; }
.id-pill { padding: 2px 10px; border-radius: 999px; background: rgba(217, 98, 43, .14); font-weight: 600; font-size: 12px; }
.id-pill.ok { background: rgba(62, 207, 142, .2); }
.id-note { opacity: .75; }
.id-act { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.id-vote { flex: none; min-width: 64px; border: 0; background: transparent; cursor: pointer; color: inherit; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 10px; border-radius: 12px; font: inherit; }
.id-vote:hover { background: rgba(217, 98, 43, .1); }
.id-vote.on { color: #d9622b; }
.id-vote.on svg { fill: rgba(217, 98, 43, .25); }
.id-n { font-size: 14px; font-weight: 600; }
.id-row.done .id-text { opacity: .85; }
@media (max-width: 560px) { .id-row { gap: 8px; } }
.id-wrap .inp { font: inherit; color: inherit; background: #fff; border: 1px solid rgba(120, 100, 80, .3); border-radius: 12px; padding: 11px 14px; box-sizing: border-box; }
.id-wrap .inp:focus { outline: 2px solid rgba(217, 98, 43, .45); border-color: #d9622b; }
.id-search { border-radius: 999px !important; }
.topbar { align-items: center; gap: 14px; }
.topideas { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; font: inherit; font-size: 14px; color: inherit; opacity: .75; cursor: pointer; padding: 6px 8px; border-radius: 8px; }
.topideas:hover, .topideas.on { opacity: 1; background: rgba(217, 98, 43, .1); }
.topideas svg { color: #d9622b; }

/* ---- cont de utilizator: secțiuni ordonate ---- */
.ubody { gap: 12px; }
.usec { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 14px; background: rgba(255, 255, 255, .55); }
.usec h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.ugrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px; margin-bottom: 10px; }
.ufld { display: grid; gap: 5px; align-content: start; min-width: 0; font-size: 13px; }
.ufld > span { color: var(--muted); font-size: 12px; font-weight: 600; }
.ufld input[type=text], .ufld input[type=date], .ufld select, .ufld input[type=number] { width: 100%; box-sizing: border-box; padding: 9px 11px; font: inherit; font-size: 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.usec .uact { align-items: flex-end; }
.usec .uact .ufld input[type=number] { width: 120px; }
.usec.dng { border-color: rgba(200, 60, 40, .35); background: rgba(200, 60, 40, .04); }
.usec.dng h4 { color: var(--danger); }
.ufld .check.inl { min-height: 38px; display: flex; align-items: center; }
@media (max-width: 720px) { .ugrid { grid-template-columns: 1fr; } }
.pl-auto { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.4; margin: 10px 0 4px; cursor: pointer; }
.pl-auto input { margin-top: 3px; }
.pl-rn { opacity: .85; }

/* ---- „Anunță-mă pe WhatsApp” la videourile în procesare ---- */
.wa-box { margin: 8px 0; }
.wa-form { display: grid; gap: 8px; margin-top: 10px; padding: 12px 14px; background: rgba(255, 255, 255, .6); border: 1px solid var(--line); border-radius: 12px; max-width: 520px; }
.wa-form label { font-size: 13px; font-weight: 600; }
.wa-form .check.inl { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.wa-form input[type=tel] { font: inherit; padding: 9px 11px; border: 1.5px solid var(--line); border-radius: 10px; width: 100%; box-sizing: border-box; background: #fff; }
.wa-ok { color: var(--ok); font-weight: 600; font-size: 14px; }
.wa-form .wa-opt { display: grid; gap: 8px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.wa-form .wa-opt:last-child { border-bottom: 0; padding-bottom: 0; }
.wa-form .wa-opt > b { font-size: 14px; }

.tgpill { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: inherit; cursor: pointer; margin-right: 8px; }
.tgpill .tgdot { width: 9px; height: 9px; border-radius: 50%; background: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, .18); }
.tgpill.on .tgdot { background: #1e9e55; box-shadow: 0 0 0 3px rgba(30, 158, 85, .2); }
.tgpill.on { border-color: #b7dfc6; }
.tgpill.off { border-color: #e8b4ad; }
.tgpill:disabled { opacity: .6; cursor: wait; }

.pfph { border: 1.5px solid #ecd9c6; background: linear-gradient(180deg, #fffaf4, #fff); margin-bottom: 18px; }
.pfph-head { display: flex; gap: 14px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.pfph-head h3 { margin: 0 0 4px; font-size: 19px; }
.pfph-head .help { margin: 0; max-width: 560px; }
.pfph-strip { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; cursor: pointer; }
.pfph-strip .pfph-t { width: 76px; height: 76px; border-radius: 10px; background: #eee center/cover no-repeat; border: 1px solid var(--line); }
.pfph-strip .pfph-more { display: grid; place-items: center; font-weight: 700; color: #7a6a58; background: #f3ece3; }
.pfph-strip .pfph-add { width: 76px; height: 76px; border-radius: 10px; border: 2px dashed #d9bd9d; display: grid; place-items: center; font-size: 26px; color: #c07a3a; }
.pfph-strip .pfph-empty { flex: 1 1 100%; border: 2px dashed #d9bd9d; border-radius: 14px; padding: 22px; text-align: center; color: #7a6a58; font-size: 15px; background: #fffdf9; }
.pfph-strip .pfph-empty b { display: block; font-size: 17px; color: #3b2f25; margin-bottom: 4px; }
.pfph-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; font-size: 13px; color: #7a6a58; }
@media (max-width: 560px) { .pfph-head .btn.primary { width: 100%; } .pfph-strip .pfph-t, .pfph-strip .pfph-more, .pfph-strip .pfph-add { width: calc(25% - 6px); height: auto; aspect-ratio: 1; } }
.ch-reply { position: relative; }
.pfph-strip.folders { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pfph-f { border: 1.5px solid #ecd9c6; border-radius: 14px; overflow: hidden; background: #fff; cursor: pointer; transition: transform .12s, box-shadow .12s; }
.pfph-f:hover, .pfph-f:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(60, 40, 20, .12); outline: 0; }
.pfph-fi { height: 100px; background: #f3ece3 center/cover no-repeat; display: grid; place-items: center; font-size: 34px; }
.pfph-fn { font-weight: 700; font-size: 14px; padding: 8px 10px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pfph-fc { font-size: 12px; color: #7a6a58; padding: 0 10px 9px; }
.tgwrap { position: relative; display: inline-block; }
.tgwrap .tgpill { margin-right: 8px; }
.tgtip { position: absolute; top: calc(100% + 10px); right: 8px; z-index: 40; width: 300px; max-width: 86vw; background: #fff; border: 1.5px solid #e8b4ad; border-radius: 14px; padding: 14px 16px 12px; box-shadow: 0 14px 36px rgba(60, 30, 20, .2); font-size: 14px; line-height: 1.45; text-align: left; animation: tgtipin .25s ease-out; }
.tgtip::before { content: ""; position: absolute; top: -8px; right: 34px; width: 14px; height: 14px; background: #fff; border-left: 1.5px solid #e8b4ad; border-top: 1.5px solid #e8b4ad; transform: rotate(45deg); }
.tgtip b { display: block; margin-bottom: 4px; font-size: 15px; }
.tgtip .tgtip-x { position: absolute; top: 6px; right: 8px; border: 0; background: transparent; font-size: 20px; line-height: 1; cursor: pointer; color: #7a6a58; }
.tgtip .btnrow { margin-top: 10px; }
@keyframes tgtipin { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .tgtip { right: -40px; } .tgtip::before { right: 74px; } }
/* recenzii pe profilul public */
.prev { margin-top: 18px; }
.prev h2 { margin: 0 0 10px; }
.rv-sum { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; flex-wrap: wrap; }
.rv-avg { font-size: 30px; font-weight: 700; line-height: 1; }
.rv-st { color: #e0a21a; letter-spacing: 2px; font-size: 17px; white-space: nowrap; }
.rv-st .off { color: #e5dccd; }
.rv-n { color: #7a6a58; font-size: 14px; }
.rv-list { display: grid; gap: 12px; }
.rv { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: rgba(255, 255, 255, .55); }
.rv-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.rv-h b { font-size: 15px; }
.rv-h time { margin-left: auto; color: #8a7b6c; font-size: 12px; }
.rv p { margin: 0; line-height: 1.55; font-size: 15px; word-break: break-word; }
.rv-add { margin-top: 16px; }
.rv-add summary { display: inline-block; cursor: pointer; list-style: none; }
.rv-add summary::-webkit-details-marker { display: none; }
.rv-form { display: grid; gap: 10px; margin-top: 12px; max-width: 520px; }
.rv-form input[type=text], .rv-form input[type=email], .rv-form textarea { font: inherit; font-size: 16px; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; width: 100%; box-sizing: border-box; }
.rv-form textarea { resize: vertical; }
.rv-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.rv-pick { display: flex; gap: 4px; }
.rv-s { border: 0; background: transparent; font-size: 32px; line-height: 1; color: #e5dccd; cursor: pointer; padding: 2px; transition: transform .1s; }
.rv-s.on { color: #e0a21a; }
.rv-s:hover { transform: scale(1.12); }
.rv-help { margin: 0; font-size: 13px; color: #7a6a58; line-height: 1.45; }
.rv-act { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rv-err { color: var(--danger); font-size: 14px; }
.rv-flash { padding: 12px 14px; border-radius: 12px; background: #fbe9e7; margin-bottom: 12px; font-size: 14px; }
.rv-flash.ok { background: #e6f4ea; color: #1b5e34; }
.rv-flash a { color: inherit; }
/* recenzii în Panou */
.rvm-row { display: grid; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); }
.rvm-row:first-child { border-top: 0; }
.rvm-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rvm-row p { margin: 0; font-size: 14px; line-height: 1.5; word-break: break-word; }
.rvm-row.hid p, .rvm-row.hid .rv-st { opacity: .45; }
.rvm-act { display: flex; gap: 8px; margin-top: 4px; }
.topbar { justify-content: space-between !important; }
.topleft, .topright { display: flex; align-items: center; gap: 14px; }
.topbug { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; font: inherit; font-size: 14px; color: #7a6a58; cursor: pointer; padding: 6px 4px; }
.topbug:hover { color: #d9622b; }
.topbug svg { color: #d9622b; }
@media (max-width: 560px) { .topbug span { display: none; } }
.rep-h { font-size: 17px; margin: 22px 0 10px; }
.bugcard .bshot { display: inline-block; margin-top: 8px; }
.bugcard .bshot img { max-width: 220px; max-height: 140px; border-radius: 10px; border: 1px solid var(--line); display: block; }
.bugcard .bdev { font-size: 12px; color: #8a7b6c; word-break: break-word; margin-top: 6px; }
.maintbar { position: sticky; top: 0; z-index: 90; background: #c0392b; color: #fff; padding: 10px 16px; text-align: center; font-size: 14px; font-weight: 600; line-height: 1.4; }
.maintbar[hidden] { display: none; }
.maintbar b { text-decoration: underline; }
.maintpop-h { background: #c0392b; color: #fff; border-radius: 16px 16px 0 0; }
.maintpop-h h2 { color: #fff !important; }
.maintpop { border: 2px solid #c0392b; }
.sv-sched-form { display: grid; gap: 8px; max-width: 460px; }
.sv-sched-form label { font-weight: 600; font-size: 13px; }
.sv-sched-form select, .sv-sched-form input[type=datetime-local] { font: inherit; padding: 9px 11px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.sv-sched-now { padding: 12px 14px; border-radius: 12px; background: #fbe9e7; border: 1px solid #e8b4ad; margin-bottom: 12px; display: grid; gap: 8px; }

.rv-badge{display:flex;align-items:center;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line,rgba(128,128,128,.25));color:inherit;text-decoration:none;font-size:.92rem}
.rv-badge .rv-st{color:#f5b301;letter-spacing:1px}.rv-badge .rv-st .off{color:rgba(128,128,128,.4)}
.rv-badge .rv-n{text-decoration:underline;text-underline-offset:3px}
.rv-badge.none{opacity:.7}.rv-badge:hover .rv-n,.rv-badge.none:hover{opacity:1;text-decoration:underline}
.phmeta .rv-badge{display:inline-flex;margin:0;padding:0;border:0}
html{scroll-behavior:smooth}

.rvov{position:fixed;inset:0;z-index:300;background:rgba(20,15,10,.55);display:flex;align-items:center;justify-content:center;padding:16px}
.rvov[hidden]{display:none}
.rvov .prev{position:relative;margin:0;width:min(560px,100%);max-height:88vh;overflow:auto}
.rv-x{position:absolute;top:10px;right:12px;border:0;background:none;font-size:28px;line-height:1;cursor:pointer;color:inherit;opacity:.6}
.rv-x:hover{opacity:1}
dd .rv-badge{display:inline-flex;margin:0;padding:0;border:0;gap:6px;justify-content:flex-end}
dd .rv-badge.none{opacity:1;text-decoration:underline;text-underline-offset:3px;font-weight:600}
dd .rv-badge .rv-n{text-decoration:none;font-weight:600}
.phmeta .rv-badge .rv-n{text-decoration:none}

.bill-hl{outline:3px solid var(--accent,#c0562b);outline-offset:3px;transition:outline .3s}
#bill-form select,#bm-form select{width:100%;padding:10px 12px;border:1px solid var(--line,#ddd);border-radius:10px;background:var(--card,#fff);font:inherit;color:inherit}
#bill-form .field input[type=text],#bm-form .field input[type=text]{width:100%}

.uhead .useen{display:block;font-size:12px;opacity:.75;overflow:hidden;text-overflow:ellipsis}

.chiplink{cursor:pointer;border:1px solid var(--line,#ddd);font:inherit;color:inherit}.chiplink:hover{border-color:var(--accent,#c0562b);color:var(--accent,#c0562b)}
.ucrow{display:flex;justify-content:space-between;gap:12px;padding:9px 10px;border:1px solid var(--line,#e6ddd0);border-radius:10px;margin-bottom:6px;color:inherit;text-decoration:none}
.ucrow:hover{background:rgba(0,0,0,.035)}.ucrow span{color:var(--muted,#7a6a5a);font-size:13px;text-align:right}

/* recenzii Vidora */
.vr-stars{display:flex;gap:6px;margin:0 0 14px}
.vr-stars button{background:none;border:0;padding:2px;font-size:34px;line-height:1;color:#d8cdbc;cursor:pointer}
.vr-stars button.on{color:#e0a21b}
.vr-styles{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.vr-styles button{border:1.5px solid var(--line,#e4ddd2);background:#fff;border-radius:10px;padding:8px 14px;font:inherit;font-size:14px;cursor:pointer}
.vr-styles button.on{border-color:var(--accent,#d9622b);background:#fbeee5;font-weight:600}
.vr-prev{width:100%;height:420px;border:1px solid var(--line,#e4ddd2);border-radius:12px;background:#fff}
.vr-item{border-top:1px solid var(--line,#e4ddd2);padding:12px 0}
.vr-item .vr-q{margin:6px 0;white-space:pre-wrap}
.vr-item .vr-meta{font-size:13px;color:var(--muted,#7a6a5a)}
.vr-item .vr-s{color:#e0a21b;letter-spacing:1px}
.fbk-cnt{font-size:12px;color:var(--muted,#7a6a5a);margin:4px 0 8px;text-align:right}.fbk-never{display:block;margin:12px auto 0;background:none;border:0;color:var(--muted,#7a6a5a);font:inherit;font-size:13px;text-decoration:underline;cursor:pointer}
.actbig{font-size:18px;font-weight:600;padding:14px 16px;border-radius:12px;margin-bottom:8px}.actbig.ok{background:#e4f3e8;color:#1f7a3d}.actbig.warn{background:#fdecd3;color:#9a5b00}
.lqrow{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.lqrow .lqinfo{flex:1 1 220px;min-width:0;overflow-wrap:anywhere}.lqrow .lqinfo span{color:var(--muted,#7a6a5a);font-size:13px}
@media (max-width:640px){.ch-chead{flex-wrap:wrap}.ch-who{flex:1 1 140px;overflow-wrap:anywhere}.ch-acts{flex:1 1 100%;flex-wrap:wrap}}

/* aranjarea panoului de administrare */
.mv-row { display: contents; }
.mv-row:has(> .snav-i[hidden]) { display: none; }
.mv-nctl, .mv-ctl, .mv-fbar { display: none; }
.mv-b { border: 1px solid var(--line); background: #fff; border-radius: 8px; min-width: 30px; height: 30px; font: 600 14px var(--sans); cursor: pointer; color: var(--ink); padding: 0 6px; }
.mv-b:disabled { opacity: 0.3; cursor: default; }
.mv-b:not(:disabled):hover { border-color: var(--accent); }
body.mv-edit .mv-row { display: flex; align-items: center; gap: 4px; }
body.mv-edit .mv-row:has(> .snav-i[hidden]) { display: none; }
body.mv-edit .mv-row > .snav-i { flex: 1; min-width: 0; text-align: left; }
body.mv-edit .mv-nctl { display: flex; gap: 3px; flex: none; }
body.mv-edit .snav-sub { grid-template-columns: 1fr; }
body.mv-edit .mv-row.mv-top { grid-column: 1 / -1; }
body.mv-edit .mv-ctl:not([hidden]) { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 7px 10px; margin: 0 0 8px; border: 1.5px dashed var(--accent); border-radius: 12px; background: #fff7ef; }
body.mv-edit .mv-t { flex: 1 1 140px; font-weight: 700; font-size: 13px; color: var(--accent-dark); min-width: 0; overflow-wrap: anywhere; }
body.mv-edit .mv-sel { font: inherit; font-size: 13px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; max-width: 170px; }
body.mv-edit .mv-wrap, body.mv-edit .card[data-mvid] { outline: 1.5px dashed rgba(217, 98, 43, 0.45); outline-offset: 3px; }
body.mv-edit .mv-wrap { margin-bottom: 14px; }
.mv-fbar { position: fixed; z-index: 70; left: 0; right: 0; margin: 0 auto; width: fit-content; bottom: 16px; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; max-width: calc(100vw - 24px); padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 16px; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25); }
body.mv-edit .mv-fbar:not([hidden]) { display: flex; }
.mv-fbar-t { font-size: 13px; flex: 1 1 100%; text-align: center; }
.mv-fbar .btn { min-height: 34px; background: #fff; border-color: #fff; color: var(--ink); }
.mv-fbar .btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.mv-toast { position: fixed; z-index: 80; left: 50%; bottom: 84px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 9px 16px; border-radius: 12px; font-size: 14px; }
.mv-toast[hidden] { display: none; }
.mv-empty[hidden] { display: none; }
.mv-ghost { padding: 0 !important; margin: 0 !important; height: 0 !important; min-height: 0 !important; overflow: visible; }
.mv-ghost > *:not([class*="modal"]):not(.pnotice):not(.tgnotice) { display: none !important; }
@media (max-width: 860px) { .mv-fbar-t { display: none; } .mv-fbar { bottom: 10px; padding: 8px 10px; } }
body.mv-edit .mv-nctl .mv-b { min-width: 26px; height: 28px; padding: 0 4px; }
body.mv-edit .mv-row[data-mvtab^="x"] { flex-wrap: wrap; }
body.mv-edit .mv-row[data-mvtab^="x"] .mv-nctl { flex: 1 1 100%; justify-content: flex-end; }

/* bara din stânga: se derulează când sunt multe taburi, dar fără bara de derulare urâtă */
.side { scrollbar-width: none; -ms-overflow-style: none; }
.side::-webkit-scrollbar { display: none; width: 0; height: 0; }
/* Conturi: filtre, ordine, „arată mai multe” */
.ubar { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; margin: 0 0 8px; }
.ufilters { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 auto; min-width: 0; }
.uchip { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 99px; padding: 5px 11px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.uchip small { opacity: .6; font-weight: 600; }
.uchip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.usortl { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.usortl select { font: inherit; font-size: 13px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.umore { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.umore:empty { display: none; }
.lqhead { cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; user-select: none; }
.lqhead .lqchev { margin-left: auto; transition: transform .15s; font-size: 20px; line-height: 1; opacity: .6; }
.lqhead.open .lqchev { transform: rotate(90deg); }
.lqalert { font-size: 13px; font-weight: 600; color: var(--danger, #b3261e); font-family: var(--sans); }
#lq-body[hidden] { display: none; }

.ch-histbar { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 2px 2px; }

.stat-names { flex-basis: 100%; font-size: 12px; color: #a1522b; margin-top: 4px; }

/* răspunsuri rapide (Mesaje) */
.ch-conv { position: relative; }
.qrbar { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px 10px 0; border-top: 1px solid var(--line); align-items: center; }
.qrbar[hidden] { display: none; }
.qchip { border: 1px solid var(--line); background: var(--paper, #fbf8f3); border-radius: 99px; padding: 5px 12px; font: inherit; font-size: 13px; cursor: pointer; color: var(--ink, #2b2118); }
.qchip.all { background: #2b2118; color: #fff; border-color: #2b2118; font-weight: 600; }
.qrbar + .ch-reply { border-top: 0; }
.qpop { position: absolute; left: 10px; right: 10px; bottom: 74px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 40px rgba(43, 33, 24, .18); padding: 10px; z-index: 5; }
.qpop .qs { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; }
.qlist { max-height: min(300px, 38vh); overflow-y: auto; }
.qgrp { font-size: 11px; font-weight: 700; color: #a1522b; letter-spacing: .6px; text-transform: uppercase; margin: 8px 4px 4px; }
.qi { display: block; width: 100%; text-align: left; border: 0; background: none; font: inherit; padding: 8px 10px; border-radius: 9px; cursor: pointer; }
.qi:hover { background: #f6ede2; }
.qi b { display: block; font-size: 14px; }
.qi span { display: block; font-size: 12.5px; color: #7a6a58; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg { display: flex; gap: 10px; align-items: flex-start; padding: 12px 4px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.mg .tx { flex: 1 1 260px; min-width: 0; }
.mg .tx b { display: block; }
.mg .tx p { margin: 3px 0 0; font-size: 14px; color: #5b4c3d; line-height: 1.45; white-space: pre-wrap; }
.mg .btnrow { flex: none; }
.tag { display: inline-block; font-size: 11px; background: #f4e3d3; color: #a1522b; border-radius: 99px; padding: 1px 8px; margin-left: 6px; font-weight: 700; }
.tag.pin { background: #e6f4ea; color: #1b5e34; }
.qvars { font-size: 13px; color: #7a6a58; background: #f3ece1; border-radius: 10px; padding: 8px 12px; margin: 10px 0; }
.qvars code { background: #fff; border-radius: 6px; padding: 1px 6px; }
.qform { display: grid; gap: 8px; width: 100%; }
.qform input[type=text], .qform input:not([type]), .qform textarea { font: inherit; font-size: 16px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; width: 100%; box-sizing: border-box; }
.qform .chk { font-size: 14px; }
@media (max-width: 700px) { .qpop { left: 6px; right: 6px; } }
#ch-qr-card { margin-top: 14px; }

/* alegerea variantei la descărcare (galerie) */
.dlq-body { display: grid; gap: 10px; padding: 16px 20px 22px; }
.dlq-b { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: baseline; padding: 14px 16px; border: 1.5px solid var(--line, #e5ddd2); border-radius: 12px; text-decoration: none; color: inherit; background: #fff; }
.dlq-b:hover, .dlq-b:focus-visible { border-color: var(--accent, #d9622b); }
.dlq-b strong { font-size: 16px; }
.dlq-b span { font-size: 13px; color: var(--accent-dark, #b34a1c); font-weight: 700; }
.dlq-b small { grid-column: 1 / -1; color: #6d5f52; font-size: 13px; line-height: 1.4; }

/* sondaj Da / Nu */
.pq-back { position: fixed; inset: 0; z-index: 9000; background: rgba(30, 22, 14, .5); backdrop-filter: blur(3px); display: flex; align-items: flex-end; justify-content: center; padding: 16px; animation: pqf .2s ease; }
@media (min-width: 640px) { .pq-back { align-items: center; } }
@keyframes pqf { from { opacity: 0; } to { opacity: 1; } }
@keyframes pqu { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.pq-box { background: #fffdf9; border-radius: 22px; max-width: 400px; width: 100%; padding: 28px 24px 20px; box-shadow: 0 24px 60px rgba(40, 24, 10, .35); text-align: center; animation: pqu .25s ease; font-family: inherit; }
.pq-tag { display: inline-block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark, #b34a1c); background: #fbece3; font-weight: 700; padding: 4px 12px; border-radius: 99px; margin-bottom: 14px; }
.pq-q { margin: 0 0 20px; font-size: 22px; line-height: 1.3; color: #2a1f15; font-weight: 600; }
.pq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pq-b { padding: 15px 10px; font: inherit; font-size: 18px; font-weight: 700; border-radius: 14px; border: 0; cursor: pointer; color: #fff; transition: transform .1s ease, filter .15s ease; }
.pq-b:hover:not(:disabled) { filter: brightness(1.07); }
.pq-b:active:not(:disabled) { transform: scale(.97); }
.pq-b:disabled { opacity: .6; cursor: default; }
.pq-yes { background: #2f9e57; }
.pq-no { background: #d9622b; }
.pq-c { display: block; width: 100%; margin-top: 14px; box-sizing: border-box; font: inherit; font-size: 15px; padding: 11px 14px; border: 1.5px solid #e8dfd2; border-radius: 12px; background: #fff; color: #2a1f15; resize: none; }
.pq-c:focus { outline: none; border-color: var(--accent, #d9622b); }
.pq-msg { color: #c0392b; font-size: 13px; min-height: 1em; margin-top: 6px; }
.pq-later { display: block; margin: 6px auto 0; background: none; border: 0; color: #6b5f52; cursor: pointer; font: inherit; font-size: 14px; padding: 6px 12px; }
.pq-later:hover { color: #2a1f15; text-decoration: underline; }
.pq-note { font-size: 12px; color: #9a8e80; margin-top: 4px; }
.pq-thx { margin: 0 0 8px; color: #6b5f52; }
#poll-q, #poll-days { font: inherit; font-size: 15px; padding: 10px 12px; border: 1.5px solid #e8dfd2; border-radius: 10px; background: #fff; box-sizing: border-box; }
#poll-q { width: 100%; resize: vertical; }
#poll-q:focus, #poll-days:focus { outline: none; border-color: var(--accent, #d9622b); }
.pq-item { border: 1px solid var(--line, #e5ddd2); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; background: #fff; }
.pq-ihead { display: flex; gap: 10px; justify-content: space-between; align-items: baseline; }
.pq-st { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.pq-st.on { background: #e5f5ea; color: #1f7a3d; }
.pq-st.off { background: #eee; color: #777; }
.pq-sum { margin: 6px 0; font-size: 14px; }
.pq-bar { height: 8px; background: #f0d9d5; border-radius: 99px; overflow: hidden; margin-bottom: 6px; }
.pq-by { display: block; height: 100%; background: #2f8f4e; }
.pq-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pq-det { margin-top: 10px; font-size: 14px; }
.pq-det summary { cursor: pointer; font-weight: 600; }
.pq-ans { padding: 6px 0; border-top: 1px solid #f0e9df; }
.pq-a { display: inline-block; min-width: 30px; text-align: center; font-weight: 700; font-size: 12px; padding: 1px 6px; border-radius: 6px; margin-right: 8px; }
.pq-a.y { background: #e5f5ea; color: #1f7a3d; }
.pq-a.n { background: #fbe7e4; color: #b03022; }
.pq-cm { color: #5a4f43; margin: 2px 0 0 44px; font-style: italic; }
#trial-pk, #trial-days, #trial-hours { font: inherit; font-size: 15px; padding: 10px 12px; border: 1.5px solid #e8dfd2; border-radius: 10px; background: #fff; box-sizing: border-box; width: 100%; }
#trial-pk:focus, #trial-days:focus, #trial-hours:focus { outline: none; border-color: var(--accent, #d9622b); }

/* ofertă cu cronometru */
.offer-bar { background: #0a0a0a; color: #fff; border-radius: 16px; padding: 22px 20px 20px; text-align: center; margin: 0 auto 22px; max-width: 980px; border: 1px solid #2a2a2a; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); background-image: radial-gradient(circle at 50% -40%, rgba(255, 204, 51, .22), transparent 60%); }
.ob-tag { font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: #ffcc33; font-weight: 800; }
.ob-text { margin-top: 8px; color: #d8d8d8; font-size: 16px; }
.ob-count { display: flex; gap: 10px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.ob-count span { background: #161616; border: 1px solid #333; border-radius: 12px; min-width: 70px; padding: 10px 8px 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #aaa; }
.ob-count b { display: block; font-size: 34px; line-height: 1.1; color: #ffcc33; font-variant-numeric: tabular-nums; letter-spacing: 0; font-weight: 800; margin-bottom: 2px; }
.offer-bar.ob-end { opacity: .65; }
.offer-bar.ob-end .ob-tag { color: #fff; }
@media (max-width: 480px) { .ob-count span { min-width: 58px; } .ob-count b { font-size: 28px; } }
#offer-admin input[type="text"], #offer-admin input[type="datetime-local"] { width: 100%; max-width: 420px; box-sizing: border-box; font: inherit; font-size: 15px; padding: 10px 12px; border: 1.5px solid #e8dfd2; border-radius: 10px; background: #fff; }
.of-pk { display: grid; gap: 6px; }
.of-pkl { font-size: 15px; }
#offer-admin .offer-bar { margin: 12px 0; }

/* telefoane înguste: bara galeriei nu mai e mai lată decât ecranul */
@media (max-width: 480px) {
  .gbar { padding: 8px 10px; gap: 6px 8px; flex-wrap: wrap; }
  .gtools { gap: 6px; min-width: 0; }
  .gtools .btn { padding-left: 10px; padding-right: 10px; gap: 6px; white-space: nowrap; }
  #gshare span { display: none; }
}
@media (max-width: 360px) { .gtools .btn { font-size: 13px; padding-left: 8px; padding-right: 8px; gap: 5px; } }

/* Profil pe telefon: formularul nu mai e mai lat decât ecranul */
.pform { grid-template-columns: minmax(0, 1fr); }
.pform > * { min-width: 0; }
.pform .card { grid-template-columns: minmax(0, 1fr); }
.pform input, .pform select, .pform textarea { max-width: 100%; box-sizing: border-box; }

/* filme în galerii foto */
body.embed { margin: 0; background: #000; }
body.embed .player-shell { position: fixed; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; margin: 0; }
body.embed-note { background: var(--bg, #f4efe8); color: var(--ink, #2b2118); min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 20px; font-family: system-ui, sans-serif; }
body.embed-note a { color: var(--accent, #d9622b); }
.gfilms { width: 100%; max-width: none; box-sizing: border-box; margin: 0; padding: 20px 4px 4px; align-self: stretch; }
.gfilm { width: 100%; }
.gfilms-d { max-width: 680px; margin: -4px auto 16px; text-align: center; color: var(--muted); font-size: 16px; line-height: 1.55; }
.gfilms-h { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 4px 0 14px; text-align: center; }
.gfilm { margin: 0 0 20px; }
.gfilm-v { width: 100%; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 10px 30px rgba(43, 33, 24, 0.18); }
.gfilm-v iframe { width: 100%; height: 100%; border: 0; display: block; }
.gfilm-t { text-align: center; color: var(--muted); margin: 8px 0 0; font-size: 15px; }
.gflist { display: grid; gap: 8px; margin: 10px 0; }
.gflist .gfi { display: flex; align-items: center; gap: 10px; justify-content: space-between; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.gflist .gfi span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.gcta + .gcta { margin-left: 10px; }

/* Urări și gânduri sub film */
.wwish { margin: 26px 0 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.wwish .wh { margin-bottom: 4px; }
.wwish-sub { color: var(--muted); margin: 0 0 14px; font-size: 14px; }
.wwish-f { display: grid; gap: 10px; }
.wwish-f input[type=text], .wwish-f textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.wwish-f textarea { resize: vertical; min-height: 84px; }
.wwish-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.wwish-msg { color: var(--muted); font-size: 14px; }
.wwish-msg.err { color: #b3261e; }
.wish-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.wwish-list { margin-top: 16px; display: grid; gap: 10px; }
.wwish-i { padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.wwish-t { margin: 0 0 6px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; }
.wwish-by { margin: 0; font-size: 13px; color: var(--muted); }
.wwish-by b { color: var(--ink); font-weight: 600; }
.wwish-x { border: 0; background: none; color: #b3261e; cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }
.wwish-empty { color: var(--muted); margin: 0; }

/* Istoric plăți */
.lg-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.lg-row { padding: 10px 14px; margin: 0; }
.lg-h { font-size: 13px; color: var(--muted, #888); }
.lg-h b { color: inherit; }
.lg-w { font-weight: 600; margin-top: 2px; word-break: break-all; }
.lg-t { font-size: 14px; margin-top: 4px; line-height: 1.45; word-break: break-word; }

/* ---------- V159: telefon — nimic nu mai iese din lățimea ecranului (fără tras stânga–dreapta) ---------- */
html { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
.shell > *, .adm-wrap, .wrap, .pwrap, .gwrap { min-width: 0; }
img, video, iframe, canvas { max-width: 100%; }
@media (max-width: 860px) {
  .adm-wrap, .shell .adm-wrap { width: 100%; max-width: 100%; overflow-wrap: anywhere; }
  .adm-wrap input, .adm-wrap select, .adm-wrap textarea { max-width: 100%; }
  .newgal input, .invrow input, .inv .grow { min-width: 0; }
  .adm-wrap table { display: block; max-width: 100%; overflow-x: auto; }
  .adm-wrap pre { white-space: pre-wrap; word-break: break-word; }
  .btnrow { flex-wrap: wrap; }
  /* bara de sus (Raportează, Aranjează, Ideile tale, Telegram, Vezi profilul): încape pe ecran, se rupe pe două rânduri dacă e nevoie */
  .topbar { flex-wrap: nowrap; align-items: flex-start; padding: 10px 14px 0 !important; gap: 6px !important; }
  .topleft { flex: none; gap: 6px !important; }
  .topright { flex: 1 1 auto; min-width: 0; flex-wrap: wrap; justify-content: flex-end; gap: 6px !important; }
  .tgwrap .tgpill, .tgpill { margin-right: 0; white-space: nowrap; }
  .topideas, #mv-topbtn, .topbar .btn { white-space: nowrap; }
}
@media (max-width: 560px) {
  .topideas span, #mv-topbtn span { display: none; }
  .topideas, #mv-topbtn { padding: 8px; }
  .tgpill { padding: 6px 10px; font-size: 12px; }
}
/* V159: textele lungi (linkuri, nume de fișiere, titluri) se rup pe rânduri în loc să lărgească pagina */
body { overflow-wrap: break-word; }
.gwrap { width: 100%; box-sizing: border-box; }
.gdesc, .gtitle, .cover-title, .ptitle, .pname, .gc h3, .gc .gmeta { overflow-wrap: anywhere; }
.ggrid { max-width: 100%; }
@media (max-width: 560px) { .adm-wrap .btn { max-width: 100%; white-space: normal; text-align: center; } }
@media (max-width: 560px) { .swrow .btnrow { flex-wrap: wrap; flex: 1 1 100%; } }
/* V160: butonul „Anunță-mă” când ești deja abonat */
.btn.notify-on { background: #e8f5ec; border-color: #9fd0b0; color: #1f6b3e; font-weight: 600; }
.btn.notify-on:hover { background: #dcefe3; }
/* V160: „Trimite pe WhatsApp” — previzualizare + mesaj salvat */
.was-box { max-width: 860px; }
.was-body { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 18px 22px; }
.was-col { display: grid; gap: 8px; align-content: start; min-width: 0; }
.was-lbl { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.was-ta { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; line-height: 1.45; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; resize: vertical; min-height: 170px; }
.was-ta:focus { outline: none; border-color: #d9622b; }
.was-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); }
.was-chip { font: inherit; font-size: 13px; font-family: ui-monospace, monospace; border: 1px solid #e3c7ae; background: #fff8f1; color: #a24d1f; border-radius: 999px; padding: 3px 10px; cursor: pointer; }
.was-chip:hover { background: #ffeedd; }
.was-help { margin: 0; font-size: 13px; }
.was-phone { background: #e5ddd5; background-image: radial-gradient(rgba(255,255,255,.35) 1px, transparent 1px); background-size: 14px 14px; border-radius: 14px; padding: 18px 14px; min-height: 200px; }
.was-bubble { position: relative; margin-left: auto; max-width: 92%; background: #d9fdd3; color: #111b21; border-radius: 10px 0 10px 10px; padding: 9px 12px 18px; font-size: 14.5px; line-height: 1.42; white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: 0 1px 1px rgba(0,0,0,.12); }
.was-bubble::after { content: "✓✓"; position: absolute; right: 8px; bottom: 3px; font-size: 11px; color: #53bdeb; letter-spacing: -2px; }
.was-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 0 22px 20px; flex-wrap: wrap; }
@media (max-width: 720px) { .was-body { grid-template-columns: 1fr; } .was-foot .btn { flex: 1; } }
/* V160: pagina „un singur link” cu mai multe filme */
.colx { width: 100%; max-width: 1100px; margin: 0 auto; padding: 10px 16px 40px; box-sizing: border-box; }
.colx-h { text-align: center; margin: 18px 0 22px; }
.colx-k { margin: 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #d9622b; font-weight: 700; }
.colx-h h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 5vw, 46px); line-height: 1.1; margin: 8px 0 6px; overflow-wrap: anywhere; }
.colx-by { color: var(--muted); text-decoration: none; font-size: 15px; }
.colx-by:hover { color: #d9622b; }
.colx-nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 0 0 26px; }
.colx-nav a { border: 1px solid #d8cbbb; border-radius: 999px; padding: 6px 14px; font-size: 14px; color: #5c4d3f; text-decoration: none; }
.colx-nav a:hover { background: #2b2118; color: #fff; border-color: #2b2118; }
.colx-item { margin: 0 0 34px; scroll-margin-top: 16px; }
.colx-n { font-family: var(--serif); font-size: 22px; color: #d9622b; margin-bottom: 8px; }
.colx-n small { font-size: 14px; color: var(--muted); margin-left: 4px; }
.colx-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.colx-meta h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 0; overflow-wrap: anywhere; }
.colx-wait { display: flex; align-items: center; justify-content: center; color: #fff; background: #3b2f26 !important; text-align: center; padding: 16px; font-size: 15px; }
/* V160: alegerea „un singur link” + aranjare */
.ol-box { max-width: 620px; }
.ol-body { display: grid; gap: 12px; padding: 18px 22px; }
.ol-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ol-opt { text-align: left; font: inherit; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 14px; cursor: pointer; display: grid; gap: 6px; color: inherit; }
.ol-opt b { font-size: 15px; }
.ol-opt span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.ol-opt.on { border-color: #d9622b; background: #fff8f3; box-shadow: 0 0 0 3px rgba(217, 98, 43, .14); }
.ol-field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.ol-field[hidden] { display: none; }
.ol-name { font: inherit; font-size: 15px; font-weight: 400; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; width: 100%; box-sizing: border-box; }
.ol-files { margin: 0; padding: 10px 12px 10px 32px; background: rgba(255,255,255,.6); border: 1px dashed var(--line); border-radius: 10px; font-size: 13px; color: var(--muted); max-height: 160px; overflow: auto; overflow-wrap: anywhere; }
.colc { border: 1.5px solid #e8c9a8; background: #fff8f1; border-radius: 14px; padding: 14px 16px; margin: 0 0 14px; display: grid; gap: 8px; }
.colc-t { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.colc-n { font-size: 13px; color: var(--muted); }
.colc-l { font-size: 14px; color: #a24d1f; overflow-wrap: anywhere; text-decoration: none; }
.colc-l:hover { text-decoration: underline; }
.cola-list { display: grid; gap: 8px; }
.cola-row { display: grid; grid-template-columns: auto auto 88px minmax(0, 1fr) auto auto auto; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 10px; }
.cola-row.drag { opacity: .4; }
.cola-row.over { border-color: #d9622b; box-shadow: 0 -3px 0 #d9622b; }
.cola-grip { cursor: grab; color: #b3a593; letter-spacing: -2px; user-select: none; }
.cola-i { font-family: var(--serif); color: #d9622b; font-size: 18px; min-width: 16px; text-align: center; }
.cola-th { width: 88px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 7px; background: #e9e1d4; display: block; }
.cola-tt { display: grid; min-width: 0; }
.cola-tt b { font-size: 14px; overflow-wrap: anywhere; }
.cola-tt small { color: var(--muted); font-size: 12px; }
.cola-mv, .cola-rm { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: #faf7f2; font-size: 16px; cursor: pointer; color: inherit; }
.cola-mv:disabled { opacity: .3; cursor: default; }
.cola-rm { color: #b3261e; }
.cola-add { font: inherit; padding: 10px 12px; border: 1.5px dashed #cdbfae; border-radius: 10px; background: #faf7f2; }
.colbox { margin: 0 0 18px; }
.colr { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: var(--paper, #faf7f2); border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-top: 10px; }
.colr-th { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; border-radius: 9px; overflow: hidden; aspect-ratio: 16 / 9; background: #e9e1d4; }
.colr-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.colr-th img:only-child { grid-column: 1 / -1; grid-row: 1 / 3; }
.colr-in { display: grid; gap: 2px; min-width: 0; }
.colr-in b { font-size: 16px; overflow-wrap: anywhere; }
.colr-in small { color: var(--muted); font-size: 13px; }
@media (max-width: 640px) {
  .ol-opts { grid-template-columns: 1fr; }
  .colr { grid-template-columns: 96px minmax(0, 1fr); }
  .colr .btnrow { grid-column: 1 / -1; }
  .cola-row { grid-template-columns: auto 64px minmax(0, 1fr) auto auto auto; gap: 7px; }
  .cola-grip { display: none; }
  .cola-th { width: 64px; }
  .cola-mv, .cola-rm { width: 32px; height: 32px; }
}
/* V160: „Mesaj la intrarea în cont” */
.pp-ov { position: fixed; inset: 0; z-index: 80; background: rgba(20, 16, 12, .6); display: flex; align-items: center; justify-content: center; padding: 18px; animation: ppin .25s ease-out; }
@keyframes ppin { from { opacity: 0; } to { opacity: 1; } }
.pp-card { background: var(--paper, #faf7f2); border-radius: 20px; width: 100%; max-width: 440px; padding: 30px 26px 24px; text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); display: grid; gap: 12px; justify-items: center; }
.pp-gift { width: 64px; height: 64px; border-radius: 50%; background: #fff1e6; display: flex; align-items: center; justify-content: center; font-size: 32px; color: #1f7a4d; font-weight: 700; }
.pp-t { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; margin: 0; overflow-wrap: anywhere; }
.pp-b { margin: 0; color: #4c3e31; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.pp-r { margin: 0; font-size: 14px; color: #a24d1f; background: #fff6ee; border: 1px dashed #e8c9a8; border-radius: 10px; padding: 8px 12px; }
.pp-go { min-width: 180px; margin-top: 6px; }
.pp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.pp-form { display: grid; gap: 10px; }
.pp-form input[type=text], .pp-form textarea, .pp-form select, .pp-form input[type=number] { font: inherit; padding: 9px 11px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; width: 100%; box-sizing: border-box; }
.pp-inl { display: flex; align-items: center; gap: 8px; } .pp-inl input { max-width: 90px; }
.pp-prize { border-top: 1px dashed var(--line); padding-top: 10px; display: grid; gap: 8px; }
.pp-prize .nw-row[hidden] { display: none; }
.pp-prev { background: rgba(20, 16, 12, .55); border-radius: 16px; padding: 22px 16px; display: flex; justify-content: center; margin-top: 6px; }
.pp-prev .pp-card { box-shadow: 0 14px 34px rgba(0, 0, 0, .25); }
.pp-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-top: 8px; background: #fff; }
.pp-row-i { display: grid; gap: 2px; min-width: 0; flex: 1 1 260px; } .pp-row-i b { overflow-wrap: anywhere; } .pp-row-i small { color: var(--muted); font-size: 12.5px; } .pp-row-i .pp-st { color: #1f6b3e; }
@media (max-width: 760px) { .pp-grid { grid-template-columns: 1fr; } }
/* V160: video mare + secțiuni pe profil */
.vfeat { margin: 4px 0 26px; }
.vfeat-p { width: 100%; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 18px 44px rgba(43, 33, 24, .18); }
.vfeat-p iframe { width: 100%; height: 100%; border: 0; display: block; }
.vfeat-meta h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; margin: 14px 0 2px; overflow-wrap: anywhere; }
.vfeat-meta p { margin: 0; color: var(--muted); font-size: 14px; }
.vrest { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 4px; }
.psnav { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 6px; }
.vfeat + .psnav { border-top: 1px solid var(--line); padding-top: 20px; }
.psnav button { background: transparent; border: 1px solid #d8cbbb; border-radius: 999px; padding: 7px 15px; font: inherit; font-size: 14px; color: #5c4d3f; cursor: pointer; }
.psnav button.on { background: #2b2118; border-color: #2b2118; color: #fff; }
.psnav button span { opacity: .6; margin-left: 5px; font-size: 12px; }
.psec { margin-top: 26px; }
.psec[hidden] { display: none; }
.psec h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 0 0 12px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; overflow-wrap: anywhere; }
.psec h3 small { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 13px; color: var(--muted); }
.psec h3.psec-h2 { margin-top: 22px; }
.psec .vgrid { margin-top: 0; }
.psec .vgrid + .phjust { margin-top: 14px; }
.psec .phj { height: 180px; flex-grow: 1; }
.psec .phjust::after { content: ""; flex-grow: 999; }
.pwide { width: min(1400px, calc(100vw - 32px)); position: relative; left: 50%; transform: translateX(-50%); }
.pwide .psnav { justify-content: center; }
.pwide .psec h3 { justify-content: center; }
@media (max-width: 640px) { .psec h3 { font-size: 21px; } .vfeat-meta h2 { font-size: 21px; } .psec .phj { height: 110px; flex-basis: calc(var(--ar) * 100px); } .vfeat-p { border-radius: 12px; } }
/* V160: Panou → Profil: video mare + secțiuni */
.lay-card { margin: 0 0 18px; }
.lay-card h3 { margin: 0 0 4px; }
.fv { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.fv-th { width: 200px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; position: relative; background: #e9e1d4; flex: none; }
.fv-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fv-th span { position: absolute; right: 6px; bottom: 6px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 2px 6px; border-radius: 6px; }
.fv-th.fv-empty { display: flex; align-items: center; justify-content: center; border: 1.5px dashed #cdbfae; background: #faf7f2; }
.fv-th.fv-empty span { position: static; background: none; color: var(--muted); font-size: 13px; }
.fv-in { flex: 1; min-width: 180px; display: grid; gap: 10px; } .fv-in b { overflow-wrap: anywhere; }
.vpk-box { max-width: 780px; }
.vpk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; max-height: 52vh; overflow: auto; padding: 2px; }
.vpk-it { font: inherit; text-align: left; border: 2px solid transparent; border-radius: 12px; padding: 6px; background: #fff; cursor: pointer; color: inherit; display: grid; gap: 6px; align-content: start; }
.vpk-it.on { border-color: #d9622b; box-shadow: 0 0 0 3px rgba(217, 98, 43, .15); }
.vpk-th { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #e9e1d4; display: block; }
.vpk-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vpk-th em { position: absolute; left: 6px; top: 6px; width: 24px; height: 24px; border-radius: 50%; background: #d9622b; color: #fff; font-style: normal; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.vpk-th i { position: absolute; right: 5px; bottom: 5px; background: rgba(0,0,0,.6); color: #fff; font-style: normal; font-size: 11px; padding: 1px 5px; border-radius: 5px; }
.vpk-n { font-size: 13px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.sx-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.sx-cnt { font-size: 13px; font-weight: 700; background: #f4efe8; border: 1px solid #e3dacb; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.sx-cnt.prem { background: #fff1d6; color: #8a5a00; border-color: #f0d9a6; }
.sx-lock { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 14px; padding: 12px 14px; border: 1px dashed #e8c9a8; border-radius: 12px; background: #fff8ef; font-size: 14px; }
.sx-tip { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: 13px; color: #7a6a58; background: #fff8ef; border: 1px dashed #e8c9a8; border-radius: 10px; padding: 9px 12px; margin: 12px 0 14px; }
.sx-list { display: grid; gap: 12px; }
.sb { border: 1.5px solid #e3dacb; border-radius: 14px; background: #fff; padding: 12px 14px 14px; }
.sb.sb-free { background: #faf7f2; border-style: dashed; }
.sb.drop { border-color: #d9622b; background: #fff8f3; box-shadow: 0 0 0 3px rgba(217, 98, 43, .12); }
.sb-h { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.sb-name { font: inherit; font-weight: 700; font-size: 16px; border: 1px solid transparent; border-radius: 8px; padding: 5px 8px; background: transparent; flex: 1 1 160px; min-width: 0; }
.sb-name:hover, .sb-name:focus { border-color: #d9622b; background: #fff; outline: none; }
.sb-loose { flex: 0 0 auto; font-size: 15px; }
.sb-meta { font-size: 12px; color: #7a6a58; margin-right: auto; }
.sb-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; min-height: 64px; }
.sb-g .sbi { position: relative; aspect-ratio: 4 / 3; border-radius: 9px; cursor: grab; background: #e9e1d4; }
.sb-g .sbi img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 9px; }
.sb-g .sbi.sbi-v { aspect-ratio: 16 / 9; align-self: center; }
.sb-g .sbi span { position: absolute; right: 4px; bottom: 4px; background: rgba(0,0,0,.62); color: #fff; font-size: 10.5px; padding: 1px 5px; border-radius: 5px; }
.sb-g .sbi em { position: absolute; left: 4px; top: 4px; background: rgba(0,0,0,.55); color: #fff; font-style: normal; font-size: 10px; padding: 1px 5px; border-radius: 5px; }
.sb-g .sbi.ghost { opacity: .3; }
.sb-add { font: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 1.5px dashed #cdbfae; border-radius: 9px; color: #7a6a58; font-size: 12px; font-weight: 600; aspect-ratio: 4 / 3; background: #faf7f2; cursor: pointer; }
.sb-add b { font-size: 20px; color: #d9622b; font-weight: 400; }
.it-menu { position: absolute; z-index: 20; left: 0; top: calc(100% + 4px); min-width: 190px; background: #fff; border: 1px solid #e3dacb; border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.18); padding: 4px; display: grid; }
.it-menu button { font: inherit; font-size: 13px; text-align: left; border: 0; background: transparent; padding: 8px 10px; border-radius: 7px; cursor: pointer; color: inherit; }
.it-menu button:hover { background: #f4efe8; }
.sx-new { width: 100%; margin-top: 12px; border: 1.5px dashed #cdbfae; background: transparent; border-radius: 12px; padding: 12px; font: inherit; font-weight: 600; color: #7a6a58; cursor: pointer; }
.sx-new:disabled { color: #b3a593; cursor: default; }
.sx-new small { display: block; font-weight: 400; font-size: 12px; }
@media (max-width: 560px) { .fv-th { width: 100%; } .sb-g { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } }
.sx-list { grid-template-columns: minmax(0, 1fr); } .sb { min-width: 0; } @media (max-width: 560px) { .sb { padding: 10px; } .sb-name { flex-basis: 100px; } }
.psecs .psnav { margin-top: 4px; } .vfeat + .psecs .psnav { border-top: 1px solid var(--line); padding-top: 20px; }
.sx-kind { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.sx-kind:first-of-type { border-top: 0; padding-top: 0; }
.sx-kh { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.sx-kh h4 { margin: 0; font-size: 16px; }
/* V163: Panou → Design */
.dz { max-width: 980px; }
.dz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 14px; }
.dz-t { border: 1.5px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.dz-t.on { border-color: #1f4d3a; box-shadow: 0 0 0 3px rgba(31, 77, 58, .15); }
.dz-prev { aspect-ratio: 16 / 9; position: relative; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 30px; }
.dz-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.dz-body b { font-size: 16px; } .dz-body small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.dz-body .btnrow { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.dz-state { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #e8f5ec; color: #1f6b3e; }
.dz-state.soon { background: #f4efe8; color: #7a6a58; }
.dz-state.off { background: #f4efe8; color: #7a6a58; font-weight: 600; }
.dz-ed { margin-top: 20px; }
.dz-ed h3 { margin-top: 0; }
.dz-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.dz-row label { font-size: 14px; display: grid; gap: 4px; }
.dz-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-top: 6px; }
.dz-checks .check { font-size: 14px; }
.dz-ed input[type=date], .dz-ed input[type=text] { font: inherit; padding: 9px 11px; border: 1.5px solid var(--line); border-radius: 10px; width: 100%; box-sizing: border-box; background: #fff; }
.dz-ed h4 { margin: 16px 0 6px; font-size: 15px; }
.dz-foot { display: flex; gap: 10px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.dz-rib { margin: 0 0 16px; }
.dz-rib .dz-ribrow { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.dz-rib input { flex: 1 1 220px; font: inherit; padding: 9px 11px; border: 1.5px solid var(--line); border-radius: 10px; min-width: 0; }
@media (max-width: 640px) { .dz-row, .dz-checks { grid-template-columns: 1fr; } }
