/* ============================================================
   COSPLAY PORTFOLIO — STYLESHEET
   Font: Montserrat (Google Fonts)
   Theme: Dark minimal
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:           #181818;
  --bg-card:      #212121;
  --bg-overlay:   rgba(18, 18, 18, 0.85);
  --border:       #2e2e2e;
  --text:         #e4e4e4;
  --text-muted:   #777;
  --text-dim:     #555;
  --accent:       #c8a46e;   /* warm gold */
  --accent-light: #dfc08f;
  --white:        #ffffff;

  --nav-height:   64px;
  --max-width:    1440px;
  --gap:          2px;       /* tight grid gaps */

  --transition:   0.22s ease;
  --radius:       0px;       /* no border-radius = sharper/minimal look */
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  /* Block drag-to-save, long-press save, and text selection on images */
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  pointer-events: none; /* JS protect.js handles right-click on parent */
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(18, 18, 18, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  width: 100vw;
  max-width: var(--max-width);
  padding: 0 40px;
}
.nav::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 100%;
  pointer-events: none;
  display: none;
}
.nav__brand,
.nav__hamburger,
.nav__links {
  position: relative;
  z-index: 1;
}
.nav__brand {
  margin-right: 0;
  padding-left: 0;
}
.nav__hamburger,
.nav__links {
  padding-right: 0;
}
.nav__brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
}
.nav__brand-sub {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--accent);
  margin-top: 1px;
  opacity: 0.9;
}
.nav__links {
  display: flex;
  gap: 36px;
}
.nav__hamburger {
  display: none;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
  width: 40px;
  height: 40px;
  position: relative;
}
.nav__hamburger:focus {
  outline: none;
}
.nav__hamburger svg {
  width: 24px;
  height: 24px;
  transition: opacity 0.3s ease;
  stroke: var(--text);
  stroke-width: 2;
  fill: none;
}
.nav__hamburger-icon {
  opacity: 1;
}
.nav__hamburger-close {
  opacity: 0;
  position: absolute;
  top: 8px;
  left: 8px;
}
.nav__hamburger[aria-expanded="true"] .nav__hamburger-icon {
  opacity: 0;
}
.nav__hamburger[aria-expanded="true"] .nav__hamburger-close {
  opacity: 1;
}
.nav__links a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav__links a:hover,
.nav__links a.active {
  color: var(--white);
}
.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

/* ── Hero Section ───────────────────────────────────────────── */
.banner {
  position: relative;
  width: 100vw;
  aspect-ratio: 4/3;  /* Mobile: 4:3 full width */
  min-height: 250px;
  overflow: hidden;
  cursor: pointer;
  margin: var(--nav-height) 0 0 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .banner {
    aspect-ratio: 4/3;  /* Desktop: 4:3 */
    width: 100%;
    max-width: clamp(280px, 90vw, 55vw);
    margin: var(--nav-height) auto 0;
  }
}
.banner__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 8s ease;
}
.banner:hover .banner__img { transform: scale(1.03); }

.banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18,18,18,0.85) 0%,
    rgba(18,18,18,0.3) 40%,
    rgba(18,18,18,0.1) 100%
  );
}
.banner__content {
  position: absolute;
  bottom: 56px;
  left: 56px;
}
.banner__label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.banner__character {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.02em;
}
.banner__series {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(228, 228, 228, 0.7);
  margin-top: 6px;
  letter-spacing: 0.06em;
}
.banner__credit {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-dim);
  margin-top: 4px;
  letter-spacing: 0.06em;
}

/* ── Banner Panel (Pop-out Info Card) ────────────────────────── */
.banner-panel {
  position: fixed;
  inset: 0;
  z-index: 800;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}
.banner-panel.active {
  display: flex;
}
.banner-panel__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}
.banner-panel__card {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  max-width: 550px;
  max-height: 80vh;
  overflow-y: auto;
  width: 90%;
  cursor: default;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}
.banner-panel__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition);
}
.banner-panel__close:hover {
  color: var(--accent);
}
.banner-panel__content {
  padding: 28px;
}

/* Mobile: Full screen modal */
@media (max-width: 767px) {
  .banner-panel__card {
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    max-width: 100%;
  }
}

/* ── Section Header ─────────────────────────────────────────── */
/* ── Events Stats ─────────────────────────────────────────── */
.events-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 32px 40px 8px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}
.events-stats__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.events-stats__num {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.events-stats__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.events-stats__divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.12);
  margin: 0 36px;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .events-stats { padding: 24px 20px 4px; gap: 0; }
  .events-stats__num { font-size: 2.4rem; }
  .events-stats__divider { margin: 0 24px; height: 40px; }
}

/* ── Section header ───────────────────────────────────────── */
.section-header {
  padding: 24px 40px 12px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
  max-width: var(--max-width);
}
.section-header__left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.section-header__subtitle {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.section-header__updated {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.section-header__label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: none;
}
.section-header__title {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.section-header__count {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-dim);
  margin-left: auto;
  letter-spacing: 0.06em;
}

/* ── Featured Section ──────────────────────────────────────── */
.featured-section {
  position: relative;
  padding: 0;
  margin: 0;
  width: 100vw;
}

@media (min-width: 1024px) {
  .featured-section {
    padding: 0 0 80px;
    margin: 0 auto;
    width: 100%;
    max-width: clamp(280px, 90vw, 55vw);
  }
}

/* Featured Banner */
.featured-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-card);
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .featured-banner {
    aspect-ratio: 3/4;
    margin-bottom: 40px;
  }
}

.featured-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,18,18,0.8) 0%, rgba(18,18,18,0.3) 40%, rgba(18,18,18,0.1) 100%);
}

.featured-banner-content {
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 1;
}
@media (max-width: 768px) {
  .featured-banner-content {
    bottom: 24px;
    left: 20px;
  }
}

.featured-banner-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.featured-banner-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.featured-banner-series {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(228, 228, 228, 0.7);
  letter-spacing: 0.06em;
  margin: 0;
}

.featured-banner-credit {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  margin: 4px 0 0;
}

/* Featured Grid */
.featured-grid-wrapper {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 0 8px;
}
@media (min-width: 1024px) {
  .featured-grid-wrapper {
    padding: 0 0 80px;
  }
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 0;
}

.featured-grid-item {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-card);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.featured-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.88);
}

.featured-grid-item:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}

/* Coser overlay always visible on featured grid (desktop & tablet) */
.featured-grid-item .photo-overlay {
  opacity: 1;
}
@media (max-width: 480px) {
  .featured-grid-item .photo-overlay { opacity: 0; }
}

/* Multi-photo carousel badge */
.featured-grid__badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.5);
  color: rgba(255,255,255,0.85);
  font-size: 0.52rem;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 2px 5px;
  display: flex;
  align-items: center;
  gap: 2px;
  pointer-events: none;
  z-index: 2;
}

/* Featured Details Panel - Desktop (Right Side) */
/* ── Unified Photo Description Panel (Standalone - Featured & Collabs) ── */
.info-panel__standalone {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100vh;
  background: var(--bg);
  border-left: 1px solid var(--border);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.info-panel__standalone[style*="display: none"] {
  display: none !important;
}

.info-panel__standalone:not([style*="display: none"]) {
  display: flex;
}

@media (max-width: 768px) {
  .info-panel__standalone {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    width: 100%;
    height: auto;
    max-height: 90vh;
    border-left: none;
    border-top: 1px solid var(--border);
    transform: translateY(100%);
  }
}

.info-panel__standalone:not([style*="display: none"]) {
  transform: translateX(0);
}

@media (max-width: 768px) {
  .info-panel__standalone:not([style*="display: none"]) {
    transform: translateY(0);
  }
}

.featured-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.featured-tabs-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.featured-tab-pane {
  display: none;
}

.featured-tab-pane.active {
  display: block;
}

.featured-info-block {
  margin-bottom: 24px;
}

.featured-info-block:last-child {
  margin-bottom: 0;
}

.featured-info-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.featured-info-value {
  font-size: 0.95rem;
  color: var(--text);
  word-break: break-word;
}

.featured-info-clickable {
  cursor: pointer;
  color: var(--accent-light);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.featured-info-clickable:hover {
  color: var(--white);
}

.featured-info-button {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.featured-info-button:hover {
  background: rgba(200, 164, 110, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}
/* Old picks-grid - hidden */
.picks-grid {
  display: none;
}

.pick-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  background: var(--bg-card);
}
.pick-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.88);
}
.pick-item:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}
.pick-item__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 20px 18px;
  background: linear-gradient(transparent, rgba(18,18,18,0.88));
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.pick-item:hover .pick-item__info { transform: translateY(0); }
.pick-item__label {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.pick-item__coser {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.2;
  cursor: pointer;
  transition: color 0.2s ease;
}
.pick-item__coser:hover {
  color: var(--accent-light);
  text-decoration: underline;
}
.pick-item__character {
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--accent-light);
  letter-spacing: 0.04em;
  margin-top: 3px;
  cursor: pointer;
  transition: color 0.2s ease;
}
.pick-item__character:hover {
  color: var(--white);
  text-decoration: underline;
}
.pick-item__series {
  font-size: 0.62rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  font-style: italic;
  margin-top: 2px;
}
.pick-item__credit {
  font-size: 0.62rem;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ── Featured Picks: Mobile Grid ───────────────────────────── */
.picks-carousel {
  display: none;
  position: relative;
  width: 100%;
  padding-bottom: 40px;
}
.picks-carousel.active {
  display: block;
  padding: 0 10px 40px;
}
/* Mobile grid: 2 columns, scrollable */
.carousel-viewport {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  position: relative;
  width: 100%;
  background: transparent;
  aspect-ratio: auto;
}
.carousel-slides {
  display: contents;
  transition: none;
  width: auto;
  height: auto;
}
.carousel-slide {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-card);
  cursor: pointer;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.88);
}
.carousel-slide:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}
.carousel-controls {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 20px 16px;
  gap: 12px;
}
.carousel-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.carousel-btn:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.carousel-btn svg {
  width: 20px;
  height: 20px;
}
.carousel-counter {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.carousel-info {
  display: none;
  padding: 20px 16px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  min-height: 120px;
}
.carousel-info h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 8px;
}
.carousel-info-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.carousel-info-item {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.carousel-info-value {
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  transition: color 0.2s ease;
  word-break: break-word;
}
.carousel-info-value:hover {
  color: var(--accent-light);
  text-decoration: underline;
}

/* ── Page Hero (inner pages) ───────────────────────────────── */
.page-hero {
  height: 175px;
  display: flex;
  align-items: flex-end;
  padding: 20px 40px;
  padding-top: var(--nav-height);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: var(--max-width);
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, #2a2218 0%, var(--bg) 70%);
}
.page-hero__content { position: relative; z-index: 1; }
.page-hero__label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.page-hero__title {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}
.page-hero__sub {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-top: 5px;
  letter-spacing: 0.04em;
}

/* ── Album Cards Grid ───────────────────────────────────────── */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--bg);
  margin: 0 auto 80px;
  max-width: var(--max-width);
  padding: 0;
}
@media (min-width: 768px) {
  .albums-grid { grid-template-columns: repeat(6, 1fr); }
}
.album-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  background: var(--bg-card);
  -webkit-tap-highlight-color: transparent;
}
.album-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease, opacity 2s ease;
  filter: brightness(0.72);
}
.album-card__no-cover {
  width: 100%; height: 100%;
  background: var(--bg-card);
}
@media (hover: hover) {
  .album-card:hover img {
    transform: scale(1.06);
    filter: brightness(0.45);
  }
}

/* ── Album Card — Coser Overlay (events only) ───────────────── */
.album-card__coser-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  padding: 36px 24px 88px; /* room below for album-card__info */
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
@media (hover: hover) {
  .album-card:hover .album-card__coser-overlay {
    opacity: 1;
    transform: translateY(0);
  }
}
.album-card__coser-label {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3px;
}
.album-card__coser-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.album-card__coser-character {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--accent-light);
  letter-spacing: 0.04em;
}
.album-card__coser-series {
  font-size: 0.64rem;
  font-weight: 300;
  color: rgba(228,228,228,0.6);
  font-style: italic;
  letter-spacing: 0.02em;
}
.album-card__info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(transparent 30%, rgba(18,18,18,0.75) 100%);
}
.album-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.album-card__meta {
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.06em;
  display: flex;
  gap: 10px;
}
.album-card__count {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
}
.album-card__character {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.album-card__series {
  font-size: 0.68rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-top: 3px;
  letter-spacing: 0.03em;
  font-style: italic;
}
.album-card__coser-label {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(228,228,228,0.7);
  margin-top: 4px;
  letter-spacing: 0.03em;
}
.album-card__arrow {
  position: absolute;
  top: 20px; right: 20px;
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translate(4px, -4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
@media (hover: hover) {
  .album-card:hover .album-card__arrow {
    opacity: 1;
    transform: translate(0, 0);
  }
}
.album-card__arrow svg {
  width: 14px; height: 14px;
  fill: none; stroke: white; stroke-width: 1.5;
}

/* ── Album Page ─────────────────────────────────────────────── */
.album-header {
  padding: calc(var(--nav-height) + 48px) 40px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2px;
}
.album-header__breadcrumb {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.album-header__breadcrumb a { color: var(--accent); transition: color var(--transition); }
.album-header__breadcrumb a:hover { color: var(--white); }
.album-header__breadcrumb span { color: var(--text-dim); }
.album-header__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.album-header__meta {
  display: flex;
  gap: 24px;
  margin-top: 12px;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.album-header__meta span { display: flex; align-items: center; gap: 6px; }
.album-header__meta .dot { color: var(--text-dim); }
.album-header__desc {
  margin-top: 16px;
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* ── Studio Cosplayer Sections ──────────────────────────────── */
.studio-coser-section {
  margin-bottom: 4px;
}
.studio-coser-header {
  padding: 28px 4px 14px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 16px;
  border-top: 1px solid var(--border);
}
.studio-coser-header__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.studio-coser-header__handle {
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.studio-coser-header__sep {
  color: var(--border);
  font-weight: 300;
}
.studio-coser-header__character {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  font-style: italic;
}
.studio-coser-header__series {
  font-size: 0.64rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  font-style: italic;
}
.studio-coser-header__count {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-left: auto;
}

/* Studio album outer wrapper — not a grid itself */
.photo-grid.photo-grid--studio {
  display: block;
  padding: 0 3px;
  max-width: var(--max-width);
  margin: 0 auto 80px;
}

/* Photo grid — uniform 3:4 portrait tiles */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 3px;
  padding: 3px;
  max-width: var(--max-width);
  margin: 0 auto;
}
/* Only add bottom spacing on the last section */
.album-coser-section:last-child .photo-grid { margin-bottom: 80px; }
.photo-grid__item {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--bg-card);
  z-index: 1;
  /* spring-like expand on hover */
  transition:
    transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1),
    z-index   0s      linear 0.35s,
    box-shadow 0.35s ease;
}
.photo-grid__item:hover {
  transform: scale(1.14);
  z-index: 10;
  transition:
    transform   0.35s cubic-bezier(0.34, 1.3, 0.64, 1),
    z-index     0s    linear,
    box-shadow  0.35s ease;
  box-shadow: 0 12px 40px rgba(0,0,0,0.7);
}
.photo-grid__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.35s ease, opacity 2s ease-out;
  filter: brightness(0.88);
  opacity: 1;
}
.photo-grid__item img.fade-out {
  opacity: 0;
}
.photo-grid__item:hover img {
  filter: brightness(1.05);
}

/* ── Photo Overlay (coser info on hover) ───────────────────── */
.photo-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 10px 10px;
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 1px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.photo-grid__item:hover .photo-overlay {
  opacity: 1;
}
.photo-overlay__label {
  font-size: 0.46rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2px;
}
.photo-overlay__coser {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.photo-overlay__character {
  font-size: 0.58rem;
  font-weight: 400;
  color: var(--accent-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.photo-overlay__series {
  font-size: 0.54rem;
  font-weight: 300;
  color: rgba(228,228,228,0.55);
  font-style: italic;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Lightbox ───────────────────────────────────────────────── */
/* ── Lightbox v4 ─────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(12, 12, 12, 0.97);
  display: flex;
  align-items: stretch;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.lightbox.active {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}
/* ── Lightbox container — centred, anchors all UI to the image ── */
.lightbox__container {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 1400px;
  height: 100vh;
  margin: 0 auto;
}

/* Image area — takes all remaining width */
.lightbox__img-area {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lightbox__img-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__img-wrap img,
.lightbox__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Back button — top-left of container (not viewport) */
.lightbox__back {
  position: absolute;
  top: 20px;
  left: 20px;
  height: 36px;
  padding: 0 12px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  opacity: 0.75;
  transition: opacity 0.2s, background 0.2s;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  z-index: 10;
  font-family: var(--font);
}
.lightbox__back:hover { opacity: 1; background: rgba(255,255,255,0.12); }
.lightbox__back svg { width: 16px; height: 16px; }

/* Nav buttons — absolute inside img-area (so they stay next to image) */
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  opacity: 0.75;
  transition: opacity 0.2s, background 0.2s;
  z-index: 5;
}
.lightbox__nav:hover { opacity: 1; background: rgba(255,255,255,0.12); }
.lightbox__nav svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; }
.lightbox__prev { left: 12px; }
.lightbox__next { right: 12px; }

/* Counter — bottom-centre of img-area */
.lightbox__counter {
  position: absolute;
  bottom: 16px;
  left: 50%; transform: translateX(-50%);
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.16em; color: rgba(255,255,255,0.5);
}

/* ── Info panel — flush right of image ─────────────────────── */
.lightbox__panel {
  width: 280px;
  flex-shrink: 0;
  background: rgba(14,14,14,0.98);
  border-left: 1px solid var(--border);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 56px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

/* IG handle link */
.lightbox__ig-link {
  display: flex; align-items: center; gap: 8px;
  color: var(--accent);
  font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  word-break: break-all;
  transition: color 0.2s;
}
.lightbox__ig-link:hover { color: #e0b87a; }
.lightbox__ig-icon { width: 18px; height: 18px; flex-shrink: 0; stroke: currentColor; fill: none; }

/* Character / Series rows */
.lightbox__meta-row {
  display: flex; flex-direction: column; gap: 2px;
}
.lightbox__meta-label {
  font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim);
}
.lightbox__meta-value {
  font-size: 0.8rem; color: var(--text);
}

/* Share button */
.lightbox__share-btn {
  align-self: flex-start;
  padding: 7px 18px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; font-family: var(--font);
  transition: border-color 0.2s, color 0.2s;
}
.lightbox__share-btn:hover { border-color: var(--accent); color: var(--accent); }
.lightbox__share-btn--copied { border-color: #4caf50 !important; color: #4caf50 !important; }

/* Appears in section */
.lightbox__appears-in { display: flex; flex-direction: column; gap: 10px; }
.lightbox__appears-label {
  font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim);
}
.lightbox__tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.lightbox__tab {
  padding: 5px 12px;
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--border);
  background: transparent; color: var(--text-muted);
  cursor: pointer; font-family: var(--font);
  transition: all 0.2s;
}
.lightbox__tab:hover { color: var(--text); border-color: var(--text-dim); }
.lightbox__tab.active { background: var(--accent); border-color: var(--accent); color: var(--bg); }

/* Album cards in tabs */
.lightbox__tab-albums { display: flex; flex-direction: column; gap: 8px; }
.lightbox__album-card {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; cursor: pointer;
  padding: 4px 0;
  transition: opacity 0.2s;
}
.lightbox__album-card:hover { opacity: 0.75; }
.lightbox__album-card.active .lightbox__album-cover { outline: 2px solid var(--accent); outline-offset: 2px; }
.lightbox__album-cover {
  width: 40px; height: 53px; /* 3:4 */
  flex-shrink: 0; overflow: hidden; background: var(--bg-card);
}
.lightbox__album-cover img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__album-cover--empty { width: 100%; height: 100%; background: var(--bg-card); }
.lightbox__album-name {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.06em; color: var(--text);
  line-height: 1.3;
  flex: 1;
}
.lightbox__album-goto {
  flex-shrink: 0; margin-left: auto;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); opacity: 0.55;
  padding: 3px;
  border-radius: 4px;
  transition: opacity 0.15s, background 0.15s;
  text-decoration: none;
}
.lightbox__album-goto:hover { opacity: 1; background: rgba(255,255,255,0.08); }

/* Thumbnail strip */
.lightbox__thumb-strip {
  display: flex; flex-wrap: wrap; gap: 3px;
}
.lightbox__thumb {
  width: 56px; height: 74px; /* 3:4 */
  overflow: hidden; cursor: pointer; background: var(--bg-card);
  opacity: 0.6; transition: opacity 0.2s;
  flex-shrink: 0;
}
.lightbox__thumb:hover, .lightbox__thumb.active { opacity: 1; }
.lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Debug overlay */
.lightbox__debug {
  margin-top: 8px;
  background: rgba(0,0,0,0.6);
  border: 1px solid #333;
  padding: 10px;
  font-size: 0.6rem;
  color: #0f0;
  font-family: monospace;
  overflow-x: auto;
}
.lightbox__debug-title { font-weight: 700; margin-bottom: 6px; color: #ff0; }
.lightbox__debug pre { margin: 0; white-space: pre-wrap; color: #0f0; }

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 767px) {
  /* Whole lightbox scrolls as one column */
  .lightbox { overflow-y: auto; overflow-x: hidden; }
  /* Column layout, auto height so image + panel both fit */
  .lightbox__container {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    max-width: 100%;
    overflow: visible;
  }
  /* Image area: reset flex centering from desktop, let image set its own height */
  .lightbox__img-area {
    display: block;
    width: 100%;
    padding: 0;
    flex-shrink: 0;
    position: relative;
    overflow: visible;
  }
  .lightbox__img-wrap {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    position: static;
  }
  /* Images fill full width; height follows aspect ratio */
  .lightbox__img-wrap img, .lightbox__img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100vw;
    max-height: none;
    object-fit: contain;
  }
  /* Counter sits just below the image */
  .lightbox__counter {
    position: static;
    display: block;
    text-align: center;
    padding: 6px 0;
    background: #111;
    font-size: 0.75rem;
    color: #888;
  }
  /* Panel sits below image, no inner scroll */
  .lightbox__panel {
    flex: none;
    width: 100%;
    overflow: visible;
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 16px 16px 80px;
  }
  .lightbox__nav { display: none; }
  /* Back button stays fixed at top-left while scrolling */
  .lightbox__back { position: fixed; top: 12px; left: 12px; z-index: 1001; }
}

/* ── Collabs Page ───────────────────────────────────────────── */
.collab-list {
  padding: 0 40px 80px;
  margin: 0 auto;
  max-width: clamp(280px, 90vw, 55vw);
}
.collab-entry {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
  min-height: 520px;
}
.collab-entry__cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-card);
}
.collab-entry__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: filter 0.4s ease, transform 0.5s ease;
}
.collab-entry:hover .collab-entry__cover img {
  filter: brightness(1);
  transform: scale(1.03);
}
.collab-entry__body {
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  border-left: 1px solid var(--border);
}
.collab-entry__label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.collab-entry__name {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.collab-entry__handle {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-top: 6px;
}
.collab-entry__bio {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: 20px;
  max-width: 480px;
  letter-spacing: 0.02em;
}
.collab-entry__divider {
  width: 32px;
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}
.collab-entry__projects-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.collab-entry__thumbs {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.collab-thumb {
  width: 80px;
  height: 107px; /* 3:4 */
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  flex-shrink: 0;
}
.collab-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
  transition: filter 0.3s ease, transform 0.4s ease;
}
.collab-thumb:hover img {
  filter: brightness(1.1);
  transform: scale(1.08);
}
/* Gank button */
.gank-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  background: none;
  border: 1px solid #ff4f7b;
  color: #ff4f7b;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  margin-top: auto;
  align-self: flex-start;
}
.gank-btn:hover {
  background: #ff4f7b;
  color: #fff;
}
.gank-btn__icon {
  width: 16px; height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ── Collab Entry Instagram Link ────────────────────────────── */
.collab-entry__instagram {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.collab-entry__instagram-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--accent);
}
.collab-entry__instagram-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.75rem;
  transition: opacity 0.2s ease;
}
.collab-entry__instagram-link:hover {
  opacity: 0.8;
}

/* ── Collab Entry Name Clickable State ──────────────────────── */
.collab-entry__name--clickable {
  cursor: pointer;
  transition: color 0.2s ease;
}
.collab-entry__name--clickable:hover {
  color: var(--accent);
}

/* ── Collaborators Panel (Desktop: Right Sidebar, Mobile: Bottom Sheet) ── */

@media (max-width: 900px) {
  .collab-entry {
    grid-template-columns: 1fr;
  }
  .collab-entry__cover {
    aspect-ratio: 16/9;
  }
  .collab-entry__body {
    padding: 32px 20px;
    border-left: none;
    border-top: 1px solid var(--border);
  }
}

/* ── Mobile Preview Button ──────────────────────────────────── */
.mob-toggle {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 44px; height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}
.mob-toggle:hover {
  background: #2a2a2a;
  border-color: var(--text-dim);
}
.mob-toggle svg {
  width: 18px; height: 18px;
  fill: none; stroke: var(--text-muted); stroke-width: 1.5;
  transition: stroke var(--transition);
}
.mob-toggle:hover svg { stroke: var(--white); }

/* Phone Preview Modal */
.mob-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10,10,10,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(6px);
}
.mob-modal.active {
  opacity: 1;
  pointer-events: all;
}
.mob-modal__close {
  position: fixed;
  top: 24px; right: 28px;
  width: 40px; height: 40px;
  background: none;
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.5;
  transition: opacity var(--transition);
}
.mob-modal__close:hover { opacity: 1; }
.mob-modal__close svg {
  width: 16px; height: 16px;
  fill: none; stroke: white; stroke-width: 1.5;
}
.mob-modal__label {
  position: fixed;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}
/* Phone frame */
.phone-frame {
  position: relative;
  width: 390px;
  height: 780px;
  background: #0a0a0a;
  border-radius: 50px;
  border: 2px solid #333;
  box-shadow:
    0 0 0 6px #111,
    0 0 0 8px #2a2a2a,
    0 40px 80px rgba(0,0,0,0.8);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-frame__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 34px;
  background: #0a0a0a;
  border-radius: 20px;
  z-index: 10;
}
.phone-frame__screen {
  flex: 1;
  border-radius: 46px;
  overflow: hidden;
  position: relative;
}
.phone-frame__screen iframe {
  width: 390px;
  height: 100%;
  border: none;
  border-radius: 46px;
}
.phone-frame__bar {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px; height: 5px;
  background: #444;
  border-radius: 3px;
  z-index: 10;
}

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer__brand {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.footer__brand-sub {
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--accent);
  opacity: 0.7;
}
.footer__copy {
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

/* ── Utility ────────────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 40px; }
.mt-nav { padding-top: var(--nav-height); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── No-results ─────────────────────────────────────────────── */
.empty {
  padding: 80px 40px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .picks-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1344px) {
  .nav__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: -8px;
  }
  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    flex-direction: column;
    gap: 0;
    background: rgba(18, 18, 18, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    width: 100vw;
    max-width: var(--max-width);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    z-index: 99;
  }
  .nav__links.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav__links li {
    padding: 0;
  }
  .nav__links a {
    display: block;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav__links a:hover {
    background: rgba(200, 164, 110, 0.08);
  }
}

/* ── Like & Share Buttons ──────────────────────────────────────── */
.like-btn {
  transition: all var(--transition);
}

.like-btn:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

.like-btn.liked {
  color: var(--accent) !important;
  border-color: var(--accent) !important;
}

.like-btn.liked .like-icon {
  fill: var(--accent);
}

.share-btn {
  transition: all var(--transition);
}

.share-btn:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

.share-menu {
  position: absolute;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 8px 0;
  z-index: 1001;
  min-width: 200px;
}

.share-menu button {
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.share-menu button:hover {
  background: #1a1a1a;
  color: var(--accent);
}

.album-card__actions {
  position: relative;
}

.album-card__actions .like-btn,
.album-card__actions .share-btn {
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  :root { --nav-height: 56px; }
  /* Mobile/Tablet banner: 4:3 aspect ratio (landscape) */
  .banner { aspect-ratio: 4/3; max-height: none; }
  .banner__content { left: 24px; bottom: 36px; }
  .page-hero { max-width: 100%; }
  .section-header { padding: 40px 20px 24px; flex-wrap: wrap; max-width: 100%; }
  .picks-grid { display: none; }
  .picks-carousel.active { display: block; }
  /* Mobile always gets exactly 3 columns */
  .photo-grid { grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 2px; }
  .photo-grid__item:hover { transform: scale(1.06); }
  .albums-grid { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
  .album-card__info { padding: 10px; }
  .album-card__name { font-size: 3vw; }
  .album-card__meta { font-size: 2.2vw; margin-top: 2px; }
  .album-card__count { font-size: 2vw; margin-top: 3px; }
  .album-card__character { font-size: 3vw; }
  .album-card__series { font-size: 2vw; margin-top: 2px; }
  .album-card__coser-label { font-size: 2.4vw; margin-top: 3px; }
  .album-header { padding: calc(var(--nav-height) + 28px) 20px 28px; }
  footer { padding: 28px 20px; max-width: 100%; }
}
@media (max-width: 480px) {
  .nav__brand { font-size: 0.75rem; letter-spacing: 0.1em; }
  .nav__links a { font-size: 0.65rem; letter-spacing: 0.08em; }
}

/* ── V4 ADDITIONS ─────────────────────────────────────────── */

/* Nav contact button */
.nav__contact-btn { display:inline-flex; align-items:center; background:var(--accent); color:#181818!important; font-weight:700; padding:6px 16px; letter-spacing:0.06em; text-transform:uppercase; font-size:0.72rem; transition:background var(--transition); }
.nav__contact-btn:hover { background:var(--accent-light); }

/* Year filter */
.year-filter { display:flex; gap:2px; padding:0 0 24px; max-width:var(--max-width); margin:0 auto; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
.year-filter::-webkit-scrollbar { display:none; }
.year-filter__btn { background:transparent; border:1px solid var(--border); color:var(--text-muted); padding:6px 18px; font-size:0.75rem; font-weight:600; letter-spacing:0.08em; cursor:pointer; font-family:'Montserrat',sans-serif; white-space:nowrap; transition:all var(--transition); }
.year-filter__btn:hover { color:var(--text); border-color:var(--text-dim); }
.year-filter__btn.active { background:var(--accent); border-color:var(--accent); color:#181818; }

/* Home banner — constrained to nav/content width, starts below fixed nav */
.home-banner {
  width: 100%;
  max-width: var(--max-width);
  margin: var(--nav-height) auto 0;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
  cursor: default;
}
a.home-banner { cursor: pointer; }
.home-banner img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
a.home-banner:hover img { transform: scale(1.03); }
/* aspect-ratio locked to 4:3 on all screen sizes */

/* Banner overlay — coser / character / series */
.home-banner__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 56px 28px 28px;
  background: linear-gradient(transparent, rgba(10,10,10,0.82));
  pointer-events: none;
}
.home-banner__overlay-coser {
  font-size: 1rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.02em;
  line-height: 1.2; margin-bottom: 4px;
}
.home-banner__overlay-character {
  font-size: 0.78rem; font-weight: 400;
  color: var(--accent-light); letter-spacing: 0.04em;
}
.home-banner__overlay-series {
  font-size: 0.68rem; font-weight: 300;
  color: rgba(228,228,228,0.6); font-style: italic;
}
/* Desktop: reveal on hover */
@media(min-width: 768px) {
  .home-banner__overlay {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  .home-banner:hover .home-banner__overlay {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Mobile: auto slide-up on load */
@keyframes bannerOverlayIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media(max-width: 767px) {
  .home-banner__overlay {
    animation: bannerOverlayIn 0.6s ease 0.5s both;
  }
}

/* Cosers grid */
.cosers-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--bg); max-width:1440px; margin:0 auto 80px; }
@media(min-width:600px)  { .cosers-grid { grid-template-columns:repeat(6,1fr); } }
@media(min-width:900px)  { .cosers-grid { grid-template-columns:repeat(8,1fr); } }
.coser-card { position:relative; aspect-ratio:3/4; overflow:hidden; cursor:pointer; background:var(--bg-card); }
.coser-card img { width:100%; height:100%; object-fit:cover; filter:brightness(0.8); transition:transform .5s ease,filter .4s ease; transform:scale(var(--cs,1)) translate(var(--cx,0%),var(--cy,0%)); transform-origin:center center; }
.coser-card:hover img { transform:scale(calc(var(--cs,1) * 1.08)) translate(var(--cx,0%),var(--cy,0%)); filter:brightness(0.5); }
.coser-card__no-cover { width:100%; height:100%; background:var(--bg-card); }
.coser-card__overlay { position:absolute; bottom:0; left:0; right:0; padding:20px 6px 6px; background:linear-gradient(transparent,rgba(0,0,0,.75)); }
.coser-card__handle { font-size:0.55rem; font-weight:700; color:var(--white); letter-spacing:0.02em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; display:block; width:100%; }
@media(min-width:600px){ .coser-card__handle { font-size:0.7rem; } }

/* Collabs */
/* ── Collabs list ─────────────────────────────────────── */
.collabs-list { max-width:var(--max-width); margin:0 auto 80px; display:grid; grid-template-columns:1fr; gap:12px; padding:0 24px; }
@media(min-width:600px){ .collabs-list { grid-template-columns:repeat(2,1fr); } }
@media(min-width:900px){ .collabs-list { grid-template-columns:repeat(3,1fr); } }

/* Card shell — flex column: cover on top, film strip below */
.collab-card { background:var(--bg-card); border:1px solid var(--border); overflow:hidden; display:flex; flex-direction:column; }

/* Cover — portrait image with handle overlaid at bottom */
.collab-card__cover { position:relative; width:100%; aspect-ratio:3/4; overflow:hidden; flex-shrink:0; }
.collab-card__cover img { width:100%; height:100%; object-fit:cover; display:block; filter:brightness(.82); transition:filter .45s; }
.collab-card:hover .collab-card__cover img { filter:brightness(1); }
.collab-card__no-cover { width:100%; height:100%; background:#2a2a2a; }

/* Handle + store links overlaid at BOTTOM of cover */
.collab-card__overlay { position:absolute; bottom:0; left:0; right:0; padding:40px 12px 12px; background:linear-gradient(transparent, rgba(0,0,0,.78)); display:flex; flex-direction:column; gap:6px; }
.collab-card__handle { font-size:0.85rem; font-weight:800; color:#fff; letter-spacing:0.05em; font-family:Montserrat,sans-serif; text-shadow:0 1px 6px rgba(0,0,0,.7); }
@media(min-width:640px){ .collab-card__handle { font-size:1rem; } }
.collab-card__store-links { display:flex; gap:5px; flex-wrap:wrap; }
.collab-card__store-btn { display:inline-flex; align-items:center; gap:5px; padding:4px 11px; font-size:0.64rem; font-weight:700; font-family:Montserrat,sans-serif; letter-spacing:0.08em; border:1px solid; text-decoration:none; transition:background var(--transition),border-color var(--transition); background:rgba(0,0,0,.4); backdrop-filter:blur(6px); }
.collab-card__store-icon { width:12px; height:12px; object-fit:contain; flex-shrink:0; }
.collab-card__store-btn--gank { color:#f0c040; border-color:#f0c04088; }
.collab-card__store-btn--gank:hover { background:rgba(240,192,64,.2); border-color:#f0c040; }
.collab-card__store-btn--patreon { color:#ff8080; border-color:#ff808088; }
.collab-card__store-btn--patreon:hover { background:rgba(255,128,128,.2); border-color:#ff8080; }

/* Film strip — sits directly below the cover, no gap */
.collab-card__strip { display:flex; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; gap:0; background:var(--bg-card); border-top:1px solid var(--border); }
.collab-card__strip::-webkit-scrollbar { display:none; }
.collab-card__film { flex-shrink:0; width:80px; display:flex; flex-direction:column; cursor:pointer; border-right:1px solid var(--border); }
.collab-card__film:last-child { border-right:none; }
@media(min-width:640px){ .collab-card__film { width:96px; } }
.collab-card__film-img { aspect-ratio:3/4; overflow:hidden; }
.collab-card__film-img img { width:100%; height:100%; object-fit:cover; display:block; filter:brightness(.8); transition:filter .3s; }
.collab-card__film:hover .collab-card__film-img img { filter:brightness(1); }
.collab-card__film-label { padding:5px 6px 6px; font-size:0.6rem; color:var(--text-muted); line-height:1.3; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* Album detail modal */
.collab-album-modal { background:var(--bg-card); border:1px solid var(--border); max-width:900px; width:90vw; max-height:88vh; overflow-y:auto; display:flex; flex-direction:column; }
.collab-album-modal__header { display:flex; gap:0; flex-shrink:0; }
.collab-album-modal__cover { flex-shrink:0; width:160px; }
@media(min-width:640px){ .collab-album-modal__cover { width:200px; } }
.collab-album-modal__cover img { width:100%; height:100%; object-fit:cover; display:block; }
.collab-album-modal__info { flex:1; padding:24px 28px; display:flex; flex-direction:column; gap:6px; }
.collab-album-modal__handle { font-size:1.1rem; font-weight:700; color:var(--white); letter-spacing:0.02em; }
.collab-album-modal__album-name { font-size:0.85rem; color:var(--text-muted); letter-spacing:0.04em; margin-top:2px; }
.collab-album-modal__character { font-size:0.78rem; color:var(--text-muted); }
.collab-album-modal__meta { font-size:0.72rem; color:var(--text-muted); letter-spacing:0.04em; }
.collab-album-modal__count { font-size:0.7rem; color:var(--text-muted); margin-top:auto; padding-top:12px; }
.collab-album-modal__loading { padding:40px; text-align:center; color:var(--text-muted); font-size:0.85rem; }
.collab-album-modal__grid { display:grid; grid-template-columns:repeat(3,1fr); gap:2px; padding:2px; }
@media(min-width:640px){ .collab-album-modal__grid { grid-template-columns:repeat(4,1fr); } }
.collab-album-modal__photo { aspect-ratio:3/4; overflow:hidden; cursor:zoom-in; }
.collab-album-modal__photo img { width:100%; height:100%; object-fit:cover; display:block; transition:filter .3s; filter:brightness(.9); }
.collab-album-modal__photo:hover img { filter:brightness(1); }

/* Big store buttons in modal header */
.collab-album-modal__store-btns { display:flex; gap:10px; flex-wrap:wrap; margin-top:14px; }
.collab-album-modal__store-btn { display:inline-flex; align-items:center; gap:8px; padding:11px 22px; font-size:0.8rem; font-weight:800; font-family:Montserrat,sans-serif; letter-spacing:0.1em; text-transform:uppercase; border:2px solid; text-decoration:none; transition:background var(--transition),border-color var(--transition),transform .15s; }
.collab-album-modal__store-btn:hover { transform:translateY(-1px); }
.collab-album-modal__store-icon { width:18px; height:18px; object-fit:contain; flex-shrink:0; }
.collab-album-modal__store-btn--gank { color:#f0c040; border-color:#f0c040; background:rgba(240,192,64,.08); }
.collab-album-modal__store-btn--gank:hover { background:rgba(240,192,64,.18); }
.collab-album-modal__store-btn--patreon { color:#ff6b6b; border-color:#ff6b6b; background:rgba(255,107,107,.08); }
.collab-album-modal__store-btn--patreon:hover { background:rgba(255,107,107,.18); }

/* Appears in — inside collab album modal */
.collab-album-modal__appears { padding:24px; border-top:1px solid var(--border); }
.collab-album-modal__appears-label { font-size:0.7rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color:var(--text-muted); margin-bottom:12px; }
.collab-album-modal__tabs { display:flex; gap:4px; flex-wrap:wrap; margin-bottom:12px; }
.collab-album-modal__tab { padding:5px 14px; font-size:0.72rem; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; font-family:Montserrat,sans-serif; border:1px solid var(--border); background:transparent; color:var(--text-muted); cursor:pointer; transition:background var(--transition),border-color var(--transition),color var(--transition); }
.collab-album-modal__tab.active,.collab-album-modal__tab:hover { border-color:var(--white); color:var(--white); background:rgba(255,255,255,.06); }
.collab-album-modal__tab-albums { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px; }
.collab-album-modal__tab-album { display:flex; flex-direction:column; gap:4px; cursor:pointer; width:80px; }
.collab-album-modal__tab-cover { width:80px; aspect-ratio:3/4; overflow:hidden; border:2px solid transparent; transition:border-color .2s; }
.collab-album-modal__tab-album.active .collab-album-modal__tab-cover,.collab-album-modal__tab-album:hover .collab-album-modal__tab-cover { border-color:var(--white); }
.collab-album-modal__tab-cover img { width:100%; height:100%; object-fit:cover; display:block; }
.collab-album-modal__tab-cover--empty { width:100%; height:100%; background:#2a2a2a; }
.collab-album-modal__tab-name { font-size:0.62rem; color:var(--text-muted); line-height:1.3; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.collab-album-modal__thumb-strip { display:flex; gap:3px; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
.collab-album-modal__thumb-strip::-webkit-scrollbar { display:none; }
.collab-album-modal__thumb { flex-shrink:0; width:70px; aspect-ratio:3/4; overflow:hidden; cursor:pointer; }
.collab-album-modal__thumb img { width:100%; height:100%; object-fit:cover; display:block; filter:brightness(.8); transition:filter .3s; }
.collab-album-modal__thumb:hover img { filter:brightness(1); }

/* Collab preview modal */
.collab-preview-backdrop { position:fixed; inset:0; z-index:9999; background:rgba(0,0,0,.88); display:flex; align-items:center; justify-content:center; animation:fadeIn .18s ease; }
.collab-preview-close { position:fixed; top:20px; right:24px; background:none; border:none; color:#fff; font-size:1.6rem; cursor:pointer; opacity:.7; line-height:1; padding:4px 8px; z-index:10000; transition:opacity .2s; }
.collab-preview-close:hover { opacity:1; }
.collab-preview-modal { display:flex; flex-direction:column; align-items:center; gap:16px; max-width:min(520px, 90vw); animation:scaleIn .18s ease; }
.collab-preview-img-wrap { width:100%; aspect-ratio:3/4; overflow:hidden; box-shadow:0 8px 40px rgba(0,0,0,.6); }
.collab-preview-img { width:100%; height:100%; object-fit:cover; display:block; }
.collab-preview-no-cover { width:100%; height:100%; background:#2a2a2a; }
.collab-preview-info { text-align:center; }
.collab-preview-handle { font-size:1.15rem; font-weight:700; color:#fff; letter-spacing:0.02em; }
.collab-preview-character { font-size:0.9rem; color:rgba(255,255,255,.85); margin-top:5px; letter-spacing:0.03em; }
.collab-preview-meta { font-size:0.78rem; color:rgba(255,255,255,.45); margin-top:3px; letter-spacing:0.04em; }
@keyframes scaleIn { from { opacity:0; transform:scale(.94); } to { opacity:1; transform:scale(1); } }

/* Album card share button */
.album-card__share {
  position: absolute;
  bottom: 68px; right: 14px;
  z-index: 5;
  width: 30px; height: 30px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.2s;
  padding: 0;
}
@media (hover: hover) {
  .album-card:hover .album-card__share {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (hover: none) {
  .album-card__share {
    opacity: 0.75;
    transform: translateY(0);
  }
}
.album-card__share:hover { border-color: var(--accent); }
.album-card__share--copied { border-color: var(--accent) !important; opacity: 1 !important; transform: translateY(0) !important; }
.album-card__share svg { width: 13px; height: 13px; fill: none; stroke: white; stroke-width: 2; }

/* Featured grid — always 3 columns on desktop/tablet */
@media(min-width: 600px) {
  .page-home .photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Anti-piracy — disable iOS long-press save callout ─────── */
.lightbox__img,
.lightbox__thumb img,
.photo-grid__item img {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
/* photo-grid thumbnails: route touch to parent div so iOS never
   sees a tappable <img> and won't offer "Save Image" */
.photo-grid__item img,
.lightbox__thumb img {
  pointer-events: none;
}

/* Album coser sections */
.album-photo-sections { max-width:var(--max-width); margin:0 auto 80px; }
.album-coser-section { margin-bottom:2px; }
.album-coser-section + .album-coser-section { margin-top:28px; }
.studio-coser-header { display:flex; align-items:baseline; gap:12px; padding:10px 24px 4px; margin-bottom:4px; }
.studio-coser-header__handle { font-size:0.88rem; font-weight:700; color:var(--accent); letter-spacing:0.02em; }
.studio-coser-header__count { font-size:0.65rem; font-weight:600; color:var(--text-dim); letter-spacing:0.1em; text-transform:uppercase; margin-left:auto; }
.album-coser-section .photo-grid { grid-template-columns:repeat(3,1fr); }
@media(min-width:600px){ .album-coser-section .photo-grid { grid-template-columns:repeat(6,1fr); } }

/* (lightbox panel styles now in v4 section above) */

/* Contact */
.contact-wrap { max-width:480px; margin:0 auto 80px; padding:48px 24px; display:flex; flex-direction:column; align-items:center; gap:20px; text-align:center; }
.contact-avatar {
  width: 640px; height: 640px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  display: block;
}
.contact-intro { font-size:0.9rem; color:var(--text-muted); line-height:1.8; }
.contact-ig-btn { display:inline-flex; align-items:center; gap:8px; background:var(--accent); color:#181818; font-weight:700; padding:14px 32px; font-size:0.82rem; letter-spacing:0.08em; text-transform:uppercase; text-decoration:none; transition:background var(--transition); }
.contact-ig-btn:hover { background:var(--accent-light); }
.contact-handle { font-size:0.8rem; color:var(--text-dim); letter-spacing:0.04em; }

/* Upload area */
.upload-area { border:2px dashed var(--border); padding:32px 24px; text-align:center; cursor:pointer; color:var(--text-muted); font-size:0.82rem; letter-spacing:0.04em; transition:border-color var(--transition),background var(--transition); user-select:none; }
.upload-area:hover { border-color:var(--accent); }
.upload-area.dragging { border-color:var(--accent); background:rgba(200,164,110,.05); }

/* ── Admin grids ──────────────────────────────────────────── */
.admin-cosers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 16px;
}
@media (min-width: 600px)  { .admin-cosers-grid { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 900px)  { .admin-cosers-grid { grid-template-columns: repeat(9, 1fr); } }
@media (min-width: 1200px) { .admin-cosers-grid { grid-template-columns: repeat(12, 1fr); } }

.admin-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
@media (min-width: 600px)  { .admin-photo-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px)  { .admin-photo-grid { grid-template-columns: repeat(6, 1fr); } }

.admin-albums-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 16px;
}
@media (min-width: 600px)  { .admin-albums-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px)  { .admin-albums-grid { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 1200px) { .admin-albums-grid { grid-template-columns: repeat(8, 1fr); } }
@media (min-width: 1600px) { .admin-albums-grid { grid-template-columns: repeat(10, 1fr); } }

/* ═══════════════════════════════════════════════════════════════
   BOOKING PAGE
═══════════════════════════════════════════════════════════════ */
.booking { max-width: var(--max-width); margin: 0 auto; padding: 24px 24px 80px; }

/* Language toggle */
.booking__lang-row { display:flex; align-items:center; gap:8px; margin-bottom:16px; }
.booking__lang-btn { background:none; border:1px solid var(--border); color:var(--text-muted); padding:4px 14px; font-size:0.72rem; font-weight:700; font-family:Montserrat,sans-serif; letter-spacing:0.08em; cursor:pointer; transition:border-color var(--transition),color var(--transition); }
.booking__lang-btn.active { border-color:var(--accent); color:var(--accent); }
.booking__lang-btn:hover:not(.active) { border-color:rgba(255,255,255,.3); color:var(--white); }
.booking__lang-sep { color:var(--border); font-size:0.8rem; }

/* Main tabs */
.booking__tabs { display:flex; gap:0; border-bottom:1px solid var(--border); margin-bottom:28px; overflow-x:auto; scrollbar-width:none; }
.booking__tabs::-webkit-scrollbar { display:none; }
.booking__tab { background:none; border:none; border-bottom:2px solid transparent; color:var(--text-muted); padding:10px 16px; font-size:0.72rem; font-weight:700; font-family:Montserrat,sans-serif; letter-spacing:0.08em; text-transform:uppercase; cursor:pointer; white-space:nowrap; transition:color var(--transition),border-color var(--transition); margin-bottom:-1px; }
.booking__tab.active { color:var(--accent); border-bottom-color:var(--accent); }
.booking__tab:hover:not(.active) { color:var(--white); }

/* Placeholder */
.booking__placeholder { padding:60px 0; text-align:center; color:var(--text-muted); font-size:0.85rem; }

/* Pricing pages — stacked SVGs, seamlessly joined */
.pricing-pages { display:flex; flex-direction:column; gap:0; width:100%; }
.pricing-page { width:100%; display:block; border:none; margin:0; padding:0; vertical-align:top; }
@media (max-width: 767px) {
  .pricing-pages { margin-left:-24px; margin-right:-24px; width:100vw; }
}

/* T&C */
.tnc__header { margin-bottom:32px; }
.tnc__title { font-size:1.3rem; font-weight:700; color:var(--white); margin:0 0 6px; }
.tnc__updated { font-size:0.72rem; color:var(--text-muted); letter-spacing:0.06em; margin:0; }
.tnc__list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:0; }
.tnc__item { padding:20px 0; border-bottom:1px solid var(--border); }
.tnc__item:last-child { border-bottom:none; }
.tnc__clause-title { font-size:0.78rem; font-weight:700; color:var(--accent); letter-spacing:0.06em; text-transform:uppercase; margin-bottom:8px; }
.tnc__clause-text { font-size:0.85rem; color:var(--text-muted); line-height:1.7; }
.tnc__clause-text p { margin:0 0 8px; }
.tnc__clause-text p:last-child { margin:0; }

/* ── Public Schedule ─────────────────────────────────────────────────── */
.schedule { max-width:640px; }
.schedule__event-tabs { display:flex; gap:8px; margin-bottom:20px; flex-wrap:wrap; }
.schedule__event-tab { background:none; border:1px solid var(--border); color:var(--text-muted); padding:6px 16px; font-size:0.72rem; font-weight:700; font-family:Montserrat,sans-serif; letter-spacing:0.06em; cursor:pointer; border-radius:2px; transition:border-color var(--transition),color var(--transition); }
.schedule__event-tab.active { border-color:var(--accent); color:var(--accent); }
.schedule__day-tabs { display:flex; gap:0; border-bottom:1px solid var(--border); margin-bottom:20px; }
.schedule__day-tab { background:none; border:none; border-bottom:2px solid transparent; color:var(--text-muted); padding:10px 22px; font-size:0.72rem; font-weight:700; font-family:Montserrat,sans-serif; letter-spacing:0.06em; cursor:pointer; transition:color var(--transition),border-color var(--transition); margin-bottom:-1px; }
.schedule__day-tab.active { color:var(--accent); border-bottom-color:var(--accent); }
.schedule__day-tab.off { color:#444; }
.schedule__day-off { font-weight:400; }
.schedule__stats { display:flex; gap:20px; margin-bottom:16px; font-size:0.75rem; }
.schedule__stat { display:flex; align-items:center; gap:6px; color:var(--text-muted); }
.schedule__dot { width:10px; height:10px; border-radius:50%; display:inline-block; flex-shrink:0; }
.schedule__dot--booked { background:#B6D7A8; }
.schedule__dot--avail  { background:#3a3a3a; border:1px solid #555; }
.schedule__day-off-msg { padding:48px 0; text-align:center; color:#555; font-size:0.85rem; }
.schedule__grid { border:1px solid var(--border); border-radius:4px; overflow:hidden; max-height:70vh; overflow-y:auto; }
.schedule__grid-header { display:grid; grid-template-columns:72px 1fr; background:#1a1a1a; position:sticky; top:0; z-index:2; border-bottom:1px solid var(--border); padding:6px 0; }
.schedule__col-time { padding:0 8px; font-size:0.65rem; color:#555; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; border-right:1px solid var(--border); }
.schedule__col-status { padding:0 10px; font-size:0.65rem; color:#555; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; }
.schedule__rows {}
.schedule__row { display:grid; grid-template-columns:72px 1fr; height:20px; border-bottom:1px solid #1a1a1a; }
.schedule__row--hour { border-bottom-color:#2e2e2e; }
.schedule__row .schedule__col-time { font-size:9px; color:#444; line-height:20px; font-family:monospace; border-right:1px solid #222; }
.schedule__row--hour .schedule__col-time { color:#888; }
.schedule__row .schedule__col-status { line-height:20px; overflow:hidden; }
.schedule__row--booked { background:#B6D7A8; }
.schedule__row--booked .schedule__col-time { color:#2a4a2a; border-right-color:#9ec99e; }
.schedule__row--unconfirmed { background:#FFE599; }
.schedule__row--unconfirmed .schedule__col-time { color:#5a5a1a; border-right-color:#e0d080; }
.schedule__row--break { background:#9fc5e8; }
.schedule__row--break .schedule__col-time { color:#1a3a5a; border-right-color:#80aad0; }
.schedule__avail { font-size:9px; color:#444; }
.schedule__booked-label { display:flex; align-items:center; gap:6px; }
.schedule__coser { font-size:10px; font-weight:700; color:#111; }
.schedule__break-label { font-size:10px; font-weight:700; color:#1a3a5a; }
.schedule__unconfirmed-badge { font-size:8px; background:rgba(0,0,0,0.15); color:#5a5a1a; padding:1px 5px; border-radius:2px; font-weight:700; letter-spacing:0.04em; }

/* ── Schedule Cards ──────────────────────────────────────────────────── */
.sched-cards-wrap { width:100%; }
.sched-cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:12px; }
.sched-card { background:#1a1a1a; border:1px solid var(--border); padding:24px 20px; text-align:left; cursor:pointer; transition:border-color var(--transition),background var(--transition); display:flex; flex-direction:column; gap:8px; }
.sched-card:hover { border-color:var(--accent); background:#1e1c18; }
.sched-card__name { font-size:1rem; font-weight:700; color:var(--white); line-height:1.3; }
.sched-card__date { font-size:0.72rem; color:var(--text-muted); letter-spacing:0.04em; }
.sched-card__days { display:flex; gap:6px; margin-top:4px; }
.sched-card__day-dot { font-size:0.65rem; font-weight:700; letter-spacing:0.06em; padding:3px 8px; border-radius:2px; background:#222; color:#444; border:1px solid #2a2a2a; }
.sched-card__day-dot.active { background:#1a2d1a; color:#B6D7A8; border-color:#3a5a3a; }
.sched-card__booked { font-size:0.72rem; color:var(--text-muted); display:flex; align-items:center; gap:6px; }
.sched-card__dot { width:8px; height:8px; border-radius:50%; background:#B6D7A8; flex-shrink:0; }
.sched-card__cta { font-size:0.72rem; font-weight:700; color:var(--accent); letter-spacing:0.08em; margin-top:8px; }

/* ── Schedule Lightbox ───────────────────────────────────────────────── */
.sched-lightbox { position:fixed; inset:0; background:rgba(0,0,0,0.88); z-index:500; display:flex; align-items:flex-end; justify-content:center; padding:0; }
@media(min-width:600px) { .sched-lightbox { align-items:center; padding:24px; } }
.sched-lightbox__panel { background:#151515; width:100%; max-width:1080px; max-height:92dvh; display:flex; flex-direction:column; border-radius:8px 8px 0 0; overflow:hidden; }
@media(min-width:600px) { .sched-lightbox__panel { border-radius:8px; max-height:88dvh; } }
.sched-lightbox__header { padding:20px 20px 16px; border-bottom:1px solid var(--border); flex-shrink:0; background:#1a1a1a; }
.sched-lightbox__title-row { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.sched-lightbox__name { font-size:1.1rem; font-weight:700; color:var(--white); margin:0; line-height:1.3; }
.sched-lightbox__actions { display:flex; gap:6px; align-items:center; flex-shrink:0; }
.sched-share-btn { background:#1a1a1a; border:1px solid var(--border); color:var(--text-muted); padding:7px 12px; cursor:pointer; display:flex; align-items:center; gap:6px; font-size:0.72rem; font-family:Montserrat,sans-serif; font-weight:700; letter-spacing:0.06em; transition:border-color var(--transition),color var(--transition); border-radius:2px; }
.sched-share-btn:hover { border-color:var(--accent); color:var(--accent); }
.sched-share-btn.copied { border-color:#B6D7A8; color:#B6D7A8; }
.sched-lightbox__close { background:none; border:1px solid var(--border); color:var(--text-muted); width:32px; height:32px; cursor:pointer; font-size:0.85rem; display:flex; align-items:center; justify-content:center; border-radius:2px; transition:border-color var(--transition),color var(--transition); flex-shrink:0; }
.sched-lightbox__close:hover { border-color:#e06060; color:#e06060; }
.sched-lightbox__date { font-size:0.72rem; color:var(--text-muted); margin:6px 0 0; }
.sched-lightbox__body { flex:1; min-height:0; overflow-y:auto; }

/* ── Shared-time-column table (CSS grid, auto-placement) ── */
.sched-table { display:grid; }

/* Header cells */
.sched-th { position:sticky; top:0; z-index:2; background:#1a1a1a; padding:8px 6px; font-size:0.62rem; font-weight:700; color:#555; letter-spacing:0.08em; text-transform:uppercase; border-bottom:2px solid var(--border); border-left:1px solid var(--border); text-align:center; }
.sched-th--time { text-align:left; border-right:1px solid var(--border); border-left:none; padding-left:8px; }

/* Data cells */
.sched-td { height:20px; border-bottom:1px solid #1c1c1c; border-left:1px solid #2a2a2a; overflow:hidden; }
.sched-td.hour { border-bottom-color:#2e2e2e; }
.sched-td--time { font-size:9px; color:#3a3a3a; font-family:monospace; display:flex; align-items:center; padding:0 6px 0 8px; border-right:1px solid #222; border-left:none; flex-shrink:0; }
.sched-td--time.hour { color:#888; }
.sched-td--booked { background:#B6D7A8; }
.sched-td--break  { background:#9fc5e8; }
.sched-td--unconf { background:#FFE599; }

/* Labels inside cells */
.sched-td__label { font-size:9px; font-weight:700; color:#1a3a1a; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; padding:0 4px; line-height:20px; display:flex; align-items:center; gap:3px; }
.sched-td__break  { font-size:9px; font-weight:700; color:#1a3a5a; padding:0 4px; line-height:20px; }
.sched-unconf-dot { font-size:8px; background:rgba(0,0,0,0.15); color:#5a5a1a; padding:1px 4px; border-radius:2px; font-weight:700; letter-spacing:0.03em; }
.sched-booked-tag { font-size:8px; font-weight:700; letter-spacing:0.05em; color:#1a3a1a; text-transform:uppercase; }

/* ── Event card day pills ── */
.sched-card__day-pill { font-size:0.62rem; font-weight:700; letter-spacing:0.06em; padding:3px 10px; border:1px solid transparent; }
.sched-card__day-pill.active { background:#1a2d1a; color:#B6D7A8; border-color:#3a5a3a; }
.sched-card__day-pill.off    { background:#2d1a1a; color:#e06060; border-color:#5a2a2a; }

/* ── Floating share button ──────────────────────────────── */
.floating-share {
  position: fixed;
  bottom: 28px;
  /* stays within 1440px container on wide screens */
  right: max(20px, calc((100vw - 1440px) / 2 + 20px));
  z-index: 10001; /* above lightbox */
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
  padding: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.45);
}
.floating-share:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.3);
  color: var(--white);
  transform: scale(1.08);
}
.floating-share--done {
  border-color: var(--accent);
  color: var(--accent);
}
/* "Link copied!" toast above the button */
.floating-share__toast {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 5px 12px;
  font-size: 0.7rem;
  font-family: Montserrat, sans-serif;
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
  animation: fadeIn 0.15s ease;
}
