/* 사주돌 customer site: the colours, sizes and page basics every customer page shares (web.css for the site's
   lists and menus, flow.css for a product's own screens). Ink on warm paper: the key colour is the ink itself
   (먹), so what can be tapped or bought is marked by weight and a solid ink fill, not by a hue. Small radii
   (4 / 8 / 14). Light and dark follow the device. */
:root {
  --page: #e4dfd6;
  --surface: #faf8f4;
  --raised: #ffffff;
  --ink: #1a1613;
  --ink-2: #5e564d;
  --ink-3: #7a7167;
  --line: #e6e0d6;
  --soft: #f1ede5;
  --key: #1a1613;
  --key-ink: #1a1613;
  --key-tint: #ece6db;
  --on-key: #ffffff;
  /* the old names of the key colour: the screens of a product (studio/studio.css, shared with the studio's
     preview) still read these, and would fall back to the studio's own accent without them */
  --jade: var(--key);
  --jade-ink: var(--key-ink);
  --jade-tint: var(--key-tint);
  --on-jade: var(--on-key);
  --danger: #c23b31;
  --shadow: 0 1px 2px rgba(34, 24, 14, .06), 0 8px 24px -12px rgba(34, 24, 14, .2);
  --r-xs: 4px;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --col: 480px;
  --top-h: 56px;
  --dock-h: 64px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0e0c0a;
    --surface: #161310;
    --raised: #1e1a16;
    --ink: #f1ece3;
    --ink-2: #c4bbae;
    --ink-3: #958b7e;
    --line: #2b2620;
    --soft: #1f1b17;
    --key: #f1ece3;
    --key-ink: #f1ece3;
    --key-tint: #2a2520;
    --on-key: #1a1613;
    --danger: #f08a80;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px -14px rgba(0, 0, 0, .7);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 15px/1.55 "Wanted Sans Variable", "Wanted Sans", -apple-system, "Apple SD Gothic Neo", sans-serif;
  letter-spacing: -0.01em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--key); outline-offset: 2px; border-radius: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon-button {
  display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 8px;
  background: none; font-size: 22px; cursor: pointer;
}
.icon-button:active { background: var(--soft); }
/* 채널 추가 (web/_follow.html): on 내 풀이 and under the paid page's screens (flow.css lays it flat there) */
.follow {
  display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 14px 16px; border-radius: var(--r-sm);
  background: var(--soft); color: var(--ink-2); font-size: 13px; line-height: 1.45;
}
.follow > .ph { flex: none; color: var(--ink-3); font-size: 20px; }
.follow__text { flex: 1; min-width: 0; display: grid; gap: 2px; text-wrap: pretty; }
.follow__text b { color: var(--ink); font-size: 14px; font-weight: 650; }
.follow__go {
  flex: none; padding: 7px 11px; border-radius: 6px; background: #fee500; color: rgba(0, 0, 0, .85);
  font-size: 12.5px; font-weight: 650; white-space: nowrap; transition: transform .15s ease;
}
.follow:active .follow__go { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
