:root {
  color-scheme: dark;
  --background: #160505;
  --gold: #f3c76d;
  --gold-light: #fff0b3;
  --line: #75df65;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  min-width: 320px;
  margin: 0;
  color: #fff8e4;
  background:
    radial-gradient(circle at 50% 0, rgba(184, 34, 22, 0.27), transparent 36rem),
    var(--background);
  font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 11px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid rgba(243, 199, 109, 0.2);
  background: rgba(22, 5, 5, 0.88);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  letter-spacing: 0.08em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #3a1208;
  border: 1px solid #ffe29c;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff0af, #cf8125);
  box-shadow: 0 0 18px rgba(243, 199, 109, 0.22);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -2px;
}

.header-line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  color: #08280d;
  border: 1px solid #dbffc8;
  border-radius: 999px;
  background: linear-gradient(120deg, #b8f68a, var(--line));
  box-shadow: 0 6px 17px rgba(59, 180, 67, 0.2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-line:hover,
.header-line:focus-visible {
  box-shadow: 0 9px 23px rgba(59, 180, 67, 0.32);
  transform: translateY(-2px);
}

.line-status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #128334;
  box-shadow: 0 0 0 3px rgba(18, 131, 52, 0.14);
}

.header-line b {
  font-size: 14px;
  line-height: 1;
}

.image-stack {
  display: grid;
  width: 100%;
  gap: clamp(8px, 1vw, 14px);
  padding-bottom: clamp(8px, 1vw, 14px);
}

.full-image {
  display: block;
  width: 100%;
  overflow: hidden;
  background: #2a0807;
  line-height: 0;
}

.full-image img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 320ms ease, filter 320ms ease;
}

.full-image:hover img,
.full-image:focus-visible img {
  filter: brightness(1.06) saturate(1.06);
  transform: scale(1.012);
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: -3px;
}

@media (max-width: 560px) {
  .site-header {
    min-height: 57px;
    padding: 9px 14px;
  }

  .brand {
    font-size: 14px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .header-line {
    padding: 8px 11px;
    font-size: 10px;
  }
}
