:root {
  font-family: 'Pretendard', 'Inter', 'Segoe UI', sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color: var(--theme-text);
  background: var(--theme-body-bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --theme-body-bg: #121212;
  --theme-shell-bg: rgba(14, 14, 14, 0.96);
  --theme-rail-bg: rgba(14, 14, 14, 0.92);
  --theme-main-bg: rgba(18, 18, 18, 0.98);
  --theme-workspace-bg: rgba(24, 24, 24, 0.92);
  --theme-card-bg: rgba(62, 62, 62, 0.82);
  --theme-card-bg-hover: rgba(70, 70, 70, 0.96);
  --theme-card-border: rgba(255, 255, 255, 0.16);
  --theme-card-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --theme-surface-soft: rgba(255, 255, 255, 0.05);
  --theme-surface-soft-2: rgba(255, 255, 255, 0.06);
  --theme-surface-soft-3: rgba(255, 255, 255, 0.08);
  --theme-pill-bg: rgba(255, 255, 255, 0.03);
  --theme-border: rgba(255, 255, 255, 0.08);
  --theme-border-strong: rgba(255, 255, 255, 0.12);
  --theme-text: rgba(255, 255, 255, 0.92);
  --theme-text-strong: rgba(255, 255, 255, 0.98);
  --theme-text-muted: rgba(255, 255, 255, 0.74);
  --theme-text-soft: rgba(255, 255, 255, 0.62);
  --theme-text-faint: rgba(255, 255, 255, 0.4);
  --theme-thumb-fallback-bg: #555;
  --theme-select-arrow: rgba(255, 255, 255, 0.68);
  --theme-danger-bg: rgba(239, 68, 68, 0.1);
  --theme-danger-border: rgba(239, 68, 68, 0.18);
  --theme-accent-bg: rgba(76, 133, 245, 0.92);
  --theme-accent-strong: rgba(137, 183, 255, 0.96);
  --theme-accent-soft: rgba(76, 133, 245, 0.18);
  --theme-accent-soft-strong: rgba(76, 133, 245, 0.3);
  --theme-accent-text: #fff;
  --theme-overlay-scrim: rgba(0, 0, 0, 0.62);
  --theme-avatar-border: rgba(255, 255, 255, 0.14);
  --theme-favorite-bg: rgba(12, 14, 18, 0.72);
  --theme-favorite-border: rgba(255, 255, 255, 0.14);
  --theme-favorite-icon: rgba(255, 255, 255, 0.94);
  --theme-favorite-active-bg: rgba(54, 45, 10, 0.92);
  --theme-favorite-active-border: rgba(255, 216, 107, 0.28);
  --theme-favorite-active-icon: #ffd86b;
  --theme-icon-filter: brightness(0) saturate(100%) invert(94%) sepia(6%) saturate(207%) hue-rotate(186deg) brightness(96%) contrast(92%);
}

:root[data-theme='light'] {
  --theme-body-bg: #eef2f8;
  --theme-shell-bg: rgba(241, 245, 251, 0.98);
  --theme-rail-bg: rgba(248, 250, 253, 0.98);
  --theme-main-bg: rgba(234, 239, 247, 0.98);
  --theme-workspace-bg: rgba(250, 252, 255, 0.97);
  --theme-card-bg: rgba(255, 255, 255, 0.96);
  --theme-card-bg-hover: rgba(246, 249, 253, 0.98);
  --theme-card-border: rgba(71, 85, 105, 0.12);
  --theme-card-shadow: 0 14px 30px rgba(57, 72, 92, 0.08);
  --theme-surface-soft: rgba(75, 85, 99, 0.052);
  --theme-surface-soft-2: rgba(75, 85, 99, 0.078);
  --theme-surface-soft-3: rgba(75, 85, 99, 0.11);
  --theme-pill-bg: rgba(75, 85, 99, 0.048);
  --theme-border: rgba(71, 85, 105, 0.12);
  --theme-border-strong: rgba(71, 85, 105, 0.18);
  --theme-text: rgba(24, 33, 48, 0.93);
  --theme-text-strong: rgba(11, 18, 32, 0.98);
  --theme-text-muted: rgba(51, 65, 85, 0.78);
  --theme-text-soft: rgba(71, 85, 105, 0.76);
  --theme-text-faint: rgba(100, 116, 139, 0.9);
  --theme-thumb-fallback-bg: #f3f6fb;
  --theme-select-arrow: rgba(51, 65, 85, 0.72);
  --theme-danger-bg: rgba(239, 68, 68, 0.1);
  --theme-danger-border: rgba(239, 68, 68, 0.22);
  --theme-accent-bg: rgba(56, 105, 226, 0.94);
  --theme-accent-strong: rgba(47, 87, 194, 0.96);
  --theme-accent-soft: rgba(56, 105, 226, 0.12);
  --theme-accent-soft-strong: rgba(56, 105, 226, 0.22);
  --theme-accent-text: #fff;
  --theme-overlay-scrim: rgba(17, 24, 39, 0.28);
  --theme-avatar-border: rgba(71, 85, 105, 0.16);
  --theme-favorite-bg: rgba(255, 255, 255, 0.9);
  --theme-favorite-border: rgba(71, 85, 105, 0.16);
  --theme-favorite-icon: rgba(51, 65, 85, 0.92);
  --theme-favorite-active-bg: rgba(255, 243, 199, 0.96);
  --theme-favorite-active-border: rgba(217, 119, 6, 0.22);
  --theme-favorite-active-icon: #b45309;
  --theme-icon-filter: brightness(0) saturate(100%) invert(14%) sepia(14%) saturate(652%) hue-rotate(182deg) brightness(95%) contrast(91%);
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  min-height: 100vh;
}

body {
  margin: 0;
  background: var(--theme-body-bg);
  color: var(--theme-text);
  transition: background 220ms ease, color 220ms ease;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  appearance: none;
}

a {
  color: inherit;
}

input,
select,
textarea {
  color: var(--theme-text);
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--theme-select-arrow) 50%),
    linear-gradient(135deg, var(--theme-select-arrow) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 2px),
    calc(100% - 14px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

#app {
  width: 100%;
}

.pageWrap {
  display: grid;
  gap: 18px;
}

.pageHead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  min-height: 96px;
  padding: 0;
}

.pageHead__main {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
}

.pageHead__eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--theme-text-soft);
}

.pageHead__title {
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--theme-text-strong);
}

.pageHead__desc {
  max-width: 720px;
  color: var(--theme-text-muted);
}

.pageHead__aside {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
