:root {
  --paper: #F4EDD8;
  --paper-mid: #EAE0C4;
  --paper-deep: #DDD0AC;
  --ink: #231608;
  --ink-mid: #5A3A18;
  --ink-light: #8C6535;
  --terra: #B85C2A;
  --terra-light: #D98B5F;
  --terra-pale: #F0CEAD;
  --kr-red: #CD2E3A;
  --kr-blue: #003478;
  --kr-red-pale: #F5D5D7;
  --kr-blue-pale: #D0DCF0;
  --border-soft: rgba(90,58,24,0.16);
  --border-med: rgba(90,58,24,0.32);
  --border-strong: rgba(90,58,24,0.55);
}

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

body {
  background: var(--paper-deep);
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: 100vh;
}

.fsr {
  font-family: 'DM Mono', monospace;
  background: var(--paper);
  color: var(--ink);
  width: 100%;
  max-width: 900px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.18);
}

.fsr-header {
  background: var(--ink);
  padding: 1.1rem 1.5rem 1rem;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 1.1rem;
}

.fsr-logo-circle {
  width: 66px; height: 66px; border-radius: 50%;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}

.fsr-logo-circle img { width: 100%; height: 100%; object-fit: cover; }

.fsr-title-block { display: flex; flex-direction: column; gap: 6px; }

.fsr-name {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  line-height: 1; color: var(--paper);
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
}

.fsr-name-ko {
  font-family: 'DM Mono', monospace;
  font-size: 12px; font-weight: 400;
  color: var(--terra-light); letter-spacing: 0.25em;
}

.fsr-subtitle {
  font-size: 8px; letter-spacing: 0.18em;
  color: var(--ink-light); text-transform: uppercase; font-weight: 500;
}

.fsr-divider { display: block; line-height: 0; }

.fsr-nav {
  background: var(--ink);
  padding: 0 1.5rem;
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.06);
  overflow-x: auto;
}

.nav-item {
  font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 8px 14px 8px 0;
  white-space: nowrap;
  color: rgba(244,237,216,0.42);
  text-decoration: none;
  font-family: 'DM Mono', monospace; font-weight: 500;
  transition: color 0.1s;
}
.nav-item + .nav-item { padding-left: 14px; border-left: 1px solid rgba(255,255,255,0.09); }
.nav-item.active { color: var(--paper); }
.nav-item:hover { color: var(--terra-pale); }

.fsr-body { padding: 1rem 1.5rem 0; }

.section-label-wrap {
  border: 1px solid var(--border-soft);
  margin-bottom: 1rem;
  padding: 0.55rem 0.875rem;
  position: relative;
}

.section-rule {
  font-size: 7.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-light); font-weight: 500;
}

.fsr-filters { display: flex; gap: 5px; margin-bottom: 1rem; flex-wrap: wrap; }

.fp {
  font-size: 7.5px; font-family: 'DM Mono', monospace; font-weight: 500;
  padding: 3px 10px; border: 1px solid var(--border-strong);
  cursor: pointer; letter-spacing: 0.1em; text-transform: uppercase;
  background: transparent; color: var(--ink-mid); transition: all 0.1s;
}
.fp.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.fp:hover:not(.active) { background: var(--terra-pale); border-color: var(--terra); color: var(--ink); }

.listings-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  border-top: 1px solid var(--border-strong);
  border-left: 1px solid var(--border-strong);
}

.rc {
  border-right: 1px solid var(--border-med);
  border-bottom: 1px solid var(--border-med);
  padding: 0.875rem; cursor: pointer;
  transition: background 0.1s; background: var(--paper);
}
.rc:hover { background: var(--paper-mid); }
.rc a { text-decoration: none; color: inherit; display: block; }

.rc-sleeve {
  width: 100%; aspect-ratio: 1;
  border: 1px solid var(--border-soft);
  margin-bottom: 0.75rem; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

.rc-cover {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}

.rc-disc {
  width: 70%; height: 70%; border-radius: 50%;
  border: 1px solid var(--border-med);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.rc-disc::before {
  content: ''; position: absolute; width: 80%; height: 80%;
  border-radius: 50%; border: 1px solid var(--border-soft);
}
.rc-disc::after {
  content: ''; position: absolute; width: 60%; height: 60%;
  border-radius: 50%; border: 1px solid var(--border-soft); opacity: 0.5;
}

.rc-disc-label {
  width: 32%; height: 32%; border-radius: 50%;
  z-index: 1; display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 9px; font-weight: 400;
}

.rc-tag {
  position: absolute; top: 0; right: 0;
  font-size: 7px; font-family: 'DM Mono', monospace; font-weight: 500;
  padding: 2px 6px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff;
}

.tag-red { background: var(--kr-red); }
.tag-blue { background: var(--kr-blue); }
.tag-terra { background: var(--terra); }
.sleeve-red { background: var(--kr-red-pale); }
.sleeve-blue { background: var(--kr-blue-pale); }
.sleeve-terra { background: var(--paper-mid); }
.label-red { background: var(--kr-red); color: #fff; }
.label-blue { background: var(--kr-blue); color: #fff; }
.label-terra { background: var(--terra); color: var(--paper); }

.rc-artist { font-size: 7.5px; color: var(--ink-light); letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 3px; font-weight: 500; }
.rc-title { font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 500; line-height: 1.25; margin: 0 0 8px; color: var(--ink); }
.rc-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 4px; }
.rc-info { font-size: 7.5px; color: var(--ink-light); line-height: 1.8; letter-spacing: 0.03em; }
.rc-right { text-align: right; flex-shrink: 0; }
.rc-cond { font-size: 7px; padding: 1px 5px; display: inline-block; margin-bottom: 3px; letter-spacing: 0.1em; font-weight: 500; border: 1px solid; }
.cond-nm { color: var(--kr-red); border-color: var(--kr-red); }
.cond-vgplus { color: var(--kr-blue); border-color: var(--kr-blue); }
.cond-vg { color: var(--terra); border-color: var(--terra); }
.cond-g { color: var(--ink-light); border-color: var(--ink-light); }
.rc-price { font-size: 14px; font-weight: 500; font-family: 'DM Mono', monospace; color: var(--ink); }

.fsr-footer {
  margin: 1rem 1.5rem 0.5rem;
  border-top: 1px solid var(--border-med);
  padding-top: 0.75rem;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-note { font-size: 7.5px; color: var(--ink-light); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.9; }
.footer-count { font-size: 9px; font-weight: 500; letter-spacing: 0.08em; color: var(--ink-mid); }

.hidden { display: none !important; }

@media (max-width: 600px) {
  .listings-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .fsr-name { font-size: 20px; }
}

@media (max-width: 400px) {
  .listings-grid { grid-template-columns: 1fr; }
}