:root {
  --bg: #faf8f3;
  --card: #ffffff;
  --ink: #2d2d2d;
  --soft: #6b6b6b;
  --line: #e8e4da;
  --point: #5b8c32;
  --point-soft: #eef4e6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d1d1b;
    --card: #262624;
    --ink: #ececea;
    --soft: #a8a8a3;
    --line: #3a3a37;
    --point: #9cc56f;
    --point-soft: #2c3524;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Segoe UI", Roboto, sans-serif;
}
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
header.top { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
header.top img { width: 56px; height: 56px; border-radius: 14px; }
header.top a { color: inherit; text-decoration: none; }
h1 { font-size: 28px; line-height: 1.25; margin: 0; }
h2 { font-size: 20px; margin: 36px 0 8px; }
h3 { font-size: 17px; margin: 24px 0 6px; }
p, li { color: var(--ink); }
.soft { color: var(--soft); }
a { color: var(--point); }
nav.links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 16px 0 0; font-size: 15px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; margin: 18px 0; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 4px; }
.stores a {
  display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--point); color: #fff;
  text-decoration: none; font-weight: 600;
}
.note { background: var(--point-soft); border-radius: 14px; padding: 14px 16px; }
table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 14.5px; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--point-soft); }
.wide { overflow-x: auto; }
footer { margin-top: 48px; font-size: 14px; color: var(--soft); border-top: 1px solid var(--line); padding-top: 16px; }
code { overflow-wrap: anywhere; font-size: 0.92em; }
p, li { overflow-wrap: break-word; }
.card > h2:first-child { margin-top: 0; }
/* 공유 캘린더 초대 (/join) */
.join-code { text-align: center; }
.join-code .code {
  font: 700 40px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.18em; margin: 6px 0 14px;
}
button.copy {
  font: inherit; font-weight: 600; color: #fff; background: var(--point); border: 0; border-radius: 999px;
  padding: 10px 22px; cursor: pointer;
}
.stores a.other { background: transparent; color: var(--point); border: 1px solid var(--point); }
[hidden] { display: none !important; }
