:root {
  --ink: #14241f;
  --muted: #4a635a;
  --paper: #f3efe6;
  --panel: #fffcf7;
  --line: #d5cfc2;
  --week: #1f6f6a;
  --live: #3e457f;
  --gold: #8d6416;
  --gold-bg: #f6edd8;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(720px 320px at 0% 0%, rgba(31, 111, 106, 0.16), transparent 55%),
    linear-gradient(180deg, #ebe4d6 0%, var(--paper) 48%, #e7efe9 100%);
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
.page { width: min(980px, calc(100% - 28px)); margin: 0 auto; padding: 22px 0 56px; }
.top { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-end; margin-bottom: 16px; }
.brand { color: var(--week); font-weight: 700; letter-spacing: 0.14em; text-transform: lowercase; text-decoration: none; }
.intro { flex: 1 1 240px; }
.eyebrow { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
h1 { margin: 0; font-family: Fraunces, Georgia, serif; font-size: clamp(32px, 6vw, 48px); letter-spacing: -0.03em; line-height: 0.95; }
.lede { margin: 8px 0 0; color: var(--muted); max-width: 46ch; }
.stars {
  margin-left: auto;
  background: var(--panel);
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  text-align: left;
  min-width: 140px;
}
.stars b { display: block; font-family: Fraunces, Georgia, serif; font-size: 28px; line-height: 1; }
.nav { display: flex; gap: 4px; margin: 8px 0 14px; }
.nav button, .switch button, .item, .col, .buy, .order button {
  background: transparent;
  border: 0;
}
.nav button { padding: 6px 10px 8px; border-bottom: 2px solid transparent; color: var(--muted); font-weight: 700; }
.nav button.is-on { color: var(--ink); border-bottom-color: var(--ink); }
.switch { display: flex; gap: 6px; margin-bottom: 14px; overflow-x: auto; }
.switch button {
  flex: 1 1 0;
  min-width: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.switch button b { font-family: Fraunces, Georgia, serif; font-size: 18px; }
.switch button span { font-size: 12px; color: var(--muted); font-weight: 700; }
.switch button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.switch button.is-on span { color: rgba(255,255,255,.72); }
.card, .sheet {
  background: var(--panel);
  border: 1.5px dashed var(--line);
  border-radius: 18px;
  padding: 16px 16px 12px;
  box-shadow: 0 18px 40px rgba(20, 36, 31, 0.06);
}
.card { max-width: 520px; }
.card h2 { margin: 0 0 8px; font-family: Fraunces, Georgia, serif; font-size: 26px; }
.card h2 small { display: block; font-family: "Source Sans 3", sans-serif; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.item {
  width: 100%;
  display: grid;
  grid-template-columns: 28px 92px 1fr;
  gap: 8px;
  align-items: start;
  text-align: left;
  padding: 8px 0;
  border-bottom: 1px solid #efeae0;
}
.item--must { background: #e4f1ef; margin: 4px -8px; padding: 8px; border: 0; border-radius: 8px; }
.item--live { background: #e7e8f3; }
.box, .mark { width: 22px; height: 22px; border-radius: 4px; margin-top: 1px; }
.box { border: 2px solid var(--week); background: #fff; display: grid; place-items: center; }
.item--live .box { border-color: var(--live); }
.item.is-done .box { background: var(--week); color: #fff; }
.item--live.is-done .box { background: var(--live); }
.mark { width: 3px; height: 14px; background: var(--gold); margin: 5px auto 0; }
.time { font-weight: 700; font-variant-numeric: tabular-nums; }
.name { font-weight: 650; }
.note { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }
.tag { margin-left: 6px; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; color: var(--week); font-style: normal; }
.item--live .tag { color: var(--live); }
.foot, .hint { color: var(--muted); font-size: 14px; }
.foot { margin: 10px 0 0; padding-top: 8px; border-top: 1px solid var(--line); }
.week { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; }
.col {
  flex: 0 0 168px;
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
}
.col header { display: flex; justify-content: space-between; font-family: Fraunces, Georgia, serif; font-size: 20px; }
.ev { border-left: 3px solid var(--gold); padding: 2px 0 2px 6px; margin: 0 0 5px; font-size: 13px; line-height: 1.25; }
.ev b { display: block; }
.ev--must { border-color: var(--week); background: #e4f1ef; }
.ev--live { border-color: var(--live); background: #e7e8f3; }
.shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.prize {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.prize strong { font-family: Fraunces, Georgia, serif; font-size: 20px; line-height: 1.2; }
.prize .price { color: var(--gold); font-weight: 700; }
.buy {
  margin-top: auto;
  min-height: 40px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}
.buy:disabled { background: #e6e1d6; color: var(--muted); }
.orders { margin-top: 16px; }
.orders li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.old { margin-top: 22px; color: var(--muted); }
.old a { color: var(--ink); }
@media (min-width: 1100px) {
  .week { display: grid; grid-template-columns: repeat(7, 1fr); }
  .col { flex: none; }
}
