/* ==========================================================================
   SeeAmateurs / platforma - zakladni styl (tmavy, "editorial" vzhled)
   Barvy webu lze prebit pres Site::theme (--accent) v base.html.twig.
   ========================================================================== */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-wght-normal-Gz7AlRl.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal-1Br77OV.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-300-normal-C542pPu.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-300-normal-8EJV56L.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+A720-A7FF; }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal-bxSoFoA.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-500-normal-mFkZyty.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+A720-A7FF; }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-400-italic-d4WsxB6.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-400-italic-UnLaME6.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+A720-A7FF; }

:root {
  --bg: #0c0a0d;
  --bg-2: #141015;
  --surface: #1a151c;
  --surface-2: #231c25;
  --line: #2e2530;
  --text: #f5edf2;
  --muted: #a5959f;
  --faint: #6f6169;
  --accent: #e8a6c4;
  --accent-ink: #1a0f15;
  --danger: #ff7a8a;
  --ok: #8fd6b0;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 20px 60px rgba(0, 0, 0, .45);
  --serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --feed: 640px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font: 15px/1.6 var(--sans); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
p a, .prose a { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.4rem; font-weight: 500; }
.eyebrow { font: 600 .72rem/1 var(--sans); text-transform: uppercase; letter-spacing: .28em; color: var(--accent); }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: .85rem; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-feed { width: min(100% - 2rem, var(--feed)); margin-inline: auto; }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.4rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font: 600 .9rem/1 var(--sans); letter-spacing: .02em;
  cursor: pointer; transition: transform .15s, background .15s, border-color .15s, color .15s; white-space: nowrap;
}
.btn:hover { border-color: var(--accent); color: var(--text); transform: translateY(-1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { color: var(--accent-ink); filter: brightness(1.06); }
.btn-ghost { background: transparent; }
.btn-sm { padding: .5rem .9rem; font-size: .8rem; }
.btn-block { width: 100%; }
.btn-danger { border-color: rgba(255, 122, 138, .4); color: var(--danger); background: transparent; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.icon { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(12, 10, 13, .72); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.brand { font: 500 1.6rem/1 var(--serif); letter-spacing: .08em; text-transform: uppercase; }
.brand:hover { color: var(--text); }
.nav { display: flex; gap: 1.1rem; margin-inline-end: auto; }
.nav a { white-space: nowrap; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.nav a:hover, .nav a.active { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.lang { position: relative; font-size: .75rem; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .35rem; padding: .35rem .55rem; border-radius: 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: var(--text); background: var(--surface); }
.lang-menu { position: absolute; top: calc(100% + .4rem); inset-inline-end: 0; z-index: 50; min-width: 11rem; max-height: 70vh; overflow-y: auto; padding: .35rem; display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.lang-menu a { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem .7rem; border-radius: 8px; font-size: .85rem; color: var(--muted); }
.lang-menu a:hover { color: var(--text); background: var(--surface-2); }
.lang-menu a.active { color: var(--text); }
.lang-menu a small { color: var(--faint); text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; }
.user-chip { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); }
.menu-toggle { display: none; background: none; border: 0; color: var(--text); padding: .4rem; cursor: pointer; }
/* prihlaseny uzivatel ma v navigaci az 7 polozek: jmeno v hlavicce se schova driv a hamburger nastupuje od 960 px */
@media (max-width: 1240px) { .user-chip { display: none; } }
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .site-header .wrap { gap: .75rem; }
  .nav { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 1rem 1.25rem; border-top: 1px solid var(--line); }
  .header-actions .hide-sm { display: none; }
}
/* uzky telefon: znacka a akce v hlavicce se musi vejit na jeden radek bez vodorovneho posunu */
@media (max-width: 480px) {
  .site-header .wrap { gap: .5rem; }
  .site-header .wrap { width: min(100% - 2rem, var(--wrap)); }
  .brand { font-size: .95rem; letter-spacing: .03em; }
  .header-actions { gap: .2rem; }
  .header-actions .btn-sm { padding-inline: .6rem; }
  .lang summary { padding-inline: .35rem; }
  .lang summary .icon { display: none; }
}

/* ---------- flash ---------- */
.flashes { position: fixed; top: 76px; left: 50%; transform: translateX(-50%); z-index: 60; display: grid; gap: .5rem; width: min(92vw, 520px); }
.flash { padding: .85rem 1.1rem; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .9rem; animation: flash-in .3s ease, flash-out .4s ease 6s forwards; }
.flash-success { border-color: rgba(143, 214, 176, .4); }
.flash-error { border-color: rgba(255, 122, 138, .5); }
@keyframes flash-in { from { opacity: 0; transform: translateY(-8px); } }
@keyframes flash-out { to { opacity: 0; visibility: hidden; } }

/* ---------- hero (landing) ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(2rem, 6vw, 5rem); }
.hero-bg { position: absolute; inset: -40px; z-index: -2; background: center / cover no-repeat; opacity: .35; transform: scale(1.1); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,10,13,.35), var(--bg) 96%), linear-gradient(90deg, var(--bg) 0%, rgba(12,10,13,.4) 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; min-height: min(78svh, 820px); }
.hero-content { max-width: 600px; }
.hero h1 { overflow-wrap: break-word; font-size: clamp(2.8rem, 6vw, 5.6rem); font-weight: 300; letter-spacing: .04em; margin: .6rem 0 .2rem; }
.hero .tagline { font: italic 400 clamp(1.3rem, 2.4vw, 1.8rem)/1.3 var(--serif); color: var(--muted); margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-stats { display: flex; gap: 2rem; margin-top: 2.5rem; color: var(--muted); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-stats strong { display: block; font: 300 1.9rem/1 var(--serif); color: var(--text); letter-spacing: 0; margin-bottom: .3rem; }
.hero-collage { position: relative; justify-self: end; width: min(100%, 460px); padding-bottom: 2.5rem; }
.hero-main { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-second { position: absolute; inset-inline-start: -22%; bottom: 0; width: 44%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); border: 5px solid var(--bg); box-shadow: var(--shadow); animation: rise .9s .2s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-collage { order: -1; justify-self: center; width: min(100%, 380px); }
  .hero-second { inset-inline-start: auto; inset-inline-end: -2%; width: 36%; }
  .hero-content { text-align: center; margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
}

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.section-head h2 { margin: .4rem 0 0; }

.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about .prose { font-size: 1.05rem; color: #dccfd6; white-space: pre-line; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } }

.teaser { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.teaser-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.teaser-grid img { aspect-ratio: 3/4; width: 100%; object-fit: cover; }
.teaser-body { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 2rem; background: radial-gradient(ellipse at center, rgba(12,10,13,.55), rgba(12,10,13,.85)); }
.teaser-body h2 { margin-bottom: .3rem; }
@media (max-width: 640px) { .teaser-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- galerie ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px; }
.grid-item { position: relative; display: block; overflow: hidden; background: var(--surface); aspect-ratio: 4/5; border-radius: 4px; }
.grid-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.grid-item:hover img { transform: scale(1.04); }
.grid-item .badge-lock { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.12); }
.grid-item .badge-lock span { display: flex; align-items: center; gap: .4rem; padding: .45rem .8rem; border-radius: 999px; background: rgba(12,10,13,.6); backdrop-filter: blur(6px); font-size: .75rem; font-weight: 600; letter-spacing: .06em; }
.grid-item .badge-video { position: absolute; top: .6rem; inset-inline-end: .6rem; }
@media (max-width: 520px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 3px; } .grid-item { border-radius: 0; } .grid-item .badge-lock span { padding: .35rem; } .grid-item .badge-lock em { display: none; } }

/* ---------- profil modelky (Fanvue styl) ---------- */
.profile-cover { height: clamp(180px, 32vw, 340px); background: var(--surface) center 30% / cover no-repeat; position: relative; }
.profile-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,10,13,0) 40%, var(--bg) 100%); }
.profile-head { position: relative; margin-top: -72px; display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: end; }
.avatar { width: 136px; height: 136px; border-radius: 50%; border: 4px solid var(--bg); background: var(--surface-2); object-fit: cover; }
.avatar-sm { width: 42px; height: 42px; border-width: 0; }
.avatar-placeholder { display: grid; place-items: center; font: 300 2.6rem/1 var(--serif); color: var(--accent); }
.avatar-sm.avatar-placeholder { font-size: 1.2rem; }
.profile-name h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.profile-name .handle { color: var(--muted); font-size: .9rem; }
.ai-badge { display: inline-flex; align-items: center; gap: .3rem; font: 700 .62rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: .38rem .55rem; border-radius: 999px; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); vertical-align: middle; }
.profile-stats { display: flex; gap: 1.5rem; margin: 1.25rem 0; color: var(--muted); font-size: .85rem; }
.profile-stats strong { color: var(--text); }
.profile-bio { max-width: 680px; color: #d9ccd3; white-space: pre-line; }
.subscribe-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-radius: var(--radius); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, var(--surface)), var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); margin: 1.5rem 0; }
.subscribe-card .price { font: 500 1.5rem/1 var(--serif); }
@media (max-width: 700px) {
  .profile-head { grid-template-columns: 1fr; margin-top: -60px; gap: .75rem; }
  .avatar { width: 108px; height: 108px; }
}
.tabs { display: flex; gap: 2rem; border-bottom: 1px solid var(--line); margin: 1.5rem 0 1.5rem; }
.tabs a { padding: .9rem 0; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.active { color: var(--text); border-color: var(--accent); }

/* ---------- prispevky (timeline) ---------- */
.post { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.5rem; }
.post-head { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.1rem; }
.post-head .who { line-height: 1.25; }
.post-head .who strong { display: flex; align-items: center; gap: .4rem; }
.post-head .who small { color: var(--faint); font-size: .78rem; }
.post-head .meta { margin-inline-start: auto; display: flex; align-items: center; gap: .5rem; color: var(--faint); font-size: .75rem; }
.pill { display: inline-flex; align-items: center; gap: .3rem; padding: .28rem .6rem; border-radius: 999px; font-size: .7rem; font-weight: 600; letter-spacing: .05em; background: var(--surface-2); color: var(--muted); }
.pill-accent { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.post-caption { padding: 0 1.1rem 1rem; white-space: pre-line; overflow-wrap: anywhere; }
.post-media { position: relative; background: #000; }
.carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { flex: 0 0 100%; scroll-snap-align: center; position: relative; }
.post-media img { width: 100%; max-height: 82vh; object-fit: cover; margin-inline: auto; }
.carousel-count { position: absolute; top: .8rem; inset-inline-end: .8rem; z-index: 2; padding: .3rem .6rem; border-radius: 999px; background: rgba(12,10,13,.6); font-size: .72rem; font-weight: 600; pointer-events: none; }
.lock { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1.5rem; background: radial-gradient(ellipse at center, rgba(12,10,13,.25), rgba(12,10,13,.65)); }
.lock-inner { display: grid; gap: .8rem; justify-items: center; max-width: 320px; }
.lock-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.2); }
.lock p { margin: 0; font-size: .92rem; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.post-foot { display: flex; align-items: center; gap: 1.2rem; padding: .8rem 1.1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.like-btn { display: inline-flex; align-items: center; gap: .4rem; background: none; border: 0; color: inherit; cursor: pointer; font: inherit; padding: 0; }
.like-btn:hover, .like-btn.liked { color: var(--accent); }
.like-btn.liked svg { fill: currentColor; }
.post-foot .spacer { margin-inline-start: auto; }
.empty { padding: 4rem 1rem; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius-lg); }
.load-more { display: flex; justify-content: center; padding: 1.5rem 0 3rem; }

/* ---------- creator cards (network) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.card-img { aspect-ratio: 4/5; background: var(--surface-2) center / cover; }
.card-body { padding: 1rem 1.2rem 1.3rem; }

/* ---------- formulare ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 4vw, 2.2rem); }
.auth { width: min(100% - 2rem, 440px); margin: clamp(2rem, 8vh, 5rem) auto; }
.auth h1 { font-size: 2.6rem; }
.form-row { margin-bottom: 1.1rem; }
.form-row > label, legend { display: block; margin-bottom: .4rem; font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], input[type=datetime-local], select, textarea {
  width: 100%; padding: .75rem .9rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: inherit;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
textarea { resize: vertical; min-height: 90px; }
input[type=file] { width: 100%; padding: .9rem; border: 1px dashed var(--line); border-radius: 10px; background: var(--bg-2); color: var(--muted); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; }
.check input { margin-top: .25rem; accent-color: var(--accent); }
.choice-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice-row label { display: flex; align-items: center; gap: .45rem; padding: .6rem .9rem; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: .88rem; }
.choice-row input { accent-color: var(--accent); }
.choice-row label:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.help { font-size: .78rem; color: var(--faint); margin-top: .35rem; }
.form-errors { color: var(--danger); font-size: .82rem; margin: .35rem 0 0; padding: 0; list-style: none; }
.alert { padding: .8rem 1rem; border-radius: 10px; margin-bottom: 1rem; font-size: .9rem; background: rgba(255,122,138,.1); border: 1px solid rgba(255,122,138,.35); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 1.25rem; }

/* ---------- studio ---------- */
.studio-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 2rem 1rem; }
.studio-head h1 { font-size: 2.4rem; margin: 0; }
.studio-nav { display: flex; gap: .5rem; flex-wrap: wrap; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table th { text-align: start; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-weight: 600; padding: .6rem .7rem; border-bottom: 1px solid var(--line); }
.table td { padding: .7rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table img { width: 56px; height: 70px; object-fit: cover; border-radius: 6px; }
.media-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; }
.media-tile { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.media-tile .thumb { position: relative; aspect-ratio: 4/5; }
.media-tile .thumb img { width: 100%; height: 100%; object-fit: cover; }
.media-tile .thumb .pill { position: absolute; top: .5rem; inset-inline-start: .5rem; }
.media-tile .tools { display: flex; flex-wrap: wrap; gap: .3rem; padding: .5rem; }
.media-tile .tools form { display: contents; }
.media-tile .tools .btn { padding: .4rem .55rem; font-size: .72rem; }
.studio-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .studio-layout { grid-template-columns: 1fr; } }
.locale-block { border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.2rem; margin-bottom: .75rem; }
.locale-block[open] { padding-bottom: .2rem; }
.locale-block summary { cursor: pointer; list-style: none; padding: 1rem 0; }
.locale-block summary::-webkit-details-marker { display: none; }
.locale-block summary::after { content: "+"; float: inline-end; color: var(--faint); }
.locale-block[open] summary::after { content: "–"; }
.locale-block h3 { display: inline; font: 700 .75rem/1 var(--sans); letter-spacing: .2em; color: var(--accent); margin: 0; }
.locale-block h3 small { color: var(--faint); font-weight: 600; margin-inline-start: .4rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 2.5rem; margin-top: 3rem; color: var(--muted); font-size: .82rem; }
.site-footer .wrap { display: grid; gap: 1.25rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; color: var(--text); font-size: calc(.82rem + 2px); font-weight: 500; }
.footer-bottom nav { display: flex; gap: 1.2rem; }
.footer-bottom nav a { color: var(--accent); }
.footer-bottom nav a:hover { color: var(--text); }
.footer-note { margin: 0; color: var(--faint); font-size: .75rem; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; background: rgba(8,6,9,.96); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; height: 100svh; display: grid; place-items: center; padding: 3.5rem 0 2.5rem; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 4px; }
.lightbox button { background: none; border: 0; color: #fff; cursor: pointer; height: 100%; opacity: .7; }
.lightbox button:hover { opacity: 1; }
.lightbox .lb-close { position: absolute; top: .8rem; inset-inline-end: .8rem; height: auto; padding: .5rem; }
.lightbox .lb-count { position: absolute; top: 1.2rem; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: .8rem; }
@media (max-width: 640px) { .lightbox { grid-template-columns: 40px 1fr 40px; } }

/* ---------- error page ---------- */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 3rem 1rem; }
.error-page .code { font: 300 clamp(5rem, 18vw, 10rem)/1 var(--serif); color: var(--accent); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Web se pripravuje (home/coming_soon.html.twig) */
.is-soon .nav, .is-soon .header-actions > .btn, .is-soon .user-chip, .is-soon .menu-toggle { display: none; }
.is-soon .header-actions > .btn[href*="logout"] { display: inline-flex; }
.soon-admin { margin-top: 1rem; padding: .7rem 1rem; border: 1px dashed var(--accent); border-radius: var(--radius); font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .4rem 1rem; justify-content: space-between; }
.hero h1.soon-title { font-size: clamp(2.8rem, 5.4vw, 4.6rem); line-height: 1.02; text-wrap: balance; }
/* poradi i na pocitaci: nadpis -> hlavni veta -> formular -> delsi text -> Instagram */
.soon-content { display: flex; flex-direction: column; }
.soon-content > .soon-form, .soon-content > .soon-done { order: 2; }
.soon-content > .soon-tagline { order: 3; margin: 1.6rem 0 0; font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.soon-content > .soon-follow { order: 4; }
/* formular je hlavni vec stranky: zvyrazneny ramecek, jasny popisek, velke pole */
.soon-form { max-width: 560px; padding: 1.3rem 1.3rem 1.1rem; border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 8%, transparent), 0 24px 60px rgba(0, 0, 0, .45); }
.soon-label { display: flex; align-items: center; gap: .55rem; margin-bottom: .8rem; font: 600 1.02rem/1.35 var(--sans); color: var(--text); text-align: start; }
.soon-label .icon { width: 1.25rem; height: 1.25rem; color: var(--accent); }
/* pole a tlacitko vedle sebe; kdyz se dlouhe tlacitko (napr. nemcina) nevejde, spadne pod pole */
.soon-fields { display: flex; flex-wrap: wrap; gap: .6rem; }
.soon-input { position: relative; flex: 1 1 15rem; min-width: 0; }
.soon-input .icon { position: absolute; inset-inline-start: 1rem; top: 50%; transform: translateY(-50%); width: 1.2rem; height: 1.2rem; color: var(--muted); pointer-events: none; }
.soon-input input[type=email] { height: 3.4rem; padding-inline: 2.9rem 1rem; font-size: 1.05rem; border-radius: 999px;
  background: #fff; color: #1a0f15; border: 2px solid transparent; }
.soon-input input[type=email]::placeholder { color: #8a7a83; }
.soon-input input[type=email]:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent); }
.soon-input:focus-within .icon { color: var(--accent-ink); }
.soon-fields .btn { flex: 1 0 auto; justify-content: center; height: 3.4rem; padding-inline: 1.4rem; font-size: 1rem; border-radius: 999px; }
.soon-consent { margin: .8rem 0 0; }
.soon-done { max-width: 520px; border-color: color-mix(in srgb, var(--ok) 45%, transparent); }
.soon-done strong { font: 400 1.6rem/1.2 var(--serif); }
.soon-done p { margin: .4rem 0 0; }
.soon-follow { margin-top: 2rem; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 820px) { .soon-form, .soon-done { margin-inline: auto; } }
@media (max-width: 520px) { .soon-fields .btn { width: 100%; } .soon-form { padding: 1rem; } }

/* ---------- jazyky s jinym pismem: latinku dal kresli Cormorant/Inter, ostatni znaky systemove fonty ---------- */
:lang(ja) {
  --serif: "Cormorant", "Cormorant Garamond", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --sans: "Inter", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans JP", system-ui, sans-serif;
}
:lang(ko) {
  --serif: "Cormorant", "Cormorant Garamond", "Noto Serif KR", "AppleMyungjo", "Batang", serif;
  --sans: "Inter", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
}
:lang(ar), :lang(fa), :lang(ur) {
  --serif: "Cormorant", "Cormorant Garamond", "Noto Naskh Arabic", "Amiri", "Geeza Pro", "Times New Roman", serif;
  --sans: "Inter", "Noto Sans Arabic", "Segoe UI", "Geeza Pro", Tahoma, system-ui, sans-serif;
}
:lang(he) {
  --serif: "Cormorant", "Cormorant Garamond", "Noto Serif Hebrew", "David", "Times New Roman", serif;
  --sans: "Inter", "Noto Sans Hebrew", "Segoe UI", Arial, system-ui, sans-serif;
}
/* japonstina nema mezery - radky se zalamuji mezi znaky; korejstina ma mezery, slova se nedeli */
:lang(ja) body { line-break: strict; overflow-wrap: anywhere; }
/* nadpisy lamat po frazich (Chrome/Edge; jinde bezne zalamovani) */
:lang(ja) h1, :lang(ja) h2, :lang(ja) .soon-subtitle, :lang(ja) .soon-label { word-break: auto-phrase; }
:lang(ko) body { line-break: strict; word-break: keep-all; overflow-wrap: anywhere; }
:lang(ja) .hero h1, :lang(ko) .hero h1, html[dir="rtl"] .hero h1 { font-size: clamp(2.6rem, 6.5vw, 5.4rem); line-height: 1.15; }
/* rozestupy pismen trhaji arabske ligatury a v CJK pusobi rozsypane (plati pro vsechny RTL jazyky) */
[dir="rtl"] *, [dir="rtl"] *::before, [dir="rtl"] *::after { letter-spacing: 0 !important; }
:lang(ja) .eyebrow, :lang(ko) .eyebrow, :lang(ja) .nav a, :lang(ko) .nav a { letter-spacing: .08em; }
html[dir="rtl"] body { line-height: 1.75; }
/* sipky v textu odkazu (→ / ←) se v RTL otaci */
[dir="rtl"] .dir-arrow { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .lightbox > button:not(.lb-close) .icon { transform: scaleX(-1); }
.soon-consent-check { margin-top: .9rem; }
.soon-consent-check .form-row { margin-bottom: 0; }
.soon-consent-check .check { font-size: .85rem; color: var(--muted); line-height: 1.45; align-items: flex-start; }
.soon-consent-check .check input { margin-top: .2rem; }
.soon-consent { margin-top: .4rem; }

/* ---------- srdicka ---------- */
:root { --heart-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.5-9.2C1.2 8.7 3.2 5 6.8 5c2 0 3.5 1.1 5.2 3 1.7-1.9 3.2-3 5.2-3 3.6 0 5.6 3.7 4.3 6.8C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E"); }
/* poletujici srdicka v hero sekci */
.hearts { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero .hero-grid { position: relative; z-index: 1; }
.hearts span { position: absolute; left: var(--x); bottom: -40px; width: var(--s); height: var(--s); background: var(--accent);
  -webkit-mask: var(--heart-mask) center / contain no-repeat; mask: var(--heart-mask) center / contain no-repeat;
  opacity: .22; animation: heart-float var(--t) linear var(--d) infinite; }
.hearts span:nth-child(3n) { opacity: .14; }
.hearts span:nth-child(4n) { background: #fff; opacity: .08; }
@keyframes heart-float {
  0% { transform: translate(0, 0) rotate(-8deg) scale(.85); opacity: 0; }
  12% { opacity: .22; }
  50% { transform: translate(18px, -45vh) rotate(6deg) scale(1); }
  88% { opacity: .18; }
  100% { transform: translate(-10px, -90vh) rotate(-6deg) scale(1.1); opacity: 0; }
}
/* bez animaci: srdicka zustanou rozeseta v klidu */
@media (prefers-reduced-motion: reduce) {
  .hearts span { animation: none; bottom: auto; top: calc(10% + var(--s) * 3); }
}
/* plna srdicka (ikony jsou jinak obrysove) */
.brand-heart, .footer-heart, .soon-done-heart .icon { fill: var(--accent); stroke: none; }
.brand { display: inline-flex; align-items: center; gap: .35rem; }
.brand-heart { width: .55em; height: .55em; margin-top: -.1em; }
.brand:hover .brand-heart { animation: heart-beat .9s ease-in-out; }
@keyframes heart-beat { 0%, 100% { transform: scale(1); } 20% { transform: scale(1.3); } 40% { transform: scale(.95); } 60% { transform: scale(1.18); } }
.footer-note { display: flex; align-items: center; gap: .45rem; }
.footer-heart { width: .9em; height: .9em; opacity: .7; }
.eyebrow-heart { display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow-heart::before, .eyebrow-heart::after { content: ""; width: .7em; height: .7em; background: currentColor;
  -webkit-mask: var(--heart-mask) center / contain no-repeat; mask: var(--heart-mask) center / contain no-repeat; }
.soon-done { position: relative; }
.soon-done-heart { display: block; margin-bottom: .5rem; }
.soon-done-heart .icon { width: 1.8rem; height: 1.8rem; animation: heart-beat 1.6s ease-in-out 2; }
.soon-fields .btn .icon { fill: currentColor; stroke: none; }
.soon-fields .btn:hover .icon { animation: heart-beat .9s ease-in-out; }
@media (prefers-reduced-motion: reduce) { .brand:hover .brand-heart, .soon-done-heart .icon, .soon-fields .btn:hover .icon { animation: none; } }

/* hlavni sdeleni pod nadpisem - co tu bude (na mobilu je videt hned, delsi text az pod formularem) */
.soon-subtitle { margin: .4rem 0 1.1rem; font: 500 1.15rem/1.45 var(--sans); color: var(--text); }

/* ---------- soon mobil: formular viditelny hned po nacteni (bez scrollovani) ---------- */
.soon-avatar { display: none; }
@media (max-width: 820px) {
  .hero-soon { padding-block: 1.1rem 2.5rem; }
  .hero-soon .hero-grid { gap: 0; }
  .hero-soon .hero-collage { display: none; }
  .soon-content { display: flex; flex-direction: column; gap: 1rem; text-align: start; }
  .soon-head { display: flex; align-items: center; gap: .9rem; }
  .soon-avatar { display: block; flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
    border: 2px solid var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
  .soon-head .eyebrow { font-size: .66rem; }
  .soon-subtitle { margin: 0; font-size: 1rem; }
  .hero h1.soon-title { font-size: clamp(2rem, 8.5vw, 2.7rem); line-height: 1.05; margin: .35rem 0 0; }
  /* poradi: hlavicka -> formular -> text -> Instagram */
  .soon-content > .soon-form, .soon-content > .soon-done { order: 2; margin: 0; max-width: none; }
  .soon-content > .soon-tagline { order: 3; margin: 0; font-size: 1.05rem; }
  .soon-content > .soon-follow { order: 4; margin: 0; }
  .soon-label { font-size: .95rem; margin-bottom: .6rem; }
  .soon-input input[type=email], .soon-fields .btn { height: 3.1rem; }
  .soon-consent-check { margin-top: .7rem; }
  .soon-consent-check .check { font-size: .8rem; }
  .soon-admin { margin-top: .5rem; font-size: .78rem; }
}

/* vyzva k potvrzeni e-mailu po odeslani formulare */
.soon-done { display: grid; gap: .55rem; border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 10%, transparent), 0 24px 60px rgba(0, 0, 0, .45); }
.soon-done p { margin: 0; }
.soon-done strong { font: 600 1.35rem/1.25 var(--sans); }
.soon-done-icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.soon-done-icon .icon { width: 1.5rem; height: 1.5rem; stroke-width: 2; }
@media (prefers-reduced-motion: no-preference) { .soon-done-icon { animation: heart-beat 1.6s ease-in-out 2; } }

/* hero s formularem na ostrem webu (registrace jeste zavrena) */
.hero-soon .soon-follow { margin-top: 1.6rem; }
.hero-soon .soon-head .eyebrow { text-transform: none; letter-spacing: .08em; font-size: .85rem; }
@media (max-width: 820px) { .hero-soon .soon-follow { justify-content: flex-start; } .hero-soon .soon-head .eyebrow { font-size: .72rem; } }
/* samostatna stranka waitlistu (registrace zavrena / chyba formulare) a platba na strance predplatneho */
.auth-wide { width: min(100% - 2rem, 600px); }
.join-head { display: grid; justify-items: center; gap: .5rem; margin-bottom: 1.5rem; }
.join-head h1 { font-size: clamp(2.2rem, 6vw, 3rem); margin: 0; }
.join-head p { margin: 0; max-width: 46ch; }
.join-avatar { width: 84px; height: 84px; border: 2px solid var(--accent); }
.checkout-waitlist { margin-top: 1.25rem; text-align: start; }
.checkout-waitlist .soon-form { max-width: none; }
.soon-form, .soon-done { scroll-margin-top: 84px; }

/* ---------- upozorneni 18+ ---------- */
html.age-gate-open { overflow: hidden; }
.age-gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1.25rem;
  background: rgba(8, 6, 9, .78); backdrop-filter: blur(18px) saturate(1.2); }
.age-gate-box { width: min(100%, 460px); text-align: center; display: grid; gap: .8rem; padding: clamp(1.4rem, 5vw, 2.2rem);
  background: var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.age-gate-box h2 { font: 400 clamp(1.7rem, 5vw, 2.1rem)/1.15 var(--serif); margin: 0; }
.age-gate-box p { margin: 0; }
.age-gate-badge { justify-self: center; display: inline-grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent); font: 700 1.05rem/1 var(--sans); }
.age-gate-actions { display: grid; gap: .6rem; margin-top: .4rem; }
.age-gate-actions .btn { justify-content: center; }
.age-gate-links a { color: var(--muted); }

/* ---------- pravni stranky ---------- */
.legal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); padding-block: clamp(1.5rem, 5vw, 3.5rem); align-items: start; }
.legal-nav { position: sticky; top: 88px; display: grid; gap: .2rem; }
.legal-nav a { padding: .55rem .8rem; border-radius: 10px; color: var(--muted); font-size: .9rem; }
.legal-nav a:hover { color: var(--text); background: var(--surface); }
.legal-nav a.active { color: var(--text); background: var(--surface); box-shadow: inset 3px 0 0 var(--accent); }
.legal-doc { max-width: 72ch; }
.legal-doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin: .5rem 0 .4rem; }
.legal-meta, .legal-note { color: var(--faint); font-size: .85rem; margin: 0 0 1.5rem; }
.legal-note { color: var(--muted); padding: .7rem 1rem; border: 1px dashed var(--line); border-radius: var(--radius); }
.legal-doc .lead { font-size: 1.08rem; color: var(--text); }
.legal-doc h2 { font: 600 1.15rem/1.3 var(--sans); margin: 2.2rem 0 .7rem; display: flex; align-items: center; gap: .5rem; }
.legal-doc h3 { font: 600 1rem/1.3 var(--sans); margin: 1.4rem 0 .5rem; }
.legal-doc p, .legal-doc li { color: var(--muted); line-height: 1.7; }
.legal-doc ul { padding-inline-start: 1.2rem; }
.legal-doc a { color: var(--accent); }
.legal-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .9rem; display: block; overflow-x: auto; }
.legal-table th, .legal-table td { text-align: start; padding: .55rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { color: var(--faint); font-weight: 600; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.2rem 1.3rem; }
.contact-card h2 { margin-top: 0; }
.contact-card .icon { color: var(--accent); }
.contact-email { font-size: 1.05rem; font-weight: 600; }
.complaint-points li { margin-bottom: .3rem; }
.complaint-sent { border-color: color-mix(in srgb, var(--ok) 50%, transparent); }
.complaint-sent p { margin: .4rem 0 0; }
@media (max-width: 820px) {
  .legal { grid-template-columns: minmax(0, 1fr); }
  .legal-nav { position: static; display: flex; flex-wrap: wrap; gap: .35rem; }
  .legal-nav a { padding: .4rem .7rem; border: 1px solid var(--line); font-size: .8rem; }
  .legal-nav a.active { box-shadow: none; border-color: var(--accent); }
}

/* paticka: pravni odkazy a provozovatel */
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .85rem; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--text); }
.footer-support { margin: 0; color: var(--faint); font-size: .75rem; line-height: 1.6; }
.footer-support a { color: var(--faint); text-decoration: underline; }
.age-badge { display: inline-block; padding: 0 .4rem; border: 1px solid var(--faint); border-radius: 4px; font-weight: 700; font-size: .7rem; }

.billing-terms { margin: 1rem 0 0; font-size: .8rem; line-height: 1.55; color: var(--faint); text-align: start; }
.billing-terms a { color: var(--muted); text-decoration: underline; }

/* zamceny prispevek za paywallem: zadny nahled obsahu, jen neutralni plocha se zamkem */
.post-locked-placeholder { width: 100%; max-height: 640px; background: radial-gradient(ellipse at 30% 20%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%), linear-gradient(160deg, var(--surface-2), var(--bg)); }

.manager-note { margin: 1rem 0; padding: .6rem .9rem; border: 1px dashed var(--accent); border-radius: var(--radius); color: var(--muted); font-size: .82rem; }

/* spropitne */
.profile-tip { margin: -.75rem 0 1.25rem; }
.tip-presets { display: grid; grid-template-columns: repeat(auto-fit, minmax(5.5rem, 1fr)); gap: .6rem; margin: 1.2rem 0; }
.tip-preset { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .7rem .5rem; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: var(--surface); }
.tip-preset:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--surface)); }
.tip-preset input { accent-color: var(--accent); }

.logout-form { display: inline; margin: 0; }

/* --- Komentare, zalozky, objevovani a statistiky (modul posts) --- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
input[type=search] { width: 100%; padding: .75rem .9rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: inherit; }
input[type=search]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }

.bookmark-btn.active svg, .fav-btn.active svg, .follow-btn.active svg { fill: currentColor; }
.bookmark-btn:hover, .bookmark-btn.active, .fav-btn.active, .follow-btn.active { color: var(--accent); }

.comments { margin-top: 2rem; }
.comments h2 { display: flex; align-items: center; gap: .5rem; font-size: 1.6rem; }
.comment-form { display: grid; gap: .6rem; margin: 1rem 0 1.5rem; }
.comment-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.comment-list, .comment-replies { list-style: none; margin: 0; padding: 0; }
.comment { padding: .9rem 0; border-top: 1px solid var(--line); }
.comment-replies { margin-top: .7rem; margin-inline-start: 1.1rem; padding-inline-start: 1rem; border-inline-start: 2px solid var(--line); }
.comment-replies .comment { border-top: 0; padding-block: .5rem; }
.comment-head { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.comment-body { margin-top: .3rem; white-space: pre-line; overflow-wrap: anywhere; }
.comment-hidden .comment-body { opacity: .55; }
.comment-creator > .comment-head strong { color: var(--accent); }
.comment-actions { display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap; margin-top: .5rem; color: var(--muted); }
.comment-actions summary { cursor: pointer; }
.comment-actions details { min-width: 0; }
.comment-actions details[open] { flex-basis: 100%; }
.inline-form { display: inline; margin: 0; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; }
.link-btn:hover { color: var(--text); }
.link-danger:hover { color: var(--danger); }

.explore-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .6rem; margin-bottom: 1.5rem; }
.explore-bar select { width: auto; }
@media (max-width: 640px) { .explore-bar { grid-template-columns: 1fr; } .explore-bar select { width: 100%; } }
.explore-who { display: flex; align-items: center; gap: .75rem; }
.explore-who h3 { margin: 0; }
.explore-tagline { margin: .6rem 0 0; }
.explore-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .8rem; color: var(--muted); }
.explore-meta .icon { width: 1em; height: 1em; vertical-align: -.12em; }

.bookmark-subtitle { font-size: 1.3rem; margin: 2rem 0 1rem; }
.favorite-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; }
.favorite-list a { display: flex; align-items: center; gap: .75rem; padding: .5rem .75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }

.studio-filter { margin-top: 0; gap: 1.5rem; }
.stat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat-tile { display: grid; gap: .3rem; align-content: start; padding: 1.1rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.stat-label { font: 600 .72rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.stat-value { font: 300 2.6rem/1 var(--serif); color: var(--text); }
.stat-tile-soon { border-style: dashed; }
.stat-soon { color: var(--muted); font-weight: 500; }
.chart-panel h2 { font-size: 1.5rem; }
.chart-grid-wrap { display: grid; gap: 1.5rem; margin-top: 1rem; }
.chart { margin: 0; }
.chart figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; }
.chart-svg { display: block; width: 100%; height: auto; }
.chart-grid { stroke: var(--line); stroke-width: 1; }
.chart-grid-soft { stroke-dasharray: 3 5; opacity: .6; }
.chart-bar { fill: var(--accent); }
.chart-hit { fill: transparent; }
.chart-hit:hover + .chart-bar { opacity: .75; }
.chart-axis { display: flex; justify-content: space-between; margin-top: .25rem; }
.chart-table { margin-top: .5rem; }
.chart-table table { margin-top: .5rem; max-width: 360px; }
.explore-card .card-img { aspect-ratio: 16 / 9; }
/* video: prehravac v prispevku (poster + tlacitko prehrat, po kliknuti HLS), polozky v galerii a ve Studiu */
.video-player { position: relative; width: 100%; max-height: 82vh; background: #000; }
.video-player video { display: block; width: 100%; height: 100%; max-height: 82vh; object-fit: contain; background: #000; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; border: 0; padding: 0; background: rgba(0,0,0,.18); color: #fff; cursor: pointer; }
.video-play[hidden] { display: none; }
.video-play-icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: rgba(12,10,13,.62); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.35); transition: transform .2s; }
.video-play-icon .icon { width: 30px; height: 30px; fill: currentColor; margin-inline-start: 3px; }
.video-play:hover .video-play-icon, .video-play:focus-visible .video-play-icon { transform: scale(1.08); }
.video-duration, .badge-video { position: absolute; inset-inline-end: .7rem; bottom: .7rem; padding: .22rem .55rem; border-radius: 999px; background: rgba(12,10,13,.7); color: #fff; font-size: .72rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.grid-item .badge-video { top: .6rem; bottom: auto; display: inline-flex; align-items: center; gap: .3rem; letter-spacing: normal; }
.badge-video .icon, .pill-video .icon { width: 12px; height: 12px; fill: currentColor; }
.post-media .badge-video { z-index: 2; top: .8rem; bottom: auto; inset-inline-end: auto; inset-inline-start: .8rem; display: inline-flex; align-items: center; gap: .3rem; }
.video-failed-msg { display: none; position: absolute; inset-inline: 0; bottom: 0; margin: 0; padding: .6rem 1rem; background: rgba(12,10,13,.85); color: var(--danger); font-size: .85rem; }
.video-player.video-error .video-failed-msg { display: block; }
.video-pending, .video-placeholder { display: grid; place-content: center; justify-items: center; gap: .4rem; width: 100%; height: 100%; background: linear-gradient(160deg, var(--surface-2), var(--bg)); color: var(--muted); font-size: .8rem; }
.video-pending .icon, .video-placeholder .icon { width: 34px; height: 34px; fill: currentColor; opacity: .7; }
.pill-danger { color: var(--danger); background: color-mix(in srgb, var(--danger) 14%, transparent); }
.media-tile .tile-status { padding: .5rem .5rem 0; }
.video-failed { margin: 0; padding: .4rem .6rem 0; color: var(--danger); overflow-wrap: anywhere; }
.upload-list { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .5rem; }
.upload-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(80px, 160px) auto auto; align-items: center; gap: .6rem; padding: .45rem .6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.upload-row .upload-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .85rem; }
.upload-row progress { width: 100%; height: .5rem; accent-color: var(--accent); }
.upload-row.is-done progress { accent-color: var(--ok); }
.upload-row.is-error .upload-status { color: var(--danger); }
@media (max-width: 520px) { .upload-row { grid-template-columns: minmax(0, 1fr) auto; } .upload-row progress { grid-column: 1 / -1; order: 3; } }
.lightbox video { max-height: 100%; max-width: 100%; border-radius: 4px; background: #000; }
.lightbox video[hidden], .lightbox img[hidden] { display: none; }
