:root {
  color-scheme: dark;
  --black: #0d0704;
  --brown: #3f1d0d;
  --brown-2: #1d0f08;
  --gold: #eec066;
  --pale: #ffe4a0;
  --muted: #c7a779;
  --red: #c51612;
  --line: rgba(238, 192, 102, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #111;
  color: var(--pale);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.page-shell {
  width: min(100%, 430px);
  margin: 0 auto;
  background:
    radial-gradient(circle at 70% 16%, rgba(222, 130, 38, 0.24), transparent 28rem),
    linear-gradient(180deg, var(--black), var(--brown) 34%, var(--black));
  min-height: 100vh;
}

.hero img {
  display: block;
  width: 100%;
}

.section {
  padding: 28px 22px;
}

.intro {
  text-align: center;
  background: linear-gradient(180deg, rgba(21, 8, 3, 0.92), rgba(67, 29, 11, 0.74));
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 24px;
  line-height: 1.25;
}

h2 {
  margin-top: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 25px;
  line-height: 1.2;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.intro p {
  margin: 12px auto 20px;
  max-width: 330px;
}

.eyebrow {
  color: #d36b27;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 28px;
  background: var(--red);
  color: #fff3c5;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.secondary-button {
  background: var(--gold);
  color: var(--black);
}

.facts {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.facts.boxed {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(18, 9, 5, 0.72);
}

.facts div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
}

dt {
  color: var(--gold);
  font-weight: 800;
}

dd {
  margin: 0;
  line-height: 1.55;
  font-weight: 700;
}

.card {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(18, 9, 5, 0.72);
}

.card b {
  display: block;
  margin-bottom: 6px;
}

.accent-card {
  border-color: rgba(238, 192, 102, 0.5);
  background: rgba(21, 9, 5, 0.86);
}

.accent-card p {
  color: var(--pale);
  font-weight: 700;
}

.notice-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 1.2em;
  color: var(--pale);
  line-height: 1.65;
}

.form-lead {
  margin-top: 14px;
}

form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--gold);
  font-weight: 800;
}

label span {
  justify-self: start;
  border: 1px solid rgba(238, 192, 102, 0.35);
  border-radius: 999px;
  padding: 2px 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(11, 6, 4, 0.82);
  color: var(--pale);
  font: inherit;
}

textarea {
  resize: vertical;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.consent input {
  width: auto;
  margin-top: 4px;
}

.form-message {
  min-height: 24px;
  text-align: center;
  color: var(--gold);
}

.footer {
  display: flex;
  justify-content: flex-end;
  padding: 0 22px 22px;
}

.footer img {
  width: 146px;
  height: auto;
}

.admin-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0;
}

.admin-header,
.admin-login {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.admin-login {
  justify-content: flex-start;
}

.admin-login input {
  max-width: 280px;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(13, 7, 4, 0.9);
}

th,
td {
  border-bottom: 1px solid rgba(238, 192, 102, 0.18);
  padding: 12px;
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--gold);
}

.thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
}
