/* ==========================================================================
   THANX GOD RADIO PARIS — v3
   Fond : texture kraft en mosaïque
   Texte : #330000 (brun foncé) au lieu de crème
   Accent : rouge #FE0000 (logo)
   ========================================================================== */

:root {
    /* Image kraft en mosaïque - hébergée chez TGV */
    --tgr-kraft-url: url('https://www.thanxgod.com/v3/wp-content/uploads/2014/05/kraft2012_V2-1.png');

    /* Couleurs */
    --tgr-text:      #330000;           /* texte principal brun foncé */
    --tgr-text-dim:  #663333;           /* texte secondaire plus clair */
    --tgr-text-mute: #996666;           /* texte tertiaire */
    --tgr-red:       #FE0000;
    --tgr-red-dark:  #C80000;
    --tgr-black:     #000000;
    --tgr-white:     #FFFFFF;

    /* Surfaces translucides pour garder la texture kraft visible derrière */
    --tgr-surface:       rgba(255, 255, 255, 0.35);   /* carte claire semi-transparente */
    --tgr-surface-hover: rgba(255, 255, 255, 0.55);
    --tgr-surface-dark:  rgba(51, 0, 0, 0.06);        /* nuance sombre discrète */
    --tgr-border:        rgba(51, 0, 0, 0.2);
    --tgr-border-strong: rgba(51, 0, 0, 0.4);

    --tgr-accent-show: var(--tgr-red);

    /* Typographie */
    --tgr-font:      'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --tgr-font-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;

    --tgr-sticky-height: 80px;
    --tgr-header-height: 68px;
    --tgr-container: 1440px;
    --tgr-pad: clamp(16px, 3.5vw, 32px);
}

/* ==== RESET ==== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    /* Fond kraft en mosaïque */
    background-color: #d4bc8e;  /* fallback kraft beige si image ne charge pas */
    background-image: var(--tgr-kraft-url);
    background-repeat: repeat;
    background-size: auto;

    color: var(--tgr-text);
    font-family: var(--tgr-font);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    padding-bottom: calc(var(--tgr-sticky-height) + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color .15s; }
a:hover { color: var(--tgr-red); }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--tgr-red); color: var(--tgr-white); }

/* ==== HEADER ==== */
.tgr-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--tgr-pad);
    height: var(--tgr-header-height);
    background: var(--tgr-kraft-url), rgba(212, 188, 142, 0.92);
    background-repeat: repeat;
    backdrop-filter: saturate(140%);
    -webkit-backdrop-filter: saturate(140%);
    border-bottom: 2px solid var(--tgr-border-strong);
}

.tgr-logo { display: flex; align-items: center; }

.tgr-logo__img {
    height: 40px;
    width: auto;
    display: block;
}

.tgr-logo__text {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.tgr-nav { display: flex; gap: 0; }

.tgr-nav__link {
    font-family: var(--tgr-font);
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--tgr-text);
    padding: 10px 16px;
    position: relative;
    transition: color .15s;
}

.tgr-nav__link:hover { color: var(--tgr-red); }
.tgr-nav__link--active { color: var(--tgr-red); }

.tgr-nav__link--active::after {
    content: '';
    position: absolute;
    left: 16px; right: 16px;
    bottom: 4px;
    height: 2px;
    background: var(--tgr-red);
}

.tgr-nav-toggle {
    display: none;
    width: 32px; height: 32px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 4px;
}

.tgr-nav-toggle span {
    display: block;
    height: 2px;
    background: var(--tgr-red);
    transition: transform .3s, opacity .3s;
}

.tgr-nav-toggle--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tgr-nav-toggle--open span:nth-child(2) { opacity: 0; }
.tgr-nav-toggle--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
    .tgr-nav-toggle { display: flex; }
    .tgr-nav {
        position: fixed;
        top: var(--tgr-header-height);
        left: 0; right: 0;
        background-color: #d4bc8e;
        background-image: var(--tgr-kraft-url);
        background-repeat: repeat;
        border-bottom: 2px solid var(--tgr-red);
        flex-direction: column;
        padding: 12px 0;
        gap: 0;
        transform: translateY(-120%);
        transition: transform .3s cubic-bezier(.77,0,.175,1);
        visibility: hidden;
        pointer-events: none;
    }
    .tgr-nav--open {
        transform: translateY(0);
        visibility: visible;
        pointer-events: auto;
    }
    .tgr-nav__link {
        padding: 18px var(--tgr-pad);
        font-size: 16px;
        border-top: 1px solid var(--tgr-border);
    }
    .tgr-nav__link--active::after {
        left: var(--tgr-pad); right: auto; width: 40px; bottom: 10px;
    }
}

/* ==== MAIN ==== */
#tgr-main {
    max-width: var(--tgr-container);
    margin: 0 auto;
}

/* ==== HERO ==== */
.tgr-hero {
    position: relative;
    padding: clamp(48px, 10vh, 140px) var(--tgr-pad) clamp(60px, 10vh, 120px);
    border-bottom: 2px solid var(--tgr-border-strong);
}

.tgr-hero__content { max-width: 1200px; }

.tgr-hero__pretitle {
    font-family: var(--tgr-font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--tgr-red);
    margin-bottom: 32px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.tgr-hero__pretitle::before {
    content: '';
    display: inline-block;
    width: 10px; height: 10px;
    background: var(--tgr-red);
    box-shadow: 0 0 0 0 var(--tgr-red);
    animation: tgr-live-pulse 1.6s ease-out infinite;
}

@keyframes tgr-live-pulse {
    0%   { box-shadow: 0 0 0 0   rgba(254, 0, 0, 0.7); }
    70%  { box-shadow: 0 0 0 14px rgba(254, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0   rgba(254, 0, 0, 0); }
}

.tgr-hero__title {
    font-family: var(--tgr-font);
    font-weight: 900;
    font-size: clamp(52px, 13vw, 200px);
    line-height: 0.86;
    letter-spacing: -0.045em;
    text-transform: uppercase;
    color: var(--tgr-text);
    margin-bottom: 28px;
    font-stretch: 85%;
}

.tgr-hero__title-red {
    color: var(--tgr-red);
    display: block;
}

.tgr-hero__tagline {
    font-family: var(--tgr-font);
    font-size: clamp(16px, 1.6vw, 20px);
    font-weight: 500;
    color: var(--tgr-text-dim);
    max-width: 520px;
    margin-bottom: 48px;
}

/* ON AIR block */
.tgr-hero__now {
    display: inline-flex;
    flex-direction: column;
    background: var(--tgr-red);
    color: var(--tgr-white);
    padding: 24px 32px;
    max-width: 100%;
    position: relative;
}

.tgr-hero__now-label {
    font-family: var(--tgr-font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--tgr-white);
    margin-bottom: 8px;
    opacity: 0.85;
}

.tgr-hero__now-title {
    font-family: var(--tgr-font);
    font-weight: 900;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--tgr-white);
    margin-bottom: 10px;
    max-width: 640px;
}

.tgr-hero__now-meta {
    font-family: var(--tgr-font-mono);
    font-size: 12px;
    color: var(--tgr-white);
    letter-spacing: 0.08em;
    opacity: 0.8;
    margin-bottom: 20px;
}

.tgr-hero__listen {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    background: var(--tgr-text);
    color: var(--tgr-white);
    font-family: var(--tgr-font);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background .15s, color .15s;
    align-self: flex-start;
    border: 2px solid var(--tgr-text);
}

.tgr-hero__listen:hover {
    background: var(--tgr-white);
    color: var(--tgr-red);
}

.tgr-hero__listen-icon {
    width: 0; height: 0;
    border-style: solid;
    border-width: 7px 0 7px 10px;
    border-color: transparent transparent transparent currentColor;
    margin-left: 2px;
}

/* ==== SECTIONS ==== */
.tgr-section {
    padding: clamp(60px, 9vh, 100px) var(--tgr-pad);
    border-bottom: 1px solid var(--tgr-border);
}

.tgr-section:last-child { border-bottom: none; }

.tgr-section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--tgr-red);
}

.tgr-section__title {
    font-family: var(--tgr-font);
    font-weight: 900;
    font-size: clamp(32px, 5.5vw, 72px);
    line-height: 0.9;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--tgr-text);
    font-stretch: 90%;
}

.tgr-section__more {
    font-family: var(--tgr-font);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tgr-text);
    padding: 8px 14px;
    border: 1px solid var(--tgr-border-strong);
    background: var(--tgr-surface);
    transition: background .15s, color .15s, border-color .15s;
    flex-shrink: 0;
    line-height: 1;
}

.tgr-section__more:hover {
    background: var(--tgr-red);
    border-color: var(--tgr-red);
    color: var(--tgr-white);
}

/* ==== FEATURED ==== */
.tgr-featured {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--tgr-border-strong);
    border: 2px solid var(--tgr-red);
}

@media (max-width: 900px) {
    .tgr-featured { grid-template-columns: 1fr; }
}

.tgr-featured-card {
    --card-accent: var(--tgr-red);
    position: relative;
    overflow: hidden;
    background-color: #d4bc8e;
    background-image: var(--tgr-kraft-url);
    background-repeat: repeat;
    display: block;
    transition: filter .2s;
}

.tgr-featured-card:hover { filter: brightness(1.05); }

.tgr-featured-card__artwork {
    aspect-ratio: 1/1;
    background: rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
}

.tgr-featured-card__artwork img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2,.8,.2,1);
}

.tgr-featured-card:hover .tgr-featured-card__artwork img {
    transform: scale(1.03);
}

.tgr-featured-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; height: 100%;
    font-family: var(--tgr-font);
    font-weight: 900;
    font-size: clamp(64px, 12vw, 140px);
    color: var(--tgr-red);
    background: rgba(255, 255, 255, 0.25);
    letter-spacing: -0.04em;
    line-height: 1;
    text-transform: uppercase;
    font-stretch: 85%;
}

.tgr-featured-card__body {
    padding: 20px 24px 24px;
    border-top: 1px solid var(--tgr-border);
}

.tgr-featured-card__show {
    font-family: var(--tgr-font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--tgr-red);
    margin-bottom: 10px;
}

.tgr-featured-card__title {
    font-family: var(--tgr-font);
    font-weight: 900;
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    color: var(--tgr-text);
    text-transform: uppercase;
    font-stretch: 90%;
}

.tgr-featured-card__curator {
    font-family: var(--tgr-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--tgr-text-dim);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tgr-featured-card__duration {
    font-family: var(--tgr-font-mono);
    font-size: 11px;
    color: var(--tgr-text-mute);
    letter-spacing: 0.08em;
}

/* ==== GRID CARDS ==== */
.tgr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2px;
    background: var(--tgr-border-strong);
    border: 1px solid var(--tgr-border-strong);
}

.tgr-grid--archive { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.tgr-card {
    --card-accent: var(--tgr-red);
    display: flex;
    flex-direction: column;
    background: var(--tgr-surface);
    padding: 20px;
    transition: background .15s;
    min-height: 220px;
    position: relative;
}

.tgr-card:hover { background: var(--tgr-surface-hover); }

.tgr-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 0;
    height: 2px;
    background: var(--tgr-red);
    transition: width .3s cubic-bezier(.2,.8,.2,1);
}

.tgr-card:hover::before { width: 100%; }

.tgr-card__artwork {
    aspect-ratio: 1/1;
    width: 72px;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.tgr-card__artwork img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.tgr-card__placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--tgr-font);
    font-weight: 900;
    font-size: 22px;
    color: var(--tgr-red);
    background: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: -0.03em;
}

.tgr-card__show {
    font-family: var(--tgr-font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--tgr-red);
    margin-bottom: 8px;
}

.tgr-card__title {
    font-family: var(--tgr-font);
    font-weight: 900;
    font-size: 15px;
    line-height: 1.2;
    color: var(--tgr-text);
    flex: 1;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: -0.005em;
    font-stretch: 92%;
}

.tgr-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-family: var(--tgr-font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tgr-text-mute);
    padding-top: 12px;
    border-top: 1px solid var(--tgr-border);
}

/* ==== SKELETONS ==== */
.tgr-skeleton {
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.2) 0%,
        rgba(255,255,255,0.4) 50%,
        rgba(255,255,255,0.2) 100%
    );
    background-size: 200% 100%;
    animation: tgr-skel 1.4s linear infinite;
}
.tgr-skeleton--featured { aspect-ratio: 3/4; }
.tgr-skeleton--card     { min-height: 220px; }

@keyframes tgr-skel {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ==== PAGE HEADERS ==== */
.tgr-page { padding: clamp(48px, 9vh, 100px) var(--tgr-pad); }

.tgr-page__header {
    margin-bottom: 60px;
    max-width: 720px;
    border-bottom: 2px solid var(--tgr-red);
    padding-bottom: 32px;
}

.tgr-page__pretitle {
    font-family: var(--tgr-font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--tgr-red);
    margin-bottom: 20px;
    font-weight: 600;
}

.tgr-page__title {
    font-family: var(--tgr-font);
    font-weight: 900;
    font-size: clamp(56px, 10vw, 144px);
    line-height: 0.86;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--tgr-text);
    margin-bottom: 24px;
    font-stretch: 85%;
}

.tgr-page__intro {
    font-family: var(--tgr-font);
    font-size: clamp(15px, 1.4vw, 17px);
    font-weight: 500;
    color: var(--tgr-text-dim);
    max-width: 560px;
    line-height: 1.5;
}

/* ==== SCHEDULE ==== */
.tgr-schedule { display: flex; flex-direction: column; }

.tgr-schedule__day {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    padding: 28px 0;
    border-top: 1px solid var(--tgr-border);
}

.tgr-schedule__day:first-child { border-top: none; }

.tgr-schedule__day--today {
    background: var(--tgr-red);
    color: var(--tgr-white);
    margin: 0 calc(var(--tgr-pad) * -1);
    padding-left: var(--tgr-pad);
    padding-right: var(--tgr-pad);
}

.tgr-schedule__day-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: sticky;
    top: calc(var(--tgr-header-height) + 20px);
    align-self: flex-start;
}

.tgr-schedule__day--today .tgr-schedule__day-label { position: static; }

.tgr-schedule__day-num {
    font-family: var(--tgr-font-mono);
    font-size: 11px;
    color: var(--tgr-text-mute);
    letter-spacing: 0.2em;
}

.tgr-schedule__day--today .tgr-schedule__day-num {
    color: var(--tgr-white);
    opacity: 0.7;
}

.tgr-schedule__day-name {
    font-family: var(--tgr-font);
    font-weight: 900;
    font-size: clamp(28px, 3.5vw, 44px);
    line-height: 0.95;
    color: var(--tgr-text);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    font-stretch: 88%;
}

.tgr-schedule__day--today .tgr-schedule__day-name { color: var(--tgr-white); }

.tgr-schedule__today-tag {
    display: inline-block;
    width: fit-content;
    font-family: var(--tgr-font);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--tgr-red);
    background: var(--tgr-white);
    padding: 4px 8px;
    margin-top: 6px;
}

.tgr-schedule__slots { display: flex; flex-direction: column; }

.tgr-schedule__empty {
    font-family: var(--tgr-font);
    color: var(--tgr-text-mute);
    padding: 16px 0;
}

.tgr-slot {
    --slot-accent: var(--tgr-red);
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 32px;
    padding: 18px 0;
    border-top: 1px solid var(--tgr-border);
    align-items: baseline;
    transition: padding-left .15s;
}

.tgr-schedule__day--today .tgr-slot { border-color: rgba(255, 255, 255, 0.25); }
.tgr-slot:hover { padding-left: 8px; }

.tgr-slot__time {
    font-family: var(--tgr-font-mono);
    font-size: 13px;
    color: var(--tgr-text-dim);
}

.tgr-schedule__day--today .tgr-slot__time { color: rgba(255,255,255,0.85); }

.tgr-slot__start {
    color: var(--tgr-text);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.04em;
}

.tgr-schedule__day--today .tgr-slot__start { color: var(--tgr-white); }

.tgr-slot__end { color: var(--tgr-text-mute); }
.tgr-schedule__day--today .tgr-slot__end { color: rgba(255,255,255,0.6); }

.tgr-slot__type {
    font-family: var(--tgr-font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--slot-accent);
    margin-bottom: 6px;
    font-weight: 600;
}

.tgr-schedule__day--today .tgr-slot__type { color: var(--tgr-white); }

.tgr-slot__title {
    font-family: var(--tgr-font);
    font-weight: 900;
    font-size: 20px;
    line-height: 1.15;
    color: var(--tgr-text);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    font-stretch: 92%;
}

.tgr-schedule__day--today .tgr-slot__title { color: var(--tgr-white); }

@media (max-width: 720px) {
    .tgr-schedule__day { grid-template-columns: 1fr; gap: 20px; }
    .tgr-schedule__day-label { position: static; }
    .tgr-slot { grid-template-columns: 100px 1fr; gap: 16px; }
}

/* ==== MIX DETAIL ==== */
.tgr-mix {
    --tgr-mix-accent: var(--tgr-red);
    padding: 32px var(--tgr-pad) 80px;
}

.tgr-mix__back {
    font-family: var(--tgr-font);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tgr-text-dim);
    display: inline-block;
    margin-bottom: 32px;
    padding: 8px 12px;
    border: 1px solid var(--tgr-border-strong);
    background: var(--tgr-surface);
    transition: color .15s, border-color .15s;
}

.tgr-mix__back:hover {
    color: var(--tgr-red);
    border-color: var(--tgr-red);
}

.tgr-mix__top {
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 48px;
}

@media (max-width: 820px) {
    .tgr-mix__top { grid-template-columns: 1fr; gap: 28px; }
}

.tgr-mix__artwork {
    aspect-ratio: 1/1;
    background: var(--tgr-surface);
    border: 1px solid var(--tgr-border);
    overflow: hidden;
    position: relative;
}

.tgr-mix__artwork img { width: 100%; height: 100%; object-fit: cover; }

.tgr-mix__artwork-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--tgr-font);
    font-weight: 900;
    font-size: clamp(80px, 14vw, 180px);
    color: var(--tgr-red);
    background: rgba(255,255,255,0.15);
    text-transform: uppercase;
    letter-spacing: -0.04em;
    line-height: 1;
    font-stretch: 85%;
}

.tgr-mix__show {
    font-family: var(--tgr-font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--tgr-red);
    margin-bottom: 16px;
}

.tgr-mix__title {
    font-family: var(--tgr-font);
    font-weight: 900;
    font-size: clamp(32px, 5.5vw, 68px);
    line-height: 0.9;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--tgr-text);
    margin-bottom: 28px;
    font-stretch: 88%;
}

.tgr-mix__curator {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 15px;
    color: var(--tgr-text);
    padding: 14px 0;
    border-bottom: 1px solid var(--tgr-border);
    margin-bottom: 16px;
    transition: color .15s;
    flex-wrap: wrap;
}

.tgr-mix__curator:hover { color: var(--tgr-red); }

.tgr-mix__curator-label {
    font-family: var(--tgr-font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--tgr-text-mute);
    font-weight: 600;
}

.tgr-mix__curator-name {
    font-family: var(--tgr-font);
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
}

.tgr-mix__curator-loc {
    font-family: var(--tgr-font-mono);
    font-size: 12px;
    color: var(--tgr-text-mute);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tgr-mix__meta {
    display: flex;
    gap: 12px;
    align-items: center;
    font-family: var(--tgr-font-mono);
    font-size: 12px;
    color: var(--tgr-text-dim);
    margin-bottom: 32px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tgr-mix__play {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 32px;
    background: var(--tgr-red);
    color: var(--tgr-white);
    font-family: var(--tgr-font);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background .15s;
    border: 2px solid var(--tgr-red);
}

.tgr-mix__play:hover {
    background: var(--tgr-text);
    color: var(--tgr-white);
    border-color: var(--tgr-text);
}

.tgr-mix__play-icon {
    width: 0; height: 0;
    border-style: solid;
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent currentColor;
}

.tgr-mix__desc {
    max-width: 720px;
    font-family: var(--tgr-font);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--tgr-text-dim);
    padding: 32px 0;
    border-top: 1px solid var(--tgr-border);
    border-bottom: 1px solid var(--tgr-border);
    margin-bottom: 48px;
}

.tgr-mix__desc p + p { margin-top: 12px; }

/* ==== CHAPTERS ==== */
.tgr-chapters__title {
    font-family: var(--tgr-font);
    font-weight: 900;
    font-size: clamp(28px, 4vw, 48px);
    letter-spacing: -0.03em;
    color: var(--tgr-text);
    margin-bottom: 24px;
    text-transform: uppercase;
    font-stretch: 90%;
}

.tgr-chapters__list {
    list-style: none;
    padding: 0;
    border-top: 1px solid var(--tgr-border);
}

.tgr-chapter {
    display: grid;
    grid-template-columns: 90px 1fr 40px;
    gap: 20px;
    align-items: center;
    padding: 18px 12px;
    border-bottom: 1px solid var(--tgr-border);
    cursor: pointer;
    transition: background .15s, padding-left .15s;
    position: relative;
}

.tgr-chapter:hover {
    background: var(--tgr-surface);
    padding-left: 20px;
}

.tgr-chapter--active {
    background: var(--tgr-red);
    color: var(--tgr-white);
    padding-left: 20px;
}

.tgr-chapter--active::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--tgr-white);
}

.tgr-chapter__time {
    font-family: var(--tgr-font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--tgr-text-mute);
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
}

.tgr-chapter--active .tgr-chapter__time { color: var(--tgr-white); font-weight: 700; }

.tgr-chapter__body { min-width: 0; }

.tgr-chapter__title {
    font-family: var(--tgr-font);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--tgr-text);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.tgr-chapter--active .tgr-chapter__title { color: var(--tgr-white); }

.tgr-chapter__meta {
    font-family: var(--tgr-font);
    font-size: 13px;
    color: var(--tgr-text-dim);
}

.tgr-chapter--active .tgr-chapter__meta { color: rgba(255,255,255,0.85); }

.tgr-chapter__artist { font-weight: 600; }
.tgr-chapter__track::before { content: ' — '; }

.tgr-chapter__play {
    width: 36px; height: 36px;
    border: 2px solid var(--tgr-border-strong);
    position: relative;
    transition: border-color .15s, background .15s;
    background: var(--tgr-surface);
}

.tgr-chapter__play::after {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-40%, -50%);
    border-style: solid;
    border-width: 5px 0 5px 7px;
    border-color: transparent transparent transparent var(--tgr-text);
}

.tgr-chapter:hover .tgr-chapter__play {
    border-color: var(--tgr-red);
    background: var(--tgr-red);
}

.tgr-chapter:hover .tgr-chapter__play::after {
    border-left-color: var(--tgr-white);
}

.tgr-chapter--active .tgr-chapter__play {
    border-color: var(--tgr-white);
    background: var(--tgr-white);
}

.tgr-chapter--active .tgr-chapter__play::after {
    border-left-color: var(--tgr-red);
}

@media (max-width: 640px) {
    .tgr-chapter { grid-template-columns: 70px 1fr 36px; gap: 12px; padding: 14px 8px; }
    .tgr-chapter__title { font-size: 14px; }
}

/* ==== CURATORS (DJs) ==== */
.tgr-curators {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2px;
    background: var(--tgr-border-strong);
    border: 1px solid var(--tgr-border-strong);
}

.tgr-curator-card {
    background: var(--tgr-surface);
    padding: 28px 20px;
    text-align: center;
    transition: background .15s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.tgr-curator-card:hover {
    background: var(--tgr-red);
    color: var(--tgr-white);
}

.tgr-curator-card__avatar {
    width: 100px; height: 100px;
    overflow: hidden;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--tgr-red);
    transition: border-color .15s;
}

.tgr-curator-card:hover .tgr-curator-card__avatar { border-color: var(--tgr-white); }

.tgr-curator-card__avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
}

.tgr-curator-card:hover .tgr-curator-card__avatar img { filter: none; }

.tgr-curator-card__avatar span {
    font-family: var(--tgr-font);
    font-size: 36px;
    font-weight: 900;
    color: var(--tgr-red);
    text-transform: uppercase;
    letter-spacing: -0.03em;
}

.tgr-curator-card:hover .tgr-curator-card__avatar span { color: var(--tgr-white); }

.tgr-curator-card__name {
    font-family: var(--tgr-font);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--tgr-text);
}

.tgr-curator-card:hover .tgr-curator-card__name { color: var(--tgr-white); }

.tgr-curator-card__location {
    font-family: var(--tgr-font-mono);
    font-size: 11px;
    color: var(--tgr-text-mute);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tgr-curator-card:hover .tgr-curator-card__location { color: rgba(255,255,255,0.85); }

.tgr-curator-hero {
    text-align: center;
    padding: 40px 0 60px;
    border-bottom: 2px solid var(--tgr-red);
    margin-bottom: 60px;
}

.tgr-curator-hero__avatar {
    width: 160px; height: 160px;
    margin: 0 auto 28px;
    overflow: hidden;
    background: rgba(255,255,255,0.2);
    border: 3px solid var(--tgr-red);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tgr-curator-hero__avatar img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); }

.tgr-curator-hero__avatar span {
    font-family: var(--tgr-font);
    font-size: 56px;
    font-weight: 900;
    color: var(--tgr-red);
    text-transform: uppercase;
    letter-spacing: -0.03em;
}

.tgr-curator-hero__name {
    font-family: var(--tgr-font);
    font-weight: 900;
    font-size: clamp(40px, 6vw, 80px);
    line-height: 0.9;
    margin-bottom: 12px;
    color: var(--tgr-text);
    text-transform: uppercase;
    letter-spacing: -0.03em;
    font-stretch: 88%;
}

.tgr-curator-hero__loc {
    font-family: var(--tgr-font-mono);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--tgr-red);
    margin-bottom: 24px;
    font-weight: 600;
}

.tgr-curator-hero__bio {
    max-width: 560px;
    margin: 0 auto;
    font-family: var(--tgr-font);
    font-size: 16px;
    color: var(--tgr-text-dim);
    line-height: 1.6;
}

/* ==== ABOUT ==== */
.tgr-about {
    max-width: 680px;
    font-family: var(--tgr-font);
    font-weight: 500;
    font-size: 17px;
    line-height: 1.65;
    color: var(--tgr-text-dim);
}

.tgr-about p { margin-bottom: 24px; }

.tgr-about__lead {
    font-size: 24px;
    font-weight: 900;
    color: var(--tgr-text);
    line-height: 1.2;
    margin-bottom: 40px !important;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    font-stretch: 92%;
}

.tgr-about__signature {
    margin-top: 48px;
    font-family: var(--tgr-font-mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--tgr-red);
    font-weight: 600;
}

/* ==== EMPTY / LOADING ==== */
.tgr-empty,
.tgr-loading {
    padding: 60px var(--tgr-pad);
    text-align: center;
    font-family: var(--tgr-font-mono);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tgr-text-mute);
}

/* ==== FOOTER ==== */
.tgr-footer {
    padding: 60px var(--tgr-pad) 40px;
    border-top: 2px solid var(--tgr-red);
    max-width: var(--tgr-container);
    margin-left: auto;
    margin-right: auto;
}

.tgr-footer__cols {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 720px) {
    .tgr-footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}

.tgr-footer__logo-img {
    height: 48px;
    width: auto;
    margin-bottom: 14px;
    display: block;
}

.tgr-footer__tagline {
    font-family: var(--tgr-font);
    font-size: 13px;
    color: var(--tgr-text-dim);
    line-height: 1.5;
    font-weight: 500;
}

.tgr-footer__col-title {
    font-family: var(--tgr-font);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--tgr-red);
    margin-bottom: 14px;
}

.tgr-footer a {
    display: block;
    padding: 4px 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--tgr-text);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: color .15s, padding-left .15s;
}

.tgr-footer a:hover {
    color: var(--tgr-red);
    padding-left: 4px;
}

.tgr-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--tgr-border);
    font-family: var(--tgr-font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tgr-text-mute);
}

@media (max-width: 720px) {
    .tgr-footer__bottom { flex-direction: column; gap: 8px; }
}

/* ==== STICKY PLAYER ==== */
.tgr-sticky {
    --sticky-accent: var(--tgr-red);
    position: fixed;
    left: 0; right: 0;
    bottom: 0;
    z-index: 90;
    background-color: #d4bc8e;
    background-image: var(--tgr-kraft-url);
    background-repeat: repeat;
    border-top: 2px solid var(--tgr-red);
    transform: translateY(100%);
    transition: transform .3s cubic-bezier(.77,0,.175,1);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.tgr-sticky--visible { transform: translateY(0); }

.tgr-sticky__progress-bar {
    height: 3px;
    background: rgba(51, 0, 0, 0.2);
    cursor: pointer;
    position: relative;
    touch-action: none;
}

.tgr-sticky--no-progress .tgr-sticky__progress-bar { cursor: default; }

.tgr-sticky--no-progress .tgr-sticky__progress-fill {
    width: 100% !important;
    background: var(--tgr-red) !important;
    background-image: linear-gradient(
        90deg,
        var(--tgr-red) 0%,
        var(--tgr-red) 50%,
        var(--tgr-text) 50%,
        var(--tgr-text) 100%
    ) !important;
    background-size: 24px 100% !important;
    animation: tgr-live-flow 1.5s linear infinite;
}

@keyframes tgr-live-flow {
    from { background-position: 0 0; }
    to   { background-position: 24px 0; }
}

.tgr-sticky__progress-fill {
    height: 100%;
    background: var(--tgr-red);
    width: 0%;
    transition: width .1s linear;
}

.tgr-sticky__inner {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 20px;
    align-items: center;
    height: calc(var(--tgr-sticky-height) - 3px);
    padding: 0 var(--tgr-pad);
    max-width: var(--tgr-container);
    margin: 0 auto;
}

.tgr-sticky__artwork {
    width: 56px; height: 56px;
    background: var(--tgr-surface);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--tgr-border-strong);
}

.tgr-sticky__artwork img { width: 100%; height: 100%; object-fit: cover; }

.tgr-sticky__artwork span {
    font-family: var(--tgr-font);
    font-weight: 900;
    font-size: 18px;
    color: var(--tgr-red);
    text-transform: uppercase;
    letter-spacing: -0.03em;
}

.tgr-sticky__info {
    min-width: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tgr-sticky__badge {
    font-family: var(--tgr-font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    width: fit-content;
    padding: 2px 6px;
    margin-bottom: 2px;
}

.tgr-sticky__badge--live {
    color: var(--tgr-white);
    background: var(--tgr-red);
    animation: tgr-live-blink 1.8s ease-in-out infinite;
}

@keyframes tgr-live-blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.7; }
}

.tgr-sticky__badge--mix {
    color: var(--tgr-red);
    border: 1px solid var(--tgr-red);
    background: transparent;
}

.tgr-sticky__title {
    font-family: var(--tgr-font);
    font-size: 14px;
    font-weight: 900;
    color: var(--tgr-text);
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
}

.tgr-sticky__subtitle {
    font-family: var(--tgr-font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tgr-text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tgr-sticky__controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tgr-sticky__time {
    font-family: var(--tgr-font-mono);
    font-size: 11px;
    color: var(--tgr-text-dim);
    font-variant-numeric: tabular-nums;
    display: flex;
    gap: 4px;
}

.tgr-sticky--no-progress .tgr-sticky__time { display: none; }
.tgr-sticky__sep { color: var(--tgr-text-mute); }

.tgr-sticky__play {
    width: 44px; height: 44px;
    background: var(--tgr-red);
    color: var(--tgr-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, color .15s, transform .1s;
    position: relative;
    border: 2px solid var(--tgr-red);
}

.tgr-sticky__play:hover  {
    background: var(--tgr-text);
    color: var(--tgr-white);
    border-color: var(--tgr-text);
}

.tgr-sticky__play:active { transform: scale(0.94); }

.tgr-sticky__play-icon-play,
.tgr-sticky__play-icon-pause {
    position: absolute;
    left: 50%; top: 50%;
}

.tgr-sticky__play-icon-play {
    width: 0; height: 0;
    border-style: solid;
    border-width: 7px 0 7px 11px;
    border-color: transparent transparent transparent currentColor;
    transform: translate(-38%, -50%);
}

.tgr-sticky__play-icon-pause {
    width: 10px; height: 12px;
    border-left: 3px solid currentColor;
    border-right: 3px solid currentColor;
    transform: translate(-50%, -50%);
    display: none;
}

.tgr-sticky__play--playing .tgr-sticky__play-icon-play  { display: none; }
.tgr-sticky__play--playing .tgr-sticky__play-icon-pause { display: block; }

.tgr-sticky--buffering .tgr-sticky__play {
    animation: tgr-buffer 1s linear infinite;
}

@keyframes tgr-buffer {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.5; }
}

.tgr-sticky__volume {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--tgr-text-dim);
}

.tgr-sticky__volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 80px;
    height: 2px;
    background: var(--tgr-border-strong);
    outline: none;
}

.tgr-sticky__volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px; height: 10px;
    background: var(--tgr-red);
    cursor: pointer;
}

.tgr-sticky__volume-slider::-moz-range-thumb {
    width: 10px; height: 10px;
    background: var(--tgr-red);
    cursor: pointer;
    border: none;
}

@media (max-width: 720px) {
    .tgr-sticky__inner { grid-template-columns: 44px 1fr auto; gap: 12px; }
    .tgr-sticky__artwork { width: 44px; height: 44px; }
    .tgr-sticky__time, .tgr-sticky__volume { display: none; }
    .tgr-sticky__subtitle { font-size: 10px; }
    .tgr-sticky__title { font-size: 13px; }
}

/* ==========================================================================
   v4 — FAVORIS, TABS, TIME TOGGLE, LIKE BUTTON, TOAST
   ========================================================================== */

/* ==== NAV badge favoris ==== */
.tgr-nav__link--favorites {
    display: inline-flex;
    align-items: center;
}

.tgr-nav__badge {
    display: none;
    margin-left: 6px;
    background: var(--tgr-red);
    color: var(--tgr-white);
    font-family: var(--tgr-font-mono);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
}

/* ==== MIX actions : Play + Save ==== */
.tgr-mix__actions {
    display: flex;
    gap: 12px;
    align-items: stretch;
    flex-wrap: wrap;
}

/* Play button change de couleur selon l'état */
.tgr-mix__play[data-state="idle"] {
    background: var(--tgr-red);
    color: var(--tgr-white);
    border-color: var(--tgr-red);
}
.tgr-mix__play[data-state="idle"]:hover {
    background: var(--tgr-text);
    color: var(--tgr-white);
    border-color: var(--tgr-text);
}

.tgr-mix__play[data-state="playing"] {
    background: var(--tgr-text);
    color: var(--tgr-white);
    border-color: var(--tgr-text);
}
.tgr-mix__play[data-state="playing"] .tgr-mix__play-icon {
    /* Icône pause quand en cours */
    width: 12px; height: 16px;
    border: 0;
    border-left: 4px solid currentColor;
    border-right: 4px solid currentColor;
}
.tgr-mix__play[data-state="playing"]:hover {
    background: var(--tgr-red);
    color: var(--tgr-white);
    border-color: var(--tgr-red);
}

.tgr-mix__play[data-state="paused"] {
    background: var(--tgr-text);
    color: var(--tgr-white);
    border-color: var(--tgr-text);
    opacity: 0.7;
}
.tgr-mix__play[data-state="paused"]:hover {
    opacity: 1;
}

/* Save button */
.tgr-mix__fav {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 24px;
    background: transparent;
    color: var(--tgr-text);
    font-family: var(--tgr-font);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all .15s;
    border: 2px solid var(--tgr-border-strong);
    cursor: pointer;
}

.tgr-mix__fav:hover {
    border-color: var(--tgr-red);
    color: var(--tgr-red);
}

.tgr-mix__fav--active {
    background: var(--tgr-red);
    color: var(--tgr-white);
    border-color: var(--tgr-red);
}

.tgr-mix__fav--active:hover {
    background: var(--tgr-text);
    border-color: var(--tgr-text);
}

.tgr-mix__fav-icon {
    display: block;
}

/* ==== STICKY PLAYER v4 ==== */

/* Like button dans le sticky */
.tgr-sticky__like {
    width: 36px; height: 36px;
    display: none; /* caché quand pas en live */
    align-items: center;
    justify-content: center;
    color: var(--tgr-text-dim);
    border: 1px solid var(--tgr-border-strong);
    background: transparent;
    transition: color .15s, border-color .15s, background .15s, transform .15s;
    cursor: pointer;
}

.tgr-sticky__like:hover {
    color: var(--tgr-red);
    border-color: var(--tgr-red);
}

.tgr-sticky__like--active {
    color: var(--tgr-white);
    background: var(--tgr-red);
    border-color: var(--tgr-red);
}

.tgr-sticky__like--bump {
    animation: tgr-like-bump .4s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes tgr-like-bump {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.25); }
    100% { transform: scale(1); }
}

/* Time toggleable (elapsed ↔ remaining) */
.tgr-sticky__time {
    cursor: pointer;
    user-select: none;
    padding: 4px 6px;
    transition: color .15s, background .15s;
    border-radius: 2px;
}

.tgr-sticky__time:hover {
    color: var(--tgr-red);
    background: var(--tgr-surface);
}

.tgr-sticky__time--remaining .tgr-sticky__current {
    color: var(--tgr-red);
    font-weight: 700;
}

/* Play button du sticky : couleur change selon état */
.tgr-sticky__play {
    background: var(--tgr-red);
    color: var(--tgr-white);
    border-color: var(--tgr-red);
    transition: background .2s, color .2s, border-color .2s, transform .1s;
}

.tgr-sticky__play--playing {
    background: var(--tgr-text);
    color: var(--tgr-white);
    border-color: var(--tgr-text);
}

.tgr-sticky__play--playing:hover {
    background: var(--tgr-red);
    border-color: var(--tgr-red);
}

/* Progress bar cliquable */
.tgr-sticky__progress-bar {
    cursor: pointer;
    transition: height .15s;
}

.tgr-sticky:not(.tgr-sticky--no-progress) .tgr-sticky__progress-bar:hover {
    height: 6px;
}

/* ==== TOAST notification ==== */
.tgr-toast {
    position: fixed;
    bottom: calc(var(--tgr-sticky-height) + 20px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    z-index: 200;
    background: var(--tgr-red);
    color: var(--tgr-white);
    padding: 12px 24px;
    font-family: var(--tgr-font);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s cubic-bezier(.34, 1.56, .64, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    white-space: nowrap;
}

.tgr-toast--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ==== FAVORITES PAGE — tabs ==== */
.tgr-tabs {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--tgr-border);
    flex-wrap: wrap;
}

.tgr-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    font-family: var(--tgr-font);
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--tgr-text-dim);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    transition: color .15s, border-color .15s;
}

.tgr-tab:hover {
    color: var(--tgr-red);
}

.tgr-tab--active {
    color: var(--tgr-text);
    border-bottom-color: var(--tgr-red);
}

.tgr-tab__count {
    display: inline-block;
    background: var(--tgr-red);
    color: var(--tgr-white);
    font-family: var(--tgr-font-mono);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    min-width: 20px;
    text-align: center;
    letter-spacing: 0;
}

.tgr-tabs__spacer {
    flex: 1;
}

.tgr-tab-action {
    font-family: var(--tgr-font);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tgr-text-dim);
    padding: 8px 12px;
    border: 1px solid var(--tgr-border-strong);
    background: var(--tgr-surface);
    cursor: pointer;
    transition: color .15s, border-color .15s;
}

.tgr-tab-action:hover {
    color: var(--tgr-red);
    border-color: var(--tgr-red);
}

.tgr-tab-panel--hidden {
    display: none;
}

/* Empty state */
.tgr-empty-state {
    padding: 60px 20px;
    text-align: center;
    font-family: var(--tgr-font);
    font-weight: 500;
    font-size: 16px;
    color: var(--tgr-text-dim);
    background: var(--tgr-surface);
    border: 1px dashed var(--tgr-border-strong);
}

.tgr-empty-state__hint {
    margin-top: 10px;
    font-size: 13px;
    color: var(--tgr-text-mute);
}

/* Card favoris (mix) avec bouton remove */
.tgr-fav-card {
    position: relative;
}

.tgr-fav-remove {
    position: absolute;
    top: 8px; right: 8px;
    width: 28px; height: 28px;
    background: var(--tgr-surface);
    border: 1px solid var(--tgr-border-strong);
    color: var(--tgr-text-dim);
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    z-index: 2;
    transition: all .15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tgr-fav-remove:hover {
    background: var(--tgr-red);
    border-color: var(--tgr-red);
    color: var(--tgr-white);
}

/* Liste tracks favoris */
.tgr-fav-tracks {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: var(--tgr-border);
    border: 1px solid var(--tgr-border-strong);
}

.tgr-fav-track {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 12px 16px;
    background: var(--tgr-surface);
    transition: background .15s;
    position: relative;
}

.tgr-fav-track:hover {
    background: var(--tgr-surface-hover);
}

.tgr-fav-track .tgr-fav-remove {
    position: absolute;
    top: 50%; right: 12px;
    transform: translateY(-50%);
    width: 24px; height: 24px;
    font-size: 16px;
}

.tgr-fav-track__cover {
    width: 60px; height: 60px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    border: 1px solid var(--tgr-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tgr-fav-track__cover img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.tgr-fav-track__cover span {
    font-family: var(--tgr-font);
    color: var(--tgr-red);
    font-size: 20px;
    font-weight: 900;
}

.tgr-fav-track__body {
    min-width: 0;
    overflow: hidden;
}

.tgr-fav-track__title {
    font-family: var(--tgr-font);
    font-weight: 900;
    font-size: 14px;
    color: var(--tgr-text);
    text-transform: uppercase;
    letter-spacing: -0.005em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tgr-fav-track__artist {
    font-family: var(--tgr-font);
    font-size: 13px;
    font-weight: 500;
    color: var(--tgr-text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tgr-fav-track__album {
    font-family: var(--tgr-font-mono);
    font-size: 10px;
    color: var(--tgr-text-mute);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.tgr-fav-track__meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
    padding-right: 36px;
    text-align: right;
}

.tgr-fav-track__date {
    font-family: var(--tgr-font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tgr-text-mute);
}

.tgr-fav-track__buy {
    font-family: var(--tgr-font);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tgr-red);
    border: 1px solid var(--tgr-red);
    padding: 3px 8px;
    transition: all .15s;
}

.tgr-fav-track__buy:hover {
    background: var(--tgr-red);
    color: var(--tgr-white);
}

@media (max-width: 640px) {
    .tgr-fav-track {
        grid-template-columns: 48px 1fr;
        gap: 12px;
        padding: 12px;
    }
    .tgr-fav-track__cover { width: 48px; height: 48px; }
    .tgr-fav-track__meta {
        grid-column: 1 / -1;
        flex-direction: row;
        padding-right: 30px;
        justify-content: space-between;
        align-items: center;
    }
}
