@font-face{
  font-family: "SF Pro Display";
  src: url("/assets/fonts/SFPRODISPLAYREGULAR.OTF") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "SF Pro Display";
  src: url("/assets/fonts/SFPRODISPLAYBOLD.OTF") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root{
  --container: 1000px;
}

:root{
  --bg:#ffffff;
  --fg:#0a0a0a;
  --muted:#5a5a5a;
  --border:#e6e6e6;
  --card:#ffffff;
  --btn:#0a0a0a;
  --btnText:#ffffff;
}

[data-theme="dark"]{
  --bg:#0a0a0a;
  --fg:#ffffff;
  --muted:#bdbdbd;
  --border:#262626;
  --card:#111111;
  --btn:#ffffff;
  --btnText:#0a0a0a;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "SF Pro Display", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:var(--bg);
  color:var(--fg);
  line-height:1.35;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.75}

.container{
  max-width:1000px;
  margin:0 auto;
  padding:28px 18px 70px;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  border-bottom:1px solid var(--border);
  padding-bottom:14px;
  margin-bottom:28px;
  top: 0;
  backgroung: var(--bg);
  z-index; 10;
}

.wordmark{
  height: 18px;
  width: auto;
  display: block;
}

.brand a{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.brand .name{
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:14px;
}
.brand .tag{
  font-size:12px;
  color:var(--muted);
}

.menu{
  display:flex;
  gap:14px;
  font-size:13px;
}

.menu a{
  padding:8px 10px;
  border:1px solid transparent;
  border-radius:999px;
}
.menu a.active{
  border-color:var(--border);
}

.actions{
  display:flex;
  gap:10px;
  align-items:center;
}

.btn{
  border:1px solid var(--border);
  background:transparent;
  color:var(--fg);
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  cursor:pointer;
}
.btn.primary{
  background:var(--btn);
  color:var(--btnText);
  border-color:var(--btn);
}

.hero{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin:18px 0 26px;
  align-items: flex-start;
}

.h1{
  font-size:42px;
  letter-spacing:-.02em;
  margin:0;
}

.p{
  margin:0;
  color:var(--muted);
  max-width:56ch;
}

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
}

.card{
  grid-column: span 12;
  border:1px solid var(--border);
  background:var(--card);
  border-radius:16px;
  padding:16px;
}

.card.small{padding:14px}

@media (min-width: 740px){
  .card.half{grid-column: span 6;}
  .card.third{grid-column: span 4;}
}

.card-title{
  font-weight:700;
  margin:0 0 6px;
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.card-meta{
  display: flex;
  align-items: center;
  color:var(--muted);
  font-size:12px;
  margin:0 0 12px;
}

.list{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 12px;
  border:1px solid var(--border);
  border-radius:14px;
}

.item-left{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.item-left-row{
  display:flex;
  align-items:center;
  gap:12px;
}

.item-name{
  font-weight:650;
  font-size:14px;
}

/* Prevent horizontal scroll */
html, body{
  overflow-x: hidden;
}

/* Mobile navbar: keep within screen */
@media (max-width: 740px){
  .nav{
    width: 100%;
    max-width: 100%;
  }

  /* el contenedor del menú */
  .menu{
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .menu::-webkit-scrollbar{ display:none; }

  /* para que el botón de theme + latest no empujen */
  .nav-right{
    flex: 0 0 auto;
  }
}

.item-sub{
  font-size:12px;
  color:var(--muted);
}

.badge{
  font-size:11px;
  border:1px solid var(--border);
  padding:6px 10px;
  border-radius:999px;
  color:var(--muted);
  white-space:nowrap;
}

.hr{
  border:0;
  border-top:1px solid var(--border);
  margin:22px 0;
}

.footer{
  margin-top:26px;
  color:var(--muted);
  font-size:12px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}

.tracklist{
  margin:0;
  padding-left:18px;
  color:var(--fg);
}
.tracklist li{margin:6px 0}

.cover-mini{
  width:48px;
  max-width:48px;
  aspect-ratio: 1 / 1;
  border-radius: 0px;
  border: 1px solid var(--border);
  object-fit: cover;
  flex:0 0 48px;
}

.cover-big{
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 1 / 1;
  border-radius: 0px;
  border: 1px solid var(--border);
  object-fit: cover;
  margin-top: 14px;
  margin-left: 0;
}

@media (max-width: 740px){

  /* El scroll horizontal pasa a ser del NAV completo */
  .nav{
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar{ display:none; }

  /* El logo queda fijo a la izquierda mientras scrolleás */
  .brand{
    position: sticky;
    left: 0;
    z-index: 5;
    background: var(--bg);
    padding-right: 10px; /* separa del menú al scrollear */
  }

  /* Dejamos de hacer scroll dentro de .menu (ahora scrollea el nav) */
  .menu{
    overflow: visible;
    white-space: nowrap;
    max-width: none;
  }

  /* El bloque de botones también participa del scroll */
  .nav-right{
    flex: 0 0 auto;
    white-space: nowrap;
  }

  /* Light/Dark en una sola línea */
  .theme-toggle{
    white-space: nowrap;
    width: auto;
    line-height: 1;
  }

  /* Si tu botón tiene un <br> adentro, esto lo fuerza a 1 línea */
  .theme-toggle br{ display:none; }

  /* Si "Light" y "Dark" son spans en bloque, los ponemos inline */
  .theme-toggle span{ display:inline; }
}

.wrap,
.container,
.main,
.page{
  max-width: var(--container) !important;
  width: 100%;
  margin 0 auto;
}

.latest-btn{ display:none; }

.footer{
  width: 100%
  max-width: var(--container);
  margin 40px auto 0;
  padding: 0 20px;
  box-sizing: border-box;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

a.card-title{
  display: block;
  width: 100%;
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Iconos (favicons) */
.icon{
  max-width: 999px;
  max-height: 999px;
  width: auto;
  height: auto;
  flex: 0 0 auto;
  display: block;
  border-radius: 6px;   /* si querés que se vea más “apple” */
  margin-left: 3px;
}

/* Fila izquierda del item (icono + textos) */
.item-left-row{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;         /* evita que el texto empuje todo raro */
}

/* Textos no deben romper el layout */
.item-left{
  min-width: 0;
}
.item-name, .item-sub{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Favicons / icons: fuerza el tamaño sí o sí */
img.icon{
  width: var(--icon, 18px) !important;
  height: var(--icon, 18px) !important;
  max-width: var(--icon, 18px) !important;
  max-height: var(--icon, 18px) !important;

  display: block !important;
  flex: 0 0 var(--icon, 18px) !important;

  object-fit: contain !important;
}

.list a.item.item-plat{
  height: 56px;
  display: flex;
  align-items: center;
}
.artwork-credit{
  margin-top: -14px;
  margin-bottom: 30px;
  font-size: 12px;
  opacity: .6;

  width: fit-content;
  margin-left: auto;
}
.avatar{
  width: 500px;
  height: 500px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--border);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 740px){
  .hero .avatar{
    width: clamp(160px, 72vw, 320px);
    height: clamp(160px, 72vw, 320px);
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid var(--border);
    display: block;
  }
}
.wordmark-dark { display: none; }

:root[data-theme="dark"] .wordmark-light { display: none; }
:root[data-theme="dark"] .wordmark-dark { display: block; }

.card.third.small .btn.primary{
  position: relative;
  top: -6px;
}

.card.third.small{
  padding-bottom: 17px;
}

@media (max-width: 740 px){
  .card.third.small{
  padding-bottom: 17px;
  }
}