:root {
  --bg: #0A0A0C;
  --card: #141418;
  --line: #222227;
  --violet: #A259FF;
  --violet2: #7209B7;
  --magenta: #F72585;
  --gold: #FFB703;
  --text: #F1F1F4;
  --muted: #8E8E9F;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--violet);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--magenta);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

h1 {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 40px 0 20px;
  color: #fff;
  letter-spacing: -0.01em;
}

h1 small, h2 small {
  display: block;
  font-size: 0.85rem;
  font-weight: normal;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0;
}

h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 48px 0 20px;
  padding-left: 14px;
  border-left: 4px solid var(--violet);
  color: #fff;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: #fff;
}

p {
  margin: 0 0 1.25em;
  color: #E2E2E9;
}

.pr {
  margin: 16px 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: right;
  letter-spacing: 0.05em;
}

/* Glassmorphism Header */
header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 20px;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #fff 40%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

header nav {
  display: flex;
  gap: 16px;
}

header nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
}

header nav a:hover, header nav a.active {
  color: var(--violet);
  border-bottom-color: var(--violet);
}

.lead {
  font-size: 1.05rem;
  color: #B2B2C2;
  line-height: 1.7;
}

/* Modern Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 32px;
}

.chip {
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  color: #D2D2DC;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}

.chip:hover {
  border-color: var(--violet);
  color: #fff;
  background: rgba(162, 89, 255, 0.08);
  transform: translateY(-1px);
}

/* Gorgeous Premium Button */
.btn {
  display: block;
  margin: 32px 0;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--violet2) 0%, var(--violet) 50%, var(--magenta) 100%);
  background-size: 200% auto;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  text-align: center;
  text-decoration: none;
  border-radius: 12px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  box-shadow: 0 4px 20px rgba(114, 9, 183, 0.35);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(114, 9, 183, 0.55);
}

.btn:active {
  transform: translateY(0);
}

/* Hero Section */
.hero {
  margin: 24px 0 32px;
  text-align: center;
}

.hero img {
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}

.hero img:hover {
  transform: scale(1.01);
  border-color: rgba(162, 89, 255, 0.3);
}

/* Meta Table */
table.meta {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0 32px;
  font-size: 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--card);
}

table.meta th, table.meta td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

table.meta tr:last-child th, table.meta tr:last-child td {
  border-bottom: none;
}

table.meta th {
  width: 7.5em;
  color: var(--muted);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}

/* Grid and Premium Card */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gcard:hover {
  transform: translateY(-5px);
  border-color: rgba(162, 89, 255, 0.4);
  box-shadow: 0 10px 25px rgba(114, 9, 183, 0.25);
}

.gcard a {
  color: #fff;
  text-decoration: none;
}

.gcard img {
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: #050507;
  transition: var(--transition);
}

.gcard:hover img {
  filter: brightness(1.05);
}

.gcard .body {
  padding: 14px 16px 16px;
}

.gcard h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.gcard .sub {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

/* Sleek Scores Section */
.scores {
  margin: 24px 0 32px;
  background: var(--card);
  padding: 20px 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.score {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
  margin: 14px 0;
}

.score:first-child {
  margin-top: 0;
}

.score:last-child {
  margin-bottom: 0;
}

.score span:first-child {
  width: 12em;
  color: #D2D2DC;
  font-weight: 600;
}

.score .bar {
  flex: 1;
  height: 8px;
  background: #25252D;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.score .bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  animation: grow 1.2s cubic-bezier(0.1, 1, 0.1, 1);
  box-shadow: 0 0 10px currentColor; background: var(--violet); color: var(--violet);
}

@keyframes grow {
  from { width: 0; }
}

.score b {
  width: 1.5em;
  text-align: right;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

/* Beautiful Yokoku Blockquote */
.yokoku {
  margin: 32px 0;
  padding: 28px 24px;
  background: linear-gradient(135deg, #18121E 0%, #13131A 100%);
  border-left: 4px solid var(--violet);
  border-radius: 0 16px 16px 0;
  font-family: "Georgia", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 2;
  color: #E2D9E8;
  border-top: 1px solid rgba(162, 89, 255, 0.05);
  border-right: 1px solid rgba(162, 89, 255, 0.05);
  border-bottom: 1px solid rgba(162, 89, 255, 0.05);
}

.yokoku p:last-child {
  margin-bottom: 0;
}

/* Verdict Badge */
.verdict {
  display: inline-block;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  background: rgba(255, 183, 3, 0.15);
  border: 1px solid var(--gold);
  padding: 6px 16px;
  border-radius: 8px;
  margin: 16px 0;
}

.ended {
  padding: 16px;
  background: rgba(255, 183, 3, 0.08);
  border: 1px solid rgba(255, 183, 3, 0.3);
  border-radius: 12px;
  color: #FFD270;
  font-weight: 500;
  margin: 24px 0;
}

/* Gallery and Samples */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: var(--transition);
}

.gallery img:hover {
  transform: scale(1.03);
  border-color: rgba(162, 89, 255, 0.4);
  box-shadow: 0 6px 15px rgba(114, 9, 183, 0.2);
}

.pick {
  margin-bottom: 56px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.pager {
  display: flex;
  justify-content: space-between;
  margin: 40px 0;
}

/* Footer Section */
footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 64px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

footer nav a {
  color: var(--muted);
  text-decoration: none;
}

footer nav a:hover {
  color: var(--text);
}

footer .credit {
  font-size: 0.75rem;
  margin-top: 16px;
}

footer .credit a {
  color: var(--muted);
  border-bottom: 1px dotted var(--muted);
}

footer .credit a:hover {
  color: var(--violet);
  border-bottom-color: var(--violet);
}

ul {
  padding-left: 1.5em;
  margin: 0 0 20px;
}

li {
  margin-bottom: 8px;
}

/* Responsive Styles */
@media (max-width: 580px) {
  header.site {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
  }
  
  header nav {
    width: 100%;
    justify-content: space-around;
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .score {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  
  .score span:first-child {
    width: 100%;
  }
  
  .score .bar {
    width: 100%;
  }
  
  .score b {
    align-self: flex-end;
    margin-top: -24px;
  }
  
  .yokoku {
    padding: 20px 18px;
    font-size: 1rem;
  }
}
