/* Musique Kabyle — feuille de style (site + administration locale) */
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bebas Neue"; src: url("fonts/bebas-neue-latin-400-normal.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bebas Neue"; src: url("fonts/bebas-neue-latin-ext-400-normal.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light;
  --bg: #f1f0e0; --bg-2: #e6e4c6; --surface: #ffffff; --soft: rgba(255,255,255,.62); --text: #1b1710; --muted: #6b6748; --line: rgba(40,34,16,.13);
  --accent: #c9531c; --accent-2: #8a2f0e; --link: #1d6ea8; --nav: rgba(221,218,170,.82); --shadow: 0 8px 28px rgba(50,38,10,.14); --shadow-s: 0 2px 8px rgba(50,38,10,.12);
  --radius: 16px; --display: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif; --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1140px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #14110c; --bg-2: #1c1810; --surface: #1f1b13; --soft: rgba(255,255,255,.05); --text: #f0ead2; --muted: #a8a283; --line: rgba(255,255,255,.1);
  --accent: #ec7640; --accent-2: #b84a1b; --link: #6db4e6; --nav: rgba(26,22,15,.86); --shadow: 0 8px 28px rgba(0,0,0,.5); --shadow-s: 0 2px 8px rgba(0,0,0,.4);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  color-scheme: dark;
  --bg: #14110c; --bg-2: #1c1810; --surface: #1f1b13; --soft: rgba(255,255,255,.05); --text: #f0ead2; --muted: #a8a283; --line: rgba(255,255,255,.1);
  --accent: #ec7640; --accent-2: #b84a1b; --link: #6db4e6; --nav: rgba(26,22,15,.86); --shadow: 0 8px 28px rgba(0,0,0,.5); --shadow-s: 0 2px 8px rgba(0,0,0,.4);
} }

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 15px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 1rem/1.6 var(--body); color: var(--text); background: var(--bg); min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1; padding-bottom: 3.5rem; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .02em; line-height: 1.06; margin: 0 0 .4em; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(14px, 3vw, 24px); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { top: 8px; }

/* ── Bannière ───────────────────────────────────────────── */
.banner { position: relative; max-width: var(--wrap); margin: clamp(8px, 2vw, 16px) auto 0; width: calc(100% - clamp(16px, 4vw, 32px)); aspect-ratio: 1600 / 340;
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.35), inset 0 0 0 1px rgba(0,0,0,.2); background: #8a8750; }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.banner::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 40px rgba(255,255,230,.35); pointer-events: none; }
.logo { position: absolute; left: 0; right: 0; top: 53%; display: flex; flex-direction: column; align-items: center; text-decoration: none !important; z-index: 2; }
.logo .tagline { font-family: var(--display); font-size: clamp(.78rem, 1.7vw, 1.15rem); letter-spacing: .09em; color: #1a0d05; text-transform: lowercase; margin-bottom: -.1em; }
.wordmark { position: relative; display: flex; align-items: center; gap: 0; font-family: var(--display); font-size: clamp(1.9rem, 6.2vw, 4.1rem); line-height: .95; letter-spacing: .01em; text-shadow: 0 0 14px rgba(255,214,150,.35); white-space: nowrap; }
.wordmark b { font-weight: 400; color: #eae6b4; }
.wordmark em { font-style: normal; color: #0f0d09; text-shadow: 0 1px 0 rgba(255,220,170,.25); }
.wordmark svg { position: absolute; right: 100%; top: 50%; width: .72em; height: .72em; margin: -.36em .18em 0 0; fill: #0f0d09; }
.wordmark.refl { position: absolute; top: calc(100% + .05em); transform: scaleY(-1); opacity: .13; filter: blur(.5px); pointer-events: none; mask-image: linear-gradient(to bottom, transparent 40%, #000); -webkit-mask-image: linear-gradient(to bottom, transparent 40%, #000); }
.logo { overflow: visible; }

/* ── Navigation ─────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 30; margin-top: clamp(8px, 2vw, 14px); }
.nav-in { max-width: var(--wrap); width: calc(100% - clamp(16px, 4vw, 32px)); margin: 0 auto; padding: 6px 8px; display: flex; align-items: center; gap: 8px; background: var(--nav);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-s); position: relative; }
.menu { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.menu a { display: block; padding: 6px 12px; border-radius: 999px; color: var(--text); font-weight: 600; font-size: .83rem; text-decoration: none; transition: background .15s, color .15s; white-space: nowrap; }
.menu a:hover { background: var(--soft); }
.menu a.on { background: var(--text); color: var(--bg); }
.burger { display: none; background: none; border: 0; font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 6px 10px; border-radius: 999px; }
.quick { margin-left: auto; position: relative; flex: 0 1 220px; }
.quick input { width: 100%; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--soft); font-size: .83rem; }
.suggest { position: absolute; right: 0; top: calc(100% + 8px); width: 320px; max-width: 86vw; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); list-style: none; margin: 0; padding: 6px; z-index: 40; }
.suggest a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 9px; color: var(--text); text-decoration: none; font-size: .86rem; }
.suggest a:hover, .suggest a.hl { background: var(--bg-2); }
.suggest small { color: var(--muted); }
.suggest .grp { padding: 6px 10px 2px; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.theme svg { width: 16px; height: 16px; margin: auto; fill: currentColor; stroke: currentColor; stroke-width: 2; }
.theme { display: grid; place-items: center; padding: 0; border: 1px solid var(--line); background: var(--soft); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: .95rem; line-height: 1; flex: none; }

/* ── Intro ──────────────────────────────────────────────── */
.intro { padding-top: clamp(22px, 4vw, 40px); }
.kicker { font-family: var(--display); letter-spacing: .14em; color: var(--accent); margin: 0 0 4px; text-transform: uppercase; font-size: 1rem; }
.intro h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); max-width: 22ch; }
.bigsearch { display: flex; gap: 8px; max-width: 600px; margin: 16px 0 12px; }
.bigsearch input { flex: 1; min-width: 0; padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--text); background: var(--surface); font-size: .95rem; }
.btn, .bigsearch button { background: linear-gradient(180deg, var(--accent), var(--accent-2)); color: #fff; border: 0; border-radius: 999px; padding: 9px 20px; font: 600 .86rem var(--body); cursor: pointer; display: inline-block; text-decoration: none; box-shadow: 0 3px 10px rgba(138,47,14,.3); transition: filter .15s, transform .15s; }
.btn:hover, .bigsearch button:hover { filter: brightness(1.08); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text); }
.btn.danger { background: #a3221a; }
.btn.sm { padding: 6px 14px; font-size: .8rem; }
.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 0; margin: 4px 0 10px; color: var(--muted); font-size: .86rem; }
.stats b { font-family: var(--display); font-weight: 400; font-size: 1.55rem; color: var(--text); margin-right: 4px; letter-spacing: .02em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.chip { display: inline-block; padding: 3px 11px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); color: var(--text); font-size: .76rem; font-weight: 600; text-decoration: none; transition: background .15s, color .15s; }
a.chip:hover { background: var(--text); color: var(--bg); text-decoration: none; }
.chip small { opacity: .6; margin-left: 3px; }
.chip.warn { background: #ffe6b5; border-color: #d8a24a; color: #6b3d00; font-size: .68rem; padding: 1px 8px; }
.chip.ok { background: #d6ecc5; border-color: #8cb86c; color: #2f5a14; }
.chips.big .chip { font-family: var(--display); font-size: 1.15rem; font-weight: 400; padding: 3px 16px; letter-spacing: .04em; }

/* ── Rails ──────────────────────────────────────────────── */
.rail { margin-top: clamp(26px, 4vw, 40px); content-visibility: auto; contain-intrinsic-size: auto 300px; }
.rail-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 10px; }
.rail-head h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin: 0; }
.rail-head > a { font-size: .8rem; font-weight: 600; }
.arrows { margin-left: auto; display: flex; gap: 6px; }
.arrows button { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--text); background: transparent; font-size: 1rem; line-height: 1; cursor: pointer; }
.arrows button:hover { background: var(--text); color: var(--bg); }
.rail-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding: 6px 2px 14px; scrollbar-width: thin; overscroll-behavior-x: contain; }
.rail-track > .card { flex: 0 0 148px; scroll-snap-align: start; }

/* ── Cartes ─────────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 22px 16px; }
.grid.small { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.grid.albums { grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); }
.card { display: block; color: var(--text); text-decoration: none !important; text-align: left; transition: transform .2s ease; }
.card:hover { transform: translateY(-3px); }
.card.alb { text-align: left; }
.card-body { padding: 10px 2px 0; }
.card h3 { font-size: 1.15rem; margin: 0; letter-spacing: .015em; }
.card .meta { margin: 1px 0 0; font-size: .76rem; color: var(--muted); font-weight: 500; }
.card .sub { margin: 1px 0 0; font-size: .74rem; color: var(--accent); font-weight: 500; }
.card.alb h3 { font-family: var(--body); font-weight: 650; font-size: .88rem; letter-spacing: 0; line-height: 1.3; }

/* Avatars d'artistes : pastille ronde, dégradé duotone, reflet doux */
.avatar { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; display: block; width: 100%; isolation: isolate; box-shadow: var(--shadow-s); transition: box-shadow .2s;
  background: radial-gradient(110% 90% at 15% 0, rgba(255,255,255,.34), transparent 55%), linear-gradient(150deg, var(--p1), var(--p2)); }
.avatar::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; right: -22%; bottom: -22%; z-index: -1; border: 1px solid rgba(255,255,255,.28); box-shadow: 0 0 0 14px rgba(255,255,255,.06), 0 0 0 28px rgba(255,255,255,.04); }
.avatar:has(img)::before { display: none; }
.card:hover .avatar { box-shadow: var(--shadow); }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar .ini { position: absolute; left: 10%; bottom: 8%; font-family: var(--display); font-size: clamp(2.2rem, 5vw, 3rem); line-height: .9; letter-spacing: .04em; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.25); }
.avatar.big { max-width: 240px; border-radius: 16px; box-shadow: var(--shadow); }
.avatar.big .ini { font-size: 4.6rem; }
.avatar .chip { position: absolute; top: 8px; right: 8px; white-space: nowrap; z-index: 2; }
.p0 { --p1: #ff9d6c; --p2: #c2410c; } .p1 { --p1: #9dbb8b; --p2: #355c43; } .p2 { --p1: #8e9bff; --p2: #2c3180; } .p3 { --p1: #62c7cf; --p2: #0e5a70; }
.p4 { --p1: #f7c85c; --p2: #b0540a; } .p5 { --p1: #e08ab8; --p2: #5f2459; } .p6 { --p1: #9fb0c6; --p2: #1f2a3d; } .p7 { --p1: #e8b79c; --p2: #7a3526; }

/* Pochettes d'albums : carré + disque vinyle qui dépasse */
.cover { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-s); isolation: isolate;
  background: radial-gradient(110% 90% at 15% 0, rgba(255,255,255,.34), transparent 55%), linear-gradient(150deg, var(--p1), var(--p2)); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover.ph::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; right: -26%; bottom: -26%; z-index: -1;
  background: radial-gradient(circle, var(--p2) 0 12%, #0e0c09 12.5% 14%, #1d1a14 14.5% 30%, #0e0c09 30.5% 32%, #1d1a14 32.5% 55%, #0e0c09 55.5% 57%, #1d1a14 57.5%); opacity: .85; }
.cover.ph .t { position: absolute; left: 10%; top: 9%; right: 38%; font-family: var(--display); font-size: clamp(1.05rem, 2.4vw, 1.5rem); line-height: 1; letter-spacing: .03em; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.25); overflow-wrap: anywhere; }
.cover.big { max-width: 300px; border-radius: 16px; box-shadow: var(--shadow); }
.cover.big.ph .t { font-size: 2.1rem; }

/* ── Explorer ───────────────────────────────────────────── */
.page-title { font-size: clamp(2rem, 4.6vw, 3.2rem); margin: clamp(22px, 4vw, 36px) 0 12px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: var(--soft); border: 1px solid var(--line); padding: 10px; border-radius: var(--radius); margin-bottom: 10px; }
.filters input, .filters select, .form input, .form select, .form textarea, .panel input, .panel select, .panel textarea { padding: 7px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: .88rem; max-width: 100%; }
.filters input[type=search] { flex: 1 1 180px; }
.reset { font-size: .8rem; margin-left: auto; }
.count { color: var(--muted); font-weight: 600; font-size: .82rem; margin: 6px 0 12px; }
.empty { padding: 36px 0; color: var(--muted); }
.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 26px 0 0; font-weight: 600; font-size: .86rem; }

/* ── Fiches ─────────────────────────────────────────────── */
.artist { padding-top: 18px; }
.back { font-weight: 600; font-size: .82rem; }
.artist-head { display: grid; grid-template-columns: 220px 1fr; gap: clamp(18px, 4vw, 38px); margin: 16px 0 22px; align-items: center; }
.artist-head.alb { grid-template-columns: 260px 1fr; align-items: end; }
.artist h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); margin: 0; }
.aliases { color: var(--muted); margin: 2px 0; font-size: .9rem; }
.dates { margin: 6px 0 2px; color: var(--muted); font-size: .88rem; }
.dates b { color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.bio, .sources, .tracks { max-width: 720px; }
.bio h2, .sources h2, .tracks h2, .prose h2 { font-size: 1.65rem; margin-top: 22px; }
.bio p { font-size: 1rem; line-height: 1.75; }
.sources ul { padding-left: 18px; font-size: .9rem; }
.tracks ol { padding-left: 1.4em; margin: 0; } .tracks li { padding: 5px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.prevnext { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 600; font-size: .86rem; }
.prose { max-width: 780px; }
.prose p, .prose li { font-size: .98rem; }
.namelist { columns: 3 190px; list-style: none; padding: 0; font-size: .9rem; }
.namelist li { padding: 2px 0; break-inside: avoid; } .namelist small { color: var(--muted); }
.flash { max-width: var(--wrap); margin: 12px auto 0; padding: 10px 14px; border-radius: 10px; background: #e3edc9; border: 1px solid #a8c27c; font-weight: 600; font-size: .88rem; color: #1b2a0b; }
.flash.error { background: #fbd9d3; border-color: #d98a7f; color: #4a110a; } .flash.warn { background: #ffe9c2; border-color: #d8a24a; color: #4a2c00; }
.artist .flash { margin-left: 0; margin-right: 0; }

/* ── Pied de page ───────────────────────────────────────── */
.foot { background: #1a160f; color: #cfc9ac; margin-top: auto; }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 28px clamp(14px, 3vw, 24px); display: flex; gap: 48px; flex-wrap: wrap; }
.foot h4 { font-family: var(--display); font-weight: 400; font-size: 1.15rem; letter-spacing: .08em; color: #f3ecd0; margin: 0 0 6px; }
.foot a { display: block; color: #86bfe4; padding: 2px 0; font-size: .85rem; }

/* ── Administration locale ──────────────────────────────── */
body.admin { background: var(--bg); }
.admin-bar { background: linear-gradient(90deg, #1a160f, #3a1a0b); color: #f3ecd0; display: flex; align-items: center; gap: 18px; padding: 8px 20px; flex-wrap: wrap; position: sticky; top: 0; z-index: 20; }
.admin-brand { font-family: var(--display); font-size: 1.5rem; letter-spacing: .05em; color: #f3ecd0; text-decoration: none !important; display: inline-flex; align-items: center; gap: 6px; }
.admin-brand i { color: var(--accent); font-style: normal; } .admin-brand em { font-style: normal; color: #ffd9a8; }
.admin-brand small { font: 600 .65rem var(--body); background: var(--accent); padding: 2px 8px; border-radius: 999px; letter-spacing: 0; color: #fff; }
.admin-bar nav { display: flex; gap: 2px; flex-wrap: wrap; }
.admin-bar nav a, .admin-bar .linkbtn { color: #ece4c2; padding: 5px 11px; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.admin-bar nav a:hover { background: rgba(255,255,255,.12); text-decoration: none; } .admin-bar nav a.on { background: rgba(255,255,255,.2); }
.admin-bar .push { margin-left: auto; }
.linkbtn { background: none; border: 0; color: var(--link); font-weight: 600; font-size: .85rem; cursor: pointer; padding: 0; } .linkbtn.red { color: #c0392b; }
.admin-main { max-width: 1060px; margin: 0 auto; padding: 22px clamp(14px, 3vw, 24px) 60px; width: 100%; }
.admin-main h1 { font-size: 2.3rem; } .admin-main h1 small { font: 600 .95rem var(--body); color: var(--muted); } .admin-main h2 { font-size: 1.5rem; }
.head-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-s); margin: 14px 0; }
.panel.narrow { max-width: 420px; margin: 8vh auto; display: grid; gap: 14px; }
.panel.inline { display: flex; gap: 8px; flex-wrap: wrap; } .panel.inline input { flex: 1 1 180px; }
.panel.danger { background: rgba(163,34,26,.08); border-color: rgba(163,34,26,.35); }
.panel.danger.row { display: flex; justify-content: flex-end; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 14px 0; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; color: var(--muted); font-weight: 600; font-size: .82rem; text-decoration: none !important; display: block; box-shadow: var(--shadow-s); }
.kpi b { display: block; font: 400 2.3rem var(--display); color: var(--accent); line-height: 1; } a.kpi:hover { transform: translateY(-2px); }
.tbl { width: 100%; border-collapse: collapse; font-size: .88rem; } .tbl td, .tbl th { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.tbl th { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tbl.full { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); }
.tbl td.row-actions { text-align: right; white-space: nowrap; } .tbl td.row-actions > * { margin-left: 12px; }
.muted { color: var(--muted); font-size: .85rem; }
.form { display: grid; gap: 14px; } .form label, .panel.narrow label { display: grid; gap: 4px; font-weight: 600; font-size: .82rem; }
.form label small, .panel label small { font-weight: 400; color: var(--muted); } .form textarea { resize: vertical; line-height: 1.5; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .cols .span2 { grid-column: span 2; }
.check { display: flex !important; align-items: center; gap: 8px; font-weight: 600; } .check input { width: auto; }
.checks { display: flex; gap: 22px; flex-wrap: wrap; }
.photo-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; } .photo-row img { border-radius: 12px; object-fit: cover; width: 84px; height: 84px; }
.dirty { background: #ffe9c2; border: 1px solid #d8a24a; color: #4a2c00; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: .86rem; margin: 10px 0; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: .86rem; z-index: 100; box-shadow: var(--shadow); }
.pw-meter { height: 5px; border-radius: 5px; background: var(--line); overflow: hidden; } .pw-meter i { display: block; height: 100%; width: 0; background: #c0392b; transition: width .2s, background .2s; }
.preview-row { display: flex; gap: 16px; align-items: center; padding: 10px; background: var(--soft); border: 1px dashed var(--line); border-radius: 12px; }
.preview-row .card { width: 130px; flex: none; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .burger { display: block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--line); padding: 8px; border-radius: 18px; box-shadow: var(--shadow); flex-direction: column; }
  .menu.open { display: flex; } .menu a { padding: 10px 14px; font-size: .92rem; }
  .quick { flex: 1; }
}
@media (max-width: 680px) {
  .artist-head, .artist-head.alb { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 14px; }
  .artist-head .chips, .artist-head .actions { justify-content: center; }
  .cols, .cols .span2 { grid-template-columns: 1fr; grid-column: auto; }
  .rail-track > .card { flex-basis: 128px; } .arrows { display: none; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 18px 12px; } .grid.albums { grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); }
  .banner { aspect-ratio: 2 / 1; } .banner > img { object-position: 100% bottom; }
  .logo { top: 54%; }
  .reset { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; animation: none !important; } }

/* ── concerts ── */
.agenda { display: grid; gap: 8px; }
.month { font-family: var(--display); font-size: 1.5rem; letter-spacing: .04em; margin: 22px 0 4px; text-transform: capitalize; }
.event { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: var(--text); text-decoration: none !important; transition: transform .15s, box-shadow .15s; }
.event:hover { transform: translateY(-2px); box-shadow: var(--shadow-s); }
.event .when { display: grid; place-items: center; width: 64px; padding: 6px 0; border-radius: 10px; background: linear-gradient(150deg, var(--accent), var(--accent-2)); color: #fff; line-height: 1; text-align: center; }
.event .when b { font-family: var(--display); font-weight: 400; font-size: 1.9rem; }
.event .when span { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.event h3 { font-family: var(--body); font-weight: 650; font-size: .96rem; margin: 0; letter-spacing: 0; }
.event p { margin: 1px 0 0; color: var(--muted); font-size: .8rem; }
.event.past { opacity: .6; }
.event .chip { white-space: nowrap; }
.chip.st-complet, .chip.st-reporte { background: #ffe6b5; border-color: #d8a24a; color: #6b3d00; }
.chip.st-annule { background: #f6cfc6; border-color: #cf7a69; color: #6e1a0a; }
.chip.st-confirme { background: #d6ecc5; border-color: #8cb86c; color: #2f5a14; }
.evt-facts { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 4px; font-size: .92rem; }
.evt-facts b { display: inline-block; min-width: 76px; color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.evt-artists { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0; }
.sect-sm { margin-top: 28px; }
.namechips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
@media (max-width: 560px) { .event { grid-template-columns: 56px 1fr; } .event .when { width: 56px; } .event > .chip { grid-column: 2; justify-self: start; } }
.pick { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin: 0; } .pick legend { font-size: .82rem; font-weight: 600; padding: 0 6px; }
.pick-list { max-height: 190px; overflow: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2px 10px; margin-top: 6px; } .pick-list label[hidden] { display: none !important; }

[hidden] { display: none !important; }
.crumbs { font-size: .78rem; color: var(--muted); margin: 14px 0 0; } .crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--accent); } .crumbs span { color: var(--text); font-weight: 600; }
.lead { color: var(--muted); max-width: 70ch; margin: 0 0 12px; font-size: .95rem; }
.seo-links { margin-top: 36px; } .seo-links h2 { font-size: 1.4rem; margin-top: 18px; }

.enrich { border: 1px dashed var(--line); border-radius: 12px; padding: 10px 12px; background: var(--soft); }
.cands fieldset, .prop .disc { border: 1px solid var(--line); border-radius: 10px; margin: 8px 0; padding: 6px 10px; } .cands legend, .prop legend { font-size: .78rem; font-weight: 700; padding: 0 6px; }
.cand { display: flex !important; gap: 10px; align-items: flex-start; padding: 6px 0; border-bottom: 1px solid var(--line); font-weight: 400 !important; cursor: pointer; } .cand:last-child { border: 0; }
.cand input { width: auto; margin-top: 12px; } .cand img, .cand .nopic { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; background: var(--bg-2); }
.cand span { display: block; font-size: .86rem; } .cand em { display: block; font-style: normal; color: var(--muted); font-size: .78rem; margin-top: 2px; }
.prop h3 { font-family: var(--body); font-size: .95rem; margin: 6px 0; } .prop .disc label { display: flex; padding: 2px 0; }
.flow { padding-left: 1.3em; } .flow li { margin: 6px 0; } details summary { cursor: pointer; font-weight: 600; font-size: .86rem; margin-top: 6px; }
