/* ═══════════════════════════════════════
   ŠKOLA ZA DIZAJN — app.css
   Instagram-like mobile theme
═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #0d0805;
  --surface:    #1a100a;
  --surface2:   #241610;
  --gold:       #c9943a;
  --gold-light: #e8b86d;
  --cream:      #f0e6d3;
  --muted:      #8a7060;
  --accent:     #8b2d1a;
  --border:     rgba(201,148,58,0.15);
  --red:        #e84040;
  --nav-h:      64px;
  --header-h:   56px;
  --font-body:  'DM Sans', sans-serif;
  --font-display:'Cormorant Garamond', serif;
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); }

/* ── LAYOUT WRAPPER ── */
#szd-app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background: var(--bg);
}

/* ── HEADER ── */
.szd-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.szd-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.03em;
}
.szd-logo em {
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
}
.szd-header-actions { display: flex; gap: 16px; align-items: center; }
.szd-icon-btn {
  background: none;
  border: none;
  color: var(--cream);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.szd-icon-btn:hover { background: var(--surface2); color: var(--gold); }
.szd-icon-btn svg { width: 22px; height: 22px; }

/* ── BOTTOM NAV ── */
.szd-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: var(--nav-h);
  display: flex;
  background: var(--surface);
  border-top: 1px solid var(--border);
  z-index: 200;
}
.szd-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.szd-nav-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 2px;
  background: var(--gold);
  border-radius: 0 0 3px 3px;
  transform: scaleX(0);
  transition: transform 0.25s;
}
.szd-nav-btn.active,
.szd-nav-btn:hover { color: var(--gold); }
.szd-nav-btn.active::before { transform: scaleX(1); }
.szd-nav-btn svg { width: 22px; height: 22px; }

/* ── MAIN CONTENT ── */
.szd-main {
  padding-bottom: calc(var(--nav-h) + 8px);
}

/* ════════════════════════════════════
   STORIES
════════════════════════════════════ */
.szd-stories {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.szd-stories-scroll {
  display: flex;
  gap: 12px;
  padding: 0 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.szd-stories-scroll::-webkit-scrollbar { display: none; }

.szd-story {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  cursor: pointer;
}
.szd-story-ring {
  width: 64px; height: 64px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg, var(--gold), var(--accent), var(--gold-light));
  transition: transform 0.2s, opacity 0.2s;
}
.szd-story-ring:active { transform: scale(0.93); }
.szd-story-ring.seen {
  background: var(--surface2);
  outline: 2px solid var(--muted);
  padding: 2px;
}
.szd-story-avatar {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--bg);
  background: var(--surface2);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: var(--gold-light);
  font-weight: 600;
  text-transform: uppercase;
}
.szd-story-name {
  font-size: 10px;
  color: var(--muted);
  max-width: 64px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

/* ════════════════════════════════════
   FEED POSTS
════════════════════════════════════ */
.szd-post {
  border-bottom: 1px solid var(--border);
  animation: fadeUp 0.4s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.szd-post-header {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  gap: 10px;
}
.szd-post-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--border);
  background: var(--surface2);
  flex-shrink: 0;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-light);
  text-transform: uppercase;
}
.szd-post-meta { flex: 1; min-width: 0; }
.szd-post-username {
  font-size: 13px;
  font-weight: 500;
  color: var(--cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.szd-post-location {
  font-size: 11px;
  color: var(--muted);
}
.szd-post-more {
  background: none; border: none;
  color: var(--muted); font-size: 20px;
  padding: 4px 2px;
  line-height: 1;
}

/* Post media */
.szd-post-media {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: var(--surface2);
}
.szd-post-media-wrap {
  position: relative;
  overflow: hidden;
}
.szd-post-type-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(13,8,5,0.75);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 10px;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

/* Post actions */
.szd-post-actions {
  display: flex;
  align-items: center;
  padding: 8px 12px 4px;
  gap: 12px;
}
.szd-action {
  background: none; border: none;
  display: flex; align-items: center; gap: 5px;
  color: var(--cream);
  font-size: 13px;
  padding: 4px;
  transition: transform 0.15s, color 0.15s;
}
.szd-action svg { width: 24px; height: 24px; }
.szd-action:active { transform: scale(1.25); }
.szd-action.liked { color: var(--red); }
.szd-action.saved { color: var(--gold); }
.szd-action-spacer { margin-left: auto; }

.szd-post-likes { padding: 0 14px 3px; font-size: 13px; font-weight: 500; }
.szd-post-caption {
  padding: 2px 14px 6px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.szd-post-caption strong { color: var(--cream); font-weight: 500; margin-right: 4px; }
.szd-post-tags { color: var(--gold-light); font-size: 12px; margin-top: 2px; }
.szd-post-time {
  padding: 0 14px 10px;
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ════════════════════════════════════
   REELS / VIDEO PAGE
════════════════════════════════════ */
.szd-reels-page {
  height: calc(100vh - var(--header-h) - var(--nav-h));
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.szd-reels-page::-webkit-scrollbar { display: none; }

.szd-reel {
  height: calc(100vh - var(--header-h) - var(--nav-h));
  scroll-snap-align: start;
  position: relative;
  background: #000;
  overflow: hidden;
}
.szd-reel video,
.szd-reel-thumb {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.szd-reel-thumb {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #1a0a00, #2d1408, #0d0805);
  font-size: 80px;
}
.szd-reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(13,8,5,0.92) 100%);
  pointer-events: none;
}
.szd-reel-progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.2);
  z-index: 3;
}
.szd-reel-progress-bar {
  height: 100%;
  background: var(--gold);
  width: 0%;
  transition: width 0.1s linear;
}
.szd-reel-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(201,148,58,0.6);
  background: rgba(201,148,58,0.2);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: opacity 0.3s, transform 0.2s;
}
.szd-reel-play svg { width: 28px; height: 28px; color: var(--gold-light); margin-left: 4px; }
.szd-reel-play.hidden { opacity: 0; pointer-events: none; }

.szd-reel-info {
  position: absolute;
  bottom: 20px; left: 14px; right: 74px;
  z-index: 2;
}
.szd-reel-user {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
}
.szd-reel-user-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-light);
  background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
  color: var(--gold-light);
  text-transform: uppercase;
  overflow: hidden;
  object-fit: cover;
}
.szd-reel-username { font-size: 13px; font-weight: 500; color: #fff; }
.szd-reel-caption { font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.45; }
.szd-reel-tags { font-size: 12px; color: var(--gold-light); margin-top: 4px; }

.szd-reel-actions {
  position: absolute;
  right: 12px; bottom: 24px;
  display: flex; flex-direction: column;
  gap: 20px; align-items: center;
  z-index: 2;
}
.szd-reel-action {
  background: none; border: none;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: #fff; font-size: 11px;
  transition: transform 0.15s;
}
.szd-reel-action:active { transform: scale(1.3); }
.szd-reel-action.liked { color: var(--red); }
.szd-reel-action svg { width: 26px; height: 26px; }

/* ════════════════════════════════════
   PHOTOS / GALLERY PAGE
════════════════════════════════════ */
.szd-gallery-header {
  padding: 14px 16px 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  color: var(--gold-light);
  border-bottom: 1px solid var(--border);
}
.szd-filter-bar {
  display: flex; gap: 8px;
  padding: 10px 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.szd-filter-bar::-webkit-scrollbar { display: none; }
.szd-filter {
  flex-shrink: 0;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.szd-filter.active,
.szd-filter:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
  font-weight: 500;
}

.szd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 2px;
}
.szd-grid-item {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface2);
  cursor: pointer;
  position: relative;
}
.szd-grid-item.wide { grid-column: span 2; aspect-ratio: 2/1; }
.szd-grid-item img,
.szd-grid-item video {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.szd-grid-item:active img,
.szd-grid-item:active video { transform: scale(0.95); }
.szd-grid-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13,8,5,0.7) 100%);
  opacity: 0;
  transition: opacity 0.2s;
  display: flex; align-items: flex-end;
  padding: 8px;
}
.szd-grid-item:hover .szd-grid-overlay { opacity: 1; }
.szd-grid-type {
  font-size: 10px;
  color: var(--gold-light);
  background: rgba(13,8,5,0.7);
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

/* ════════════════════════════════════
   PDF MAGAZINE
════════════════════════════════════ */
.szd-pdf-card {
  margin: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}
.szd-pdf-card:active { transform: scale(0.98); border-color: var(--gold); }
.szd-pdf-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--surface2), #2d1408);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  position: relative;
}
.szd-pdf-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}
.szd-pdf-info { padding: 12px 14px; }
.szd-pdf-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 4px;
}
.szd-pdf-meta { font-size: 12px; color: var(--muted); }

/* ════════════════════════════════════
   SEARCH
════════════════════════════════════ */
.szd-search-wrap {
  padding: 10px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--header-h);
  z-index: 100;
}
.szd-search-box {
  display: flex;
  align-items: center;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  gap: 8px;
  transition: border-color 0.2s;
}
.szd-search-box:focus-within { border-color: var(--gold); }
.szd-search-box svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.szd-search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--cream);
  font-size: 14px;
  font-family: var(--font-body);
}
.szd-search-input::placeholder { color: var(--muted); }

.szd-search-results { padding: 8px 0; }
.szd-search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.15s;
}
.szd-search-result-item:active { background: var(--surface); }
.szd-search-result-thumb {
  width: 52px; height: 52px;
  border-radius: 8px;
  background: var(--surface2);
  flex-shrink: 0;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  object-fit: cover;
}
.szd-search-result-info { flex: 1; min-width: 0; }
.szd-search-result-title {
  font-size: 14px;
  color: var(--cream);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.szd-search-result-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.szd-search-result-type {
  font-size: 10px;
  color: var(--gold-light);
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 10px;
  flex-shrink: 0;
}
.szd-no-results {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  font-size: 14px;
}

/* ════════════════════════════════════
   STORY VIEWER (FULLSCREEN)
════════════════════════════════════ */
.szd-story-viewer {
  position: fixed; inset: 0;
  z-index: 999;
  background: #000;
  display: none;
  flex-direction: column;
}
.szd-story-viewer.open { display: flex; }

.szd-sv-bars {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex; gap: 3px;
  padding: 12px 12px 0;
  z-index: 3;
}
.szd-sv-bar {
  flex: 1; height: 2px;
  background: rgba(255,255,255,0.3);
  border-radius: 1px;
  overflow: hidden;
}
.szd-sv-bar.done { background: rgba(255,255,255,0.9); }
.szd-sv-bar.active .szd-sv-fill {
  height: 100%;
  background: #fff;
  animation: svfill 5s linear forwards;
}
@keyframes svfill { from { width: 0%; } to { width: 100%; } }

.szd-sv-top {
  position: absolute;
  top: 24px; left: 12px; right: 12px;
  display: flex; align-items: center; gap: 10px;
  z-index: 3;
}
.szd-sv-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  background: var(--surface2);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
  color: var(--gold-light);
  text-transform: uppercase;
  flex-shrink: 0;
  object-fit: cover;
}
.szd-sv-meta { flex: 1; }
.szd-sv-name { font-size: 13px; font-weight: 500; color: #fff; }
.szd-sv-time { font-size: 11px; color: rgba(255,255,255,0.6); }
.szd-sv-close {
  background: none; border: none;
  color: #fff; font-size: 22px; padding: 6px;
  line-height: 1;
}

.szd-sv-media {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.szd-sv-media img,
.szd-sv-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}
.szd-sv-media-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #1a0500, #2a1000, #0a0500);
}
.szd-sv-emoji {
  position: relative; z-index: 1;
  font-size: 72px;
}
.szd-sv-caption {
  position: absolute;
  bottom: 40px; left: 20px; right: 20px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  color: var(--gold-light);
  text-align: center;
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}
.szd-sv-nav {
  position: absolute; inset: 0;
  display: flex; z-index: 2;
}
.szd-sv-nav-l, .szd-sv-nav-r { flex: 1; }

/* ════════════════════════════════════
   BUDDYPRESS OVERRIDES
════════════════════════════════════ */
#buddypress {
  max-width: 480px;
  margin: 0 auto;
  padding: 14px;
  font-family: var(--font-body);
}
#buddypress .standard-form input[type="text"],
#buddypress .standard-form input[type="email"],
#buddypress .standard-form input[type="password"],
#buddypress .standard-form textarea {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--cream);
  padding: 10px 14px;
  font-family: var(--font-body);
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}
#buddypress .standard-form input:focus,
#buddypress .standard-form textarea:focus {
  border-color: var(--gold);
}
#buddypress .standard-form label { color: var(--muted); font-size: 13px; margin-bottom: 4px; display: block; }
#buddypress input[type="submit"],
#buddypress a.button,
#buddypress button.submit {
  background: var(--gold);
  color: var(--bg);
  border: none;
  border-radius: 10px;
  padding: 10px 24px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
#buddypress input[type="submit"]:hover { background: var(--gold-light); }

/* Messages */
#buddypress .message-box,
#buddypress #message-thread-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  color: var(--cream);
}
#buddypress .message-metadata { color: var(--muted); font-size: 11px; }

/* Members */
#buddypress ul.item-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}
#buddypress ul.item-list .item-avatar img {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border);
}
#buddypress .item-title a { color: var(--cream); font-weight: 500; }

/* ════════════════════════════════════
   COMMENTS
════════════════════════════════════ */
.szd-comments { padding: 0 14px 14px; }
.szd-comments-title {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
  cursor: pointer;
}
.szd-comment {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.szd-comment-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--surface2);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600;
  color: var(--gold-light);
  text-transform: uppercase;
  overflow: hidden;
}
.szd-comment-body { flex: 1; }
.szd-comment-user { font-size: 12px; font-weight: 500; color: var(--cream); }
.szd-comment-text { font-size: 13px; color: var(--muted); line-height: 1.45; }
.szd-comment-time { font-size: 10px; color: var(--muted); margin-top: 2px; }

.szd-add-comment {
  display: flex; gap: 10px; align-items: center;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
}
.szd-comment-input {
  flex: 1;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px 14px;
  color: var(--cream);
  font-size: 13px;
  outline: none;
  font-family: var(--font-body);
  transition: border-color 0.2s;
}
.szd-comment-input::placeholder { color: var(--muted); }
.szd-comment-input:focus { border-color: var(--gold); }
.szd-comment-submit {
  background: none; border: none;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 8px;
  transition: color 0.2s;
}
.szd-comment-submit:hover { color: var(--gold-light); }

/* ════════════════════════════════════
   WP ULIKE OVERRIDE
════════════════════════════════════ */
.wpulike .wpulike_btn {
  background: none !important;
  border: none !important;
  color: var(--cream) !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 13px !important;
  padding: 4px !important;
  cursor: pointer !important;
  font-family: var(--font-body) !important;
  transition: color 0.2s !important;
}
.wpulike .wpulike_btn:hover,
.wpulike .wpulike_btn.clicked { color: var(--red) !important; }
.wpulike .count-box {
  font-size: 12px !important;
  color: inherit !important;
  background: none !important;
}

/* ════════════════════════════════════
   REGISTRATION / LOGIN
════════════════════════════════════ */
.szd-auth-wrap {
  max-width: 380px;
  margin: 0 auto;
  padding: 40px 20px;
}
.szd-auth-logo {
  text-align: center;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.szd-auth-logo em { font-style: italic; font-weight: 300; color: var(--cream); }
.szd-auth-sub {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}
.szd-auth-form { display: flex; flex-direction: column; gap: 14px; }
.szd-input-group { display: flex; flex-direction: column; gap: 5px; }
.szd-input-group label { font-size: 12px; color: var(--muted); }
.szd-input-group input {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--cream);
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}
.szd-input-group input:focus { border-color: var(--gold); }
.szd-btn-primary {
  background: var(--gold);
  color: var(--bg);
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}
.szd-btn-primary:hover { background: var(--gold-light); }
.szd-auth-switch {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}
.szd-auth-switch a { color: var(--gold); text-decoration: none; }

/* ════════════════════════════════════
   MISC
════════════════════════════════════ */
.szd-section-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  color: var(--gold-light);
  padding: 14px 14px 10px;
}
.szd-divider { height: 1px; background: var(--border); margin: 0 14px; }
.szd-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.szd-empty svg { width: 40px; height: 40px; margin: 0 auto 12px; opacity: 0.4; }
.szd-loading {
  display: flex; justify-content: center;
  padding: 30px;
}
.szd-spinner {
  width: 28px; height: 28px;
  border: 2px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Toast notification */
.szd-toast {
  position: fixed;
  bottom: calc(var(--nav-h) + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--cream);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 12px;
  z-index: 998;
  opacity: 0;
  transition: all 0.3s;
  pointer-events: none;
  white-space: nowrap;
  max-width: 90%;
}
.szd-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Scrollbar global */
* { scrollbar-width: none; }
*::-webkit-scrollbar { display: none; }
