body.creatorPage{
  margin:0;
  min-height:100vh;
  background:var(--bg);
  color:var(--fg);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.creatorWrap{
  width:min(1180px,94vw);
  margin:0 auto;
  padding:26px 0 48px;
}

.creatorBack{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  margin-bottom:16px;
  padding:0 13px;
  border:1px solid var(--border);
  border-radius:11px;
  color:var(--fg);
  background:var(--card);
  text-decoration:none;
  font-weight:800;
}

.creatorHero,
.creatorPanel{
  background:var(--card);
  border:1px solid var(--border);
  box-shadow:0 14px 45px rgba(0,0,0,.24);
}

.creatorHero{
  position:relative;
  overflow:hidden;
  border-radius:20px;
}

.creatorBanner{
  position:relative;
  height:190px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,122,0,.45), transparent 32%),
    linear-gradient(135deg, rgba(255,122,0,.22), rgba(30,35,60,.72));
  background-position:center;
  background-size:cover;
}

.creatorBanner::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(to bottom, transparent 38%, rgba(0,0,0,.08) 58%, rgba(0,0,0,.72) 100%);
}

.creatorHeroBody{
  display:flex;
  align-items:flex-end;
  gap:20px;
  padding:0 28px 24px;
  margin-top:-58px;
  position:relative;
  z-index:1;
}

.creatorPageAvatar{
  width:116px;
  height:116px;
  flex:0 0 auto;
  border-radius:25px;
  border:4px solid var(--card);
  object-fit:cover;
  box-shadow:0 10px 28px rgba(0,0,0,.35);
  background:var(--card);
}

.creatorPageAvatarFallback{
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:48px;
  font-weight:950;
  color:#fff;
  background:linear-gradient(145deg,#ff8a18,#9c3600);
}

.creatorHeroText{
  min-width:0;
  padding-bottom:7px;
}

.creatorEyebrow{
  font-size:11px;
  font-weight:950;
  letter-spacing:.16em;
  color:var(--muted);
}

.creatorHero h1{
  margin:4px 0 0;
  color:#fff;
  font-size:clamp(28px,5vw,46px);
  line-height:1.05;
  overflow-wrap:anywhere;
  text-shadow:0 2px 10px rgba(0,0,0,.95), 0 1px 2px rgba(0,0,0,.9);
}

.creatorHero .creatorEyebrow{
  color:rgba(255,255,255,.9);
  text-shadow:0 1px 5px rgba(0,0,0,.95);
}

.creatorAliases{
  margin-top:7px;
  color:var(--muted);
  font-size:13px;
}

.creatorMeta{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:9px;
}

.creatorMetaChip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:27px;
  padding:3px 9px;
  border:1px solid var(--border);
  border-radius:999px;
  background:color-mix(in srgb,var(--card) 82%,transparent);
  color:var(--fg);
  font-size:12px;
  font-weight:800;
}

.creatorMetaFlag{font-size:15px;line-height:1}

.creatorColumns{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:18px;
  margin-top:18px;
}

.creatorPanel{
  border-radius:17px;
  padding:20px;
}

.creatorPanel h2{
  margin:0 0 12px;
  font-size:19px;
}

.creatorPresentation{
  line-height:1.65;
  white-space:pre-wrap;
}

.creatorPageLinks{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
}

.creatorPageLink{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:43px;
  padding:0 13px;
  border-radius:11px;
  border:1px solid var(--border);
  color:var(--fg);
  background:rgba(255,255,255,.045);
  text-decoration:none;
  font-weight:850;
}

.creatorPageLinkMain{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.creatorPageLinkIcon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  color:var(--muted);
  flex:0 0 auto;
}

.creatorPageLinkIcon.is-wide{ width:20px; }
.creatorPageLinkIcon.is-vwide{ width:23px; }
.creatorPageLinkIcon.is-narrow{ width:16px; }

.creatorLinkSvg{
  width:100%;
  height:100%;
  display:block;
}

.creatorPageLinkIcon.is-discord .creatorLinkSvg{ transform:scale(1.06); transform-origin:center; }
.creatorPageLinkIcon.is-bluesky .creatorLinkSvg{ transform:scale(1.02); transform-origin:center; }
.creatorPageLinkIcon.is-vndb .creatorLinkSvg{ transform:scale(1.0); transform-origin:center; }
.creatorPageLinkIcon.is-steam{ width:20px; height:20px; }
.creatorPageLinkIcon.is-steam .creatorLinkSvg{ transform:none; }
.creatorPageLinkIcon.is-itch .creatorLinkSvg{ transform:scale(1.0); transform-origin:center; }

.creatorPageLinkLabel{
  min-width:0;
  overflow-wrap:anywhere;
}

.creatorPageLinkArrow{
  color:var(--muted);
  flex:0 0 auto;
}

.creatorPageLink:hover{ filter:brightness(1.12); }
.creatorPageLink:hover .creatorPageLinkIcon,
.creatorPageLink:hover .creatorPageLinkArrow{ color:var(--fg); }

.creatorGamesPanel{ margin-top:18px; }
.creatorGamesHead{ display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.creatorGamesCount{ color:var(--muted); font-size:13px; margin-top:-5px; }

.creatorGamesGrid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-top:16px;
}

.creatorGameCard{
  display:flex;
  flex-direction:column;
  min-width:0;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:14px;
  color:var(--fg);
  background:rgba(255,255,255,.035);
  text-decoration:none;
  transition:transform .15s ease, filter .15s ease;
}
.creatorGameCard:hover{ transform:translateY(-2px); filter:brightness(1.08); }
.creatorGameThumb{ display:block; width:100%; aspect-ratio:16/10; object-fit:cover; background:rgba(255,255,255,.04); }
.creatorGameThumb.is-fallback{ object-fit:contain; object-position:center; background:#1c2030; }
.creatorGameBody{ padding:12px; }
.creatorGameTitle{ margin:0; font-size:14px; line-height:1.35; }
.creatorGameMeta{ margin-top:8px; color:var(--muted); font-size:11px; }

.creatorExternalGamesPanel{ margin-top:18px; }

.creatorExternalGamesList{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:16px;
}

.creatorExternalGame{
  display:grid;
  grid-template-columns:24px minmax(0,1fr) auto 18px;
  align-items:center;
  gap:11px;
  min-height:45px;
  padding:8px 12px;
  border:1px solid var(--border);
  border-radius:11px;
  color:var(--fg);
  background:rgba(255,255,255,.035);
  text-decoration:none;
  transition:background .15s ease,border-color .15s ease,transform .15s ease;
}

.creatorExternalGame:hover{
  border-color:color-mix(in srgb,var(--accent,#58a6ff) 65%,var(--border));
  background:rgba(255,255,255,.065);
  transform:translateX(2px);
}

.creatorExternalGameIcon{
  display:flex;
  align-items:center;
  justify-content:center;
}

.creatorExternalGameIcon .creatorPageLinkIcon{
  color:var(--muted);
}

.creatorExternalGameName{
  min-width:0;
  font-size:13px;
  font-weight:800;
  overflow-wrap:anywhere;
}

.creatorExternalGamePlatform{
  padding:3px 8px;
  border:1px solid var(--border);
  border-radius:999px;
  color:var(--muted);
  background:color-mix(in srgb,var(--card) 82%,transparent);
  font-size:11px;
  font-weight:800;
  white-space:nowrap;
}

.creatorExternalGameArrow{
  color:var(--muted);
}

.creatorEmpty{ color:var(--muted); line-height:1.5; }
.creatorError{ color:#ff7676; margin-top:14px; font-weight:800; }

@media(max-width:900px){
  .creatorPageLinks{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .creatorGamesGrid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media(max-width:560px){
  .creatorWrap{ width:min(94vw,680px); padding-top:14px; }
  .creatorBanner{ height:145px; }
  .creatorHeroBody{ padding:0 17px 18px; margin-top:-43px; gap:13px; }
  .creatorPageAvatar{ width:88px; height:88px; border-radius:20px; }
  .creatorPageLinks{ grid-template-columns:1fr; }
  .creatorGamesGrid{ grid-template-columns:1fr; }
  .creatorExternalGame{ grid-template-columns:22px minmax(0,1fr) 18px; }
  .creatorExternalGamePlatform{ grid-column:2; justify-self:start; }
  .creatorExternalGameArrow{ grid-column:3; grid-row:1 / span 2; }
}

html[data-theme="white"] .creatorGameCard,
html[data-theme="clair"] .creatorGameCard,
html[data-theme="light"] .creatorGameCard,
html[data-theme="white"] .creatorExternalGame,
html[data-theme="clair"] .creatorExternalGame,
html[data-theme="light"] .creatorExternalGame,
html[data-theme="white"] .creatorPageLink,
html[data-theme="clair"] .creatorPageLink,
html[data-theme="light"] .creatorPageLink{
  background:rgba(0,0,0,.025);
}

/* Annuaire des créateurs */
.creatorDirectoryHero{
  padding:30px;
  border:1px solid var(--border);
  border-radius:20px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,122,0,.20), transparent 32%),
    var(--card);
  box-shadow:0 14px 45px rgba(0,0,0,.24);
}

.creatorDirectoryHero h1{
  margin:5px 0 8px;
  font-size:clamp(30px,5vw,48px);
  line-height:1.05;
}

.creatorDirectoryHero p{
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

.creatorDirectoryTools{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin-top:24px;
}

.creatorSearchWrap{
  width:min(480px,100%);
  min-height:46px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 14px;
  border:1px solid var(--border);
  border-radius:13px;
  background:rgba(255,255,255,.045);
}

.creatorSearchWrap span{
  color:var(--muted);
  font-size:22px;
  line-height:1;
}

.creatorSearch{
  width:100%;
  min-width:0;
  border:0;
  outline:0;
  color:var(--fg);
  background:transparent;
  font:inherit;
}

.creatorSearch::placeholder{ color:var(--muted); }
.creatorDirectoryCount{ color:var(--muted); font-size:13px; white-space:nowrap; }
.creatorDirectoryPanel{ margin-top:18px; }

.creatorDirectoryGrid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}

.creatorDirectoryCard{
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:16px;
  border:1px solid var(--border);
  border-radius:15px;
  color:var(--fg);
  background:rgba(255,255,255,.035);
  text-decoration:none;
  transition:transform .15s ease, filter .15s ease, border-color .15s ease;
}

.creatorDirectoryCard:hover{
  transform:translateY(-2px);
  filter:brightness(1.08);
  border-color:rgba(255,122,0,.55);
}

.creatorDirectoryIdentity{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.creatorDirectoryAvatar{
  width:58px;
  height:58px;
  flex:0 0 auto;
  border-radius:15px;
  object-fit:cover;
  background:var(--card);
}

.creatorDirectoryAvatarFallback{
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:25px;
  font-weight:950;
  background:linear-gradient(145deg,#ff8a18,#9c3600);
}

.creatorDirectoryIdentityText{
  min-width:0;
}

.creatorDirectoryName{
  margin:0;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:16px;
  line-height:1.25;
}

.creatorDirectoryGames{
  margin-top:5px;
  color:var(--muted);
  font-size:12px;
}

.creatorDirectoryDescription{
  display:-webkit-box;
  min-height:42px;
  margin:14px 0 0;
  overflow:hidden;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

.creatorDirectoryOpen{
  margin-top:auto;
  padding-top:15px;
  color:var(--accent,#ff7a00);
  font-size:12px;
  font-weight:900;
}

@media(max-width:1000px){
  .creatorDirectoryGrid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}

@media(max-width:760px){
  .creatorDirectoryGrid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .creatorDirectoryTools{ align-items:stretch; flex-direction:column; }
  .creatorDirectoryCount{ white-space:normal; }
}

@media(max-width:520px){
  .creatorDirectoryHero{ padding:22px 18px; }
  .creatorDirectoryGrid{ grid-template-columns:1fr; }
}

html[data-theme="white"] .creatorDirectoryCard,
html[data-theme="clair"] .creatorDirectoryCard,
html[data-theme="light"] .creatorDirectoryCard,
html[data-theme="white"] .creatorSearchWrap,
html[data-theme="clair"] .creatorSearchWrap,
html[data-theme="light"] .creatorSearchWrap{
  background:rgba(0,0,0,.025);
}

.creatorDirectoryMeta{margin-top:10px}
.creatorDirectoryMeta .creatorMetaChip{font-size:11px;min-height:24px;padding:2px 8px}
