:root {
  --teal: #1ba39c;
  --teal-light: #27c9bf;
  --white: #ffffff;
  --off-white: #f8fbfb;
  --gold: #c9a227;
  --gold-light: #e0bc42;
  --dark-text: #1a1a1a;
  --muted: #6e7f80;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  background: var(--off-white);
  color: var(--dark-text);
}

.topbar {
  background: var(--white);
  border-bottom: 2px solid var(--teal);
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--gold);
}

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

.brand-title {
  font-weight: 800;
  font-size: 18px;
  color: var(--teal);
}

.brand-badge {
  background: var(--gold);
  color: white;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 8px;
}

.brand-sub {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}

.nav {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-link {
  text-decoration: none;
  display: inline-flex;
}

.nav-button {
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 2px solid var(--teal);
  background: white;
  color: var(--teal);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-button:hover {
  background: var(--teal);
  color: white;
}

.nav-button.gold {
  border-color: var(--gold);
  color: var(--gold);
}

.nav-button.gold:hover {
  background: var(--gold);
  color: white;
}
.nav-button.active {
  background: rgba(27, 163, 156, 0.08);
}
.nav-group {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.container {
  max-width: 1200px;
  margin: 22px auto 50px;
  padding: 0 20px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 6px 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.crumbs a {
  color: var(--teal);
  text-decoration: none;
}

.crumbs a:hover {
  text-decoration: underline;
}

.panel {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

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

.main-img {
  width: 100%;
  height: 420px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid #e8eeee;
  background: #f4f7f7;
  display: block;
}

.no-img {
  height: 420px;
  border-radius: 16px;
  border: 1px dashed #d9e2e2;
  background: #fbfdfd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.thumbs {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.thumbs::-webkit-scrollbar {
  height: 10px;
}

.thumbs::-webkit-scrollbar-thumb {
  background: #d9e2e2;
  border-radius: 999px;
}

.thumb {
  flex: 0 0 auto;
  width: 92px;
  height: 72px;
  border-radius: 12px;
  border: 2px solid transparent;
  object-fit: cover;
  background: #f4f7f7;
  cursor: pointer;
  scroll-snap-align: start;
}

.thumb.active {
  border-color: var(--teal);
}

.title {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
  color: var(--dark-text);
}

.subtitle {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid #e8eeee;
  background: #f8fbfb;
  font-size: 12px;
  font-weight: 900;
  color: var(--dark-text);
  line-height: 1;
  white-space: nowrap;
}

.chip.gold {
  background: rgba(201, 162, 39, 0.12);
  border-color: rgba(201, 162, 39, 0.35);
  color: #8a6d12;
}

.divider {
  height: 1px;
  background: #e8eeee;
  margin: 16px 0;
}

.kv {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px 14px;
  margin-top: 12px;
  align-items: center;
}

.k {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.v {
  font-size: 13px;
  font-weight: 800;
  color: #223;
  word-break: break-word;
}

.code {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 8px;
  background: #f2f6f6;
  border: 1px solid #e3eeee;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    'Liberation Mono', 'Courier New', monospace;
  font-size: 12px;
  font-weight: 800;
  color: #223;
  letter-spacing: 0.2px;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  align-items: center;
}

.btn {
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  background: var(--teal);
  color: white;
  transition: 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn:hover {
  background: var(--teal-light);
}

.btn.gold {
  background: var(--gold);
}

.btn.gold:hover {
  background: var(--gold-light);
}

.btn.secondary {
  background: white;
  color: var(--teal);
  border: 2px solid var(--teal);
}

.hint {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
