:root {
        --bg: #0d1218;
        --bg-soft: #121922;
        --panel: rgba(18, 25, 34, 0.82);
        --panel-strong: rgba(11, 17, 24, 0.94);
        --line: rgba(201, 170, 111, 0.18);
        --line-strong: rgba(201, 170, 111, 0.34);
        --text: #edf2f7;
        --muted: #aab8c8;
        --accent: #d0ab68;
        --accent-2: #8ea9c7;
        --shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
        --radius-lg: 24px;
        --radius-md: 16px;
        --radius-sm: 12px;
        --maxw: 1400px;
      }

      * {
        box-sizing: border-box;
      }

      html,
      body {
          margin: 0;
          padding: 0;
          background:
            radial-gradient(circle at top, rgba(78, 99, 126, 0.18), transparent 30%),
            linear-gradient(180deg, #091018 0%, #0d1218 45%, #0a0f14 100%);
          color: var(--text);
          font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      }

      body {
        min-height: 100vh;
      }

      a {
        color: inherit;
        text-decoration: none;
      }

      img {
        display: block;
        max-width: 100%;
      }

      button {
        font: inherit;
      }

      .is-hidden {
        display: none !important;
      }

      .album-topbar {
        position: sticky;
        top: 0;
        z-index: 20;
        backdrop-filter: blur(12px);
        background: rgba(7, 11, 16, 0.78);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      }

      .album-topbar-inner {
        width: min(var(--maxw), calc(100% - 28px));
        margin: 0 auto;
        min-height: 64px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
      }

      .top-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 10px 18px;
        border: 1px solid var(--line-strong);
        border-radius: 999px;
        background: rgba(208, 171, 104, 0.06);
        color: var(--text);
        font-size: 0.95rem;
        font-weight: 500;
        line-height: 1.3;
        text-align: center;
        transition: background 0.2s ease, border-color 0.2s ease;
      }

      .top-link:hover {
        background: rgba(208, 171, 104, 0.14);
        border-color: var(--accent);
      }

      .top-link:focus-visible {
        outline: 3px solid var(--accent);
        outline-offset: 4px;
      }

      .album-topbar-inner {
        padding-block: 10px;
        flex-wrap: wrap;
      }

      .album-shell {
        width: min(var(--maxw), calc(100% - 28px));
        margin: 28px auto 60px;
      }

      .album-hero {
        display: grid;
        grid-template-columns: 1.15fr 0.95fr;
        gap: 28px;
        align-items: stretch;
        background: linear-gradient(180deg, rgba(17, 24, 34, 0.88), rgba(10, 15, 22, 0.95));
        border: 1px solid var(--line);
        border-radius: 28px;
        padding: 28px;
        box-shadow: var(--shadow);
      }

      .album-hero-copy {
        display: flex;
        flex-direction: column;
        justify-content: center;
      }

      .album-kicker {
        margin: 0 0 10px;
        color: var(--accent);
        text-transform: uppercase;
        letter-spacing: 0.18em;
        font-size: 0.78rem;
      }

      .album-hero h1 {
        margin: 0 0 12px;
        font-size: clamp(2rem, 3.8vw, 3.35rem);
        line-height: 1.05;
      }

      .album-meta,
      .album-description {
        color: var(--muted);
      }

      .album-meta {
        margin: 0 0 10px;
        font-size: 0.98rem;
      }

      .album-description {
        margin: 0;
        max-width: 68ch;
        line-height: 1.7;
      }

      .album-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 22px;
      }

      .view-btn {
        padding: 10px 16px;
        border-radius: 999px;
        border: 1px solid var(--line-strong);
        background: rgba(255, 255, 255, 0.03);
        color: var(--text);
        cursor: pointer;
      }

      .view-btn.is-active,
      .view-btn:hover {
        background: rgba(208, 171, 104, 0.14);
        border-color: rgba(208, 171, 104, 0.48);
      }

      .album-hero-cover-wrap {
        min-height: 300px;
      }

      .album-hero-cover {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 22px;
        border: 1px solid rgba(255, 255, 255, 0.08);
      }

      .album-content {
        margin-top: 26px;
      }

      .album-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 18px;
      }

      .album-thumb {
        background: var(--panel);
        border: 1px solid var(--line);
        border-radius: 18px;
        overflow: hidden;
        box-shadow: var(--shadow);
        transition: transform 0.22s ease, border-color 0.22s ease;
        cursor: pointer;
      }

      .album-thumb:hover {
        transform: translateY(-4px);
        border-color: var(--line-strong);
      }

      .album-thumb img {
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
      }

      .album-thumb-copy {
        padding: 14px 14px 15px;
      }

      .album-thumb-title {
        margin: 0 0 6px;
        font-size: 1rem;
      }

      .album-thumb-caption {
        margin: 0;
        color: var(--muted);
        font-size: 0.92rem;
        line-height: 1.5;
      }

      .filmstrip-section {
        background: linear-gradient(180deg, rgba(15, 21, 30, 0.92), rgba(10, 14, 20, 0.95));
        border: 1px solid var(--line);
        border-radius: 24px;
        padding: 22px;
        box-shadow: var(--shadow);
      }

      .filmstrip-stage-wrap,
      .lightbox-stage-wrap {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 14px;
        align-items: center;
      }

      .filmstrip-stage,
      .lightbox-stage {
        background: rgba(0, 0, 0, 0.22);
        border: 1px solid rgba(255, 255, 255, 0.07);
        border-radius: 18px;
        overflow: hidden;
      }

      .filmstrip-stage img {
        width: 100%;
        max-height: 70vh;
        object-fit: contain;
        background: #05080b;
      }

      .nav-arrow {
        width: 46px;
        height: 46px;
        border: 1px solid var(--line-strong);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.04);
        color: var(--text);
        font-size: 2rem;
        line-height: 1;
        cursor: pointer;
      }

      .nav-arrow:hover {
        background: rgba(208, 171, 104, 0.14);
      }

      .filmstrip-caption,
      .lightbox-caption {
        margin-top: 18px;
      }

      .filmstrip-caption h2,
      .lightbox-caption h2 {
        margin: 0 0 6px;
        font-size: 1.2rem;
      }

      .filmstrip-caption p,
      .lightbox-caption p {
        margin: 0;
        color: var(--muted);
        line-height: 1.6;
      }

      .filmstrip-thumbs,
      .lightbox-thumbs {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding-top: 16px;
        margin-top: 18px;
      }

      .filmstrip-mini,
      .lightbox-mini {
        flex: 0 0 auto;
        width: 110px;
        border-radius: 12px;
        overflow: hidden;
        border: 2px solid transparent;
        cursor: pointer;
      }

      .filmstrip-mini.is-active,
      .lightbox-mini.is-active {
        border-color: var(--accent);
      }

      .filmstrip-mini img,
      .lightbox-mini img {
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
      }

      .lightbox[hidden] {
        display: none;
      }

      .lightbox {
        position: fixed;
        inset: 0;
        z-index: 1000;
      }

      .lightbox-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(1, 4, 8, 0.84);
        backdrop-filter: blur(10px);
      }

      .lightbox-panel {
          position: relative;
          width: min(1400px, calc(100% - 24px));
          max-height: calc(100vh - 24px);
          margin: 12px auto;
          padding: 20px;
          border-radius: 24px;
          border: 1px solid rgba(255, 255, 255, 0.08);
          background: rgba(8, 12, 17, 0.96);
          box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
          overflow: auto;
      }

      .lightbox-close,
      .lightbox-fullscreen {
          position: absolute;
          top: 14px;
          z-index: 2;
          padding: 10px 14px;
          border-radius: 999px;
          border: 1px solid var(--line-strong);
          background: rgba(255, 255, 255, 0.06);
          color: var(--text);
          cursor: pointer;
      }

      .lightbox-close {
          right: 14px;
          font-size: 1.15rem;
      }

      .lightbox-fullscreen {
        right: 72px;
      }

      .lightbox-stage img {
          width: 100%;
          max-height: 76vh;
          object-fit: contain;
          background: #040608;
      }

      @media (max-width: 980px) {
          .album-hero {
            grid-template-columns: 1fr;
          }
      }

      @media (max-width: 720px) {
          .album-shell,
          .album-topbar-inner {
            width: min(var(--maxw), calc(100% - 20px));
          }

          .album-hero {
            padding: 20px;
          }

          .filmstrip-stage-wrap,
          .lightbox-stage-wrap {
            grid-template-columns: 1fr;
          }

          .nav-arrow {
            display: none;
          }

          .lightbox-fullscreen {
            right: 64px;
          }
      }
      .album-thumb-media {
        position: relative;
      }

      .album-thumb-media img {
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        display: block;
      }
      .lightbox-stage img,
      .lightbox-stage video {
        width: 100%;
        max-height: 76vh;
        object-fit: contain;
        background: #040608;
        display: block;
      }
      .filmstrip-stage img,
      .filmstrip-stage video {
        width: 100%;
        max-height: 70vh;
        object-fit: contain;
        background: #05080b;
        display: block;
      }
      .media-badge {
        position: absolute;
        top: 10px;
        right: 10px;
        padding: 6px 10px;
        border-radius: 999px;
        background: rgba(8, 12, 18, 0.82);
        color: #fff;
        font-size: 0.78rem;
        line-height: 1;
        border: 1px solid rgba(255, 255, 255, 0.16);
      }
      .album-thumb {
        border: 1px solid var(--accent, #2af4b7);
        box-shadow: 0 0 10px rgba(55, 68, 212, 0.25);
      }
      .album-thumb-media.is-video {
        border: 10px solid var(--accent, #d4af37);
        box-shadow: 0 10px 100px rgba(55, 178, 212, 0.541);
      }
      .album-thumb-media.is-video::after {
          content: "";
          position: absolute;
          inset: 0;
          background: linear-gradient(
              to top,
              rgba(0,0,0,0.4),
              transparent 60%
          );
          pointer-events: none;
      }

  
.album-thumb { text-align:left; color:var(--text); font:inherit; padding:0; }
button:focus-visible, a:focus-visible { outline:3px solid var(--accent); outline-offset:4px; }
.album-counter { color:var(--accent); margin-top:12px; }
.lightbox-panel { padding-top:66px; }
.album-empty { padding:24px; color:var(--muted); }
@media(max-width:720px) {
 .nav-arrow { display:block; }
 .filmstrip-stage-wrap, .lightbox-stage-wrap { grid-template-columns:auto minmax(0,1fr) auto; gap:6px; }
 .nav-arrow { width:32px; height:40px; }
 .filmstrip-section, .lightbox-panel { padding-left:10px; padding-right:10px; }
 .album-grid { grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr)); }
}
@media(prefers-reduced-motion:reduce) { * { transition:none !important; scroll-behavior:auto !important; } }
