.intro-content { width: 100%; max-width: 520px; background: #121212; border-radius: 16px; border: 1px solid #1e1e1e; padding: 16px; }
.intro-slide { display: none; }
.intro-slide.is-active { display: block; }
.intro-tagline { color: #ddd; }
.intro-muted { color: #aaa; font-size: 13px; }
.intro-contact { font-weight: 700; }
.intro-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.intro-dots { display: flex; gap: 6px; }
.intro-dots .dot { width: 6px; height: 6px; border-radius: 50%; background: #444; display: inline-block; }
.intro-dots .dot.is-active { background: var(--accent); }
.intro-buttons { display: flex; gap: 8px; }
.offboard-list { margin: 12px 0 0; padding: 0 18px; color: #ddd; line-height: 1.5; }
.offboard-list li { margin: 6px 0; }
.hidden { display: none; }
:root {
  --bg: #0a0a0a;
  --fg: #ffffff;
  --muted: #bdbdbd;
  --accent: #1e90ff; /* NRK-aktig blå */
  --nrk: #1a1a1a;
  --card: #111111;
  --red: #ff3355;
  --bottom-nav-h: 64px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background-color: #000000;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-image:
    radial-gradient(70vw 70vh at 20% 0%, rgba(75,92,255,0.55) 0%, transparent 70%),
    radial-gradient(70vw 70vh at 95% 100%, rgba(122,60,255,0.45) 0%, transparent 70%),
    linear-gradient(180deg, rgba(122, 60, 255, 0.247) 0%, rgba(123, 0, 139, 0.486) 50%, #4e006d 100%);
  color: var(--fg);
  overflow: hidden; /* unngå sidescroll, app håndterer navigasjon */
}

#app-root { display: grid; place-items: center; min-height: 100vh; background: transparent; }
.login-screen { position: fixed; inset: 0; background: linear-gradient(180deg, #0f0f12, #0a0a0a); display: grid; place-items: center; z-index: 1000; }
.login-card { width: 360px; max-width: 92vw; background: var(--card); border: 1px solid #1f1f1f; border-radius: 16px; padding: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.login-card h1 { margin: 0 0 8px 0; }
.login-card p { margin: 0 0 16px 0; color: var(--muted); }
.login-card input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid #2a2a2a; background: #141414; color: #fff; margin-bottom: 8px; }
.login-error { min-height: 18px; color: #ff7088; font-size: 12px; margin-bottom: 8px; }

.hidden { display: none; }

/* Phone frame */
.phone-frame {
  position: relative;
  height: min(940px, 100vh);
  width: calc(min(940px, 100vh) * 0.5625);
  background: #000;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
  border: 8px solid #111;
}

/* Når appen er åpen: bruk hele nettleserens høyde/bredde */
#app-screen .phone-frame { transform-origin: top left; }
.follow-toast { background: rgba(0,0,0,0.85); color: #fff; padding: 8px 12px; min-width: 160px; border-radius: 10px; font-size: 12px; opacity: 0; transition: opacity 400ms ease; pointer-events: none; }
.follow-toast.is-visible { opacity: 1; }

.notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 40px;
  background: #000;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  z-index: 5;
}
@media (max-width: 900px) {
  .phone-frame {
    width: 100vw;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    height: calc(var(--vh, 1vh) * 100);
    border: 0; border-radius: 0; box-shadow: none;
  }
  .notch { display: none; }
}

@media (hover: none) and (pointer: coarse) {
  .phone-frame {
    width: 100vw;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    height: calc(var(--vh, 1vh) * 100);
    border: 0; border-radius: 0; box-shadow: none;
  }
  .notch { display: none; }
}

.home-wallpaper {
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 600px at 70% -10%, #7ac4ff55, transparent 40%),
              radial-gradient(1000px 500px at -10% 30%, #ff6ea955, transparent 45%),
              #161616;
}

.app-icon {
  position: absolute;
  left: 24px;
  top: 120px;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(135deg, #3959ff, #7a4cff 40%, #a44bff 100%);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(0,0,0,0.4), inset 0 0 0 2px #2a2a2a;
}
.app-icon:active { transform: scale(0.98); }
.app-icon .app-icon-mark { font-weight: 800; letter-spacing: 0.5px; }
.app-icon .app-icon-label { font-size: 12px; color: #f0f0f0; margin-top: -4px; }

/* App */
.app-header {
  position: absolute;
  top: 44px;
  left: 0;
  right: 0;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
}
.sound-btn { pointer-events: auto; position: absolute; left: 12px; top: 16px; z-index: 4; background: rgba(20,20,20,0.85); border: 1px solid #2a2a2a; border-radius: 20px; height: 40px; width: 40px; display: inline-grid; place-items: center; color: #fff; cursor: pointer; }
.sound-btn svg { width: 22px; height: 22px; fill: currentColor; display: block; }
.sound-btn .icon-sound-on { display: block; }
.sound-btn .icon-sound-off { display: none; }
/* Slash over ikonet når mutet */
.sound-btn::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 19px;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transform: rotate(45deg);
  opacity: 0;
  pointer-events: none;
}
.sound-btn[aria-pressed="false"]::after { opacity: 0.95; }
.app-header .app-title { font-weight: 700; pointer-events: auto; }
.app-header .app-title { display: none; }
.language-chip {
  pointer-events: auto;
  padding: 4px 8px;
  background: #222;
  color: #fff;
  border-radius: 12px;
  font-size: 12px;
  border: 1px solid #333;
  cursor: pointer;
}

.app-main { position: absolute; inset: 0; padding-bottom: 64px; }

.view { display: none; height: 100%; }
.view.is-active { display: block; }
#view-community { overflow: auto; -webkit-overflow-scrolling: touch; }
#view-community { scrollbar-width: none; }
#view-community::-webkit-scrollbar { display: none; }
/* Søk: scrollbar skjules, men innhold kan scrolles */
#view-search { overflow: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
#view-search::-webkit-scrollbar { display: none; }

/* Gjør profilvisningen scrollbar og gi litt bunnpadding for å ikke kollidere med bunnmenyen */
#view-profile { overflow: auto; padding-top: 64px; padding-bottom: 90px; background: #0a0a0a; scrollbar-width: none; }
#view-profile::-webkit-scrollbar { display: none; }
.profile-content { overflow: visible; max-height: none; }

/* Feed */
.feed-container {
  position: absolute;
  inset: 0; /* fyll hele høyden, bunnmeny overlayes */
  overflow: hidden; /* vi håndterer swipe i JS */
  background: #000;
}

.feed-item {
  position: absolute;
  left: 0; right: 0;
  top: 0; bottom: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  background: #000;
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.video-wrapper {
  position: relative;
  width: 100%; height: 100%;
  background: #000;
}

/* Sentral lastespinner for aktiv video */
.video-loader {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -22px;
  margin-top: -22px;
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255,255,255,0.25);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: nrk-spin 1s linear infinite;
  z-index: 2;
  display: none;
  pointer-events: none;
}
.video-wrapper.is-loading .video-loader { display: block; }
@keyframes nrk-spin { to { transform: rotate(360deg); } }

/* Global loader (før første video lastes) */
.global-loader {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -24px;
  margin-top: -24px;
  width: 48px; height: 48px;
  border: 4px solid rgba(255,255,255,0.25);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: nrk-spin 1s linear infinite;
  z-index: 5;
}
.global-loader.hidden { display: none; }

/* Mobilblokkering */
.mobile-block {
  position: fixed;
  inset: 0;
  background: radial-gradient(1200px 600px at 70% -10%, #7ac4ff33, transparent 40%),
              radial-gradient(1000px 500px at -10% 30%, #ff6ea933, transparent 45%),
              #0b0b0c;
  display: none;
  place-items: center;
  z-index: 99999;
  padding: 24px;
  pointer-events: auto;
}
.mobile-block .mobile-card {
  width: min(520px, 92vw);
  background: #121216;
  border: 1px solid #1e1e22;
  border-radius: 16px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.mobile-block .mobile-card h1 { margin: 0 0 10px 0; font-size: 22px; }
.mobile-block .mobile-card p { margin: 0 0 14px 0; color: #ddd; line-height: 1.5; }
.mobile-block .mobile-actions { margin-top: 8px; }
.mobile-block .mobile-note { margin-top: 10px; font-size: 12px; color: #aaa; }

@media (hover: none) and (pointer: coarse) {
  .mobile-block { display: grid; }
  #app-root { display: none !important; visibility: hidden !important; }
}

@media (max-width: 900px) {
  .mobile-block { display: grid; }
  #app-root { display: none !important; visibility: hidden !important; }
}

video.feed-video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 200ms ease;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7) 100%);
  padding-right: 120px; /* plass til større actions */
  padding-bottom: 73px; /* flytt tekst 15px ned, fortsatt over bunnmeny */
  pointer-events: none; /* la klikk treffe videoen som standard */
}
.video-overlay .title,
.video-overlay .desc,
.video-overlay .text-combined,
.actions { pointer-events: auto; }
.video-overlay .title,
.video-overlay .text-combined { position: relative; z-index: 2; cursor: pointer; }

.meta-row { display: block; padding-right: 0px; }
.title, .desc { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; width: 100%; }
.title { font-weight: 700; -webkit-line-clamp: 2; }
.desc { font-size: 13px; color: #d0d0d0; margin-top: 4px; line-height: 1.3; -webkit-line-clamp: 3; }
.text-combined { font-size: 13px; color: #d0d0d0; font-weight: 400; margin-top: 6px; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; -webkit-line-clamp: 3; }
.text-combined b, .text-combined strong { font-weight: 700; }
.topic-title { font-size: 13px; font-weight: 700; color: #e5e5e5; margin-top: 8px; }
.video-overlay:not(.expanded) .title,
.video-overlay:not(.expanded) .text-combined { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.video-overlay.expanded .title, .video-overlay.expanded .desc, .video-overlay.expanded .text-combined { -webkit-line-clamp: unset; overflow: visible; }
.video-overlay.expanded .meta-row,
.video-overlay.expanded .text-combined {
  background: rgba(0,0,0,0.7);
  padding: 8px 10px;
}
.video-overlay.expanded .meta-row { border-radius: 10px 10px 0 0; }
.video-overlay.expanded .text-combined { border-radius: 0 0 10px 10px; margin-top: 0; }
.cta { color: #b0e1ff; font-size: 13px; }
.video-overlay .cta { display: none !important; }

.actions {
  position: absolute;
  right: 8px;
  bottom: 88px;
  display: grid;
  gap: 10px;
}
.actions * { pointer-events: auto; }
.action-btn {
  width: 40px; height: 40px; border-radius: 20px; border: 1px solid #2a2a2a;
  background: rgba(31,31,31,0.7); color: #fff; cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  position: relative;
  display: grid;
  place-items: center;
}
.follow-toggle .icon-check { display: none; }
.follow-toggle[data-following="true"] .icon-plus { display: none; }
.follow-toggle[data-following="true"] .icon-check { display: block; }
.follow-toggle { border: 1px solid #2a2a2a; background: rgba(31,31,31,0.7); color:#fff; }
.follow-toggle[data-following="true"] { color: var(--accent); }
.like-btn[data-liked="true"] { color: var(--accent); }
.btn-count { position: absolute; bottom: 1px; left: 50%; transform: translateX(-50%); font-size: 10px; color: #ddd; pointer-events: none; }
/* Flate ikon-stiler */
.action-btn svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.community-btn svg { width: 22px; height: 22px; }
.community-btn { position: relative; }
.red-dot { position: absolute; right: -2px; top: -2px; width: 10px; height: 10px; background: var(--red); border-radius: 50%; }
.open-btn { background: var(--accent); color: #fff; border-color: transparent; }
.open-btn:hover { filter: brightness(1.05); }

/* Skjul gammel tellerlinje om den finnes */
.counts { display: none; }
.action-btn:active { transform: scale(0.98); }

.counts { position: absolute; left: 16px; bottom: 86px; color: #fff; font-size: 13px; }

/* Bottom nav */
.bottom-nav {
  position: absolute; left: 0; right: 0; bottom: 0; height: 64px;
  background: rgba(14,14,14,0.6); backdrop-filter: blur(8px); border-top: 1px solid rgba(30,30,30,0.6);
  display: grid; grid-template-columns: repeat(4, 1fr);
  z-index: 3;
}
.bottom-nav .bottom-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
}
.tab-btn { background: none; border: none; color: #ddd; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; padding: 0 8px; width: 100%; min-width: 0; position: relative; }
.tab-btn.is-active { color: #fff; }
.tab-btn.is-active::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 6px; height: 3px; background: var(--accent); border-radius: 2px; }

.notif-dot { display: inline-block; width: 9px; height: 9px; background: var(--red); border-radius: 50%; margin-left: 6px; visibility: hidden; box-shadow: 0 0 0 2px rgba(14,14,14,0.6); }
.notif-dot.is-visible { visibility: visible; }

/* Modal */
.modal { position: absolute; inset: 0; background: rgba(0,0,0,0.82); display: grid; place-items: center; padding: 0; }
#nrk-modal { background: rgba(0,0,0,0.85); }
#language-modal { background: rgba(0,0,0,0.85); }
#location-modal { background: rgba(0,0,0,0.85); }
#thread-modal { background: rgba(0,0,0,0.9); }
.offboard-content { width: 100%; max-width: 560px; background: #0e0e12; border: 1px solid #202022; border-radius: 16px; padding: 16px; }
.offboard-slide { display: none; }
.offboard-slide.is-active { display: block; text-align: center; }
#thread-modal .modal-content { height: 100%; margin: 0; border-radius: 0; background: rgba(0,0,0,0.8); border: none; display: grid; grid-template-rows: auto 1fr auto; padding-bottom: 72px; }
#thread-modal .modal-header { position: sticky; top: 0; border-bottom: none; z-index: 1; }
#thread-modal .modal-header h2 { font-size: 14px; font-weight: 700; margin: 0; }
#thread-modal #thread-posts { display: flex; flex-direction: column-reverse; overflow: auto; padding: 8px 0; }
#thread-modal .comment-thread li { border-bottom: none; }
#thread-modal .comment-form { margin-bottom: 8px; }
.modal.hidden { display: none; }
.modal-content { width: 100%; background: transparent; border-radius: 16px; border: none; max-height: calc(100% - 72px); overflow: auto; margin: 36px 12px; }
.modal#comments-modal { place-items: stretch center; }
#comments-modal .modal-content { height: 100%; margin: 0; border-radius: 0; background: rgba(17,17,17,0.96); border: 1px solid #1e1e1e; display: grid; grid-template-rows: auto 1fr auto; }
#comments-modal .modal-header { position: sticky; top: 0; border-bottom: 1px solid #1f1f1f; z-index: 1; }
#comments-modal .comment-thread { display: flex; flex-direction: column-reverse; overflow: hidden; padding: 8px 0; }
#comments-modal .comment-form { background: rgba(14,14,14,0.75); backdrop-filter: blur(6px); }
#comments-modal .comment-form input { border-radius: 999px; padding: 12px 14px; background: #0f0f0f; }
.nrk-links { padding: 12px; display: grid; gap: 10px; }
.nrk-link { display: block; text-align: center; padding: 12px; background: #141414; border: 1px solid #2a2a2a; border-radius: 12px; color: #fff; text-decoration: none; font-weight: 700; }
.nrk-link:hover { background: #1a1a1a; }
.modal-header { display: flex; align-items: center; justify-content: center; padding: 12px 12px; border-bottom: none; text-align: center; }
.close-btn { background: none; border: none; color: #bbb; font-size: 18px; cursor: pointer; }
.close-btn:focus-visible, .send-btn:focus-visible, .tab-btn:focus-visible, .action-btn:focus-visible, .lang-btn:focus-visible, .follow-btn:focus-visible, .back-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 10px; }

.comment-thread { list-style: none; margin: 0; padding: 0; }
.comment-thread li { padding: 10px 12px; border-bottom: 1px solid #1a1a1a; }
.comment-meta { font-size: 12px; color: #aaa; }
.comment-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.comment-like-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid #2a2a2a; color: #bbb; padding: 4px 8px; border-radius: 999px; cursor: pointer; }
.comment-like-btn[data-liked="true"] { color: var(--accent); border-color: #1f2b3d; background: rgba(30,144,255,0.08); }
.comment-like-btn svg { width: 16px; height: 16px; fill: currentColor; }
.comment-text { margin-top: 6px; }

.comment-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px; border-top: 1px solid #1f1f1f; position: sticky; bottom: 0; background: var(--card); }
.comment-form input { background: #141414; border: 1px solid #2a2a2a; color: #fff; border-radius: 12px; padding: 10px 12px; }
.send-btn { background: var(--accent); color: #001018; border: none; border-radius: 12px; padding: 10px 14px; font-weight: 700; cursor: pointer; }
.send-btn:hover { filter: brightness(1.1); }

/* Search */
.search-wrapper { padding: 72px 16px 90px; display: grid; gap: 12px; }
.search-wrapper input[type="search"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #2a2a2a;
  background: #0f0f0f;
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.02);
}
.suggestions-title { font-weight: 700; color: #eaeaea; margin-top: 4px; }
.suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.suggestion-chip { padding: 8px 12px; background: #121212; border: 1px solid #242424; border-radius: 999px; font-size: 12px; cursor: pointer; color: #eee; }
.suggestion-chip:hover { background: #1a1a1a; }
.search-results { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.search-results .suggestions-title,
.search-results .conversation-list,
.search-results .suggestions { grid-column: 1 / -1; }
.suggestions-title { margin: 12px 0 6px; }

/* Community */
.community-wrapper { padding: 72px 12px 90px; }
.conversation-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.conversation-item { padding: 12px; background: #121212; border-bottom: 1px solid #1e1e1e; border-radius: 0; display: flex; align-items: center; justify-content: space-between; }
.conversation-item.has-update { position: relative; }
.conversation-item.has-update::after { content: ""; position: absolute; right: 10px; top: 10px; width: 10px; height: 10px; background: var(--red); border-radius: 50%; }
.conversation-list { border: 1px solid #1e1e1e; border-radius: 12px; overflow: hidden; }
.conversation-item .row-title { font-weight: 700; }
.conversation-item .right-label { color: #aaa; font-size: 12px; }

/* Særstil for "Samtalene nå" (popular-conversations) som to linjer med teller på linje 2 */
.popular-item { display: grid; align-items: start; justify-content: stretch; gap: 2px; }
.popular-item .row-title { justify-self: start; }
.popular-item .conv-count { justify-self: end; font-size: 11px; font-style: italic; color: #bbb; opacity: 0.85; }

/* Profile */
.profile-header { position: relative; top: 0; display: flex; align-items: center; gap: 12px; padding: 12px 12px 8px; background: #0a0a0a; z-index: auto; }
.back-btn { background: none; border: 1px solid #2a2a2a; color: #fff; border-radius: 10px; padding: 6px 10px; cursor: pointer; }
.profile-toprow { display: flex; align-items: center; gap: 10px; }
.profile-logo { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, #3959ff, #7a4cff 40%, #a44bff); border: 1px solid #2a2a2a; box-shadow: inset 0 0 0 2px #2a2a2a; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 14px; text-transform: uppercase; }
.profile-meta h2 { margin: 0 0 6px 0; }
.profile-stats { display: none; }
.profile-actions-row { display: flex; align-items: center; gap: 10px; padding: 0 12px 12px; }
.profile-actions-row .follow-btn, .profile-actions-row #profile-link-main { height: 36px; padding: 6px 10px; border-radius: 10px; display: inline-flex; align-items: center; }
.profile-description { padding: 0 12px 12px; color: #ddd; font-size: 13px; }
.follow-btn { background: #1a1a1a; border: 1px solid #2a2a2a; color: #fff; border-radius: 10px; padding: 6px 10px; cursor: pointer; }
.profile-links { display: flex; gap: 10px; padding: 0 12px 12px; border-bottom: 1px solid #1b1b1b; }
.profile-links a { color: #b0e1ff; text-decoration: none; }
.profile-links a:hover { text-decoration: underline; }
.profile-content { padding: 12px; padding-bottom: 78px; }
.section-header { display: flex; align-items: center; justify-content: space-between; }
.section-header h3 { margin: 0; }
.link-btn { background: none; border: none; color: #b0e1ff; cursor: pointer; font-weight: 700; }
.profile-content .section-header { margin-top: 20px; margin-bottom: 8px; }
.profile-content .section-header:first-child { margin-top: 0; }
.profile-clips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.clip-card { background: #111; border: 1px solid #1f1f1f; border-radius: 10px; overflow: hidden; position: relative; }
.clip-card .thumb { width: 100%; aspect-ratio: 9/16; object-fit: cover; }
.clip-card .caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px; font-size: 12px; color: #fff; background: rgba(0,0,0,0.55); font-weight: 700; }
.thread-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.thread-list li { padding: 10px; background: #121212; border: 1px solid #1e1e1e; border-radius: 10px; display: grid; gap: 6px; }
.thread-title { font-weight: 700; }
.thread-meta { font-size: 12px; color: #aaa; }
.editorial-summary { color: #ddd; font-size: 13px; }

.editorial-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.editorial-card { padding: 10px; background: #121212; border: 1px solid #1e1e1e; border-radius: 10px; display: grid; gap: 6px; }
.editorial-title { font-weight: 700; }
.editorial-meta { font-size: 12px; color: #aaa; }

/* Language */
.language-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; justify-items: center; }
.lang-btn { background: #1a1a1a; border: 1px solid #2a2a2a; color: #fff; border-radius: 12px; padding: 12px; cursor: pointer; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 12px; }
.primary-btn { background: var(--accent); color: #001018; border: none; text-decoration:none; border-radius: 12px; padding: 10px 14px; font-weight: 800; cursor: pointer; }
.secondary-btn { background: #1a1a1a; color: #fff; border: 1px solid #2a2a2a; border-radius: 12px; padding: 10px 14px; font-weight: 700; cursor: pointer; }
.lang-checklist { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); width: 100%; }
.lang-option { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #141414; border: 1px solid #242424; border-radius: 10px; }
.lang-checklist .lang-option:nth-child(5) { grid-column: 1 / -1; justify-self: center; width: 50%; }

/* Utility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,1px,1px); border: 0; }


