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

  /* ---- TOKENS: fixed in both themes ---- */
  :root {
    --title:       #bf5679;
    --title-shadow:#4c0308;
    --subtitle:    #a67480;
    --subtext:     #573c42;
    --tape:        #711f2b;
    --card-bg:     #cdb8b8;
    --label-bg:    #f2d2c2;
    /* light mode flip-tokens */
    --bg:          #e5e5e5;
    --heart:       #2f3b43;
    --text:        #2e1018;
    --border:      #9c4460;
    --input-bg:    #ede0e0;
    --bubble-bg:   rgba(113,31,43,0.07);
    --form-header: rgba(113,31,43,0.05);
    --overlay-bg:  #e5e5e5;
  }

  /* ---- DARK MODE: only flip-tokens change ---- */
  [data-theme="dark"] {
    --bg:          #2f3b43;
    --heart:       #f2d2c2;
    --text:        #2e1018;
    --border:      #bf5679;
    --input-bg:    #3a2228;
    --bubble-bg:   rgba(242,210,194,0.06);
    --form-header: rgba(242,210,194,0.04);
    --overlay-bg:  #2f3b43;
  }

  body {
    font-family: 'Comic Sans MS', 'Comic Sans', cursive;
    background-color: var(--bg);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.3s ease;
  }
  a { text-decoration: none !important; }
  /* ---- DECO SVG — top right, partially offset, opaque ---- */
  .bg-deco {
    position: fixed;
        top: 40px;
    right: 50px;
    width: 180px; height: 116px;
    pointer-events: none;
    z-index: 0;
    opacity: 1;
  }
  .bg-deco path { fill: var(--heart); transition: fill 0.3s; }

  /* ---- DARK MODE TOGGLE ---- */
  .theme-toggle {
    position: fixed; top: 14px; right: 14px; z-index: 200;
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 999px;
    font-family: 'Comic Sans MS', cursive;
    font-size: 12px; font-weight: 700;
    color: var(--text);
    padding: 5px 14px; cursor: pointer;
    transition: background 0.15s, color 0.15s;
  }
  .theme-toggle:hover { background: var(--border); color: var(--label-bg); }

  /* ---- NAVBAR ---- */
  .navbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(242,210,194,0.96);
    border-bottom: 2px solid var(--border);
    padding: 10px 20px;
    display: flex; align-items: center; gap: 12px;
    backdrop-filter: blur(6px);
  }
  .nav-back {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: 'Comic Sans MS', cursive;
    font-size: 13px; font-weight: 700;
    color: var(--label-bg); text-decoration: none;
    background: var(--tape);
    border: 2px solid var(--title);
    border-radius: 999px;
    padding: 5px 14px;
    transition: background 0.15s;
  }
  .nav-back:hover { background: var(--title); }
  .nav-title {
    font-family: 'Comic Sans MS', cursive;
    font-size: 14px; font-weight: 700;
    color: var(--subtext);
  }
  .nav-title b { color: var(--tape); font-weight: 700; }

  /* ---- LOADING OVERLAY ---- */
  #loading-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--overlay-bg);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 20px;
    transition: opacity 0.6s ease, visibility 0.6s ease;
  }
  #loading-overlay.hidden {
    opacity: 0; visibility: hidden; pointer-events: none;
  }
  .loader-title {
    font-family: 'Comic Sans MS', cursive;
    font-size: 32px; font-weight: 700;
    color: var(--title);
    text-shadow: 2px 3px 0 var(--title-shadow);
  }
  .loader-sub {
    font-family: 'Comic Sans MS', cursive;
    font-size: 13px; color: var(--subtext);
    margin-top: -10px;
  }
  .loader-track { display: flex; gap: 10px; align-items: center; }
  .loader-dot {
    width: 12px; height: 12px; border-radius: 50%;
    border: 2px solid var(--border);
    animation: dotpop 1.2s ease-in-out infinite;
  }
  .loader-dot:nth-child(1) { background: var(--title);   animation-delay: 0s; }
  .loader-dot:nth-child(2) { background: var(--subtext); animation-delay: 0.2s; }
  .loader-dot:nth-child(3) { background: var(--tape);    animation-delay: 0.4s; }
  .loader-dot:nth-child(4) { background: var(--title);   animation-delay: 0.6s; }
  .loader-dot:nth-child(5) { background: var(--subtext); animation-delay: 0.8s; }
  @keyframes dotpop {
    0%, 100% { transform: scale(1);   opacity: 0.5; }
    50%       { transform: scale(1.5); opacity: 1; }
  }
  .loader-bar-wrap {
    width: 180px; height: 6px;
    background: rgba(166,116,128,0.2);
    border-radius: 999px; overflow: hidden;
    border: 1.5px solid var(--border);
  }
  .loader-bar {
    height: 100%; width: 0%;
    background: var(--title);
    border-radius: 999px; transition: width 0.3s ease;
  }
  .loader-status {
    font-family: 'Courier New', monospace;
    font-size: 12px; color: var(--subtitle);
    min-height: 18px; letter-spacing: 0.02em;
  }
  .loader-status::before { content: '> '; color: var(--title); }

  #page-body { visibility: hidden; }
  #page-body.visible { visibility: visible; }

  /* ---- PAGE WRAP ---- */
  .page-wrap {
    position: relative; z-index: 1;
    max-width: 720px; margin: 0 auto;
    padding: 36px 16px 80px;
  }

  /* ---- PAGE HEADER ---- */
  .page-header { text-align: center; padding: 52px 20px 36px; }
  .page-header-tag {
    display: inline-block;
    background: var(--tape);
    border: 2px solid var(--title);
    border-radius: 999px;
    font-size: 11px; font-weight: 700;
    padding: 3px 14px; color: var(--label-bg);
    margin-bottom: 14px; letter-spacing: 1px;
  }
  .page-header-title {
    font-family: 'Comic Sans MS', cursive;
    font-size: clamp(36px, 8vw, 60px); font-weight: 700;
    color: var(--title);
    text-shadow: 2px 3px 0 var(--title-shadow);
    margin-bottom: 8px; line-height: 1.1;
  }
  .page-header-sub {
    font-family: 'Comic Sans MS', cursive;
    font-size: 15px; color: var(--subtitle);
  }

  /* ---- SECTION ---- */
  .section { margin-top: 40px; }
  .section-label {
    text-align: center; position: relative; margin-bottom: 20px;
  }
  .section-label::before {
    content: ''; position: absolute;
    top: 50%; left: 0; right: 0;
    height: 1.5px; background: var(--border); opacity: 0.4;
  }
  .section-label span {
    display: inline-block;
    font-family: 'Comic Sans MS', cursive;
    font-size: 14px; font-weight: 700;
    background: var(--label-bg);
    border: 2px solid var(--border);
    border-radius: 999px;
    padding: 5px 22px; color: var(--tape);
    position: relative; z-index: 1;
  }

  /* ---- CARD ---- */
  .card {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 18px;
    padding: 20px; position: relative;
  }
  .tape {
    position: absolute;
    top: -11px; left: 50%; transform: translateX(-50%);
    width: 36px; height: 13px;
    background: var(--tape);
    border: 1.5px solid var(--border); border-radius: 3px;
    opacity: 0.7;
  }

  /* ---- VIDEO ---- */
  .video-wrap {
    width: 100%; aspect-ratio: 16/9;
    border-radius: 12px; overflow: hidden;
    border: 2px solid var(--border);
  }
  .video-wrap iframe { width: 100%; height: 100%; display: block; border: none; }

  /* ---- BTS TEXT ---- */
  .bts-text {
    font-family: 'Comic Sans MS', cursive;
    font-size: 14px; line-height: 1.85; color: var(--text);
  }
  .bts-text p { margin-bottom: 12px; }
  .bts-text p:last-child { margin-bottom: 0; }

  /* ---- CREW GRID ---- */
  .crew-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 16px;
  }
  .crew-card {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 18px; overflow: hidden;
    display: flex; flex-direction: column;
    text-decoration: none;
    transition: transform 0.15s, border-color 0.15s;
    position: relative;
  }
  .crew-card:hover { transform: translateY(-3px); border-color: var(--title); }
  .crew-thumb {
    width: 100%; height: 120px;
    display: flex; align-items: center; justify-content: center;
    border-bottom: 2px solid var(--border);
    position: relative; overflow: hidden;
    background: var(--tape);
  }
  .crew-thumb img { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
  .crew-initials {
    font-family: 'Comic Sans MS', cursive;
    font-size: 32px; font-weight: 700;
    color: var(--label-bg); opacity: 0.5;
    position: relative; z-index: 1;
  }
  .crew-thumb-overlay {
    position: absolute; inset: 0; z-index: 2;
    background: rgba(76,3,8,0.55);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.18s;
  }
  .crew-card:hover .crew-thumb-overlay { opacity: 1; }
  .crew-thumb-overlay span {
    background: var(--title);
    border: 2px solid var(--label-bg);
    border-radius: 999px;
    font-family: 'Comic Sans MS', cursive;
    font-size: 12px; font-weight: 700;
    padding: 5px 14px; color: var(--label-bg);
  }
  .crew-info { padding: 12px 14px 14px; }
  .crew-role {
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--subtext); margin-bottom: 3px;
  }
  .crew-name {
    font-family: 'Comic Sans MS', cursive;
    font-size: 15px; font-weight: 700;
    color: var(--text); margin-bottom: 2px;
  }
  .crew-handle { font-size: 12px; color: #c72057; }

  /* gallery link */
  .gallery-link-wrap { text-align: center; margin-top: 18px; }
  .gallery-link {
    display: inline-block;
    background: var(--tape);
    border: 2px solid var(--title);
    border-radius: 999px;
    font-family: 'Comic Sans MS', cursive;
    font-size: 13px; font-weight: 700;
    padding: 8px 24px; color: var(--label-bg);
    text-decoration: none; transition: background 0.15s;
  }
  .gallery-link:hover { background: var(--title); }

  /* ---- THANKS ---- */
  .thanks-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
  .pill {
    background: var(--tape);
    border: 2px solid var(--title); border-radius: 999px;
    font-size: 13px; font-weight: 700;
    padding: 5px 16px; color: var(--label-bg);
    font-family: 'Comic Sans MS', cursive;
  }
  .pill.p2 { background: var(--card-bg); color: var(--text); border-color: var(--border); }
  .pill.p3 { background: var(--label-bg); color: var(--tape); border-color: var(--subtext); }

  /* ---- COMMENTS ---- */
  .comment-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
  .comment-bubble { display: flex; flex-direction: column; align-items: flex-start; }
  .bubble-inner {
    display: inline-block; text-align: left;
    background: var(--bubble-bg);
    border: 2px solid var(--border);
    border-radius: 15px 15px 15px 4px;
    padding: 8px 12px; max-width: 85%;
    font-size: 14px; color: var(--text);
    font-family: 'Comic Sans MS', cursive;
  }
  .bubble-meta { font-size: 11px; color: var(--subtext); display: block; margin-bottom: 4px; }
  .bubble-text { line-height: 1.5; }
  .empty-comments {
    text-align: center; font-size: 13px; color: var(--subtext);
    padding: 20px 0; font-family: 'Comic Sans MS', cursive;
  }
  .comment-form-wrap {
    background: var(--card-bg); border: 2px solid var(--border);
    border-radius: 18px; overflow: hidden;
  }
  .comment-form-header {
    padding: 10px 14px; border-bottom: 2px solid var(--border);
    display: flex; align-items: center; gap: 8px;
    background: var(--form-header);
  }
  .form-dot {
    width: 10px; height: 10px; border-radius: 50%;
    border: 1.5px solid var(--border); display: inline-block;
  }
  .form-dot:nth-child(1) { background: var(--title); }
  .form-dot:nth-child(2) { background: var(--subtext); }
  .form-dot:nth-child(3) { background: var(--tape); }
  .comment-form-header span {
    font-size: 13px; font-weight: 700; color: var(--subtext);
    margin-left: 4px; font-family: 'Comic Sans MS', cursive;
  }
  .comment-form-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
  .comment-form-body input,
  .comment-form-body textarea {
    width: 100%; font-family: 'Comic Sans MS', cursive;
    font-size: 13px; padding: 8px 12px;
    border: 2px solid var(--subtext); border-radius: 10px;
    background: var(--input-bg); color: var(--text);
    resize: none; outline: none; transition: border-color 0.15s;
  }
  .comment-form-body input:focus,
  .comment-form-body textarea:focus { border-color: var(--border); }
  .comment-form-body textarea { min-height: 72px; }
  .submit-btn {
    align-self: flex-end;
    background: var(--tape); border: 2px solid var(--title);
    border-radius: 999px; font-family: 'Comic Sans MS', cursive;
    font-size: 13px; font-weight: 700; color: var(--label-bg);
    padding: 7px 22px; cursor: pointer;
    transition: background 0.15s, transform 0.1s;
  }
  .submit-btn:hover  { background: var(--title); }
  .submit-btn:active { transform: scale(0.97); }
  .submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
  .status-msg { font-size: 12px; color: var(--subtext); font-family: 'Comic Sans MS', cursive; }

  /* ---- MINI PROFILE LIST ---- */
  .mini-divider {
    border: none; border-top: 1.5px dashed var(--subtext);
    margin: 18px 0; opacity: 0.4;
  }
  .mini-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }
  .mini-card {
    display: flex; flex-direction: column;
    align-items: center; text-align: center; gap: 6px;
  }
  .mini-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    border: 2px solid var(--border);
    flex-shrink: 0; overflow: hidden;
    background: var(--tape);
    display: flex; align-items: center; justify-content: center;
  }
  .mini-avatar img { width: 100%; height: 100%; object-fit: cover; }
  .mini-avatar-initials {
    font-family: 'Comic Sans MS', cursive;
    font-size: 14px; font-weight: 700;
    color: var(--label-bg); opacity: 0.8;
  }
  .mini-name {
    font-family: 'Comic Sans MS', cursive;
    font-size: 13px; font-weight: 700;
    color: var(--text); line-height: 1.2;
  }
  .mini-role { font-size: 10px; color: var(--subtext); margin-bottom: 1px; }
  .mini-handle { font-size: 11px; color: #af1c4d; }

  /* ---- BACKGROUND FOOTAGE GRID ---- */
  .bg-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
  }
  .bg-card {
    display: flex; flex-direction: column;
    align-items: center; text-align: center; gap: 8px;
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 14px; padding: 14px 10px; position: relative;
  }
  .bg-avatar {
    width: 52px; height: 52px; border-radius: 50%;
    border: 2px solid var(--border);
    overflow: hidden; flex-shrink: 0;
    background: var(--tape);
    display: flex; align-items: center; justify-content: center;
  }
  .bg-avatar img { width: 100%; height: 100%; object-fit: cover; }
  .bg-avatar-initials {
    font-family: 'Comic Sans MS', cursive;
    font-size: 16px; font-weight: 700;
    color: var(--label-bg); opacity: 0.8;
  }
  .bg-name {
    font-family: 'Comic Sans MS', cursive;
    font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.2;
  }
  .bg-role {
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.8px; color: var(--subtext);
  }
  .bg-handle { font-size: 12px; color: #af1c4d; }

  /* ---- FOOTER ---- */
  .footer { text-align: center; margin-top: 52px; }
  .footer-inner {
    display: inline-block; background: var(--card-bg);
    border: 2px solid var(--border); border-radius: 18px; padding: 14px 28px;
  }
  .footer-title { font-family: 'Comic Sans MS', cursive; font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
  .footer-sub   { font-size: 12px; color: var(--subtext); }

  /* ---- GALLERY STYLES ---- */
  .gallery-stack { display: flex; flex-direction: column; gap: 24px; }
  .gallery-item {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 18px; overflow: hidden; position: relative;
  }
  .tape-small {
    position: absolute;
    top: -9px; left: 50%; transform: translateX(-50%);
    width: 28px; height: 10px;
    background: var(--tape);
    border: 1.5px solid var(--border); border-radius: 3px; z-index: 2;
  }
  .gallery-item img.gallery-img { width: 100%; height: auto; display: block; }
  .gallery-placeholder {
    width: 100%; height: 260px;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; color: var(--subtext);
    font-family: 'Comic Sans MS', cursive;
    background: rgba(113,31,43,0.08);
  }
  .gallery-caption {
    padding: 12px 16px 14px;
    border-top: 2px solid var(--border);
  }
  .gallery-caption-title {
    font-family: 'Comic Sans MS', cursive;
    font-size: 14px; font-weight: 700;
    color: var(--text); margin-bottom: 4px;
  }
  .gallery-caption-desc { font-size: 13px; color: var(--subtext); line-height: 1.65; }

  /* ---- ARTIST HEADER ---- */
  .artist-header {
    display: flex; align-items: center; gap: 18px;
    margin-bottom: 32px;
  }
  .artist-avatar {
    width: 72px; height: 72px; border-radius: 50%;
    border: 2.5px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Comic Sans MS', cursive;
    font-size: 26px; font-weight: 700;
    color: var(--label-bg); flex-shrink: 0;
    background: var(--tape);
    overflow: hidden; position: relative;
  }
  .artist-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
  }
  .artist-avatar .avatar-initials {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Comic Sans MS', cursive;
    font-size: 26px; font-weight: 700;
    color: var(--label-bg);
  }
  .artist-meta { flex: 1; }
  .artist-role {
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--subtitle); margin-bottom: 4px;
  }
  .artist-name {
    font-family: 'Comic Sans MS', cursive;
    font-size: 28px; font-weight: 700;
    color: var(--title); line-height: 1.1; margin-bottom: 4px;
    text-shadow: 1px 2px 0 var(--title-shadow);
  }
  .artist-handle { font-size: 14px; color: var(--subtitle); }

  /* ---- 404 NOT FOUND ---- */
  .not-found {
    text-align: center; padding: 80px 20px;
  }
  .not-found-emoji { font-size: 64px; display: block; margin-bottom: 20px; }
  .not-found-title {
    font-family: 'Comic Sans MS', cursive;
    font-size: 28px; font-weight: 700;
    color: var(--title); margin-bottom: 8px;
  }
  .not-found-sub {
    font-size: 14px; color: var(--subtitle);
    margin-bottom: 28px; line-height: 1.7;
  }
  .not-found-sub b { color: var(--title); }
  .not-found-btn {
    display: inline-block;
    background: var(--tape);
    border: 2px solid var(--title); border-radius: 999px;
    font-family: 'Comic Sans MS', cursive;
    font-size: 13px; font-weight: 700;
    padding: 8px 22px; color: var(--label-bg);
    text-decoration: none; transition: background 0.15s;
  }
  .not-found-btn:hover { background: var(--title); }

