/* merginaiesko.lt v2 (2.11.2026): vlastiti svijetli predložak za upoznavanje (Martin: „ne smije izgledati kao sekssludinajumi24").
   Nove klase mg-/pc- za raspored; stare klase ostaju samo za widgete koje dijele PHP funkcije (galerija, glasanje, 3 pitanja, TP, forme). */

:root {
    --bg: #fff8f5;
    --card: #fff;
    --ink: #2b1b24;
    --ink2: #5f4b55;
    --ink3: #98868e;
    --line: #f1e2e4;
    --line2: #e7d2d7;
    --rose: #d8406c;
    --rose2: #b9305a;
    --rose-s: #fdecf1;
    --grad: linear-gradient(135deg, #ff9878 0%, #e24a73 52%, #a8358a 100%);
    --sh: 0 1px 2px rgba(90, 30, 50, .06), 0 8px 22px rgba(90, 30, 50, .07);
    --r: 18px;
    --wa: #1faa59;
    --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    /* stari nazivi (inline stilovi u mano-paskyra i sl.) */
    --red: var(--rose); --red2: var(--rose2); --text: var(--ink); --text2: var(--ink2); --text3: var(--ink3); --bg2: #fff; --bg3: #fbf1f3;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { font: 15px/1.55 var(--font); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
.mg-in, .wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { line-height: 1.25; }

/* ---------- zaglavlje ---------- */
.mg-top { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.mg-top-row { display: flex; align-items: center; gap: 14px; height: 64px; }
.mg-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 21px; letter-spacing: -.3px; white-space: nowrap; }
.mg-brand svg { width: 30px; height: 30px; flex-shrink: 0; }
.mg-brand b { color: var(--rose); font-weight: 800; }
.mg-brand i { font-style: normal; color: var(--ink3); font-weight: 700; }
.mg-menu { display: flex; align-items: center; gap: 2px; margin-left: 10px; }
.mg-menu > a { padding: 8px 13px; border-radius: 999px; font-weight: 700; font-size: 14.5px; color: var(--ink2); white-space: nowrap; }
.mg-menu > a:hover, .mg-menu > a.on { background: var(--rose-s); color: var(--rose); }
.mg-hot { display: flex; gap: 6px; margin-left: 6px; padding-left: 12px; border-left: 1px solid var(--line); }
.mg-hot a, .mg-hotrow a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: #f0faf3; color: #157a43; font-weight: 700; font-size: 13px; white-space: nowrap; }
.mg-hot a::before, .mg-hotrow a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
.mg-hot a:hover, .mg-hotrow a:hover { background: #e2f6e8; }
.mg-acts { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.mg-login { font-weight: 700; font-size: 14px; color: var(--ink2); }
.mg-login:hover { color: var(--rose); }
.mg-cta { display: inline-flex; align-items: center; gap: 6px; background: var(--grad); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 800; font-size: 14px; white-space: nowrap; box-shadow: 0 4px 14px rgba(226, 74, 115, .28); }
.mg-cta:hover { filter: brightness(1.06); }
.mg-cta .s { display: none; }
.mg-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line2); border-radius: 14px; background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.mg-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); }
.mg-hotrow { display: none; }
@media (max-width: 1080px) { .mg-hot { display: none; } }
@media (max-width: 900px) {
    .mg-menu, .mg-login { display: none; }
    .mg-burger { display: flex; }
    .mg-top-row { height: 58px; gap: 10px; }
    .mg-acts { gap: 8px; }
    .mg-hotrow { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 9px; scrollbar-width: none; }
    .mg-hotrow::-webkit-scrollbar { display: none; }
}
@media (max-width: 420px) {
    .mg-brand { font-size: 18px; }
    .mg-brand svg { width: 26px; height: 26px; }
    .mg-cta { padding: 9px 13px; font-size: 13px; }
    .mg-cta .l { display: none; }
    .mg-cta .s { display: inline; }
}

/* ladica (JS: #mob-btn, #mob-nav, #mob-ov, #mn-close, body.mopen) */
.mob-ov { display: none; position: fixed; inset: 0; background: rgba(43, 27, 36, .45); z-index: 900; }
body.mopen .mob-ov { display: block; }
.mob-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(88vw, 360px); background: #fff; z-index: 901; transform: translateX(105%); transition: transform .25s ease; overflow-y: auto; padding: 14px 18px 30px; box-shadow: -10px 0 30px rgba(43, 27, 36, .18); visibility: hidden; }
body.mopen .mob-nav { transform: none; visibility: visible; }
.mn-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mn-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line2); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink2); }
.mn-search { display: flex; gap: 6px; margin: 4px 0 10px; }
.mn-search input { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--line2); border-radius: 14px; background: #fffaf8; }
.mn-search button { padding: 0 16px; border: 0; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 800; cursor: pointer; }
.mn-post { display: block; text-align: center; padding: 12px; border-radius: 14px; background: var(--grad); color: #fff; font-weight: 800; }
.mn-hot { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.mn-hot a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: #f0faf3; color: #157a43; font-weight: 700; font-size: 13px; }
.mn-sec { margin: 20px 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.mn-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mn-chips a { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line2); font-weight: 700; font-size: 13.5px; color: var(--ink2); }
.mn-chips a span { color: var(--ink3); font-weight: 600; margin-left: 2px; }
.mn-list a { display: flex; justify-content: space-between; padding: 11px 2px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.mn-list a span { color: var(--ink3); font-weight: 600; }
.mn-small a { font-weight: 600; color: var(--ink2); font-size: 14px; }

/* ---------- naslovnica ---------- */
.mg-hero { background: linear-gradient(160deg, #ffe7de 0%, #ffe0ea 48%, #f4e2f6 100%); padding: 34px 0 30px; }
.mg-hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.mg-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .7); font-weight: 800; font-size: 12.5px; color: var(--rose); }
.mg-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.mg-hero h1 { margin: 12px 0 8px; font-size: 34px; font-weight: 800; letter-spacing: -.6px; }
.mg-lead { font-size: 16px; color: var(--ink2); max-width: 600px; }
.mg-find { margin-top: 18px; display: grid; grid-template-columns: 1.4fr .8fr .8fr auto; gap: 8px; padding: 10px; background: #fff; border-radius: 22px; box-shadow: var(--sh); max-width: 680px; }
.mg-find label { display: flex; flex-direction: column; gap: 2px; padding: 4px 10px; border-radius: 14px; }
.mg-find label:hover { background: #fff6f3; }
.mg-find label span { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); }
.mg-find select { border: 0; background: transparent; font-weight: 700; font-size: 15px; padding: 2px 0; cursor: pointer; outline: none; width: 100%; }
.mg-find button { border: 0; border-radius: 16px; background: var(--grad); color: #fff; font-weight: 800; font-size: 15px; padding: 0 24px; cursor: pointer; }
.mg-stats { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 13.5px; font-weight: 700; color: var(--ink2); }
.mg-stats b { color: var(--ink); font-weight: 800; }
.mg-faces { display: none; }
@media (min-width: 960px) {
    .mg-hero { padding: 48px 0 44px; }
    .mg-hero-in { grid-template-columns: minmax(0, 1fr) 360px; }
    .mg-hero h1 { font-size: 42px; }
    .mg-faces { display: block; position: relative; height: 330px; }
    .mg-face { position: absolute; width: 190px; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px rgba(120, 30, 70, .18); border: 5px solid #fff; }
    .mg-face img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
    .mg-face span { display: block; padding: 6px 4px 2px; font-weight: 800; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .mg-face span small { color: var(--ink3); font-weight: 700; }
    .mg-face:nth-child(1) { left: 0; top: 30px; transform: rotate(-5deg); }
    .mg-face:nth-child(2) { right: 0; top: 0; transform: rotate(4deg); z-index: 2; }
    .mg-face:nth-child(3) { left: 90px; top: 120px; transform: rotate(-1deg); z-index: 3; }
}
@media (max-width: 640px) {
    .mg-hero { padding: 22px 0 22px; }
    .mg-hero h1 { font-size: 26px; }
    .mg-lead { font-size: 15px; }
    .mg-find { grid-template-columns: 1fr 1fr; border-radius: 18px; }
    .mg-find label:first-child { grid-column: 1 / -1; }
    .mg-find button { grid-column: 1 / -1; padding: 12px; }
}

/* ---------- sekcije, čipovi ---------- */
.mg-sec { padding: 26px 0; }
.mg-sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mg-sec-h h2 { font-size: 22px; font-weight: 800; letter-spacing: -.3px; }
.mg-sec-h a { font-weight: 800; font-size: 14px; color: var(--rose); white-space: nowrap; }
.mg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mg-chips a, .mg-chips button { display: inline-flex; align-items: center; gap: 5px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line2); font-weight: 700; font-size: 13.5px; color: var(--ink2); white-space: nowrap; cursor: pointer; }
.mg-chips a span { color: var(--ink3); font-weight: 600; font-size: 12.5px; }
.mg-chips a:hover { border-color: var(--rose); color: var(--rose); }
.mg-chips a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.mg-chips a.on span { color: #e6d5dc; }
.mg-chips-wrap { padding: 4px 0 2px; }
@media (max-width: 640px) {
    .mg-chips.scroll { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
    .mg-chips.scroll::-webkit-scrollbar { display: none; }
}

/* ---------- kartica profila ---------- */
.mg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .mg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 980px) { .mg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.pc { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); transition: transform .15s ease, box-shadow .15s ease; }
.pc:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(90, 30, 50, .06), 0 14px 30px rgba(90, 30, 50, .12); }
.pc-ph { position: relative; display: block; aspect-ratio: 4 / 5; background: #f6e7eb; overflow: hidden; }
.pc-ph img { width: 100%; height: 100%; object-fit: cover; }
.pc-ph.no { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; }
.pc-ph.no b { font-size: 56px; font-weight: 800; line-height: 1; text-shadow: 0 4px 16px rgba(120, 20, 60, .25); }
.pc-ph.no small { font-size: 11.5px; font-weight: 700; opacity: .9; }
.g0 { background: linear-gradient(150deg, #ffc3ae, #ef7c9c 60%, #c06fb6); }
.g1 { background: linear-gradient(150deg, #ffd0a8, #f39a8d 55%, #d86c93); }
.g2 { background: linear-gradient(150deg, #f7b6d2, #c98bd9 60%, #8f78d6); }
.g3 { background: linear-gradient(150deg, #ffc9c9, #f08aa4 50%, #b25f9b); }
.g4 { background: linear-gradient(150deg, #fbd3e4, #e994bd 55%, #a96bc0); }
.pc-new, .pc-top { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.pc-new { background: #fff; color: var(--rose); }
.pc-top { background: #ffd54d; color: #4a3200; }
.pc-new + .pc-top { left: auto; right: 10px; }
.pc-b { display: flex; flex-direction: column; gap: 3px; flex: 1; padding: 11px 13px 13px; min-width: 0; }
.pc-n { font-size: 16px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-n a:hover { color: var(--rose); }
.pc-n small { font-weight: 700; color: var(--ink3); font-size: 14px; }
.pc-m { display: flex; flex-wrap: wrap; gap: 2px 8px; font-size: 12.5px; font-weight: 700; color: var(--ink3); }
.pc-m .loc { color: var(--rose); }
.pc-d { font-size: 13.5px; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.pc-f { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 8px; font-size: 12px; font-weight: 700; color: var(--ink3); }
.pc-f a { padding: 3px 9px; border-radius: 999px; background: var(--rose-s); color: var(--rose); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 75%; }
.pc-x .pc-on { display: inline-flex; align-items: center; gap: 6px; color: #157a43; }
.pc-x .pc-on::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
@media (max-width: 639px) {
    .pc { border-radius: 15px; }
    .pc-b { padding: 9px 10px 11px; }
    .pc-n { font-size: 15px; }
    .pc-d { font-size: 13px; }
    .pc-ph.no b { font-size: 46px; }
}
/* stara native/kamere kartica (lcNativeCard, trans) ako se ikad pojavi u mreži */
.mg-grid > .post-row { grid-column: 1 / -1; display: flex; gap: 12px; background: #fff; border-radius: var(--r); padding: 10px; box-shadow: var(--sh); }
.mg-grid > .post-row .post-thumb { position: relative; flex: 0 0 110px; height: 90px; border-radius: 12px; overflow: hidden; }
.mg-grid > .post-row .post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-body h3 { font-size: 15px; font-weight: 800; }
.post-desc { font-size: 13px; color: var(--ink2); }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: var(--ink3); }

.mg-more { display: block; width: max-content; margin: 22px auto 0; padding: 12px 26px; border-radius: 999px; background: #fff; border: 1px solid var(--line2); font-weight: 800; color: var(--ink); }
.mg-more:hover { border-color: var(--rose); color: var(--rose); }
.mg-empty { padding: 34px 16px; text-align: center; color: var(--ink2); background: #fff; border-radius: var(--r); box-shadow: var(--sh); }
.mg-empty a { color: var(--rose); font-weight: 800; }

/* kategorije i gradovi na naslovnici */
.mg-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.mg-cat { display: flex; align-items: center; gap: 14px; padding: 16px; background: #fff; border-radius: var(--r); box-shadow: var(--sh); }
.mg-cat i { flex: 0 0 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--rose-s); color: var(--rose); }
.mg-cat i svg { width: 26px; height: 26px; }
.mg-cat b { display: block; font-size: 16px; font-weight: 800; }
.mg-cat small { font-size: 13px; font-weight: 700; color: var(--ink3); }
.mg-cat:hover b { color: var(--rose); }
.mg-cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.mg-city { display: flex; flex-direction: column; padding: 13px 15px; background: #fff; border-radius: 16px; border: 1px solid var(--line); }
.mg-city b { font-weight: 800; font-size: 15px; }
.mg-city small { font-size: 12.5px; font-weight: 700; color: var(--ink3); }
.mg-city:hover { border-color: var(--rose); }
.mg-city:hover b { color: var(--rose); }

/* ---------- zaglavlje popisa (kategorija, grad, svi oglasi) ---------- */
.mg-head { padding: 22px 0 6px; background: linear-gradient(180deg, #ffeee8 0%, rgba(255, 248, 245, 0) 100%); }
.mg-bc { display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: 13px; font-weight: 700; color: var(--ink3); margin-bottom: 8px; }
.mg-bc a:hover { color: var(--rose); }
.mg-head h1 { font-size: 30px; font-weight: 800; letter-spacing: -.5px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.mg-cnt { display: inline-block; padding: 3px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line2); font-size: 14px; font-weight: 800; color: var(--rose); letter-spacing: 0; }
.mg-head p { margin-top: 6px; max-width: 760px; color: var(--ink2); }
.mg-head .mg-chips { margin-top: 14px; }
@media (max-width: 640px) { .mg-head h1 { font-size: 23px; } .mg-head { padding-top: 16px; } }

/* traka: broj + sortiranje + filtri (JS: #qs-filter, #filter-panel.open) */
.mg-tool { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0 12px; }
.mg-tool-n { font-weight: 800; color: var(--ink2); font-size: 14px; }
.mg-tool-r { display: flex; align-items: center; gap: 8px; }
.mg-sort { padding: 9px 30px 9px 14px; border: 1px solid var(--line2); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235f4b55' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; font-weight: 700; font-size: 13.5px; color: var(--ink); cursor: pointer; }
.qs-filter { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-weight: 800; font-size: 13.5px; cursor: pointer; }
.qs-filter span { display: inline-flex; align-items: center; justify-content: center; min-width: 19px; height: 19px; border-radius: 50%; background: var(--rose); font-size: 11px; }
.mg-fp { display: none; margin-bottom: 14px; background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 16px; }
.mg-fp.open { display: block; }
.mg-fp form { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px 14px; align-items: end; }
.mg-fp label.f { display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); }
.mg-fp select, .mg-fp input[type=text] { width: 100%; padding: 10px 12px; border: 1px solid var(--line2); border-radius: 12px; background: #fffaf8; font-size: 14.5px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--ink); }
.mg-fp .pair { display: flex; gap: 6px; }
.mg-fp .checks { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.mg-fp .checks label, .filter-check { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: var(--ink2); cursor: pointer; }
.mg-fp .checks input, .filter-check input { width: 17px; height: 17px; accent-color: var(--rose); }
.mg-fp .acts { display: flex; gap: 10px; align-items: center; }
.mg-fp .acts button, .filter-btn { padding: 11px 22px; border: 0; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 800; cursor: pointer; }
.mg-fp .acts a { font-weight: 800; font-size: 14px; color: var(--ink3); }
.mg-af { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 12px; font-size: 13px; font-weight: 700; color: var(--ink3); }
.mg-af a { padding: 5px 11px; border-radius: 999px; background: var(--rose-s); color: var(--rose); font-weight: 800; }

/* paginacija (functions.php pagination(): .pag, a.on, .pag-dots, .pg-next) */
.pag { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 26px 0 6px; }
.pag a { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: #fff; border: 1px solid var(--line2); font-weight: 800; font-size: 14px; color: var(--ink2); }
.pag a:hover { border-color: var(--rose); color: var(--rose); }
.pag a.on { background: var(--rose); border-color: var(--rose); color: #fff; }
.pag-dots { display: flex; align-items: center; padding: 0 4px; color: var(--ink3); }

/* SEO tekst + FAQ */
.mg-seo { padding: 10px 0 34px; }
.mg-seo-box { max-width: 880px; margin: 0 auto; background: #fff; border-radius: 22px; box-shadow: var(--sh); padding: 30px 32px; color: var(--ink2); line-height: 1.75; }
.mg-seo-box h2 { font-size: 23px; font-weight: 800; color: var(--ink); margin: 26px 0 10px; letter-spacing: -.3px; }
.mg-seo-box h2:first-child { margin-top: 0; }
.mg-seo-box h3 { font-size: 17px; font-weight: 800; color: var(--ink); margin: 20px 0 6px; }
.mg-seo-box p { margin: 0 0 12px; }
.mg-seo-box ul, .mg-seo-box ol { margin: 0 0 14px 20px; }
.mg-seo-box li { margin: 4px 0; }
.mg-seo-box a { color: var(--rose); font-weight: 700; }
.mg-seo-box strong, .mg-seo-box b { color: var(--ink); }
.seo-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.seo-links a { padding: 7px 13px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line2); font-size: 13.5px; font-weight: 700; color: var(--ink2) !important; }
.seo-links a span { color: var(--ink3); font-weight: 600; }
.seo-links a:hover { border-color: var(--rose); color: var(--rose) !important; }
.seo-cta { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--rose-s); color: var(--ink); }
@media (max-width: 640px) { .mg-seo-box { padding: 22px 18px; border-radius: 18px; } .mg-seo-box h2 { font-size: 20px; } }

/* ---------- profil (stranica oglasa) ---------- */
.mg-prof { padding: 16px 0 30px; }
.mg-pgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 1080px) { .mg-pgrid { grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; } }
.mg-card { background: #fff; border-radius: 22px; box-shadow: var(--sh); padding: 22px; margin-bottom: 16px; }
.mg-card > h2, .profile-section-title { font-size: 18px; font-weight: 800; margin-bottom: 12px; color: var(--ink); }
.mg-ph { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 14px; }
@media (min-width: 720px) { .mg-ph { grid-template-columns: 340px minmax(0, 1fr); gap: 26px; padding: 18px; } }
.mg-ava { aspect-ratio: 4 / 5; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff; }
.mg-ava b { font-size: 96px; font-weight: 800; line-height: 1; text-shadow: 0 6px 22px rgba(120, 20, 60, .25); }
.mg-ava small { font-weight: 800; font-size: 13px; opacity: .92; }
.gallery { position: relative; }
.gallery-main { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: #f6e7eb; cursor: zoom-in; }
.gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.img-wa-btn { position: absolute; right: 12px; bottom: 12px; z-index: 5; display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumbs img { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 12px; object-fit: cover; cursor: pointer; opacity: .55; border: 2px solid transparent; }
.gallery-thumbs img:hover, .gallery-thumbs img.active { opacity: 1; border-color: var(--rose); }
.mg-pi { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mg-pi h1 { font-size: 28px; font-weight: 800; letter-spacing: -.4px; overflow-wrap: anywhere; }
.mg-pi-sub { display: flex; flex-wrap: wrap; gap: 4px 14px; font-weight: 700; color: var(--ink3); font-size: 14px; }
.mg-pi-sub .loc { color: var(--rose); }
.detail-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dtag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--rose-s); color: var(--rose); font-size: 13px; font-weight: 800; }
.dtag a { color: inherit; }
.mg-btns { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.c-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px; border-radius: 14px; border: 0; font-weight: 800; font-size: 15px; text-align: center; cursor: pointer; }
.c-btn:hover { filter: brightness(1.06); }
.c-wa, .c-phone { background: var(--wa); color: #fff; }
.c-email { background: #fff; color: var(--ink); border: 1px solid var(--line2); overflow-wrap: anywhere; }
.lc-btn { background: var(--grad); color: #fff; }
.rep-link { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--ink3); }
.rep-link span { opacity: .8; }
.rep-link:hover { color: var(--rose); }
.vote-bar { position: relative; display: flex; gap: 8px; }
.vote-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line2); background: #fff; color: var(--ink2); font-weight: 800; font-size: 14px; cursor: pointer; }
.vote-like:hover, .vote-like.voted { border-color: var(--wa); color: var(--wa); background: #effaf3; }
.vote-dislike:hover, .vote-dislike.voted { border-color: var(--rose); color: var(--rose); background: var(--rose-s); }
.vote-bar.flash::after { content: attr(data-msg); position: absolute; left: 0; top: calc(100% + 6px); font-size: 12px; font-weight: 700; color: var(--wa); white-space: nowrap; }
.detail-text { font-size: 15.5px; line-height: 1.75; color: var(--ink2); white-space: pre-wrap; overflow-wrap: anywhere; }
.profile-table { width: 100%; border-collapse: collapse; }
.profile-table tr { border-bottom: 1px solid var(--line); }
.profile-table tr:last-child { border-bottom: 0; }
.pt-label { width: 45%; padding: 10px 0; font-size: 13.5px; font-weight: 700; color: var(--ink3); }
.pt-value { padding: 10px 0; font-weight: 700; }
.services-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-tag { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line2); font-size: 13px; font-weight: 700; color: var(--ink2); }
.th-btns { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.th-btns a { padding: 12px 16px; border-radius: 14px; background: #fff; box-shadow: var(--sh); font-weight: 800; color: var(--rose); }
.side-box { background: #fff; border-radius: 18px; box-shadow: var(--sh); padding: 18px; }
.side-box h3 { font-size: 16px; font-weight: 800; margin-bottom: 10px; }
.sim-ads { margin-top: 8px; }
.sim-ads > h2 { font-size: 21px; font-weight: 800; margin-bottom: 14px; }
.sim-more { display: inline-block; margin-top: 14px; font-weight: 800; color: var(--rose); }
.m-contact { display: none; }
@media (max-width: 700px) {
    .mg-pi h1 { font-size: 24px; }
    .mg-card { padding: 18px; border-radius: 18px; }
    .m-contact { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(90, 30, 50, .1); }
    .m-contact a { flex: 1; text-align: center; padding: 13px 6px; border-radius: 14px; font-weight: 800; font-size: 15px; color: #fff; }
    .mc-wa { background: var(--wa); }
    .mc-call { background: var(--rose); }
    body:has(.m-contact) { padding-bottom: 74px; }
}

/* lightbox (main.js) */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(20, 10, 15, .96); cursor: pointer; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 10px; cursor: default; }
.lb-close { position: absolute; top: 14px; right: 18px; z-index: 1002; font-size: 38px; line-height: 1; color: #fff; opacity: .8; cursor: pointer; }
.lb-nav { position: absolute; top: 50%; left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 14px; transform: translateY(-50%); pointer-events: none; }
.lb-prev, .lb-next { pointer-events: all; padding: 8px 16px; border-radius: 14px; background: rgba(255, 255, 255, .12); font-size: 36px; color: #fff; cursor: pointer; user-select: none; }
.lb-cta { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 1001; }
.lb-msg, .lb-call { padding: 11px 24px; border-radius: 999px; color: #fff; font-weight: 800; }
.lb-msg { background: var(--wa); }
.lb-call { background: var(--rose); }

/* upozorenje, 3 pitanja, pouzdanost (trust.php) */
.fake-warn { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; padding: 14px 16px; border-radius: 16px; background: #fff4f0; border: 1px solid #f6c5b5; font-size: 14px; line-height: 1.55; }
.fake-warn b { color: var(--ink); }
.fake-warn .fw-i { font-size: 22px; line-height: 1.1; color: #e2603a; flex-shrink: 0; }
.rate-box { margin-bottom: 16px; padding: 20px 22px 16px; border-radius: 22px; background: #fff; box-shadow: var(--sh); }
.rate-box h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.rate-anon { padding: 2px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.rate-intro { font-size: 13px; color: var(--ink3); margin-bottom: 6px; }
.rate-row { padding: 12px 0; border-top: 1px solid var(--line); }
.rate-row:first-of-type { border-top: 0; }
.rate-q { font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.rate-yn { display: flex; gap: 8px; }
.rv { flex: 1; padding: 10px 8px; border-radius: 12px; border: 1px solid var(--line2); background: #fff; font-weight: 800; font-size: 14px; cursor: pointer; }
.rv b { font-weight: 700; opacity: .7; margin-left: 4px; }
.rv-da:hover, .rv-da.voted { background: #effaf3; border-color: var(--wa); color: #157a43; }
.rv-ne:hover, .rv-ne.voted { background: var(--rose-s); border-color: var(--rose); color: var(--rose); }
.rate-res { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.rate-bar { flex: 1; height: 7px; border-radius: 4px; background: #f6d5de; overflow: hidden; }
.rate-bar i { display: block; height: 100%; background: var(--wa); }
.rate-row.empty .rate-bar { background: var(--line); }
.rate-pct { font-size: 12.5px; font-weight: 700; color: var(--ink3); white-space: nowrap; }
.rate-row.done .rate-q::after { content: ' ✓ pažymėta'; color: var(--wa); font-size: 12px; }
.rate-note { font-size: 12px; color: var(--ink3); margin-top: 6px; }
.rate-own { margin: -4px 0 10px; padding: 8px 10px; border-radius: 10px; background: #fff7df; border: 1px solid #f3d27a; font-size: 13px; }
.rate-box.own .rv { opacity: .5; cursor: not-allowed; }
.trust { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 999px; border: 1px solid; font-size: 12px; font-weight: 800; white-space: nowrap; }
.trust small { font-weight: 600; opacity: .8; font-size: 11px; }
.tr-good { color: #157a43; border-color: #9fdcb5; background: #effaf3; }
.tr-mid { color: #a86a00; border-color: #f0cf85; background: #fff8e6; }
.tr-bad { color: var(--rose); border-color: #f2b2c4; background: var(--rose-s); }
.tr-none { color: var(--ink3); border-color: var(--line2); font-weight: 600; }
.rate-box h3 .trust { margin-left: auto; }
.tq { font-size: 11px; font-weight: 700; }
.tq-ok { color: #157a43; }
.tq-no { color: var(--rose); }

/* TrafficPartner (tpdating.php): banneri, desni stupac */
.aff-banner { position: relative; margin: 0 0 16px; text-align: center; }
.aff-banner > a { display: block; }
.aff-banner.tp-wide { max-width: 728px; margin-left: auto; margin-right: auto; }
.aff-banner.tp-sq { max-width: 300px; margin-left: auto; margin-right: auto; }
.tp-b-btn { display: inline-block; flex-shrink: 0; padding: 10px 20px; border-radius: 999px; background: #fff; color: var(--rose); font-weight: 800; font-size: 14px; }
.tp-wide > a { display: flex; align-items: center; gap: 16px; min-height: 90px; padding: 0 0 0 20px; overflow: hidden; text-align: left; border-radius: 20px; background: var(--grad); }
.tp-b7-txt { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.tp-b7-txt b { font-size: 17px; font-weight: 800; color: #fff; line-height: 1.2; }
.tp-b7-txt small { font-size: 13px; color: #ffe6ee; }
.tp-b7-faces { display: flex; align-self: stretch; flex-shrink: 0; }
.tp-b7-faces i { width: 76px; background: center / cover no-repeat; }
.tp-sq > a { position: relative; display: block; width: 300px; max-width: 100%; height: 250px; margin: 0 auto; overflow: hidden; border-radius: 20px; text-align: left; }
.tp-b3-img { position: absolute; inset: 0; background: center 20% / cover no-repeat; }
.tp-b3-txt { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 2px; padding: 44px 16px 16px; background: linear-gradient(transparent, rgba(60, 10, 35, .9) 42%); }
.tp-b3-txt b { font-size: 25px; font-weight: 800; color: #fff; line-height: 1.05; }
.tp-b3-txt em { font-style: normal; font-size: 22px; font-weight: 800; color: #ffb3c8; line-height: 1.1; }
.tp-b3-txt small { font-size: 13px; color: #fbe9ef; margin: 4px 0 8px; }
.tp-b3-txt .tp-b-btn { align-self: flex-start; }
@media (max-width: 600px) {
    .tp-wide > a { gap: 10px; padding-left: 14px; min-height: 78px; }
    .tp-b7-txt b { font-size: 14.5px; }
    .tp-b7-txt small { font-size: 11.5px; }
    .tp-wide .tp-b-btn { padding: 8px 12px; font-size: 12.5px; }
    .tp-b7-faces i:nth-child(n+2) { display: none; }
    .tp-b7-faces i { width: 64px; }
}
.detail-aside { display: none; }
@media (min-width: 1080px) {
    .detail-aside { display: block; }
    .da-sticky { position: sticky; top: 84px; }
    .da-box { background: #fff; border-radius: 20px; box-shadow: var(--sh); padding: 14px; }
    .da-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 15px; font-weight: 800; }
    .da-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
    .da-card { display: flex; gap: 10px; padding: 8px; margin: 0 -6px; border-radius: 14px; }
    .da-card:hover { background: var(--bg); }
    .da-card img { width: 60px; height: 60px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
    .da-card span { display: flex; flex-direction: column; min-width: 0; }
    .da-card b { font-size: 14px; font-weight: 800; }
    .da-card small { font-size: 12px; color: var(--ink3); }
    .da-card em { font-style: normal; font-size: 12.5px; font-weight: 800; color: var(--rose); margin-top: 2px; }
    .detail-aside .aff-banner { margin: 16px 0; }
    .da-kw { display: flex; flex-direction: column; gap: 8px; }
    .da-kw a { padding: 11px; border-radius: 14px; background: #fff; border: 1px solid var(--line2); text-align: center; font-weight: 800; color: var(--rose); }
    .da-kw a:hover { background: var(--rose); color: #fff; border-color: var(--rose); }
}

/* kamere (livecams.php, ako se uključe) */
.lc-strip { background: #fff; border-radius: 20px; box-shadow: var(--sh); padding: 16px; margin-bottom: 16px; }
.lc-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-weight: 800; }
.lc-dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; }
.lc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .lc-grid { grid-template-columns: repeat(4, 1fr); } }
.lc-cell { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #f6e7eb; }
.lc-cell img { width: 100%; height: 100%; object-fit: cover; }
.lc-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 8px 5px; font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-cta { display: block; margin-top: 10px; padding: 11px; border-radius: 14px; background: var(--grad); color: #fff; text-align: center; font-weight: 800; }
.lc-live { position: absolute; top: 6px; left: 6px; padding: 2px 6px; border-radius: 6px; background: var(--rose); color: #fff; font-size: 10px; font-weight: 800; }
.lc-on { color: #157a43; }

/* sticky traka (tpBar #lc-bar.cpx, barv2.php je preoblikuje) */
#lc-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; }
#lc-bar a { display: flex; align-items: center; justify-content: center; gap: 12px; }
#lc-bar.cpx { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-width: 760px; margin: 0 auto; padding: 10px 12px 10px 16px; border-radius: 20px; background: var(--grad); box-shadow: 0 14px 34px rgba(120, 30, 70, .35); z-index: 8990; }
#lc-bar .cpx-dot { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; background: #2ee66b; }
#lc-bar .cpx-t { flex: 1 1 auto; min-width: 0; color: #fff; font-size: 15px; font-weight: 700; line-height: 1.3; }
#lc-bar .cpx-t small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
#lc-bar .cpx-city { font-weight: 800; }
#lc-bar .cpx-b { flex: 0 0 auto; padding: 9px 16px; border-radius: 999px; background: #fff; color: var(--rose); font-weight: 800; font-size: 14px; white-space: nowrap; }
#lc-bar .cpx-b i { font-style: normal; }
.lc-bar-x { position: absolute; top: -9px; right: -6px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line2); background: #fff; color: var(--ink2); font-size: 15px; line-height: 21px; padding: 0; cursor: pointer; }
body.lc-bar-on { padding-bottom: 92px; }
body.mopen #lc-bar, body:has(.m-contact) #lc-bar { display: none !important; }

/* traka kolačića */
#ck-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 9100; max-width: 640px; margin: 0 auto; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 12px 16px; border-radius: 18px; background: #fff; box-shadow: 0 12px 34px rgba(60, 20, 40, .2); font-size: 13.5px; font-weight: 600; color: var(--ink2); text-align: center; }
#ck-bar button, #ck-bar a { padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line2); background: #fff; font-weight: 800; color: var(--ink); cursor: pointer; }
#ck-bar button { background: var(--ink); border-color: var(--ink); color: #fff; }
body.ck-on #lc-bar.cpx { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }

/* ---------- podnožje ---------- */
.mg-foot { margin-top: 30px; background: #2a1a23; color: #d9c9d0; padding: 40px 0 26px; font-size: 14px; }
.mg-foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.mg-foot .mg-brand { color: #fff; font-size: 20px; }
.mg-foot .mg-brand b { color: #ff8fb0; }
.mg-foot p { margin-top: 10px; color: #b9a6ae; line-height: 1.6; }
.mg-foot h4 { margin-bottom: 10px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.mg-foot ul { list-style: none; }
.mg-foot li { margin: 6px 0; }
.mg-foot a:hover { color: #ff8fb0; }
.mg-foot-tags { margin-top: 28px; padding-top: 20px; border-top: 1px solid #3d2a34; }
.mg-foot-tags div { display: flex; flex-wrap: wrap; gap: 6px; }
.mg-foot-tags a { padding: 5px 11px; border-radius: 999px; background: #362530; font-size: 13px; }
.mg-foot-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 26px; padding-top: 18px; border-top: 1px solid #3d2a34; font-size: 12.5px; color: #a8939b; }
.mg-foot-bot span.age { display: inline-flex; align-items: center; gap: 8px; }
.mg-foot-bot span.age b { padding: 2px 7px; border-radius: 6px; border: 1px solid #a8939b; font-size: 11px; }
.ftr-lang { margin-top: 14px; }
@media (max-width: 900px) { .mg-foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .mg-foot-grid { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- forme i ostale stranice (paskelbti, prisijungti, mano-paskyra, taisyklės…) ---------- */
.form-sec { padding: 28px 0 40px; }
.form-wrap { max-width: 660px; margin: 0 auto; padding: 28px; background: #fff; border-radius: 22px; box-shadow: var(--sh); }
.form-wrap h1 { font-size: 24px; font-weight: 800; margin-bottom: 18px; }
.form-wrap h2 { font-size: 18px; font-weight: 800; margin: 20px 0 8px; }
.form-wrap p { margin-bottom: 10px; color: var(--ink2); }
.form-wrap a { color: var(--rose); font-weight: 700; }
.fg { margin-bottom: 16px; }
.fg label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 800; color: var(--ink2); }
.fg input, .fg select, .fg textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line2); border-radius: 12px; background: #fffaf8; font-size: 15px; }
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(216, 64, 108, .12); }
.fg input[type=checkbox], .fg input[type=radio] { width: auto; }
.fg textarea { min-height: 130px; resize: vertical; }
.fg-note { margin-top: 4px; font-size: 12px; color: var(--ink3); }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .fg-row { grid-template-columns: 1fr; } .form-wrap { padding: 22px 18px; } }
.form-err { margin-bottom: 16px; padding: 11px 14px; border-radius: 12px; background: var(--rose-s); border: 1px solid #f2b2c4; color: var(--rose2); font-size: 14px; }
.form-ok { margin-bottom: 16px; padding: 11px 14px; border-radius: 12px; background: #effaf3; border: 1px solid #9fdcb5; color: #157a43; font-size: 14px; }
.success { margin-bottom: 16px; padding: 11px 14px; border-radius: 12px; background: #effaf3; color: #157a43; }
.error { margin-bottom: 16px; padding: 11px 14px; border-radius: 12px; background: var(--rose-s); color: var(--rose2); }
.img-prev { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.img-prev img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.submit-btn { width: 100%; padding: 13px; border: 0; border-radius: 14px; background: var(--grad); color: #fff; font-size: 16px; font-weight: 800; cursor: pointer; }
.submit-btn:hover { filter: brightness(1.05); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.post-lead { margin: 4px 0 18px; color: var(--ink2); }
.post-del { margin-top: 20px; padding: 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line2); font-size: 13.5px; }
.post-del input { width: 100%; margin-top: 8px; padding: 9px; border: 1px solid var(--line2); border-radius: 10px; }
.terms, .note { color: var(--ink2); line-height: 1.7; }
.terms h2, .terms h3 { color: var(--ink); margin: 18px 0 6px; }
.terms ul, .terms ol { margin: 0 0 12px 20px; }
.toc { margin: 0 0 16px; padding: 14px 18px; border-radius: 14px; background: var(--bg); }
.posts-title { margin: 6px 0 12px; font-size: 18px; font-weight: 800; }
.posts-sec { padding: 10px 0 26px; }
.posts-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .posts-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 980px) { .posts-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.posts-list > .post-row { grid-column: 1 / -1; display: flex; gap: 12px; background: #fff; border-radius: var(--r); padding: 10px; box-shadow: var(--sh); }
.posts-list > .post-row .post-thumb { position: relative; flex: 0 0 110px; height: 90px; border-radius: 12px; overflow: hidden; }
.posts-list > .post-row .post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.browse-hdr { padding: 22px 0 8px; }
.browse-hdr h1 { font-size: 26px; font-weight: 800; }

.mg-404 { padding: 50px 16px; text-align: center; }
.mg-404 h1 { font-size: 28px; font-weight: 800; }
.mg-404 p { margin-top: 10px; color: var(--ink2); }
.mg-404 a { color: var(--rose); font-weight: 800; }
@media (max-width: 719px) { .mg-ava { aspect-ratio: 2 / 1; } .mg-ava b { font-size: 64px; } }
