:root {
  --bg: #ffffff;
  --text: #191c22;
  --sub: #5b6170;
  --line: #e4e7ee;
  --accent: #1f4fe0;
  --box: #f4f6fa;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121418;
    --text: #eceef3;
    --sub: #a3a9b6;
    --line: #2b2f38;
    --accent: #7b9bff;
    --box: #1c1f26;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  line-height: 1.7;
  word-break: keep-all;
}

a {
  color: var(--accent);
}

main,
header,
footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 24px;
  padding-bottom: 8px;
}

header a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}

header img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

h1 {
  font-size: 28px;
  line-height: 1.35;
  margin: 32px 0 12px;
}

h2 {
  font-size: 19px;
  margin: 36px 0 8px;
}

p,
li {
  color: var(--text);
}

.sub {
  color: var(--sub);
}

.box {
  background: var(--box);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 16px 0;
}

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.shot {
  aspect-ratio: 9 / 19.5;
  border: 1px dashed var(--line);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sub);
  font-size: 14px;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 16px;
  color: var(--sub);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  padding: 8px 6px;
}

footer {
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding-top: 16px;
  padding-bottom: 40px;
  color: var(--sub);
  font-size: 14px;
}

footer a {
  color: var(--sub);
  margin-right: 14px;
}

.wide {
  overflow-x: auto;
}

.wide table {
  min-width: 560px;
}

.legal h2 {
  font-size: 17px;
  margin-top: 32px;
}

.legal li {
  margin-bottom: 6px;
}

.toc a {
  color: var(--text);
}
