
/* Media Tracker — editorial broadcast system (Orange Theme) */
:root {
  color-scheme: light;
  --paper-0: oklch(0.95 0.015 65);
  --paper-1: oklch(0.92 0.022 65);
  --ink-0: oklch(0.22 0.015 50);
  --ink-1: oklch(0.40 0.018 50);
  --ink-2: oklch(0.52 0.015 50);
  --line: oklch(0.22 0.015 50 / 0.24);
  --line-strong: oklch(0.22 0.015 50 / 0.82);
  --bg: var(--paper-0);
  --surface: var(--paper-1);
  --card: var(--paper-1);
  --border: var(--line);
  --t1: var(--ink-0);
  --t2: var(--ink-1);
  --t3: var(--ink-2);
  --accent: oklch(0.72 0.22 52);
  --accent-ink: oklch(0.25 0.04 50);
  --live: oklch(0.67 0.23 40);
  --shadow: none;
  --shadow-hover: none;
  --radius-lg: 0;
  --radius-md: 0;
  --radius-sm: 0;
  --channel: oklch(0.70 0.15 60);
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper-0: oklch(0.18 0.015 50);
    --paper-1: oklch(0.23 0.018 50);
    --ink-0: oklch(0.95 0.015 65);
    --ink-1: oklch(0.77 0.015 65);
    --ink-2: oklch(0.65 0.015 65);
    --line: oklch(0.95 0.015 65 / 0.22);
    --line-strong: oklch(0.95 0.015 65 / 0.74);
    --accent-ink: oklch(0.95 0.015 65);
    --channel: oklch(0.75 0.15 60);
  }
}

[data-theme="dark"] {
  color-scheme: dark;
  --paper-0: oklch(0.18 0.015 50);
  --paper-1: oklch(0.23 0.018 50);
  --ink-0: oklch(0.95 0.015 65);
  --ink-1: oklch(0.77 0.015 65);
  --ink-2: oklch(0.65 0.015 65);
  --line: oklch(0.95 0.015 65 / 0.22);
  --line-strong: oklch(0.95 0.015 65 / 0.74);
  --accent-ink: oklch(0.95 0.015 65);
  --channel: oklch(0.75 0.15 60);
}

body:has(#btn-tv.active) { --channel: oklch(0.82 0.075 91); }
body:has(#btn-music.active) { --channel: oklch(0.69 0.075 154); }
body:has(#btn-bluesky.active) { --channel: oklch(0.72 0.22 52); }

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

html { min-width: 0; background: var(--bg); }

body {
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: scroll;
  background: var(--bg);
  color: var(--t1);
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 220ms ease-out, color 220ms ease-out;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { text-underline-offset: 4px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

::selection { background: var(--accent); color: oklch(0.18 0.015 50); }

.wrap {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 0 20px 64px;
}

/* Masthead */
.site-mast {
  min-height: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.mast-brand { font-weight: 600; }
.mast-title { color: var(--t2); }
.mast-channels { color: var(--t2); text-align: right; }

/* Asymmetric profile mast */
.profile {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(120px, 15vw, 200px);
  grid-template-rows: 1fr auto;
  gap: 24px 40px;
  min-height: 330px;
  padding: 48px 0 40px;
  margin-bottom: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  box-shadow: none;
}

.profile::before {
  content: 'MEDIA\A TRACKER';
  white-space: pre;
  position: absolute;
  right: clamp(150px, 18vw, 240px);
  top: 30px;
  z-index: 0;
  color: var(--t1);
  opacity: .045;
  font-family: var(--display);
  font-size: clamp(92px, 13vw, 190px);
  font-weight: 800;
  line-height: .72;
  letter-spacing: -.055em;
  text-align: right;
  pointer-events: none;
}

.profile-body {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  min-width: 0;
}

.profile-avatar, .profile-avatar-skeleton {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: stretch;
  width: 100%;
  height: auto;
  min-height: 220px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  background: var(--surface);
  border: 0;
  border-radius: 0;
  filter: grayscale(1) contrast(1.08);
}

.profile-name {
  max-width: 900px;
  margin: 0;
  color: var(--t1);
  font-family: var(--display);
  font-size: clamp(72px, 11vw, 156px);
  font-weight: 700;
  line-height: .78;
  letter-spacing: -.045em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.profile-handle {
  margin-top: 24px;
  color: var(--t2);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
}

.profile-links {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 0;
}

.profile-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--t1);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: color 160ms ease-out, text-shadow 160ms ease-out;
}

.profile-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 1px;
  background: currentColor;
  transform: scaleX(.22);
  transform-origin: left;
  transition: transform 220ms ease-out;
}

.profile-link:hover {
  color: var(--t1);
  text-shadow: -1.5px 0 oklch(0.65 0.22 25), 1.5px 0 oklch(0.69 0.16 240);
}

.profile-link:hover::after { transform: scaleX(1); }
.profile-link:active { transform: scale(.97); }
.profile-link svg { width: 16px; height: 16px; fill: currentColor; }

.profile-link .bsky-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: inline-block;
  background-color: currentColor;
  -webkit-mask: url("https://upload.wikimedia.org/wikipedia/commons/thumb/7/7a/Bluesky_Logo.svg/1280px-Bluesky_Logo.svg.png") center / contain no-repeat;
  mask: url("https://upload.wikimedia.org/wikipedia/commons/thumb/7/7a/Bluesky_Logo.svg/1280px-Bluesky_Logo.svg.png") center / contain no-repeat;
}

/* Live transmission */
#live-section {
  display: none;
  padding: 24px 0;
  margin: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  box-shadow: none;
}

.live-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--t1);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.live-label::after { content: '[ EN DIRECT ]'; color: var(--t2); }

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: none;
  animation: blink 2s cubic-bezier(.4,0,.6,1) infinite;
}

.live-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.live-card {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.live-card + .live-card {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.live-art-wrap {
  position: relative;
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  overflow: hidden;
  background: var(--surface);
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
}

.live-art-wrap > .live-art:not(img) {
  width: 72px;
  height: 96px;
  flex: 0 0 72px;
  object-fit: cover;
}

.live-art {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: var(--surface);
}

.live-art-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--t2);
  font-family: var(--display);
  font-size: 36px;
  font-weight: 600;
}

.live-info {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-text { flex: 1; min-width: 0; }

.live-title {
  overflow: hidden;
  color: var(--t1);
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.live-title a, .live-sub a { color: inherit; text-decoration: none; }
.live-title a:hover, .live-sub a:hover { text-decoration: underline; }

.live-sub {
  margin-top: 8px;
  overflow: hidden;
  color: var(--t2);
  font-size: 11px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Channel selector */
.tabs {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  max-width: none;
  margin: 0 0 36px;
  padding: 0;
  overflow: visible;
  gap: 0;
  background: var(--bg);
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  box-shadow: none;
}

.tab-btn {
  position: relative;
  min-height: 60px;
  padding: 0 12px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  color: var(--t1);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  opacity: .62;
  transition: opacity 160ms ease-out, background-color 160ms ease-out;
}

.tab-btn:last-child { border-right: 0; }

.tab-btn::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 9px;
  border: 1px solid currentColor;
  border-radius: 50%;
  vertical-align: 1px;
}

.tab-btn::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--channel);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease-out;
}

.tab-btn:hover { opacity: .82; background: var(--surface); }

.tab-btn.active {
  color: var(--t1);
  opacity: 1;
  background: transparent;
  box-shadow: none;
}

.tab-btn.active::before {
  border-color: var(--accent);
  background: var(--accent);
  animation: blink 2s cubic-bezier(.4,0,.6,1) infinite;
}

.tab-btn.active::after { transform: scaleX(1); }
.tab-btn:active { transform: scale(.98); }

.tab-panel { display: none; }

.tab-panel.active {
  display: block;
  animation: panelIn 240ms ease-out;
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px) scale(.995); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Poster archive */
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 16px;
}

.media-card { display: block; min-width: 0; cursor: pointer; }

.poster-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--surface);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.poster-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  pointer-events: none;
  transition: border-color 180ms ease-out;
}

.poster-wrap img, .poster-ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.poster-wrap img {
  display: block;
  object-fit: cover;
  transition: transform 240ms ease-out, filter 240ms ease-out;
}

.media-card:hover .poster-wrap img { transform: scale(1); filter: contrast(1) saturate(1); }
.media-card:hover .poster-wrap::after { border-color: var(--channel); }
.media-card:active .poster-wrap img { transform: scale(.99); }

.poster-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t1);
  opacity: .22;
  font-family: var(--display);
  font-size: clamp(56px, 8vw, 110px);
  font-weight: 700;
  user-select: none;
}

.media-card-title {
  display: block;
  margin-top: 12px;
  overflow: hidden;
  color: var(--t1);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: .01em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.media-card-sub {
  margin-top: 6px;
  overflow: hidden;
  color: var(--t2);
  font-size: 10px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-card-sub .star { color: var(--t1); }

/* Listening ledger (sans numérotation) */
.music-list {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line-strong);
}

.music-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
  transition: background-color 160ms ease-out;
}

.music-item:hover { background: var(--surface); }

.music-art-wrap {
  position: relative;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  overflow: hidden;
  background: var(--surface);
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
}

.music-art {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: var(--surface);
  transition: transform 200ms ease-out;
}

.music-art-wrap:hover .music-art { transform: scale(1.06); }

.music-art-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--t2);
  font-family: var(--display);
  font-size: 28px;
}

.music-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: oklch(0.16 0.01 155 / .5);
  color: oklch(0.96 0.01 155);
  opacity: 0;
  transition: opacity 160ms ease-out, background-color 160ms ease-out;
  user-select: none;
}

.music-art-wrap:hover .music-play-btn,
.music-art-wrap.playing .music-play-btn,
.music-art-wrap.loading .music-play-btn,
.live-art-wrap:hover .music-play-btn,
.live-art-wrap.playing .music-play-btn,
.live-art-wrap.loading .music-play-btn { opacity: 1; }

.music-art-wrap.playing .music-play-btn,
.live-art-wrap.playing .music-play-btn { background: oklch(0.16 0.01 155 / .76); }

.music-art-wrap.loading .music-play-btn,
.live-art-wrap.loading .music-play-btn { background: oklch(0.16 0.01 155 / .65); }

.music-play-btn svg { display: block; }

.music-info {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.music-text { flex: 1; min-width: 0; }

.music-track {
  overflow: hidden;
  color: var(--t1);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.music-sub {
  margin-top: 8px;
  overflow: hidden;
  color: var(--t2);
  font-size: 11px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-meta {
  flex-shrink: 0;
  color: var(--t2);
  font-size: 10px;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

.music-track a, .music-sub a { color: inherit; text-decoration: none; }
.music-track a:hover, .music-sub a:hover { text-decoration: underline; }

/* Bluesky posts — grille éditoriale */
.post-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  margin: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.post-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  padding: 24px;
  background: transparent;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background-color 160ms ease-out;
}

.post-item:hover {
  background: var(--surface);
}

.post-item a {
  cursor: pointer;
}

.post-body {
  flex: 1;
  min-width: 0;
}

.post-kind {
  margin-bottom: 8px;
  color: var(--t2);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.post-text {
  min-width: 0;
  color: var(--t1);
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.post-text a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--line);
}

.post-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.post-images a {
  display: block;
  aspect-ratio: 4 / 3;
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}

.post-images img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease-out;
}

.post-images a:hover img {
  transform: scale(1.04);
}

.post-meta {
  flex-shrink: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--t2);
  font-size: 10px;
  text-align: left;
  overflow-wrap: anywhere;
}

.post-meta a {
  color: inherit;
  text-decoration: none;
}

.post-meta a:hover {
  text-decoration: underline;
}

/* Images with a single photo get more room */
.post-images:has(a:only-child) {
  grid-template-columns: minmax(0, 1fr);
}

.post-images:has(a:only-child) a {
  aspect-ratio: 16 / 10;
}

@media (min-width: 1240px) {
  .post-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .post-list {
    grid-template-columns: 1fr;
  }

  .post-item {
    padding: 20px 16px;
  }

  .post-text {
    font-size: 15px;
  }

  .post-images {
    gap: 8px;
  }
}

/* Lexicon sources */
.lexicon-src {
  margin: 0 0 24px;
  color: var(--t2);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lexicon-src a {
  position: relative;
  color: var(--t1);
  text-decoration: none;
  text-transform: none;
  letter-spacing: .02em;
  transition: color 160ms ease-out, text-shadow 160ms ease-out;
}

.lexicon-src a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(.22);
  transform-origin: left;
  transition: transform 220ms ease-out;
}

.lexicon-src a:hover {
  text-shadow: -1.5px 0 oklch(0.65 0.22 25), 1.5px 0 oklch(0.69 0.16 240);
}

.lexicon-src a:hover::after { transform: scaleX(1); }

/* Pagination */
.load-more-wrap { margin-top: 40px; text-align: left; }

.load-more-btn {
  min-height: 48px;
  padding: 0 24px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--t1);
  box-shadow: none;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 160ms ease-out, color 160ms ease-out, transform 120ms ease-out;
}

.load-more-btn::after { content: '  +'; }
.load-more-btn:hover { background: var(--t1); color: var(--bg); transform: none; }
.load-more-btn:active:not(:disabled) { transform: scale(.96); }
.load-more-btn:disabled { opacity: .4; cursor: wait; transform: none; }

/* Loading & empty states */
.sk {
  background: var(--surface);
  border-radius: 0;
  animation: shimmer 1.5s ease-in-out infinite;
}

.poster-wrap.sk::after { border-color: transparent; }

.empty {
  grid-column: 1 / -1;
  width: 100%;
  padding: 64px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  color: var(--t2);
  font-size: 12px;
  font-weight: 400;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .06em;
}

@keyframes shimmer {
  0%,100% { opacity: .42; }
  50% { opacity: .9; }
}

@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: .35; }
}

/* Responsive layouts */
@media (min-width: 640px) {
  .wrap { padding-inline: 32px; }
  .media-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 20px;
  }
}

@media (min-width: 900px) {
  .wrap { padding-inline: 48px; padding-bottom: 88px; }
  .media-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 48px 20px;
  }
}

@media (min-width: 1240px) {
  .media-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 52px 24px;
  }

  .post-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .profile { min-height: 290px; padding-block: 40px 32px; }

  .profile-name { font-size: clamp(68px, 12vw, 108px); }

  .live-cards { grid-template-columns: 1fr; }

  .live-card + .live-card {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0 0;
  }
}

@media (max-width: 639px) {
  .wrap { padding-inline: 16px; }

  .site-mast {
    grid-template-columns: auto 1fr;
    min-height: 56px;
    gap: 16px;
    font-size: 12px;
  }

  .mast-channels { display: none; }
  .mast-title { text-align: right; }

  .profile {
    grid-template-columns: minmax(0, 1fr) 88px;
    grid-template-rows: 1fr auto;
    gap: 24px 16px;
    min-height: 250px;
    padding: 32px 0;
  }

  .profile::before { right: 96px; top: 30px; font-size: 84px; }

  .profile-avatar, .profile-avatar-skeleton {
    min-height: 110px;
    aspect-ratio: 4 / 5;
  }

  .profile-name {
    font-size: clamp(54px, 17vw, 82px);
    line-height: .82;
  }

  .profile-handle { margin-top: 16px; font-size: 12px; }
  .profile-links { gap: 4px 20px; }
  .profile-link { font-size: 12px; }
  .tabs { margin-bottom: 28px; }

  .tab-btn {
    min-height: 56px;
    padding: 0 3px;
    font-size: 12px;
    letter-spacing: 0;
  }

  .tab-btn::before {
    width: 4px;
    height: 4px;
    margin-right: 4px;
  }

  .lexicon-src { font-size: 12px; margin-bottom: 20px; }
  .media-grid { gap: 28px 12px; }
  .media-card-title { margin-top: 10px; font-size: 17px; }
  .media-card-sub { font-size: 12px; }

  .music-item {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    min-height: 82px;
    padding-inline: 0;
  }

  .music-art-wrap { width: 52px; height: 52px; }
  .music-info { gap: 12px; }
  .music-track { font-size: 20px; }
  .music-sub { font-size: 12px; }
  .music-meta { font-size: 12px; }

  /* Sur mobile, une seule colonne pour les posts */
  .post-list {
    grid-template-columns: 1fr;
  }

  .post-item {
    gap: 16px;
    padding: 20px 16px;
  }

  .post-text { font-size: 15px; }
  .post-kind, .post-meta { font-size: 12px; }

  .live-art-wrap { flex-basis: 72px; width: 72px; height: 72px; }
  .live-title { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
