.theme-metal {
  --pattern: repeating-linear-gradient(135deg, #161115 0 3px, #09090a 3px 9px, #271619 9px 10px);
  --pattern-alt: repeating-linear-gradient(45deg, #111 0 5px, #24191a 5px 6px, #080808 6px 12px);
  --panel: rgba(18, 13, 15, .97); --cell: #24191a; --ink: #f6eee4; --link: #ffd0b8;
  --accent: #b82c29; --edge: #8f211f; --banner-ink: #f7e8cf; --display: 'UnifrakturMaguntia', Georgia, serif;
}
.theme-scene {
  --pattern: repeating-conic-gradient(#19161c 0 25%, #3a3340 0 50%) 0 0 / 24px 24px;
  --pattern-alt: repeating-linear-gradient(115deg, #08080b 0 8px, #454048 8px 12px, #08080b 12px 19px);
  --panel: rgba(19, 15, 21, .97); --cell: #2f222d; --ink: #fff5fb; --link: #ffbfe7;
  --accent: #ff55b4; --edge: #e04a9d; --banner-ink: #ffe3f6; --display: 'Permanent Marker', cursive;
}
.theme-bling {
  --pattern: repeating-linear-gradient(45deg, transparent 0 22px, #7c633a 23px 24px, transparent 25px 48px), repeating-linear-gradient(-45deg, #1e1639 0 22px, #7c633a 23px 24px, #1e1639 25px 48px);
  --pattern-alt: repeating-linear-gradient(45deg, transparent 0 16px, #79633a 17px 18px, transparent 19px 36px), repeating-linear-gradient(-45deg, #111d35 0 16px, #79633a 17px 18px, #111d35 19px 36px);
  --panel: rgba(24, 18, 40, .97); --cell: #342a41; --ink: #fff6dd; --link: #ffe39a;
  --accent: #f0c760; --edge: #b99346; --banner-ink: #ffe7a3; --display: 'Bungee', sans-serif;
}
.theme-rave {
  --pattern: repeating-linear-gradient(0deg, transparent 0 31px, #144e55 32px 33px), repeating-linear-gradient(90deg, #071419 0 31px, #144e55 32px 33px);
  --pattern-alt: repeating-linear-gradient(0deg, #071014 0 3px, #163934 4px, #071014 5px 8px);
  --panel: rgba(5, 17, 20, .97); --cell: #123137; --ink: #f0fff9; --link: #b8ffe5;
  --accent: #67f9bb; --edge: #1cb1a0; --banner-ink: #ceffdb; --display: 'VT323', monospace;
}
.theme-zine {
  --pattern: radial-gradient(#d4b6a2 1px, transparent 1px) 0 0 / 15px 15px, #f0e1d2;
  --pattern-alt: repeating-linear-gradient(0deg, #f1e5dc 0 26px, #d7c4b7 27px, #f1e5dc 28px);
  --panel: rgba(255, 250, 241, .97); --cell: #f2e3d6; --ink: #332729; --link: #783437;
  --accent: #9d5556; --edge: #a36d69; --banner-ink: #583037; --display: 'Special Elite', monospace;
}
.theme-roadhouse {
  --pattern: repeating-linear-gradient(90deg, #704834 0 2px, #5b392d 3px 35px, #79513a 36px 38px);
  --pattern-alt: repeating-linear-gradient(0deg, #5a382a 0 3px, #714b35 4px 31px, #4c3027 32px 34px);
  --panel: rgba(255, 242, 211, .97); --cell: #efdbb5; --ink: #3f261c; --link: #71341f;
  --accent: #9f3f28; --edge: #794a31; --banner-ink: #57321f; --display: 'Rye', Georgia, serif;
}
.theme-sparkle {
  --pattern: radial-gradient(ellipse 16px 9px at 28px 40px, #fff 98%, transparent) 0 0 / 120px 84px, radial-gradient(ellipse 19px 14px at 43px 35px, #fff 98%, transparent) 0 0 / 120px 84px, radial-gradient(ellipse 16px 9px at 58px 40px, #fff 98%, transparent) 0 0 / 120px 84px, #a6d7ef;
  --pattern-alt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='42'%3E%3Cpath d='M21 32C18 29 10 23 10 17c0-5 7-7 11-2 4-5 11-3 11 2 0 6-8 12-11 15z' fill='%23eea4c7'/%3E%3C/svg%3E") 0 0 / 42px 42px, #b7e3f3;
  --panel: rgba(255, 250, 253, .97); --cell: #f8e4ef; --ink: #402b3b; --link: #8b275c;
  --accent: #d53d89; --edge: #d06a9e; --banner-ink: #8a235e; --display: 'Pacifico', cursive;
}
.theme-lounge {
  --pattern: repeating-linear-gradient(90deg, transparent 0 29px, #8d7448 30px 31px, transparent 32px 59px), repeating-linear-gradient(0deg, #182724 0 29px, #8d7448 30px 31px, #182724 32px 59px);
  --pattern-alt: repeating-linear-gradient(135deg, #1a2630 0 18px, #8f7548 19px 20px, #1a2630 21px 40px);
  --panel: rgba(19, 33, 30, .97); --cell: #2c3c35; --ink: #fff6df; --link: #ffe1a1;
  --accent: #dcbf7c; --edge: #b5985f; --banner-ink: #fce5b0; --display: 'Cinzel Decorative', Georgia, serif;
}
.variation-0, .variation-2 { --selected-pattern: var(--pattern); }
.variation-1, .variation-3 { --selected-pattern: var(--pattern-alt); }
.theme-metal.variation-1 { --accent: #db6f39; --edge: #a33b29; --display: 'Metal Mania', serif; }
.theme-metal.variation-2 { --accent: #aeb1a7; --edge: #a24740; }
.theme-metal.variation-3 { --accent: #cc3e49; --edge: #b34045; --display: 'Metal Mania', serif; }
.theme-scene.variation-1 { --accent: #48e7d5; --edge: #39b8b5; --display: 'Rock Salt', cursive; }
.theme-scene.variation-2 { --accent: #f5bc55; --edge: #d39648; }
.theme-scene.variation-3 { --accent: #e88eff; --edge: #bb71ca; --display: 'Rock Salt', cursive; }
.theme-bling.variation-1 { --accent: #e4d7ac; --edge: #af9b70; --display: 'Rubik Mono One', sans-serif; }
.theme-bling.variation-2 { --accent: #f1a961; --edge: #c08a50; }
.theme-bling.variation-3 { --accent: #c8d8fa; --edge: #8298bf; --display: 'Rubik Mono One', sans-serif; }
.theme-rave.variation-1 { --accent: #fb82dc; --edge: #c552b9; --display: 'Press Start 2P', monospace; }
.theme-rave.variation-2 { --accent: #b3f070; --edge: #70aa54; }
.theme-rave.variation-3 { --accent: #6ee5ff; --edge: #4a9fd0; --display: 'Press Start 2P', monospace; }
.theme-zine.variation-1 { --accent: #5e826d; --edge: #7a9982; --display: 'Patrick Hand', cursive; }
.theme-zine.variation-2 { --accent: #936c86; --edge: #a37b8b; }
.theme-zine.variation-3 { --accent: #a46a38; --edge: #b48861; --display: 'Patrick Hand', cursive; }
.theme-roadhouse.variation-1 { --accent: #4f6339; --edge: #65754e; --display: 'Alfa Slab One', Georgia, serif; }
.theme-roadhouse.variation-2 { --accent: #8c5232; --edge: #946b42; }
.theme-roadhouse.variation-3 { --accent: #6c4c4d; --edge: #865e57; --display: 'Alfa Slab One', Georgia, serif; }
.theme-sparkle.variation-1 { --accent: #8e5aa4; --edge: #9e75b5; --display: 'Lobster', cursive; }
.theme-sparkle.variation-2 { --accent: #d36273; --edge: #cb7181; }
.theme-sparkle.variation-3 { --accent: #397a9b; --edge: #648fac; --display: 'Lobster', cursive; }
.theme-lounge.variation-1 { --accent: #e0ba83; --edge: #bb9972; --display: 'Bodoni Moda', Georgia, serif; }
.theme-lounge.variation-2 { --accent: #d7ac6a; --edge: #aa8959; }
.theme-lounge.variation-3 { --accent: #d9cea1; --edge: #a49b75; --display: 'Bodoni Moda', Georgia, serif; }

.logo-tile { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; aspect-ratio: 1; border: 2px solid var(--edge); background: var(--selected-pattern); color: var(--banner-ink); text-align: center; }
.logo-tile::before { position: absolute; inset: 8%; content: ''; border: 1px solid var(--accent); background: var(--panel); }
.logo-name { position: relative; z-index: 1; max-width: 90%; padding: 5px; font: 700 18px/1.1 var(--display); overflow-wrap: normal; }
.logo-tile img { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.top-person .logo-tile { width: 74px; max-width: 100%; margin: 0 auto; }
.top-person .logo-name { font-size: 12px; }
.logo-tile.theme-bling .logo-name { font-size: 13px; }
.top-person .logo-tile.theme-bling .logo-name { font-size: 9px; }
.logo-tile.theme-rave.variation-1 .logo-name, .logo-tile.theme-rave.variation-3 .logo-name { font-size: 10px; line-height: 1.3; }
.top-person .logo-tile.theme-rave .logo-name { font-size: 8px; }
.genre-theme { min-width: 0; padding: 4px 6px; border-left: 3px solid var(--genre-accent); background: #eef5fc; color: #003399; }
.genre-theme a { color: #003399; }
.genre-theme .genre-count { color: #666; }
.genre-theme:hover { background: #dbe9f7; }
.genre-theme.theme-metal { --genre-accent: #a12320; }
.genre-theme.theme-scene { --genre-accent: #a51c6c; }
.genre-theme.theme-bling { --genre-accent: #806000; }
.genre-theme.theme-rave { --genre-accent: #067361; }
.genre-theme.theme-zine { --genre-accent: #914c50; }
.genre-theme.theme-roadhouse { --genre-accent: #8a3b26; }
.genre-theme.theme-sparkle { --genre-accent: #a11e5e; }
.genre-theme.theme-lounge { --genre-accent: #786127; }

.band-page { margin: 0 -15px -22px; padding: 0 15px 22px; background: var(--selected-pattern); color: var(--ink); }
.band-page .page-path { display: inline-block; margin: 7px 0; padding: 4px 7px; background: var(--panel); color: var(--ink); }
.band-page a { color: var(--link); }
.band-banner { position: relative; min-height: 155px; margin: 0 0 15px; padding: 17px 16px 20px; border: 4px double var(--accent); background: linear-gradient(var(--panel), var(--panel)), var(--selected-pattern); color: var(--ink); text-align: center; }
.band-banner::before, .band-banner::after { position: absolute; top: 10px; color: var(--accent); content: '✦'; font-size: 21px; }
.band-banner::before { left: 13px; }
.band-banner::after { right: 13px; }
.band-banner h1 { margin: 8px 0; color: var(--banner-ink); font: 700 clamp(28px, 5vw, 48px)/1.12 var(--display); overflow-wrap: anywhere; }
.banner-ornament { color: var(--ink); font-size: 9px; font-weight: bold; letter-spacing: 3px; }
.banner-meta { color: var(--ink); font-size: 11px; line-height: 1.5; }
.profile-identity { margin-bottom: 14px; border: 2px solid var(--edge); padding: 9px; background: var(--panel); }
.profile-identity h2 { margin: 0 0 10px; color: var(--banner-ink); font: 700 22px/1.2 var(--display); overflow-wrap: anywhere; }
.artist-photo { max-width: 55%; }
.artist-label { color: var(--ink); }
.artist-label p { margin: 8px 0; }
.login-badge { display: inline-block; border: 1px solid var(--edge); padding: 3px 4px; background: var(--cell); color: var(--ink); font-size: 9px; font-weight: bold; }
.band-page .profile-facts { margin-bottom: 0; color: var(--ink); }
.band-page .classic-box { border-color: var(--edge); background: var(--panel); color: var(--ink); }
.band-page .classic-box > h2 { border-bottom: 1px solid var(--edge); background: var(--cell); color: var(--ink); font: 700 17px/1.2 var(--display); }
.theme-rave.variation-1.band-page .classic-box > h2, .theme-rave.variation-3.band-page .classic-box > h2 { font-size: 12px; line-height: 1.4; }
.band-page .contact-grid button, .band-page .contact-grid a { color: var(--link); }
.band-page .contact-grid b { color: var(--link); }
.band-page .disabled-contact { color: var(--ink); opacity: .75; }
.band-page .details-table th, .band-page .comment-table th { background: var(--cell); color: var(--ink); }
.band-page .details-table td, .band-page .comment-table td { background: var(--panel); color: var(--ink); }
.band-page .comment-table th small, .band-page .person-note, .band-page .person-note span { color: var(--ink); }
.band-page .network-banner, .band-page .genre-radio-label { border: 2px solid var(--edge); padding: 12px 8px; background: var(--panel); color: var(--ink); }
.band-page .genre-radio-label { padding: 5px 8px; }
.band-page .first-message, .band-page #note-message, .band-page #report-message { color: var(--ink); }
.theme-scene.band-page .band-banner h1, .theme-sparkle.band-page .band-banner h1 { text-shadow: 1px 1px 0 var(--accent), -1px -1px 0 var(--accent), 2px -2px 0 #fff; }
.theme-zine.band-page .artist-photo { overflow: visible; transform: rotate(-3deg); border: 7px solid #fff; border-bottom-width: 18px; box-shadow: 1px 3px 5px #8b7267; }
.theme-zine.band-page .artist-photo::after { position: absolute; z-index: 3; top: -11px; width: 52px; height: 14px; background: rgba(213, 190, 153, .8); content: ''; transform: rotate(4deg); }
.theme-rave.band-page .band-banner { animation: neon-shift 12s ease-in-out infinite alternate; }
@keyframes neon-shift { from { box-shadow: inset 0 0 18px #26d9a2; } to { box-shadow: inset 0 0 18px #e052db; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; } }
@media (max-width: 819px) { .band-banner { min-height: 135px; } }
@media (max-width: 500px) { .band-page { margin-left: -12px; margin-right: -12px; padding-left: 12px; padding-right: 12px; } }
