/* Sexbilder.no - Image gallery with light/dark theme */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Dark theme (default) */
:root, [data-theme="dark"] {
  --bg: #0a0a0a;
  --bg-card: #161616;
  --bg-nav: #0f0f0f;
  --bg-input: #1e1e1e;
  --text: #e0e0e0;
  --text-muted: #888;
  --accent: #ff4d6a;
  --accent-hover: #ff6b82;
  --accent-dark: #c93050;
  --border: #252525;
  --success: #4caf50;
  --shadow: rgba(0,0,0,0.4);
  --logo-glow: 0 0 20px rgba(255,77,106,0.3);
}

/* Light theme */
[data-theme="light"] {
  --bg: #f5f5f5;
  --bg-card: #fff;
  --bg-nav: #fff;
  --bg-input: #f0f0f0;
  --text: #222;
  --text-muted: #666;
  --accent: #e0294a;
  --accent-hover: #c91e3d;
  --accent-dark: #a01530;
  --border: #ddd;
  --success: #2e7d32;
  --shadow: rgba(0,0,0,0.08);
  --logo-glow: none;
  --shadow: rgba(0,0,0,0.4);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
header {
  background: linear-gradient(180deg, var(--bg-nav) 0%, #0a0a0a 100%);
  border-bottom: 2px solid var(--accent);
  padding: 16px 0;
  text-align: center;
}

header .logo {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
}

header .tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

/* Theme toggle */
.theme-toggle {
  position: absolute;
  top: 16px;
  right: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  width: 38px; height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}

.theme-toggle:hover {
  border-color: var(--accent);
  background: rgba(255,77,106,0.08);
}

header { position: relative; }

[data-theme="light"] header {
  border-bottom-color: var(--accent);
  box-shadow: 0 2px 8px var(--shadow);
}

[data-theme="light"] nav {
  box-shadow: 0 2px 8px var(--shadow);
}

[data-theme="light"] .image-card {
  box-shadow: 0 1px 4px var(--shadow);
}

[data-theme="light"] .image-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

[data-theme="light"] .gv-backdrop {
  background: rgba(0,0,0,0.92);
}

/* Light theme: ALL text overrides */
[data-theme="light"] main h1,
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] .category-section h2 a,
[data-theme="light"] .seo-text h2,
[data-theme="light"] .seo-text h3,
[data-theme="light"] .upload-section h2,
[data-theme="light"] .age-gate-box h2,
[data-theme="light"] .tag-group-letter,
[data-theme="light"] .related-categories h2,
[data-theme="light"] .static-page h1,
[data-theme="light"] .static-page h2,
[data-theme="light"] .auth-page h1 {
  color: #111;
}

[data-theme="light"] .category-section h2 a:hover {
  color: var(--accent);
}

[data-theme="light"] .intro,
[data-theme="light"] .seo-text p,
[data-theme="light"] .static-page p,
[data-theme="light"] .static-page li {
  color: #444;
}

[data-theme="light"] .category-section .count,
[data-theme="light"] .tag-count {
  color: #666;
  background: #eee;
}

[data-theme="light"] header .tagline {
  color: #888;
}

[data-theme="light"] header {
  background: #fff;
}

[data-theme="light"] .nav-dropdown-menu {
  background: #fff;
}

[data-theme="light"] .theme-toggle {
  background: #f0f0f0;
}

[data-theme="light"] .nav-upload {
  color: #fff !important;
}

/* Navigation - mega menu */
nav {
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-toggle {
  display: none;
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.nav-toggle::after {
  content: '▼';
  float: right;
  font-size: 0.7rem;
  line-height: 1.6;
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item {
  color: var(--text);
  text-decoration: none;
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
}

.nav-item:hover,
.nav-item.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-upload {
  margin-left: auto;
  background: var(--accent);
  color: #fff !important;
  border-radius: 6px;
  border-bottom: none !important;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
}

.nav-upload:hover {
  background: var(--accent-hover);
  color: #fff !important;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  background: none;
  border: none;
  color: var(--text);
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-btn .arrow {
  font-size: 0.6rem;
  transition: transform 0.2s;
}

.nav-dropdown-btn:hover,
.nav-dropdown-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-nav);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.6);
  min-width: 220px;
  padding: 8px 0;
  z-index: 9000;
}

[data-theme="light"] .nav-dropdown-menu {
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown:hover .nav-dropdown-btn .arrow {
  transform: rotate(180deg);
}

/* Bridge gap between button and dropdown so hover doesn't break */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
}

.nav-dropdown-menu a {
  display: block;
  color: var(--text);
  text-decoration: none;
  padding: 10px 20px;
  font-size: 0.9rem;
  transition: all 0.15s;
}

.nav-dropdown-menu a:hover {
  background: rgba(255, 77, 106, 0.08);
  color: var(--accent);
  padding-left: 24px;
}

.nav-dropdown-menu a.active {
  color: var(--accent);
  font-weight: 600;
  border-left: 3px solid var(--accent);
  padding-left: 17px;
}

/* Main content */
main {
  padding: 24px 0 40px;
}

main h1 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: #fff;
}

.intro {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
  max-width: 800px;
}

/* Image Grid - masonry-like */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.image-card {
  background: var(--bg-card);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--border);
  position: relative;
}

.image-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px var(--shadow);
  border-color: var(--accent);
  z-index: 2;
}

.image-card a {
  display: block;
}

.image-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s;
}

.image-card img {
  opacity: 1;
}

/* Like button and view counter */
.card-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  gap: 8px;
}

.like-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--text-muted, #888);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 13px;
  transition: color 0.2s, background 0.2s;
}

.like-btn:hover {
  color: #ff4d6a;
  background: rgba(255, 77, 106, 0.1);
}

.like-btn.liked {
  color: #ff4d6a;
}

.like-btn.liked svg {
  fill: #ff4d6a;
}

.view-stat {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted, #888);
  font-size: 12px;
}

/* Single image page - Facebook-style layout */
.sp-layout { display: flex; min-height: calc(100vh - 60px); }
.sp-image { flex: 1; background: #000; display: flex; align-items: center; justify-content: center; position: relative; min-height: 0; }
.sp-image img { max-width: 100%; max-height: calc(100vh - 60px); object-fit: contain; display: block; }
.sp-nav { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; }
.sp-arrow { pointer-events: auto; position: absolute; top: 0; bottom: 0; width: 80px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; color: rgba(255,255,255,0.6); text-decoration: none; transition: all 0.2s; cursor: pointer; }
.sp-arrow:hover { color: #fff; background: rgba(0,0,0,0.3); }
.sp-prev { left: 0; }
.sp-next { right: 0; }

.sp-sidebar { width: 360px; flex-shrink: 0; background: var(--bg-card); border-left: 1px solid var(--border); display: flex; flex-direction: column; overflow-y: auto; }
.sp-info { padding: 16px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.sp-cat { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.sp-cat:hover { text-decoration: underline; }
.sp-counter { font-size: 0.85rem; color: var(--text-muted); }

.sp-comments { flex: 1; padding: 16px; display: flex; flex-direction: column; }
.sp-comments h3 { margin: 0 0 12px; font-size: 1rem; }
.sp-comments-list { flex: 1; }
.sp-no-comments { color: var(--text-muted); font-size: 0.85rem; }
.sp-comment-login { padding-top: 12px; border-top: 1px solid var(--border); margin-top: 12px; font-size: 0.85rem; color: var(--text-muted); }
.sp-comment-login a { color: var(--accent); }

.sp-related { padding: 16px; border-top: 1px solid var(--border); }
.sp-related h3 { margin: 0 0 10px; font-size: 0.95rem; }
.sp-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sp-thumbs a img, .rel-thumb img { width: 100%; height: 80px; object-fit: cover; border-radius: 4px; transition: opacity 0.2s; }
.sp-thumbs a:hover img, .rel-thumb:hover img { opacity: 0.8; }

@media (max-width: 900px) {
  .sp-layout { flex-direction: column; }
  .sp-image { min-height: 50vh; }
  .sp-sidebar { width: 100%; }
}

/* Category sections on homepage */
.category-section {
  margin-bottom: 36px;
}

.category-section h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.category-section h2 a {
  color: #fff;
  text-decoration: none;
}

.category-section h2 a:hover {
  color: var(--accent);
}

.category-section .count {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: normal;
}

.view-all {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  padding: 8px 0;
  font-weight: 600;
  font-size: 0.9rem;
}

.view-all:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Related categories */
.related-categories {
  margin: 40px 0 20px;
}

.related-categories h2 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.related-link {
  background: var(--bg-card);
  color: var(--text);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  transition: all 0.2s;
}

.related-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 77, 106, 0.08);
}

/* SEO Text */
.seo-text {
  margin-top: 40px;
  padding: 24px;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.seo-text h2, .seo-text h3 {
  margin-bottom: 8px;
  color: #fff;
}

.seo-text h3 {
  font-size: 1.1rem;
  margin-top: 16px;
}

.seo-text p {
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* Tags page */
.tag-letters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 20px 0 32px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: 10px;
  border: 1px solid var(--border);
  justify-content: center;
}

.tag-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s;
}

.tag-letter:hover {
  color: var(--accent);
  background: rgba(255, 77, 106, 0.12);
}

.tags-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.tag-group {
  background: var(--bg-card);
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 20px 24px;
}

.tag-group-letter {
  color: var(--accent);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  letter-spacing: 1px;
}

.tag-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0;
}

.tag-item {
  color: var(--text);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tag-item:hover {
  color: var(--accent);
  background: rgba(255, 77, 106, 0.06);
}

.tag-count {
  color: var(--text-muted);
  font-size: 0.75rem;
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 10px;
  min-width: 28px;
  text-align: center;
}

@media (max-width: 768px) {
  .tag-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .tag-group { padding: 14px 16px; }
  .tag-item { padding: 8px 10px; font-size: 0.85rem; }
  .tag-letter { width: 34px; height: 34px; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .tag-list {
    grid-template-columns: 1fr;
  }
}

/* Ads */
.fgl-ban {
  margin: 20px 0;
  text-align: center;
}

/* Upload Form */
.upload-section {
  margin: 40px 0;
  padding: 28px;
  background: var(--bg-card);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.upload-section h2 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.upload-form {
  display: grid;
  gap: 16px;
  max-width: 600px;
}

.upload-form label {
  font-size: 0.9rem;
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}

.upload-form input[type="text"],
.upload-form select,
.upload-form textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color 0.2s;
}

.upload-form input:focus,
.upload-form select:focus,
.upload-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.upload-dropzone {
  border: 2px dashed var(--border);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-muted);
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
  border-color: var(--accent);
  background: rgba(255, 77, 106, 0.05);
}

.upload-dropzone input[type="file"] {
  display: none;
}

.upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.upload-preview img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.btn:hover {
  background: var(--accent-hover);
}

.btn:disabled {
  background: var(--border);
  cursor: not-allowed;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background: rgba(255, 77, 106, 0.1);
}

.upload-status {
  padding: 12px;
  border-radius: 6px;
  display: none;
}

.upload-status.success {
  display: block;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid var(--success);
  color: var(--success);
}

.upload-status.error {
  display: block;
  background: rgba(255, 77, 106, 0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
}

/* UGC badge */
.ugc-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: var(--accent);
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Auth pages */
.auth-page {
  max-width: 420px;
  margin: 0 auto;
}

.auth-form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.auth-form label {
  font-size: 0.9rem;
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.auth-status {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  display: none;
}

.auth-status.success {
  display: block;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid var(--success);
  color: var(--success);
}

.auth-status.error {
  display: block;
  background: rgba(255, 77, 106, 0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
}

.auth-switch {
  margin-top: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.auth-switch a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.auth-required {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text);
}

.auth-required a {
  color: var(--accent);
  font-weight: 600;
}

/* Nav auth buttons */
.nav-auth {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}

.nav-login {
  font-size: 0.85rem !important;
  padding: 8px 12px !important;
}

.nav-register {
  background: transparent !important;
  border: 1px solid var(--accent) !important;
  color: var(--accent) !important;
  border-radius: 6px !important;
  padding: 7px 14px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
}

.nav-register:hover {
  background: rgba(255,77,106,0.1) !important;
}

.nav-user {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 12px;
}

/* Static pages */
.static-page {
  max-width: 800px;
}

.static-page h1 { margin-bottom: 20px; }

.static-page h2 {
  margin: 24px 0 12px;
  font-size: 1.3rem;
}

.static-page p, .static-page li {
  color: var(--text-muted);
  margin-bottom: 8px;
}

.static-page ul { padding-left: 24px; }
.static-page a { color: var(--accent); }

/* Footer */
footer {
  background: var(--bg-nav);
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
  margin-top: 40px;
}

footer p {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 8px;
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
}

footer a:hover { color: var(--accent); }

/* Gallery Viewer */
.gallery-viewer {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 2000;
  display: none;
  flex-direction: column;
}

.gallery-viewer.active { display: flex; }

.gv-backdrop {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #000;
}

.gv-toolbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  background: rgba(0,0,0,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.gv-counter {
  color: #ccc;
  font-size: 0.9rem;
  font-weight: 500;
}

.gv-counter .gv-current { color: #fff; font-weight: 700; }

.gv-actions { display: flex; gap: 4px; }

.gv-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: #ccc;
  width: 40px; height: 40px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.gv-btn:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

.gv-close-btn { font-size: 1.5rem; }

.gv-body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  overflow: hidden;
  min-height: 0;
}

.gv-main {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 0;
}

.gv-sidebar {
  width: 340px;
  flex-shrink: 0;
  background: rgba(18,18,24,0.95);
  border-left: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.gv-sidebar-hidden { display: none !important; }
.gv-sidebar-header { padding: 16px 16px 12px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.gv-sidebar-header h3 { margin: 0; font-size: 1rem; color: #fff; }
.gv-comments-list { flex: 1; overflow-y: auto; padding: 12px 16px; }
.gv-comments-list:empty::after { content: 'Dar nėra komentarų. Būkite pirmas!'; color: rgba(255,255,255,0.4); font-size: 0.85rem; }
.gv-comment-item { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.gv-comment-item:last-child { border-bottom: none; }
.gv-comment-author { font-weight: 600; color: var(--accent); font-size: 0.85rem; }
.gv-comment-date { color: rgba(255,255,255,0.35); font-size: 0.75rem; margin-left: 8px; }
.gv-comment-body { margin-top: 4px; font-size: 0.85rem; line-height: 1.4; color: rgba(255,255,255,0.8); }
.gv-comment-form { padding: 12px 16px; border-top: 1px solid rgba(255,255,255,0.1); }
.gv-comment-login { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.gv-comment-login a { color: var(--accent); }
.gv-comment-form textarea { width: 100%; padding: 8px 10px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 6px; color: #fff; font-size: 0.85rem; resize: none; box-sizing: border-box; margin-bottom: 6px; }
.gv-comment-form textarea:focus { border-color: var(--accent); outline: none; }

.gv-image-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.gv-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.25s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.gv-loading {
  position: absolute;
  color: var(--text-muted);
  font-size: 0.9rem;
  display: none;
}

.gv-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  user-select: none;
}

.gv-nav:hover {
  background: rgba(255, 77, 106, 0.4);
  border-color: var(--accent);
}

.gv-prev { left: 16px; }
.gv-next { right: 16px; }

/* Thumbnail strip */
.gv-thumbstrip {
  position: relative;
  z-index: 2;
  background: rgba(0,0,0,0.85);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 8px 0;
}

.gv-thumbs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 0 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
  scroll-behavior: smooth;
}

.gv-thumbs::-webkit-scrollbar { height: 4px; }
.gv-thumbs::-webkit-scrollbar-track { background: transparent; }
.gv-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }

.gv-thumb {
  flex-shrink: 0;
  width: 64px; height: 48px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.5;
  transition: all 0.2s;
}

.gv-thumb:hover {
  opacity: 0.8;
  border-color: rgba(255,255,255,0.3);
}

.gv-thumb.active {
  opacity: 1;
  border-color: var(--accent);
}

.gv-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Age gate */
.age-gate {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.97);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-gate-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  max-width: 420px;
  width: 90%;
}

.age-gate-box h2 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.age-gate-box p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.age-gate-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.age-gate-buttons .btn { min-width: 120px; }

/* Responsive - Tablet */
@media (max-width: 900px) {
  .image-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .image-card img { height: 200px; }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  header .logo { font-size: 1.5rem; }
  header { padding: 12px 0; }
  .theme-toggle { top: 10px; right: 12px; width: 34px; height: 34px; }

  .nav-toggle { display: block; }

  .nav-bar {
    display: none;
    flex-direction: column;
    max-height: 70vh;
    overflow-y: auto;
  }

  .nav-bar.open { display: flex; }

  .nav-item {
    padding: 12px 16px;
    width: 100%;
    border-bottom: none;
  }

  .nav-upload {
    margin: 8px 16px;
    text-align: center;
    border-radius: 6px;
  }

  /* Mobile dropdown = accordion */
  .nav-dropdown { width: 100%; }

  .nav-dropdown-btn {
    width: 100%;
    padding: 12px 16px;
    justify-content: space-between;
    border-bottom: none;
  }

  .nav-dropdown-menu {
    position: static;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: rgba(255,77,106,0.03);
    display: none;
    padding: 0;
  }

  .nav-dropdown.open .nav-dropdown-menu { display: block; }

  .nav-dropdown:hover .nav-dropdown-menu { display: none; }
  .nav-dropdown.open:hover .nav-dropdown-menu { display: block; }

  .nav-dropdown-menu a {
    padding: 10px 16px 10px 32px;
  }

  .image-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .image-card img { height: 160px; }
  .image-card { border-radius: 4px; }

  main h1 { font-size: 1.3rem; }
  .intro { font-size: 0.85rem; }

  .upload-section { padding: 20px; }
  .upload-dropzone { padding: 20px; }

  /* Gallery viewer mobile */
  .gv-sidebar { display: none; }
  .gv-nav { width: 40px; height: 40px; font-size: 1.2rem; }
  .gv-prev { left: 4px; }
  .gv-next { right: 4px; }
  .gv-thumb { width: 48px; height: 36px; }
  .gv-toolbar { padding: 6px 10px; }
  .gv-btn { width: 36px; height: 36px; font-size: 1rem; }
  .gv-fullscreen-btn { display: none; }
}

@media (max-width: 400px) {
  .image-card img { height: 130px; }
  .container { padding: 0 10px; }
}


/* Partners page */
.partner-banner {
  display: block;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform 0.15s, box-shadow 0.15s;
}
.partner-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}
.partner-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 468px;
}
.partner-banner-label {
  display: block;
  padding: 6px 10px;
  font-size: 0.82rem;
  color: var(--text);
  background: var(--bg-input);
}
@media (max-width: 520px) {
  .partner-grid {
    grid-template-columns: 1fr !important;
  }
}

/* === Own ad units (cams/dating) === */
.fgl-ban a { display: inline-block; line-height: 0; }
.fgl-ban img { max-width: 100%; height: auto; border-radius: 8px; }
.fgl-n { display: none; }
@media (max-width: 767px) {
  .fgl-w { display: none; }
  .fgl-n { display: inline-block; }
}

/* Native ad card in image grid */
.native-card .native-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  min-height: 235px;
  padding: 18px;
  box-sizing: border-box;
  text-decoration: none;
  background: linear-gradient(135deg, #1c1216 0%, #2b151c 100%);
}
.nc-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
}
.nc-icon { font-size: 32px; line-height: 1; }
.nc-title {
  color: var(--text);
  font-weight: 800;
  font-size: 16px;
  text-align: center;
  line-height: 1.35;
}
.nc-btn {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.native-card:hover .nc-btn { background: var(--accent-hover); }

/* Lightbox CTA bar */
.gv-cta {
  display: block;
  text-align: center;
  padding: 11px 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.gv-cta:hover { background: var(--accent-hover); color: #fff; }

/* Sticky footer ad (mobile only) */
.fgl-bar { display: none; }
@media (max-width: 767px) {
  .fgl-bar {
    display: flex;
    align-items: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9000;
    background: #17090d;
    border-top: 1px solid var(--accent-dark);
  }
  .fgl-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    padding: 13px 8px;
  }
  .sticky-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ff2e2e;
    display: inline-block;
    animation: stickyPulse 1.2s infinite;
  }
  @keyframes stickyPulse { 50% { opacity: .35; } }
  .fgl-x {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 22px;
    padding: 6px 14px;
    cursor: pointer;
  }
  body { padding-bottom: 48px; }
}

/* === Faza 1 redizajn (2026-07-21): srce, NYTT, batch grid, lagani lightbox === */
.image-card { content-visibility: auto; contain-intrinsic-size: 240px 200px; }
.image-card .like-btn {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  border: none;
  color: #fff;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.image-card .like-btn.liked { color: var(--accent); }
.image-card .like-btn .like-count { font-size: 12px; font-weight: 600; }
.image-card .like-btn .like-count:empty { display: none; }
.nytt-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 2px 7px;
  border-radius: 5px;
}
.ugc-badge + .nytt-badge { left: auto; right: 8px; }
.grid-sentinel { height: 40px; }
.gv-heart-burst {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.4);
  font-size: 90px;
  color: var(--accent);
  opacity: 0;
  animation: gvHeartBurst .7s ease forwards;
  pointer-events: none;
  z-index: 6;
}
@keyframes gvHeartBurst {
  20% { opacity: .95; transform: translate(-50%, -50%) scale(1.1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.3); }
}
.gv-like-btn.liked { color: var(--accent); }
.gv-fav-btn.faved { color: #ffce3d; }
@media (max-width: 768px) {
  .gv-thumbstrip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gv-heart-burst { animation: none; opacity: 0; }
}

/* === Mobile overhaul 2026-07-22: header+hamburger+chips, gusti grid, fullscreen galerija === */
.gallery-viewer { height: 100dvh; }
.gv-image-container {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  width: 100%;
}
.gv-bottombar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(0,0,0,0.85);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.gv-bottombar .gv-btn { width: 44px; height: 44px; font-size: 1.15rem; }
.m-head, .m-chips, .m-sheet, .m-scrim { display: none; }
.fgl-bar { transition: transform .25s; }
.fgl-bar.hide { transform: translateY(110%); }

@media (max-width: 768px) {
  header, nav { display: none; }
  .m-head {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 950;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    background: rgba(10,10,10,0.94);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
  }
  [data-theme="light"] .m-head { background: rgba(255,255,255,0.94); }
  .m-logo {
    font-weight: 800;
    font-size: 1.12rem;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
  }
  .m-hsp { flex: 1; }
  .m-hbtn {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
  }
  .m-chips {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 9px 12px 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .m-chips::-webkit-scrollbar { display: none; }
  .m-chip {
    flex: 0 0 auto;
    padding: 8px 13px;
    border-radius: 999px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: .82rem;
    text-decoration: none;
    white-space: nowrap;
  }
  .m-chip.on {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 600;
  }
  .m-scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 990;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s;
  }
  .m-scrim.on { opacity: 1; pointer-events: auto; }
  .m-sheet {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 995;
    max-height: 78dvh;
    overflow-y: auto;
    background: var(--bg-nav);
    border-radius: 16px 16px 0 0;
    border-top: 1px solid var(--border);
    padding: 6px 16px calc(18px + env(safe-area-inset-bottom));
    transform: translateY(105%);
    transition: transform .26s;
  }
  .m-sheet.open { transform: none; }
  .m-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 4px;
    font-weight: 700;
    color: var(--text);
  }
  .m-sheet-head button {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.6rem;
    padding: 2px 8px;
    cursor: pointer;
  }
  .m-grp {
    color: var(--text-muted);
    font-size: .68rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    margin: 14px 0 7px;
  }
  .m-cats { display: flex; flex-wrap: wrap; gap: 7px; }
  .m-cats a {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: .85rem;
    text-decoration: none;
  }
  /* Gusti grid kao pornpics: 2 kolone od ruba do ruba */
  .container { padding: 0 10px; }
  .image-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .image-card { contain-intrinsic-size: 170px 140px; }
  .image-card img { height: auto; aspect-ratio: 4 / 3; }
  .image-card .like-btn { min-width: 36px; height: 36px; font-size: 15px; right: 6px; bottom: 6px; }
  /* Galerija: slika preko cijelog ekrana, swipe umjesto strelica */
  .gv-nav { display: none; }
  .gv-bottombar .gv-btn { width: 46px; height: 46px; }
  .gv-cta { padding-bottom: calc(11px + env(safe-area-inset-bottom)); }
}

/* === Pornpics-pattern dopune 2026-07-22 === */
.crumbs { font-size: .82rem; color: var(--text-muted); margin: 10px 0 2px; }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumb-sep { margin: 0 4px; }
.tag-chips {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 2px 0 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.tag-chips::-webkit-scrollbar { display: none; }
.tag-chip {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: .8rem;
  text-decoration: none;
  white-space: nowrap;
}
.tag-chip:hover { border-color: var(--accent); color: var(--accent); }
.m-chip-live, .m-sponsor { background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; font-weight: 700; }
.foot-cats { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; margin-bottom: 12px; }
.foot-cats a { color: var(--text-muted); font-size: .8rem; text-decoration: none; }
.foot-cats a:hover { color: var(--accent); }
.gv-ad {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 6px 0;
  background: #000;
  line-height: 0;
}
.gv-ad img { border-radius: 8px; }
.gallery-viewer.gv-chrome-hidden .gv-toolbar,
.gallery-viewer.gv-chrome-hidden .gv-bottombar,
.gallery-viewer.gv-chrome-hidden .gv-ad,
.gallery-viewer.gv-chrome-hidden .gv-thumbstrip,
.gallery-viewer.gv-chrome-hidden .gv-nav { display: none; }

/* === Drawer meni (pornpics-stil) + swipe hint 2026-07-22 === */
.gv-swipe-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 7;
  background: rgba(0,0,0,0.62);
  color: #fff;
  font-size: .9rem;
  padding: 9px 16px;
  border-radius: 999px;
  letter-spacing: .05em;
  opacity: 0;
  animation: gvHintIn .4s ease forwards;
  transition: opacity .45s;
  pointer-events: none;
  white-space: nowrap;
}
@keyframes gvHintIn { to { opacity: 1; } }
.gv-swipe-hint.out { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .gv-swipe-hint { animation: none; opacity: 1; } }

@media (max-width: 768px) {
  .m-sheet {
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    width: 84%;
    max-width: 340px;
    max-height: none;
    border-radius: 0;
    border-top: none;
    border-right: 1px solid var(--border);
    transform: translateX(-105%);
    padding: 0 0 calc(20px + env(safe-area-inset-bottom));
  }
  .m-sheet.open { transform: none; }
  .m-sheet-head { padding: 12px 14px; border-bottom: 1px solid var(--border); }
  .m-drawer-logo { font-weight: 800; font-size: 1.05rem; color: var(--text); }
  .m-msearch { padding: 10px 14px; border-bottom: 1px solid var(--border); }
  .m-msearch input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border-radius: 9px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: .95rem;
    outline: none;
  }
  .m-msearch input:focus { border-color: var(--accent); }
  .m-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 13px 14px;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    font-size: .95rem;
  }
  .m-row.on { color: var(--accent); font-weight: 700; }
  .m-row.hidden { display: none; }
  .m-cnt { color: var(--text-muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
  .m-sheet .m-grp { padding: 0 14px; margin: 16px 0 6px; }
  .m-sponsor-row {
    color: #fff;
    background: var(--accent);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    font-weight: 700;
  }
}


/* Logo u galeriji (vraća na naslovnicu) 2026-07-23 */
.gv-toolbar { justify-content: space-between; }
.gv-logo { font-weight: 800; font-size: 1.05rem; color: #fff; text-decoration: none; letter-spacing: .01em; white-space: nowrap; z-index: 3; }
.gv-logo:hover { color: var(--accent); }
.gallery-viewer.gv-chrome-hidden .gv-logo { display: none; }

/* Mobilni search overlay 2026-07-23 */
.msearch-ov { position: fixed; inset: 0; z-index: 3000; background: var(--bg); display: none; flex-direction: column; }
.msearch-ov.open { display: flex; }
.msearch-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--border); background: var(--bg-nav); }
.msearch-bar input { flex: 1; padding: 11px 14px; border-radius: 10px; background: var(--bg-input); border: 1px solid var(--border); color: var(--text); font-size: 1rem; outline: none; }
.msearch-bar input:focus { border-color: var(--accent); }
.msearch-bar button { background: none; border: none; color: var(--text-muted); font-size: 1.9rem; padding: 0 8px; cursor: pointer; }
.msearch-res { flex: 1; overflow-y: auto; padding: 10px 12px; }
.msearch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.msearch-card { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 1; background: var(--bg-card); }
.msearch-card img { width: 100%; height: 100%; object-fit: cover; }
.msearch-empty { text-align: center; color: var(--text-muted); padding: 30px; }
@media (min-width: 600px) { .msearch-grid { grid-template-columns: repeat(5, 1fr); } }

/* Cross-network footer linkovi 2026-07-23 */
.foot-network { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; margin: 8px 0 0; opacity: .8; }
.foot-network a { color: var(--text-muted); font-size: .78rem; text-decoration: none; }
.foot-network a:hover { color: var(--accent); }

/* === Foto native kartice u gridu (2026-07-25) === */
.native-card .native-link {
  display: block;
  position: relative;
  padding: 0;
  min-height: 0;
  gap: 0;
  background: none;
  overflow: hidden;
}
.native-card .native-link img { object-fit: cover; display: block; width: 100%; }
.native-card .native-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.6) 34%, rgba(0,0,0,0) 66%);
  pointer-events: none;
}
.native-card .nc-icon { display: none; }
.native-card .nc-badge {
  z-index: 2;
  background: rgba(0,0,0,.6);
  color: #ddd;
  border-color: rgba(255,255,255,.25);
  backdrop-filter: blur(2px);
}
.native-card .nc-live {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #fff;
  background: rgba(0,0,0,.55);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 2px 7px 2px 5px;
}
.native-card .nc-live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}
.native-card .nc-title {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 40px;
  z-index: 2;
  font-size: 13px;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.9);
}
.native-card .nc-btn {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  text-align: center;
  font-size: 12.5px;
  padding: 7px 6px;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .native-card .nc-title { font-size: 11.5px; bottom: 34px; }
  .native-card .nc-btn { font-size: 11px; padding: 6px 4px; }
}

/* === Push prompt bar (2026-07-26) === */
.push-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(20, 14, 16, .97);
  border: 1px solid var(--accent);
  box-shadow: 0 10px 30px rgba(0,0,0,.55);
  transform: translateY(140%);
  transition: transform .28s ease;
  max-width: 560px;
  margin: 0 auto;
}
.push-bar.show { transform: translateY(0); }
.push-txt { flex: 1 1 180px; color: #fff; font-size: 14px; font-weight: 600; }
.push-bar button {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.push-yes { background: var(--accent); color: #fff; }
.push-no { background: transparent; color: var(--text-muted); border: 1px solid var(--border) !important; }
@media (max-width: 767px) {
  .push-bar { bottom: 70px; }   /* iznad sticky reklame */
}

/* === UGC: CTA blok + upload consent (2026-07-27) === */
.ugc-cta {
  margin: 28px 0;
  padding: 20px 18px;
  border-radius: 12px;
  border: 1px solid var(--accent);
  background: linear-gradient(135deg, rgba(255,45,85,.10), rgba(255,45,85,.02));
  text-align: center;
}
.ugc-cta h2 { margin: 0 0 6px; font-size: 1.15rem; }
.ugc-cta p { margin: 0 0 14px; color: var(--text-muted); font-size: .92rem; }
.ugc-cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
}
.ugc-cta-btn:hover { background: var(--accent-hover); color: #fff; }
.ugc-cta-link {
  display: inline-block;
  margin-left: 14px;
  color: var(--text-muted);
  font-size: .9rem;
  text-decoration: underline;
}
.ugc-cta-link:hover { color: var(--accent); }
.upload-consent { margin: 14px 0; font-size: .88rem; line-height: 1.45; }
.upload-consent label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.upload-consent input { margin-top: 3px; flex: 0 0 auto; }
@media (max-width: 767px) {
  .ugc-cta { padding: 16px 12px; }
  .ugc-cta-link { display: block; margin: 12px 0 0; }
}

/* === OnlyFans sekcija (2026-07-28) === */
.of-section { margin: 30px 0; }
.of-section h2 { margin: 0 0 4px; font-size: 1.15rem; }
.of-lead { margin: 0 0 14px; color: var(--text-muted); font-size: .9rem; }
.of-ad { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; border: 1px solid var(--border);
  border-radius: 4px; padding: 1px 5px; margin-left: 6px; color: var(--text-muted); }
.of-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.of-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 10px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; text-decoration: none;
  transition: border-color .2s, transform .2s; }
.of-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.of-avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.of-name { color: var(--text); font-weight: 700; font-size: .95rem; text-align: center; }
.of-handle { color: var(--text-muted); font-size: .8rem; }
.of-blurb { color: var(--text-muted); font-size: .8rem; text-align: center; line-height: 1.3; }
.of-btn { margin-top: 6px; background: var(--accent); color: #fff; font-weight: 700; font-size: .82rem;
  padding: 6px 14px; border-radius: 999px; }
.of-more { display: inline-block; margin-top: 12px; color: var(--text-muted); font-size: .88rem; text-decoration: underline; }
.of-more:hover { color: var(--accent); }
@media (max-width: 767px) { .of-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; } }

/* === Dating tekst-linkovi + reklame u galeriji (2026-08-03) === */
.tl-ads {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
  max-width: 1200px;
  margin: 10px auto 0;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card-bg, rgba(255,255,255,.03));
}
.tl-ads a {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s, color .18s;
}
.tl-ads a:hover { background: var(--accent); color: #fff; }
@media (max-width: 768px) {
  .tl-ads { margin: 8px 8px 0; padding: 7px 8px; gap: 5px 6px; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .tl-ads::-webkit-scrollbar { display: none; }
  .tl-ads a { font-size: .78rem; padding: 5px 10px; }
}

/* Tekst-linkovi na vrhu galerije (ispod toolbara) */
.gv-textads {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  padding: 8px 12px;
  background: rgba(0,0,0,.85);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.gv-textads a {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: rgba(255,45,85,.1);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.gv-textads a:hover { background: var(--accent); }
@media (max-width: 768px) {
  .gv-textads { gap: 5px 6px; padding: 6px 8px; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .gv-textads::-webkit-scrollbar { display: none; }
  .gv-textads a { font-size: .78rem; padding: 5px 12px; }
}

/* Bocni banner u galeriji — samo siroki desktop, ne dira sliku (flex child) */
.gv-siderail { display: none; }
@media (min-width: 1200px) {
  .gv-siderail {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 320px;
    padding: 0 10px;
    z-index: 2;
  }
  .gv-siderail img { border-radius: 10px; max-width: 100%; height: auto; display: block; }
}
.gallery-viewer.gv-chrome-hidden .gv-textads,
.gallery-viewer.gv-chrome-hidden .gv-siderail { display: none; }

/* Kommentarer + visninger (2026-09-11) — anonimno, kao i upload */
.sp-stats { display:flex; gap:14px; align-items:center; padding:8px 16px; color:var(--text-muted); font-size:0.85rem; }
.sp-stat { display:inline-flex; align-items:center; gap:4px; }
.comment-item { padding:10px 0; border-bottom:1px solid var(--border); }
.comment-item:last-child { border-bottom:none; }
.comment-author { font-weight:600; color:var(--accent); font-size:0.85rem; }
.comment-body { margin:4px 0 0; font-size:0.9rem; line-height:1.45; }
.sp-comment-form { padding-top:12px; border-top:1px solid var(--border); margin-top:12px; display:flex; flex-direction:column; gap:8px; }
.sp-comment-form input, .sp-comment-form textarea {
  width:100%; box-sizing:border-box; padding:9px 11px; font:inherit; font-size:16px;
  background:var(--bg-alt,rgba(255,255,255,0.05)); color:inherit;
  border:1px solid var(--border); border-radius:6px; resize:vertical;
}
.sp-comment-form input:focus, .sp-comment-form textarea:focus { border-color:var(--accent); outline:none; }
.sp-comment-form .cta-btn { align-self:flex-start; cursor:pointer; border:none; }
.sp-comment-form button[disabled] { opacity:0.5; cursor:default; }
.sp-comment-hint { margin:0; font-size:0.8rem; color:var(--text-muted); }
.gv-comment-form { display:flex; flex-direction:column; gap:6px; }
.gv-comment-form input {
  width:100%; box-sizing:border-box; padding:8px 10px; font:inherit; font-size:16px;
  background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.15);
  border-radius:6px; color:#fff;
}
.gv-comment-form input:focus { border-color:var(--accent); outline:none; }
.gv-comment-form .gv-register-btn { cursor:pointer; border:none; }
.ugc-views { position:absolute; left:8px; bottom:8px; z-index:2; padding:2px 7px; border-radius:11px;
  background:rgba(0,0,0,0.62); color:#fff; font-size:0.72rem; line-height:1.5; pointer-events:none; }
.ugc-total-views { margin:6px 0 14px; color:var(--text-muted); font-size:0.9rem; }

.comment-verified { color:var(--accent); font-size:0.8rem; margin-left:5px; }

.upload-hint { margin:5px 0 0; font-size:0.8rem; color:var(--text-muted); line-height:1.4; }


/* === 15.10.2026: bočna traka preko slike u pregledniku (TikTok/Instagram/RedGifs) + 👁 na kartici === */
.gv-main { position: relative; }
.gv-rail { position: absolute; right: 12px; bottom: 18px; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.gv-rb { display: flex; flex-direction: column; align-items: center; gap: 3px; background: none; border: 0; padding: 0; color: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.gv-rb i { width: 52px; height: 52px; border-radius: 50%; background: rgba(0,0,0,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; transition: transform .15s; }
.gv-rb svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
.gv-rb .gv-rn { font-size: 12px; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.9); line-height: 1; }
.gv-rb:active i { transform: scale(.9); }
.gv-r-like.on svg { fill: var(--accent); stroke: var(--accent); }
.gv-r-like.pop i { transform: scale(1.18); }
.gv-r-fav.on svg { fill: #ffce3d; stroke: #ffce3d; }
.gv-r-views { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.9); }
.gv-r-views[hidden] { display: none; }
.gv-r-views svg, .ci-ov svg { width: 15px; height: 15px; fill: #fff; }
.gv-like-hint { position: absolute; right: 64px; bottom: calc(100% - 52px); white-space: nowrap; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: 999px; animation: gvHint 3.2s ease forwards; pointer-events: none; }
@keyframes gvHint { 0%,100% { opacity: 0; } 10%,85% { opacity: 1; } }
.gv-toast { position: absolute; left: 50%; top: 40%; transform: translateX(-50%); z-index: 9; background: rgba(0,0,0,.85); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14px; pointer-events: none; }
/* like/fav/komentari su sad u traci → ne dupliraj dolje */
.gv-bottombar .gv-like-btn, .gv-bottombar .gv-fav-btn, .gv-bottombar .gv-toggle-comments { display: none; }
@media (min-width: 769px) { .gv-rail { right: 76px; } }
@media (max-width: 768px) { .gv-rail { right: 14px; bottom: 14px; gap: 12px; } .gv-rb i { width: 48px; height: 48px; } .gv-rb .gv-rn { font-size: 11px; } }
.ci-ov { position: absolute; left: 8px; bottom: 8px; z-index: 2; display: flex; align-items: center; gap: 4px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 999px; pointer-events: none; }
@media (max-width: 768px) { .ci-ov { left: 6px; bottom: 6px; font-size: 11px; padding: 3px 7px; } }
.ci-ov { gap: 9px; }
.ci-ov > span { display: flex; align-items: center; gap: 4px; }
.ci-rate { color: #4caf50; font-weight: 700; }

/* === 15.10.2026 mobilna navigacija kao aplikacija: donja traka, skrivanje headera, ploče, filtri, Top === */
.m-tabs { display: none; }
@media (max-width: 768px) {
  .m-tabs { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9100; background: rgba(12,12,12,.97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom); }
  [data-theme="light"] .m-tabs { background: rgba(255,255,255,.97); }
  .m-tabs a, .m-tabs button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 56px; background: none; border: 0; color: var(--text-muted, #999); font: inherit; font-size: 11px; font-weight: 600; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .m-tabs svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .m-tabs a.on { color: var(--accent); }
  .m-tabs a.on svg { fill: currentColor; fill-opacity: .18; }
  body.has-tabs { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
  body.has-tabs .fgl-bar { bottom: calc(56px + env(safe-area-inset-bottom)); }
  body.has-tabs .push-bar { bottom: calc(68px + env(safe-area-inset-bottom)); }
  .gv-open .m-tabs, .fp-sheet-open .m-tabs { display: none; }
  .m-head { transition: transform .22s ease; }
  body.hdr-hide .m-head { transform: translateY(-100%); }
  .m-rand { text-decoration: none; display: flex; align-items: center; justify-content: center; font-size: 18px; }
  .image-card img { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
}
/* filtar „Tipo“ (Amateur/Profesional/De usuario) — reklamne kartice nemaju data-k pa ostaju */
.image-grid[data-fk="a"] > .image-card[data-k]:not([data-k="a"]),
.image-grid[data-fk="p"] > .image-card[data-k]:not([data-k="p"]),
.image-grid[data-fk="u"] > .image-card[data-k]:not([data-k="u"]) { display: none; }

/* ploča odozdo */
.fp-sheet { position: fixed; inset: 0; z-index: 10050; }
.fp-sheet-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .2s; }
.fp-sheet-box { position: absolute; left: 0; right: 0; bottom: 0; max-height: 82vh; overflow-y: auto; background: var(--bg-card, #161616); color: var(--text); border-radius: 18px 18px 0 0; padding: 6px 16px calc(16px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .22s ease; max-width: 640px; margin: 0 auto; }
.fp-sheet.open .fp-sheet-scrim { opacity: 1; }
.fp-sheet.open .fp-sheet-box { transform: translateY(0); }
.fp-sheet-grab { width: 40px; height: 4px; border-radius: 4px; background: var(--border, #444); margin: 4px auto 10px; }
.fp-cs-head { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.fp-cs-head img { width: 48px; height: 64px; object-fit: cover; border-radius: 8px; }
.fp-cs-head b { font-size: .9rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fp-cs button, .fp-cs a[data-a] { display: flex; align-items: center; gap: 14px; width: 100%; padding: 13px 4px; background: none; border: 0; color: var(--text); font: inherit; font-size: 1rem; text-align: left; text-decoration: none; cursor: pointer; }
.fp-cs i { font-style: normal; width: 26px; text-align: center; font-size: 1.15rem; }
.fp-fl-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.fp-fl-head b { font-size: 1.1rem; }
.fp-fl-x { background: none; border: 0; color: var(--text-muted); font-size: 28px; line-height: 1; cursor: pointer; padding: 0 4px; }
.fp-fl-g { margin: 12px 0 4px; }
.fp-fl-g > span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: 7px; font-weight: 700; }
.fp-fl-row { display: flex; flex-wrap: wrap; gap: 7px; }
.fp-fl-row a, .fp-fl-row button { padding: 8px 13px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--text); font: inherit; font-size: .88rem; text-decoration: none; cursor: pointer; }
.fp-fl-row small { color: var(--text-muted); font-size: .72rem; margin-left: 2px; }
.fp-fl-row .on { background: var(--accent); border-color: var(--accent); color: #fff; }
.fp-fl-row .on small { color: rgba(255,255,255,.8); }
.fp-toast { position: fixed; left: 50%; bottom: calc(120px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 10060; background: rgba(0,0,0,.88); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; pointer-events: none; }

/* Afina tu búsqueda */
.afina { margin: 26px 0 10px; }
.afina h2 { font-size: 1.15rem; margin-bottom: 10px; }
.afina-list { display: flex; flex-wrap: wrap; gap: 7px; }
.afina-list a { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border); color: var(--text); text-decoration: none; font-size: .86rem; }
.afina-list a:hover { border-color: var(--accent); color: var(--accent); }
.afina-list span { color: var(--text-muted); font-size: .74rem; }

/* /top/ */
.top-tabs { display: flex; gap: 8px; margin: 6px 0 10px; }
.top-tabs button { flex: 0 0 auto; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.top-tabs button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.top-note { color: var(--text-muted); font-size: .88rem; margin: 0 0 12px; }
.top-loading { grid-column: 1 / -1; text-align: center; color: var(--text-muted); padding: 30px 0; }
.top-rank { position: absolute; top: 8px; left: 8px; z-index: 2; background: rgba(0,0,0,.7); color: #fff; font-weight: 800; font-size: 13px; padding: 3px 9px; border-radius: 999px; }
.top-rank.top-medal { font-size: 22px; background: none; padding: 0; text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.top-score { position: absolute; left: 8px; bottom: 8px; z-index: 2; background: rgba(0,0,0,.65); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; pointer-events: none; }
.top-card .ci-ov { display: none; }

/* 15.10.2026: vidljiviji hamburger (Martin) — boja naglaska + natpis */
@media (max-width: 768px) {
  .m-hbtn.m-menu { width: auto; padding: 0 12px; gap: 6px; display: flex; align-items: center; background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 800; font-size: .9rem; box-shadow: 0 2px 10px rgba(255,45,85,.35); }
  .m-hbtn.m-menu span { line-height: 1; }
}
/* 15.10.2026 pretraga s prijedlozima */
.ms-sec { margin: 14px 0 6px; }
.ms-sec > span { display: flex; justify-content: space-between; align-items: center; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); font-weight: 700; margin-bottom: 8px; }
.ms-clear { background: none; border: 0; color: var(--accent); font: inherit; font-size: .75rem; text-transform: none; cursor: pointer; }
.ms-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.ms-chip { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--border); color: var(--text); text-decoration: none; font-size: .88rem; }
.ms-chip small { color: var(--text-muted); font-size: .72rem; }
.ms-chip.ms-rec::before { content: "\21BA  "; color: var(--text-muted); }
.ms-list a { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; }
.ms-list b { flex: 1; font-weight: 600; }
.ms-list small { color: var(--text-muted); font-size: .78rem; }
.ms-list span { opacity: .6; }
/* 15.10.2026 kolekcije, profili, Seguir */
.col-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin: 10px 0 20px; }
.col-card { display: flex; flex-direction: column; gap: 4px; color: var(--text); text-decoration: none; }
.col-cover { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--bg-card); }
.col-cover img { width: 100%; height: 100%; object-fit: cover; }
.col-cover.n1, .col-cover.n2, .col-cover.n3 { grid-template-columns: 1fr; }
.col-cover.n2 img + img, .col-cover.n3 img + img { display: none; }
.col-card b { font-size: .95rem; }
.col-card small { color: var(--text-muted); font-size: .78rem; }
@media (max-width: 768px) { .col-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.col-share, .col-edit { margin-left: 6px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--text); font: inherit; font-size: .85rem; cursor: pointer; }
.fp-col .col-hint { color: var(--text-muted); font-size: .9rem; margin: 4px 0 12px; }
.fp-col .col-name { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-input, #222); color: var(--text); font-size: 16px; box-sizing: border-box; }
.fp-col .col-go { display: block; width: 100%; margin-top: 12px; padding: 14px; border-radius: 12px; border: 0; background: var(--accent); color: #fff; font: inherit; font-weight: 800; font-size: 1rem; text-align: center; text-decoration: none; cursor: pointer; box-sizing: border-box; }
.fp-col .col-go.col-sec { background: transparent; border: 1px solid var(--border); color: var(--text); }
.fp-col .col-err { color: #ff6b6b; font-size: .85rem; min-height: 1em; }
.fp-col .col-pick { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 4px; background: none; border: 0; border-bottom: 1px solid var(--border); color: var(--text); font: inherit; font-size: 1rem; text-align: left; cursor: pointer; }
.fp-col .col-pick small { margin-left: auto; color: var(--text-muted); }
.fav-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; font-size: .9rem; }
.fav-tools a { color: var(--accent); }
.fav-mkcol { padding: 11px 16px; border-radius: 999px; border: 0; background: var(--accent); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.col-h { font-size: 1.05rem; margin: 6px 0 8px; grid-column: 1 / -1; }
#myCols { display: block; }
.col-mine { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.col-mine a { flex: 1 1 160px; color: var(--text); text-decoration: none; display: flex; flex-direction: column; }
.col-mine small { color: var(--text-muted); }
.col-mine button { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--text); font: inherit; font-size: .8rem; cursor: pointer; }
.prof-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 16px 0 18px; }
.prof-av { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #ff8a00); color: #fff; font-size: 28px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.prof-info { flex: 1; min-width: 0; }
.prof-info h1 { margin: 0; font-size: 1.4rem; }
.prof-info p { margin: 4px 0 0; color: var(--text-muted); font-size: .9rem; }
.prof-follow { padding: 10px 20px; border-radius: 999px; border: 0; background: var(--accent); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.prof-follow.on { background: transparent; border: 1px solid var(--border); color: var(--text); }
.ms-open .m-tabs, .ms-open .fgl-bar, .ms-open .push-bar { display: none !important; }

.image-card:has(.ci-ov) .ugc-views { display: none; }
/* kartice u favoritima (stari .card-stats) */
#fav-grid .card-stats { position: absolute; top: 6px; right: 6px; z-index: 3; padding: 0; }
#fav-grid .fav-btn { background: rgba(0,0,0,.6); border: 0; color: #ffce3d; font-size: 20px; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }
.image-card > .ci-rate { position: absolute; top: 8px; right: 8px; z-index: 2; background: rgba(0,0,0,.6); color: #7ee787; font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 999px; pointer-events: none; }
.ugc-badge + .nytt-badge ~ .ci-rate { top: 36px; }
.ci-ov[hidden] { display: none; }
.gv-open .fgl-bar, .gv-open .push-bar { display: none !important; }

/* 19.10.2026: gumb za komentar bio bez stila (bijeli pravokutnik) */
.sp-comment-form .cta-btn { align-self:stretch; padding:12px 16px; background:var(--accent,#ff2d55); color:#fff; border:0; border-radius:8px; font-weight:700; font-size:.95rem; cursor:pointer; font-family:inherit; }
.sp-comment-form .cta-btn:hover { filter:brightness(1.1); }
.sp-comment-form .cta-btn:disabled { opacity:.6; cursor:default; }
.sp-comment-hint { font-size:.8rem; color:var(--text-muted,#999); margin:0; }
.sp-comment-hint a { color:var(--accent,#ff2d55); font-weight:600; }

/* 19.10.2026 reakcije + brzi komentari + dvostruki dodir (rollout s frekkebilder) */
.sp-image img.sp-dbl, .gv-image-container { touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.sp-image { overflow: hidden; }
.sp-layout .sp-votes { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 12px; margin-bottom: 0; }
.rx-bar { display: flex; gap: 6px; align-items: center; }
.rx-inline { margin-inline-start: auto; }
.rx-btn { display: inline-flex; align-items: center; gap: 4px; min-width: 44px; height: 40px; padding: 0 10px; border-radius: 20px; border: 1px solid var(--border, rgba(255,255,255,.12)); background: var(--bg-input, rgba(255,255,255,.06)); color: var(--text, #fff); font-size: 1.15rem; line-height: 1; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; -webkit-tap-highlight-color: transparent; }
.rx-btn .rx-n { font-size: .85rem; font-weight: 600; opacity: .85; }
.rx-btn.on { border-color: var(--accent, #ff4d6d); background: rgba(255,77,109,.18); }
.rx-btn.pop { transform: scale(1.18); }
.sp-quick { padding: 10px 12px 12px; border-bottom: 1px solid var(--border, rgba(255,255,255,.1)); }
.qc-bar { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; -webkit-overflow-scrolling: touch; max-width: 100%; }
.qc-bar::-webkit-scrollbar { display: none; }
.qc-btn { flex: 0 0 auto; height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid var(--border, rgba(255,255,255,.14)); background: var(--bg-input, rgba(255,255,255,.06)); color: var(--text, #fff); font-size: .9rem; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.qc-btn:active { transform: scale(.96); }
.qc-btn.sent { opacity: .45; border-color: var(--accent, #ff4d6d); }
.sp-quick .sp-comment-form textarea { min-height: 0; }
.gv-bottombar .rx-gv { margin-inline-end: auto; }
.rx-gv .rx-btn { height: 38px; min-width: 42px; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; }
.gv-quick { padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.1); }
.gv-quick .qc-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; }
.qc-msg { margin: 6px 0 0; font-size: .8rem; color: rgba(255,255,255,.6); min-height: 0; }
.qc-msg:empty { display: none; }
@media (min-width: 901px) { .rx-inline { margin-inline-start: 0; } }
.gv-main > .rx-float { position: absolute; left: 12px; bottom: 12px; z-index: 5; }
[dir=rtl] .gv-main > .rx-float { left: auto; right: 12px; }
.gv-quick .gv-comment-form { padding: 8px 0 0; border-top: 0; }
.gv-quick .gv-comment-form textarea, .gv-quick .gv-comment-form input { font-family: inherit; }
.gv-quick .gv-register-btn { height: 40px; padding: 0 16px; border-radius: 20px; background: var(--accent, #ff4d6d); color: #fff; font-weight: 600; font-size: .9rem; }
.fp-cm .qc-bar { margin: 4px 0 6px; }

/* 20.10.2026: × za zatvaranje ploče komentara u pregledniku */
.gv-sidebar-header { position: relative; }
.gv-sidebar-close { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.gv-sidebar-close:hover { background: rgba(255,255,255,0.2); }
[dir="rtl"] .gv-sidebar-close { right: auto; left: 8px; }

/* 24.11.2026 sticky traka i na desktopu (bila samo mobitel) */
@keyframes stickyPulse { 50% { opacity: .35; } }
@media (min-width: 768px) {
  .fgl-bar { display: flex; align-items: center; justify-content: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; background: #17090d; border-top: 1px solid var(--accent-dark, var(--accent, #ff2d55)); box-shadow: 0 -6px 22px rgba(0,0,0,.45); }
  .fgl-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; text-decoration: none; font-size: 16px; padding: 14px 56px 14px 18px; }
  .fgl-bar a b { color: var(--accent, #ff2d55); }
  .fgl-bar a:hover { text-decoration: underline; }
  .fgl-bar .sticky-dot { width: 10px; height: 10px; border-radius: 50%; background: #ff2e2e; display: inline-block; animation: stickyPulse 1.2s infinite; }
  .fgl-bar .fgl-nudes { display: block; flex: 0 0 auto; height: 44px; width: 110px; border-radius: 6px; object-fit: cover; }
  .fgl-x { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-muted, #999); font-size: 26px; padding: 4px 10px; cursor: pointer; }
  body { padding-bottom: 56px; }
}


/* 28.11.2026 rollout s fotosporno24: sb6 traka + feedback */
/* 28.11.2026 sticky traka 6 varijanti (sb6) v2: veće gole fotke, grad posjetitelja, izgleda kao obavijest */
.fgl-bar.s6{border-top:0;box-shadow:0 -8px 24px rgba(0,0,0,.55)}
.fgl-bar.s6 a{justify-content:center;gap:12px;color:#fff;text-decoration:none!important;padding:8px 52px 8px 14px;min-height:64px;box-sizing:border-box}
.fgl-bar.s6 .s6t{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;line-height:1.25;display:block}
.fgl-bar.s6 .s6t b{color:#fff}
.fgl-bar.s6 .s6t small{display:block;font-size:13px;color:#ddd;overflow:hidden;text-overflow:ellipsis}
.fgl-bar.s6 img{flex:0 0 auto;object-fit:cover;display:block}
.fgl-bar.s6 .s6ph{display:flex;flex:0 0 auto;gap:4px}
.fgl-bar.s6 .s6ph img{width:52px;height:64px;border-radius:6px;margin:-14px 0 0}
.fgl-bar.s6 .s6one{width:56px;height:56px;border-radius:50%;border:2px solid #ff2d55}
.fgl-bar.s6 .s6blur{filter:blur(6px)}
.fgl-bar.s6 .s6btn{flex:0 0 auto;padding:9px 16px;border-radius:22px;font-weight:700;font-size:15px}
.s6y{background:#ffd400;color:#111}.s6w{background:#fff;color:#b3202a}.s6r{background:#e0102f;color:#fff}.s6g{background:#22b04b;color:#fff}
.fgl-bar.s6v1{background:#141414}.fgl-bar.s6v2{background:#1c1f26}.fgl-bar.s6v3{background:#5c0f1c}
.fgl-bar.s6v4{background:#000}.fgl-bar.s6v5{background:#202020}.fgl-bar.s6v6{background:#b3202a}
@media (max-width:767px){
.fgl-bar.s6 a{flex:1 1 auto;min-width:0;max-width:100%;gap:8px;padding:6px 34px 6px 8px;min-height:58px}
.fgl-bar.s6 .s6t{flex:1 1 auto;font-size:14px}
.fgl-bar.s6 .s6t small{font-size:12px}
.fgl-bar.s6 .s6ph{gap:3px}
.fgl-bar.s6 .s6ph img{width:40px;height:54px;margin-top:-12px}
.fgl-bar.s6 .s6ph img:nth-child(n+3){display:none}
.fgl-bar.s6v3 .s6ph img:nth-child(3){display:block}
.fgl-bar.s6v3 .s6t{white-space:normal;font-size:13px}
.fgl-bar.s6 .s6one{width:46px;height:46px}
.fgl-bar.s6v5 .s6one.s6blur{display:none}
.fgl-bar.s6 .s6btn{padding:7px 11px;font-size:13px}
.fgl-bar.s6 .fgl-x{position:absolute;right:2px;top:50%;transform:translateY(-50%);color:#bbb}
.fgl-bar.s6{position:fixed}
}

/* 28.11.2026 ikona Opinión (feedback) */
#fbBtn{position:fixed;right:0;top:46%;z-index:8990;display:flex;align-items:center;gap:6px;background:var(--accent,#ff2d55);color:#fff;border:0;border-radius:10px 0 0 10px;padding:10px 10px;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.4);font:600 13px/1 inherit}
#fbBtn span{writing-mode:vertical-rl;transform:rotate(180deg);font-size:13px}
#fbBtn{flex-direction:column}
#fbBox{display:none;position:fixed;inset:0;z-index:9500;background:rgba(0,0,0,.65);align-items:center;justify-content:center;padding:16px}
#fbBox.on{display:flex}
#fbBox .fb-card{position:relative;width:100%;max-width:420px;background:#161616;color:#eee;border-radius:14px;padding:20px 18px;box-sizing:border-box}
#fbBox h3{margin:0 0 6px;font-size:19px}#fbBox p{margin:0 0 12px;color:#aaa;font-size:14px}
#fbBox .fb-x{position:absolute;right:8px;top:6px;background:none;border:0;color:#999;font-size:28px;cursor:pointer}
#fbBox .fb-moods{display:flex;gap:10px;margin-bottom:12px}
#fbBox .fb-moods button{flex:1;font-size:26px;background:#222;border:2px solid #333;border-radius:10px;padding:6px;cursor:pointer}
#fbBox .fb-moods button.sel{border-color:var(--accent,#ff2d55);background:#2a1016}
#fbBox textarea,#fbBox input{width:100%;box-sizing:border-box;background:#0e0e0e;color:#fff;border:1px solid #333;border-radius:8px;padding:10px;font-size:16px;margin-bottom:10px}
#fbBox textarea{min-height:110px;resize:vertical}
#fbBox .fb-hp{position:absolute;left:-9999px;width:1px;height:1px}
#fbBox .fb-send{width:100%;background:var(--accent,#ff2d55);color:#fff;border:0;border-radius:24px;padding:12px;font-weight:700;font-size:16px;cursor:pointer}
#fbBox .fb-ok{margin-top:8px;font-size:14px;color:#9fd49f;min-height:18px}
.gv-open #fbBtn,.ms-open #fbBtn{display:none}
@media (max-width:767px){#fbBtn{top:auto;bottom:calc(140px + env(safe-area-inset-bottom));padding:8px 7px;opacity:.92}#fbBtn span{display:none}}

/* ===== 28.11.2026 DRUŠTVENI PAKET s fotosporno24 (faza 2) ===== */
/* 19.10.2026: račun u mobilnoj ladici + ikona u zaglavlju */
.m-acctbox{display:flex;gap:8px;padding:10px 14px 12px;align-items:center}
.m-acctbox a{flex:1;text-align:center;padding:11px 8px;border-radius:10px;font-weight:700;text-decoration:none;font-size:.95rem}
.m-acc-reg{background:var(--accent);color:#fff!important}
.m-acc-log{border:1px solid var(--accent);color:var(--accent)!important}
.m-acc-user{flex:2;font-weight:700}
.m-hbtn.m-acct.on{color:var(--accent)}
.auth-form input[type=email],.auth-form input[type=password],.auth-form input[type=text]{font-size:16px}

/* 19.10.2026: potvrda maila, /bienvenida/, Para ti, razina na profilu */
.verify-box{text-align:center;padding:24px 10px}.verify-box .vb-ico{font-size:48px}.verify-box h2{margin:8px 0}.verify-box .vb-small{opacity:.7;font-size:14px}
.ob-page{max-width:820px}.ob-ok{display:inline-block;background:rgba(46,204,113,.15);color:#2ecc71;padding:6px 12px;border-radius:20px;font-size:14px;margin-top:14px}
.ob-pick{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
.ob-chip{border:1px solid #444;background:#1c1c20;color:#ddd;padding:10px 16px;border-radius:24px;font-size:15px;cursor:pointer}
.ob-chip.on{background:var(--accent);border-color:var(--accent);color:#fff}
.ob-opt{display:block;margin:8px 0;font-size:14px;opacity:.85}
.ob-bar{position:sticky;bottom:64px;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#151518;border:1px solid #333;border-radius:14px;padding:10px 14px;margin:16px 0;z-index:5}
.ob-go{min-width:180px}.ob-go:disabled{opacity:.5}
.ob-how{margin:26px 0;padding:16px;border-radius:12px;background:#1a1a1e;font-size:14px}.ob-how h2{font-size:18px;margin:0 0 8px}.ob-lv{opacity:.75}
.para-ti h2{display:flex;align-items:center;gap:10px}.pt-edit{font-size:13px;font-weight:normal;opacity:.7;margin-left:auto}
.pt-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}.pt-chip{font-size:12px;padding:4px 10px;border-radius:14px;background:#222;color:#ccc;text-decoration:none}
.pt-empty{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:14px 16px;border:1px dashed var(--accent);border-radius:12px;margin:14px 0}
.pt-empty span{opacity:.8;font-size:14px;flex:1 1 220px}.pt-btn{background:var(--accent);color:#fff;padding:8px 16px;border-radius:20px;text-decoration:none;font-weight:bold;font-size:14px}
.lvl{margin-top:8px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;font-size:13px}
.lvl-b{background:var(--accent);color:#fff;padding:3px 10px;border-radius:14px;font-weight:bold}.lvl-p{opacity:.85}
.lvl-bar{flex:1 1 100%;height:6px;background:#2a2a2e;border-radius:4px;overflow:hidden;max-width:320px}.lvl-bar i{display:block;height:100%;background:var(--accent)}
.lvl-s{flex:1 1 100%;opacity:.7}

/* 19.10.2026: gumb za komentar bio bez stila (bijeli pravokutnik) */
.sp-comment-form .cta-btn { align-self:stretch; padding:12px 16px; background:var(--accent); color:#fff; border:0; border-radius:8px; font-weight:700; font-size:.95rem; cursor:pointer; font-family:inherit; }
.sp-comment-form .cta-btn:hover { filter:brightness(1.1); }
.sp-comment-form .cta-btn:disabled { opacity:.6; cursor:default; }
.sp-comment-hint { font-size:.8rem; color:var(--text-muted,#999); margin:0; }
.sp-comment-hint a { color:var(--accent); font-weight:600; }
.nov-mem{margin:12px 0 16px;font-size:14px;line-height:2}.nov-u{display:inline-block;background:#1f1f24;border-radius:14px;padding:0 10px;margin:0 4px 4px 0}.nov-u small{opacity:.6}


/* 13.11.2026: dijeljenje profila */
.prof-share { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:4px 0 18px; }
.prof-share a, .prof-share-btn { padding:8px 14px; border-radius:999px; border:1px solid var(--border); background:transparent; color:var(--text); font:inherit; font-size:14px; text-decoration:none; cursor:pointer; }
.prof-share-btn { background:var(--accent); border-color:var(--accent); color:#fff; font-weight:700; }
.prof-share-ok { color:#5c5; font-size:13px; }

/* 15.11.2026: profilna slika + Mi perfil */
.nav-user { display: inline-flex; align-items: center; gap: 6px; }
.nav-av { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex: none; vertical-align: middle; margin-right: 6px; }
.nav-av-i { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--accent), #ff8a00); color: #fff; font-size: 13px; font-weight: 800; }
.m-acctbox { flex-wrap: wrap; }
.m-acc-user { display: inline-flex; align-items: center; justify-content: center; }
.m-acc-links { flex-basis: 100%; display: flex; gap: 8px; }
.m-acc-links a { border: 1px solid var(--border); color: var(--text); font-weight: 600; }
.prof-av { overflow: hidden; flex: none; }
.prof-av.has-img img, .mp-av.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-page { max-width: 760px; }
.mp-head { display: flex; align-items: center; gap: 16px; margin: 16px 0 18px; }
.mp-av { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; flex: none; background: linear-gradient(135deg, var(--accent), #ff8a00); color: #fff; font-size: 42px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mp-info h1 { margin: 0 0 4px; font-size: 1.5rem; word-break: break-word; }
.mp-level { margin: 0; color: var(--text-muted); font-size: .9rem; }
.mp-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 14px; margin: 0 0 16px; }
.mp-hint { color: var(--text-muted); font-size: .88rem; margin: 6px 0 10px; }
.mp-pend { color: #e0a000; margin: 0 0 10px; }
.mp-btn { display: inline-block; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; cursor: pointer; }
.mp-del { background: none; border: 1px solid var(--border); color: var(--text); padding: 9px 14px; border-radius: 10px; cursor: pointer; margin-left: 8px; }
.mp-msg { display: block; margin-top: 10px; font-size: .9rem; }
.mp-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.mp-link { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 14px; color: var(--text); text-decoration: none; font-weight: 600; }
.mp-link:hover { border-color: var(--accent); }

/* 16.11.2026 društveni dio: /comunidad/, /perfil/?u=, /mensajes/, seguidores modal, „Subida por" */
.msg-badge { display:inline-block; min-width:18px; height:18px; padding:0 5px; border-radius:9px; background:var(--accent); color:#fff; font-size:11px; font-weight:800; line-height:18px; text-align:center; margin-left:4px; vertical-align:middle; }
.msg-badge[hidden] { display:none; }
.m-acct, .nav-msg { position:relative; }
.m-acct .msg-badge { position:absolute; top:-4px; right:-6px; margin:0; }
.prof-btns { display:flex; gap:8px; flex-wrap:wrap; }
.prof-msg { padding:10px 18px; border-radius:999px; border:1px solid var(--border); color:var(--text); text-decoration:none; font-weight:700; }
.prof-msg:hover, .prof-fl:hover { border-color:var(--accent); color:var(--accent); }
.prof-fl { color:inherit; text-decoration:none; }
.dp-badges { display:flex; flex-wrap:wrap; gap:6px; } .dp-badges span { padding:4px 10px; border-radius:999px; border:1px solid var(--border); font-size:13px; }
.sp-by { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:10px 0; }
.sp-by-u { display:flex; align-items:center; gap:8px; color:var(--text); text-decoration:none; font-size:14px; }
.sp-by-u b { color:var(--accent); }
.prof-av.sp-by-av { width:32px; height:32px; font-size:15px; }
.sp-by-msg { padding:5px 12px; border-radius:999px; border:1px solid var(--border); color:var(--text); text-decoration:none; font-size:13px; }
.com-tabs { display:flex; gap:8px; flex-wrap:wrap; margin:6px 0 14px; }
.com-tabs a { padding:8px 14px; border-radius:999px; border:1px solid var(--border); color:var(--text); text-decoration:none; font-size:14px; }
.com-tabs a.on { background:var(--accent); border-color:var(--accent); color:#fff; font-weight:700; }
.com-search input { width:100%; max-width:520px; padding:12px 16px; border-radius:999px; border:1px solid var(--border); background:transparent; color:var(--text); font:inherit; font-size:16px; box-sizing:border-box; }
.com-note { color:var(--text-muted); font-size:14px; margin:12px 0 8px; }
.com-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(190px, 1fr)); gap:12px; }
.com-card { border:1px solid var(--border); border-radius:14px; padding:14px; display:flex; flex-direction:column; gap:10px; min-width:0; }
.com-u { display:flex; flex-direction:column; align-items:center; gap:4px; color:var(--text); text-decoration:none; text-align:center; min-width:0; }
.com-u b { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:100%; }
.com-u small { color:var(--text-muted); font-size:12px; }
.com-av, .msg-av, .fl-av { border-radius:50%; background:linear-gradient(135deg, var(--accent), #ff8a00); color:#fff; font-weight:800; display:flex; align-items:center; justify-content:center; overflow:hidden; flex:none; }
.com-av { width:64px; height:64px; font-size:26px; }
.msg-av { width:40px; height:40px; font-size:17px; }
.fl-av { width:34px; height:34px; font-size:15px; }
.com-av img, .msg-av img, .fl-av img { width:100%; height:100%; object-fit:cover; display:block; }
.com-acts { display:flex; gap:6px; } .com-acts a { flex:1; text-align:center; padding:7px 4px; border-radius:999px; border:1px solid var(--border); color:var(--text); text-decoration:none; font-size:13px; }
.com-acts .com-msg { background:var(--accent); border-color:var(--accent); color:#fff; font-weight:700; }
.com-cta { margin-top:18px; }
.fl-modal { position:fixed; inset:0; background:rgba(0,0,0,.6); z-index:100000; display:flex; align-items:center; justify-content:center; padding:16px; }
.fl-box { background:var(--bg-card); color:var(--text); border:1px solid var(--border); border-radius:14px; width:100%; max-width:380px; max-height:80vh; display:flex; flex-direction:column; }
.fl-h { display:flex; justify-content:space-between; align-items:center; padding:12px 16px; border-bottom:1px solid var(--border); }
.fl-h button { background:none; border:0; color:var(--text); font-size:24px; cursor:pointer; }
.fl-list { overflow:auto; padding:8px 12px; }
.fl-row { display:flex; align-items:center; gap:10px; padding:8px 4px; color:var(--text); text-decoration:none; }
.fl-anon { color:var(--text-muted); font-size:13px; }
.msg-wrap { display:grid; grid-template-columns:320px 1fr; border:1px solid var(--border); border-radius:14px; overflow:hidden; height:calc(100vh - 260px); height:calc(100dvh - 260px); min-height:420px; }
.msg-side { border-right:1px solid var(--border); display:flex; flex-direction:column; min-height:0; }
.msg-side-h { display:flex; align-items:center; justify-content:space-between; padding:12px 14px; border-bottom:1px solid var(--border); }
.msg-side-h h1 { font-size:1.2rem; margin:0; }
.msg-new { padding:6px 12px; border-radius:999px; background:var(--accent); color:#fff; text-decoration:none; font-size:13px; font-weight:700; }
.msg-list { flex:1; overflow:auto; }
.msg-row { display:flex; align-items:center; gap:10px; padding:10px 14px; color:var(--text); text-decoration:none; border-bottom:1px solid var(--border); }
.msg-row.on { background:rgba(255,45,85,.1); }
.msg-rt { flex:1; min-width:0; display:flex; flex-direction:column; }
.msg-rt small { color:var(--text-muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; }
.msg-row.unread .msg-rt small { color:var(--text); font-weight:700; }
.msg-rm { display:flex; flex-direction:column; align-items:flex-end; gap:3px; font-size:11px; color:var(--text-muted); }
.msg-rm i { font-style:normal; } .msg-rm em { font-style:normal; background:var(--accent); color:#fff; border-radius:9px; padding:0 6px; font-weight:800; }
.msg-none, .msg-empty { padding:24px 16px; color:var(--text-muted); text-align:center; }
.msg-pref { padding:10px 14px; font-size:12px; color:var(--text-muted); border-top:1px solid var(--border); display:flex; gap:6px; align-items:center; }
.msg-conv { display:flex; flex-direction:column; min-height:0; min-width:0; }
.msg-ch { display:flex; align-items:center; gap:10px; padding:10px 14px; border-bottom:1px solid var(--border); }
.msg-cu { display:flex; align-items:center; gap:10px; color:var(--text); text-decoration:none; flex:1; min-width:0; }
.msg-back { display:none; background:none; border:0; color:var(--text); font-size:30px; line-height:1; cursor:pointer; padding:0 6px 0 0; }
.msg-menu { position:relative; } .msg-menu summary { list-style:none; cursor:pointer; font-size:22px; padding:0 8px; }
.msg-menu summary::-webkit-details-marker { display:none; }
.msg-menu div { position:absolute; right:0; top:30px; background:var(--bg-card); border:1px solid var(--border); border-radius:10px; z-index:5; min-width:190px; overflow:hidden; }
.msg-menu button { display:block; width:100%; text-align:left; padding:10px 14px; background:none; border:0; color:var(--text); font:inherit; cursor:pointer; }
.msg-menu button:hover { color:var(--accent); }
.msg-body { flex:1; overflow:auto; padding:14px; display:flex; flex-direction:column; gap:6px; }
.msg-day { align-self:center; font-size:11px; color:var(--text-muted); margin:8px 0 2px; }
.msg-b { max-width:78%; padding:8px 12px 6px; border-radius:16px 16px 16px 4px; background:var(--bg-card); border:1px solid var(--border); align-self:flex-start; overflow-wrap:anywhere; font-size:15px; line-height:1.4; }
.msg-b.mine { align-self:flex-end; background:var(--accent); border-color:var(--accent); color:#fff; border-radius:16px 16px 4px 16px; }
.msg-b i { display:block; font-style:normal; font-size:10px; opacity:.65; text-align:right; margin-top:2px; }
.msg-first { color:var(--text-muted); text-align:center; margin:auto; }
.msg-form { display:flex; gap:8px; padding:10px; border-top:1px solid var(--border); align-items:flex-end; }
.msg-form textarea { flex:1; resize:none; padding:10px 14px; border-radius:20px; border:1px solid var(--border); background:transparent; color:var(--text); font:inherit; font-size:16px; max-height:140px; }
.msg-form button { padding:10px 18px; border-radius:999px; border:0; background:var(--accent); color:#fff; font:inherit; font-weight:800; cursor:pointer; }
.msg-form button:disabled { opacity:.5; }
.msg-err { color:#ff6b6b; font-size:13px; margin:0 14px 8px; } .msg-err:empty { display:none; }
.msg-blk { padding:14px; text-align:center; color:var(--text-muted); border-top:1px solid var(--border); margin:0; }
.msg-rules { color:var(--text-muted); font-size:12px; margin-top:10px; }
@media (max-width: 700px) {
  .msg-wrap { grid-template-columns:1fr; height:calc(100vh - 300px); height:calc(100dvh - 300px); min-height:340px; }
  .msg-side { border-right:0; }
  .msg-conv { display:none; }
  .msg-wrap.conv-open .msg-side { display:none; }
  .msg-wrap.conv-open .msg-conv { display:flex; }
  .msg-back { display:block; }
  .com-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); gap:8px; }
  .com-card { padding:10px; }
  .msg-b { max-width:86%; }
}

/* 17.11.2026 zid (muro), avisos, fotke u porukama */
.not-badge { display:inline-block; min-width:18px; height:18px; padding:0 5px; border-radius:9px; background:var(--accent); color:#fff; font-size:11px; font-weight:800; line-height:18px; text-align:center; margin-left:4px; vertical-align:middle; }
.not-badge[hidden] { display:none; }
.wall { margin:8px 0 26px; max-width:720px; }
.wl-f { display:flex; gap:8px; align-items:flex-end; margin-bottom:6px; }
.wl-f textarea { flex:1; resize:vertical; min-height:48px; padding:10px 14px; border-radius:14px; border:1px solid var(--border); background:transparent; color:var(--text); font:inherit; font-size:16px; }
.wl-f button, .wl-rf button { padding:10px 18px; border-radius:999px; border:0; background:var(--accent); color:#fff; font:inherit; font-weight:800; cursor:pointer; }
.wl-guest, .wl-none { color:var(--text-muted); }
.wl-it { display:flex; gap:10px; padding:12px 0; border-top:1px solid var(--border); }
.wl-c .wl-it { border-top:0; padding:8px 0 0; }
.wl-av { width:38px; height:38px; border-radius:50%; background:linear-gradient(135deg, var(--accent), #ff8a00); color:#fff; font-weight:800; display:flex; align-items:center; justify-content:center; overflow:hidden; flex:none; font-size:16px; }
.wl-av img { width:100%; height:100%; object-fit:cover; display:block; }
.wl-c .wl-av { width:30px; height:30px; font-size:13px; }
.wl-bd { flex:1; min-width:0; }
.wl-h { display:flex; gap:8px; align-items:baseline; } .wl-h a { color:var(--text); font-weight:700; text-decoration:none; } .wl-h i { font-style:normal; color:var(--text-muted); font-size:12px; }
.wl-x { margin:3px 0 4px; overflow-wrap:anywhere; line-height:1.45; }
.wl-acts { display:flex; gap:12px; } .wl-acts button { background:none; border:0; padding:0; color:var(--text-muted); font:inherit; font-size:12px; cursor:pointer; } .wl-acts button:hover { color:var(--accent); }
.wl-rf { display:flex; gap:6px; margin-top:8px; } .wl-rf input { flex:1; min-width:0; padding:8px 12px; border-radius:999px; border:1px solid var(--border); background:transparent; color:var(--text); font:inherit; font-size:16px; }
.wl-rf button { padding:8px 14px; }
.av-list { max-width:720px; }
.av-it { display:flex; gap:10px; align-items:center; padding:12px; border-bottom:1px solid var(--border); color:var(--text); text-decoration:none; border-radius:10px; }
.av-it.new { background:rgba(255,77,106,.08); }
.av-tx { flex:1; min-width:0; overflow-wrap:anywhere; } .av-tx i { display:block; font-style:normal; color:var(--text-muted); font-size:12px; margin-top:2px; } .av-q { color:var(--text-muted); }
#avPref { border-top:0; padding-left:0; margin-top:12px; }
.msg-ph { cursor:pointer; font-size:22px; padding:6px 4px; line-height:1; }
.msg-b.has-img { padding:4px 4px 6px; }
.msg-img img { display:block; max-width:240px; max-height:320px; width:auto; border-radius:12px; }
.msg-b.has-img i { margin-right:6px; }

/* 17.11.2026 popravak: [hidden] mora pobijediti display:grid/flex (inbox se vidio gostima, forme odgovora uvijek otvorene) */
[hidden] { display: none !important; }
.com-page a:not([class]), .msg-page a:not([class]), .av-page a:not([class]), .prof-page a:not([class]), .mp-page a:not([class]),
.msg-empty a, .msg-none a, .wl-guest a, .wl-none a { color: var(--accent); text-decoration: none; font-weight: 600; }
.com-page a:not([class]):hover, .msg-page a:not([class]):hover, .msg-empty a:hover, .wl-guest a:hover { text-decoration: underline; }
.guest-card { max-width: 520px; margin: 28px auto 40px; padding: 34px 28px 26px; text-align: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; }
.gc-ic { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 34px; background: linear-gradient(135deg, var(--accent), #ff8a00); }
.guest-card h1 { margin: 0 0 8px; font-size: 1.6rem; }
.guest-card > p { color: var(--text-muted); margin: 0 0 16px; line-height: 1.5; }
.gc-feats { list-style: none; padding: 0; margin: 0 auto 22px; display: inline-flex; flex-direction: column; gap: 8px; text-align: left; }
.gc-feats li { font-size: .95rem; }
.gc-btns { display: flex; flex-direction: column; gap: 10px; }
.gc-btn { display: inline-block; padding: 13px 22px; border-radius: 999px; font-weight: 800; text-decoration: none; font-size: 1rem; text-align: center; }
.gc-pri { background: var(--accent); color: #fff !important; }
.gc-pri:hover { filter: brightness(1.1); }
.gc-sec { border: 1px solid var(--border); color: var(--text) !important; }
.gc-sec:hover { border-color: var(--accent); }
.guest-card .gc-sm { font-size: 12px; margin: 14px 0 0; }
.com-cta { margin-top: 22px; padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-card); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.com-cta .gc-btn { margin-left: auto; padding: 10px 20px; }
.cta-btn { display: inline-block; padding: 11px 22px; border-radius: 999px; background: var(--accent); color: #fff !important; font-weight: 800; text-decoration: none; }
.msg-empty { margin: auto; }
.msg-conv:has(> .msg-empty:only-child) { align-items: center; justify-content: center; }
.com-page .com-tabs a:not(.on) { color: var(--text); font-weight: 400; }
.com-page .crumbs a, .msg-page .crumbs a, .av-page .crumbs a, .prof-page .crumbs a, .mp-page .crumbs a { color: var(--text-muted); font-weight: 400; }

/* ── 17.11.2026 ALBUMI (erome stil): /albumes/, /album/, /subir-album/, albumi na profilu ── */
.alb-top { display:flex; gap:16px; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; }
.alb-new-btn, .alb-promo { display:inline-block; text-decoration:none; }
.alb-new-btn { padding:11px 20px; border-radius:999px; background:var(--accent); color:#fff !important; font-weight:800; white-space:nowrap; margin-top:8px; }
.alb-promo { display:block; margin:0 0 18px; padding:14px 16px; border-radius:12px; border:1px dashed var(--accent); color:var(--text) !important; background:var(--bg-card); }
.alb-promo b { color:var(--accent); }
.alb-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:16px; margin:6px 0 18px; }
.alb-card { background:var(--bg-card); border:1px solid var(--border); border-radius:12px; overflow:hidden; display:flex; flex-direction:column; }
.alb-cv { position:relative; display:block; aspect-ratio:4/3; background:#111; overflow:hidden; }
.alb-cv img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .25s; }
.alb-card:hover .alb-cv img { transform:scale(1.04); }
.alb-cv-e { display:flex; align-items:center; justify-content:center; height:100%; font-size:42px; font-style:normal; }
.alb-bd { position:absolute; left:8px; bottom:8px; display:flex; gap:6px; }
.alb-bd span { background:rgba(0,0,0,.72); color:#fff; font-size:12px; font-weight:700; padding:3px 8px; border-radius:6px; }
.alb-st { position:absolute; right:8px; top:8px; font-style:normal; font-size:12px; font-weight:800; padding:3px 8px; border-radius:6px; background:#e67e22; color:#fff; }
.alb-st-draft { background:#555; } .alb-st-rejected { background:#c0392b; }
.alb-meta { padding:10px 12px 12px; }
.alb-t { display:block; color:var(--text) !important; font-weight:800; text-decoration:none; line-height:1.3; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.alb-sub { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-top:6px; font-size:13px; color:var(--text-muted); }
.alb-sub a { display:flex; align-items:center; gap:6px; color:var(--text-muted) !important; text-decoration:none; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.alb-cnt { white-space:nowrap; }
.alb-av { width:24px; height:24px; border-radius:50%; background:var(--accent); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-size:12px; font-weight:800; flex:none; overflow:hidden; }
.alb-av img { width:100%; height:100%; object-fit:cover; }
.alb-more { text-align:center; margin:0 0 24px; }
.alb-more button { padding:11px 26px; border-radius:999px; border:1px solid var(--border); background:var(--bg-card); color:var(--text); font:inherit; font-weight:700; cursor:pointer; }
/* album */
.alb-view { max-width:960px; }
.alb-head h1 { margin:6px 0 8px; }
.alb-by { display:flex; flex-wrap:wrap; gap:6px 16px; align-items:center; color:var(--text-muted); font-size:14px; margin-bottom:16px; }
.alb-by a { display:flex; align-items:center; gap:8px; color:var(--text) !important; text-decoration:none; }
.alb-by .alb-av { width:34px; height:34px; font-size:15px; }
.alb-pend { background:var(--bg-card); border-left:4px solid #e67e22; padding:12px 14px; border-radius:8px; margin:0 0 16px; }
.alb-items { display:flex; flex-direction:column; gap:14px; align-items:center; }
.alb-it { margin:0; width:100%; text-align:center; }
.alb-it img, .alb-it video { max-width:100%; max-height:88vh; border-radius:8px; background:#000; display:block; margin:0 auto; height:auto; }
.alb-it video { width:100%; }
.alb-img a { display:inline-block; cursor:zoom-in; }
.alb-proc { padding:60px 16px; background:var(--bg-card); border:1px dashed var(--border); border-radius:8px; color:var(--text-muted); }
.alb-acts { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin:20px 0 6px; }
.alb-acts button, .alb-acts a, .alb-own a, .alb-own button { padding:10px 16px; border-radius:999px; border:1px solid var(--border); background:var(--bg-card); color:var(--text) !important; font:inherit; font-size:14px; font-weight:700; cursor:pointer; text-decoration:none; }
.alb-like.on { background:var(--accent); border-color:var(--accent); color:#fff !important; }
.alb-rep { color:var(--text-muted) !important; }
.alb-ok { font-size:14px; color:var(--text-muted); }
.alb-own { display:flex; gap:10px; flex-wrap:wrap; margin:10px 0; }
.alb-com { margin-top:26px; }
.alb-lb { position:fixed; inset:0; z-index:9999; background:rgba(0,0,0,.94); display:flex; align-items:center; justify-content:center; }
.alb-lb[hidden] { display:none !important; }
.alb-lb-in { display:flex; align-items:center; justify-content:center; width:100%; height:100%; padding:44px 8px; box-sizing:border-box; }
.alb-lb-in img { max-width:100%; max-height:100%; object-fit:contain; }
.alb-lb button { position:absolute; background:rgba(255,255,255,.12); color:#fff; border:0; font-size:34px; line-height:1; width:48px; height:48px; border-radius:50%; cursor:pointer; }
.alb-lb-x { top:10px; right:10px; } .alb-lb-p { left:8px; top:50%; transform:translateY(-50%); } .alb-lb-n { right:8px; top:50%; transform:translateY(-50%); }
/* subir-album */
.alb-up { max-width:760px; }
.au-step label { display:block; font-weight:700; margin:14px 0 6px; }
.au-step input[type=text], .au-step select { width:100%; box-sizing:border-box; padding:12px 14px; border-radius:10px; border:1px solid var(--border); background:var(--bg-input); color:var(--text); font:inherit; font-size:16px; }
.au-step .au-ok { display:flex; gap:10px; align-items:flex-start; font-weight:400; font-size:14px; color:var(--text-muted); margin:16px 0; }
.au-ok input { margin-top:3px; width:18px; height:18px; flex:none; }
.au-drop { display:flex !important; flex-direction:column; align-items:center; gap:4px; padding:34px 16px; border:2px dashed var(--border); border-radius:14px; cursor:pointer; text-align:center; background:var(--bg-card); }
.au-drop.over, .au-drop:hover { border-color:var(--accent); }
.au-drop input { display:none; }
.au-drop b { font-size:18px; color:var(--accent); } .au-drop span { color:var(--text-muted); font-size:14px; font-weight:400; }
.au-list { display:flex; flex-direction:column; gap:8px; margin:14px 0; }
.au-it { display:flex; align-items:center; gap:12px; padding:8px; border:1px solid var(--border); border-radius:10px; background:var(--bg-card); }
.au-th { width:56px; height:56px; border-radius:8px; background:#111; flex:none; display:flex; align-items:center; justify-content:center; font-size:24px; overflow:hidden; }
.au-th img { width:100%; height:100%; object-fit:cover; }
.au-in { flex:1; min-width:0; }
.au-in b { display:block; font-size:14px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.au-in small { color:var(--text-muted); font-size:12px; }
.au-bar { height:6px; background:var(--border); border-radius:3px; overflow:hidden; margin:5px 0 3px; }
.au-bar i { display:block; height:100%; width:0; background:var(--accent); transition:width .2s; }
.au-it.done .au-bar i { background:var(--success); }
.au-it.bad { border-color:#c0392b; } .au-it.bad small { color:#e74c3c; }
.au-rm { border:0; background:transparent; color:var(--text-muted); font-size:24px; cursor:pointer; padding:0 6px; }
.au-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin:10px 0 30px; }
.au-actions .gc-btn { border:0; cursor:pointer; font:inherit; font-weight:800; }
.au-actions .gc-btn:disabled { opacity:.45; cursor:default; }
#auCreate { border:0; cursor:pointer; font:inherit; font-weight:800; }
.prof-albs h2 .count { color:var(--text-muted); font-weight:400; font-size:.8em; }
@media (max-width:600px) {
  .alb-grid { grid-template-columns:repeat(2,1fr); gap:10px; }
  .alb-meta { padding:8px 9px 10px; } .alb-sub { font-size:12px; } .alb-cnt { display:none; }
  .alb-it img, .alb-it video { border-radius:0; }
  .alb-items { margin:0 -16px; }
}
.alb-page a:not([class]), .alb-view a:not([class]), .alb-up a:not([class]) { color: var(--accent); text-decoration: none; font-weight: 600; }
.alb-page .crumbs a, .alb-view .crumbs a, .alb-up .crumbs a { color: var(--text-muted); font-weight: 400; }
.alb-page .com-tabs a:not(.on) { color: var(--text); }

/* 17.11.2026: banner + opis profila, kartice Fotos/Vídeos, uređivanje albuma, albumi na kategoriji */
.prof-banner { margin: 14px 0 0; border-radius: 14px; overflow: hidden; height: clamp(110px, 24vw, 260px); background: var(--bg-card); }
.prof-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prof-head.has-bn { margin-top: -38px; padding: 0 14px; position: relative; }
.prof-head.has-bn .prof-av { border: 4px solid var(--bg); box-sizing: content-box; }
.prof-head.has-bn .prof-info { padding-top: 34px; }
.prof-bio { margin: -6px 0 18px; padding: 12px 14px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; white-space: normal; overflow-wrap: anywhere; }
.mp-bn { margin: 0 0 10px; border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 1; }
.mp-bn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-bio { width: 100%; box-sizing: border-box; background: var(--bg-input); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 10px; font: inherit; margin: 0 0 8px; resize: vertical; }
button.mp-btn { border: 0; cursor: pointer; font: inherit; }
.alb-ptabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.alb-ptabs button { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-card); color: var(--text); font: inherit; font-size: 14px; cursor: pointer; }
.alb-ptabs button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.alb-filt { margin: 0 0 14px; }
.alb-filt select, .alb-edit input, .alb-edit select { background: var(--bg-input); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 9px 10px; font: inherit; max-width: 100%; }
.alb-edit { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 14px; margin: 0 0 16px; display: grid; gap: 10px; }
.alb-edit label { display: grid; gap: 4px; font-size: 14px; color: var(--text-muted); }
.alb-edit button { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-input); color: var(--text); font: inherit; cursor: pointer; }
.alb-edit button[type=submit] { background: var(--accent); border-color: var(--accent); color: #fff; }
.alb-own .alb-own-add { background: var(--accent); border-color: var(--accent); color: #fff !important; }
.alb-it { position: relative; }
.alb-it-p { position: absolute; left: 8px; top: 8px; z-index: 2; background: #e67e22; color: #fff; font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.alb-it.is-p { outline: 2px dashed #e67e22; outline-offset: -2px; }
.au-back { font-size: 14px; font-weight: 400; margin-left: 8px; color: var(--accent); }
.au-it.is-pub small { color: var(--success); }
.cat-albs { margin: 0 0 22px; }
.cat-albs-h { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 0 0 10px; }
.cat-albs-h h2 { margin: 0; font-size: 20px; }
.cat-albs-h a { color: var(--accent); font-size: 14px; }
@media (max-width: 600px) {
  .prof-head.has-bn { margin-top: -28px; padding: 0 8px; }
  .prof-head.has-bn .prof-info { padding-top: 0; }
}

/* 19.11.2026: uploader u galeriji, @korisnik na UGC kartici, Top usuarios */
.gv-by { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 10px 0; background: rgba(0,0,0,.85); flex-wrap: nowrap; }
.gv-by[hidden] { display: none; }
.gallery-viewer.gv-chrome-hidden .gv-by { display: none; }
.gv-by a, .gv-by button { text-decoration: none; color: #fff; font-size: .85rem; white-space: nowrap; }
.gv-by-u { display: flex; align-items: center; gap: 7px; min-width: 0; overflow: hidden; }
.gv-by-u span:last-child { overflow: hidden; text-overflow: ellipsis; }
.gv-by-av { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; overflow: hidden; }
.gv-by-av img { width: 100%; height: 100%; object-fit: cover; }
.gv-by-fol { border: 0; border-radius: 999px; padding: 6px 12px; background: var(--accent); font-weight: 700; cursor: pointer; }
.gv-by-fol.on { background: rgba(255,255,255,.15); }
.gv-by-msg, .gv-by-more { padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.12); }
@media (max-width: 480px) { .gv-by { justify-content: flex-start; } .gv-by-more { display: none; } }
.ci-by { color: var(--accent); font-weight: 700; text-decoration: none; margin-right: 6px; max-width: 50%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topu { margin: 24px 0; }
.topu[hidden] { display: none; }
.topu h2 small { font-size: .7em; opacity: .65; font-weight: 400; }
.topu-sub { opacity: .8; font-size: .9rem; margin: 4px 0 12px; }
.topu-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.topu-it { min-width: 0; }
.topu-img { position: relative; display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 3/4; background: #222; }
.topu-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.topu-r { position: absolute; top: 6px; left: 6px; background: rgba(0,0,0,.75); color: #fff; padding: 2px 8px; border-radius: 999px; font-size: .85rem; }
.topu-r.p1 { background: #d4a017; } .topu-r.p2 { background: #9aa0a6; } .topu-r.p3 { background: #b06a2c; }
.topu-m { display: flex; justify-content: space-between; gap: 6px; font-size: .8rem; padding: 4px 2px; }
.topu-m a { color: var(--accent); font-weight: 700; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topu-m i { font-style: normal; opacity: .7; white-space: nowrap; }
@media (max-width: 480px) { .topu-list { grid-template-columns: repeat(2, 1fr); } }
.topu-sub a { color: var(--accent); }


/* 25.11.2026 razine: okvir avatara, privilegije, insignija, Destacada */
.prof-av.lvf2{box-shadow:0 0 0 3px #4caf50}.prof-av.lvf3{box-shadow:0 0 0 3px #2196f3}.prof-av.lvf4{box-shadow:0 0 0 3px #00bcd4}
.prof-av.lvf5{box-shadow:0 0 0 3px #ffc107}.prof-av.lvf6,.prof-av.lvf7,.prof-av.lvf8{box-shadow:0 0 0 3px var(--accent),0 0 14px 2px var(--accent);animation:lvglow 2.4s ease-in-out infinite}
.prof-av.lvf8{box-shadow:0 0 0 3px #ffd700,0 0 16px 3px #ffd700}
@keyframes lvglow{50%{box-shadow:0 0 0 3px #ffd700,0 0 22px 5px #ff8a00}}
.lvl-perks{flex:1 1 100%;margin-top:6px;font-size:13px}.lvl-perks summary{cursor:pointer;font-weight:700;color:var(--accent)}
.lvl-perks ul{list-style:none;padding:0;margin:8px 0 0}.lvl-perks li{padding:3px 0}.lvl-perks li.off{opacity:.45}.lvl-perks li small{opacity:.7;margin-left:4px}
.lv-ic{font-style:normal;margin-right:3px}.lv-hi{color:#ffc107!important}.lv-gold{color:#ffd700!important;text-shadow:0 0 6px rgba(255,215,0,.5)}
.image-card.lv-destc{outline:2px solid #ffc107;outline-offset:-2px}
.lv-dest{position:absolute;top:30px;right:8px;z-index:3;background:#ffc107;color:#111;font-size:11px;font-weight:800;padding:2px 7px;border-radius:10px;pointer-events:none}


/* 28.11.2026 mobilni QA: zaglavlje profila (gumbi u svom redu, brojke ne lome riječ po riječ), linkovi na statistici, ikona Opinión manja */
@media (max-width:767px){
  .prof-head{flex-wrap:wrap;row-gap:10px}
  .prof-head .prof-info{flex:1 1 calc(100% - 110px);min-width:0}
  .prof-head .prof-btns{flex:1 1 100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .prof-head .prof-btns>*{text-align:center;justify-content:center}
  .prof-head.has-bn .prof-info{padding-top:30px}
  #fbBtn{padding:7px 6px;border-radius:8px 0 0 8px;opacity:.85}
  #fbBtn svg{width:18px;height:18px}
}
.mst a:not(.cta-btn):not(.mst-p):not(.mst-c):not(.mst-tc){color:var(--accent)}

/* 28.11.2026 ✔ verificirani profil */
.vf-b{display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;border-radius:50%;background:#1d9bf0;color:#fff;font-size:9px;font-style:normal;margin-left:4px;vertical-align:middle;line-height:1}
.prof-info h1 .vf-b{width:20px;height:20px;font-size:12px}

/* 28.11.2026 izazov tjedna */
.upload-reto{background:#2a0d16;border:1px solid var(--accent);border-radius:10px;padding:10px 12px;margin:10px 0;font-size:15px}
.upload-reto a{color:var(--accent)}.upload-reto b{color:#fff}
.rt-ban{display:flex;align-items:center;gap:12px;background:linear-gradient(90deg,#2a0d16,#1b1b1f);border:1px solid var(--accent);border-radius:14px;padding:12px 14px;margin:14px 0;color:#fff;text-decoration:none}
.rt-ban .rt-bl{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.rt-ban small{color:var(--accent);font-weight:700;font-size:12px;text-transform:uppercase}
.rt-ban b{font-size:18px}.rt-ban .rt-bl>span{font-size:13px;color:#bbb}
.rt-ban .rt-bw{display:flex;flex-direction:column;align-items:center;gap:3px;flex:none}.rt-ban .rt-bw img{width:52px;height:64px;object-fit:cover;border-radius:8px;border:2px solid #ffd400}
.rt-ban .rt-bw small{color:#ffd400;text-transform:none;font-size:11px;text-align:center;max-width:80px;overflow:hidden;text-overflow:ellipsis}
.rt-ban .rt-bb{flex:none;background:var(--accent);border-radius:20px;padding:8px 14px;font-weight:700;font-size:14px}
@media (max-width:480px){.rt-ban .rt-bw{display:none}.rt-ban b{font-size:16px}}

/* ── 28.11.2026 feature 3/5/6/7/8: Destacadas, odgovori/@, samo pratitelji, pozivnice, priče 24 h ── */
.mn-a{color:var(--accent);font-weight:600;text-decoration:none}
.mn-dd{position:absolute;z-index:9999;width:240px;background:#1f1f25;border:1px solid #3a3a44;border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.5);overflow:hidden}
.mn-dd button{display:flex;align-items:center;gap:8px;width:100%;border:0;background:none;color:#fff;font-size:15px;padding:10px 12px;text-align:left;cursor:pointer}
.mn-dd button:hover,.mn-dd button:focus{background:#2c2c35}
.mn-dd img,.mn-dd i{width:26px;height:26px;border-radius:50%;object-fit:cover;flex:none;display:inline-flex;align-items:center;justify-content:center;background:#444;font-style:normal;font-size:13px}
.cm-rep{margin-left:22px;border-left:2px solid #333;padding-left:10px}
.cm-reply{background:none;border:0;color:#999;font-size:13px;padding:4px 0;cursor:pointer}.cm-reply:hover{color:var(--accent)}
.cm-replyto{font-size:14px;color:#ccc;margin:0 0 6px}.cm-replyto button{background:none;border:0;color:#999;font-size:18px;cursor:pointer;vertical-align:middle}
.wl-it.cm-rep{margin-left:26px}
.ref-note{background:#1b2a1f;border:1px solid #2f6b3d;border-radius:12px;padding:10px 14px;font-size:15px;margin:0 0 12px}
/* Destacadas */
.bst{margin:4px 0 14px}.bst-h{display:flex;justify-content:space-between;align-items:baseline;margin:0 0 8px}.bst-h b{font-size:17px}.bst-h a{font-size:14px;color:var(--accent)}
.bst-row{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;-webkit-overflow-scrolling:touch;scrollbar-width:none}.bst-row::-webkit-scrollbar{display:none}
.bst-c{position:relative;flex:0 0 150px;scroll-snap-align:start;border-radius:12px;overflow:hidden;background:#1b1b1f;border:2px solid #ffd400;text-decoration:none;color:#fff}
.bst-c img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.bst-l{position:absolute;top:6px;left:6px;background:#ffd400;color:#111;font-size:11px;font-weight:800;border-radius:10px;padding:2px 7px}
.bst-u{display:block;font-size:12px;padding:5px 7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bst-add{display:flex;flex-direction:column;align-items:center;justify-content:center;border:2px dashed #555;min-height:136px;text-align:center;padding:8px}
.bst-add span{font-size:26px}.bst-add b{font-size:14px;margin-top:4px}.bst-add small{font-size:12px;color:#999}
@media (min-width:768px){.bst-c{flex-basis:190px}}
/* Samo za pratitelje */
.fo-lock{position:relative;border-radius:16px;overflow:hidden;background:#1b1b1f;margin:14px 0 24px;min-height:300px;display:flex;align-items:center;justify-content:center}
.fo-lock>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(6px);transform:scale(1.1);opacity:.75}
.fo-in{position:relative;text-align:center;padding:28px 18px;max-width:440px;background:rgba(0,0,0,.55);border-radius:16px;margin:16px}
.fo-ic{font-size:40px}.fo-in h2{margin:6px 0}.fo-in p{color:#ddd;line-height:1.5}.fo-in .gc-btn{border:0;cursor:pointer;font-size:16px;width:100%}.fo-sm{font-size:12px;color:#aaa!important;margin-top:8px}
.fo-tag{color:#ffd400}
.alb-fo{position:absolute;top:8px;right:8px;background:rgba(0,0,0,.75);color:#ffd400;font-style:normal;font-size:12px;font-weight:700;border-radius:10px;padding:3px 8px}
.au-fo{background:#24201a;border:1px solid #5a4a1a;border-radius:10px;padding:10px 12px}
/* Priče 24 h */
.stb{margin:10px 0 6px}.stb-row{display:flex;gap:12px;overflow-x:auto;padding:4px 2px 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}.stb-row::-webkit-scrollbar{display:none}
.stb-it{flex:0 0 auto;width:70px;background:none;border:0;color:#ddd;padding:0;cursor:pointer;text-align:center}
.stb-c{position:relative;display:block;width:66px;height:66px;margin:0 auto 4px;border-radius:50%;padding:3px;background:conic-gradient(var(--accent),#ffb300,var(--accent))}
.stb-it.seen .stb-c{background:#444}
.stb-c img,.stb-c>i{display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:50%;object-fit:cover;border:3px solid var(--bg,#0e0e10);background:#222;font-style:normal;font-size:24px;box-sizing:border-box}
.stb-add .stb-c{background:#333}.stb-add em{position:absolute;right:-1px;bottom:-1px;width:22px;height:22px;border-radius:50%;background:var(--accent);color:#fff;font-style:normal;font-weight:800;font-size:17px;line-height:20px;border:2px solid var(--bg,#0e0e10)}
.stb-it small{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stb-it small .vf-b{font-size:10px}
.stv{position:fixed;inset:0;z-index:10000;background:#000;display:flex;align-items:center;justify-content:center}.stv[hidden]{display:none}
.stv-in{position:relative;width:100%;height:100%;max-width:480px;background:#000;user-select:none;-webkit-user-select:none}
.stv-img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.stv-pg{position:absolute;top:8px;left:8px;right:8px;display:flex;gap:4px;z-index:3}.stv-pg i{flex:1;height:3px;background:rgba(255,255,255,.35);border-radius:2px;overflow:hidden}.stv-pg b{display:block;height:100%;background:#fff}
.stv-hd{position:absolute;top:18px;left:10px;right:6px;display:flex;align-items:center;justify-content:space-between;z-index:3}
.stv-u{display:flex;align-items:center;gap:8px;color:#fff;text-decoration:none;font-size:15px;text-shadow:0 1px 3px #000}.stv-u img{width:34px;height:34px;border-radius:50%;object-fit:cover}.stv-u small{color:#ddd;font-size:12px}
.stv-x{background:none;border:0;color:#fff;font-size:34px;line-height:1;padding:4px 10px;cursor:pointer;text-shadow:0 1px 3px #000}
.stv-p,.stv-n{position:absolute;top:70px;bottom:70px;width:40%;background:none;border:0;z-index:2;cursor:pointer;-webkit-tap-highlight-color:transparent}.stv-p{left:0}.stv-n{right:0;width:60%}
.stv-ft{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:center;gap:10px;padding:14px 12px calc(14px + env(safe-area-inset-bottom));z-index:3;background:linear-gradient(transparent,rgba(0,0,0,.7))}
.stv-ft a,.stv-ft button,.stv-ft span{color:#fff;background:rgba(255,255,255,.15);border:0;border-radius:20px;padding:9px 14px;font-size:14px;text-decoration:none;cursor:pointer}
.stu{position:fixed;inset:0;z-index:10001;background:rgba(0,0,0,.85);display:flex;align-items:center;justify-content:center;padding:16px}.stu[hidden]{display:none}
.stu-in{position:relative;width:100%;max-width:420px;max-height:100%;overflow:auto;background:#1b1b1f;border-radius:16px;padding:16px}
.stu-in h3{margin:0 0 2px}.stu-s{color:#999;font-size:13px;margin:0 0 10px}.stu-in img{width:100%;max-height:46vh;object-fit:contain;border-radius:10px;background:#000}
.stu-ok{display:flex;gap:8px;align-items:flex-start;font-size:13px;color:#ccc;margin:10px 0}.stu-ok input{margin-top:3px;flex:none}
.stu-err{color:#ff6b81;min-height:18px;font-size:14px;margin:0 0 8px}.stu-go{width:100%;border:0;font-size:16px;padding:13px;cursor:pointer}.stu-go:disabled{opacity:.6}
.stu-x{position:absolute;top:6px;right:8px;background:none;border:0;color:#fff;font-size:28px;cursor:pointer}

/* 28.11.2026 feedback: gumbi tema + linkovi „Sugerencias" */
#fbBox .fb-topics{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}#fbBox .fb-topics button{background:#222;border:1px solid #333;color:#ddd;border-radius:16px;padding:6px 10px;font-size:13px;cursor:pointer}#fbBox .fb-topics button.sel{border-color:var(--accent);background:#2a1016;color:#fff}
.foot-fb{color:var(--accent)!important;font-weight:700}

/* 29.11.2026 /videos/ feed + /subir-video/ */
.vf-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;margin:12px 0}
.vf-card{display:block;color:inherit;text-decoration:none;border-radius:10px;overflow:hidden;background:var(--bg-card)}
.vf-th{position:relative;aspect-ratio:16/9;background:#000;overflow:hidden}
.vf-th img,.vf-th .vf-pv{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.vf-th i{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:40px;font-style:normal}
.vf-d{position:absolute;right:6px;bottom:6px;background:rgba(0,0,0,.78);color:#fff;font:600 12px/1 system-ui,sans-serif;padding:4px 6px;border-radius:4px;z-index:2}
.vf-fo,.vf-n{position:absolute;left:6px;top:6px;background:rgba(0,0,0,.7);color:#fff;font:600 11px/1 system-ui,sans-serif;padding:4px 6px;border-radius:4px;z-index:2}
.vf-n{left:auto;right:6px}
.vf-card:hover .vf-th img{transform:scale(1.03);transition:transform .25s}
.vf-m{padding:8px 10px 10px}
.vf-m b{display:block;font-size:14px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vf-m span{display:block;font-size:12px;color:var(--text-muted);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vu-page input[type=text],.vu-page select{width:100%;margin:4px 0 12px}
.vu-drop{margin:8px 0 14px}
.vu-drop.dragover{outline:2px dashed var(--accent)}
.vu-prog{display:flex;align-items:center;gap:10px;margin:10px 0}
.vu-bar{flex:1;height:10px;background:var(--border);border-radius:6px;overflow:hidden}
.vu-bar i{display:block;height:100%;width:0;background:var(--accent);transition:width .2s}
.vu-prog span{font-size:13px;min-width:70px;text-align:right}
@media (max-width:600px){.vf-grid{grid-template-columns:1fr 1fr;gap:10px}.vf-m b{font-size:13px}}
/* 29.11.2026 nav: stane i s „Vídeos” (prije se prelijevao na 1280–1440 px) */
@media (min-width: 901px) { .nav-bar .nav-item { padding: 14px 7px; font-size: .85rem; } .nav-search input { width: 110px; } .nav-search input:focus { width: 180px; } }
/* 29.11.2026 En línea / Cerca de ti / Quién vio mi perfil / Siguiendo */
.on-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 2px var(--bg-card);vertical-align:middle}
.is-on{box-shadow:0 0 0 2px var(--bg-card),0 0 0 4px #22c55e}   /* avatari imaju overflow:hidden → zeleni prsten umjesto točke */
.com-online{margin:8px 0 14px;padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:var(--bg-card)}
.com-online>b{display:block;font-size:14px;margin-bottom:8px}
.com-online>div,.sf-fol{display:flex;gap:12px;overflow-x:auto;padding-bottom:4px}
.com-online a,.sf-fol a{display:flex;flex-direction:column;align-items:center;gap:4px;color:var(--text);text-decoration:none;font-size:11px;min-width:58px;max-width:70px}
.com-online a span:last-child,.sf-fol a span:last-child{max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sf-fol{margin:4px 0 14px}
.com-view{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 10px}
.com-view button{border:1px solid var(--border);background:var(--bg-card);color:var(--text);border-radius:20px;padding:7px 14px;font:inherit;font-size:14px;cursor:pointer}
.com-view button.on{background:var(--accent);border-color:var(--accent);color:#fff}
.com-meta{color:var(--text)!important;opacity:.85}
.prof-meta{margin:2px 0 6px;font-size:14px;color:var(--text-muted)}
.pm-on{color:#22c55e;font-weight:600}
.mp-dt{display:grid;grid-template-columns:2fr 1fr;gap:10px;margin:8px 0}
.mp-dt label{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--text-muted)}
.mp-dt input,.mp-dt select{padding:9px 10px;border-radius:8px;border:1px solid var(--border);background:var(--bg-input);color:var(--text);font:inherit;font-size:16px}
.mp-pv{display:flex;flex-direction:column;gap:6px;margin-top:6px}
.mp-pv-it{display:flex;align-items:center;gap:10px;color:var(--text);text-decoration:none}
.mp-pv-it small{margin-left:auto;color:var(--text-muted)}
@media (max-width:600px){.mp-dt{grid-template-columns:1fr 1fr}}
.mp-pv .com-av{width:40px;height:40px;font-size:17px}


/* kartice bez info-bloka: samo red s @korisnikom na korisničkim fotkama */
.image-card .card-info{padding:5px 8px 7px}.image-card .ci-meta{display:flex;align-items:center;gap:6px;font-size:.8rem;min-width:0}
