
  :root {
    --pink: #FF2D8A;
    --pink-light: #FF6EB0;
    --pink-dark: #E0196E;
    --pink-hover: #FF4D9E;
    --pink-glow: rgba(255, 45, 138, 0.15);
    --pink-glow-strong: rgba(255, 45, 138, 0.3);

    --magenta: #8B0A50;
    --magenta-light: #A81563;
    --magenta-dark: #6D0840;
    --magenta-deep: #4A0530;

    --black: #0D0D0D;
    --black-light: #1A1A1A;
    --black-card: #1E1E1E;
    --black-elevated: #252525;

    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F3F3F3;
    --gray-200: #E0E0E0;
    --gray-300: #B0B0B0;
    --gray-400: #888888;
    --gray-500: #666666;
    --gray-600: #444444;
    --gray-700: #333333;
    --gray-800: #222222;

    --success: #22C55E;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Outfit', var(--font-main);

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 20px rgba(255, 45, 138, 0.2);

    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 400ms ease;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { font-size: 16px; scroll-behavior: smooth; }
  body {
    font-family: var(--font-main);
    background: var(--white);
    color: var(--gray-700);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  a { color:#cc246e; text-decoration: none; transition: color var(--transition-fast); }
  a:hover { color:#ad4b78; }

  h1, h2, h3, h4 { font-family: var(--font-display); color: var(--black); line-height: 1.2; }
  h1 { font-size: 2.5rem; font-weight: 800; }
  h2 { font-size: 1.75rem; font-weight: 700; }
  h3 { font-size: 1.25rem; font-weight: 600; }

  .container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
  .container-narrow { max-width: 800px; margin: 0 auto; padding: 0 1rem; }

  /* Buttons */
  .btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.75rem 1.5rem; border-radius: var(--radius-full);
    font-weight: 600; font-size: 0.95rem;
    cursor: pointer; border: none;
    transition: all var(--transition-normal);
    text-decoration: none;
  }
  .btn-primary {
    background:#d62674; color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 45, 138, 0.3);
  }
  .btn-primary:hover {
    background:#cc3e7e; color: var(--white);
    box-shadow: 0 6px 20px rgba(255, 45, 138, 0.4);
    transform: translateY(-1px);
  }
  .btn-secondary {
    background: transparent; color:#cc246e;
    border: 2px solid var(--pink);
  }
  .btn-secondary:hover {
    background: var(--pink-glow); color:#ad4b78;
    border-color: var(--pink-light);
  }
  .btn-dark {
    background: var(--black-elevated); color: var(--white);
    border: 1px solid var(--gray-700);
  }
  .btn-dark:hover { background: var(--gray-700); }
  .btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

  /* Tags & Badges */
  .tag {
    display: inline-flex; align-items: center; gap: 0.25rem;
    padding: 0.25rem 0.75rem; border-radius: var(--radius-full);
    font-size: 0.8rem; font-weight: 500;
    background: rgba(255, 45, 138, 0.08); color:#ce1765;
    border: 1px solid rgba(255, 45, 138, 0.15);
  }
  .tag-magenta {
    background: rgba(139, 10, 80, 0.08); color: var(--magenta);
    border-color: rgba(139, 10, 80, 0.15);
  }
  .tag-gray {
    background: var(--gray-100); color: var(--gray-600);
    border-color: var(--gray-200);
  }
  .badge-fan {
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.2rem 0.6rem; border-radius: var(--radius-full);
    font-size: 0.75rem; font-weight: 600;
    background: linear-gradient(135deg, #d62674 0%, #8b0a50 100%);
    color: var(--white);
  }
  .badge-verified {
    display: inline-flex; align-items: center; gap: 0.2rem;
    color:#167e3c; font-size: 0.85rem; font-weight: 600;
  }

  /* Cards */
  .card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
  }
  .card:hover {
    border-color: var(--pink);
    box-shadow: 0 8px 25px rgba(255, 45, 138, 0.12);
    transform: translateY(-2px);
  }
  .card a { color: inherit; text-decoration: none; }
  .card-image {
    width: 100%; aspect-ratio: 4/3;
    object-fit: cover; display: block;
    background: var(--gray-100);
  }
  .card-body { padding: var(--space-md); }
  .card-title { font-size: 1.1rem; font-weight: 600; color: var(--black); margin-bottom: 0.25rem; }
  .card-meta { font-size: 0.85rem; color: var(--gray-500); }

  /* Artist card specific */
  .artist-card .card-image { aspect-ratio: 1; border-radius: 50%; margin: var(--space-sm) auto 0; width: 60%; }
  .artist-card .card-disciplines { margin: 0.4rem 0; display: flex; flex-wrap: wrap; gap: 0.3rem; justify-content: center; }
  .artist-card .card-body { text-align: center; padding: var(--space-sm) var(--space-md) var(--space-md); }
  .artist-card .card-title { font-size: 0.95rem; }
  .card-fav { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,0.45); color: #fff; font-size: 0.85rem; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; z-index: 2; transition: background 0.15s, transform 0.15s; }
  .card-fav:hover { background: rgba(255,45,138,0.9); transform: scale(1.15); }
  .card-fav[data-fav="1"] { background: rgba(255,45,138,0.9); }

  /* Event list card (horizontal layout — used in Events page, Venue detail, Search results) */
  .event-list-card {
    display: flex; gap: var(--space-md); position: relative;
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: all var(--transition-normal); text-decoration: none; color: inherit;
    margin-bottom: var(--space-md); box-shadow: var(--shadow-sm);
  }
  .event-list-card:hover { border-color: var(--pink); box-shadow: 0 4px 15px rgba(255,45,138,0.1); transform: translateY(-1px); }
  .event-list-card.past { opacity: 0.6; }
  .event-list-image { width: 180px; min-height: 140px; object-fit: cover; flex-shrink: 0; background: var(--gray-100); }
  .event-list-info { padding: var(--space-md); flex: 1; min-width: 0; }
  .event-list-date { font-size: 0.85rem; color:#d7186a; font-weight: 600; margin-bottom: 0.2rem; }
  .event-list-name { font-size: 1.1rem; font-weight: 700; color: var(--black); margin-bottom: 0.3rem; }
  .event-list-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-size: 0.85rem; color: var(--gray-500); margin-bottom: 0.3rem; }
  .event-list-desc { font-size: 0.85rem; color: var(--gray-500); line-height: 1.5; }
  @media (max-width: 600px) { .event-list-card { flex-direction: column; } .event-list-image { width: 100%; min-height: 160px; } }

  /* Grid layouts */
  .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  @media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 768px) {
    .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.35rem; }
  }
  @media (max-width: 480px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  }

  /* Section dividers */
  .section { padding: var(--space-3xl) 0; }
  .section-dark { background: var(--black); color: var(--gray-200); padding: var(--space-3xl) 0; }
  .section-dark h2, .section-dark h3 { color: var(--white); }
  .section-light { background: var(--gray-50); }
  .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-xl); flex-wrap: wrap; gap: 0.5rem; }
  .section-header h2 { margin: 0; }
  .section-link { color:#cc246e; font-weight: 600; font-size: 0.95rem; }
  .section-link:hover { color:#d7186a; }

  /* Forms */
  .form-input, .form-select {
    width: 100%; padding: 0.75rem 1rem;
    background: var(--white); color: var(--black);
    border: 2px solid var(--gray-200); border-radius: var(--radius-md);
    font-size: 1rem; font-family: var(--font-main);
    transition: border-color var(--transition-fast);
  }
  .form-input:focus, .form-select:focus {
    outline: none; border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(255, 45, 138, 0.1);
  }
  .form-input::placeholder { color: var(--gray-400); }
  .form-label { display: block; font-weight: 600; color: var(--gray-700); margin-bottom: 0.5rem; font-size: 0.9rem; }

  /* Event timeline */
  .event-timeline { position: relative; }
  .event-timeline::before {
    content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, var(--pink), var(--magenta), var(--gray-700));
  }
  .event-timeline-item {
    position: relative; padding-left: 52px; padding-bottom: var(--space-lg);
  }
  .event-timeline-dot {
    position: absolute; left: 12px; top: 4px; width: 18px; height: 18px;
    border-radius: 50%; background: var(--pink);
    border: 3px solid var(--white); z-index: 1;
  }
  .event-timeline-dot.past { background: var(--gray-400); }
  .event-timeline-card {
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius-md); padding: var(--space-md);
    display: flex; gap: var(--space-md); align-items: flex-start;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
  }
  .event-timeline-card:hover {
    border-color: var(--pink); box-shadow: 0 4px 15px rgba(255, 45, 138, 0.1);
  }
  .event-timeline-card a { color: inherit; text-decoration: none; display: flex; gap: var(--space-md); align-items: flex-start; width: 100%; }
  .event-timeline-image {
    width: 80px; height: 80px; border-radius: var(--radius-sm);
    object-fit: cover; flex-shrink: 0; background: var(--gray-800);
  }
  .event-timeline-info { flex: 1; min-width: 0; }
  .event-timeline-date { font-size: 0.8rem; color:#d7186a; font-weight: 600; margin-bottom: 0.2rem; }
  .event-timeline-name { font-size: 1rem; font-weight: 600; color: var(--black); margin-bottom: 0.2rem; }
  .event-timeline-venue { font-size: 0.85rem; color: var(--gray-500); }
  .event-timeline-type {
    display: inline-block; padding: 0.15rem 0.5rem; border-radius: var(--radius-full);
    font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
    background: rgba(255, 45, 138, 0.12); color:#ce1765; margin-top: 0.25rem;
  }
  @media (max-width: 480px) {
    .event-timeline-image { width: 60px; height: 60px; }
  }

  /* Loading skeleton */
  .skeleton {
    background: linear-gradient(90deg, var(--gray-100) 0%, var(--gray-200) 50%, var(--gray-100) 100%);
    background-size: 200% 100%; animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
  }
  @keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

  /* No results */
  .no-results { text-align: center; padding: var(--space-3xl); color: var(--gray-500); }
  .no-results h3 { color: var(--gray-600); margin-bottom: 0.5rem; }

  .site-header {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-800);
    position: sticky; top: 0; z-index: 100;
  }
  .header-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 1rem;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
  }
  .header-logo {
    display: flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
    color: var(--white); text-decoration: none;
  }
  .header-logo-icon {
    width: 32px; height: 32px; border-radius: 8px;
    background: linear-gradient(135deg, #d62674 0%, #8b0a50 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: white;
  }
  .header-nav { display: flex; align-items: center; gap: 0.25rem; }
  .header-nav a {
    padding: 0.5rem 0.875rem; border-radius: var(--radius-full);
    color:#6a6a6a; font-size: 0.9rem; font-weight: 500;
    transition: all var(--transition-fast); text-decoration: none;
  }
  .header-nav a:hover { color: var(--white); background: var(--gray-800); }
  .header-nav a.active { color:#cc246e; background: var(--pink-glow); }
  .header-actions { display: flex; align-items: center; gap: 0.75rem; }
  .lang-select {
    background: transparent; color:#6a6a6a; border: 1px solid var(--gray-700);
    padding: 0.3rem 0.5rem; border-radius: var(--radius-sm); font-size: 0.75rem;
    cursor: pointer; font-weight: 500; max-width: 120px; text-overflow: ellipsis;
  }
  .lang-select:focus { outline: none; border-color: var(--pink); }
  .lang-select option { background: var(--black); color: var(--white); }
  .user-menu { position: relative; }
  .user-menu-btn { cursor: pointer; }
  .user-dropdown {
    display: none; position: absolute; right: 0; top: calc(100% + 0.5rem);
    background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12); min-width: 160px; z-index: 100;
    overflow: hidden;
  }
  .user-dropdown.show { display: block; }
  .user-dropdown a {
    display: block; padding: 0.75rem 1rem; color: var(--gray-700);
    font-size: 0.9rem; text-decoration: none; transition: background var(--transition-fast);
  }
  .user-dropdown a:hover { background: var(--gray-50); color:#d62674; }
  .header-lang-btn {
    padding: 0.4rem 0.75rem; border-radius: var(--radius-full);
    background: var(--gray-800); color: var(--gray-300);
    font-size: 0.8rem; font-weight: 500; cursor: pointer; border: none;
    transition: all var(--transition-fast);
  }
  .header-lang-btn:hover { background: var(--gray-700); color: var(--white); }

  /* Mobile menu */
  .header-menu-btn {
    display: none; background: none; border: none; color: var(--white);
    font-size: 1.5rem; cursor: pointer; padding: 0.25rem;
  }
  @media (max-width: 768px) {
    .header-nav { display: none; }
    .header-menu-btn { display: block; }
    .header-nav.mobile-open {
      display: flex; flex-direction: column;
      position: absolute; top: 64px; left: 0; right: 0;
      background: var(--black); border-bottom: 1px solid var(--gray-800);
      padding: 0.5rem 1rem 1rem;
    }
  }

:root{--psnh-h:56px;--psnh-offset:56px;scroll-padding-top:var(--psnh-offset)}
@media(min-width:768px){:root{--psnh-h:64px;--psnh-offset:64px}}
.psnh-space{display:block;height:var(--psnh-h)}
.psnh{position:fixed;top:0;left:0;right:0;z-index:1000;background:var(--psnh-bg,#fff);color:var(--psnh-fg,#202124);box-shadow:inset 0 -1px 0 var(--psnh-border,rgba(0,0,0,.1));font-family:var(--psnh-font,inherit);transition:transform .2s ease;-webkit-backdrop-filter:saturate(1.4) blur(12px);backdrop-filter:saturate(1.4) blur(12px)}
.psnh.psnh-hidden{transform:translateY(-100%)}
.psnh *,.psnh-sheet *{box-sizing:border-box}
.psnh-bar{display:flex;align-items:center;gap:2px;height:var(--psnh-h);max-width:1400px;margin:0 auto;padding:0 8px}
.psnh a{color:inherit;text-decoration:none}
.psnh-logo{display:flex;align-items:center;gap:8px;flex:1 1 auto;min-width:0;height:44px;padding:0 6px;border-radius:12px;font-weight:600;font-size:1rem;line-height:1.2;overflow:hidden;white-space:nowrap}
.psnh-logo>*{min-width:0}
.psnh-logo img{max-height:36px;width:auto}
.psnh-logo-text{overflow:hidden;text-overflow:ellipsis}
.psnh-nav{display:none;flex:1 1 auto;min-width:0;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.psnh-nav::-webkit-scrollbar{display:none}
.psnh-nav-list{display:flex;list-style:none;margin:0;padding:0 4px;gap:2px}
.psnh-nav-link{display:flex;align-items:center;gap:6px;height:44px;padding:0 12px;border-radius:22px;white-space:nowrap;font-weight:500;font-size:.95rem;position:relative}
.psnh-nav-link:hover,.psnh-btn:hover,.psnh-tile:hover,.psnh-sheet-link:hover,.psnh-lang-link:hover,.psnh-sheet-lang:hover,.psnh-acct-link:hover{background:var(--psnh-hover,rgba(127,127,127,.12))}
.psnh-nav-link[aria-current]{font-weight:700}
.psnh-nav-link[aria-current]::after{content:'';position:absolute;left:12px;right:12px;bottom:2px;height:3px;border-radius:3px;background:var(--psnh-accent,currentColor)}
.psnh-fill{flex:1 1 auto}
.psnh-actions{display:flex;align-items:center;gap:2px;flex:0 0 auto}
.psnh-own{display:flex;align-items:center;gap:2px}
.psnh-btn{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:44px;height:44px;padding:0 10px;border:0;border-radius:22px;background:transparent;color:inherit;font:inherit;cursor:pointer;position:relative;-webkit-tap-highlight-color:transparent}
.psnh a:focus-visible,.psnh button:focus-visible,.psnh input:focus-visible,.psnh-sheet a:focus-visible,.psnh-sheet button:focus-visible{outline:2px solid var(--psnh-fg,#202124);outline-offset:2px}
.psnh-btn[aria-expanded="true"]{background:var(--psnh-hover,rgba(127,127,127,.16))}
.psnh-lang-btn{display:none}
.psnh-lang-code{font-size:.8rem;font-weight:600}
.psnh-badge{position:absolute;top:4px;inset-inline-end:2px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#c5221f;color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center}
.psnh-badge[hidden]{display:none}
.psnh-acct{display:none;align-items:center;gap:2px}
.psnh-acct-link{display:inline-flex;align-items:center;height:44px;padding:0 12px;border-radius:22px;font-weight:500;white-space:nowrap}
.psnh-panel{display:none;position:fixed;top:calc(var(--psnh-h) + 4px);inset-inline-end:8px;width:min(400px,calc(100vw - 16px));max-height:calc(100vh - var(--psnh-h) - 16px);overflow-y:auto;overscroll-behavior:contain;background:var(--psnh-panel-bg,var(--psnh-bg,#fff));color:var(--psnh-fg,#202124);border:1px solid var(--psnh-border,rgba(0,0,0,.1));border-radius:16px;box-shadow:0 12px 32px rgba(0,0,0,.18);padding:8px 12px 12px;z-index:1003}
.psnh-panel.psnh-open{display:block}
.psnh-panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px}
.psnh-panel-title{margin:0;font-size:1rem;font-weight:600;line-height:1.3}
.psnh-tiles{list-style:none;margin:4px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.psnh-tile{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;height:100%;padding:10px 6px;border-radius:12px;color:inherit}
.psnh-tile-here{background:var(--psnh-hover,rgba(127,127,127,.12));outline:2px solid var(--psnh-accent,currentColor);outline-offset:-2px}
.psnh-tile-mark{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;font-size:22px;font-weight:700;line-height:1;flex:0 0 auto}
.psnh-tile-name{font-weight:600;font-size:.9rem;line-height:1.25;overflow-wrap:break-word}
.psnh-tile-desc{font-size:.75rem;line-height:1.35;opacity:.8;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}
.psnh-tile-badge{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em}
.psnh-lang-list,.psnh-sheet-list,.psnh-sheet-langs,.psnh-sheet-acct{list-style:none;margin:0;padding:0}
.psnh-lang-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}
.psnh-lang-link,.psnh-sheet-lang{display:flex;align-items:center;min-height:44px;padding:0 12px;border-radius:12px;overflow-wrap:anywhere}
.psnh-lang-link[aria-current],.psnh-sheet-lang[aria-current]{font-weight:700;background:var(--psnh-hover,rgba(127,127,127,.12))}
.psnh-searchbox{inset-inline:8px;width:auto;max-width:720px;margin-inline:auto;padding:6px}
.psnh-search-form{display:flex;align-items:center;gap:4px;margin:0}
.psnh-search-input{flex:1 1 auto;min-width:0;height:44px;padding:0 14px;border:1px solid var(--psnh-border,rgba(0,0,0,.15));border-radius:22px;background:transparent;color:inherit;font:inherit;font-size:16px}
.psnh-sheet{display:none;position:fixed;inset:0;z-index:1002;pointer-events:none}
.psnh-sheet.psnh-open{display:block}
.psnh-sheet-in{position:absolute;top:0;bottom:0;inset-inline-end:0;width:min(360px,88vw);overflow-y:auto;overscroll-behavior:contain;background:var(--psnh-panel-bg,var(--psnh-bg,#fff));color:var(--psnh-fg,#202124);font-family:var(--psnh-font,inherit);box-shadow:0 0 32px rgba(0,0,0,.25);padding:4px 12px 24px;pointer-events:auto}
.psnh-sheet a{color:inherit;text-decoration:none}
.psnh-sheet-head{position:sticky;top:0;background:inherit;z-index:1;padding:6px 0}
.psnh-sheet-link{display:flex;align-items:center;gap:12px;min-height:48px;padding:0 12px;border-radius:12px;font-weight:500;font-size:1rem}
.psnh-sheet-link .psnh-ico{width:24px;text-align:center;flex:0 0 24px}
.psnh-sheet-link[aria-current]{font-weight:700;background:var(--psnh-hover,rgba(127,127,127,.12));box-shadow:inset 3px 0 0 var(--psnh-accent,currentColor)}
.psnh-sheet[dir="rtl"] .psnh-sheet-link[aria-current]{box-shadow:inset -3px 0 0 var(--psnh-accent,currentColor)}
.psnh-sheet-group{margin-top:12px;padding-top:12px;border-top:1px solid var(--psnh-border,rgba(0,0,0,.1))}
.psnh-sheet-h{margin:0 12px 6px;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;opacity:.75}
.psnh-sheet-langs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}
.psnh-sheet-org{display:flex;align-items:center;justify-content:center;min-height:48px;margin:16px 4px 0;padding:8px 16px;border-radius:24px;border:2px solid var(--psnh-accent,currentColor);font-weight:600;text-align:center;line-height:1.3}
.psnh-sheet-acct{margin-top:12px;padding-top:12px;border-top:1px solid var(--psnh-border,rgba(0,0,0,.1))}
.psnh-backdrop{display:none;position:fixed;inset:0;z-index:1001;background:rgba(0,0,0,.35)}
.psnh-sheet.psnh-open+.psnh-backdrop{display:block}
html.psnh-lock,html.psnh-lock body{overflow:hidden}
@media(min-width:768px){
.psnh-bar{gap:4px;padding:0 16px}
.psnh-logo{flex:0 0 auto;max-width:40%;font-size:1.1rem}
.psnh-nav{display:block}
.psnh-lang-btn{display:inline-flex}
.psnh-acct{display:inline-flex}
.psnh-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}
.psnh-apps{width:440px}
}
@media(max-width:380px){.psnh-bar{padding:0 4px}.psnh-btn{min-width:40px;padding:0 8px}}
@media(prefers-reduced-motion:reduce){.psnh{transition:none}}

.psnh .ah-logo{display:flex;align-items:center;gap:.5rem;min-width:0;font-family:var(--font-display);font-weight:800;font-size:1.2rem;color:var(--white)}
.psnh .ah-logo img,.psnh .ah-logo .header-logo-icon{flex:0 0 32px}
.psnh .ah-user-btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-width:40px;height:40px;padding:0 .6rem;border-radius:20px}
.psnh .ah-user-name{display:none;max-width:10rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(min-width:768px){.psnh .ah-user-name{display:inline}}
.psnh[dir="rtl"] .user-dropdown{right:auto;left:0}
.psnh .user-dropdown a{color:var(--gray-700)}
.psnh .user-dropdown a:hover{color:var(--pink)}
.psnh .psnh-panel-title,.psnh-sheet .psnh-panel-title,.psnh-sheet .psnh-sheet-h{color:inherit;font-family:inherit}   /* the app's h2/h3 rules (colour, font) stay out of the header's panels */

  .site-footer {
    background: var(--black);
    border-top: 3px solid var(--pink);
    padding: var(--space-3xl) 0 var(--space-xl);
    margin-top: 0;
  }
  .footer-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 1rem;
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem;
  }
  .footer-brand .footer-brand-name { color: var(--white); margin-bottom: 0.5rem; font-size: 1.17em; font-weight: 700; }
  .footer-brand p { color: var(--gray-400); font-size: 0.9rem; max-width: 300px; }
  .footer-col h4, .footer-col .footer-heading { color: var(--gray-200); font-size: 0.9rem; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
  .footer-col a { display: block; color: var(--gray-400); font-size: 0.875rem; padding: 0.2rem 0; }
  .footer-col a:hover { color: var(--pink); }
  .footer-bottom {
    max-width: 1200px; margin: var(--space-xl) auto 0; padding: var(--space-md) 1rem 0;
    border-top: 1px solid var(--gray-800);
    display: flex; justify-content: space-between; align-items: center;
    color: var(--gray-300); font-size: 0.8rem; flex-wrap: wrap; gap: 0.5rem;
  }
  .footer-lang { display: flex; align-items: center; gap: 0.4rem; }
  .footer-lang select {
    background: transparent; color: var(--gray-400); border: 1px solid var(--gray-700);
    padding: 0.25rem 0.5rem; border-radius: var(--radius-sm); font-size: 0.8rem; cursor: pointer;
  }
  .footer-lang select option { background: var(--black); color: var(--white); }
  @media (max-width: 768px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; }
  }
  @media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

    /* Artist hero */
    .hero-actions { display: flex; gap: 0.5rem; align-items: center; }
    .action-btn {
      display: inline-flex; align-items: center; gap: 0.4rem;
      padding: 0.5rem 1rem; border-radius: var(--radius-full); font-size: 0.85rem; font-weight: 600;
      cursor: pointer; border: 1px solid rgba(255,255,255,0.3); color: var(--white); background: rgba(255,255,255,0.1);
      transition: all 0.2s;
    }
    .action-btn:hover { background: rgba(255,255,255,0.2); }
    .action-btn.saved { background:#d62674; border-color: var(--pink); }
    .artist-hero {
      background: linear-gradient(135deg, var(--magenta-deep) 0%, var(--black) 50%, var(--magenta-dark) 100%);
      padding: var(--space-xl) 0 var(--space-lg);
    }
    .artist-hero .container { display: flex; gap: var(--space-xl); align-items: center; flex-wrap: wrap; }
    .artist-avatar-wrap {
      width: 140px; height: 140px; border-radius: 50%;
      overflow: hidden; border: 4px solid var(--pink);
      box-shadow: 0 0 30px rgba(255, 45, 138, 0.3);
      flex-shrink: 0;
      background: var(--gray-200);
    }
    .artist-avatar { width: 100%; height: 100%; object-fit: cover; }
    .artist-hero-info { flex: 1; min-width: 200px; }
    .artist-name { font-size: 2rem; font-weight: 800; color: var(--white); margin-bottom: 0.25rem; display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
    .artist-format { font-size: 0.85rem; color:#6a6a6a; margin-bottom: 0.5rem; }
    .artist-disciplines-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.5rem; }
    .artist-styles-row { display: flex; flex-wrap: wrap; gap: 0.3rem; }

    /* Tags on dark hero need light colors */
    .artist-hero .tag { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.25); }
    .artist-hero .tag-magenta { background: rgba(255,255,255,0.12); color: rgba(255,200,230,0.95); border-color: rgba(255,255,255,0.2); }
    .artist-hero .owner-add { background: rgba(255,255,255,0.1); color: rgba(255,200,230,0.9); border-color: rgba(255,255,255,0.2); }
    .artist-hero .owner-add:hover { background:#d62674; color: #fff; border-color: var(--pink); }
    .artist-hero .owner-edit { filter: brightness(2); }
    .event-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

    /* Two-column layout */
    .artist-layout {
      display: grid; grid-template-columns: 1fr 320px; gap: var(--space-xl);
      padding: var(--space-xl) 0;
    }
    .artist-main { min-width: 0; }
    .artist-sidebar { }

    /* Sidebar cards */
    .sidebar-card {
      background: var(--white); border: 1px solid var(--gray-200);
      border-radius: var(--radius-lg); padding: var(--space-lg);
      margin-bottom: var(--space-md); box-shadow: var(--shadow-sm);
    }
    .sidebar-card h3 { font-size: 1rem; margin-bottom: var(--space-md); color: var(--gray-700); }

    /* Fan action buttons */
    .fan-actions { display: flex; gap: 0.5rem; margin-bottom: var(--space-md); }
    .fan-actions .btn { flex: 1; justify-content: center; }

    /* Fan count display */
    .fan-count-display {
      text-align: center; padding: var(--space-md); margin-bottom: var(--space-md);
      background: linear-gradient(135deg, rgba(255,45,138,0.1), rgba(139,10,80,0.1));
      border: 1px solid rgba(255,45,138,0.15); border-radius: var(--radius-lg);
    }
    .fan-count-number { font-size: 2rem; font-weight: 800; color:#cc246e; font-family: var(--font-display); }
    .fan-count-label { font-size: 0.8rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.5px; }

    /* Links list */
    .link-item {
      display: flex; align-items: center; gap: 0.75rem;
      padding: 0.6rem 0; border-bottom: 1px solid var(--gray-100);
      text-decoration: none; color: var(--gray-600);
      transition: color var(--transition-fast);
    }
    .link-item:last-child { border-bottom: none; }
    .link-item:hover { color:#d7186a; }
    .link-item-icon { font-size: 1.2rem; width: 24px; text-align: center; }
    .link-item-label { font-size: 0.9rem; }

    /* Section headings */
    .section-title {
      font-size: 1.25rem; font-weight: 700; color: var(--black);
      margin-bottom: var(--space-lg); padding-bottom: 0.5rem;
      border-bottom: 2px solid rgba(255, 45, 138, 0.2);
    }

    /* Bio */
    .artist-bio { color: var(--gray-600); line-height: 1.8; font-size: 0.95rem; white-space: pre-line; }

    /* Members grid */
    .members-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--space-md); }
    .member-card {
      text-align: center; padding: var(--space-md);
      background: var(--gray-50); border-radius: var(--radius-md);
      border: 1px solid var(--gray-200);
    }
    .member-avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; margin: 0 auto 0.5rem; background: var(--gray-200); }
    .member-name { font-weight: 600; color: var(--black); font-size: 0.9rem; }
    .member-role { font-size: 0.8rem; color: var(--gray-500); }

    @media (max-width: 900px) {
      .artist-layout { grid-template-columns: 1fr; }
      .artist-sidebar { padding-top: var(--space-md); }   /* after the performances (decision 3fTSaGbNmkPFTPnnqbEh) */
      .artist-hero .container { justify-content: center; text-align: center; }
      .artist-hero-info { text-align: center; }
      .artist-name { justify-content: center; font-size: 1.75rem; }
      .artist-disciplines-row, .artist-styles-row { justify-content: center; }
      .artist-avatar-wrap { width: 120px; height: 120px; }
    }
    .owner-toolbar { background: var(--gray-50); border-bottom: 1px solid var(--gray-200); padding: 0.75rem 0; }
    .social-links { display: flex; gap: 0.6rem; margin-top: var(--space-md); flex-wrap: wrap; justify-content: center; }
    .social-link { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.8); text-decoration: none; transition: all 0.2s; font-size: 1.1rem; }
    .social-link:hover { background:#d62674; color: #fff; transform: scale(1.1); }
    .social-link svg { display: block; }
    .social-link-wrap { position: relative; display: inline-flex; }
    .social-link-del { position: absolute; top: -4px; right: -4px; width: 18px; height: 18px; border-radius: 50%; background: rgba(220,20,60,0.85); color: #fff; border: none; cursor: pointer; font-size: 0.55rem; display: none; align-items: center; justify-content: center; z-index: 1; }
    .social-link-wrap:hover .social-link-del { display: flex; }
    .yt-embed { position: relative; width: 100%; padding-bottom: 56.25%; border-radius: var(--radius-lg); overflow: hidden; background: var(--black); }
    .yt-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

    /* Owner inline edit controls */
    .owner-edit { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,45,138,0.1); color:#cc246e; border: none; cursor: pointer; font-size: 0.8rem; transition: all 0.2s; margin-left: 0.4rem; vertical-align: middle; }
    .owner-edit:hover { background:#d62674; color: #fff; }
    .owner-add { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.3rem 0.75rem; border-radius: var(--radius-full); background: rgba(255,45,138,0.08); color:#cc246e; border: 1px solid rgba(255,45,138,0.2); cursor: pointer; font-size: 0.8rem; font-weight: 600; transition: all 0.2s; }
    .owner-add:hover { background:#d62674; color: #fff; border-color: var(--pink); }

    /* Event delete button (owner only) */
    .event-timeline-card { position: relative; }
    .evt-del { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; background: rgba(0,0,0,0.55); color: #fff; border: none; cursor: pointer; font-size: 0.8rem; display: none; align-items: center; justify-content: center; z-index: 2; transition: background 0.15s; }
    .evt-del:hover { background: #c62828; }
    .event-timeline-card:hover .evt-del { display: flex; }

    /* Artist chips in event modal */
    .evt-artists-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.5rem; }
    .evt-artist-chip { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.25rem 0.6rem; background: rgba(255,45,138,0.08); border: 1px solid rgba(255,45,138,0.2); border-radius: var(--radius-full); font-size: 0.8rem; color:#ce1765; }
    .evt-artist-chip button { background: none; border: none; cursor: pointer; font-size: 0.9rem; color:#6d6d6d; padding: 0; line-height: 1; }
    .evt-artist-chip button:hover { color: #c62828; }
    .evt-artist-results { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid var(--gray-200); border-top: none; border-radius: 0 0 8px 8px; max-height: 180px; overflow-y: auto; z-index: 10; display: none; }
    .evt-artist-result { padding: 0.5rem 0.75rem; cursor: pointer; font-size: 0.85rem; display: flex; align-items: center; gap: 0.5rem; }
    .evt-artist-result:hover { background: var(--gray-50); }
    .evt-artist-result img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }

    /* Cover upload zone in modal */
    .evt-upload-zone { border: 2px dashed rgba(255,45,138,0.25); border-radius: 10px; padding: 1rem; text-align: center; cursor: pointer; background: rgba(255,45,138,0.02); transition: border-color 0.2s; }
    .evt-upload-zone:hover { border-color: var(--pink); }
    .owner-delete { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; background: rgba(220,20,60,0.8); color: #fff; border: none; cursor: pointer; font-size: 0.65rem; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s; }
    *:hover > .owner-delete { opacity: 1; }
    .edit-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; align-items: center; justify-content: center; }
    .edit-modal-overlay.open { display: flex; }
    .edit-modal { background: #fff; border-radius: 16px; width: 90%; max-width: 500px; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
    .edit-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--gray-100); }
    .edit-modal-header h4 { font-size: 1.1rem; font-weight: 700; }
    .edit-modal-close { background: none; border: none; font-size: 1.3rem; cursor: pointer; color:#6d6d6d; }
    .edit-modal-body { padding: 1.25rem; }
    .edit-modal-footer { display: flex; justify-content: flex-end; gap: 0.5rem; padding: 0.75rem 1.25rem; border-top: 1px solid var(--gray-100); }
    .edit-field { margin-bottom: 1rem; }
    .edit-label { font-size: 0.85rem; font-weight: 600; color: var(--gray-600); margin-bottom: 0.3rem; display: block; }
    .edit-input { width: 100%; padding: 0.6rem 0.75rem; border: 1px solid var(--gray-200); border-radius: 8px; font-family: inherit; font-size: 0.95rem; box-sizing: border-box; }
    .edit-input:focus { outline: none; border-color: var(--pink); }
    .edit-textarea { min-height: 100px; resize: vertical; }
    .link-item { position: relative; }

    /* Portfolio Grid */
    .portfolio-section { margin: 2rem 0; padding: 1.5rem; background: linear-gradient(135deg, rgba(100,80,160,0.06) 0%, rgba(60,40,120,0.08) 100%); border-radius: 16px; }
    .portfolio-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
    .portfolio-title { display: flex; align-items: center; gap: 0.5rem; font-size: 1.2rem; font-weight: 700; color: var(--black); }
    .portfolio-count { background:#d62674; color: #fff; font-size: 0.7rem; font-weight: 700; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
    .portfolio-add { width: 32px; height: 32px; border-radius: 50%; background:#d62674; color: #fff; border: none; cursor: pointer; font-size: 1.2rem; font-weight: 500; display: flex; align-items: center; justify-content: center; transition: transform 0.15s, background 0.15s; }
    .portfolio-add:hover { background: var(--magenta-deep); transform: translateY(-1px) scale(1.05); }
    .portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .portfolio-tile { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #1a1a2e, #16213e); cursor: pointer; }
    .portfolio-tile img, .portfolio-tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
    .portfolio-tile-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 8px 10px; background: linear-gradient(transparent, rgba(0,0,0,0.75)); }
    .portfolio-tile-title { font-size: 0.8rem; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .portfolio-tile-type { font-size: 0.65rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.3px; }
    .portfolio-tile-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,0.5); border: 2px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; pointer-events: none; }
    .portfolio-tile-play::after { content: ''; width: 0; height: 0; border-left: 12px solid rgba(255,255,255,0.8); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
    .portfolio-tile-pdf { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem; background: linear-gradient(135deg, #2d1a1a, #3a1a1a); }
    .portfolio-tile-pdf-icon { font-size: 2rem; opacity: 0.8; }
    .portfolio-tile-pdf-label { font-size: 0.65rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
    .portfolio-tile-audio { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem; background: linear-gradient(135deg, #1a1a3a, #2a1a3a); }
    .portfolio-tile-audio-icon { font-size: 2rem; opacity: 0.8; }
    .portfolio-tile-delete { position: absolute; top: 6px; right: 6px; background: rgba(0,0,0,0.6); color: #fff; border: none; border-radius: 50%; width: 24px; height: 24px; font-size: 0.7rem; cursor: pointer; display: none; align-items: center; justify-content: center; z-index: 2; }
    .portfolio-tile:hover .portfolio-tile-delete { display: flex; }
    .portfolio-empty { text-align: center; color:#6d6d6d; padding: 2rem 0; font-size: 0.9rem; }
    .portfolio-upload-zone { border: 2px dashed var(--gray-300); border-radius: 12px; padding: 1.5rem; text-align: center; cursor: pointer; transition: border-color 0.2s; margin-bottom: 1rem; }
    .portfolio-upload-zone:hover, .portfolio-upload-zone.dragover { border-color: var(--pink); }
    .portfolio-upload-zone input { display: none; }
    .portfolio-preview { margin-top: 0.5rem; }
    .portfolio-preview img { max-height: 120px; border-radius: 8px; }
    @media (max-width: 600px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }

    
/* Tribute Section */
.tributes-section {
  margin: 2rem 0; padding: 1.5rem;
  background: linear-gradient(135deg, rgba(255,45,138,0.06) 0%, rgba(139,10,80,0.08) 100%);
  border-radius: 16px;
}
.tributes-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem;
}
.tributes-title {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.2rem; font-weight: 700; color: var(--black);
}
.tributes-count {
  background:#d62674; color: #fff; font-size: 0.75rem;
  padding: 0.1rem 0.5rem; border-radius: 10px; margin-left: 0.4rem;
}
.tributes-add-btn {
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background:#d62674; color: #fff; font-size: 1.4rem; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.tributes-add-btn:hover { background: var(--magenta-deep); transform: translateY(-1px) scale(1.05); }

/* Tribute Carousel */
.tributes-container {
  display: flex; gap: 1.25rem; overflow-x: auto; padding: 0.75rem 0.25rem;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.tributes-container::-webkit-scrollbar { height: 6px; }
.tributes-container::-webkit-scrollbar-thumb { background: rgba(255,45,138,0.2); border-radius: 3px; }

/* Tribute Card */
.tribute-card {
  flex-shrink: 0; width: 280px; background: #fff;
  border-radius: 12px; overflow: hidden; scroll-snap-align: start;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.03);
  transform: rotate(var(--rotation, 0deg));
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.tribute-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 8px 24px rgba(255,45,138,0.12), 0 0 0 1px rgba(255,45,138,0.1);
}

/* Card Media */
.tribute-media {
  position: relative; width: 100%; aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1a1a2e, #16213e); overflow: hidden;
}
.tribute-media img, .tribute-media video {
  width: 100%; height: 100%; object-fit: cover;
}
.tribute-media-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 3rem; background: linear-gradient(135deg, rgba(255,45,138,0.15), rgba(139,10,80,0.2));
}
.tribute-stamp {
  position: absolute; top: 8px; right: 8px; width: 36px; height: 36px;
  border-radius: 50%; overflow: hidden; border: 2px solid rgba(255,255,255,0.8);
  background: linear-gradient(135deg, #fce4ec, #f8bbd0);
  display: flex; align-items: center; justify-content: center;
}
.tribute-stamp img { width: 100%; height: 100%; object-fit: cover; }
.tribute-date {
  position: absolute; bottom: 8px; left: 8px;
  background: rgba(0,0,0,0.6); color: #fff; font-size: 0.65rem; font-weight: 700;
  padding: 0.15rem 0.5rem; border-radius: 4px; letter-spacing: 0.5px;
}
.tribute-delete-btn {
  position: absolute; top: 6px; left: 6px; background: rgba(0,0,0,0.5);
  color: #fff; border: none; border-radius: 50%; width: 24px; height: 24px;
  font-size: 0.7rem; cursor: pointer; display: none;
  align-items: center; justify-content: center;
}
.tribute-card:hover .tribute-delete-btn.visible { display: flex; }

/* Card Content */
.tribute-content { padding: 0.75rem; }
.tribute-message {
  font-size: 0.88rem; color: var(--gray-700); line-height: 1.45;
  margin-bottom: 0.5rem; white-space: pre-line;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.tribute-author {
  font-size: 0.78rem; color:#6d6d6d; font-style: italic; margin-bottom: 0.4rem;
}
.tribute-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 0.4rem; border-top: 1px solid var(--gray-100);
}
.tribute-event {
  font-size: 0.7rem; color: var(--gray-500); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 70%;
}
.tribute-likes {
  display: flex; align-items: center; gap: 0.25rem;
  font-size: 0.8rem; color:#6d6d6d; cursor: pointer; user-select: none;
}
.tribute-likes.liked { color:#cc246e; }
.tribute-likes:hover { color:#cc246e; }

/* Audio player in card */
.tribute-audio-player {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0.5rem;
  background: linear-gradient(135deg, rgba(255,45,138,0.2), rgba(139,10,80,0.3));
}
.tribute-audio-player audio { width: 80%; }
.tribute-audio-icon { font-size: 2.5rem; }

.tributes-empty {
  text-align: center; padding: 2rem 0; color:#6d6d6d; font-size: 0.95rem;
}

/* ==================== TRIBUTE MODAL ==================== */
.tribute-modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 1000; align-items: center; justify-content: center;
}
.tribute-modal-overlay.open { display: flex; }
.tribute-modal {
  background: #fff; border-radius: 16px; width: 90%; max-width: 460px;
  max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.tribute-modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--gray-100);
}
.tribute-modal-title {
  font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; gap: 0.4rem;
}
.tribute-modal-close {
  background: none; border: none; font-size: 1.3rem; cursor: pointer; color:#6d6d6d;
  width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.tribute-modal-close:hover { background: var(--gray-100); }
.tribute-modal-body { padding: 1.25rem; }

/* Upload zone */
.tribute-upload-zone {
  border: 2px dashed rgba(255,45,138,0.3); border-radius: 12px;
  padding: 1.5rem; text-align: center; cursor: pointer;
  transition: all 0.2s; margin-bottom: 1rem;
  background: rgba(255,45,138,0.03);
}
.tribute-upload-zone:hover, .tribute-upload-zone.drag-over {
  border-color: var(--pink); background: rgba(255,45,138,0.06);
}
.tribute-upload-zone input[type="file"] { display: none; }
.tribute-upload-icons { font-size: 1.5rem; margin-bottom: 0.5rem; }
.tribute-upload-icons span { margin: 0 0.25rem; }
.tribute-upload-text { font-size: 0.85rem; color: var(--gray-500); }

/* Media preview */
.tribute-media-preview {
  position: relative; border-radius: 12px; overflow: hidden; margin-bottom: 1rem;
  max-height: 250px;
}
.tribute-media-preview img, .tribute-media-preview video {
  width: 100%; max-height: 250px; object-fit: cover; display: block;
}
.tribute-media-remove {
  position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,0.6);
  color: #fff; border: none; border-radius: 50%; width: 28px; height: 28px;
  font-size: 0.9rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
}

/* Message input */
.tribute-message-wrapper { position: relative; margin-bottom: 0.75rem; }
.tribute-message-input {
  width: 100%; min-height: 80px; padding: 0.75rem; padding-right: 2.5rem;
  border: 1px solid var(--gray-200); border-radius: 10px;
  font-family: inherit; font-size: 0.95rem; resize: vertical;
}
.tribute-message-input:focus { outline: none; border-color: var(--pink); }
.tribute-emoji-btn {
  position: absolute; top: 0.5rem; right: 0.5rem; background: none;
  border: none; font-size: 1.2rem; cursor: pointer; padding: 0.25rem;
}
.tribute-char-count {
  position: absolute; bottom: 0.5rem; right: 0.75rem;
  font-size: 0.7rem; color:#6d6d6d;
}
.tribute-emoji-picker {
  display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.5rem;
  background: var(--gray-50); border-radius: 8px; margin-bottom: 0.75rem;
}
.tribute-emoji-picker span {
  font-size: 1.3rem; cursor: pointer; padding: 0.15rem;
  transition: transform 0.1s;
}
.tribute-emoji-picker span:hover { transform: scale(1.3); }

/* Submit footer */
.tribute-modal-footer {
  display: flex; justify-content: flex-end; gap: 0.5rem;
  padding: 0.75rem 1.25rem; border-top: 1px solid var(--gray-100);
}
.tribute-btn-cancel {
  background: var(--gray-100); border: none; padding: 0.5rem 1.25rem;
  border-radius: 8px; font-weight: 600; cursor: pointer; color: var(--gray-600);
}
.tribute-btn-submit {
  background:#d62674; border: none; padding: 0.5rem 1.5rem;
  border-radius: 8px; font-weight: 600; cursor: pointer; color: #fff;
  display: flex; align-items: center; gap: 0.4rem; transition: background 0.2s;
}
.tribute-btn-submit:hover { background: var(--magenta-deep); }
.tribute-btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.tribute-btn-submit.sending::after {
  content: ''; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff; border-radius: 50%; animation: trib-spin 0.6s linear infinite;
}
@keyframes trib-spin { to { transform: rotate(360deg); } }

  
    /* Rows: a grid on large screens; on a phone each row scrolls sideways,
       about one and a half cards wide, every card one large tap target */
    .home-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
    .home-row > .card { display: flex; flex-direction: column; min-width: 0; color: inherit; }
    .home-row .card-title { overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .card-icon { display: flex; align-items: center; justify-content: center; font-size: 2.5rem; background: linear-gradient(135deg, #fce4ec, #f8bbd0); }
    .card-icon-venue { background: linear-gradient(135deg, #e8e0f0, #d8c8e8); }
    .perf-media { position: relative; }
    .perf-card .card-image, .venue-card .card-image { aspect-ratio: 16/9; }
    .perf-badge {
      position: absolute; top: 0.5rem; left: 0.5rem; padding: 0.15rem 0.6rem;
      border-radius: var(--radius-full); background: rgba(13,13,13,0.75); color: var(--white);
      font-size: 0.75rem; font-weight: 600;
    }
    .perf-date { font-size: 0.8rem; color:#cc246e; font-weight: 600; margin-bottom: 0.25rem; }
    .perf-artists, .perf-place, .venue-count, .artist-next { margin-top: 0.2rem; }
    .artist-next { color:#d7186a; font-weight: 600; }
    @media (max-width: 1024px) { .home-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
    @media (max-width: 768px) {
      .home-row {
        display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.75rem;
        padding: 0.25rem 0.125rem 0.75rem; -webkit-overflow-scrolling: touch;
      }
      .home-row > .card { flex: 0 0 42%; scroll-snap-align: start; }
      .section-header .section-link { display: inline-flex; align-items: center; min-height: 44px; }
    }
    @media (max-width: 600px) { .home-row > .card { flex-basis: 64%; } }

    /* Detail page (decision 3fTSaGbNmkPFTPnnqbEh) */
    /* the event and venue pages' content touched the screen's edges below 1200 px: their own
       padding rule replaced the container's 1rem side gutter */
    .event-content.container, .venue-content.container { padding-left: 1rem; padding-right: 1rem; }
    .dr-row.section, .dr-org-wrap.section { padding: var(--space-xl) 0; }
    .dr-row .section-header h2 { overflow-wrap: anywhere; min-width: 0; }
    .dr-key { margin-top: 0.6rem; }
    .dr-next {
      display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; max-width: 100%;
      padding: 0.35rem 1rem; border-radius: var(--radius-full); background: rgba(255,255,255,0.12);
      border: 1px solid rgba(255,255,255,0.25); color: var(--white); font-weight: 600; overflow-wrap: anywhere;
    }
    a.dr-next:hover { background: rgba(255,45,138,0.35); color: var(--white); }
    .dr-next.dr-none { color: var(--gray-200); font-weight: 500; }
    .dr-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin: 0 0 var(--space-md); }
    .dr-chips-label { color: var(--gray-200); font-size: 0.85rem; font-weight: 600; }
    .dr-chip {
      display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; padding: 0.25rem 0.85rem;
      border-radius: var(--radius-full); background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
      color: var(--white); font-size: 0.85rem; font-weight: 600; overflow-wrap: anywhere;
    }
    a.dr-chip:hover { background: rgba(255,45,138,0.35); color: var(--white); }
    .dr-passed {
      margin: 0 0 var(--space-md); padding: 0.75rem 1rem; border-radius: var(--radius-md);
      background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.3); color: var(--white); overflow-wrap: anywhere;
    }
    .dr-passed strong { font-weight: 700; }
    .dr-passed a { color:#ad4b78; font-weight: 600; }
    .dr-cancelled-tag {
      display: inline-block; padding: 0.1rem 0.5rem; border-radius: var(--radius-full); background: #dc2626; color: #fff;
      font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-left: 0.35rem;
    }
    .dr-more { margin: 0 0 var(--space-xl); }
    .dr-more > summary {
      display: inline-flex; align-items: center; min-height: 44px; cursor: pointer;
      color:#d7186a; font-weight: 600; margin-bottom: var(--space-md);
    }
    .dr-map { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; align-items: center; color: var(--gray-600); margin-bottom: var(--space-xl); overflow-wrap: anywhere; }
    .dr-map a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color:#d7186a; }
    .dr-org {
      background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
      padding: var(--space-xl); text-align: center;
    }
    .dr-org h2 { font-size: 1.35rem; margin-bottom: 0.5rem; overflow-wrap: anywhere; }
    .dr-org p { color: var(--gray-500); max-width: 40rem; margin: 0 auto var(--space-md); line-height: 1.5; }
    .dr-org .dr-org-btn { min-height: 44px; justify-content: center; max-width: 100%; white-space: normal; text-align: center; }
    .dr-trail { padding: var(--space-md) 0 var(--space-xl); font-size: 0.85rem; }
    .dr-trail ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.5rem; }
    .dr-trail li { display: inline-flex; align-items: center; gap: 0.5rem; min-width: 0; overflow-wrap: anywhere; }
    .dr-trail li + li::before { content: '›'; color: var(--gray-400); }
    .dr-trail a { display: inline-flex; align-items: center; min-height: 44px; color:#d7186a; font-weight: 600; }
    .dr-trail span { color: var(--gray-500); }
    @media (max-width: 600px) {
      .dr-org { padding: var(--space-lg) var(--space-md); }
      .dr-org .dr-org-btn { display: flex; width: 100%; }
    }
