/* 체리의 공간 — 독립 기능 공통 띠(cherry-shell.js가 맨 위에 넣는다). 사이트 색(tokens.css)과 같은 값, 기능의 스타일과 섞이지 않게 접두어를 쓴다. */
.cherry-shell {
  --cs-bg: #FCFBFB;
  --cs-line: #EEE8EA;
  --cs-ink: #17151A;
  --cs-cherry: #C2405A;
  --cs-edge: #857D80;
  position: sticky;
  top: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
  min-height: 48px;
  margin: 0;
  padding: 6px 16px;
  border-bottom: 1px solid var(--cs-line);
  background: var(--cs-bg);
  color: var(--cs-ink);
  font: 600 15px/1.4 system-ui, -apple-system, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Hiragino Sans", sans-serif;
  text-align: left;
}
.cherry-shell-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  color: var(--cs-cherry);
  font: inherit;
  text-decoration: none;
}
.cherry-shell-back:hover { text-decoration: underline; }
.cherry-shell-lang select {
  min-height: 36px;
  padding: 0 8px;
  border: 1px solid var(--cs-edge);
  border-radius: 8px;
  background: var(--cs-bg);
  color: var(--cs-ink);
  font: 500 14px/1.2 inherit;
}
.cherry-shell a:focus-visible,
.cherry-shell select:focus-visible { outline: 2px solid var(--cs-cherry); outline-offset: 2px; }
.cherry-shell-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (prefers-color-scheme: dark) {
  .cherry-shell { --cs-bg: #0C0F0E; --cs-line: #262C2A; --cs-ink: #EEF0EF; --cs-cherry: #FF7D8C; --cs-edge: #7E8784; }
}
@media (forced-colors: active) {
  .cherry-shell { border-bottom: 1px solid CanvasText; }
}
