:root {
  color-scheme: light;
  --bg: #fff7fb;
  --panel: #ffffffd9;
  --text: #3b2231;
  --muted: #8b6077;
  --pink: #ff4fad;
  --pink-dark: #cf267d;
  --pink-soft: #ffd7ec;
  --line: #f3bad8;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at top left, #ffe1f0 0, transparent 32rem),
    var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  font: 15px/1.5 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: #ffebf5cc;
}

.brand {
  color: var(--pink-dark);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-header a,
.breadcrumbs a,
table a {
  color: var(--pink-dark);
}

.site-header nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-header nav a:hover,
.breadcrumbs a:hover,
table a:hover {
  color: var(--pink);
  text-decoration: underline;
}

main {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100vw - 2rem));
  margin: 3rem auto 5rem;
}

.breadcrumbs {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.breadcrumbs a {
  text-decoration: none;
}

.slash {
  margin: 0 0.35rem;
  color: #be86a3;
}

.listing {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 16px 45px #d4488f17;
}

h1 {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 750;
  overflow-wrap: anywhere;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.55rem 0.45rem;
  border-top: 1px solid #f8d4e7;
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

tr:hover td {
  background: #fff1f8;
}

.name {
  width: auto;
}

.size {
  width: 8rem;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

.date {
  width: 12rem;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

table a {
  text-decoration: none;
}

.entry-link {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  min-width: 0;
}

.icon {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: var(--pink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sprite {
  display: none;
}

footer {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100vw - 2rem));
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.dot {
  margin: 0 0.4rem;
  color: #ce8dad;
}

.uma {
  position: fixed;
  right: 1.25rem;
  bottom: 0;
  z-index: 0;
  max-width: min(26.4vw, 264px);
  max-height: 46vh;
  object-fit: contain;
  object-position: bottom right;
  opacity: 0.78;
  pointer-events: none;
  filter: drop-shadow(0 18px 24px #c22e8233);
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  main {
    margin-top: 1.5rem;
  }

  .listing {
    padding: 0.75rem;
    border-radius: 12px;
    overflow-x: auto;
  }

  th,
  td {
    padding: 0.45rem 0.3rem;
  }

  .date {
    display: none;
  }

  .size {
    width: 6rem;
  }

  .uma {
    max-width: 46vw;
    opacity: 0.65;
  }
}
