/* 새 TMS 공통 토큰 (테마·글씨는 <html data-theme data-font data-size> 로 바꿈 — layout.html 화면 설정) */
@font-face { font-family: "Pretendard"; font-weight: 400; font-display: swap; src: url("/static/fonts/Pretendard-Regular.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 500; font-display: swap; src: url("/static/fonts/Pretendard-Medium.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 700; font-display: swap; src: url("/static/fonts/Pretendard-Bold.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 800; font-display: swap; src: url("/static/fonts/Pretendard-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Alfa Slab One"; font-weight: 400; font-display: swap; src: url("/static/fonts/AlfaSlabOne.woff2") format("woff2"); }
/* 원래 토큰
   밤의 편의점: 남색 하늘(night) · 간판 노랑(sign) · 영수증 종이(paper) */
@import url("https://cdn.jsdelivr.net/gh/sunn-us/SUIT/fonts/variable/woff2/SUIT-Variable.css");
@font-face { font-family: "Gmarket Sans"; font-weight: 700; font-display: swap;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff") format("woff"); }
@font-face { font-family: "Gmarket Sans"; font-weight: 500; font-display: swap;
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff") format("woff"); }

:root {
  --night: #13223F;
  --night-2: #1C3159;
  --sign: #FFC93C;
  --sign-deep: #E0A800;
  --paper: #FCFBF6;
  --ink: #1D2433;
  --thermal: #6E7687;
  --rule: #D9DCE3;
  --alert: #C8102E;
  --work: #F2F4F7;
  --display: "Gmarket Sans", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --text: "SUIT Variable", "SUIT", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
}
/* 테마: 위 띠·단추·강조 남색 계열을 바꿈 */
html[data-theme="purple"] { --night: #2B1B5E; --night-2: #3B2A78; --chrome: #2B1B5E; --chrome-2: #3B2A78; }
html[data-theme="navy"] { --night: #13223F; --night-2: #1C3159; --chrome: #13223F; --chrome-2: #1C3159; }
html[data-theme="ocean"] { --night: #0F3D7A; --night-2: #1A56A6; --chrome: #0F3D7A; --chrome-2: #1A56A6; }
html[data-theme="teal"] { --night: #0B4A52; --night-2: #11636D; --chrome: #0B4A52; --chrome-2: #11636D; }
html[data-theme="green"] { --night: #0E3B2C; --night-2: #17543F; --chrome: #0E3B2C; --chrome-2: #17543F; }
html[data-theme="olive"] { --night: #2F3B12; --night-2: #45541C; --chrome: #2F3B12; --chrome-2: #45541C; }
html[data-theme="wine"] { --night: #5A1430; --night-2: #7A1E42; --chrome: #5A1430; --chrome-2: #7A1E42; }
html[data-theme="red"] { --night: #8E1426; --night-2: #AD1C33; --chrome: #8E1426; --chrome-2: #AD1C33; }
html[data-theme="plum"] { --night: #4A1D4F; --night-2: #642A6A; --chrome: #4A1D4F; --chrome-2: #642A6A; }
html[data-theme="coffee"] { --night: #3E2A1F; --night-2: #56392A; --chrome: #3E2A1F; --chrome-2: #56392A; }
html[data-theme="slate"] { --night: #334155; --night-2: #475569; --chrome: #334155; --chrome-2: #475569; }
html[data-theme="charcoal"] { --night: #1E2126; --night-2: #2D3138; --chrome: #1E2126; --chrome-2: #2D3138; }
html[data-theme="sky"] { --night: #1971C2; --night-2: #339AF0; --chrome: #1971C2; --chrome-2: #339AF0; }
html[data-theme="mint"] { --night: #087F5B; --night-2: #12B886; --chrome: #087F5B; --chrome-2: #12B886; }
html[data-theme="orange"] { --night: #D9480F; --night-2: #F76707; --chrome: #D9480F; --chrome-2: #F76707; }
html[data-theme="pink"] { --night: #C2255C; --night-2: #E64980; --chrome: #C2255C; --chrome-2: #E64980; }
html[data-theme="lavender"] { --night: #6741D9; --night-2: #845EF7; --chrome: #6741D9; --chrome-2: #845EF7; }
html[data-theme="indigo"] { --night: #3B5BDB; --night-2: #5C7CFA; --chrome: #3B5BDB; --chrome-2: #5C7CFA; }
html[data-theme="white"] { --night: #3B5BDB; --night-2: #3B5BDB; --chrome: #FFFFFF; --chrome-2: color-mix(in srgb, #FFFFFF 82%, #3B5BDB); }
html[data-theme="cream"] { --night: #D9480F; --night-2: #D9480F; --chrome: #FFF6E0; --chrome-2: color-mix(in srgb, #FFF6E0 82%, #D9480F); }
html[data-theme="lsky"] { --night: #1971C2; --night-2: #1971C2; --chrome: #E7F5FF; --chrome-2: color-mix(in srgb, #E7F5FF 82%, #1971C2); }
html[data-theme="lmint"] { --night: #087F5B; --night-2: #087F5B; --chrome: #E6FCF5; --chrome-2: color-mix(in srgb, #E6FCF5 82%, #087F5B); }
html[data-theme="lpink"] { --night: #C2255C; --night-2: #C2255C; --chrome: #FFF0F6; --chrome-2: color-mix(in srgb, #FFF0F6 82%, #C2255C); }
html[data-theme="llav"] { --night: #6741D9; --night-2: #6741D9; --chrome: #F3F0FF; --chrome-2: color-mix(in srgb, #F3F0FF 82%, #6741D9); }
html[data-theme="lgray"] { --night: #343A40; --night-2: #343A40; --chrome: #F1F3F5; --chrome-2: color-mix(in srgb, #F1F3F5 82%, #343A40); }
/* 글씨 */
html[data-font="pretendard"] { --text: "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; --display: "Pretendard", "Malgun Gothic", sans-serif; }
html[data-font="malgun"] { --text: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; --display: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; }
/* data-font="suit" = 위 기본(SUIT + Gmarket Sans) */
html[data-font="pretendard"] h1, html[data-font="pretendard"] h2 { font-weight: 800; letter-spacing: -.02em; }
/* 글자 크기 */
html[data-size="l"] body { zoom: 1.1; }
html[data-size="xl"] body { zoom: 1.2; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--text); color: var(--ink); font-size: 15px; line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sign); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
