@font-face {
  font-family: "Quicksand";
  src: url("./assets/fonts/quicksand-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("./assets/fonts/noto-sans-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --surface: #181818;
  --focus: #ffffff;
  --navbar-height: 64px;
  --edge-space: clamp(12px, 2vw, 24px);
  --logo-size: 56px;
  --glass: rgba(30, 30, 30, 0.6);
  --glass-highlight: rgba(255, 255, 255, 0.025);
  --glass-edge: rgba(0, 0, 0, 0.5);
  --nav-text: #d4d4d4;
  --search-surface: rgba(0, 0, 0, 0.12);
  --search-edge: rgba(255, 255, 255, 0.07);
  --search-focus-edge: rgba(255, 255, 255, 0.2);
  --search-muted: #858585;
  --scroll-track: transparent;
  /* shared by the cards and the floating lists (collection list, share window) */
  --r-card: 3px;
  --r-menu: 18px;
  --blur-glass: blur(14px);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --scroll-thumb: rgba(255, 255, 255, 0.07);
  --scroll-thumb-hover: rgba(255, 255, 255, 0.17);
}

* { box-sizing: border-box; }

html {
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
  scrollbar-width: auto;
}

@supports selector(::-webkit-scrollbar) {
  html { scrollbar-color: auto; scrollbar-width: auto; }

  ::-webkit-scrollbar { width: 7px; height: 7px; }

  ::-webkit-scrollbar-track {
    background: var(--scroll-track);
    box-shadow: none;
  }

  ::-webkit-scrollbar-thumb {
    border: 2px solid var(--scroll-track);
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--scroll-thumb) 48%, transparent);
    background-clip: padding-box;
    box-shadow: none;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: var(--scroll-thumb-hover);
    background-clip: padding-box;
  }

  ::-webkit-scrollbar-thumb:active { background: rgba(255, 255, 255, 0.22); }
  ::-webkit-scrollbar-corner { background: var(--scroll-track); }
}

@media (forced-colors: active) {
  html { scrollbar-color: auto; }
}

html.custom-scrollbar { scrollbar-width: none; }
html.custom-scrollbar::-webkit-scrollbar { display: none; }

.page-scrollbar {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  bottom: 0;
  width: 7px;
  padding: 1px;
  background: var(--scroll-track);
  border-left: 1px solid transparent;
}

.page-scrollbar[hidden] { display: none; }

.page-scrollbar-thumb {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.025);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.015), var(--scroll-thumb) 48%, rgba(255, 255, 255, 0.015));
  box-shadow: none;
  transition: background-color 200ms ease, border-color 200ms ease;
  cursor: grab;
  touch-action: none;
}

.page-scrollbar-thumb:hover { background-color: var(--scroll-thumb-hover); }
.page-scrollbar-thumb:active { cursor: grabbing; }
.page-scrollbar-thumb:focus-visible { outline: 1px solid var(--focus); outline-offset: -2px; }

html, body {
  margin: 0;
  min-width: 240px;
  min-height: 100vh;
  background: var(--surface);
  font-family: "Noto Sans", sans-serif;
  font-weight: 500;
}

.navbar {
  font-family: "Quicksand", sans-serif;
  position: sticky;
  top: calc(16px + env(safe-area-inset-top, 0px));
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  height: var(--navbar-height);
  margin: calc(16px + env(safe-area-inset-top, 0px))
    calc(var(--edge-space) + 6px + env(safe-area-inset-right, 0px)) 0
    calc(var(--edge-space) + 6px + env(safe-area-inset-left, 0px));
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.35));
}

.nav-panel,
.search-box {
  border: 1px solid var(--glass-edge);
  background: linear-gradient(135deg, var(--glass-highlight), transparent), var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  backdrop-filter: blur(24px) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.nav-panel {
  display: flex;
  align-items: center;
  height: var(--navbar-height);
  min-width: 0;
  border-radius: 18px;
}

.nav-left {
  margin-right: -32px;
  padding: 3px 48px 3px 12px;
  -webkit-mask-image: radial-gradient(circle 40px at right center, transparent 39px, #000 40px);
  mask-image: radial-gradient(circle 40px at right center, transparent 39px, #000 40px);
}

.brand {
  position: relative;
  display: block;
  flex: 0 0 var(--logo-size);
  width: var(--logo-size);
  height: var(--logo-size);
  border-radius: 4px;
  transform-origin: center;
  transition: transform 280ms ease;
}

.brand:hover,
.brand:focus-visible { transform: scale(1.2); }

.brand-mark { display: block; width: 100%; height: 100%; }
.brand-base { fill: #ffffff; transition: fill 280ms ease; }
.brand:hover .brand-base,
.brand:focus-visible .brand-base { fill: #303030; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(2px, 1.2vw, 18px);
  margin-left: 12px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 clamp(6px, 1vw, 12px);
  border-radius: 12px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-weight: inherit;
  cursor: pointer;
  color: var(--nav-text);
  font-size: clamp(15px, 1.2vw, 16px);
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color 220ms ease;
}

.nav-link.has-dot { position: relative; }
.nav-link.has-dot::after { content: ""; position: absolute; top: 8px; right: max(2px, calc(50% - 26px)); width: 8px; height: 8px; border-radius: 50%; background: #ff5a4f; box-shadow: 0 0 0 2px var(--nav-bg, #000); }
.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--focus);
}

.mobile-nav-icon, .mobile-create-icon, .mobile-search-toggle { display: none; }

.brand:focus-visible,
.nav-link:focus-visible,
.nav-actions button:focus-visible {
  outline: 1px solid var(--focus);
  outline-offset: 4px;
}

.nav-search {
  position: relative;
  z-index: 1;
  width: 320px;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transition: width 280ms ease;
}

.nav-search:focus-within { width: 440px; }
.nav-search.palette-open { width: 440px; }

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: var(--navbar-height);
  padding: 0 112px 0 24px;
  border-radius: 999px;
  color: var(--search-muted);
  cursor: text;
  pointer-events: auto;
  transition: width 280ms ease, border-color 220ms ease, color 220ms ease;
}

.search-box:focus-within {
  border-color: var(--search-focus-edge);
  color: var(--nav-text);
}

.search-icon {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.search-box input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--focus);
  font: inherit;
  font-size: 14px;
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.search-box input::placeholder { color: transparent; }

.search-placeholder {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: baseline;
  color: var(--search-muted);
  font-size: 14px;
  line-height: 1.4;
  pointer-events: none;
  white-space: nowrap;
}

.search-placeholder > span {
  display: inline-block;
  white-space: pre;
  animation: placeholder-wave 5.2s ease-in-out infinite;
}

.search-field input:not(:placeholder-shown) + .search-placeholder { display: none; }

.search-box input { padding-right: 30px; }
.search-box input::-webkit-search-cancel-button,
.search-box input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.search-clear-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--search-muted);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}
.search-clear-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.search-clear-btn:hover { color: var(--focus); background: rgba(255,255,255,.09); }
.image-search-toggle::before { content: ""; position: absolute; left: -9px; top: 50%; width: 1px; height: 16px; transform: translateY(-50%); background: rgba(255,255,255,.1); pointer-events: none; }
.search-field input:placeholder-shown ~ .search-clear-btn { display: none; }

/* page dims while search is focused; navbar (z 20) stays above */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 19;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}
body:has(.nav-search:focus-within)::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) { body::after { transition: none; } }

@keyframes placeholder-wave {
  0%, 10%, 44%, 100% {
    color: var(--search-muted);
  }
  26% {
    color: var(--focus);
  }
}

.image-search-toggle {
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--search-muted);
  cursor: pointer;
  pointer-events: auto;
}
.image-search-toggle svg { width: 19px; height: 19px; }
.image-search-toggle:hover, .image-search-toggle:focus-visible { color: var(--focus); }
.image-search-toggle:focus-visible { outline: 1px solid var(--focus); outline-offset: 2px; }
.image-search-toggle[aria-busy="true"] { opacity: .5; }
.palette-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}
.palette-toggle svg { width: 30px; height: 30px; transform: rotate(0deg); transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1); }
.palette-toggle:hover svg,
.palette-toggle[aria-expanded="true"] svg { transform: rotate(360deg); }
.palette-toggle:focus-visible { outline: 1px solid var(--focus); outline-offset: 2px; }
.color-palette {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: min(360px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid var(--search-edge);
  border-radius: 20px;
  background: rgba(28, 28, 28, 0.97);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  pointer-events: auto;
  animation: palette-in 180ms ease-out;
}
.color-palette[hidden] { display: none; }
.color-plane {
  position: relative;
  height: 190px;
  border-radius: 14px;
  background: linear-gradient(to top, #000, transparent), linear-gradient(to right, #fff, transparent), var(--picker-hue, #f00);
  touch-action: none;
  cursor: crosshair;
}
.color-cursor {
  position: absolute;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 2px #000;
  pointer-events: none;
}
.hue-slider {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  height: 12px;
  margin: 14px 0;
  border-radius: 999px;
  background: linear-gradient(to right, #f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00);
  cursor: pointer;
}
.hue-slider::-webkit-slider-thumb { appearance: none; width: 12px; height: 18px; border: 2px solid #fff; border-radius: 8px; background: transparent; }
.hue-slider::-moz-range-thumb { width: 8px; height: 14px; border: 2px solid #fff; border-radius: 8px; background: transparent; }
.palette-controls { display: flex; align-items: center; gap: 8px; }
.hex-control { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--search-edge); border-radius: 999px; }
.color-preview { width: 22px; height: 22px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: var(--picked-color); }
.color-hex { width: 82px; border: 0; outline: none; background: transparent; color: #ededed; font: inherit; font-size: 14px; }
.color-hex[aria-invalid="true"] { color: #e89a9a; }
.color-add { margin-left: auto; padding: 10px 17px; border: 0; border-radius: 999px; background: #eee; color: #181818; font: inherit; font-size: 14px; cursor: pointer; }
.color-add:focus-visible { outline: 1px solid rgba(255,255,255,.85); outline-offset: 3px; }
.palette-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.palette-tool { padding: 8px 13px; border: 1px solid #4a4a4a; border-radius: 999px; background: transparent; color: #ccc; font: inherit; font-size: 12px; cursor: pointer; }
.palette-tool:hover, .palette-tool:focus-visible { border-color: #aaa; color: #fff; }
.palette-export { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; color: #929292; }
.palette-export span { margin-right: 4px; }
.palette-export-button { padding: 5px 11px; border: 1px solid #444; border-radius: 999px; background: transparent; color: #ccc; font: inherit; font-size: 11.5px; cursor: pointer; }
.palette-export-button:hover, .palette-export-button:focus-visible { border-color: #aaa; color: #fff; }
.color-plane:focus { outline: none; }
.hue-slider:focus-visible, .hex-control:focus-within { outline: 1px solid #ddd; outline-offset: 3px; }
.has-search-color .search-icon { flex-basis: 23px; width: 23px; height: 23px; border-radius: 50%; background: var(--search-color); stroke: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.has-search-color .mobile-search-toggle svg { visibility: hidden; }
.has-search-color .mobile-search-toggle::after { content: ''; position: absolute; width: 23px; height: 23px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: var(--search-color); }
.color-arriving .search-icon,
.color-arriving .mobile-search-toggle::after { opacity: 0; }
.color-flight {
  position: fixed;
  z-index: 1000;
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  will-change: transform;
}
@keyframes palette-in { from { opacity: 0; translate: 0 -4px; } to { opacity: 1; translate: 0 0; } }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
  margin-left: -32px;
  padding: 3px 12px 3px 48px;
  -webkit-mask-image: radial-gradient(circle 40px at left center, transparent 39px, #000 40px);
  mask-image: radial-gradient(circle 40px at left center, transparent 39px, #000 40px);
}

.nav-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  background: transparent;
  color: var(--nav-text);
  font: inherit;
  cursor: pointer;
  transition: color 220ms ease, border-color 220ms ease;
}

.nav-actions .create-button {
  height: 36px;
  padding: 0 15px;
  border: 1px solid var(--search-focus-edge);
  border-radius: 999px;
  font-size: 14px;
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
}

.nav-actions svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--search-focus-edge);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
}

.nav-actions .notification-button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--search-focus-edge);
  border-radius: 50%;
}

.notification-button svg { width: 17px; height: 17px; }

.nav-actions .profile-button {
  width: auto;
  gap: 6px;
  border-radius: 14px;
}

.profile-badge svg { width: 23px; height: 23px; }
.nav-actions .profile-chevron { width: 16px; height: 16px; }

.nav-actions button:hover { color: var(--focus); }
.create-button:hover { border-color: rgba(255, 255, 255, 0.4); }

@media (max-width: 1100px) {
  .navbar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    height: auto;
    gap: 12px;
  }

  .nav-search {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(300px, calc(100% - 32px));
    grid-row: 2;
  }

  .nav-panel { margin: 0; padding: 3px 12px; -webkit-mask-image: none; mask-image: none; }
  .nav-actions { grid-column: 2; grid-row: 1; }
  .nav-search:focus-within, .nav-search.palette-open { width: min(360px, 100%); }
}

/* tablet widths: logo and links, the search and the buttons sit in ONE glass bar (not three loose boxes); the search is a field inside it */
@media (min-width: 701px) and (max-width: 1100px) {
  .navbar { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; height: var(--navbar-height); padding: 0 8px; }
  .navbar::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 1px solid var(--glass-edge); border-radius: 22px; background: linear-gradient(135deg, var(--glass-highlight), transparent), var(--glass); -webkit-backdrop-filter: blur(24px) saturate(120%); backdrop-filter: blur(24px) saturate(120%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025); pointer-events: none; }
  .nav-panel { border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; padding: 0 2px; margin: 0; }
  .nav-search { grid-column: 2; grid-row: 1; width: 100%; max-width: 420px; justify-self: center; }
  .nav-search:focus-within, .nav-search.palette-open { width: 100%; max-width: 440px; }
  .nav-actions { grid-column: 3; grid-row: 1; gap: 10px; }
  .search-box { height: 44px; padding: 0 100px 0 18px; background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.06); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
  .search-box:focus-within { background: rgba(255, 255, 255, 0.1); }
}
/* narrower tablets: the words of the menu become icons (as on the phone) so the search keeps a usable width */
@media (min-width: 701px) and (max-width: 900px) {
  .nav-label, .create-label { display: none; }
  .nav-links { margin-left: 4px; gap: 2px; }
  .nav-link { min-height: 40px; width: 40px; padding: 0; }
  .mobile-nav-icon { display: block; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
  .nav-actions { gap: 6px; }
  .nav-actions .create-button { width: 36px; padding: 0; }
  .nav-actions .mobile-create-icon { display: block; width: 16px; height: 16px; }
  .search-box { padding: 0 92px 0 16px; }
  .image-search-toggle { right: 48px; }
  .palette-toggle { right: 10px; }
}
@media (min-width: 701px) and (max-width: 800px) {
  .navbar { padding: 0 4px; gap: 6px; }
  .nav-link { width: 36px; }
  .nav-actions { gap: 4px; }
  .nav-actions .profile-chevron { display: none; }
  .search-box > .search-icon { display: none; }
  .search-box { padding: 0 88px 0 16px; }
}

@media (max-width: 700px) {
  .navbar {
    --navbar-height: 48px;
    --logo-size: 28px;
    grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
    gap: 0;
    height: 48px;
  }
  .nav-panel { border-radius: 14px; }
  .nav-left {
    grid-column: 1;
    grid-row: 1;
    margin-right: -24px;
    padding: 3px 34px 3px 6px;
    -webkit-mask-image: radial-gradient(circle 30px at right center, transparent 29px, #000 30px);
    mask-image: radial-gradient(circle 30px at right center, transparent 29px, #000 30px);
  }
  .nav-links { margin-left: 2px; gap: 0; }
  .nav-label, .create-label { display: none; }
  .nav-link { min-height: 36px; width: 22px; padding: 0; }
  .mobile-nav-icon { display: block; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
  .nav-actions {
    grid-column: 3;
    grid-row: 1;
    margin-left: -24px;
    padding: 3px 6px 3px 34px;
    gap: 4px;
    -webkit-mask-image: radial-gradient(circle 30px at left center, transparent 29px, #000 30px);
    mask-image: radial-gradient(circle 30px at left center, transparent 29px, #000 30px);
  }
  .nav-actions .create-button { width: 24px; height: 26px; padding: 0; }
  .nav-actions .mobile-create-icon { display: block; width: 14px; height: 14px; }
  .nav-actions .notification-button { width: 24px; height: 24px; }
  .notification-button svg { width: 14px; height: 14px; }
  .profile-badge { width: 28px; height: 28px; }
  .profile-badge svg { width: 17px; height: 17px; }
  .nav-actions .profile-button { height: 36px; gap: 2px; }
  .nav-actions .profile-chevron { width: 9px; height: 9px; }
  .nav-search, .nav-search:focus-within, .nav-search.palette-open {
    grid-column: 2;
    grid-row: 1;
    width: 76px;
    height: 48px;
  }
  .search-box { width: 76px; padding: 0; pointer-events: none; }
  .image-search-toggle { display: none; }
  .search-box > .search-icon { display: none; }
  .mobile-search-toggle {
    position: absolute;
    top: 0;
    left: 5px;
    width: 32px;
    height: 48px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--nav-text);
    pointer-events: auto;
    cursor: pointer;
  }
  .mobile-search-toggle svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
  .palette-toggle { right: 5px; width: 30px; height: 32px; z-index: 2; }
  .palette-toggle svg { width: 28px; height: 28px; }
  .mobile-search-toggle:focus-visible { outline: 1px solid var(--focus); outline-offset: -4px; }
  .search-field {
    position: absolute;
    display: none;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    width: min(340px, calc(100vw - 32px));
    height: 48px;
    padding: 0 18px;
    border: 1px solid var(--search-focus-edge);
    border-radius: 16px;
    background: rgba(28, 28, 28, 0.96);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    pointer-events: auto;
  }
  .nav-search.is-open .search-field { display: flex; animation: search-dropdown-in 180ms ease-out; }
  .search-placeholder { left: 18px; }
  @keyframes search-dropdown-in {
    from { opacity: 0; translate: 0 -4px; }
    to { opacity: 1; translate: 0 0; }
  }
}

@media (max-width: 380px) {
  .navbar { --logo-size: 26px; }
  .nav-link { width: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-link, .nav-search, .search-box, .nav-actions button { transition: none; }
  .search-placeholder > span { animation: none; }
  .nav-search.is-open .search-field { animation: none; }
  .color-palette { animation: none; }
  .palette-toggle svg { transition: none; }
  .brand-base { transition: none; }
  .brand { transition: none; }

}

.discover-feed {
  padding: 28px var(--edge-space) 40px;
}

@font-face {
  font-family: "Capriola";
  src: url("./assets/fonts/capriola-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.site-footer {
  position: relative;
  overflow: hidden;
  --footer-progress: 0%;
  --footer-dark: #202020;
  display: flex;
  align-items: center;
  min-height: clamp(260px, 32vw, 470px);
  padding: 24px var(--edge-space) 88px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-wordmark {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: calc(50vw - var(--edge-space));
  font-family: "Capriola", sans-serif;
  font-size: clamp(64px, 14.3vw, 260px);
  font-weight: 400;
  line-height: 1.5;
  padding: 0.08em 0.12em 0.22em 0;
  letter-spacing: -0.055em;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(90deg, #dedede 0%, #dedede var(--footer-progress), var(--footer-dark) calc(var(--footer-progress) + 8%), var(--footer-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.footer-watermark {
  position: absolute;
  right: -10vw;
  top: 50%;
  transform: translateY(-50%);
  width: 36vw;
  height: auto;
  fill: #ffffff;
  opacity: 1;
  pointer-events: none;
}

.footer-logo-dark-stop { stop-color: var(--footer-dark); }
.footer-logo-light-stop { stop-color: #dedede; }

.masonry-feed {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  grid-auto-rows: 4px;
  gap: 0 20px;
  columns: 5;
  column-gap: 20px;
}
.masonry-feed > .feed-card { display: block; margin-bottom: 0; align-self: start; }
.feed-card.feed-pending { display: none !important; }
/* until the first cards are in place the feed shows grey placeholders, and the footer waits (it would otherwise sit right under the header of an empty page); a pure-CSS fallback shows the footer after 5 s even if the script never finishes */
.feed-skeleton { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; align-items: start; }
.feed-skeleton i { display: block; border-radius: var(--r-card); background: linear-gradient(100deg, #1f1f1f 30%, #2a2a2a 50%, #1f1f1f 70%) 0 0 / 220% 100%; animation: feed-shimmer 1.4s linear infinite; }
.feed-skeleton i:nth-child(5n+1) { aspect-ratio: 3 / 4; } .feed-skeleton i:nth-child(5n+2) { aspect-ratio: 1 / 1; } .feed-skeleton i:nth-child(5n+3) { aspect-ratio: 4 / 5; } .feed-skeleton i:nth-child(5n+4) { aspect-ratio: 3 / 5; } .feed-skeleton i:nth-child(5n) { aspect-ratio: 5 / 6; }
@keyframes feed-shimmer { to { background-position: -220% 0; } }
html.feed-ready .feed-skeleton { display: none; }
html:not(.feed-ready) .site-footer { visibility: hidden; animation: footer-failsafe 0s 5s forwards; }
@keyframes footer-failsafe { to { visibility: visible; } }
@media (max-width: 1100px) { .feed-skeleton { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 700px) { .feed-skeleton { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .feed-skeleton i { animation: none; } }
.feed-sentinel { height: 1px; pointer-events: none; }
.feed-sentinel[hidden] { display: none; }
.masonry-feed .feed-card { content-visibility: auto; contain-intrinsic-size: auto 240px; }
.masonry-feed .feed-card img { opacity: 0; transition: opacity 180ms ease; }
.masonry-feed .feed-card img.image-ready { opacity: 1; }
.masonry-feed .feed-card img.image-failed { opacity: 1; }
@media(prefers-reduced-motion:reduce) { .masonry-feed .feed-card img { transition: none; } }
@media(max-width:1100px) { .masonry-feed { grid-template-columns: repeat(4,minmax(0,1fr)); column-gap: 16px; } }
@media(max-width:700px) { .masonry-feed { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 12px; } }
.feed-card[hidden], .search-results-header[hidden], .search-no-results[hidden] { display: none; }
.search-results-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 10px 0 32px; }
.search-results-eyebrow { display: none; }
.search-results-header h1 { margin: 10px 0; color: #eee; font-size: clamp(24px,3vw,34px); font-weight: 500; letter-spacing: -.03em; }
.search-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: #aaa; font-size: 13px; }
.result-color { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.search-clear { color: #aaa; font-size: 12px; text-decoration: none; white-space: nowrap; }
.search-clear:hover { color: #fff; }
.search-no-results { padding: 70px 16px 120px; text-align: center; color: #999; }
.search-no-results h2 { color: #ddd; font-size: 22px; font-weight: 500; }
.search-no-results p { font-size: 13px; line-height: 1.7; }
@media (max-width:700px) { .search-results-header { align-items: flex-start; gap: 12px; } .search-clear { margin-top: 8px; font-size: 11px; } }

.content-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.content-link:focus-visible { outline: 1px solid rgba(255,255,255,.85); outline-offset: -3px; }
.card-action { position: relative; z-index: 2; }
.content-page[hidden], .related-heading[hidden], .content-info[hidden] { display: none; }
.content-page { max-width: 1320px; margin: 0 auto 70px; }
.content-back { display: inline-flex; gap: 10px; align-items: center; margin: 0 0 28px; color: #aaa; font-size: 13px; text-decoration: none; transition: color 180ms ease; }
.content-back:hover { color: #fff; }
.content-current.feed-card { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(280px,1fr); align-items: start; gap: clamp(32px,5vw,80px); margin: 0; background: transparent; overflow: visible; border-radius: 0; }
.content-current > .content-link { display: none; }
.content-current > img { width: auto; max-width: 100%; max-height: 65vh; height: auto; justify-self: center; object-fit: contain; background: transparent; border-radius: 0; }
.content-current .card-overlay { position: sticky; top: 112px; inset-inline: auto; display: flex; flex-direction: column; align-items: flex-start; padding: 24px 0; background: transparent; opacity: 1; pointer-events: auto; min-width: 0; }
.content-info h1 { margin: 18px 0; color: #eee; font-size: clamp(26px,2.8vw,40px); line-height: 1.2; font-weight: 500; letter-spacing: -.035em; outline: none; }
.content-description { max-width: 38ch; margin: 0 0 30px; color: #aaa; font-size: 14px; line-height: 1.85; }
.content-creator { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.content-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #30322d; color: #dedede; }
.content-creator strong { display: block; color: #ddd; font-size: 13px; font-weight: 500; }
.content-creator small { display: block; margin-top: 4px; color: #888; font-size: 11px; }
.content-source { display: inline-block; color: #aaa; text-decoration: none; font-size: 12px; padding-bottom: 4px; border-bottom: 1px solid #414141; }
.content-source:hover { color: #fff; }
.content-current .card-bottom-actions { position: static; display: flex; gap: 12px; margin-top: 30px; padding-top: 24px; width: 100%; border-top: 1px solid #303030; }
.content-current .card-action { width: 44px; height: 44px; background: linear-gradient(135deg,rgba(255,255,255,.04),transparent),rgba(34,34,34,.7); border: 1px solid rgba(255,255,255,.09); }
.content-current .card-save,
.content-current .card-share { width: 50px; height: 50px; }
.content-current .card-save svg,
.content-current .card-share svg { width: 23px; height: 23px; }
.content-current .card-more { top: 12px; right: 0; }
.related-heading { margin: 0 0 24px; padding-top: 32px; border-top: 1px solid #303030; font-size: 19px; font-weight: 500; color: #ddd; letter-spacing: -.02em; }
@media (max-width: 700px) {
  .content-page { margin-bottom: 38px; }
  .content-back { margin-bottom: 20px; }
  .content-current.feed-card { grid-template-columns: 1fr; gap: 10px; }
  .content-current > img { height: auto; max-height: 52vh; border-radius: 0; }
  .content-current .card-overlay { position: relative; top: auto; padding: 16px 2px 0; }
  .content-current .content-info { padding-right: 36px; }
  .content-current .card-more { top: 10px; }
  .content-info h1 { font-size: 28px; }
  .content-current .card-bottom-actions { margin-top: 24px; }
}

.feed-card {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 100%;
  margin: 0 0 20px;
  overflow: hidden;
  break-inside: avoid;
  border-radius: var(--r-card);
  background: #202020;
}

.feed-card img {
  display: block;
  width: 100%;
  height: auto;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.23);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.feed-card:hover .card-overlay,
.feed-card:focus-within .card-overlay { opacity: 1; }
.feed-card.menu-open .card-overlay { opacity: 1; }
.more-mark { position: relative; width: 20px; height: 20px; display: block; }
.more-mark i, .more-mark b { position: absolute; top: 50%; left: 50%; translate: -50% -50%; height: 3px; width: 3px; border-radius: 999px; background: currentColor; transform-origin: center;  }
.more-mark i:first-child { transform: translateX(-6px); }
.more-mark i:nth-child(3) { transform: translateX(6px); }
.more-mark b { opacity: 0; }
.card-menu {
  position: fixed;
  z-index: 80;
  width: 218px;
  max-width: calc(100vw - 24px);
  padding: 6px;
  border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(23,23,23,.97); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: 0 18px 48px rgba(0,0,0,.42);
  pointer-events: auto;
  transform-origin: top right;
  animation: top-menu-in 170ms cubic-bezier(.2,.8,.2,1);
}
.card-menu[hidden] { display: none; }
/* the dropdowns of the top bar (Oluştur, Bildirimler): small, flat, one calm look */
.top-menu { position: fixed; z-index: 85; width: 268px; max-width: calc(100vw - 24px); padding: 6px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(23,23,23,.97); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: 0 18px 48px rgba(0,0,0,.42); transform-origin: top right; animation: top-menu-in 170ms cubic-bezier(.2,.8,.2,1); }
@keyframes top-menu-in { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
@media (prefers-reduced-motion: reduce) { .top-menu { animation: none; } }
.top-menu-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 9px; border: 0; border-radius: 12px; background: transparent; color: #e8e8e8; font: inherit; text-align: left; cursor: pointer; transition: background 140ms ease; }
.top-menu-item:hover, .top-menu-item:focus-visible { background: rgba(255,255,255,.07); outline: none; }
.top-menu-icon { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.06); }
.top-menu-icon svg { width: 17px; height: 17px; fill: none; stroke: #d2d2d2; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.top-menu-text { display: grid; gap: 1px; min-width: 0; }
.top-menu-text strong { color: #f1f1f1; font-size: 14px; font-weight: 500; }
.top-menu-text small { color: #8b8b8b; font-size: 12px; line-height: 1.4; }
.notif-menu { width: 380px; padding: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); max-height: min(70vh, 560px); overflow: hidden; }
.notif-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 10px; }
.notif-menu-head h2 { margin: 0; font-size: 15px; font-weight: 500; color: #f1f1f1; letter-spacing: -.01em; }
.notif-menu-all { padding: 4px 2px; border: 0; background: transparent; color: #8b8b8b; font: inherit; font-size: 12.5px; cursor: pointer; transition: color 140ms ease; }
.notif-menu-all:hover, .notif-menu-all:focus-visible { color: #fff; outline: none; }
.notif-menu-all[hidden] { display: none; }
.notif-menu-list { overflow-y: auto; padding: 0 6px 6px; overscroll-behavior: contain; }
.notif-menu .notif-item { gap: 11px; padding: 10px 11px; border-radius: 12px; }
.notif-menu .notif-item.is-unread { background: rgba(255,255,255,.045); box-shadow: none; }
.notif-menu .notif-item.is-unread::after { content: ""; flex: 0 0 7px; width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: #9fb3c8; }
.notif-menu .notif-avatar { width: 34px; height: 34px; font-size: 13px; }
.notif-menu .notif-body { flex: 1; font-size: 13.5px; line-height: 1.5; }
.notif-menu-state { margin: 0; padding: 22px 16px 26px; color: #8b8b8b; font-size: 13px; line-height: 1.6; text-align: center; }
.notif-menu-more { display: block; width: calc(100% - 12px); margin: 4px 6px 6px; padding: 9px; border: 0; border-radius: 12px; background: transparent; color: #8b8b8b; font: inherit; font-size: 13px; cursor: pointer; transition: background 140ms ease, color 140ms ease; }
.notif-menu-more:hover, .notif-menu-more:focus-visible { background: rgba(255,255,255,.06); color: #fff; outline: none; }
.notif-menu-more[hidden] { display: none; }
.card-menu-heading { padding: 9px 12px 8px; color: #8b8b8b; font-size: 12px; }
.card-menu button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 12px; background: transparent; color: #e8e8e8; font: inherit; font-size: 14px; text-align: left; cursor: pointer; transition: background-color 140ms ease, color 140ms ease; }
.card-menu button svg { width: 17px; height: 17px; flex-shrink: 0; fill: none; stroke: #d2d2d2; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card-menu button:hover, .card-menu button:focus-visible { background: rgba(255,255,255,.07); outline: none; }
.card-menu button:focus-visible { outline: 1px solid rgba(255,255,255,.85); outline-offset: -2px; }
.card-menu-divider { height: 1px; margin: 6px 10px; background: rgba(255,255,255,.09); }
@keyframes card-menu-reveal { from { opacity: 0; transform: translateY(-4px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .card-menu { animation: none; } }
.card-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  background: rgba(35,35,35,.8);
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
}
.card-action svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card-more { position: absolute; top: 10px; right: 10px; }
.card-more svg { fill: currentColor; stroke: none; }
.card-bottom-actions { position: absolute; bottom: 10px; right: 10px; display: flex; gap: 7px; }
.card-action:hover { background: rgba(65,65,65,.85); }
.card-share:disabled { cursor: wait; opacity: .65; }
.card-share { overflow: hidden; }
.card-share svg { transform-origin: center; }
.share-status { position: fixed; z-index: 100; bottom: 24px; left: 50%; transform: translateX(-50%); max-width: calc(100vw - 32px); padding: 12px 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(28,28,28,.96); color: #dedede; font-size: 13px; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.share-status[hidden] { display: none; }
.card-action:focus-visible { outline: 1px solid rgba(255,255,255,.85); outline-offset: 2px; }
.card-action[aria-pressed="true"] svg { fill: currentColor; }
.card-save svg,
.card-save[aria-pressed="true"] svg { fill: none; }
.card-save .save-outline { fill: none; stroke: #dedede; }
.card-save .save-fill {
  fill: #dedede;
  stroke: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 420ms cubic-bezier(.4, 0, .2, 1);
}
.card-save[aria-pressed="true"] .save-fill { clip-path: inset(0); }
@media (prefers-reduced-motion: reduce) {
  .card-save .save-fill { transition: none; }
}
.card-like[aria-pressed="true"] svg { fill: #dedede; stroke: #dedede; }
.card-like { position: relative; }
.card-like svg {
  fill: rgba(222, 222, 222, 0);
  stroke: #ffffff;
  transform-origin: center;
  transform-box: fill-box;
  transition: fill 360ms cubic-bezier(.4, 0, .2, 1), stroke 360ms cubic-bezier(.4, 0, .2, 1);
}

@media (min-width: 701px) and (max-width: 1100px) {
  .masonry-feed { columns: 4; column-gap: 16px; }
  .feed-card { margin-bottom: 16px; }
}

@media (max-width: 700px) {
  .discover-feed { padding-top: 20px; }
  .masonry-feed { columns: 2; column-gap: 12px; }
  .feed-card { margin-bottom: 12px; }
}

@media (hover: none) {
  .card-overlay { opacity: 1; background: transparent; }
}

@media (prefers-reduced-motion: reduce) {
  .card-overlay { transition: none; }
}
.footer-bottom {
  position: absolute;
  z-index: 2;
  left: var(--edge-space);
  right: var(--edge-space);
  bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #878787;
  font-size: 12px;
}
.footer-legal { display: flex; align-items: center; gap: 10px; }
.footer-legal button { padding: 4px 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; transition: color 180ms ease; }
.footer-legal button:hover { color: #dedede; }
.back-to-top {
  position: fixed;
  z-index: 30;
  right: 22px;
  bottom: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  background: rgba(30,30,30,.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #dedede;
  box-shadow: 0 5px 18px rgba(0,0,0,.2);
  cursor: pointer;
}
.back-to-top[hidden] { display: none; }
.back-to-top svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.back-to-top:hover { background: #303030; color: #fff; }
.back-to-top:focus-visible, .footer-legal button:focus-visible { outline: 1px solid #dedede; outline-offset: 4px; }
@media (max-width: 380px) {
  .footer-bottom { font-size: 10px; gap: 8px; }
  .footer-legal { gap: 6px; }
}
.feed-card.share-open .card-overlay { opacity: 1; }
.share-dropdown { position: fixed; z-index: 90; width: 370px; max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); overflow: auto; padding: 18px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(23,23,23,.97); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: 0 18px 48px rgba(0,0,0,.42); color: #dedede; animation: palette-in 160ms ease-out; }
.share-dropdown[hidden] { display: none; }
.share-dropdown-header { position: relative; margin-bottom: 18px; text-align: center; }
.share-dropdown-header h2 { margin: 0; font-size: 16px; font-weight: 500; }
.share-dropdown .share-close { position: absolute; top: -4px; right: 0; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: #aaa; font-size: 23px; cursor: pointer; }
.share-destinations { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.share-destinations > * { display: flex; flex-direction: column; align-items: center; flex: 1; min-width: 0; gap: 9px; padding: 0; border: 0; background: transparent; color: #dedede; font: inherit; font-size: 10px; line-height: 1.6; text-align: center; text-decoration: none; cursor: pointer; }
.destination-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; transition: transform 180ms ease; }
.share-destinations > *:hover .destination-icon { transform: translateY(-2px); }
.destination-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.destination-copy,.destination-more { background: #414141; }
.destination-download { background: #363b38; }
.destination-whatsapp { background: #20c65b; }
.destination-facebook { background: #1877f2; font-family: sans-serif; font-size: 44px; font-weight: 700; line-height: 1; padding-top: 7px; overflow: hidden; }
.destination-x { background: #0b0b0b; font-size: 28px; }
.share-person-search { display: flex; align-items: center; gap: 10px; margin: 16px 0; padding: 0 13px; height: 46px; border: 1px solid #535353; border-radius: 15px; }
.share-person-search svg { width: 19px; height: 19px; fill: none; stroke: #bcbcbc; stroke-width: 1.6; }
.share-person-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #dedede; font: inherit; font-size: 13px; }
.share-person-search:focus-within { border-color: #aaa; }
.share-person { display: flex; align-items: center; gap: 11px; padding: 9px 0; }
.share-person[hidden],.share-empty[hidden] { display: none; }
.person-avatar { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: #45473f; color: #ddd; font-family: inherit; font-size: 20px; }
.person-avatar-alt { background: #403b48; }
.person-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.person-info strong { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person-info > span { font-size: 11px; color: #929292; }
.person-send { margin-left: auto; padding: 9px 12px; border: 0; border-radius: 12px; background: #414141; color: #dedede; font: inherit; font-size: 12px; cursor: pointer; }
.person-send:hover { background: #505050; }
.toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  max-width: min(440px, calc(100vw - 32px));
  padding: 14px 20px;
  border: 1px solid rgba(111, 177, 138, .48);
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(255,255,255,.035), transparent), rgba(24,24,24,.9);
  -webkit-backdrop-filter: blur(32px) saturate(120%);
  backdrop-filter: blur(32px) saturate(120%);
  box-shadow: 0 10px 32px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.025);
  color: #e2e2e2;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0;
  transform: translate(-50%, 14px);
  transition: opacity 240ms ease, transform 240ms ease, border-color 240ms ease;
  pointer-events: none;
}
.toast[hidden] { display: none; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast-symbol {
  position: absolute;
  top: -12px;
  left: -10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(111,177,138,.65);
  border-radius: 50%;
  background: #202722;
  color: #91c6a3;
  box-shadow: 0 2px 7px rgba(0,0,0,.25);
}
.toast-symbol svg { display: block; width: 23px; height: 23px; stroke-width: 2.5; }
.toast[data-type="error"] { border-color: rgba(203,111,111,.52); }
.toast[data-type="error"] .toast-symbol { color: #dfa0a0; background: #2b2222; border-color: rgba(203,111,111,.65); }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }
.share-empty { font-size: 12px; color: #aaa; text-align: center; }
.share-demo-note { display: block; margin-top: 10px; font-size: 10px; color: #858585; }
.share-dropdown :focus-visible { outline: 1px solid #ddd; outline-offset: 3px; }
.share-dropdown input:focus-visible { outline: none; }
@media (max-width: 380px) { .share-dropdown { padding: 14px; } .destination-icon { width: 40px; height: 40px; } }
@media (prefers-reduced-motion: reduce) { .share-dropdown { animation: none; } .destination-icon { transition: none; } }
.share-dropdown { overflow: visible; padding: 0; animation: share-dropdown-rise 200ms cubic-bezier(.2,.8,.2,1); }
.share-dropdown-scroll { padding: 18px; max-height: inherit; overflow-y: auto; border-radius: inherit; }
.share-pointer { position: absolute; z-index: -1; top: -6px; left: var(--share-pointer,50%); width: 12px; height: 12px; border-radius: 4px 0 0 0; transform: translateX(-50%) rotate(45deg); background: #1e1e1e; border-top: 1px solid rgba(255,255,255,.12); border-left: 1px solid rgba(255,255,255,.12); }
.share-dropdown.opens-above .share-pointer { top: auto; bottom: -6px; transform: translateX(-50%) rotate(225deg); }
@keyframes share-dropdown-rise { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 380px) { .share-dropdown { padding: 0; } .share-dropdown-scroll { padding: 14px; } }
@media (prefers-reduced-motion: reduce) { .share-dropdown { animation: none; } }
.destination-icon img { display: block; width: 26px; height: 26px; object-fit: contain; }
.destination-facebook { padding-top: 0; }
.share-destinations { gap: 6px; }
.share-destinations .destination-icon { width: clamp(32px,9vw,46px); height: clamp(32px,9vw,46px); }
.destination-facebook img { width: 29px; height: 29px; }
.copy-link-animation { display: block; width: 30px; height: 30px; }
.copy-link-animation > svg { width: 100% !important; height: 100% !important; }
.copy-link-animation path[stroke] { stroke: #dedede; }
.copy-link-animation img { filter: invert(1); width: 30px; height: 30px; }
.card-menu .copy-link-animation { width: 24px; height: 24px; flex-shrink: 0; }
.card-menu .copy-link-animation img { width: 24px; height: 24px; }
.navbar { transition: filter 240ms ease; }
.navbar .nav-panel { transition: background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease; }
.navbar.is-scrolled { filter: drop-shadow(0 10px 18px rgba(0,0,0,.52)); }
.navbar.is-scrolled .nav-panel,
.navbar.is-scrolled .search-box {
  background-color: rgba(24,24,24,.94);
  border-color: rgba(0,0,0,.85);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.075), inset 0 -1px 0 rgba(255,255,255,.025);
  backdrop-filter: blur(32px) saturate(110%);
  -webkit-backdrop-filter: blur(32px) saturate(110%);
}
@media (prefers-reduced-motion: reduce) { .navbar, .navbar .nav-panel { transition: none; } }

.search-color-badge { display: none; flex: 0 0 23px; width: 23px; height: 23px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.has-search-color .search-box > .search-color-badge { display: block; }
.has-search-color .search-icon { display: none; }
.has-search-color .mobile-search-toggle::after { display: none; }
.has-search-color .mobile-search-toggle > .search-color-badge { display: block; position: absolute; }
.search-box > .search-color-badge[tabindex="0"] { cursor: pointer; }
.search-color-badge:focus-visible { outline: 1px solid rgba(255,255,255,.85); outline-offset: 4px; }
.color-arriving .search-color-badge { opacity: 0; }
.selected-colors-menu { position: absolute; z-index: 40; top: calc(100% + 12px); left: 10px; display: flex; gap: 10px; padding: 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(23,23,23,.97); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: 0 18px 48px rgba(0,0,0,.42); animation: search-dropdown-in 180ms ease-out; }
.selected-colors-menu[hidden] { display: none; }
.selected-colors-menu { pointer-events: auto; }
.selected-color-chip { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #fff; text-shadow: 0 1px 3px #000,0 0 4px #000; font-size: 18px; cursor: pointer; }
.selected-color-chip:hover { transform: scale(1.08); }
.selected-color-chip { position: relative; }
.selected-color-chip::before, .selected-color-chip::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px;
  border-radius: 1px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.65);
  opacity: 0; pointer-events: none; transition: opacity 160ms ease;
  transform: translate(-50%,-50%) rotate(45deg);
}
.selected-color-chip::after { transform: translate(-50%,-50%) rotate(-45deg); }
.selected-color-chip:hover::before, .selected-color-chip:hover::after, .selected-color-chip:focus-visible::before, .selected-color-chip:focus-visible::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .selected-color-chip::before, .selected-color-chip::after { transition: none; }
}
.selected-color-chip:focus-visible { outline: 1px solid rgba(255,255,255,.85); outline-offset: 3px; }
@media (max-width:700px) { .has-search-color .search-box > .search-color-badge { display: none; } .selected-colors-menu { left: 0; } }
@media (prefers-reduced-motion:reduce) { .selected-colors-menu { animation: none; } }
.image-colors { margin-top: 26px; }
.image-colors > span { display: block; color: #bbb; font-size: 12px; }
.image-colors small { display: block; color: #777; font-size: 10px; margin-top: 6px; }
.image-color-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 13px; }
.image-color { width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; cursor: pointer; transition: transform 180ms ease; }
.image-color:hover { transform: translateY(-2px); }
.image-color[aria-pressed="true"] { outline: 2px solid #fff; outline-offset: 3px; }
.image-color:focus-visible { outline: 1px solid rgba(255,255,255,.85); outline-offset: 3px; }
.related-heading { scroll-margin-top: 110px; }
@media (prefers-reduced-motion: reduce) { .image-color { transition: none; } }
.nav-actions [hidden] { display: none !important; }
.nav-auth { display: flex; align-items: center; gap: 22px; }
.nav-actions .nav-login { border: 0; padding: 10px 0; font-size: 14px; color: #b6b6b6; }
.nav-actions .nav-signup { border: 0; padding: 12px 23px; border-radius: 999px; background: #f5f5f5; color: #181818; font-size: 14px; }
.nav-actions .nav-signup:hover { color: #181818; background: #fff; }
@media(max-width:700px) {
  .nav-auth { gap: 8px; }
  .nav-actions .nav-login { font-size: 11px; }
  .nav-actions .nav-signup { padding: 9px 12px; font-size: 11px; }
}
@media(max-width:380px) {
  .navbar:has(.nav-auth:not([hidden])) { grid-template-columns: minmax(0,1fr) 64px minmax(116px,1fr); }
  .navbar:has(.nav-auth:not([hidden])) .nav-search, .navbar:has(.nav-auth:not([hidden])) .search-box { width: 64px; }
  .navbar:has(.nav-auth:not([hidden])) .palette-toggle { right: 0; }
  .navbar:has(.nav-auth:not([hidden])) .mobile-search-toggle { left: 0; }
  .nav-auth { gap: 6px; }
  .nav-actions .nav-login { font-size: 10px; }
  .nav-actions .nav-signup { padding: 9px 10px; font-size: 10px; }
}
body.auth-active { overflow: hidden; }
body.auth-active > .navbar, body.auth-active > .discover-feed, body.auth-active > .site-footer, body.auth-active > .back-to-top, body.auth-active > .page-scrollbar { visibility: hidden; }
.auth-page[hidden], .auth-page [hidden] { display: none !important; }
.auth-page { position: fixed; inset: 0; z-index: 120; display: grid; grid-template-columns: 1fr 1fr; background: #171717; color: #e5e5e5; font-family: 'Noto Sans',sans-serif; overflow: auto; }
.auth-left { position: relative; display: flex; flex-direction: column; min-height: 100dvh; padding: 42px clamp(28px,5vw,86px) 30px; }
.auth-page-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.auth-progress-logo { width: 42px; height: 42px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.auth-progress-logo svg { display: block; width: 100%; height: 100%; }
.auth-logo-base { fill: #393939; }
.auth-logo-fill { fill: #e2e7d9; clip-path: inset(calc(100% - var(--auth-progress,0%)) 0 0); transition: clip-path 420ms cubic-bezier(.2,.7,.2,1); }
.auth-exit { padding: 8px 0; border: 0; background: transparent; color: #888; font: inherit; font-size: 11px; cursor: pointer; }
.auth-exit:hover { color: #ddd; }
.auth-center { width: min(100%,360px); margin: auto; padding: 52px 0; }
.auth-step-caption { color: #747474; font-size: 10px; letter-spacing: .12em; margin-bottom: 20px; }
.auth-stage h1 { margin: 0 0 12px; font-size: clamp(24px,2.1vw,32px); line-height: 1.25; letter-spacing: -.035em; font-weight: 500; outline: none; }
.auth-intro { min-height: 40px; margin: 0 0 26px; color: #919191; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.auth-form { display: grid; gap: 14px; }
.auth-form label { display: grid; gap: 9px; color: #a2a2a2; font-size: 11px; }
.auth-form input { display: block; width: 100%; min-width: 0; padding: 17px 18px; border: 1px solid #393939; border-radius: 15px; outline: none; background: rgba(255,255,255,.015); color: #eee; font: inherit; font-size: 14px; transition: border-color 180ms ease; }
.auth-form input::placeholder { color: #676767; }
.auth-form input:focus { border-color: #8b8f84; }
.auth-password { position: relative; display: block; }
.auth-password input { padding-right: 48px; }
.auth-show { position: absolute; inset: 0 0 0 auto; width: 45px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: #999; cursor: pointer; }
.auth-show svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.auth-show[aria-pressed='true'] { color: #fff; }
.auth-submit { width: 100%; padding: 17px; margin-top: 2px; border: 0; border-radius: 999px; background: #e1e4dc; color: #20221e; font: inherit; font-size: 13px; cursor: pointer; transition: background 180ms ease; }
.auth-submit:hover { background: #f1f4ec; }
.auth-submit:disabled { opacity: .55; cursor: wait; }
.auth-error { margin: 0; color: #dfa5a5; font-size: 12px; line-height: 1.6; }
.auth-step-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 22px; font-size: 11px; }
.auth-step-actions button { padding: 4px 0; border: 0; background: transparent; color: #ddd; font: inherit; cursor: pointer; }
.auth-step-actions .auth-previous { margin-right: auto; color: #999; }
.auth-mode-prompt { color: #777; }
.auth-local-note { margin: 28px 0 0; color: #666; font-size: 10px; line-height: 1.8; }
.auth-page-footer { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; color: #727272; font-size: 10px; }
.auth-page-footer > span:first-child { color: #ccc; font-size: 22px; letter-spacing: -.05em; }
.auth-visual { position: relative; min-width: 0; height: 100dvh; overflow: hidden; background: #1e201d; }
.auth-reel { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 0 7%; will-change: transform; transition: transform 780ms cubic-bezier(.22,.7,.15,1); }
.auth-reel img { display: block; flex: 0 0 auto; width: 100%; height: 62dvh; object-fit: cover; border-radius: 5px; }
.auth-reel img:nth-child(odd) { width: 76%; height: 45dvh; }
.auth-visual::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom,rgba(22,23,21,.35),transparent 16%,transparent 80%,rgba(22,23,21,.6)); }
.auth-visual-caption { position: absolute; z-index: 1; bottom: 30px; left: 32px; right: 24px; color: #f4f4f4; text-shadow: 0 1px 8px #111; font-size: 12px; }
.auth-visual-caption small { display: block; margin-top: 5px; color: #b8bcb5; font-size: 10px; }
.auth-page button:focus-visible { outline: 1px solid rgba(255,255,255,.85); outline-offset: 4px; }
@media(max-width:700px) {
  .auth-page { grid-template-columns: minmax(0,1fr) 32%; }
  .auth-left { padding: 26px 22px 24px; }
  .auth-center { padding: 38px 0; }
  .auth-stage h1 { font-size: 24px; }
  .auth-exit { font-size: 10px; }
  .auth-progress-logo { width: 32px; height: 32px; }
  .auth-form input { font-size: 16px; padding: 15px 12px; }
  .auth-reel { padding: 0 8%; gap: 16px; }
  .auth-reel img { height: 52dvh; }
  .auth-reel img:nth-child(odd) { height: 36dvh; width: 88%; }
  .auth-visual-caption { left: 12px; bottom: 26px; font-size: 10px; }
  .auth-visual-caption small { font-size: 9px; }
  .auth-page-footer > span:last-child { display: none; }
}
@media(max-width:420px) {
  .auth-page { grid-template-columns: minmax(0,1fr) 22%; }
  .auth-left { padding: 24px 18px; }
  .auth-page-header { gap: 8px; }
  .auth-visual-caption { display: none; }
  .auth-step-actions { font-size: 10px; }
}
@media(prefers-reduced-motion:reduce) { .auth-logo-fill,.auth-reel,.auth-form input,.auth-submit { transition: none; } }
.auth-form select { width: 100%; min-width: 0; padding: 16px 14px; border: 1px solid #393939; border-radius: 15px; outline: none; background: #202020; color: #ddd; font: inherit; font-size: 14px; cursor: pointer; }
.auth-form select:focus { border-color: #8b8f84; }
.auth-welcome { animation: auth-welcome-in 420ms cubic-bezier(.2,.8,.2,1); }
.welcome-avatar { display: block; width: 88px; height: 88px; border-radius: 50%; margin-bottom: 26px; box-shadow: 0 0 0 5px rgba(255,255,255,.025); }
.auth-welcome h1 { margin: 0 0 14px; color: #eee; font-size: clamp(26px,2.5vw,36px); font-weight: 500; line-height: 1.2; letter-spacing: -.035em; overflow-wrap: anywhere; outline: none; }
.auth-welcome p { margin: 0 0 30px; color: #969696; font-size: 13px; line-height: 1.8; }
.welcome-explore, .welcome-profile { display: block; width: 100%; padding: 16px; border: 0; border-radius: 999px; font: inherit; font-size: 13px; cursor: pointer; }
.welcome-explore { background: #e1e4dc; color: #20221e; }
.welcome-explore:hover { background: #f1f4ec; }
.welcome-profile { margin-top: 12px; background: transparent; color: #aaa; border: 1px solid #3d3d3d; }
.welcome-profile:hover { color: #eee; border-color: #777; }
.profile-badge:has(.nav-user-avatar) { overflow: hidden; }
.profile-badge:has(.nav-user-avatar) svg { display: none; }
.nav-user-avatar { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: inherit; }
@keyframes auth-welcome-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media(max-width:700px) { .auth-form select { font-size: 16px; } .welcome-avatar { width: 72px; height: 72px; } }
@media(prefers-reduced-motion:reduce) { .auth-welcome { animation: none; } }
.profile-menu { position: fixed; z-index: 85; width: 204px; max-width: calc(100vw - 24px); padding: 6px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(23,23,23,.97); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: 0 18px 48px rgba(0,0,0,.42); animation: top-menu-in 170ms cubic-bezier(.2,.8,.2,1); }
.profile-menu[hidden],.saved-header[hidden] { display: none; }
.saved-header { margin: 12px 0 30px; }
.saved-header h1 { margin: 10px 0; font-size: clamp(25px,3vw,34px); font-weight: 500; letter-spacing: -.03em; color: #eee; }
.saved-header p { color: #999; font-size: 13px; }
/* a collection page: everything in the middle: the square cover (where it is set), the name, the description, then the small line and the actions */
.collection-head { display: grid; justify-items: center; gap: 0; text-align: center; margin: 8px auto 34px; max-width: 640px; }
.collection-head h1 { margin: 14px 0 8px; }
.collection-hero { display: grid; justify-items: center; }
.collection-people { display: inline-flex; align-items: center; margin-top: 16px; }
.collection-people > * + * { margin-left: -9px; }
.collection-owner { display: block; width: 38px; height: 38px; border-radius: 50%; line-height: 0; box-shadow: 0 0 0 3px var(--surface, #181818); transition: transform 180ms ease; }
.collection-owner:hover, .collection-owner:focus-visible { box-shadow: 0 0 0 3px var(--surface, #181818), 0 0 0 5px #fff; }
.collection-owner:focus-visible { box-shadow: 0 0 0 2px #fff; }
.collection-owner img { display: block; width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: #30322d; }
.collection-owner-stack { display: flex; width: auto; height: 38px; padding: 0; border: 0; border-radius: 999px; background: none; cursor: pointer; box-shadow: none; }
.collection-owner-stack img { box-shadow: 0 0 0 3px var(--surface, #181818); }
.collection-owner-stack img + img { margin-left: -12px; }
.collection-people-menu { width: 340px; min-width: 220px; }
.collection-person .top-menu-text small { overflow-wrap: anywhere; }
.collection-person .top-menu-text { min-width: 0; }
.collection-person-row { display: flex; align-items: center; gap: 4px; }
.collection-person-row .collection-person { flex: 1; min-width: 0; }
.collection-person-remove { display: grid; place-items: center; flex: none; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: #8b8b8b; cursor: pointer; transition: background-color 140ms ease, color 140ms ease; }
.collection-person-remove svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.collection-person-remove:hover, .collection-person-remove:focus-visible { background: rgba(224,90,90,.14); color: #e8a0a0; outline: none; }
.collection-invite-menu { width: 300px; }
.invite-time { display: grid; gap: 8px; margin: 2px 0; padding: 10px 12px; border-radius: 12px; }
.invite-time-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.invite-time-head strong { color: #f1f1f1; font-size: 14px; font-weight: 500; }
.invite-time-head small { color: #8b8b8b; font-size: 12px; }
.role-help { margin: 0; color: #cfcfcf; font-size: 13px; line-height: 1.55; }
.role-help strong { color: #f1f1f1; font-weight: 500; }
.role-help-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.collection-link-cancel { padding: 8px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: none; color: #ddd; font: inherit; font-size: 13.5px; cursor: pointer; }
.collection-link-cancel:hover, .collection-link-cancel:focus-visible { border-color: rgba(255,255,255,.5); color: #fff; outline: none; }
.invite-joined { color: #8b8b8b; font-size: 12px; line-height: 1.5; }
.collection-person-own { flex: none; padding: 5px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: none; color: #bdbdbd; font: inherit; font-size: 12px; cursor: pointer; transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease; }
.collection-person-own:hover, .collection-person-own:focus-visible { border-color: rgba(255,255,255,.4); color: #fff; outline: none; }
.collection-person-own[hidden] { display: none; }
.liked-spans { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.invite-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.invite-chip { padding: 6px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: none; color: #cfcfcf; font: inherit; font-size: 12.5px; cursor: pointer; transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease; }
.invite-chip:hover, .invite-chip:focus-visible { border-color: rgba(255,255,255,.4); color: #fff; outline: none; }
.invite-chip[aria-pressed="true"] { background: #fff; border-color: #fff; color: #000; }
.collection-person-role { flex: none; padding: 5px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: none; color: #bdbdbd; font: inherit; font-size: 12px; cursor: pointer; transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease; }
.collection-person-role:hover, .collection-person-role:focus-visible { border-color: rgba(255,255,255,.4); color: #fff; outline: none; }
.collection-person-role.is-manager { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff; }
.collection-person-role:disabled { opacity: .5; cursor: default; }
.liked-tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.liked-tool { padding: 8px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: none; color: #e0e0e0; font: inherit; font-size: 13.5px; cursor: pointer; transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease; }
.liked-tool:hover, .liked-tool:focus-visible { border-color: rgba(255,255,255,.5); color: #fff; outline: none; }
.liked-tool[aria-pressed="true"] { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
.liked-tool.is-primary { background: #fff; border-color: #fff; color: #000; font-weight: 500; }
.liked-tool[hidden] { display: none; }
.liked-selecting .feed-card { cursor: pointer; }
.liked-selecting .card-overlay, .liked-selecting .card-collect { display: none; }
.feed-card.is-picked { outline: 3px solid #fff; outline-offset: -3px; }
.feed-card.is-picked::after { content: ""; position: absolute; top: 10px; right: 10px; z-index: 3; width: 24px; height: 24px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat; pointer-events: none; }
.collection-by { position: absolute; left: 8px; top: 8px; z-index: 2; max-width: calc(100% - 16px); padding: 4px 9px; overflow: hidden; border-radius: 999px; background: rgba(16,16,16,.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #f1f1f1; font-size: 11.5px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; transition: opacity 160ms ease; }
.feed-card:hover .collection-by, .feed-card:focus-within .collection-by, .feed-card.menu-open .collection-by { opacity: 0; }
.collection-link-box { left: max(12px, calc(50vw - 170px)); top: 24vh; display: grid; gap: 8px; width: min(340px, calc(100vw - 24px)); padding: 14px; transform-origin: top center; }
.collection-link-box strong { color: #f1f1f1; font-size: 14.5px; font-weight: 500; }
.collection-link-box small { color: #8b8b8b; font-size: 12px; line-height: 1.5; }
.collection-link-box input { width: 100%; padding: 10px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.05); color: #eee; font: inherit; font-size: 13px; }
.collection-link-box input:focus { outline: none; border-color: rgba(255,255,255,.4); }
.collection-link-done { justify-self: end; padding: 8px 18px; border: 0; border-radius: 999px; background: #fff; color: #000; font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.story-menu { width: 280px; }
.story { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.collection-invite { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 16px; margin: 0 auto 18px; padding: 12px 16px; max-width: 460px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.04); }
.collection-invite p { margin: 0; color: #d8d8d8; font-size: 14px; }
.collection-invite-action { padding: 8px 18px; border: 0; border-radius: 999px; background: #fff; color: #000; font: inherit; font-size: 13.5px; font-weight: 500; text-decoration: none; cursor: pointer; transition: opacity 160ms ease; }
.collection-invite-action:hover, .collection-invite-action:focus-visible { opacity: .85; outline: none; }
.collection-invite-action:disabled { opacity: .5; cursor: default; }
.collection-person { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.collection-person img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: #30322d; flex: 0 0 auto; }
.collection-person small { color: #888; font-size: 12px; }
.collection-add-person { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: #2a2a2a; color: rgba(255,255,255,.7); box-shadow: 0 0 0 3px var(--surface, #181818); cursor: pointer; transition: color 180ms ease, background-color 180ms ease, transform 180ms ease; }
.collection-add-person svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.collection-add-person:hover, .collection-add-person:focus-visible { color: #fff; background: #383838; transform: translateY(-1px); outline: none; }
.collection-head p { margin: 0; }
.collection-cover { position: relative; display: block; width: 200px; height: 200px; padding: 0; overflow: hidden; border: 0; border-radius: 22px; background: #202020; color: #eee; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.collection-cover img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.collection-cover-empty { position: absolute; inset: 0; display: grid; place-items: center; color: #777; font-size: 13px; }
button.collection-cover { cursor: pointer; }
.collection-cover-edit { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 7px 10px; border-radius: 999px; background: rgba(20,20,20,.72); color: #f0eee8; font-size: 12px; line-height: 1.3; opacity: 0; transform: translateY(4px); transition: opacity 180ms ease, transform 180ms ease; pointer-events: none; }
button.collection-cover:hover .collection-cover-edit, button.collection-cover:focus-visible .collection-cover-edit, button.collection-cover[aria-pressed="true"] .collection-cover-edit { opacity: 1; transform: none; }
button.collection-cover:focus-visible { outline: 1px solid rgba(255,255,255,.85); outline-offset: 3px; }
.collection-about { max-width: 52ch; margin: 0 0 12px; padding: 0; border: 0; background: none; color: #b5b5b5; font: inherit; font-size: 14.5px; line-height: 1.7; white-space: pre-line; text-align: center; }
button.collection-about { cursor: pointer; }
button.collection-about:hover, button.collection-about:focus-visible { color: #fff; outline: none; }
.collection-about.is-empty { color: #777; }
.collection-head .feed-page-actions { justify-content: center; margin-top: 16px; }
/* edit mode: the contents stand still; pick mode: a press on a content makes it the cover */
.masonry-feed.collection-edit-mode .feed-card { cursor: grab; user-select: none; -webkit-user-select: none; animation: collection-edit-in 340ms ease both; }
@keyframes collection-edit-in { from { opacity: .82; } to { opacity: 1; } }
.masonry-feed.collection-edit-mode .feed-card.is-dragging { z-index: 30; cursor: grabbing; opacity: .93; box-shadow: 0 20px 44px rgba(0,0,0,.55); pointer-events: none; animation: none; }
/* while a content is held, the closed hand shows everywhere */
body.collection-dragging, body.collection-dragging * { cursor: grabbing !important; }
.collection-grip { position: absolute; top: 8px; left: 8px; z-index: 5; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: rgba(20,20,20,.72); color: #eee; touch-action: none; cursor: grab; animation: collection-grip-in 300ms cubic-bezier(.3,1.3,.5,1) both; }
.collection-grip svg { width: 16px; height: 16px; fill: currentColor; }
@keyframes collection-grip-in { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }
.masonry-feed.collection-edit-mode .feed-card .card-overlay, .masonry-feed.collection-picking .feed-card .card-overlay { display: none !important; }
.masonry-feed.collection-picking .feed-card { cursor: pointer; transition: box-shadow 160ms ease; }
.masonry-feed.collection-picking .feed-card:hover { box-shadow: 0 0 0 3px rgba(255,255,255,.85); }
.collection-cover-menu { min-width: 220px; }
.collection-cover-menu .top-menu-item:disabled { opacity: .4; cursor: default; }
.collection-field-edit { display: inline-grid; place-items: center; width: 0; height: 28px; margin-left: 0; padding: 0; overflow: hidden; border: 0; border-radius: 50%; background: none; color: #8a8a8a; vertical-align: middle; opacity: 0; transform: scale(.5); pointer-events: none; cursor: pointer; transition: width 280ms ease, margin 280ms ease, opacity 220ms ease, transform 320ms cubic-bezier(.3,1.3,.5,1), color 180ms ease, background-color 180ms ease; }
.collection-head.is-editing .collection-field-edit { width: 28px; margin-left: 8px; opacity: 1; transform: none; pointer-events: auto; }
.collection-field-edit svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.collection-field-edit:hover, .collection-field-edit:focus-visible { color: #fff; background: rgba(255,255,255,.08); outline: none; }
.collection-about-row { display: flex; align-items: flex-start; justify-content: center; gap: 2px; max-height: 120px; margin: 0 0 12px; overflow: hidden; transition: max-height 320ms ease, opacity 260ms ease, margin 320ms ease; }
.collection-about-row.is-blank { max-height: 0; margin-bottom: 0; opacity: 0; }
.collection-head.is-editing .collection-about-row.is-blank { max-height: 60px; margin-bottom: 12px; opacity: 1; }
.collection-about-row .collection-about { margin: 0; }
.collection-edit .ico { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity 220ms ease, transform 320ms cubic-bezier(.3,1.3,.5,1); }
.collection-edit { position: relative; }
.collection-edit .ico-check { opacity: 0; transform: scale(.4) rotate(-40deg); }
.collection-edit.is-on { color: #fff; background: rgba(255,255,255,.12); }
.collection-edit.is-on .ico-pencil { opacity: 0; transform: scale(.4) rotate(40deg); }
.collection-edit.is-on .ico-check { opacity: 1; transform: none; }
.collection-tools { display: flex; align-items: center; justify-content: center; gap: 6px; }
.collection-gear { display: grid; place-items: center; width: 34px; height: 34px; margin-top: 2px; padding: 0; border: 0; border-radius: 50%; background: none; color: #8a8a8a; cursor: pointer; transition: color 180ms ease, background-color 180ms ease; }
.collection-gear svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.collection-gear:hover, .collection-gear:focus-visible, .collection-gear[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.08); outline: none; }
.collection-settings-menu { width: 300px; }
.collection-settings-rule { height: 1px; margin: 6px 10px; background: rgba(255,255,255,.09); }
.cset-switch { position: relative; flex: none; width: 42px; height: 24px; margin-left: auto; border-radius: 999px; background: rgba(255,255,255,.2); transition: background-color 200ms ease; }
.cset-knob { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.4); transition: transform 220ms cubic-bezier(.3,.9,.3,1); }
.top-menu-item.is-on .cset-switch { background: #3fbf6b; }
.top-menu-item.is-on .cset-knob { transform: translateX(18px); }
.collection-inline { display: block; width: 100%; max-width: 100%; margin: 0; padding: 2px 4px; border: 0; border-bottom: 1px solid rgba(255,255,255,.35); border-radius: 0; background: transparent; color: inherit; font: inherit; letter-spacing: inherit; text-align: center; outline: none; resize: none; }
.collection-inline:focus { border-bottom-color: #fff; }
.collection-head h1 .collection-inline { font-size: inherit; font-weight: inherit; line-height: inherit; }
.collection-inline.is-about { min-width: min(52ch, 90vw); font-size: 14.5px; line-height: 1.7; color: #d0d0d0; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; padding: 8px 12px; }
.collection-inline.is-about:focus { border-color: rgba(255,255,255,.6); }
.collection-edit { display: grid; place-items: center; width: 34px; height: 34px; margin-top: 2px; padding: 0; border: 0; border-radius: 50%; background: none; color: #8a8a8a; cursor: pointer; transition: color 180ms ease, background-color 180ms ease; }
.collection-edit svg, .collection-field-edit svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.collection-edit:hover, .collection-edit:focus-visible { color: #fff; background: rgba(255,255,255,.08); outline: none; }
.collection-head h1.is-editable { cursor: pointer; border-radius: 10px; transition: color 180ms ease; }
.collection-head h1.is-editable:hover { color: #fff; }
.collection-dialog-delete { margin-right: auto; padding: 0; border: 0; background: none; color: #e0a5a5; font: inherit; font-size: 13.5px; cursor: pointer; }
.collection-dialog-delete:hover { color: #ffb4b4; text-decoration: underline; }
.collection-dialog-delete[hidden] { display: none; }
@media (max-width: 700px) { .collection-cover { width: 160px; height: 160px; border-radius: 18px; } }
.profile-menu > button,.profile-menu > a { display: flex; align-items: center; gap: 12px; width: 100%; text-decoration: none; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 12px; background: transparent; color: #e8e8e8; font: inherit; font-size: 14px; text-align: left; cursor: pointer; transition: background-color 140ms ease, color 140ms ease; }
.profile-menu > button:hover,.profile-menu > a:hover { background: rgba(255,255,255,.07); }
.profile-menu [role='menuitem']:focus-visible { outline: 1px solid rgba(255,255,255,.85); outline-offset: -2px; background: rgba(255,255,255,.07); }
.profile-menu svg { flex-shrink: 0; width: 17px; height: 17px; fill: none; stroke: #d2d2d2; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.profile-menu-divider { height: 1px; margin: 6px 10px; background: rgba(255,255,255,.09); }
.profile-motion-icon { display: block; flex: 0 0 17px; width: 17px; height: 17px; }
.profile-menu .profile-motion-icon > svg { width: 100% !important; height: 100% !important; }
.profile-motion-icon path[stroke] { stroke: #bbb; }
.profile-motion-star path[fill]:not([fill="none"]) { fill: #bbb; }
.profile-menu .menu-save-outline { fill: none; }
.profile-button .profile-chevron { transition: transform 180ms ease; }
.profile-button[aria-expanded='true'] .profile-chevron { transform: rotate(180deg); }
@media(prefers-reduced-motion:reduce) { .profile-menu { animation: none; } .profile-button .profile-chevron { transition: none; } }
.nav-actions .chat-button { width: 34px; height: 34px; border: 1px solid var(--search-focus-edge); border-radius: 50%; }
.chat-button svg { width: 17px; height: 17px; }
.account-page[hidden] { display: none; }
.account-page-active > :not(.account-page) { display: none !important; }
.account-page { width: min(780px,100%); margin: 12px auto 100px; }
.account-page .content-back { display: flex; margin-bottom: 38px; }
.account-page h1 { margin: 12px 0; color: #eee; font-weight: 500; font-size: clamp(28px,4vw,42px); letter-spacing: -.04em; }
.account-page-intro { color: #999; font-size: 13px; line-height: 1.8; }
.account-page-panel { margin-top: 32px; padding: clamp(24px,4vw,40px); border: 1px solid rgba(255,255,255,.08); border-radius: 22px; background: linear-gradient(135deg,rgba(255,255,255,.025),transparent),rgba(30,30,30,.6); }
.account-page-panel h2 { color: #ddd; font-weight: 500; font-size: 22px; line-height: 1.4; letter-spacing: -.025em; }
.account-page-panel p { max-width: 55ch; color: #999; line-height: 1.8; font-size: 13px; }
.settings-avatar { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 18px; }
.settings-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 18px 0; border-bottom: 1px solid #343434; font-size: 13px; }
.settings-row span { color: #929292; }
.settings-row strong { color: #ddd; font-weight: 400; overflow-wrap: anywhere; }
.settings-blocks { display: grid; gap: 18px; margin-top: 28px; }
.settings-block { padding: 22px; border: 1px solid #343434; border-radius: 16px; background: #1d1d1d; }
.settings-block h3 { margin: 0 0 6px; color: #ddd; font-size: 15px; font-weight: 500; }
.settings-block.is-danger { border-color: #5a3434; }
.settings-hint { margin: 0 0 14px; max-width: 60ch; color: #929292; font-size: 12.5px; line-height: 1.7; }
.settings-form { display: grid; gap: 12px; max-width: 360px; }
.settings-field { display: grid; gap: 6px; font-size: 12px; color: #929292; }
.settings-field[hidden] { display: none; }
.settings-field input { padding: 11px 14px; border: 1px solid #444; border-radius: 12px; background: #181818; color: #ddd; font: inherit; font-size: 14px; }
.settings-field input:focus-visible { outline: 1px solid rgba(255,255,255,.85); outline-offset: 2px; }
.settings-submit { justify-self: start; padding: 11px 20px; border: 0; border-radius: 999px; background: #ddd; color: #181818; font: inherit; font-size: 13px; cursor: pointer; }
.settings-submit:disabled { opacity: .55; cursor: default; }
.is-danger .settings-submit { background: #e0a5a5; }
.settings-status { margin: 0; min-height: 1.4em; color: #a9c4a0; font-size: 12.5px; }
.settings-status.is-error { color: #e0a5a5; }
.settings-link { display: inline-block; padding: 11px 20px; border: 1px solid #555; border-radius: 999px; color: #ddd; font-size: 13px; text-decoration: none; }
.settings-link:hover, .settings-link:focus-visible { border-color: #aaa; }
.follow-categories { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); }
.follow-categories-hint { margin: 0 0 16px; color: #929292; font-size: 12.5px; }
.follow-category-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.follow-category { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid #343434; border-radius: 16px; background: #1d1d1d; }
.follow-category.is-followed { border-color: #6b6b6b; }
.follow-category-link { display: grid; gap: 3px; color: #ddd; text-decoration: none; }
.follow-category-link strong { font-size: 14px; font-weight: 500; }
.follow-category-link small { color: #888; font-size: 11.5px; }
.follow-category-button { padding: 8px 13px; border: 1px solid #555; border-radius: 999px; background: transparent; color: #ccc; font: inherit; font-size: 12px; cursor: pointer; white-space: nowrap; }
.follow-category-button[aria-pressed="true"] { background: #ddd; border-color: #ddd; color: #181818; }
.follow-category-button:focus-visible, .follow-category-link:focus-visible { outline: 1px solid rgba(255,255,255,.85); outline-offset: 2px; }
@font-face { font-family: "Roboto Slab"; src: url("./assets/fonts/roboto-slab-variable.ttf") format("truetype"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("./assets/fonts/caveat-variable.ttf") format("truetype"); font-weight: 400 700; font-style: normal; font-display: swap; }
.account-page.ogren-host { width: min(1480px,100%); margin: 12px auto 120px; }
.ogren-host { --ogren-slab: "Roboto Slab","Rockwell",Georgia,serif; --ogren-serif: "Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; --ogren-paper: #e9e6dc; }
.ogren-eyebrow { display: none; }
.ogren-hero { max-width: 800px; padding: clamp(28px,6vw,68px) 0 30px; }
.ogren-title { margin: 14px 0 18px; font-family: var(--ogren-serif); font-weight: 400; font-size: clamp(34px,6vw,64px); line-height: 1.06; letter-spacing: -.02em; color: #f0eee8; }
.ogren-intro { max-width: 56ch; margin: 0; color: #a8a8a8; font-size: 16px; line-height: 1.8; }
.ogren-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.ogren-chip { padding: 9px 16px; border: 1px solid #4a4a4a; border-radius: 999px; background: transparent; color: #ccc; font: inherit; font-size: 13px; cursor: pointer; transition: background 200ms ease, color 200ms ease; }
.ogren-chip[aria-pressed="true"] { background: var(--ogren-paper); border-color: var(--ogren-paper); color: #181818; }
.ogren-chip:focus-visible { outline: 1px solid rgba(255,255,255,.85); outline-offset: 2px; }
.ogren-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.ogren-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid #2f2f2f; border-radius: 22px; background: #1b1b1b; color: inherit; text-decoration: none; transition: transform 320ms cubic-bezier(.2,.8,.2,1), border-color 320ms ease; }
.ogren-card:hover, .ogren-card:focus-visible { transform: translateY(-4px); border-color: #5a5a5a; }
.ogren-card:focus-visible { outline: 1px solid rgba(255,255,255,.85); outline-offset: 3px; }
.ogren-card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #111; }
.ogren-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(.2,.8,.2,1); }
.ogren-card:hover .ogren-card-media img { transform: scale(1.04); }
.ogren-card-body { display: grid; align-content: start; gap: 6px; padding: 20px 22px 24px; }

.ogren-card-title { font-family: var(--ogren-slab); font-weight: 500; font-size: 24px; line-height: 1.2; color: #f0eee8; }
.ogren-card-years { color: #888; font-size: 12px; }
.ogren-card-summary { margin-top: 6px; color: #aaa; font-size: 13.5px; line-height: 1.7; }
.ogren-card.is-featured { grid-column: span 2; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto; }
.ogren-card.is-featured .ogren-card-media { aspect-ratio: auto; min-height: 340px; }
.ogren-card.is-featured .ogren-card-body { align-content: center; padding: 32px; }
.ogren-card.is-featured .ogren-card-title { font-size: clamp(30px,3.4vw,42px); }
.ogren-back { display: inline-flex; margin: 0 0 22px; color: #aaa; font-size: 13px; text-decoration: none; }
.ogren-back:hover { color: #fff; }
.ogren-article-hero { display: grid; grid-template-columns: clamp(270px,30%,400px) minmax(0,1fr); gap: 16px; min-height: clamp(360px,44vw,600px); margin-bottom: 56px; }
.ogren-hero-card { position: relative; overflow: hidden; border-radius: 28px; background: #111; }
.ogren-hero-card { display: block; border: 0; background: linear-gradient(#0b0b0b, #0b0b0b) left bottom / 100% 3px no-repeat, linear-gradient(0deg, rgba(10,10,10,.94) 0%, rgba(10,10,10,.78) 22%, rgba(10,10,10,0) 62%) center bottom -2px / 100% calc(100% + 2px) no-repeat, var(--portrait) center var(--portrait-y, 24%) / cover no-repeat, #111; }

.ogren-hero-open { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.ogren-hero-open:focus-visible { outline: 1px solid rgba(255,255,255,.85); outline-offset: -4px; }


.ogren-hero-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 26px; pointer-events: none; }
.ogren-hero-quote { display: flex; flex-direction: column; justify-content: center; min-width: 0; margin: 0; padding: 4px clamp(6px,1.4vw,24px) 6px clamp(4px,2vw,32px); }
.ogren-hero-quote::before, .ogren-hero-quote::after { display: block; color: var(--ogren-paper); opacity: .42; font-family: "Caveat","Segoe Script","Bradley Hand",cursive; font-weight: 700; font-size: clamp(90px,10vw,170px); line-height: .6; }
.ogren-hero-quote::before { content: "\201C"; margin-bottom: 6px; }
.ogren-hero-quote::after { content: "\201D"; align-self: flex-end; margin-top: 14px; }
.ogren-quote-text { margin: 0 0 18px; color: #f0eee8; font-family: "Caveat","Segoe Script","Bradley Hand",cursive; font-weight: 700; font-size: clamp(38px,5.2vw,82px); line-height: 1.04; letter-spacing: 0; text-wrap: balance; }
.ogren-quote-key { color: #f2c14e; font-style: normal; }
.ogren-article-title { margin: 0 0 8px; font-family: var(--ogren-slab); font-weight: 500; font-size: clamp(28px,3.4vw,46px); line-height: 1.08; letter-spacing: -.01em; color: #fff; }
.ogren-article-years { margin: 0; color: var(--ogren-paper); font-family: var(--ogren-slab); font-weight: 300; font-size: clamp(17px,1.9vw,24px); letter-spacing: .02em; }







.ogren-layout { display: grid; grid-template-columns: 260px minmax(0,720px); gap: clamp(28px,6vw,84px); justify-content: center; }
.ogren-aside { position: sticky; top: 96px; display: grid; gap: 22px; align-self: start; }
.ogren-box { padding: 20px; border: 1px solid #333; border-radius: 18px; background: #1b1b1b; }
.ogren-box-title { margin: 0 0 14px; color: #a9a58f; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.ogren-toc ul { display: grid; margin: 0; padding: 0; list-style: none; }
.ogren-toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid #333; color: #8f8f8f; font-size: 13.5px; text-decoration: none; transition: color 160ms ease, border-color 160ms ease; }
.ogren-toc a:hover, .ogren-toc a.is-active { border-color: var(--ogren-paper); color: #eee; }
.ogren-facts { display: grid; margin: 0; }
.ogren-facts div { padding: 10px 0; border-bottom: 1px solid #2c2c2c; }
.ogren-facts div:last-child { border-bottom: 0; }
.ogren-facts dt { color: #8a8a8a; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.ogren-facts dd { margin: 4px 0 0; color: #ddd; font-size: 13.5px; line-height: 1.6; }
.ogren-section { margin: 0 0 58px; scroll-margin-top: 96px; }
.ogren-section h2 { margin: 0 0 18px; font-family: var(--ogren-serif); font-weight: 400; font-size: clamp(26px,3.4vw,34px); letter-spacing: -.01em; color: #f0eee8; }
.ogren-section p { margin: 0 0 18px; color: #b6b6b6; font-size: 16px; line-height: 1.95; }
.ogren-section p.ogren-lead { font-family: var(--ogren-serif); font-size: clamp(19px,2.4vw,23px); line-height: 1.7; color: #e8e5dc; }
.ogren-timeline { margin: 0; padding: 0 0 0 8px; list-style: none; border-left: 1px solid #444; }
.ogren-timeline li { position: relative; padding: 0 0 26px 24px; }
.ogren-timeline li::before { content: ""; position: absolute; left: -13px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--ogren-paper); box-shadow: 0 0 0 4px #181818; }
.ogren-timeline time { display: block; font-family: var(--ogren-serif); font-size: 19px; color: var(--ogren-paper); }
.ogren-timeline p { margin: 4px 0 0; font-size: 15px; line-height: 1.75; }
.ogren-works { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px 22px; align-items: start; }
.ogren-work { margin: 0; }
.ogren-work.is-large { grid-column: 1 / -1; }
.ogren-work-open { display: block; width: 100%; padding: 0; border: 0; border-radius: 14px; background: #111; overflow: hidden; cursor: zoom-in; }
.ogren-work-open img { display: block; width: 100%; height: auto; transition: transform 700ms cubic-bezier(.2,.8,.2,1); }
.ogren-work-open:hover img { transform: scale(1.025); }
.ogren-work-open:focus-visible { outline: 1px solid rgba(255,255,255,.85); outline-offset: 3px; }
.ogren-work figcaption { padding-top: 12px; }
.ogren-work figcaption strong { display: block; color: #eee; font-size: 14.5px; font-weight: 500; }
.ogren-work-meta { display: block; margin-top: 3px; color: #888; font-size: 12px; }
.ogren-work figcaption p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.75; }
.ogren-sources { margin: 0 0 16px; padding-left: 18px; color: #999; font-size: 13px; line-height: 1.8; }
.ogren-sources a { color: #ccc; }
.ogren-section p.ogren-note { color: #8a8a8a; font-size: 12.5px; line-height: 1.8; }
.ogren-related { margin-top: 40px; padding-top: 36px; border-top: 1px solid #2c2c2c; }
.ogren-related h2 { margin: 0 0 22px; font-family: var(--ogren-serif); font-weight: 400; font-size: 28px; color: #f0eee8; }
.ogren-lightbox { max-width: min(92vw,1100px); padding: 16px; border: 1px solid #333; border-radius: 20px; background: #141414; color: #ddd; }
.ogren-lightbox::backdrop { background: rgba(0,0,0,.86); }
.ogren-lightbox figure { margin: 0; }
.ogren-lightbox-image { display: block; width: auto; max-width: 100%; max-height: 78vh; margin: 0 auto; border-radius: 12px; }
.ogren-lightbox figcaption { display: grid; gap: 3px; padding: 14px 4px 2px; font-size: 13px; }
.ogren-lightbox figcaption small { color: #888; }
.ogren-lightbox-close { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.account-page.create-host { width: min(1320px,100%); margin: 12px auto 70px; }
.create-title { margin: 0 0 12px; color: #eee; font-weight: 500; font-size: clamp(24px,3.4vw,34px); letter-spacing: -.03em; }
.create-note { margin: 0 0 8px; color: #999; font-size: 14px; line-height: 1.8; }
.create-drop { position: relative; display: grid; min-height: calc(100vh - 230px); min-height: calc(100dvh - 230px); border: 2px dashed #4a4a4a; border-radius: 32px; background: #1a1a1a; overflow: hidden; cursor: pointer; outline-offset: 4px; transition: border-color 220ms ease, background 220ms ease; }
.create-drop:hover, .create-drop:focus-visible, .create-drop.is-over { border-color: #bdbdbd; background: #1f1f1f; }
.create-drop:focus-visible { outline: 1px solid rgba(255,255,255,.85); }
.create-drop.is-over { border-style: solid; }
.create-drop.has-file { cursor: default; border-style: solid; border-color: #3a3a3a; }
.create-drop.has-error { border-color: #c98a8a; }
.create-drop-empty { display: grid; place-content: center; justify-items: center; gap: 10px; padding: 40px 24px; text-align: center; }
.create-drop-empty[hidden], .create-drop-preview[hidden] { display: none; }
.create-drop-icon { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 10px; border: 1px solid #444; border-radius: 50%; color: #ddd; transition: transform 320ms cubic-bezier(.2,.8,.2,1); }
.create-drop-icon svg { width: 36px; height: 36px; }
.create-drop:hover .create-drop-icon, .create-drop.is-over .create-drop-icon { transform: translateY(-4px); }
.create-drop-title { color: #f0eee8; font-family: "Roboto Slab","Rockwell",Georgia,serif; font-weight: 500; font-size: clamp(26px,3.4vw,44px); letter-spacing: -.01em; }
.create-drop-sub { color: #aaa; font-size: 15px; }
.create-drop-hint { margin-top: 10px; color: #777; font-size: 12.5px; }
.create-drop-preview { position: relative; display: grid; grid-template-rows: minmax(0,1fr) auto; min-height: 0; }
.create-drop-preview img { justify-self: center; align-self: center; max-width: 100%; max-height: calc(100vh - 330px); max-height: calc(100dvh - 330px); padding: 24px; object-fit: contain; }
.create-drop-message { position: absolute; left: 0; right: 0; bottom: 18px; margin: 0; padding: 0 20px; color: #e0a5a5; font-size: 13.5px; text-align: center; }
.create-drop-message:empty { display: none; }
.create-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; }
.create-layout.has-file { grid-template-columns: minmax(0,1.6fr) minmax(300px,1fr); gap: clamp(32px,5vw,80px); align-items: start; }
.create-drop.has-file { min-height: 0; width: 100%; border: 0; border-radius: 0; background: transparent; overflow: visible; }
.create-drop.has-file .create-drop-preview { grid-template-rows: auto auto; }
.create-drop.has-file .create-drop-preview img { display: block; width: auto; height: auto; max-width: 100%; max-height: 65vh; padding: 0; margin: 0 auto; object-fit: contain; }
.create-drop.has-file .create-drop-message { position: static; padding: 8px 20px 12px; }
.create-form { position: sticky; top: 112px; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 24px 0; }
.create-form[hidden] { display: none; }
.create-input { width: 100%; border: 0; border-bottom: 1px solid transparent; border-radius: 0; background: transparent; color: #eee; font: inherit; box-sizing: border-box; outline: none; transition: border-color 180ms ease; }
.create-input::placeholder { color: #666; }
.create-input:hover, .create-input:focus-visible { border-bottom-color: #444; }
.create-title-input { margin: 18px 0; padding: 4px 0; font-size: clamp(26px,2.8vw,40px); line-height: 1.2; font-weight: 500; letter-spacing: -.035em; }
.create-desc-input { max-width: 38ch; min-height: 76px; margin: 0 0 22px; padding: 4px 0; color: #aaa; font-size: 14px; line-height: 1.85; resize: vertical; }
.create-creator { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.create-creator-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #30322d; color: #dedede; }
.create-creator strong { display: block; color: #ddd; font-size: 13px; font-weight: 500; }
.create-creator small { display: block; margin-top: 4px; color: #888; font-size: 11px; }
.create-tag-row { align-items: center; width: 100%; margin: 0 0 4px; }
.create-tag-input { flex: 0 1 140px; width: 140px; min-width: 0; padding: 6px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-size: 13px; }
.create-tag-add { display: grid; place-items: center; min-width: 34px; height: 32px; padding: 0 12px; border: 1px dashed rgba(255,255,255,.3); border-radius: 999px; background: transparent; color: #cfcfcf; font: inherit; font-size: 16px; line-height: 1; cursor: pointer; transition: color 180ms ease, border-color 180ms ease; }
.create-tag-add:hover, .create-tag-add:focus-visible { color: #fff; border-color: rgba(255,255,255,.6); outline: none; }
.create-tag-add[hidden], .create-tag-input[hidden] { display: none; }
.create-info { display: block; margin-top: 4px; color: #888; font-size: 11px; overflow-wrap: anywhere; }
.create-file-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 22px; }
.create-link-button { padding: 0 0 4px; border: 0; border-bottom: 1px solid #414141; background: transparent; color: #aaa; font: inherit; font-size: 12px; cursor: pointer; }
.create-link-button:hover, .create-link-button:focus-visible { color: #fff; outline: none; }
.create-colors[hidden] { display: none; }
.create-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; width: 100%; margin-top: 30px; padding-top: 24px; border-top: 1px solid #303030; }
.create-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: 100%; margin: 8px 0 14px; }
.create-suggest[hidden] { display: none; }
.create-suggest-label { margin-right: 4px; color: #888; font-size: 12px; }
.create-suggest-chip { padding: 5px 12px; border: 1px dashed rgba(255,255,255,.28); border-radius: 999px; background: transparent; color: #cfcfcf; font: inherit; font-size: 13px; cursor: pointer; transition: color 160ms ease, border-color 160ms ease; }
.create-suggest-chip:hover, .create-suggest-chip:focus-visible { border-color: rgba(255,255,255,.6); color: #fff; outline: none; }
.create-ml-status { margin: 4px 0 12px; color: #888; font-size: 12.5px; line-height: 1.6; }
.create-ml-status:empty { display: none; }
.create-more { position: absolute; top: 12px; right: 0; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; background: linear-gradient(135deg,rgba(255,255,255,.04),transparent),rgba(34,34,34,.7); color: #ddd; cursor: pointer; }
.create-more svg { width: 20px; height: 20px; }
.create-more:hover, .create-more:focus-visible { border-color: rgba(255,255,255,.3); outline: none; }
.create-menu { position: absolute; top: 64px; right: 0; z-index: 5; min-width: 220px; padding: 6px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(23,23,23,.97); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: 0 18px 48px rgba(0,0,0,.42); animation: top-menu-in 170ms cubic-bezier(.2,.8,.2,1); transform-origin: top right; }
.create-menu[hidden] { display: none; }
.create-menu-item { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 12px; background: transparent; color: #e8e8e8; font: inherit; font-size: 14px; text-align: left; cursor: pointer; transition: background-color 140ms ease, color 140ms ease; }
.create-menu-item:hover, .create-menu-item:focus-visible { background: rgba(255,255,255,.07); outline: none; }
.create-menu-item:focus-visible { outline: 1px solid rgba(255,255,255,.85); outline-offset: -2px; }
.create-menu-item.is-danger, .top-menu-item.is-danger strong { color: #e8a0a0; }
.top-menu-item.is-danger .top-menu-icon svg { stroke: #e8a0a0; }
.create-menu-item.is-danger:hover, .create-menu-item.is-danger:focus-visible, .top-menu-item.is-danger:hover, .top-menu-item.is-danger:focus-visible { background: rgba(224,90,90,.14); }
.create-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; background: linear-gradient(135deg,rgba(255,255,255,.04),transparent),rgba(34,34,34,.7); color: #ddd; cursor: pointer; }
.create-icon svg { width: 21px; height: 21px; }
.create-icon:disabled { opacity: .4; cursor: not-allowed; }
.create-icon.is-active:hover, .create-icon.is-active:focus-visible { border-color: rgba(255,255,255,.3); outline: none; }
.create-rights { display: flex; align-items: flex-start; gap: 10px; max-width: 44ch; margin: 6px 0 0; color: #aaa; font-size: 12.5px; line-height: 1.6; cursor: pointer; }
.create-rights input { margin-top: 3px; accent-color: #bec9b4; }
.create-import { display: flex; flex-wrap: wrap; gap: 12px; max-width: 720px; margin-top: 24px; }
.create-import-input { flex: 1 1 280px; width: auto; padding: 13px 18px; border: 1px solid #444; border-radius: 999px; background: #1c1c1c; font-size: 15px; }
.create-import-input:focus-visible { border-color: #8a8a8a; }
.create-note { max-width: 62ch; }
a.create-creator { color: inherit; text-decoration: none; }
.post-info .content-source { margin-bottom: 22px; }
.post-title { margin: 18px 0; color: #eee; font-size: clamp(26px,2.8vw,40px); line-height: 1.2; font-weight: 500; letter-spacing: -.035em; overflow-wrap: anywhere; }
.post-description { max-width: 44ch; margin: 0 0 30px; color: #aaa; font-size: 14px; line-height: 1.85; white-space: pre-line; overflow-wrap: anywhere; }
.post-hidden-note { margin: 12px 0 0; padding: 10px 14px; border: 1px solid #5a3a3a; border-radius: 12px; color: #e0a5a5; font-size: 13px; line-height: 1.6; }
.post-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 6px 0 28px; }
.post-bar-link { padding-bottom: 3px; border-bottom: 1px solid #414141; color: #aaa; font-size: 13px; text-decoration: none; }
.post-bar-link:hover, .post-bar-link:focus-visible { color: #fff; outline: none; }
.post-grid { column-width: 230px; column-gap: 14px; }
.post-card { position: relative; display: block; margin: 0 0 14px; overflow: hidden; break-inside: avoid; border-radius: var(--r-card); background: #202020; color: inherit; text-decoration: none; }
.post-card img { display: block; width: 100%; height: auto; }
.post-card-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; background: linear-gradient(transparent,rgba(0,0,0,.75)); color: #fff; font-size: 13px; line-height: 1.4; opacity: 0; transition: opacity 200ms ease; overflow-wrap: anywhere; }
.post-card:hover .post-card-title, .post-card:focus-visible .post-card-title { opacity: 1; }
.post-card:focus-visible { outline: 1px solid rgba(255,255,255,.85); outline-offset: 2px; }
.post-card-flag { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(0,0,0,.7); color: #e0a5a5; font-size: 11px; font-style: normal; }
.post-status { margin: 24px 0; color: #888; font-size: 14px; }
.post-status a { color: #ddd; }
.post-more-button { display: block; margin: 24px auto 0; padding: 11px 22px; border: 1px solid #555; border-radius: 999px; background: transparent; color: #ddd; font: inherit; font-size: 13.5px; cursor: pointer; }
.post-more-button:hover:not(:disabled), .post-more-button:focus-visible { border-color: #aaa; color: #fff; }
.post-more-button[hidden], .post-status[hidden] { display: none; }
.profile-posts { margin-top: 44px; }
.profile-posts h2 { margin: 0 0 18px; color: #ddd; font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.post-dialog { width: min(480px,calc(100vw - 32px)); padding: 24px; border: 1px solid #3a3a3a; border-radius: 20px; background: #181818; color: #ddd; }
.post-dialog::backdrop { background: rgba(0,0,0,.6); }
.post-dialog h2 { margin: 0 0 16px; font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.post-dialog-fields { display: grid; gap: 12px; }
.post-dialog-input { padding: 11px 14px; border: 1px solid #444; border-radius: 12px; background: #1c1c1c; font-size: 14.5px; }
.post-dialog-input:focus-visible { border-color: #8a8a8a; }
.post-dialog-note { margin: 0 0 6px; color: #aaa; font-size: 13px; line-height: 1.7; }
.post-dialog-choice { display: flex; align-items: center; gap: 10px; padding: 8px 0; cursor: pointer; }
.post-dialog-choice input { accent-color: #bec9b4; }
.post-dialog-error { margin: 10px 0 0; color: #e0a5a5; font-size: 13px; }
.post-dialog-error[hidden] { display: none; }
.post-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.post-dialog-cancel { padding: 10px 18px; border: 1px solid #555; border-radius: 999px; background: transparent; color: #ddd; font: inherit; font-size: 13.5px; cursor: pointer; }
.post-dialog-cancel:hover:not(:disabled), .post-dialog-cancel:focus-visible { border-color: #aaa; color: #fff; }
.post-dialog-cancel.is-danger { color: #e0a5a5; }
.post-queue { display: grid; gap: 18px; margin-top: 20px; }
.post-queue-item { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 18px; padding: 16px; border: 1px solid #333; border-radius: 16px; background: #161616; }
.post-queue-thumb img { display: block; width: 100%; height: auto; border-radius: 10px; }
.post-queue-title { color: #eee; font-size: 16px; text-decoration: none; overflow-wrap: anywhere; }
.post-queue-body small { display: block; margin: 6px 0; color: #888; font-size: 12px; }
.post-queue-reasons { margin: 8px 0 0; padding-left: 18px; color: #c9a0a0; font-size: 13px; line-height: 1.7; }
.post-queue-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
@media (hover: none) { .post-card-title { opacity: 1; } }
@media (max-width: 700px) { .post-grid { column-width: 150px; column-gap: 10px; } .post-card { margin-bottom: 10px; } .post-queue-item { grid-template-columns: 1fr; } .create-more { top: 0; } }
@media (prefers-reduced-motion: reduce) { .post-card-title { transition: none; } }
.content-comments { max-width: 760px; margin: 56px auto 40px; }
.content-comments[hidden], .post-related[hidden] { display: none; }
.post-info .content-comments, .content-info .content-comments { max-width: none; margin: 22px 0 14px; }
.comments-title { display: flex; align-items: baseline; gap: 8px; margin: 0 0 18px; color: #ddd; font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.comments-count { color: #888; font-size: 14px; font-weight: 400; }
.comments-form { margin-bottom: 26px; }
.comments-input { padding: 12px 16px; border: 1px solid #444; border-radius: 16px; background: #1c1c1c; font-size: 14.5px; line-height: 1.6; resize: none; min-height: 56px; }
.comments-input:focus-visible { border-color: #8a8a8a; }
.comments-form-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.comments-left { color: #777; font-size: 12px; }
.comments-error { margin: 8px 0 0; color: #e0a5a5; font-size: 13px; }
.comments-error[hidden] { display: none; }
.comments-list { display: grid; gap: 18px; }
.comment-replies { display: grid; gap: 14px; margin-top: 4px; }
.comment-replies:empty { display: none; }
.comment-replies { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.1); margin-top: 12px; }
.comment.is-reply .comment-avatar { width: 26px; height: 26px; font-size: 11px; }
.comment-answer { align-self: flex-start; margin-top: 6px; padding: 0; border: 0; background: none; color: #999; font: inherit; font-size: 12.5px; cursor: pointer; }
.comment-answer:hover, .comment-answer:focus-visible { color: #fff; }
.comment-answer-form { margin: 10px 0 0; }
.comment-answer-buttons { display: inline-flex; gap: 10px; align-items: center; }
.comment-cancel { padding: 0; border: 0; background: none; color: #999; font: inherit; font-size: 13px; cursor: pointer; }
.comment-cancel:hover { color: #fff; }
.comment-mention { color: #d8c9a6; }
.comment { display: flex; gap: 12px; }
.comment-avatar { flex: 0 0 auto; width: 36px; height: 36px; font-size: 14px; }
.comment-body { min-width: 0; flex: 1; }
.comment-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.comment-name { color: #ddd; font-size: 13px; font-weight: 500; text-decoration: none; }
.comment-name:hover, .comment-name:focus-visible { text-decoration: underline; outline: none; }
.comment-meta small { color: #888; font-size: 11.5px; }
.comment-delete { margin-left: auto; padding: 2px 8px; border: 0; border-radius: 8px; background: transparent; color: #888; font: inherit; font-size: 12px; cursor: pointer; }
.comment-delete:hover:not(:disabled), .comment-delete:focus-visible { background: #2a2a2a; color: #e0a5a5; outline: none; }
.comment-text { margin: 4px 0 0; color: #bbb; font-size: 14px; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.comments-status { margin: 18px 0 0; color: #888; font-size: 14px; }
.comments-status[hidden] { display: none; }
.post-related { margin-top: 48px; }
.post-stats { margin: -10px 0 20px; color: #8a8a8a; font-size: 12.5px; letter-spacing: .01em; }
.post-limit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 4px 0 22px; padding: 14px 16px; border: 1px solid #333; border-radius: 14px; background: #161616; }
.post-limit-label { display: flex; align-items: center; gap: 10px; color: #aaa; font-size: 13.5px; }
.post-limit-input { width: 84px; padding: 8px 12px; border: 1px solid #444; border-radius: 10px; background: #1c1c1c; font-size: 14px; }
.post-limit-state { color: #888; font-size: 12.5px; }
.feed-card.is-sensitive, .post-card.is-sensitive { overflow: hidden; }
.feed-card.is-sensitive[hidden], .post-card.is-sensitive[hidden] { display: none; }
.post-figure { position: relative; }
.create-sensitive-note { margin: 10px 0 0; color: #9a9a9a; font-size: 12px; line-height: 1.55; }
.create-sensitive-note.is-error { color: #ff7b72; }
.create-progress { width: 100%; height: 6px; margin-top: 14px; overflow: hidden; border-radius: 999px; background: #2a2a2a; }
.create-progress[hidden] { display: none; }
.create-progress-fill { width: 0; height: 100%; border-radius: inherit; background: #f0eee8; transition: width 180ms ease; }
.comment-report { padding: 2px 8px; border: 0; border-radius: 8px; background: transparent; color: #777; font: inherit; font-size: 12px; cursor: pointer; }
.comment-report:hover:not(:disabled), .comment-report:focus-visible { background: #2a2a2a; color: #e0a5a5; outline: none; }
.comment-report:disabled { cursor: default; color: #666; }
.comment.is-hidden { opacity: .65; }
.comment-hidden-note { display: block; margin-top: 4px; color: #e0a5a5; font-size: 11.5px; }
.post-queue-comment { grid-template-columns: minmax(0,1fr); }
.post-queue-quote { margin: 8px 0 0; padding: 10px 14px; border-left: 2px solid #444; color: #bbb; font-size: 14px; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) { .create-progress-fill { transition: none; } }
.notification-button { position: relative; }
.notif-badge { position: absolute; top: -5px; right: -5px; display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: #e0a5a5; color: #111; font-size: 10px; font-weight: 700; line-height: 1; box-sizing: border-box; }
.notif-badge[hidden] { display: none; }
.notif-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 6px; }
.notif-head .create-title { margin: 0; }
.notif-list { display: grid; gap: 4px; margin-top: 18px; max-width: 760px; }
.notif-item { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: 16px; color: #bbb; text-decoration: none; transition: background 160ms ease; }
a.notif-item:hover, a.notif-item:focus-visible { background: #1f1f1f; outline: none; }
.notif-item.is-unread { background: #1b1b1b; box-shadow: inset 3px 0 0 #9fb3c8; color: #ddd; }
.notif-avatar { flex: 0 0 auto; width: 40px; height: 40px; }
.notif-body { min-width: 0; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.notif-body strong { margin-right: 4px; color: #eee; font-weight: 500; }
.notif-body small { display: block; margin-top: 3px; color: #888; font-size: 11.5px; }
.create-icon[aria-pressed="true"] { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.16); color: #fff; }
.create-icon[aria-pressed="true"] svg { fill: currentColor; }
@media (max-width: 700px) { .content-comments { margin-top: 36px; } }
.create-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.create-tags:empty { display: none; }
.create-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: #cfcfcf; font-size: 13px; }
.create-tag-remove { display: grid; place-items: center; width: 22px; height: 22px; border: 0; border-radius: 50%; background: transparent; color: #aaa; font: inherit; font-size: 16px; line-height: 1; cursor: pointer; }
.create-tag-remove:hover, .create-tag-remove:focus-visible { background: #333; color: #fff; }
.create-share { padding: 13px 20px; border: 0; border-radius: 999px; background: #f0eee8; color: #111; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: opacity 160ms ease; }
.create-share:hover, .create-share:focus-visible { opacity: .88; }
.create-form-status { margin: 0; color: #aaa; font-size: 13.5px; line-height: 1.6; }
.create-form-status:empty { display: none; }
.create-form-status.is-error { color: #e0a5a5; }
.create-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 28px; }
.create-choice { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 10px; min-height: min(46vh,420px); padding: 32px; border: 1px solid #3a3a3a; border-radius: 28px; background: #1a1a1a; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color 200ms ease, background 200ms ease, transform 260ms cubic-bezier(.2,.8,.2,1); }
.create-choice:hover:not(:disabled), .create-choice:focus-visible { border-color: #bdbdbd; background: #202020; transform: translateY(-3px); outline: none; }
.create-choice:disabled { cursor: not-allowed; opacity: .55; }
.create-choice-title { color: #f0eee8; font-family: "Roboto Slab","Rockwell",Georgia,serif; font-weight: 500; font-size: clamp(28px,3.4vw,44px); letter-spacing: -.01em; }
.create-choice-sub { max-width: 34ch; color: #aaa; font-size: 15px; line-height: 1.7; }
@media (max-width: 700px) { .create-choices { grid-template-columns: minmax(0,1fr); } .create-choice { min-height: 180px; padding: 24px; } }
@media (prefers-reduced-motion: reduce) { .create-choice { transition: none; } .create-choice:hover:not(:disabled) { transform: none; } }
@media (max-width: 900px) { .create-layout.has-file { grid-template-columns: minmax(0,1fr); } .create-form { position: static; padding-top: 0; } .create-layout.has-file .create-drop { min-height: 0; } }
@media (max-width: 700px) { .create-drop { min-height: 66vh; border-radius: 24px; } .create-drop-icon { width: 68px; height: 68px; } }
@media (prefers-reduced-motion: reduce) { .create-drop, .create-drop-icon { transition: none; } .create-drop:hover .create-drop-icon, .create-drop.is-over .create-drop-icon { transform: none; } }
@media (max-width: 900px) {
  .ogren-layout { grid-template-columns: minmax(0,1fr); }
  .ogren-article-hero { grid-template-columns: minmax(0,1fr); min-height: 0; }
  .ogren-hero-card { aspect-ratio: 4 / 5; max-height: 480px; }

  .ogren-hero-text { padding: 20px 20px 22px; }
  .ogren-hero-quote { padding: 4px 2px 0; }

  .ogren-aside { position: static; order: -1; }
  .ogren-toc { display: none; }
  .ogren-card.is-featured { grid-column: auto; grid-template-columns: 1fr; }
  .ogren-card.is-featured .ogren-card-media { aspect-ratio: 4 / 3; min-height: 0; }
  .ogren-card.is-featured .ogren-card-body { padding: 20px 22px 24px; }
  .ogren-works { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .ogren-card, .ogren-card-media img, .ogren-work-open img { transition: none; }
  .ogren-card:hover { transform: none; }
}
.account-coming-soon { display: inline-block; border: 1px solid #53594c; border-radius: 999px; padding: 6px 12px; color: #bbc5ae; font-size: 10px; }
.account-page-disabled { margin-top: 18px; padding: 12px 18px; border: 1px solid #444; border-radius: 999px; background: transparent; color: #858585; font: inherit; font-size: 12px; }
.account-page-link { display: inline-block; margin-top: 14px; color: #ddd; font-size: 13px; text-decoration: none; }
@media(max-width:700px) { .nav-actions .chat-button { width: 24px; height: 24px; } .chat-button svg { width: 14px; height: 14px; } }
@media(max-width:380px) {
  .navbar:has(.chat-button:not([hidden])) { grid-template-columns: minmax(0,1fr) 64px minmax(116px,1fr); }
  .navbar:has(.chat-button:not([hidden])) .nav-search,.navbar:has(.chat-button:not([hidden])) .search-box { width: 64px; }
  .navbar:has(.chat-button:not([hidden])) .palette-toggle { right: 0; }
  .navbar:has(.chat-button:not([hidden])) .mobile-search-toggle { left: 0; }
  .navbar:has(.chat-button:not([hidden])) .nav-actions { gap: 2px; }
  .nav-actions .chat-button { width: 22px; height: 22px; }
}
.search-history { position: absolute; z-index: 35; top: calc(100% + 12px); left: -8px; width: calc(100% + 16px); max-height: 196px; padding: 15px 16px 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 17px; background: linear-gradient(135deg,rgba(255,255,255,.025),transparent),rgba(27,27,27,.97); backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px); box-shadow: 0 12px 30px rgba(0,0,0,.4); pointer-events: auto; animation: search-dropdown-in 160ms ease-out; }
.search-history[hidden] { display: none; }
.history-heading { display: block; margin: 0 0 10px 3px; color: #828282; font-size: 10px; }
.history-colors { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 13px 3px 4px; border-top: 1px solid rgba(255,255,255,.06); overflow-x: auto; scrollbar-width: none; }
.history-color { display: block; flex: 0 0 24px; position: relative; }
.history-color-pick { display: block; width: 24px; height: 24px; padding: 0; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; cursor: pointer; }
.history-color-remove { display: grid; place-items: center; position: absolute; top: -4px; right: -4px; width: 14px; height: 14px; padding: 0; border: 1px solid #555; border-radius: 50%; color: #ddd; background: #252525; font-size: 12px; line-height: 1; opacity: 0; cursor: pointer; transition: opacity 140ms ease; }
.history-color:hover .history-color-remove,.history-color:focus-within .history-color-remove { opacity: 1; }
.history-searches { display: flex; align-items: center; gap: 7px; padding: 2px 1px; overflow-x: auto; overflow-y: hidden; overscroll-behavior: contain; scrollbar-width: none; }
.history-row { display: flex; flex: 0 0 auto; align-items: center; width: max-content; max-width: 420px; min-height: 32px; gap: 5px; padding: 0 3px 0 5px; border: 1px solid rgba(255,255,255,.08); border-radius: 999px; }
.history-row:hover,.history-row:focus-within { background: rgba(255,255,255,.035); }
.history-pick { flex: 0 0 auto; width: max-content; display: flex; align-items: center; gap: 8px; padding: 7px 4px; border: 0; background: transparent; color: #c1c1c1; font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.history-clock { display: grid; place-items: center; flex: 0 0 15px; width: 15px; height: 16px; color: #777; }
.history-clock svg { display: block; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.history-query { display: block; width: max-content; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 0 0 auto; }
.history-query-color { display: block; flex: 0 0 9px; width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); }
.history-delete { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #888; cursor: pointer; }
.history-delete svg,.history-color-remove svg { display: block; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; pointer-events: none; }
.history-color-remove svg { width: 12px; height: 12px; }
.history-delete:hover { color: #eee; }
.history-empty { margin: 6px 4px; color: #818181; font-size: 11px; line-height: 1.6; }
.search-history button:focus-visible { outline: 1px solid #bbb; outline-offset: 2px; }
@media(max-width:700px) { .search-history { top: calc(100% + 68px); left: 50%; transform: translateX(-50%); width: min(340px,calc(100vw - 32px)); } }
@media(hover:none) { .history-color-remove { opacity: 1; } }
@media(prefers-reduced-motion:reduce) { .search-history { animation: none; } .history-color-remove { transition: none; } }
.auth-form .auth-remember { display:flex; align-items:center; gap:10px; font-size:13px; cursor:pointer; }
.auth-form .auth-remember input { width:17px; height:17px; padding:0; accent-color:#cbd3c3; }
.auth-remember small { display:block; margin-top:3px; color:#777; font-size:11px; }
.auth-policy-note { color:#888; font-size:11px; line-height:1.8; margin:0; }
.auth-policy-note a,.footer-legal a { color:inherit; text-decoration:none; }
.auth-policy-note a:hover,.footer-legal a:hover { color:#eee; }
.footer-legal { flex-wrap:wrap; }
.cookie-panel { position:fixed; z-index:20000; bottom:22px; left:22px; width:min(480px,calc(100vw - 44px)); max-height:calc(100dvh - 44px); overflow:auto; padding:24px; border:1px solid #414141; border-radius:24px; background:rgba(27,27,27,.95); backdrop-filter:blur(24px); box-shadow:0 16px 60px #0008; animation:cookie-in .3s ease-out; color:#eee; }
.cookie-panel h2 { margin:0 0 12px; font-size:19px; }
.cookie-panel p { color:#aaa; font-size:12px; line-height:1.8; }
.cookie-panel a { color:#ddd; }
.cookie-actions { display:flex; flex-wrap:wrap; gap:8px; }
.cookie-panel button,.policy-page button { padding:11px 14px; border:1px solid #555; border-radius:24px; background:#292929; color:#eee; font:inherit; font-size:12px; cursor:pointer; }
.cookie-panel button:hover { background:#393939; }
.cookie-details { margin:18px 0; border-top:1px solid #393939; padding-top:16px; }
.cookie-details label { display:block; margin:12px 0; font-size:13px; }
.cookie-details input { accent-color:#bec9b4; }
.cookie-details small { display:block; margin:5px 0 0 24px; color:#888; font-size:11px; }
.cookie-save { margin-top:12px; }
.policy-body { background:#181818; color:#ddd; }
.policy-page { max-width:850px; margin:auto; padding:45px 24px 70px; line-height:1.85; }
.policy-brand { font-size:32px; color:#eee; text-decoration:none; }
.policy-page nav { display:flex; flex-wrap:wrap; gap:18px; margin:25px 0 50px; font-size:13px; }
.policy-page a { color:#c5c5c5; }
.policy-page small { color:#888; }
.policy-page h1 { font-size:clamp(28px,5vw,45px); line-height:1.2; margin:15px 0 45px; }
.policy-page section { margin-bottom:32px; }
.policy-page h2 { font-size:19px; color:#eee; }
.policy-page p { font-size:14px; color:#aaa; }
.policy-page footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:20px; margin-top:50px; border-top:1px solid #333; padding-top:25px; }
@keyframes cookie-in { from { opacity:0; transform:translateY(15px); } to { opacity:1; transform:translateY(0); } }
@media(prefers-reduced-motion:reduce) { .cookie-panel { animation:none; } }
.history-magnifier { display:block; flex:0 0 15px; width:15px; height:15px; color:#777; } .history-magnifier svg { display:block; width:100%; height:100%; }
/* Keep the image footprint and a muted colour preview while decoding. */
.masonry-feed .feed-card { background:color-mix(in srgb,var(--preview-color,#303030) 28%,#202020); }
.masonry-feed .feed-card img { object-fit:cover; }
.empty-search-actions { display:flex; align-items:center; justify-content:center; gap:12px; flex-wrap:wrap; margin-top:24px; }
.empty-search-actions button,.empty-search-actions a { border:1px solid #444; border-radius:999px; padding:11px 18px; color:#ddd; background:#252525; font:inherit; font-size:13px; text-decoration:none; cursor:pointer; transition:background 180ms ease,border-color 180ms ease; }
.empty-search-actions button:hover,.empty-search-actions a:hover { background:#303030; border-color:#666; }
.empty-search-actions [hidden] { display:none; }
.profile-page-panel { padding:30px 0; }
.profile-identity { display:flex; align-items:center; gap:24px; }
.profile-identity img { width:96px; height:96px; flex:0 0 96px; border-radius:50%; object-fit:cover; }
.profile-identity div { min-width:0; }
.profile-identity h1 { margin:0 0 8px; font-size:clamp(26px,4vw,40px); font-weight:800; line-height:1.2; overflow-wrap:anywhere; color:#eee; }
.profile-identity p { margin:0; font-size:14px; color:#999; overflow-wrap:anywhere; }
@media(max-width:700px) { .profile-identity { gap:16px; } .profile-identity img { width:72px; height:72px; flex-basis:72px; } }
.profile-avatar-edit { position:relative; flex:0 0 180px; width:180px; height:180px; padding:0; border:0; background:none; border-radius:50%; cursor:pointer; overflow:hidden; }
.profile-identity .profile-avatar-edit img { width:100%; height:100%; display:block; }
.profile-avatar-edit span { position:absolute; inset:auto 0 0; padding:14px 0 18px; background:#0008; color:#fff; font-size:12px; opacity:0; transition:opacity 180ms ease; }
.profile-avatar-edit:hover span,.profile-avatar-edit:focus-visible span { opacity:1; }
.profile-identity { gap:32px; }
.profile-identity h1 { font-size:clamp(36px,5vw,60px); font-weight:800; }
.profile-identity p { font-size:16px; }
.avatar-editor { width:min(460px,calc(100vw - 28px)); max-height:calc(100dvh - 32px); overflow:auto; padding:26px; border:1px solid #454545; border-radius:24px; background:#202020; color:#ddd; box-shadow:0 24px 100px #0009; }
.avatar-editor::backdrop { background:#0009; backdrop-filter:blur(8px); }
.avatar-editor header { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.avatar-editor h2 { margin:0; font-size:21px; }
.avatar-editor p,.avatar-editor small { color:#aaa; font-size:12px; line-height:1.7; }
.avatar-editor button { background:#2d2d2d; border:1px solid #494949; border-radius:999px; color:#eee; padding:10px 16px; font:inherit; font-size:12px; cursor:pointer; }
.avatar-editor button:hover { background:#3a3a3a; }
.avatar-source,.avatar-adjust { display:flex; flex-wrap:wrap; gap:10px; margin:16px 0; }
.avatar-editor canvas { display:block; width:100%; height:auto; aspect-ratio:1; border-radius:50%; touch-action:none; cursor:grab; margin:22px 0 12px; }
.avatar-editor canvas:active { cursor:grabbing; }
.avatar-editor label { display:grid; gap:8px; font-size:12px; margin:18px 0; }
.avatar-editor input[type=range] { width:100%; accent-color:#d1d6c9; }
.avatar-editor video { display:block; width:100%; border-radius:16px; margin:20px 0 12px; }
.avatar-editor .avatar-save { width:100%; background:#ddd; color:#181818; font-weight:700; }
.avatar-editor .avatar-error { color:#e6a5a5; }
.avatar-editor [hidden] { display:none!important; }
@media(max-width:700px) { .profile-avatar-edit { width:120px; height:120px; flex-basis:120px; } .profile-identity { gap:20px; align-items:center; } .profile-identity h1 { font-size:32px; } .profile-identity p { font-size:12px; } .profile-avatar-edit span { opacity:1; padding:8px 0; } .avatar-editor { padding:20px; } }
.account-page:has(.profile-page-panel) { width:100%; margin-left:0; margin-right:0; padding-inline:clamp(28px,4vw,64px); padding-top:24px; }
.profile-stats { display:flex; flex-wrap:wrap; gap:clamp(14px,2vw,28px); margin-top:18px; color:#999; font-size:14px; } @media(max-width:700px) { .profile-stats { gap:12px; margin-top:12px; font-size:12px; } }
.profile-stats { column-gap:0; row-gap:10px; } .profile-stat { display:inline-flex; align-items:center; gap:7px; white-space:nowrap; } .profile-stat + .profile-stat { border-left:1px solid rgba(255,255,255,.12); margin-left:18px; padding-left:18px; } .profile-stat strong { color:#ddd; font-weight:700; font-variant-numeric:tabular-nums; } @media(max-width:700px) { .profile-stat + .profile-stat { margin-left:10px; padding-left:10px; } .profile-stat { gap:5px; } }
.profile-share { display:grid; place-items:center; width:32px; height:32px; padding:5px; margin-left:20px; border:0; background:transparent; color:#999; cursor:pointer; transition:color 180ms ease,transform 180ms ease; } .profile-share svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; } .profile-share:hover { color:#eee; transform:translate(1px,-1px); } .profile-stats { align-items:center; } .profile-identity > div { width:max-content; max-width:100%; } .profile-share { margin-left:auto; } .profile-stats .profile-stat:last-of-type { margin-right:18px; }
.share-destinations > [hidden] { display:none; }
.auth-resend { border:0; background:none; color:#aaa; font:inherit; font-size:12px; cursor:pointer; text-align:left; padding:0; } .auth-resend:hover { color:#eee; }
.auth-code-tools { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.auth-edit-email,.auth-forgot { border:0; padding:0; background:none; color:#aaa; font:inherit; font-size:12px; text-decoration:none; cursor:pointer; }
.auth-edit-email:hover,.auth-forgot:hover { color:#eee; }
.auth-spam { margin:0; font-size:12px; color:#92998a; line-height:1.7; }
.auth-resend:disabled { opacity:.5; cursor:default; }
.reset-password-fields { display:grid; gap:14px; }
body.recovery-active { overflow:hidden; }
body.recovery-active > .navbar,body.recovery-active > .discover-feed,body.recovery-active > .site-footer,body.recovery-active > .back-to-top,body.recovery-active > .page-scrollbar { visibility:hidden; }
.profile-identity > .profile-info { width:max-content; max-width:min(620px,100%); }
.profile-identity .profile-handle { margin:7px 0 0; font-size:14px; color:#777; }
.profile-identity .profile-bio { margin:14px 0 0; font-size:14px; line-height:1.7; white-space:pre-wrap; color:#aaa; overflow-wrap:anywhere; max-width:55ch; }
.profile-primary-actions { display:flex; gap:10px; margin-top:20px; }
.profile-edit-button,.profile-follow-button,.profile-list-more { padding:10px 18px; border:1px solid #414141; background:#252525; border-radius:999px; color:#ddd; font:inherit; font-size:12px; cursor:pointer; transition:background 180ms ease; }
.profile-follow-button[aria-pressed=false] { background:#ddd; color:#181818; border-color:#ddd; }
.profile-edit-button:hover,.profile-list-more:hover { background:#333; }
.profile-follow-button[aria-pressed=true]:hover { background:#333; }
.profile-follow-button:disabled { opacity:.55; cursor:default; }
.profile-stat-button { border:0; background:none; padding:0; color:inherit; font:inherit; cursor:pointer; }
.profile-stat-button:hover { color:#ddd; }
.profile-avatar-edit:disabled { cursor:default; }
.profile-network { max-width:620px; margin-top:44px; padding-top:24px; border-top:1px solid #333; }
.profile-network[hidden] { display:none; }
.profile-network h2 { margin:0 0 20px; font-size:19px; color:#ddd; }
.profile-people { display:grid; gap:10px; }
.profile-person { display:flex; align-items:center; gap:15px; padding:12px; border-radius:16px; color:#ddd; text-decoration:none; }
.profile-person:hover { background:#ffffff06; }
.profile-person img { width:48px; height:48px; flex:0 0 48px; border-radius:50%; object-fit:cover; }
.profile-person span { min-width:0; }
.profile-person strong,.profile-person small { display:block; overflow-wrap:anywhere; }
.profile-person strong { font-size:14px; }
.profile-person small { font-size:12px; color:#777; margin-top:5px; }
.profile-list-status { color:#888; font-size:13px; }
.profile-editor { width:min(460px,calc(100vw - 28px)); max-height:calc(100dvh - 32px); overflow:auto; padding:28px; border:1px solid #424242; border-radius:24px; background:#202020; color:#ddd; box-shadow:0 24px 100px #0009; }
.profile-editor::backdrop { background:#0009; backdrop-filter:blur(8px); }
.profile-editor header { display:flex; align-items:center; justify-content:space-between; margin-bottom:26px; }
.profile-editor h2 { font-size:21px; margin:0; }
.profile-editor button { border:1px solid #444; border-radius:999px; padding:10px 17px; background:#2a2a2a; color:#ddd; font:inherit; font-size:12px; cursor:pointer; }
.profile-editor [data-close] { padding:4px 12px; font-size:23px; }
.profile-editor form { display:grid; gap:17px; }
.profile-editor label { display:grid; gap:9px; font-size:12px; color:#aaa; }
.profile-editor input,.profile-editor textarea { width:100%; padding:13px 15px; border:1px solid #424242; background:#181818; border-radius:13px; color:#eee; font:inherit; font-size:14px; outline:none; }
.profile-editor textarea { resize:vertical; min-height:95px; }
.profile-editor input:focus,.profile-editor textarea:focus { border-color:#8b8f84; }
.profile-username-input { position:relative; }
.profile-username-input > span { position:absolute; left:15px; top:13px; color:#777; }
.profile-username-input input { padding-left:34px; }
.profile-bio-count { color:#777; text-align:right; font-size:11px; margin-top:-11px; }
.profile-editor footer { display:flex; gap:10px; justify-content:flex-end; margin-top:7px; }
.profile-editor button[type=submit] { background:#ddd; border-color:#ddd; color:#181818; }
.profile-editor-error { color:#e3a5a5; font-size:12px; margin:0; }
.profile-editor [hidden] { display:none; }
@media(max-width:700px) { .profile-identity { align-items:flex-start; } .profile-identity .profile-handle { font-size:12px; } .profile-identity .profile-bio { font-size:12px; } .profile-editor { padding:22px; } .profile-editor input,.profile-editor textarea { font-size:16px; } }

/* Page heading for crawlers and screen readers; hidden while another view shows its own heading. */
.home-heading { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.view-content .home-heading, body.auth-active .home-heading, body.recovery-active .home-heading, .discover-feed.account-page-active .home-heading, body:has(.search-results-header:not([hidden])) .home-heading, body:has(.saved-header:not([hidden])) .home-heading { display: none; }

/* Topic links under a content title */
.content-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.content-tags a { padding: 6px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: #cfcfcf; font-size: 13px; text-decoration: none; transition: color 180ms ease, border-color 180ms ease; }
.content-tags a:hover, .content-tags a:focus-visible { color: #fff; border-color: rgba(255,255,255,.4); outline: none; }

/* Display preferences (Ayarlar > Görünüm) */
.pref-reduce-motion *, .pref-reduce-motion *::before, .pref-reduce-motion *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
.density-dense .masonry-feed { grid-template-columns: repeat(6,minmax(0,1fr)); }
.density-roomy .masonry-feed { grid-template-columns: repeat(4,minmax(0,1fr)); }
@media(max-width:1100px) { .density-dense .masonry-feed { grid-template-columns: repeat(5,minmax(0,1fr)); } .density-roomy .masonry-feed { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media(max-width:700px) { .density-dense .masonry-feed { grid-template-columns: repeat(3,minmax(0,1fr)); } .density-roomy .masonry-feed { grid-template-columns: minmax(0,1fr); } }
.settings-group { max-width: 520px; margin-bottom: 32px; }
.settings-group h2 { margin: 0 0 6px; font-size: 20px; font-weight: 500; }
.settings-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.settings-option small { display: block; margin-top: 4px; color: #8a8a8a; font-size: 13px; font-weight: 400; }
.settings-switch { position: relative; flex: none; width: 48px; height: 28px; padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.06); cursor: pointer; }
.settings-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #9a9a9a; transition: transform 180ms ease, background 180ms ease; }
.settings-switch[aria-checked="true"] { background: rgba(255,255,255,.2); }
.settings-switch[aria-checked="true"]::after { transform: translateX(20px); background: #fff; }
.settings-switch:focus-visible, .settings-segment button:focus-visible { outline: 1px solid rgba(255,255,255,.85); outline-offset: 2px; }
.settings-segment { display: flex; flex: none; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; overflow: hidden; }
.settings-segment button { padding: 8px 14px; border: 0; background: transparent; color: #bdbdbd; font: inherit; font-size: 14px; cursor: pointer; }
.settings-segment button[aria-pressed="true"] { background: rgba(255,255,255,.14); color: #fff; }

/* Touch screens: card icons appear only after the card is tapped */
@media (hover: none) {
  .feed-card:not(.content-current) .card-overlay { opacity: 0; }
  .feed-card:not(.content-current) .card-overlay .card-action { pointer-events: none; }
  .feed-card.actions-open .card-overlay,
  .feed-card.menu-open .card-overlay,
  .feed-card.share-open .card-overlay { opacity: 1; }
  .feed-card.actions-open .card-overlay .card-action,
  .feed-card.menu-open .card-overlay .card-action,
  .feed-card.share-open .card-overlay .card-action { pointer-events: auto; }
}

/* Feed tabs, tags, history, 404, shortcuts help, offline strip */
.feed-tabs { display: flex; gap: 8px; margin: 0 0 22px; }
.feed-tabs[hidden] { display: none; }
.feed-tabs button { padding: 8px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: transparent; color: #aaa; font: inherit; font-size: 14px; cursor: pointer; }
.feed-tabs button[aria-pressed="true"] { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.12); color: #fff; }
.feed-tabs button:focus-visible { outline: 1px solid rgba(255,255,255,.85); outline-offset: 2px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tag-cloud a { display: inline-flex; gap: 8px; align-items: baseline; padding: 9px 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #ddd; font-size: 15px; text-decoration: none; transition: background 160ms ease, border-color 160ms ease; }
.tag-cloud a:hover, .tag-cloud a:focus-visible { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; outline: none; }
.tag-cloud small { color: #888; font-size: 12px; }
.history-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(150px,1fr)); gap: 16px; margin: 0 0 28px; padding: 0; list-style: none; }
.history-item { display: block; color: #ddd; text-decoration: none; }
.history-item img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 14px; background: #1e1e1e; }
.history-item span { display: block; margin-top: 8px; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.history-item small { color: #888; font-size: 12px; }
.account-page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.account-page-actions a, .account-page-actions button { padding: 10px 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: transparent; color: #fff; font: inherit; font-size: 14px; text-decoration: none; cursor: pointer; }
.account-page-actions a:hover, .account-page-actions button:hover { background: rgba(255,255,255,.08); }
.shortcuts { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.6); }
.shortcuts[hidden] { display: none; }
.shortcuts-box { width: 100%; max-width: 420px; padding: 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: #1b1b1b; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.shortcuts-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.shortcuts-head h2 { margin: 0; font-size: 18px; font-weight: 500; }
.shortcuts-close { width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.shortcuts dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; align-items: center; margin: 0; }
.shortcuts dt { justify-self: start; }
.shortcuts dd { margin: 0; color: #bdbdbd; font-size: 14px; }
.shortcuts kbd { display: inline-block; min-width: 28px; padding: 3px 8px; border: 1px solid rgba(255,255,255,.2); border-bottom-width: 2px; border-radius: 7px; background: rgba(255,255,255,.05); color: #fff; font: 13px/1.4 inherit; text-align: center; }
.offline-bar { padding: 9px 16px; background: #2a2a2a; color: #ddd; font-size: 13px; text-align: center; }
.offline-bar[hidden] { display: none; }
.offline-bar a { color: #fff; }

/* Collections, collection dialogs, trends */
.card-menu .menu-collection[hidden], .card-menu .menu-uncollect[hidden] { display: none; }
.profile-collections { margin: 36px 0 0; }
.profile-collections[hidden] { display: none; }
.profile-collections h2 { margin: 0 0 16px; font-size: 20px; font-weight: 500; }
.collection-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(150px,1fr)); gap: 18px; }
.collection-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; aspect-ratio: 3/4; padding: 0; border: 1.5px dashed rgba(255,255,255,.28); border-radius: 18px; background: rgba(255,255,255,.03); color: #ddd; font: inherit; font-size: 14px; cursor: pointer; transition: background 160ms ease, border-color 160ms ease; }
.collection-add svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.collection-add:hover, .collection-add:focus-visible { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); color: #fff; outline: none; }
.collection-tile { display: block; color: #ddd; text-decoration: none; }
.collection-cover { display: grid; gap: 2px; aspect-ratio: 3/4; overflow: hidden; border-radius: 18px; background: #222; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.collection-cover img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.collection-cover[data-count="0"] { background: #262626; }
.collection-cover[data-count="1"] img { grid-column: 1 / 3; grid-row: 1 / 3; }
.collection-cover[data-count="2"] img { grid-row: 1 / 3; }
.collection-cover[data-count="3"] img:first-child { grid-row: 1 / 3; }
.collection-tile strong { display: block; margin-top: 10px; overflow: hidden; font-size: 15px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.collection-tile small { color: #888; font-size: 12px; }
.collection-tile:hover .collection-cover, .collection-tile:focus-visible .collection-cover { outline: 2px solid rgba(255,255,255,.4); outline-offset: 2px; }
.collection-hint { margin: 14px 0 0; color: #999; font-size: 14px; }
.collection-dialog { width: min(420px, calc(100vw - 24px)); padding: 0; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: #1b1b1b; color: #eee; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.collection-dialog::backdrop { background: rgba(0,0,0,.6); }
.collection-dialog form, .collection-picker[open] { display: block; }
.collection-dialog form { padding: 22px; }
.collection-picker { padding: 22px; }
.collection-dialog header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.collection-dialog h2 { margin: 0; font-size: 19px; font-weight: 500; }
.collection-dialog header button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.collection-dialog label { display: block; margin-bottom: 14px; color: #bdbdbd; font-size: 14px; }
.collection-dialog input[name="name"] { display: block; width: 100%; margin-top: 8px; padding: 12px 14px; box-sizing: border-box; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(255,255,255,.04); color: #fff; font: inherit; font-size: 16px; }
.collection-dialog input[name="name"]:focus-visible { outline: 1px solid rgba(255,255,255,.85); outline-offset: 1px; }
.collection-dialog .collection-private { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.collection-dialog .collection-private input { flex: 0 0 18px; margin: 0; width: 18px; height: 18px; accent-color: #fff; }
.collection-private span { line-height: 18px; }
.collection-private small { display: block; margin-top: 3px; color: #888; font-size: 12px; }
.feedback-dialog .feedback-intro { margin: 0 0 14px; color: #a8a8a8; font-size: 13px; line-height: 1.6; }
.feedback-dialog .feedback-kinds { margin-bottom: 14px; }
.feedback-dialog textarea { display: block; width: 100%; margin-top: 8px; padding: 12px 14px; box-sizing: border-box; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(255,255,255,.05); color: #fff; font: inherit; font-size: 14px; line-height: 1.5; resize: vertical; min-height: 110px; }
.feedback-dialog textarea:focus-visible { outline: 1px solid rgba(255,255,255,.85); outline-offset: 1px; }
.footer-legal [data-feedback] { padding: 4px 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; transition: color 180ms ease; }
.footer-legal [data-feedback]:hover { color: #dedede; }
.collection-dialog-error { margin: 0 0 12px; color: #ff9b9b; font-size: 14px; }
.collection-dialog-error[hidden] { display: none; }
.collection-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.collection-dialog-actions button { padding: 10px 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: transparent; color: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.collection-dialog-actions button[type="submit"] { border-color: #fff; background: #fff; color: #111; }
.collection-dialog-actions button:disabled { opacity: .5; cursor: default; }
.collection-picker-list { display: grid; gap: 8px; max-height: min(50vh, 360px); margin-bottom: 12px; overflow: auto; }
.collection-pick-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: transparent; color: #eee; font: inherit; text-align: left; cursor: pointer; }
.collection-pick-row:hover, .collection-pick-row:focus-visible { background: rgba(255,255,255,.06); outline: none; }
.collection-pick-cover { flex: none; width: 46px; height: 58px; overflow: hidden; border-radius: 10px; background: #2a2a2a; }
.collection-pick-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.collection-pick-text { flex: 1; min-width: 0; }
.collection-pick-text strong { display: block; overflow: hidden; font-size: 15px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.collection-pick-text small { color: #888; font-size: 12px; }
.collection-pick-check { flex: none; width: 22px; height: 22px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 50%; }
.collection-pick-row[aria-pressed="true"] .collection-pick-check { border-color: #fff; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") center/14px no-repeat; }
.collection-picker-status { min-height: 18px; margin: 0 0 8px; color: #999; font-size: 13px; }
.feed-page-header .feed-page-actions { margin-top: 14px; }
.feed-page-header a { color: #ddd; }

/* Text size (Ayarlar > Görünüm): the whole page scales */
html[data-text="large"] { zoom: 1.1; }
html[data-text="xlarge"] { zoom: 1.22; }
@media (max-width: 700px) { .settings-option { flex-wrap: wrap; } .settings-segment { max-width: 100%; overflow-x: auto; } }

/* Collection page tools, selection mode, share button, colour page */
.collection-share { display: inline-flex; align-items: center; gap: 8px; }
.collection-share svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.collection-share-hint { align-self: center; color: #888; font-size: 13px; }
.collection-arrange[aria-pressed="true"] { border-color: #fff; background: rgba(255,255,255,.12); }
.collection-card-tools { position: absolute; top: 8px; left: 8px; z-index: 4; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(20,20,20,.78); }
.collection-card-tools button { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 14px; line-height: 1; cursor: pointer; }
.collection-card-tools button:hover, .collection-card-tools button:focus-visible { background: rgba(255,255,255,.22); outline: none; }
body.selecting .feed-card { cursor: pointer; }
.feed-card.is-selected { outline: 3px solid #fff; outline-offset: -3px; }
.feed-card.is-selected::after { content: ""; position: absolute; top: 10px; left: 10px; z-index: 4; width: 26px; height: 26px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") center/16px no-repeat; }
.selection-bar { position: fixed; left: 50%; bottom: 20px; z-index: 80; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 24px); padding: 10px 12px 10px 20px; transform: translateX(-50%); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: #202020; box-shadow: 0 16px 40px rgba(0,0,0,.45); color: #eee; font-size: 14px; }
.selection-bar button { padding: 9px 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: transparent; color: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.selection-bar .selection-add { border-color: #fff; background: #fff; color: #111; }
.selection-bar .selection-add:disabled { opacity: .45; cursor: default; }
.color-family { margin: 0 0 30px; }
.color-family h2 { margin: 0 0 14px; font-size: 18px; font-weight: 500; }
.color-swatches { display: grid; grid-template-columns: repeat(auto-fill,minmax(130px,1fr)); gap: 14px; }
.color-swatch { display: block; color: #ddd; text-decoration: none; }
.color-chip { display: block; aspect-ratio: 4/3; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: transform 160ms ease; }
.color-swatch:hover .color-chip, .color-swatch:focus-visible .color-chip { transform: translateY(-2px); }
.color-swatch:focus-visible { outline: none; }
.color-swatch:focus-visible .color-chip { box-shadow: 0 0 0 2px #fff; }
.color-swatch strong { display: block; margin-top: 8px; font-size: 14px; font-weight: 500; }
.color-swatch small { color: #888; font-size: 12px; }

/* the icons on a picture: a bar on top (collection to save to + "Kaydet"), share and like larger at the bottom left, the three dots at the bottom right; the save icon is gone (the bar saves) */
.card-save { display: none !important; }
.feed-card:not(.content-current) { --ca: 42px; --cg: 10px; }
@media (max-width: 700px) { .feed-card:not(.content-current) { --ca: 34px; --cg: 6px; } }
.feed-card:not(.content-current) .card-bottom-actions { right: calc(12px + var(--ca) + var(--cg)); left: auto; bottom: 12px; gap: var(--cg); }
.feed-card:not(.content-current) .card-action { width: var(--ca); height: var(--ca); }
.feed-card:not(.content-current) .card-action svg { width: 21px; height: 21px; }
/* share and like, then the three dots at the far right (the saved button is gone from the row) */
.feed-card:not(.content-current) .card-more { top: auto; bottom: 12px; right: 12px; }
/* the open picture has its own buttons: the bar belongs to the cards of the feed only */
.content-current .card-collect { display: none; }
.card-collect { position: absolute; z-index: 2; top: 10px; left: 10px; right: 10px; display: flex; align-items: center; gap: 8px; pointer-events: auto; cursor: pointer; }
.card-collect button { position: relative; z-index: 2; pointer-events: auto; border: 0; background: transparent; color: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.card-collect .card-collect-name { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex: 1 1 auto; min-width: 0; height: 32px; padding: 0 10px 0 13px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(14,14,14,.58); text-align: left; /* no blur here: the picture is under a fading layer, and a blur behind a fading layer jumps when the fade ends */ transition: background 160ms ease, border-color 160ms ease; }
.card-collect .card-collect-name:hover { background: rgba(14,14,14,.74); border-color: rgba(255,255,255,.24); }
.card-collect-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-collect-name svg { flex: 0 0 15px; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.card-collect .card-collect-save { position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 68px; height: 32px; background: #fff; color: #111; box-shadow: 0 2px 10px rgba(0,0,0,.25); padding: 0; border-radius: 999px; font-weight: 500; letter-spacing: .01em; overflow: hidden; transition: width 340ms cubic-bezier(.4,0,.2,1), background 260ms ease, color 200ms ease; }
/* both sit exactly in the middle of the button whatever its width (the word is wider than the closed button) */
.card-collect-word, .card-collect-tick { position: absolute; left: 50%; top: 50%; translate: -50% -50%; white-space: nowrap; }
.card-collect-word { transition: opacity 150ms ease, transform 260ms cubic-bezier(.4,0,.2,1), filter 200ms ease; }
.card-collect-tick { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.card-collect-tick path { stroke-dasharray: 1 3; stroke-dashoffset: 1.2; transition: stroke-dashoffset 120ms ease; }
.card-collect-save.is-done { width: 32px; }
.card-collect-save.is-done .card-collect-word { opacity: 0; transform: translateY(-7px); filter: blur(2px); }
.card-collect-save.is-done .card-collect-tick path { stroke-dashoffset: 0; transition: stroke-dashoffset 300ms cubic-bezier(.3,.7,.2,1) 190ms; }
.card-collect-save.is-pop { animation: collect-ring 560ms ease-out 80ms; }
@keyframes collect-ring { from { box-shadow: 0 0 0 0 rgba(255,255,255,.5); } to { box-shadow: 0 0 0 9px rgba(255,255,255,0); } }
@media (prefers-reduced-motion: reduce) { .card-collect-save, .card-collect-word, .card-collect-tick path { transition: none !important; } .card-collect-save.is-pop { animation: none; } }
.card-collect .card-collect-save:hover:not(:disabled), .card-collect .card-collect-save:focus-visible { background: #ececec; outline: none; }
.card-collect .card-collect-save.is-done, .card-collect .card-collect-save.is-done:hover:not(:disabled) { background: #fff; color: #111; }
.card-collect-save:disabled { opacity: .6; cursor: wait; }
.card-collect-name:focus-visible { outline: 1px solid rgba(255,255,255,.85); outline-offset: 2px; border-radius: 6px; }
.feed-card.collect-open .card-overlay { opacity: 1; }
.collect-menu { width: 260px; max-height: min(50vh, 300px); overflow-y: auto; overscroll-behavior: contain; transform-origin: top left; }




.collect-menu .collect-status { color: #8b8b8b; }
.collect-item { justify-content: space-between; padding: 9px 11px; }
.collect-item strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.collect-item .collect-check { flex: 0 0 16px; height: 16px; display: grid; place-items: center; }
.collect-item[aria-checked="true"] .collect-check::before { content: ""; display: block; width: 5px; height: 9px; margin-top: -2px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.collect-new { justify-content: flex-start; gap: 11px; margin-top: 4px; border: 1px dashed rgba(255,255,255,.28); }
.collect-menu .collect-item:first-child.collect-new { margin-top: 0; }
.collect-new:hover, .collect-new:focus-visible { border-color: rgba(255,255,255,.5); }
.collect-plus { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 9px; background: rgba(255,255,255,.16); }
.collect-plus svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.collect-new strong { color: #fff; }
/* the first row (all the member's saves) is centred */
.collect-title { margin: 0 0 4px; padding: 9px 10px 8px; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.7); font-size: 12px; letter-spacing: .04em; text-align: center; cursor: default; user-select: none; -webkit-user-select: none; }
/* dropdowns fade and sink away when they close, as they rise in when they open */
/* the share dropdown looks like the collection list: as see-through as the bar on the picture, flat, white text, soft hover */
.share-dropdown { background: rgba(16,16,16,.68); -webkit-backdrop-filter: var(--blur-glass); backdrop-filter: var(--blur-glass); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-menu); box-shadow: none; color: #fff; }
.share-dropdown .share-pointer { display: none; }
.share-dropdown-header h2, .share-destinations > *, .share-dropdown .person-info strong { color: #fff; }
.share-dropdown .share-close { color: rgba(255,255,255,.75); transition: background 140ms ease, color 140ms ease; }
.share-dropdown .share-close:hover { background: rgba(255,255,255,.14); color: #fff; }
.share-destinations { border-bottom-color: rgba(255,255,255,.12); }
.share-person-search { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.05); }
.share-person-search:focus-within { border-color: rgba(255,255,255,.4); }
.share-person-search svg { stroke: rgba(255,255,255,.7); }
.share-dropdown .person-info > span, .share-dropdown .share-empty, .share-dropdown .share-demo-note { color: rgba(255,255,255,.7); }
.destination-copy, .destination-more { background: rgba(255,255,255,.14); }
.destination-download { background: rgba(255,255,255,.1); }
.share-dropdown .person-send { background: rgba(255,255,255,.14); color: #fff; transition: background 140ms ease; }
.share-dropdown .person-send:hover { background: rgba(255,255,255,.24); }
@keyframes share-dropdown-out { to { opacity: 0; transform: translateY(9px); } }
.share-dropdown.is-closing { animation: share-dropdown-out 140ms cubic-bezier(.4, 0, 1, 1) forwards; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .share-dropdown.is-closing { animation: none; opacity: 0; } }
@keyframes top-menu-out { to { opacity: 0; transform: translateY(-6px) scale(.97); } }
.top-menu.is-closing { animation: top-menu-out 140ms cubic-bezier(.4, 0, 1, 1) forwards; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .top-menu.is-closing { animation: none; opacity: 0; } }
.collect-status { margin: 0; padding: 18px 14px; color: #8b8b8b; font-size: 13px; text-align: center; }
.collect-status[hidden] { display: none; }
@media (hover: none) {
  .feed-card:not(.content-current) .card-overlay .card-collect, .feed-card:not(.content-current) .card-overlay .card-collect button { pointer-events: none; }
  .feed-card.actions-open .card-overlay .card-collect, .feed-card.collect-open .card-overlay .card-collect, .feed-card.actions-open .card-overlay .card-collect button, .feed-card.collect-open .card-overlay .card-collect button { pointer-events: auto; }
}
/* Kanvas: the home feed as one endless sheet that is dragged in every direction (canvas-feed.js) */
html.canvas-on, html.canvas-on body { overflow: hidden; overscroll-behavior: none; }
html.canvas-on .site-footer, html.canvas-on .feed-skeleton, html.canvas-on .feed-sentinel { display: none !important; }
.masonry-feed.is-canvas { position: fixed; inset: 0; z-index: 1; display: block; columns: auto; overflow: hidden; touch-action: none; overscroll-behavior: none; cursor: grab; user-select: none; -webkit-user-select: none; --cx: 0px; --cy: 0px; --z: 1; }
.masonry-feed.is-canvas.is-dragging { cursor: grabbing; }
/* on the sheet the icons and the bar are built only for the picture the pointer is on (or that has something open): the others carry no layers while the sheet moves */
.masonry-feed.is-canvas .feed-card .card-overlay { display: none; }
.masonry-feed.is-canvas .feed-card:focus-within .card-overlay, .masonry-feed.is-canvas .feed-card:hover .card-overlay, .masonry-feed.is-canvas .feed-card.canvas-hover .card-overlay, .masonry-feed.is-canvas .feed-card.collect-open .card-overlay, .masonry-feed.is-canvas .feed-card.menu-open .card-overlay, .masonry-feed.is-canvas .feed-card.share-open .card-overlay, .masonry-feed.is-canvas .feed-card.actions-open .card-overlay { display: block; }
.masonry-feed.is-canvas .card-collect-name { -webkit-backdrop-filter: none; backdrop-filter: none; }
.masonry-feed.is-canvas > .feed-card { position: absolute; left: 0; top: 0; width: var(--cw); height: var(--ch); margin: 0; border-radius: var(--r-card); transform-origin: 0 0; content-visibility: visible; will-change: translate; contain-intrinsic-size: none; }
.masonry-feed.is-canvas > .feed-card.canvas-off { display: none !important; }
.masonry-feed.is-canvas .feed-card img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
/* lighter to draw while the sheet moves (a phone has to repaint all of this every frame): no blur or shadow filter behind or over it, no entry or loading animation on the pictures, every picture painted on its own */
.masonry-feed.is-canvas > .feed-card { contain: layout paint style; animation: none; transition: none; }
.masonry-feed.is-canvas .feed-card.is-loading::after { display: none; }
html.canvas-on .navbar { filter: none; }
html.canvas-on .nav-panel, html.canvas-on .search-box, html.canvas-on .feed-tabs, html.canvas-on .canvas-zoom, html.canvas-on .canvas-hint { -webkit-backdrop-filter: none; backdrop-filter: none; }
html.canvas-on .nav-panel, html.canvas-on .search-box { box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.canvas-zoom { position: fixed; z-index: 40; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 2px; padding: 4px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: #202020; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.canvas-zoom[hidden] { display: none; }
/* the first stop of the tab order: appears only when it has the focus */
.skip-link { position: fixed; z-index: 300; left: 12px; top: -64px; padding: 10px 18px; border: 0; border-radius: 999px; background: #fff; color: #111; font: inherit; font-size: 14px; cursor: pointer; transition: top 160ms ease; }
.skip-link:focus-visible { top: 12px; outline: 2px solid #111; outline-offset: 2px; box-shadow: 0 0 0 4px #fff; }
@media (prefers-reduced-motion: reduce) { .skip-link { transition: none; } }
.top-menu :focus-visible, .collect-item:focus-visible, .canvas-zoom button:focus-visible, .feed-tabs button:focus-visible { outline: 1px solid rgba(255,255,255,.85); outline-offset: -2px; }
.canvas-hint { position: fixed; z-index: 41; left: 50%; bottom: calc(78px + env(safe-area-inset-bottom, 0px)); max-width: calc(100vw - 32px); padding: 9px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(32,32,32,.94); color: #dcdcdc; font-size: 13px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.4); pointer-events: none; animation: canvas-hint-in 420ms cubic-bezier(.2,.8,.2,1) 600ms both; transform: translateX(-50%); transition: opacity 280ms ease; }
.canvas-hint.is-out { opacity: 0; }
@keyframes canvas-hint-in { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) { .canvas-hint { animation: none; } }
.canvas-zoom button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #d8d8d8; cursor: pointer; transition: background 140ms ease, color 140ms ease; }
.canvas-zoom button:hover:not(:disabled), .canvas-zoom button:focus-visible { background: rgba(255,255,255,.1); color: #fff; outline: none; }
.canvas-zoom button:disabled { color: #666; cursor: default; }
.canvas-zoom svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
@media (max-width: 700px) { .canvas-zoom { right: 12px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); } }
/* icons stay away while the sheet moves; the picture the pointer rests on shows them again */
.masonry-feed.is-canvas.is-moving .feed-card .card-overlay { opacity: 0 !important; }
.masonry-feed.is-canvas.is-moving .feed-card .card-overlay .card-action, .masonry-feed.is-canvas.is-moving .feed-card .card-overlay .card-collect, .masonry-feed.is-canvas.is-moving .feed-card .card-overlay .card-collect button { pointer-events: none; }
.masonry-feed.is-canvas .feed-card.canvas-hover .card-overlay { opacity: 1; }
/* Kanvas: the top bar is quieter: search, menu and account are three small separate pills, firmer than glass */
html.canvas-on .navbar { --glass: rgba(24,24,24,.9); --glass-highlight: rgba(255,255,255,.02); filter: none; }
html[data-theme="light"].canvas-on .navbar { --glass: rgba(242,242,242,.92); }
@media (min-width: 1101px) {
  html.canvas-on .nav-left, html.canvas-on .nav-actions { margin: 0; -webkit-mask-image: none; mask-image: none; width: fit-content; }
  html.canvas-on .nav-left { justify-self: start; padding: 3px 22px 3px 14px; }
  html.canvas-on .nav-actions { justify-self: end; padding: 3px 14px 3px 22px; }
}
/* "Kanvas / Standart": a pill fixed at the bottom centre of the screen */
.feed-tabs { position: fixed; z-index: 40; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); gap: 4px; margin: 0; padding: 5px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: #202020; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.feed-tabs button { padding: 9px 20px; border-color: transparent; white-space: nowrap; }
.feed-tabs button[aria-pressed="true"] { border-color: #fff; background: #fff; color: #111; }
body:has(.feed-tabs:not([hidden])) .toast { bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }

/* Feed tabs: sliding thumb, soft entrance */
.feed-tabs-thumb { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: #fff; pointer-events: none; }
.feed-tabs.is-ready .feed-tabs-thumb { transition: transform 320ms cubic-bezier(.3,.9,.3,1), width 320ms cubic-bezier(.3,.9,.3,1); }
.feed-tabs button { position: relative; z-index: 1; transition: color 260ms ease; }
.feed-tabs button[aria-pressed="true"] { border-color: transparent; background: transparent; color: #111; }
@keyframes feed-tabs-in { from { opacity: 0; transform: translate(-50%, 16px) scale(.96); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
.feed-tabs:not([hidden]) { animation: feed-tabs-in 340ms cubic-bezier(.2,.8,.2,1) both; }
@media (prefers-reduced-motion: reduce) { .feed-tabs:not([hidden]) { animation: none; } .feed-tabs.is-ready .feed-tabs-thumb { transition: none; } }

/* Motion: card morph, image loading, entrances, touch feedback, tab pill, flying chip, empty-state art, read progress, colour reveal */
::view-transition-group(card-hero) { animation-duration: 420ms; animation-timing-function: cubic-bezier(.2,.8,.2,1); }
html.vt-card::view-transition-old(root), html.vt-card::view-transition-new(root) { animation-duration: 220ms; }
/* opening a picture: a short cross-fade of the page, then the page settles (the picture no longer flies between its place and the detail view) */
html.vt-page::view-transition-old(root) { animation-duration: 130ms; animation-timing-function: ease-in; }
html.vt-page::view-transition-new(root) { animation-duration: 240ms; animation-timing-function: cubic-bezier(.2,.8,.2,1); }
html.vt-theme::view-transition-old(root), html.vt-theme::view-transition-new(root) { animation-duration: 320ms; }
.masonry-feed .feed-card img { transform: scale(1.04); transition: opacity 420ms ease, transform 700ms cubic-bezier(.2,.8,.2,1); }
.masonry-feed .feed-card img.image-ready, .masonry-feed .feed-card img.image-failed { transform: none; }
.feed-card.is-loading { overflow: hidden; }
.feed-card.is-loading::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.07) 50%, transparent 80%); transform: translateX(-100%); animation: card-shimmer 1.3s ease-in-out infinite; }
@keyframes card-shimmer { to { transform: translateX(100%); } }
.feed-card.card-enter { animation: card-in 480ms cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--enter-delay, 0ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(22px) scale(.97); } to { opacity: 1; transform: none; } }
@media (hover: none) {
  .masonry-feed .feed-card { transition: transform 220ms cubic-bezier(.2,.8,.2,1); }
  .masonry-feed .feed-card.actions-open { transform: scale(.985); }
  .feed-card.actions-open .card-action { animation: action-pop 320ms cubic-bezier(.2,.9,.3,1.3) both; }
  .feed-card.actions-open .card-bottom-actions .card-action:nth-child(2) { animation-delay: 50ms; }
  .feed-card.actions-open .card-bottom-actions .card-action:nth-child(3) { animation-delay: 100ms; }
}
@keyframes action-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
.feed-tabs { transition: transform 300ms cubic-bezier(.2,.8,.2,1), opacity 300ms ease; }
.feed-tabs:not([hidden]) { animation: feed-tabs-in 340ms cubic-bezier(.2,.8,.2,1) backwards; }
.feed-tabs.is-compact { transform: translateX(-50%) translateY(16px) scale(.7); opacity: .55; }
.feed-tabs.is-compact:hover, .feed-tabs.is-compact:focus-within { transform: translateX(-50%); opacity: 1; }
.fly-chip { position: fixed; z-index: 200; top: 0; left: 0; display: grid; place-items: center; width: 28px; height: 28px; overflow: hidden; border-radius: 50%; background: #fff; color: #111; box-shadow: 0 6px 18px rgba(0,0,0,.4); pointer-events: none; will-change: transform; }
.fly-chip svg { width: 16px; height: 16px; }
.empty-art { display: flex; justify-content: center; margin: 0 0 12px; color: #8a8a8a; }
.empty-art svg { width: 112px; height: 112px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.empty-art [class^="art-"] { transform-box: fill-box; transform-origin: center; }
.art-a { animation: art-float 3.2s ease-in-out infinite; }
.art-b { animation: art-float 3.2s ease-in-out -.6s infinite; }
.art-c { animation: art-float 3.2s ease-in-out -1.2s infinite; }
.empty-art .art-hand, .empty-art .art-needle { transform-box: view-box; transform-origin: 60px 60px; }
.art-hand { animation: art-spin 6s linear infinite; }
.art-needle { animation: art-wobble 4.5s ease-in-out infinite; }
.art-lens { animation: art-sweep 3.6s ease-in-out infinite; }
@keyframes art-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes art-spin { to { transform: rotate(360deg); } }
@keyframes art-wobble { 0%, 100% { transform: rotate(-24deg); } 50% { transform: rotate(40deg); } }
@keyframes art-sweep { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(8px, -6px) rotate(8deg); } }
.read-progress { display: none; position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: 2px; background: #fff; transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
@supports (animation-timeline: scroll()) { body.view-content .read-progress { display: block; animation: read-progress linear both; animation-timeline: scroll(root block); } }
@keyframes read-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.color-cover { position: fixed; inset: 0; z-index: 150; pointer-events: none; }
.color-chip { transition: transform 200ms ease; }
.color-swatch:hover .color-chip, .color-swatch:focus-visible .color-chip { transform: translateY(-3px) scale(1.03); }
@media (prefers-reduced-motion: reduce) {
  .masonry-feed .feed-card img { transform: none; transition: none; }
  .feed-card.card-enter, .feed-card.is-loading::after, .feed-card.actions-open .card-action, .feed-tabs:not([hidden]), .art-a, .art-b, .art-c, .art-hand, .art-needle, .art-lens { animation: none; }
  .feed-tabs, .masonry-feed .feed-card { transition: none; }
  .color-chip { transition: none; }
}

.post-checks { margin: 0 0 18px; padding: 12px 16px; border: 1px solid #333; border-radius: 14px; color: #aaa; font-size: 13px; line-height: 1.7; }
.post-dialog textarea.post-dialog-input { resize: vertical; font: inherit; }
.post-dialog-submit { padding: 10px 18px; border: 0; border-radius: 999px; background: #e8e8e8; color: #111; font: inherit; font-size: 14px; cursor: pointer; }
.post-dialog-submit:disabled { opacity: .5; }
.create-rights-note { cursor: default; }
.admin-group { margin: 0 0 28px; }
.admin-group h2 { margin: 0 0 12px; font-size: 16px; font-weight: 500; color: #ddd; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.admin-stat { display: grid; gap: 3px; padding: 14px 16px; border: 1px solid #2f2f2f; border-radius: 14px; background: #1a1a1a; color: inherit; text-decoration: none; }
a.admin-stat:hover { border-color: #666; }
.admin-stat-label { color: #999; font-size: 12.5px; }
.admin-stat-value { color: #fff; font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.admin-stat-note { color: #888; font-size: 12px; line-height: 1.5; }
.admin-note { max-width: 70ch; padding: 12px 16px; border: 1px solid #3a3a3a; border-radius: 12px; background: #1b1b1b; color: #bbb; font-size: 13.5px; line-height: 1.6; }
.admin-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 16px; }
.admin-search { flex: 1 1 260px; min-width: 0; }
.admin-select { flex: 0 0 auto; width: auto; }
.admin-number { width: 90px; }
.admin-button { padding: 9px 16px; border: 1px solid #4a4a4a; border-radius: 999px; background: transparent; color: #ddd; font: inherit; font-size: 13.5px; cursor: pointer; }
.admin-button:hover:not(:disabled) { border-color: #aaa; color: #fff; }
.admin-button:disabled { opacity: .5; cursor: default; }
.admin-button.is-danger { border-color: #6b3a3a; color: #e0a5a5; }
.admin-refresh { margin-bottom: 18px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.admin-table th { padding: 8px 12px; border-bottom: 1px solid #3a3a3a; color: #999; font-weight: 500; text-align: left; white-space: nowrap; }
.admin-table td { padding: 10px 12px; border-bottom: 1px solid #262626; vertical-align: top; }
.admin-table tr.is-clickable { cursor: pointer; }
.admin-table tr.is-clickable:hover td { background: #1c1c1c; }
.admin-chip { display: inline-block; padding: 2px 9px; border: 1px solid #3a3a3a; border-radius: 999px; color: #bbb; font-size: 12px; white-space: nowrap; }
.admin-chip.is-good { border-color: #3d5a45; color: #a9d4b3; }
.admin-chip.is-bad { border-color: #6b3a3a; color: #e0a5a5; }
.admin-chip.is-accent { border-color: #6a5a3a; color: #e6cf9c; }
.admin-title { margin: 6px 0 10px; font-size: 26px; font-weight: 500; }
.admin-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 4px 0; color: #999; font-size: 13px; }
.admin-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 16px 0; font-size: 14px; }
.admin-facts dt { color: #999; } .admin-facts dd { margin: 0; color: #ddd; word-break: break-word; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.admin-list { margin: 6px 0 18px; padding-left: 18px; color: #ccc; font-size: 13.5px; line-height: 1.8; }
.admin-posts { display: grid; gap: 10px; }
.admin-post { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; padding: 12px; border: 1px solid #2c2c2c; border-radius: 14px; background: #1a1a1a; }
.admin-post-thumb img { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: #222; }
.admin-post-title { color: #fff; font-size: 15px; }
.admin-post .admin-actions { grid-column: 1 / -1; margin: 2px 0 0; }
@media (max-width: 640px) { .admin-post { grid-template-columns: 48px 1fr; } .admin-post-thumb img { width: 48px; height: 48px; } }
.post-multi { position: absolute; top: 10px; right: 10px; z-index: 3; min-width: 22px; padding: 3px 9px; border-radius: 999px; background: rgba(0,0,0,.7); color: #eee; font-size: 11px; font-style: normal; text-align: center; }
.post-multi::before { content: "▣ "; opacity: .8; }
.post-carousel { width: 100%; }
.post-carousel-stage { position: relative; }
.post-carousel-thumbs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; position: static; width: auto; max-width: none; margin: 14px 0 0; padding: 0; border: 0; border-radius: 0; background: none; }
.post-carousel-thumb { flex: 0 0 auto; width: auto; height: 52px; margin: 0; padding: 0; overflow: hidden; border: 0; border-radius: 6px; background: none; box-shadow: none; filter: none; cursor: pointer; opacity: .5; transform: none; transition: opacity 220ms ease; }
.post-carousel-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.post-carousel-thumb, .create-strip-item { width: 72px; }
.post-carousel-thumb.is-tall, .create-strip-item.is-tall { width: 40px; }
.create-drop.has-file .create-drop-preview .post-carousel-thumb img { width: 100%; height: 100%; min-width: 0; max-width: none; max-height: none; margin: 0; padding: 0; object-fit: cover; border-radius: 6px; }
.post-carousel-thumb:hover { opacity: .8; transform: none; }
.post-carousel-thumb.is-current { opacity: 1; transform: none; box-shadow: none; }
.post-carousel-thumb:focus-visible { outline: 2px solid rgba(255,255,255,.9); outline-offset: 2px; }
.content-back.is-bubble { display: inline-grid; place-items: center; width: 44px; height: 44px; margin: 0 0 24px; padding: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; background: rgba(255,255,255,.07); -webkit-backdrop-filter: var(--blur-glass); backdrop-filter: var(--blur-glass); color: #eee; transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease; }
.content-back.is-bubble svg { width: 20px; height: 20px; }
.content-back.is-bubble:hover { border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.13); color: #fff; }
.content-back.is-bubble:focus-visible { outline: 1px solid rgba(255,255,255,.85); outline-offset: 3px; }
.post-viewer { margin: 0; padding: 0; border: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; background: transparent; color: inherit; cursor: default; }
.post-viewer[open] { display: grid; place-items: center; }
.post-viewer[open]::backdrop { animation: viewer-in 320ms ease both; }
.post-viewer::backdrop { background: rgba(0,0,0,.93); }
.post-viewer img { display: block; max-width: 96vw; max-height: 96vh; max-height: 96dvh; object-fit: contain; }
.post-viewer.is-closing::backdrop { animation: viewer-out 320ms ease both; }
@keyframes viewer-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes viewer-out { from { opacity: 1; } to { opacity: 0; } }
.post-carousel:focus-visible { outline: 1px solid #8a8a8a; outline-offset: 4px; }
.post-carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 12px; }
.post-carousel-track::-webkit-scrollbar { display: none; }
.post-carousel-slide { flex: 0 0 100%; display: grid; place-items: center; scroll-snap-align: center; }
.post-carousel-slide img { max-width: 100%; height: auto; max-height: 65vh; object-fit: contain; }
.post-carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.post-carousel-arrow.is-prev { left: 10px; } .post-carousel-arrow.is-next { right: 10px; }
.post-carousel-arrow:hover, .post-carousel-arrow:focus-visible { background: rgba(0,0,0,.8); }
.post-carousel-arrow[hidden] { display: none; }
.post-carousel-dots { position: absolute; left: 50%; bottom: 12px; z-index: 2; display: flex; gap: 7px; align-items: center; padding: 6px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.12); -webkit-backdrop-filter: var(--blur-glass); backdrop-filter: var(--blur-glass); transform: translateX(-50%); }
.post-carousel-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.42); cursor: pointer; transition: background-color 220ms ease; }
.post-carousel-dot:hover { background: rgba(255,255,255,.7); }
.post-carousel-worm { position: absolute; left: 0; width: 8px; border-radius: 999px; background: #fff; pointer-events: none; will-change: transform, width; }
.post-carousel-dot:focus-visible { outline: 1px solid rgba(255,255,255,.85); outline-offset: 2px; }
.create-left { min-width: 0; }
.create-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; position: static; width: auto; max-width: none; margin: 14px 0 0; padding: 0; border: 0; border-radius: 0; background: none; }
.create-strip[hidden] { display: none; }
.create-strip-item { flex: 0 0 auto; width: 72px; height: 52px; margin: 0; padding: 0; overflow: hidden; border: 0; border-radius: 6px; background: none; box-shadow: none; filter: none; cursor: pointer; opacity: .5; transform: none; transition: opacity 220ms ease; }
.create-strip-item img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.create-strip-item { touch-action: pan-y; }
.create-strip-item.is-dragging { opacity: .9; z-index: 3; }
.create-strip-item.is-shown { opacity: 1; transform: none; box-shadow: none; }
.create-strip-item:hover { opacity: .8; transform: none; }
.create-strip-add { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 52px; max-width: none; min-width: 0; aspect-ratio: auto; margin: 0; padding: 0; border: 0; border-radius: 6px; background: none; color: rgba(255,255,255,.6); font: inherit; font-size: 28px; font-weight: 300; line-height: 1; cursor: pointer; transition: color 220ms ease; }
.create-strip-add:hover, .create-strip-add.is-shown { color: #fff; background: none; border: 0; box-shadow: none; }
.create-strip-item:focus-visible { outline: 2px solid rgba(255,255,255,.9); outline-offset: 2px; }
.create-strip-add:focus-visible { outline: 2px solid rgba(255,255,255,.9); outline-offset: 2px; }
.create-drop.is-adding { min-height: 320px; }
.create-left .create-extra-note { display: block; margin-top: 8px; text-align: center; }
.create-extra { display: grid; gap: 8px; margin: 2px 0 6px; }
.create-extra-list { display: flex; flex-wrap: wrap; gap: 8px; }
.create-extra-item { position: relative; width: 64px; height: 64px; overflow: hidden; border-radius: 10px; background: #222; }
.create-extra-item img { width: 100%; height: 100%; object-fit: cover; }
.create-extra-remove { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border: 0; border-radius: 50%; background: rgba(0,0,0,.7); color: #fff; font-size: 14px; line-height: 1; cursor: pointer; }
.create-extra-note { color: #888; font-size: 12px; line-height: 1.5; }
.settings-key { display: block; margin: 10px 0; padding: 12px 14px; border: 1px solid #3a3a3a; border-radius: 12px; background: #1b1b1b; color: #e6e6e6; font-size: 15px; letter-spacing: .08em; user-select: all; word-break: break-all; }
.settings-recovery { margin: 10px 0 14px; padding: 12px 14px; border: 1px solid #3a3a3a; border-radius: 12px; background: #1b1b1b; color: #e6e6e6; font-size: 15px; line-height: 1.8; user-select: all; }
.footer-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.footer-topics a { color: inherit; }
.admin-shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 36px; align-items: start; margin-top: 22px; }
.admin-side { position: sticky; top: 96px; display: grid; gap: 3px; padding: 12px; border: 1px solid #2c2c2c; border-radius: 16px; background: #1a1a1a; }
.admin-side-label { margin: 14px 10px 4px; color: #888; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.admin-side-label:first-child { margin-top: 4px; }
.admin-side-item { display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 12px; border: 0; border-radius: 11px; background: transparent; color: #ccc; font: inherit; font-size: 14px; text-align: left; text-decoration: none; cursor: pointer; }
.admin-side-item svg { width: 18px; height: 18px; flex: 0 0 18px; }
.admin-side-item:hover { background: #262626; color: #fff; }
.admin-side-item.is-current { background: #e8e8e8; color: #111; }
.admin-main { min-width: 0; }
.admin-main-title { margin: 0 0 18px; color: #fff; font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.admin-filters { gap: 14px 28px; margin-bottom: 18px; }
.admin-segment { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.admin-segment-label { margin-right: 4px; color: #999; font-size: 12.5px; }
.admin-segment-button { padding: 6px 14px; border: 1px solid #3f3f3f; border-radius: 999px; background: transparent; color: #ccc; font: inherit; font-size: 13px; cursor: pointer; }
.admin-segment-button:hover { border-color: #888; color: #fff; }
.admin-segment-button.is-current { border-color: #e8e8e8; background: #e8e8e8; color: #111; }
.viz-out { transition: opacity 160ms ease; }
@media (max-width: 860px) { .admin-shell { grid-template-columns: minmax(0, 1fr); gap: 16px; } .admin-side { position: static; display: flex; gap: 6px; padding: 8px; overflow-x: auto; } .admin-side-label { display: none; } .admin-side-item { width: auto; flex: 0 0 auto; white-space: nowrap; } }

/* ---- Takip: an endless list of cards in the middle, a vertical bar of stories on the right ---- */
.following-host { max-width: 860px; margin: 0 auto; }
.following-page { display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 34px; align-items: start; }
.following-main { min-width: 0; max-width: 580px; width: 100%; margin: 0 auto; }
.following-title { margin: 6px 0 4px; color: #eee; font-size: clamp(26px, 3vw, 34px); font-weight: 500; letter-spacing: -.03em; }
.following-note { margin: 0 0 22px; color: #999; font-size: 14px; line-height: 1.6; }
.following-list { display: grid; gap: 22px; }
.following-status { margin: 22px 0; color: #777; font-size: 13px; text-align: center; }
.following-status[hidden] { display: none; }
.following-sentinel { height: 1px; }
.following-face { display: block; width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: #30322d; flex: 0 0 auto; }
.following-face.is-letter { display: grid; place-items: center; color: #e8e2d2; font-size: 15px; font-weight: 500; background: #2c2c2a; }
.following-card { overflow: hidden; border: 1px solid rgba(255,255,255,.07); border-radius: 20px; background: #1b1b1b; }
.following-head { display: flex; align-items: center; padding: 12px 14px; }
.following-person { display: flex; align-items: center; gap: 11px; min-width: 0; color: inherit; text-decoration: none; }
.following-person-text { display: grid; min-width: 0; line-height: 1.3; }
.following-person-text strong { color: #eee; font-size: 14px; font-weight: 500; }
.following-person-text small { color: #888; font-size: 12px; }
.following-media { display: block; background: #151515; }
.following-media img { display: block; width: 100%; height: auto; max-height: 78vh; object-fit: cover; background: #222; }
.following-actions { display: flex; gap: 4px; padding: 8px 10px 0; }
.following-action { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: none; color: #cfcfcf; cursor: pointer; transition: color 160ms ease, background-color 160ms ease, transform 160ms ease; }
.following-action svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.following-action:hover, .following-action:focus-visible { color: #fff; background: rgba(255,255,255,.07); outline: none; }
.following-action.is-on { color: #ff7a8a; }
.following-action.is-on svg { fill: currentColor; }
.following-action:active { transform: scale(.9); }
.following-text { padding: 4px 16px 16px; }
.following-text strong { color: #eee; font-size: 14.5px; font-weight: 500; }
.following-text p { margin: 4px 0 0; color: #a8a8a8; font-size: 13.5px; line-height: 1.6; overflow-wrap: anywhere; }
.following-collection { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; color: inherit; text-decoration: none; }
.following-cover { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #222; }
.following-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.following-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 2px; }
.following-strip:empty { display: none; }
.following-strip img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #222; }
.following-collection-text { display: grid; gap: 2px; padding: 12px 16px 16px; }
.following-collection-text strong { color: #eee; font-size: 15px; font-weight: 500; }
.following-collection-text small { color: #888; font-size: 12.5px; }
.following-collection-text p { margin: 4px 0 0; color: #a8a8a8; font-size: 13.5px; line-height: 1.6; }
.following-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.following-tile { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #222; }
.following-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 260ms ease; }
.following-tile:hover img { transform: scale(1.04); }
.following-empty { display: grid; justify-items: center; gap: 8px; margin: 28px 0; text-align: center; }
.following-empty h2 { margin: 0; color: #eee; font-size: 20px; font-weight: 500; }
.following-empty p { max-width: 38ch; margin: 0; color: #999; font-size: 14px; line-height: 1.65; }
.following-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 10px 0; }
.following-chip { padding: 8px 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: none; color: #ddd; font: inherit; font-size: 13.5px; cursor: pointer; transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease; }
.following-suggest { margin: 26px 0 8px; }
.following-suggest h2 { margin: 0 0 14px; color: #eee; font-size: 17px; font-weight: 500; }
.following-suggest-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.following-suggest-card { display: grid; gap: 10px; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.03); }
.following-suggest-who { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-width: 0; }
.following-suggest-who strong { display: block; color: #eee; font-weight: 500; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.following-suggest-who small { color: #8f8f8f; font-size: 12px; }
.following-suggest-pictures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.following-suggest-pictures img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: #1a1a1a; }
.following-suggest-follow { padding: 8px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: none; color: #eee; font: inherit; font-size: 13px; cursor: pointer; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.following-suggest-follow:hover, .following-suggest-follow:focus-visible { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); outline: none; }
.following-suggest-follow.is-on { background: #fff; color: #000; border-color: #fff; }
.following-chip:hover, .following-chip:focus-visible { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.06); outline: none; }
.following-manage { margin: 34px 0 10px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px; }
.following-manage summary { color: #a8a8a8; font-size: 13.5px; cursor: pointer; }
.following-manage summary:hover { color: #fff; }
.following-manage-body { margin-top: 14px; }

/* the stories: a round picture per person or category on a bar that stays in view; a ring says there is something new */
.story-bar { position: sticky; top: 96px; display: grid; gap: 16px; justify-items: center; align-content: start; max-height: calc(100vh - 124px); max-height: calc(100dvh - 124px); padding: 4px 0; overflow-y: auto; scrollbar-width: none; }
.story-bar::-webkit-scrollbar { display: none; }
.story-bar[hidden] { display: none; }
.story { display: grid; justify-items: center; gap: 6px; width: 84px; padding: 0; border: 0; background: none; color: #bbb; font: inherit; cursor: pointer; }
.story-ring { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: rgba(255,255,255,.14); transition: transform 200ms cubic-bezier(.3,1.3,.5,1); }
.story.is-new .story-ring { background: conic-gradient(from 200deg, #f4e9c9, #ff9a7a, #d8c9a6, #f4e9c9); }
.story-ring .following-face { box-sizing: content-box; width: 54px; height: 54px; border: 3px solid var(--surface, #181818); }
.story-name { max-width: 84px; overflow: hidden; color: #aaa; font-size: 11.5px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.story.is-new .story-name { color: #eee; }
.story:hover .story-ring, .story:focus-visible .story-ring { transform: scale(1.07); }
.story:focus-visible { outline: none; }
.story:focus-visible .story-ring { box-shadow: 0 0 0 3px #fff; }
@media (max-width: 700px) {
  .following-page { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .story-bar { position: static; order: -1; display: flex; gap: 12px; justify-content: flex-start; max-height: none; padding: 0 0 6px; overflow-x: auto; overflow-y: hidden; }
  .story { flex: 0 0 auto; width: 72px; }
  .story-ring { width: 60px; height: 60px; }
  .story-ring .following-face { width: 48px; height: 48px; }
  .story-name { max-width: 72px; }
}

/* the story viewer: a tall frame in the middle, one item at a time, a row of segments on top */
.story-viewer { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: rgba(0,0,0,.93); outline: none; animation: story-in 200ms ease both; }
.story-viewer.is-closing { animation: story-out 160ms ease both; }
@keyframes story-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes story-out { from { opacity: 1; } to { opacity: 0; } }
.story-frame { position: relative; width: min(430px, 94vw); height: min(780px, 90vh); height: min(780px, 90dvh); overflow: hidden; border-radius: 22px; background: #111; touch-action: none; user-select: none; -webkit-user-select: none; }
.story-picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #111; }
.story-frame::before, .story-frame::after { content: ""; position: absolute; left: 0; right: 0; z-index: 2; pointer-events: none; }
.story-frame::before { top: 0; height: 120px; background: linear-gradient(rgba(0,0,0,.6), transparent); }
.story-frame::after { bottom: 0; height: 190px; background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.story-bars { position: absolute; top: 10px; left: 12px; right: 12px; z-index: 4; display: flex; gap: 4px; }
.story-seg { position: relative; flex: 1 1 0; height: 3px; overflow: hidden; border-radius: 2px; background: rgba(255,255,255,.3); }
.story-seg i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.story-seg.is-done i { transform: none; }
.story-seg.is-now i { animation: story-fill linear both; }
@keyframes story-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.story-head { position: absolute; top: 22px; left: 14px; right: 56px; z-index: 4; }
.story-who { display: flex; align-items: center; gap: 10px; color: #fff; }
.story-who .following-face { width: 34px; height: 34px; }
.story-who strong { font-size: 14px; font-weight: 500; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.story-who small { color: rgba(255,255,255,.75); font-size: 12px; }
.story-caption { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 4; display: grid; gap: 4px; color: #fff; }
.story-caption strong { font-size: 16px; font-weight: 500; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.story-caption p { margin: 0; color: rgba(255,255,255,.85); font-size: 13.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.story-open { justify-self: start; margin-top: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.18); -webkit-backdrop-filter: var(--blur-glass); backdrop-filter: var(--blur-glass); color: #fff; font-size: 13px; text-decoration: none; }
.story-open:hover, .story-open:focus-visible { background: rgba(255,255,255,.3); outline: none; }
.story-hit { position: absolute; top: 70px; bottom: 120px; z-index: 3; width: 38%; padding: 0; border: 0; background: none; cursor: pointer; }
.story-hit.is-prev { left: 0; }
.story-hit.is-next { right: 0; width: 62%; }
.story-close { position: absolute; top: 14px; right: max(14px, calc(50% - 215px + 14px)); z-index: 6; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.4); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.story-close:hover, .story-close:focus-visible { background: rgba(255,255,255,.2); outline: none; }
/* one look for every text field in use: a thin soft frame, no heavy ring (in the light theme the same frame is dark) */
:where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([type="button"]):not([type="submit"]), textarea, select, [contenteditable="true"]):focus-visible { outline: 1px solid rgba(255,255,255,.5); outline-offset: 0; }
.collection-dialog input[name="name"]:focus-visible, .feedback-dialog textarea:focus-visible, .settings-field input:focus-visible, .post-dialog-input:focus-visible, .comments-input:focus-visible, .create-import-input:focus-visible, .auth-form input:focus, .auth-form select:focus, .profile-editor input:focus, .profile-editor textarea:focus, .collection-link-box input:focus { outline: none; border-color: rgba(255,255,255,.5); box-shadow: 0 0 0 3px rgba(255,255,255,.06); }
