/* 우리 가족 — 가족 웹 (family.hhhk.kr). 아이폰 홈 화면 앱 기준 */
:root {
  /* 밝게 (light): 깔끔한 흰색·회색 */
  --bg: #f4f4f6;
  --card: #ffffff;
  --ink: #1c1c1e;
  --ink2: #5b5b63;
  --ink3: #9a9aa2;
  --line: #ebebef;
  --fill: #f1f1f4;
  --brand: #ff5c6c;
  --brand2: #ff8a5b;
  --accent: var(--brand);
  --ok: #10b981;
  --warn: #f59e0b;
  --bad: #ef4444;
  --shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 6px 18px rgba(0, 0, 0, .05);
  --r: 22px;
  --tab: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --page: var(--bg);
  color-scheme: light;
}
/* 어둡게 (dark) */
:root[data-theme="dark"] {
  --bg: #121214;
  --card: #1e1e22;
  --ink: #f4f2f5;
  --ink2: #b8b3bc;
  --ink3: #7c7782;
  --line: #2c2a30;
  --fill: #26252a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3);
  color-scheme: dark;
}
/* 알록달록 (colorful): 파스텔 배경, 카드마다 색 */
:root[data-theme="colorful"] {
  --bg: #fff4ee;
  --card: #ffffff;
  --ink: #23192b;
  --ink2: #5e5068;
  --ink3: #9a8ea4;
  --line: #f1e4ea;
  --fill: #f7eef3;
  --shadow: 0 2px 4px rgba(120, 60, 90, .05), 0 10px 26px rgba(120, 60, 90, .09);
  --page: linear-gradient(165deg, #ffe7d9 0%, #ffe3f1 40%, #e8e6ff 75%, #dff4ff 100%);
}
:root[data-theme="colorful"] body { background: var(--page) fixed; }
:root[data-theme="colorful"] .card[data-tone] { background: color-mix(in srgb, var(--tone) 7%, #fff); border: 1.5px solid color-mix(in srgb, var(--tone) 20%, transparent); }
:root[data-theme="colorful"] .card[data-tone] h2 { color: color-mix(in srgb, var(--tone) 75%, #2a1f30); }
:root[data-theme="colorful"] .card[data-tone] .row, :root[data-theme="colorful"] .card[data-tone] .check { border-color: color-mix(in srgb, var(--tone) 14%, transparent); }
:root[data-theme="colorful"] .card[data-tone] .menu span, :root[data-theme="colorful"] .card[data-tone] .quick .input { background: color-mix(in srgb, var(--tone) 11%, #fff); }
:root[data-theme="colorful"] .tabs { background: rgba(255, 255, 255, .72); }
:root[data-theme="colorful"] .seg button:not(.on), :root[data-theme="colorful"] .cal-head button { background: rgba(255, 255, 255, .85); }
.card[data-tone="ai"] { --tone: #8b5cf6; } .card[data-tone="cal"] { --tone: #3b82f6; } .card[data-tone="meal"] { --tone: #f97316; }
.card[data-tone="school"] { --tone: #16a34a; } .card[data-tone="shop"] { --tone: #ec4899; } .card[data-tone="bday"] { --tone: #f43f5e; }
.card[data-tone="req"] { --tone: #f59e0b; } .card[data-tone="me"] { --tone: #0ea5e9; }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  /* 테마 글꼴은 --tfont·--thead (app.js THEME_FONT, 사용자 지시 2026-12-03) */
  font: 16px/1.45 var(--tfont, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", system-ui, sans-serif);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  word-break: keep-all;
  overflow-wrap: anywhere;
  overscroll-behavior-y: none;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }

.splash { position: fixed; inset: 0; display: grid; place-items: center; }
.splash img { width: 88px; height: 88px; border-radius: 22px; animation: pop .6s ease both; box-shadow: var(--shadow); }
@keyframes pop { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }

/* ── 레이아웃 ── */
.screen { min-height: 100%; padding: calc(var(--safe-t) + 12px) 16px calc(var(--tab) + var(--safe-b) + 28px); max-width: 640px; margin: 0 auto; }
.screen > * { animation: rise .35s ease both; }
.screen > *:nth-child(2) { animation-delay: .03s; } .screen > *:nth-child(3) { animation-delay: .06s; }
.screen > *:nth-child(4) { animation-delay: .09s; } .screen > *:nth-child(5) { animation-delay: .12s; }

.top { display: flex; align-items: center; gap: 12px; padding: 8px 2px 14px; }
.top h1 { font-family: var(--thead, inherit); margin: 0; font-size: 26px; line-height: 1.2; letter-spacing: -.02em; font-weight: 800; flex: 1; }
.top .sub { display: block; font-size: 14px; color: var(--ink2); font-weight: 500; letter-spacing: 0; margin-bottom: 2px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: var(--fill); flex: none; }
.avatar.lg { width: 72px; height: 72px; font-size: 40px; }

/* ── 카드 ── */
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; margin-bottom: 14px; }
.card h2 { margin: 0 0 10px; font-size: 17px; font-weight: 700; font-family: var(--thead, inherit); display: flex; align-items: center; gap: 8px; letter-spacing: -.01em; }
.card h2 .count { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--ink3); }
.card h2 .more { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--accent); }
.card .empty { color: var(--ink3); font-size: 15px; margin: 4px 0; }
.card.flat { box-shadow: none; background: var(--fill); }

/* 아이 첫 카드 */
.hero { border-radius: 28px; padding: 22px 20px; margin-bottom: 14px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--hero1, var(--brand2)), var(--hero2, var(--brand))); box-shadow: 0 10px 30px -12px var(--hero2, var(--brand)); }
.hero .hi { font-size: 25px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.hero .date { opacity: .9; font-size: 15px; font-weight: 600; margin-top: 4px; }
.hero .big { position: absolute; right: 14px; bottom: -10px; font-size: 82px; opacity: .95; animation: wiggle 2.4s ease-in-out infinite; transform-origin: 50% 90%; }
.hero .chips { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; position: relative; }
.hero .chip { background: rgba(255, 255, 255, .22); color: #fff; backdrop-filter: blur(6px); }

/* ── 목록 줄 ── */
.row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); min-height: 48px; }
.row:first-of-type, h2 + .row, .rows > .row:first-child { border-top: 0; }
.row .main { flex: 1; min-width: 0; }
.row .t { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.row .s { font-size: 13px; color: var(--ink2); margin-top: 1px; overflow-wrap: anywhere; }
.row .time { width: 64px; flex: none; font-size: 14px; font-weight: 700; color: var(--ink2); font-variant-numeric: tabular-nums; }
.row .time.allday { font-size: 12px; color: var(--ink3); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--c, var(--ink3)); }
.dots { display: flex; gap: 3px; flex: none; }
.bar { width: 4px; align-self: stretch; border-radius: 4px; background: var(--c, var(--ink3)); flex: none; }

.chip { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px; border-radius: 99px; background: var(--fill); font-size: 13px; font-weight: 600; color: var(--ink2); white-space: nowrap; }
.chip.c { background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); }
.chip.warn { background: #fff3d6; color: #b45309; }
.chip.bad { background: #ffe1e1; color: #c81e1e; }
.chip.ok { background: #dcfce7; color: #047857; }
:root[data-dark] .chip.warn { background: #3a2c10; color: #fbbf24; } :root[data-dark] .chip.bad { background: #3b1717; color: #fca5a5; } :root[data-dark] .chip.ok { background: #0f2e22; color: #6ee7b7; }
.day-label { font-size: 13px; font-weight: 700; color: var(--ink3); margin: 14px 0 2px; text-transform: none; }
.day-label:first-of-type { margin-top: 0; }

/* 급식 */
.menu { display: flex; flex-wrap: wrap; gap: 7px; }
.menu span { background: var(--fill); padding: 7px 12px; border-radius: 14px; font-size: 15px; font-weight: 600; }
.menu span:first-child { background: color-mix(in srgb, var(--c, var(--accent)) 15%, transparent); color: var(--c, var(--accent)); }
.meal-kid { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; margin: 12px 0 8px; color: var(--ink2); }
.meal-kid:first-of-type { margin-top: 0; }

/* AI 점검 (duson-admin 대시보드와 같은 생김새) */
.issue { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.issue:first-of-type { border-top: 0; padding-top: 4px; }
.issue .lv { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; flex: none; font-size: 16px; background: var(--fill); }
.issue.urgent .lv { background: #ffe1e1; } .issue.warn .lv { background: #fff3d6; } .issue.info .lv { background: #e0efff; }
:root[data-dark] .issue.urgent .lv { background: #3b1717; } :root[data-dark] .issue.warn .lv { background: #3a2c10; } :root[data-dark] .issue.info .lv { background: #132a44; }
.issue .main { flex: 1; min-width: 0; }
.issue .t { font-size: 15px; font-weight: 600; line-height: 1.4; }
.issue .s { font-size: 12px; color: var(--ink3); margin-top: 3px; }
.issue.done .t { color: var(--ink3); text-decoration: line-through; text-decoration-color: var(--ink3); }
.issue.done .s { color: var(--ok); }
.x { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--ink3); flex: none; font-size: 15px; }
.x:active { background: var(--fill); }
.issue .ok { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 15px; font-weight: 700; color: var(--ok); border: 1.5px solid var(--line); }
.issue .ok:active { background: var(--fill); }
.issue .tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 6px; margin-right: 5px; border-radius: 6px; background: var(--fill); color: var(--ink2); vertical-align: 1px; }
.ai-foot { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink3); margin-top: 8px; }
.ai-foot button { color: var(--accent); font-weight: 700; font-size: 13px; margin-left: auto; padding: 6px 2px; }

/* ── 버튼 ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 22px; border-radius: 16px; font-size: 17px; font-weight: 700;
  background: var(--accent); color: #fff; width: 100%; transition: transform .12s, opacity .12s; }
.btn:active { transform: scale(.97); opacity: .9; }
.btn.soft { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.btn.ghost { background: var(--fill); color: var(--ink); }
.btn.sm { height: 38px; font-size: 15px; border-radius: 12px; padding: 0 14px; width: auto; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btns { display: flex; gap: 8px; }
.btns .btn { flex: 1; }

/* ── 입력 ── */
.field { display: block; margin-bottom: 12px; }
.field > span { display: block; font-size: 13px; font-weight: 700; color: var(--ink2); margin: 0 0 6px 2px; }
.input { width: 100%; height: 50px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); padding: 0 14px; font-size: 17px; outline: none; transition: border-color .15s; }
textarea.input { height: 96px; padding: 12px 14px; resize: none; line-height: 1.4; }
.input:focus { border-color: var(--accent); }
.quick { display: flex; gap: 8px; }
.quick .input { flex: 1; height: 46px; background: var(--fill); border-color: transparent; }
.quick .input:focus { background: var(--card); border-color: var(--accent); }
.quick .btn { width: 46px; height: 46px; padding: 0; border-radius: 14px; font-size: 24px; flex: none; }
.seg { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 4px; margin: 0 -2px 12px; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { height: 38px; padding: 0 15px; border-radius: 99px; background: var(--card); box-shadow: var(--shadow); font-weight: 700; font-size: 15px; white-space: nowrap; color: var(--ink2); }
.seg button.on { background: var(--accent); color: #fff; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick button { height: 40px; padding: 0 14px; border-radius: 12px; background: var(--fill); font-weight: 700; font-size: 15px; color: var(--ink2); border: 2px solid transparent; }
.pick button.on { background: color-mix(in srgb, var(--c, var(--accent)) 14%, transparent); color: var(--c, var(--accent)); border-color: var(--c, var(--accent)); }
.code-input { letter-spacing: .5em; text-align: center; font-size: 28px; font-weight: 800; height: 64px; font-variant-numeric: tabular-nums; }

/* 체크 목록 */
.check { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); min-height: 52px; transition: opacity .25s, transform .25s; }
.check:first-child { border-top: 0; }
.check .box { width: 28px; height: 28px; border-radius: 50%; border: 2.5px solid var(--line); flex: none; display: grid; place-items: center; transition: all .2s; }
.check.on .box { background: var(--ok); border-color: var(--ok); }
.check.on .box::after { content: ""; width: 7px; height: 13px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check.on .t { text-decoration: line-through; color: var(--ink3); }
.check.gone { opacity: 0; transform: translateX(30px); }
.check .main { flex: 1; min-width: 0; }
.check .t { font-size: 17px; font-weight: 600; }
.check .s { font-size: 12px; color: var(--ink3); }

/* ── 달력 ── */
.cal-head { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.cal-head h1 { flex: 1; margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.cal-head button { width: 40px; height: 40px; border-radius: 12px; background: var(--card); box-shadow: var(--shadow); font-size: 18px; font-weight: 800; color: var(--ink2); }
.cal-head .today-btn { width: auto; padding: 0 12px; font-size: 14px; }
.cal { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 10px 8px 6px; margin-bottom: 14px; }
.cal .wk, .cal .grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal .wk span { text-align: center; font-size: 12px; font-weight: 700; color: var(--ink3); padding: 2px 0 6px; }
.cal .wk span:first-child, .cal .d.sun .n { color: #ef4444; }
.cal .wk span:last-child, .cal .d.sat .n { color: #3b82f6; }
.cal .d { height: 52px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 4px; border-radius: 14px; }
.cal .d .n { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-size: 15px; font-weight: 600; }
.cal .d.out .n { color: var(--ink3); opacity: .55; }
.cal .d.today .n { background: var(--accent); color: #fff !important; font-weight: 800; }
.cal .d.sel { background: var(--fill); }
.cal .d .dots .dot { width: 6px; height: 6px; }
.legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--ink2); font-weight: 600; margin: 0 4px 12px; }
.legend span { display: inline-flex; align-items: center; gap: 5px; }

/* ── 탭 막대 ── */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 6px 8px calc(var(--safe-b) + 6px);
  background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px);
  border-top: 1px solid var(--line); display: flex; justify-content: space-around; }
.tabs a { flex: 1; max-width: 110px; height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 700; color: var(--ink3); position: relative; }
.tabs a .i { font-size: 23px; line-height: 1; filter: grayscale(1); opacity: .55; transition: transform .15s; }
.tabs a.on { color: var(--accent); }
.tabs a.on .i { filter: none; opacity: 1; transform: translateY(-1px) scale(1.08); }
.tabs .badge { position: absolute; top: 4px; left: calc(50% + 8px); min-width: 18px; height: 18px; border-radius: 9px; background: var(--bad); color: #fff; font-size: 11px; display: grid; place-items: center; padding: 0 5px; }

.fab { position: fixed; right: max(18px, calc(50% - 302px)); bottom: calc(var(--tab) + var(--safe-b) + 18px); z-index: 15; height: 56px; padding: 0 20px 0 16px; border-radius: 28px;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 16px; display: flex; align-items: center; gap: 6px; box-shadow: 0 10px 24px -8px var(--accent); }
.fab .plus { font-size: 26px; line-height: 1; margin-top: -2px; }
.fab:active { transform: scale(.96); }

/* ── 아래에서 올라오는 창 ── */
.sheet-bg { position: fixed; inset: 0; background: rgba(20, 10, 10, .38); z-index: 40; opacity: 0; transition: opacity .22s; }
.sheet-bg.on { opacity: 1; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; background: var(--bg); border-radius: 26px 26px 0 0; max-height: 92vh; overflow-y: auto;
  padding: 10px 18px calc(var(--safe-b) + 18px); transform: translateY(100%); transition: transform .28s cubic-bezier(.2, .9, .3, 1); max-width: 640px; margin: 0 auto; }
.sheet.on { transform: none; }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 12px; }
.sheet h3 { margin: 0 0 16px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.sheet .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* 토스트 */
.toast { position: fixed; left: 50%; bottom: calc(var(--tab) + var(--safe-b) + 18px); transform: translate(-50%, 20px); z-index: 50; opacity: 0; transition: all .25s;
  background: #26232a; color: #fff; padding: 0 8px 0 18px; height: 48px; border-radius: 24px; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2); white-space: nowrap; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast button { color: #ffb3a7; font-weight: 800; padding: 0 10px; height: 40px; }
.toast:not(:has(button)) { padding-right: 18px; }

/* ── 로그인 ── */
.login { min-height: 100%; display: flex; flex-direction: column; padding: calc(var(--safe-t) + 40px) 22px calc(var(--safe-b) + 24px); max-width: 480px; margin: 0 auto; }
.login .logo { width: 76px; height: 76px; border-radius: 20px; box-shadow: 0 10px 26px -10px var(--brand); margin-bottom: 18px; }
.login h1 { font-family: var(--thead, inherit); font-size: 28px; font-weight: 800; margin: 0 0 6px; letter-spacing: -.02em; line-height: 1.25; }
.login p.lead { color: var(--ink2); margin: 0 0 24px; font-size: 16px; }
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.who button { background: var(--card); border-radius: 22px; box-shadow: var(--shadow); padding: 18px 10px 16px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-weight: 800; font-size: 18px; border: 2.5px solid transparent; transition: transform .12s; }
.who button:active { transform: scale(.96); }
.who button .avatar { width: 64px; height: 64px; font-size: 36px; background: color-mix(in srgb, var(--c) 16%, transparent); }
.who button small { font-size: 12px; font-weight: 600; color: var(--ink3); }
.err { color: var(--bad); font-size: 14px; font-weight: 600; min-height: 20px; margin: 6px 2px 10px; }
.wait { text-align: center; margin-top: 10px; }
.wait .spinner { width: 54px; height: 54px; border-radius: 50%; border: 5px solid var(--fill); border-top-color: var(--accent); margin: 26px auto; animation: spin 1s linear infinite; }
.back { color: var(--ink2); font-weight: 700; margin-bottom: 18px; font-size: 15px; align-self: flex-start; padding: 6px 0; }
.grow { flex: 1; }

/* 홈 화면에 추가 안내 */
.install { background: var(--card); border-radius: 22px; box-shadow: var(--shadow); padding: 18px; margin-bottom: 20px; }
.install h3 { margin: 0 0 4px; font-size: 18px; font-weight: 800; }
.install p { margin: 0 0 12px; color: var(--ink2); font-size: 14px; }
.install ol { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.install li { counter-increment: s; display: flex; align-items: center; gap: 12px; padding: 7px 0; font-weight: 600; font-size: 15px; }
.install li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; flex: none; }
.install .ios-share { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--fill); }
.install .ios-share svg { width: 16px; height: 16px; stroke: #007aff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.install .add-box { display: inline-grid; place-items: center; width: 20px; height: 20px; border: 2px solid var(--ink2); border-radius: 5px; font-size: 14px; font-weight: 800; line-height: 1; }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(8px); } }
.install .arrow { text-align: center; font-size: 30px; margin-top: 8px; animation: bob .8s ease-in-out infinite alternate; }

/* 부탁 */
.ask-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ask-grid button { background: var(--card); box-shadow: var(--shadow); border-radius: 20px; padding: 16px 12px; text-align: left; font-weight: 800; font-size: 16px; display: flex; flex-direction: column; gap: 6px; }
.ask-grid button .e { font-size: 30px; }
.ask-grid button small { font-weight: 600; color: var(--ink3); font-size: 12px; }
.ask-grid button:active { transform: scale(.97); }
.req .answer { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--fill); padding: 8px 12px; border-radius: 12px; }
.req .btns { margin-top: 8px; }
.new-badge { background: var(--bad); color: #fff; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 8px; }

.list-link { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-weight: 600; }
.list-link:first-of-type { border-top: 0; }
.list-link .s { color: var(--ink3); font-size: 13px; font-weight: 500; }
.muted { color: var(--ink3); font-size: 13px; }
.center { text-align: center; }
.mt { margin-top: 12px; }
.day-label + .row, .day-label + p + .row { border-top: 0; }
.install li > span:last-child { line-height: 1.9; }
.install .ios-share, .install .add-box { vertical-align: middle; margin: 0 2px; }

/* 테마 고르기 */
.themes { display: grid; gap: 12px; }
.theme-opt { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); border: 2.5px solid transparent; text-align: left; transition: transform .12s; }
.theme-opt:active { transform: scale(.98); }
.theme-opt.on { border-color: var(--accent); }
.theme-opt b { display: block; font-size: 18px; }
.theme-opt small { color: var(--ink3); font-size: 13px; font-weight: 600; }
.mock { width: 74px; height: 96px; border-radius: 16px; padding: 8px 7px; display: flex; flex-direction: column; gap: 5px; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.mock i { display: block; border-radius: 6px; height: 16px; }
.mock i:first-child { height: 22px; }
.mock.light { background: #f4f4f6; } .mock.light i { background: #fff; } .mock.light i:first-child { background: linear-gradient(135deg, #ff8a5b, #ff5c6c); }
.mock.dark { background: #121214; } .mock.dark i { background: #26252a; } .mock.dark i:first-child { background: linear-gradient(135deg, #ff8a5b, #ff5c6c); }
.mock.colorful { background: linear-gradient(165deg, #ffe7d9, #ffe3f1 45%, #e8e6ff); } .mock.colorful i:nth-child(1) { background: linear-gradient(135deg, #a855f7, #ff5c6c); }
.mock.colorful i:nth-child(2) { background: #ffe9d6; } .mock.colorful i:nth-child(3) { background: #dcecff; } .mock.colorful i:nth-child(4) { background: #ffe0ef; }
.theme-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.theme-seg button { padding: 10px 6px; border-radius: 16px; background: var(--fill); font-weight: 700; font-size: 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; border: 2px solid transparent; }
.theme-seg button.on { border-color: var(--accent); background: var(--card); }
.theme-seg .mock { width: 44px; height: 56px; border-radius: 10px; padding: 5px 4px; gap: 3px; }
.theme-seg .mock i { height: 8px; border-radius: 3px; } .theme-seg .mock i:first-child { height: 12px; }

/* 생일·기념일 */
.bday { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); width: 100%; text-align: left; }
.bday:first-of-type, h2 + .bday { border-top: 0; }
.bday .em { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; flex: none; background: color-mix(in srgb, #f43f5e 12%, transparent); }
.bday .em.ann { background: color-mix(in srgb, #8b5cf6 12%, transparent); }
.bday .main { flex: 1; min-width: 0; }
.bday .t { font-size: 16px; font-weight: 700; }
.bday .s { font-size: 13px; color: var(--ink2); margin-top: 2px; }
.dd { min-width: 54px; height: 32px; padding: 0 10px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: var(--fill); color: var(--ink2); flex: none; font-variant-numeric: tabular-nums; }
.dd.soon { background: #ffe9d6; color: #c2410c; }
.dd.today { background: linear-gradient(135deg, #ff8a5b, #ff5c6c); color: #fff; }
:root[data-dark] .dd.soon { background: #3a2410; color: #fdba74; }
.month-label { font-size: 13px; font-weight: 800; color: var(--ink3); margin: 18px 4px 6px; }
.lunar-tag { display: inline-block; font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: 6px; background: #ede9fe; color: #6d28d9; margin-left: 4px; vertical-align: 1px; }
:root[data-dark] .lunar-tag { background: #2e2350; color: #c4b5fd; }
.selrow { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
select.input { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink3) 50%), linear-gradient(135deg, var(--ink3) 50%, transparent 50%);
  background-position: calc(100% - 18px) 22px, calc(100% - 12px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 30px; }

/* ── 2026-12-02 추가: 칸 숨기기·나만 보임·목록 정리·년월 이동·운동 ── */
.still .screen > * { animation: none !important; }
.card h2 .hide { margin-left: auto; width: 30px; height: 30px; margin-right: -6px; border-radius: 50%; display: grid; place-items: center; color: var(--ink3); font-size: 13px; opacity: .55; flex: none; }
.card h2 .count ~ .hide, .card h2 .more ~ .hide { margin-left: 0; }
.card h2 .hide:active { background: var(--fill); opacity: 1; }
.hidden-note { display: block; padding: 6px 0 2px; font-size: 13px; text-decoration: none; }
.only-me { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; font-size: 11px; font-weight: 600; color: var(--ink3); background: var(--fill); vertical-align: 2px; }
.by { display: inline-flex; align-items: center; gap: 3px; padding: 1px 7px 1px 5px; border-radius: 99px; font-size: 12px; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); margin-right: 4px; }
.check .more-btn { width: 40px; height: 40px; margin-right: -8px; border-radius: 50%; flex: none; font-size: 20px; font-weight: 800; color: var(--ink3); display: grid; place-items: center; }
.check .more-btn:active { background: var(--fill); }
.hint { font-size: 13px; margin: 0 2px 10px; }
.act-list { display: grid; gap: 10px; }
.act-list button { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; align-items: center; text-align: left; padding: 14px 16px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); font-size: 17px; font-weight: 700; color: var(--ink); }
.act-list button span { grid-row: 1 / 3; font-size: 24px; }
.act-list button small { font-size: 13px; font-weight: 500; color: var(--ink3); }
.act-list button.bad { color: var(--bad); }
.act-list button:active { transform: scale(.98); }
.seg.sm { margin-bottom: 10px; }
.seg.sm button { height: 34px; padding: 0 13px; font-size: 14px; box-shadow: none; background: var(--fill); }
.seg.sm button.on { background: var(--accent); color: #fff; }
.row.closed .t { color: var(--ink2); }
.row.closed .btn.sm { flex: none; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 17px; }
.icon-btn:active { background: var(--fill); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 16px; font-weight: 600; color: var(--ink); text-align: left; }
.toggle-row:first-of-type { border-top: 0; }
.switch { width: 50px; height: 30px; border-radius: 15px; background: var(--line); position: relative; flex: none; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.switch.on { background: var(--ok); }
.switch.on::after { transform: translateX(20px); }
.top .btn.sm { flex: none; }
.bday .edit-mark { color: var(--ink3); font-size: 22px; margin-left: 2px; }

/* 년·월 고르기 */
.cal-head .ym { flex: 1; width: auto; height: auto; padding: 0; background: none; box-shadow: none; text-align: left; font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.cal-head .ym .caret { font-size: 15px; color: var(--ink3); vertical-align: 4px; }
.cal-head.sm .ym { font-size: 19px; }
.cal-head.sm button:not(.ym) { width: 36px; height: 36px; box-shadow: none; background: var(--fill); }
.yp { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 14px; }
.yp b { font-size: 22px; font-weight: 800; }
.yp button { width: 48px; height: 48px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow); font-size: 22px; font-weight: 800; color: var(--ink2); }
.mp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mp button { height: 54px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); font-size: 17px; font-weight: 700; color: var(--ink); }
.mp button.now { color: var(--accent); }
.mp button.on { background: var(--accent); color: #fff; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.three .field span { font-size: 12px; }

/* 운동 */
.card[data-tone="body"] { --tone: #0ea5e9; } .card[data-tone="work"] { --tone: #22c55e; } .card[data-tone="steps"] { --tone: #a855f7; }
.stat-big { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 2px 0 10px; }
.stat-big b { font-size: 38px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.stat-big b small, .mini-stats b small { font-size: 15px; font-weight: 700; color: var(--ink2); margin-left: 2px; }
.stat-big .delta { font-size: 15px; font-weight: 800; color: var(--ink2); }
.stat-big .delta.down { color: var(--ok); } .stat-big .delta.up { color: var(--warn); }
.stat-big .delta small { font-weight: 600; color: var(--ink3); }
.stat-big .when { margin-left: auto; font-size: 13px; color: var(--ink3); font-weight: 600; }
.goal-bar { margin-bottom: 12px; }
.goal-bar .gtxt { font-size: 13px; color: var(--ink2); margin-bottom: 6px; }
.goal-bar .track { height: 8px; border-radius: 4px; background: var(--fill); overflow: hidden; }
.goal-bar .track i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--tone), var(--ok)); }
.chart { width: 100%; height: auto; display: block; margin: 4px 0; }
.chart .grid line { stroke: var(--line); stroke-width: 1; }
.chart text { fill: var(--ink3); font-size: 10px; font-weight: 600; font-family: inherit; }
.chart .line { fill: none; stroke: var(--tone, var(--accent)); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: color-mix(in srgb, var(--tone, var(--accent)) 14%, transparent); }
.chart .pt { fill: var(--card); stroke: var(--tone, var(--accent)); stroke-width: 3; }
.chart .goal { stroke: var(--ok); stroke-width: 1.5; stroke-dasharray: 5 4; }
.chart .goal-t { fill: var(--ok); font-weight: 700; }
.chart.bars rect { fill: color-mix(in srgb, var(--tone, var(--accent)) 45%, transparent); }
.chart.bars rect.on { fill: var(--tone, var(--accent)); }
.chart.bars rect.none { fill: var(--line); }
.chart.bars .val { fill: var(--ink); font-weight: 800; font-size: 11px; }
.chart.bars .ax.on { fill: var(--ink); font-weight: 800; }
/* 12개월 그래프 연도 구분선 (사용자 지시 2026-12-03) */
.chart.bars .yr { stroke: var(--ink2); stroke-width: 1; stroke-dasharray: 3 3; opacity: .55; }
.chart.bars .yrl { fill: var(--ink2); font-size: 10px; font-weight: 800; }
.card.sport { touch-action: pan-y; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.mini-stats div { background: var(--fill); border-radius: 16px; padding: 12px 14px; display: grid; gap: 2px; }
.mini-stats span { font-size: 13px; color: var(--ink2); font-weight: 600; }
.mini-stats b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.mini-stats em { font-style: normal; font-size: 12px; color: var(--ink3); }
.chips-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.hcal .wk, .hcal .grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.hcal .wk span { text-align: center; font-size: 12px; font-weight: 700; color: var(--ink3); padding: 2px 0 6px; }
.hcal .hd { height: 50px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 4px; gap: 1px; color: var(--ink); }
.hcal .hd .n { font-size: 13px; font-weight: 600; color: var(--ink2); }
.hcal .hd .e { font-size: 17px; line-height: 1.1; letter-spacing: -3px; }
.hcal .hd.has { background: color-mix(in srgb, var(--tone) 13%, transparent); }
.hcal .hd.has .n { color: var(--ink); font-weight: 800; }
.hcal .hd.out { opacity: .3; }
.hcal .hd.today .n { color: var(--accent); font-weight: 800; }
.hcal .hd.sel { outline: 2.5px solid var(--tone); outline-offset: -2.5px; }
.day-label .link { margin-left: 6px; font-size: 12px; font-weight: 700; color: var(--accent); }
.wk-row .em { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; font-size: 21px; background: color-mix(in srgb, var(--tone) 12%, transparent); flex: none; }
.wk-row .src { font-size: 11px; font-weight: 700; color: var(--ink3); background: var(--fill); padding: 2px 7px; border-radius: 6px; flex: none; }
.row .slot { flex: none; min-width: 34px; font-size: 13px; font-weight: 800; color: var(--tone); }
@media (max-width: 360px) { .tabs a { font-size: 10px; } .tabs a .i { font-size: 21px; } .three { grid-template-columns: 1fr 1fr; } }
.aud { display: inline-flex; gap: 6px; flex-wrap: wrap; vertical-align: -1px; }
.aud span { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; color: var(--ink2); }
.aud i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.install .ios-share svg circle { fill: #007aff; stroke: none; }

/* 달력: 사람 필터 + 여러 날 막대 (구글 캘린더처럼) */
.pfilter { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -2px 10px; padding: 2px; }
.pfilter::-webkit-scrollbar { display: none; }
.pfilter button { flex: none; height: 36px; padding: 0 13px; border-radius: 99px; background: var(--card); box-shadow: var(--shadow); font-size: 14px; font-weight: 700; color: var(--ink2); display: inline-flex; align-items: center; gap: 6px; }
.pfilter button i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.pfilter button.on { background: var(--c, var(--accent)); color: #fff; }
.pfilter button.on i { background: #fff; }
.pfilter button[data-act="cal-all"].on { background: var(--ink); color: var(--bg); }
.cal .wkrow { position: relative; border-top: 1px solid var(--line); }
.cal .wkrow:first-of-type { border-top: 0; }
.cal .cells { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal .cells .d { height: auto; min-height: 92px; justify-content: flex-start; padding-top: 3px; border-radius: 10px; position: relative; }
.cal .cells .d .n { width: 26px; height: 26px; font-size: 14px; }
.cal .cells .d .dots { position: absolute; bottom: 5px; left: 0; right: 0; justify-content: center; align-items: center; }
.cal .more-n { font-size: 9px; font-weight: 800; color: var(--ink3); margin-left: 2px; }
.cal .bars { position: absolute; top: 31px; left: 0; right: 0; display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: 17px; row-gap: 2px; pointer-events: none; }
.ebar { pointer-events: auto; margin: 0 2px; height: 17px; padding: 0 4px; border-radius: 5px; font-size: 10.5px; font-weight: 700; line-height: 17px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: clip;
  background: color-mix(in srgb, var(--c) 18%, var(--card)); color: color-mix(in srgb, var(--c) 80%, var(--ink)); border-left: 3px solid var(--c); }
.ebar.cl { margin-left: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; border-left: 0; }
.ebar.cr { margin-right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.ebar.hol { background: color-mix(in srgb, #ef4444 12%, var(--card)); color: #dc2626; border-left-color: transparent; }
:root[data-dark] .ebar.hol { color: #fca5a5; }
.ebar:active { filter: brightness(.95); }
.hol-row .t { color: #dc2626; }
@media (max-width: 360px) { .ebar { font-size: 9.5px; padding: 0 3px; } }
.chart .band { fill: color-mix(in srgb, var(--ok) 12%, transparent); }
.chart .band-t { fill: var(--ok); font-weight: 700; font-size: 9.5px; }
.chart.bars rect.over { fill: color-mix(in srgb, var(--warn) 70%, transparent); }
.chart.bars rect.on.over { fill: var(--warn); }
:root[data-theme="colorful"] .cal-head .ym { background: none; }
.sp-nav { display: flex; align-items: center; gap: 8px; margin: 2px 0 6px; }
.sp-nav b { font-size: 15px; font-weight: 800; color: var(--ink2); }
.sp-nav button { width: 30px; height: 30px; border-radius: 10px; background: var(--fill); font-size: 16px; font-weight: 800; color: var(--ink2); }
.card h2 .btn.sm { margin-left: 6px; height: 32px; padding: 0 12px; font-size: 13px; }
.link-card { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.link-card .em { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: color-mix(in srgb, var(--tone) 14%, transparent); flex: none; }
.link-card .main { flex: 1; display: grid; gap: 2px; }
.link-card b { font-size: 17px; } .link-card small { font-size: 13px; color: var(--ink3); }
.link-card .go { font-size: 24px; color: var(--ink3); }
.back { display: inline-block; font-size: 15px; font-weight: 700; color: var(--accent); text-decoration: none; margin: 0 0 6px; padding: 4px 0; }
.cal-head .view-btn { font-size: 17px; }
.agenda { padding: 6px 14px; }
.ag-day { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.ag-day:first-child { border-top: 0; }
.ag-date { width: 34px; flex: none; display: grid; justify-items: center; align-content: start; padding-top: 8px; }
.ag-date b { font-size: 20px; font-weight: 800; line-height: 1; } .ag-date span { font-size: 12px; color: var(--ink3); font-weight: 700; margin-top: 2px; }
.ag-date.sun b, .ag-date.sun span { color: #ef4444; } .ag-date.sat b, .ag-date.sat span { color: #3b82f6; }
.ag-day.today .ag-date b { color: var(--accent); }
.ag-list { flex: 1; min-width: 0; }
.ag-list .row { padding: 8px 0; min-height: 40px; }
.ag-list .row .time { width: 56px; }
.sicon { flex: none; display: inline-block; vertical-align: middle; }
.hcal .hd .e { display: flex; gap: 1px; letter-spacing: 0; margin-top: 2px; }
.hcal .hd.has { background: var(--fill); }
.wk-row .sicon { border-radius: 12px; }
.with-icon { display: inline-flex; align-items: center; gap: 8px; }
.card.sport h2 { gap: 8px; }
.tt { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px; margin: 4px 0 8px; }
.tt span { display: flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 12px; background: color-mix(in srgb, var(--c) 10%, var(--card)); font-size: 14px; font-weight: 700; }
.tt b { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: var(--c); color: #fff; font-size: 11px; flex: none; }
.who-sw { margin-left: auto; display: inline-flex; gap: 4px; background: var(--fill); border-radius: 99px; padding: 3px; }
.who-sw button { height: 28px; padding: 0 10px; border-radius: 99px; font-size: 12px; font-weight: 700; color: var(--ink2); }
.who-sw button.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.body-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 2px 0 12px; }
.bstat { text-align: left; padding: 10px 10px 9px; border-radius: 16px; background: var(--fill); border: 2px solid transparent; display: grid; gap: 2px; color: var(--ink); }
.bstat .lab { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--ink2); }
.bstat .lab i { width: 9px; height: 9px; border-radius: 3px; background: var(--line); }
.bstat b { font-size: 21px; font-weight: 800; letter-spacing: -.02em; } .bstat b small { font-size: 12px; color: var(--ink2); margin-left: 1px; }
.bstat em { font-style: normal; font-size: 11px; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bstat.on { background: color-mix(in srgb, var(--c) 10%, var(--card)); border-color: var(--c); }
.bstat.on .lab i { background: var(--c); }
.card[data-tone="bus"] { --tone: #2563eb; }
.bus-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.bus-row:first-of-type { border-top: 0; }
.bus-row .rt { min-width: 52px; height: 34px; padding: 0 8px; border-radius: 10px; display: grid; place-items: center; font-weight: 900; font-size: 16px; color: #fff; background: #2563eb; flex: none; }
.bus-row .main { flex: 1; min-width: 0; } .bus-row .t { font-size: 14px; font-weight: 700; } .bus-row .s { font-size: 12px; color: var(--ink3); }
.bus-row .arr { display: flex; gap: 6px; flex: none; }
.bt { display: grid; justify-items: center; min-width: 58px; padding: 5px 6px; border-radius: 12px; background: var(--fill); }
.bt b { font-size: 16px; font-weight: 900; line-height: 1.1; } .bt small { font-size: 10.5px; color: var(--ink3); font-weight: 700; }
.bt.near { background: color-mix(in srgb, var(--warn) 18%, var(--card)); } .bt.soon { background: color-mix(in srgb, var(--bad) 16%, var(--card)); } .bt.soon b { color: var(--bad); }
.bt.off { font-size: 12px; color: var(--ink3); font-weight: 700; align-content: center; }
.bus-stop { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 2px; }
.bus-stop:first-of-type { margin-top: 0; }
.bus-stop b { font-size: 16px; font-weight: 800; } .bus-stop small { font-size: 12px; color: var(--ink3); }
.bus-row { padding: 8px 0; }
.bus-cfg { padding: 10px 0; border-top: 1px solid var(--line); }
.bus-cfg:first-child { border-top: 0; padding-top: 2px; }
.bc-head { display: flex; align-items: center; gap: 8px; }
.bc-head b { font-size: 16px; font-weight: 800; } .bc-head small { font-size: 12px; color: var(--ink3); flex: 1; }
.bc-routes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.bc-rt { display: inline-flex; align-items: center; gap: 2px; height: 32px; padding: 0 4px 0 11px; border-radius: 10px; background: #2563eb; color: #fff; font-weight: 800; font-size: 14px; }
.bc-rt button { width: 24px; height: 24px; border-radius: 50%; color: #fff; opacity: .8; font-size: 12px; }
.bc-add { height: 32px; padding: 0 11px; border-radius: 10px; background: var(--fill); font-weight: 700; font-size: 13px; color: var(--ink2); }
.pick button small { font-weight: 500; font-size: 11px; opacity: .75; }
.ttable { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.ttable th { text-align: left; font-size: 13px; font-weight: 800; color: var(--c, var(--ink2)); padding: 4px 8px 8px; border-bottom: 2px solid color-mix(in srgb, var(--c, var(--line)) 40%, transparent); }
.ttable th small { font-weight: 600; color: var(--ink3); }
.ttable td { padding: 9px 8px; border-bottom: 1px solid var(--line); font-weight: 700; }
.ttable tr:last-child td { border-bottom: 0; }
.ttable td.p { width: 56px; font-size: 12px; font-weight: 700; color: var(--ink3); white-space: nowrap; }
.ttable tr.now td { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.ttable tr.now td.p { color: var(--accent); }
.ttable tr.now td:first-child { border-radius: 10px 0 0 10px; } .ttable tr.now td:last-child { border-radius: 0 10px 10px 0; }
.sp-legend { margin: 10px 2px 4px; gap: 10px 14px; }
.sp-legend span { gap: 6px; font-size: 12.5px; }
.bus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 6px 0 4px; }
.bus-tile { background: var(--fill); border-radius: 14px; padding: 8px 6px 7px; display: grid; justify-items: center; gap: 4px; min-width: 0; }
.bus-tile .rt { min-width: 0; height: 28px; padding: 0 10px; border-radius: 9px; font-size: 15px; }
.bus-tile .dir { font-size: 10.5px; color: var(--ink3); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bms { display: flex; gap: 4px; }
.bm { min-width: 38px; height: 24px; padding: 0 5px; border-radius: 7px; background: var(--card); display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.bm.near { background: color-mix(in srgb, var(--warn) 22%, var(--card)); } .bm.soon { background: color-mix(in srgb, var(--bad) 18%, var(--card)); color: var(--bad); }
.bm.off { font-size: 11px; color: var(--ink3); font-weight: 700; }
.icon-btn.sm { width: 30px; height: 30px; font-size: 14px; }
.bus-stop { margin: 10px 0 0; }
.bus-tile .rt { display: grid; place-items: center; color: #fff; font-weight: 900; letter-spacing: -.01em; }
.week { display: grid; gap: 4px; margin: 2px 0 10px; }
.week .wd { display: grid; align-content: start; gap: 4px; min-width: 0; }
.week .wd > b { text-align: center; font-size: 12px; color: var(--ink3); font-weight: 800; padding: 2px 0; }
.week .ac { border-radius: 8px; padding: 5px 3px; background: color-mix(in srgb, var(--c) 14%, var(--card)); border-left: 3px solid var(--c); display: grid; gap: 1px; text-align: left; min-width: 0; }
.week .ac span { font-size: 11px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.week .ac small { font-size: 9.5px; color: var(--ink2); white-space: nowrap; }
.row .go { color: var(--ink3); font-size: 20px; }
.row .time small.end { display: block; font-size: 11px; color: var(--ink3); font-weight: 600; }
.pick.days button { min-width: 40px; justify-content: center; }
.tt-extra { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); }
.tt-ev { font-size: 14px; font-weight: 700; padding: 6px 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tt-hw { margin-top: 4px; }
.tt-hw > b { display: block; font-size: 14px; margin: 4px 0 2px; }
.tt-hw .quick { margin-top: 6px; }
.tt-hw .check { min-height: 44px; padding: 6px 0; }
.tt-hw .check .t { font-size: 15px; }
.bus-old { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; margin: 2px 0 6px; border-radius: 12px; background: color-mix(in srgb, var(--warn) 14%, var(--card)); font-size: 13px; font-weight: 700; color: var(--ink2); }
.bus-old[hidden] { display: none; }
#busbox.stale .bus-grid { opacity: .45; }
.bm { height: auto; min-height: 24px; padding: 3px 5px; display: grid; justify-items: center; gap: 0; }
.bm b { font-size: 13px; font-weight: 800; line-height: 1.2; }
.bm small { font-size: 9.5px; font-weight: 700; color: var(--ink3); line-height: 1.1; white-space: nowrap; }
.bms { gap: 4px; }
.bus-tile { gap: 6px; padding: 8px 6px; }
.bus-tile .bms { flex-direction: column; width: 100%; gap: 4px; }
.bus-tile .bm { display: flex; justify-content: center; align-items: baseline; gap: 5px; width: 100%; padding: 5px 4px; min-height: 28px; }
.bus-tile .bm b { font-size: 15px; }
.bus-tile .bm small { font-size: 10.5px; }
.bus-tile .bm.off { align-items: center; }
.bus-tile .bm { gap: 4px; white-space: nowrap; letter-spacing: -.02em; }
.bus-tile .bm b, .bus-tile .bm small { white-space: nowrap; }
.card[data-tone="subway"] { --tone: #77C4A3; }
#subwaybox.stale .trns { opacity: .45; }
.sub-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.sub-row:first-of-type { border-top: 0; }
.ln { min-width: 44px; height: 30px; padding: 0 7px; border-radius: 15px; display: inline-grid; place-items: center; color: #fff; font-weight: 900; font-size: 12px; flex: none; white-space: nowrap; }
.ln.sm { min-width: 0; height: 24px; font-size: 11px; }
.sub-row .main { flex: 1; min-width: 0; } .sub-row .t { font-size: 14px; font-weight: 800; } .sub-row .s { font-size: 11.5px; color: var(--ink3); }
.trns { display: flex; flex-direction: column; gap: 4px; flex: none; }
.trn { display: grid; grid-template-columns: auto auto; column-gap: 5px; align-items: baseline; min-width: 104px; padding: 4px 8px; border-radius: 9px; background: var(--fill); }
.trn b { font-size: 14px; font-weight: 800; } .trn small { font-size: 10px; color: var(--ink3); font-weight: 700; text-align: right; }
.trn em { grid-column: 1 / -1; font-style: normal; font-size: 10.5px; color: var(--ink2); font-weight: 600; }
.trn.near { background: color-mix(in srgb, var(--warn) 18%, var(--card)); } .trn.soon { background: color-mix(in srgb, var(--bad) 16%, var(--card)); } .trn.soon b { color: var(--bad); }
.trn.off { font-size: 11px; color: var(--ink3); display: block; }
.act-list button .ln { grid-row: 1 / 3; margin-right: 8px; }
.bc-head .ln { margin-right: 2px; }
#subwaybox .bus-tile .rt { font-size: 13px; padding: 0 8px; }
#subwaybox .bus-tile .dir { font-size: 11px; font-weight: 700; color: var(--ink2); }
#subwaybox.stale .bus-grid { opacity: .45; }
.bus-old .btn { background: var(--card) !important; color: var(--ink) !important; border: 1.5px solid var(--ink3); font-weight: 800; height: 32px; padding: 0 12px; box-shadow: none; }
#subwaybox .bus-grid { grid-template-columns: repeat(3, 1fr); }   /* 버스처럼 역마다 한 줄에 3칸 (사용자 지시 2026-12-02) */
#subwaybox .bus-tile .dir b { color: var(--ink); font-weight: 800; }
#subwaybox .bus-tile .rt { font-size: 12px; padding: 0 6px; }
#subwaybox .bus-tile .dir { white-space: normal; text-align: center; line-height: 1.3; }
#busbox .bus-tile .dir b { color: var(--ink); font-weight: 800; font-size: 11.5px; }
.toggle-row.ord { gap: 10px; cursor: default; }
.toggle-row.ord .lab { flex: 1; }
.toggle-row.ord .handle { width: 34px; height: 34px; margin-left: -6px; display: grid; place-items: center; font-size: 20px; color: var(--ink3); touch-action: none; cursor: grab; border-radius: 10px; flex: none; }
.toggle-row.ord .handle:active { background: var(--fill); cursor: grabbing; }
.toggle-row.ord.dragging { background: var(--card); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); border-radius: 14px; position: relative; z-index: 2; transform: scale(1.02); }
.toggle-row.ord .switch { border: 0; padding: 0; }

/* 스크린타임 요청 버튼 (아이 첫 화면) */
.btn.screen-req { width: 100%; margin: 0 0 14px; font-size: 17px; padding: 14px; }

/* 얼굴 아이콘 알림 숫자 (사용자 지시 2026-12-02) */
.top .avatar { position: relative; }
.av-badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--bad, #ff3b30); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg); }

/* 부모 첫 화면 일정: 시간대별 칼럼 */
.card .seg { margin: 0 0 10px; }
.card .seg button { height: 32px; font-size: 14px; background: var(--fill); box-shadow: none; }
.card .seg button.on { background: var(--accent, #10b981); color: #fff; }
.egrid { --tw: 26px; }
.ghead, .gall { display: grid; grid-template-columns: var(--tw) repeat(var(--n), 1fr); gap: 4px; }
.ghead span { font-size: 13px; font-weight: 800; text-align: center; color: var(--c, var(--ink3)); padding-bottom: 6px; border-bottom: 2px solid color-mix(in srgb, var(--c, transparent) 45%, transparent); }
.ghead span:first-child { border: 0; }
.gall { padding: 6px 0; border-bottom: 1px solid var(--line); }
.gall .gt { font-size: 11px; color: var(--ink3); align-self: center; }
.gall > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.gchip { font-size: 12px; font-weight: 700; padding: 4px 6px; border-radius: 7px; text-align: left; color: var(--ink); background: color-mix(in srgb, var(--c) 16%, transparent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gbody { position: relative; display: grid; grid-template-columns: var(--tw) repeat(var(--n), 1fr); gap: 4px; margin-top: 8px; }
.ghours { position: relative; }
.ghours span { position: absolute; left: 0; transform: translateY(-50%); font-size: 11px; color: var(--ink3); font-variant-numeric: tabular-nums; }
.ghours span:first-child { transform: none; }
.gcol { position: relative; border-radius: 8px; background-image: linear-gradient(to bottom, var(--line) 1px, transparent 1px); }
.gev { position: absolute; border-radius: 8px; padding: 3px 5px; text-align: left; overflow: hidden; background: color-mix(in srgb, var(--c) 18%, var(--card)); border-left: 3px solid var(--c); display: flex; flex-direction: column; color: var(--ink); }
.gev b { font-size: 12px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gev small { font-size: 10.5px; color: var(--ink2); white-space: nowrap; overflow: hidden; }
.gnow { position: absolute; left: var(--tw); right: 0; height: 2px; background: var(--bad, #ff3b30); pointer-events: none; }
.gnow::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: inherit; }
.card .seg { gap: 6px; overflow: visible; }
.card .seg button { flex: 1; padding: 0 6px; font-size: 13.5px; }

/* 날씨 (사용자 지시 2026-12-02) */
.wx-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 4px; }
.wx-now { display: flex; align-items: center; gap: 8px; }
.wx-now b { font-size: 38px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.wx-now .em { font-size: 30px; }
.wx-sub { color: var(--ink2); font-size: 14px; font-weight: 600; margin-top: 4px; }
.wx-tog { display: flex; background: var(--fill); border-radius: 99px; padding: 3px; flex: none; }
.wx-tog button { height: 30px; padding: 0 13px; border-radius: 99px; font-size: 13.5px; font-weight: 700; color: var(--ink2); }
.wx-tog button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.wx-chart { width: 100%; height: auto; display: block; margin-top: 4px; overflow: visible; }
.wx-chart .wg { stroke: var(--line); stroke-width: 1; }
.wx-chart .wv { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 3; }
.wx-chart .wy, .wx-chart .wx { fill: var(--ink3); font-size: 10px; font-weight: 600; }
.wx-chart .wi { font-size: 13px; }
.wx-chart .wl { fill: var(--ink2); font-size: 10.5px; font-weight: 700; }
.wx-chart .wline { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.wx-chart.t .wline { stroke: #f59e0b; }
.wx-chart.t .s1 { stop-color: #f59e0b; stop-opacity: .35; }
.wx-chart.t .s2 { stop-color: #3b82f6; stop-opacity: .12; }
.wx-chart.p .wline { stroke: #38bdf8; }
.wx-chart.p .s1 { stop-color: #38bdf8; stop-opacity: .4; }
.wx-chart.p .s2 { stop-color: #38bdf8; stop-opacity: .08; }
.wx-chart .wpast { fill: var(--card); opacity: .45; }
.wx-chart .wm { fill: var(--card); stroke: var(--ink2); stroke-width: 2; }
.wx-chart .wnowl { stroke: var(--ink3); stroke-width: 1; }
.wx-chart .wnow { fill: var(--ink); stroke: var(--card); stroke-width: 2; }
/* 날씨 날짜 탭·주간 (사용자 지시 2026-12-02) */
.card .seg.wx-days { margin-bottom: 12px; }
.wxw { display: flex; flex-direction: column; }
.wxw-row { display: grid; grid-template-columns: 38px 46px 34px 1fr 34px; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid var(--line); }
.wxw-row:first-child { border-top: 0; }
.wxw-d { font-size: 16px; font-weight: 800; }
.wxw-e { display: flex; flex-direction: column; align-items: center; font-size: 22px; line-height: 1; }
.wxw-e small { font-size: 11px; font-weight: 800; color: #38bdf8; margin-top: 2px; }
.wxw-lo { text-align: right; color: var(--ink3); font-weight: 700; font-size: 16px; }
.wxw-hi { font-weight: 800; font-size: 16px; }
.wxw-bar { position: relative; height: 6px; border-radius: 3px; background: var(--fill); }
.wxw-bar i { position: absolute; top: 0; bottom: 0; border-radius: 3px; }
.wxw-bar .wxw-now { width: 8px; height: 8px; top: -1px; margin-left: -4px; background: #fff; border: 1.5px solid var(--ink); border-radius: 50%; }
.wxw-src { font-size: 11px; margin: 6px 0 0; text-align: right; }
/* 학교 할 일 아이별 (사용자 지시 2026-12-02) */
.sk-group { border-left: 4px solid var(--c); padding-left: 10px; margin: 10px 0 4px; }
.sk-group + .sk-group { margin-top: 16px; }
.sk-head { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.sk-tag { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 14px; font-weight: 800; color: #fff; background: var(--c); }
.sk-n { font-size: 12px; color: var(--ink3); font-weight: 700; }
/* 아이 달력: 시간 있는 일정 글자 (사용자 지시 2026-12-02) */
.ebar.timed { background: transparent; border-left: 0; padding-left: 3px; color: var(--c); font-weight: 700; }
.ebar.timed::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--c); margin-right: 2px; vertical-align: 1px; }
.wkrow [data-act="day"] { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }

/* 코딩 테마 6가지 (사용자 지시 2026-12-02). 어두운 테마는 data-dark로 칩·배지 색을 같이 씀 */
:root[data-theme="dracula"] { --bg: #282a36; --card: #313342; --ink: #f8f8f2; --ink2: #d0d0e0; --ink3: #8b93c4; --line: #44475a; --fill: #3a3d4f; --brand: #ff79c6; --brand2: #bd93f9; --ok: #50fa7b; --warn: #f1fa8c; --bad: #ff5555; --shadow: 0 1px 2px rgba(0,0,0,.3); color-scheme: dark; }
:root[data-theme="onedark"] { --bg: #21252b; --card: #282c34; --ink: #e6e9ef; --ink2: #abb2bf; --ink3: #7f848e; --line: #3a3f4b; --fill: #2f343e; --brand: #e06c75; --brand2: #61afef; --ok: #98c379; --warn: #e5c07b; --bad: #e06c75; --shadow: 0 1px 2px rgba(0,0,0,.3); color-scheme: dark; }
:root[data-theme="nord"] { --bg: #2e3440; --card: #3b4252; --ink: #eceff4; --ink2: #d8dee9; --ink3: #93a0b8; --line: #4c566a; --fill: #434c5e; --brand: #88c0d0; --brand2: #b48ead; --ok: #a3be8c; --warn: #ebcb8b; --bad: #bf616a; --shadow: 0 1px 2px rgba(0,0,0,.25); color-scheme: dark; }
:root[data-theme="monokai"] { --bg: #1e1f1c; --card: #272822; --ink: #f8f8f2; --ink2: #cfcfc2; --ink3: #90908a; --line: #3e3d32; --fill: #33342d; --brand: #f92672; --brand2: #fd971f; --ok: #a6e22e; --warn: #e6db74; --bad: #f92672; --shadow: 0 1px 2px rgba(0,0,0,.35); color-scheme: dark; }
:root[data-theme="solarized"] { --bg: #eee8d5; --card: #fdf6e3; --ink: #073642; --ink2: #586e75; --ink3: #93a1a1; --line: #e4dcc6; --fill: #f3ecd8; --brand: #cb4b16; --brand2: #b58900; --ok: #859900; --warn: #b58900; --bad: #dc322f; --shadow: 0 1px 2px rgba(88,110,117,.08), 0 6px 18px rgba(88,110,117,.08); }
:root[data-theme="github"] { --bg: #f6f8fa; --card: #ffffff; --ink: #1f2328; --ink2: #59636e; --ink3: #8c959f; --line: #d8dee4; --fill: #eff2f5; --brand: #0969da; --brand2: #8250df; --ok: #1a7f37; --warn: #9a6700; --bad: #cf222e; --shadow: 0 0 0 1px #d0d7de; }
.mock.dracula { background: #282a36; } .mock.dracula i { background: #44475a; } .mock.dracula i:first-child { background: linear-gradient(135deg, #bd93f9, #ff79c6); }
.mock.onedark { background: #21252b; } .mock.onedark i { background: #2f343e; } .mock.onedark i:first-child { background: linear-gradient(135deg, #61afef, #c678dd); }
.mock.nord { background: #2e3440; } .mock.nord i { background: #434c5e; } .mock.nord i:first-child { background: linear-gradient(135deg, #88c0d0, #81a1c1); }
.mock.monokai { background: #1e1f1c; } .mock.monokai i { background: #33342d; } .mock.monokai i:first-child { background: linear-gradient(135deg, #f92672, #a6e22e); }
.mock.solarized { background: #eee8d5; } .mock.solarized i { background: #fdf6e3; } .mock.solarized i:first-child { background: linear-gradient(135deg, #268bd2, #2aa198); }
.mock.github { background: #f6f8fa; } .mock.github i { background: #fff; box-shadow: inset 0 0 0 1px #d0d7de; } .mock.github i:first-child { background: linear-gradient(135deg, #0969da, #8250df); box-shadow: none; }
.remind-custom { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 700; color: var(--ink2); font-size: 14px; }
.remind-custom .input { width: 90px; height: 40px; text-align: center; }
/* 부탁 답하기 (사용자 지시 2026-12-02: 답 종류 더, 한마디 예쁘게) */
.ans-head { display: flex; gap: 12px; align-items: center; margin: 2px 0 16px; }
.ans-av { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; background: color-mix(in srgb, var(--c) 16%, transparent); flex: none; }
.ans-head small { display: block; color: var(--ink3); font-weight: 700; font-size: 13px; }
.ans-head b { display: block; font-size: 18px; line-height: 1.3; }
.ans-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 14px; }
.ans-opt { display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 16px; background: var(--fill); font-weight: 800; font-size: 15px; color: var(--ink); border: 2px solid transparent; text-align: left; transition: transform .1s; }
.ans-opt span { font-size: 22px; }
.ans-opt:active { transform: scale(.97); }
.ans-opt.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--card)); }
.ans-opt.no { grid-column: span 2; justify-content: center; }
.ans-note { background: var(--fill); border-radius: 18px; padding: 12px; margin-bottom: 12px; }
.ans-note textarea { width: 100%; border: 0; background: transparent; resize: none; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
.ans-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-top: 6px; padding-bottom: 2px; }
.ans-chips::-webkit-scrollbar { display: none; }
.ans-chips button { flex: none; padding: 6px 11px; border-radius: 99px; background: var(--card); box-shadow: var(--shadow); font-size: 13px; font-weight: 700; color: var(--ink2); white-space: nowrap; }
.btn:disabled { opacity: .45; }
/* 학원 주간 시간표: 시각 축 + 학원별 색 (사용자 지시 2026-12-02) */
.aweek { --tw: 22px; margin: 4px 0 12px; }
.ahead { display: grid; grid-template-columns: var(--tw) repeat(var(--n), 1fr); gap: 3px; }
.ahead b { text-align: center; font-size: 12px; color: var(--ink3); font-weight: 800; padding-bottom: 4px; }
.abody { position: relative; display: grid; grid-template-columns: var(--tw) repeat(var(--n), 1fr); gap: 3px; margin-top: 4px; }
.ahours { position: relative; }
.ahours span { position: absolute; left: 0; transform: translateY(-50%); font-size: 10px; color: var(--ink3); font-variant-numeric: tabular-nums; }
.ahours span:first-child { transform: none; }
.acol { position: relative; border-radius: 6px; background-image: linear-gradient(to bottom, var(--line) 1px, transparent 1px); background-color: color-mix(in srgb, var(--fill) 50%, transparent); }
.ablk { position: absolute; left: 1px; right: 1px; border-radius: 7px; padding: 3px 3px; text-align: left; overflow: hidden; background: color-mix(in srgb, var(--c) 22%, var(--card)); border-left: 3px solid var(--c); display: flex; flex-direction: column; color: var(--ink); }
.ablk b { font-size: 11px; line-height: 1.15; font-weight: 800; word-break: keep-all; overflow: hidden; }
.ablk small { font-size: 9px; color: var(--ink2); line-height: 1.2; margin-top: 1px; }
/* 날씨 전체 화면: 시간별 (사용자 지시 2026-12-02) */
.wxh { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; padding: 0 4px 4px; }
.wxh::-webkit-scrollbar { display: none; }
.wxh > div { flex: none; width: 52px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0; border-radius: 14px; }
.wxh > div.now { background: var(--fill); }
.wxh small { font-size: 11.5px; color: var(--ink3); font-weight: 700; white-space: nowrap; }
.wxh span { font-size: 24px; }
.wxh b { font-size: 16px; font-weight: 800; }
.wxh em { font-style: normal; font-size: 11px; font-weight: 800; color: #38bdf8; min-height: 13px; }

/* 테마 9가지 더 (사용자 지시 2026-12-02) */
:root[data-theme="tokyo"] { --bg: #1a1b26; --card: #24283b; --ink: #c0caf5; --ink2: #a9b1d6; --ink3: #737aa2; --line: #2f3549; --fill: #292e42; --brand: #7aa2f7; --brand2: #bb9af7; --ok: #9ece6a; --warn: #e0af68; --bad: #f7768e; --shadow: 0 1px 2px rgba(0,0,0,.3); color-scheme: dark; }
.mock.tokyo { background: #1a1b26; } .mock.tokyo i { background: #292e42; } .mock.tokyo i:first-child { background: linear-gradient(135deg, #7aa2f7, #bb9af7); }
:root[data-theme="gruvbox"] { --bg: #282828; --card: #32302f; --ink: #ebdbb2; --ink2: #d5c4a1; --ink3: #a89984; --line: #45403d; --fill: #3c3836; --brand: #fe8019; --brand2: #fabd2f; --ok: #b8bb26; --warn: #fabd2f; --bad: #fb4934; --shadow: 0 1px 2px rgba(0,0,0,.3); color-scheme: dark; }
.mock.gruvbox { background: #282828; } .mock.gruvbox i { background: #3c3836; } .mock.gruvbox i:first-child { background: linear-gradient(135deg, #fe8019, #fabd2f); }
:root[data-theme="mocha"] { --bg: #1e1e2e; --card: #28283d; --ink: #cdd6f4; --ink2: #bac2de; --ink3: #7f849c; --line: #363a4f; --fill: #313244; --brand: #f5c2e7; --brand2: #cba6f7; --ok: #a6e3a1; --warn: #f9e2af; --bad: #f38ba8; --shadow: 0 1px 2px rgba(0,0,0,.3); color-scheme: dark; }
.mock.mocha { background: #1e1e2e; } .mock.mocha i { background: #313244; } .mock.mocha i:first-child { background: linear-gradient(135deg, #f5c2e7, #cba6f7); }
:root[data-theme="synthwave"] { --bg: #241b2f; --card: #2f2440; --ink: #fffaf5; --ink2: #e0d6f0; --ink3: #9d8bb8; --line: #3e3258; --fill: #372b4d; --brand: #ff7edb; --brand2: #36f9f6; --ok: #72f1b8; --warn: #fede5d; --bad: #fe4450; --shadow: 0 1px 2px rgba(0,0,0,.3); color-scheme: dark; }
.mock.synthwave { background: #241b2f; } .mock.synthwave i { background: #372b4d; } .mock.synthwave i:first-child { background: linear-gradient(135deg, #ff7edb, #36f9f6); }
:root[data-theme="ocean"] { --bg: #0f111a; --card: #181a26; --ink: #e0e6f1; --ink2: #a6accd; --ink3: #717cb4; --line: #232637; --fill: #1f2233; --brand: #82aaff; --brand2: #89ddff; --ok: #c3e88d; --warn: #ffcb6b; --bad: #ff5370; --shadow: 0 1px 2px rgba(0,0,0,.3); color-scheme: dark; }
.mock.ocean { background: #0f111a; } .mock.ocean i { background: #1f2233; } .mock.ocean i:first-child { background: linear-gradient(135deg, #82aaff, #89ddff); }
:root[data-theme="latte"] { --bg: #eff1f5; --card: #ffffff; --ink: #4c4f69; --ink2: #6c6f85; --ink3: #9ca0b0; --line: #dce0e8; --fill: #e6e9ef; --brand: #ea76cb; --brand2: #8839ef; --ok: #40a02b; --warn: #df8e1d; --bad: #d20f39; --shadow: 0 1px 2px rgba(0,0,0,.03), 0 6px 18px rgba(0,0,0,.05); }
.mock.latte { background: #eff1f5; } .mock.latte i { background: #ffffff; } .mock.latte i:first-child { background: linear-gradient(135deg, #ea76cb, #8839ef); }
:root[data-theme="rosepine"] { --bg: #faf4ed; --card: #fffaf3; --ink: #575279; --ink2: #797593; --ink3: #9893a5; --line: #efe5db; --fill: #f2e9e1; --brand: #d7827e; --brand2: #907aa9; --ok: #56949f; --warn: #ea9d34; --bad: #b4637a; --shadow: 0 1px 2px rgba(0,0,0,.03), 0 6px 18px rgba(0,0,0,.05); }
.mock.rosepine { background: #faf4ed; } .mock.rosepine i { background: #fffaf3; } .mock.rosepine i:first-child { background: linear-gradient(135deg, #d7827e, #907aa9); }
:root[data-theme="gruvlight"] { --bg: #f2e5bc; --card: #fbf1c7; --ink: #3c3836; --ink2: #665c54; --ink3: #928374; --line: #e3d5a8; --fill: #ebdbb2; --brand: #af3a03; --brand2: #b57614; --ok: #79740e; --warn: #b57614; --bad: #9d0006; --shadow: 0 1px 2px rgba(0,0,0,.03), 0 6px 18px rgba(0,0,0,.05); }
.mock.gruvlight { background: #f2e5bc; } .mock.gruvlight i { background: #fbf1c7; } .mock.gruvlight i:first-child { background: linear-gradient(135deg, #af3a03, #b57614); }
:root[data-theme="mint"] { --bg: #ecf8f4; --card: #ffffff; --ink: #16302b; --ink2: #3f5f58; --ink3: #86a39c; --line: #d7ece6; --fill: #e3f3ee; --brand: #10b981; --brand2: #06b6d4; --ok: #059669; --warn: #d97706; --bad: #dc2626; --shadow: 0 1px 2px rgba(0,0,0,.03), 0 6px 18px rgba(0,0,0,.05); }
.mock.mint { background: #ecf8f4; } .mock.mint i { background: #ffffff; } .mock.mint i:first-child { background: linear-gradient(135deg, #10b981, #06b6d4); }
/* 파스텔·모노톤·빛바랜 (사용자 지시 2026-12-02) */
:root[data-theme="pastel"] { --bg: #fbf3fa; --card: #ffffff; --ink: #4a4458; --ink2: #7a7290; --ink3: #b0a8c4; --line: #f1e6f1; --fill: #f6eef8; --brand: #f9a8d4; --brand2: #a5b4fc; --ok: #86d3b4; --warn: #f7c873; --bad: #f4a3a8; --shadow: 0 2px 4px rgba(170,120,190,.06), 0 10px 26px rgba(170,120,190,.08);
  --page: linear-gradient(170deg, #fdeef6 0%, #f3efff 50%, #eaf6ff 100%); }
:root[data-theme="pastel"] body { background: var(--page) fixed; }
:root[data-theme="pastel"] .card[data-tone] { background: color-mix(in srgb, var(--tone) 5%, #fff); }
:root[data-theme="pastel"] .btn:not(.soft):not(.ghost) { filter: saturate(.6) brightness(1.08); }
:root[data-theme="mono"] { --bg: #f2f2f2; --card: #ffffff; --ink: #111111; --ink2: #444444; --ink3: #888888; --line: #e2e2e2; --fill: #ececec; --brand: #111111; --brand2: #555555; --ok: #222222; --warn: #555555; --bad: #000000; --accent: #111111 !important; filter: grayscale(1); }
:root[data-theme="faded"] { --bg: #ece4d6; --card: #f7f1e6; --ink: #3b3530; --ink2: #6b625a; --ink3: #a39a8e; --line: #e0d6c6; --fill: #ebe2d3; --brand: #c98b6b; --brand2: #8fa5a0; --ok: #7d9a72; --warn: #c9a55c; --bad: #b8665a; --shadow: 0 1px 2px rgba(80,60,40,.06), 0 6px 18px rgba(80,60,40,.07); filter: sepia(.18) saturate(.78) contrast(.94) brightness(1.02); }
.mock.pastel { background: linear-gradient(170deg, #fdeef6, #eaf6ff); } .mock.pastel i { background: #fff; } .mock.pastel i:first-child { background: linear-gradient(135deg, #f9a8d4, #a5b4fc); }
.mock.mono { background: #f2f2f2; } .mock.mono i { background: #fff; box-shadow: inset 0 0 0 1px #ddd; } .mock.mono i:first-child { background: linear-gradient(135deg, #111, #666); box-shadow: none; }
.mock.faded { background: #ece4d6; filter: sepia(.2) saturate(.8); } .mock.faded i { background: #f7f1e6; } .mock.faded i:first-child { background: linear-gradient(135deg, #c98b6b, #8fa5a0); }
/* 다른 사람 화면으로 보기 (사용자 지시 2026-12-02) */
.viewas-bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: calc(var(--safe-t) + 8px) 14px 8px; background: #111; color: #fff; font-size: 14px; font-weight: 800; }
.viewas-bar button { background: #fff; color: #111; border-radius: 99px; padding: 5px 12px; font-size: 13px; font-weight: 800; }

/* ── 개성 있는 테마 6가지 (사용자 지시 2026-12-02) ── */
/* 네온: 검은 밤 + 분홍·청록 빛 */
:root[data-theme="neon"] { --bg: #07070d; --card: #0f0f1a; --ink: #f7f5ff; --ink2: #c9c4ff; --ink3: #8b86b8; --line: #23224a; --fill: #17172a; --brand: #ff2bd6; --brand2: #00f0ff; --ok: #39ff88; --warn: #ffe600; --bad: #ff3864; --shadow: 0 0 0 1px rgba(0, 240, 255, .28), 0 0 22px rgba(255, 43, 214, .16); color-scheme: dark; }
:root[data-theme="neon"] .card { border: 1px solid rgba(255, 43, 214, .35); }
:root[data-theme="neon"] .card h2, :root[data-theme="neon"] .top h1 { text-shadow: 0 0 6px rgba(0, 240, 255, .9), 0 0 18px rgba(255, 43, 214, .7); }
:root[data-theme="neon"] .btn:not(.soft):not(.ghost) { box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 70%, transparent); }
:root[data-theme="neon"] .tabs { background: rgba(7, 7, 13, .9); border-top: 1px solid rgba(0, 240, 255, .35); box-shadow: 0 -4px 20px rgba(255, 43, 214, .18); }
/* 나이트클럽: 보라 어둠 + 디스코 조명 */
:root[data-theme="club"] { --bg: #12051f; --card: rgba(34, 14, 58, .78); --ink: #fff4fd; --ink2: #e2c8f5; --ink3: #a585c4; --line: rgba(255, 255, 255, .1); --fill: rgba(255, 255, 255, .08); --brand: #ff4fd8; --brand2: #ffd23f; --ok: #5cffb0; --warn: #ffd23f; --bad: #ff5470; --shadow: 0 8px 30px rgba(0, 0, 0, .45); color-scheme: dark;
  --page: radial-gradient(circle at 15% 10%, rgba(255, 79, 216, .45), transparent 35%), radial-gradient(circle at 85% 25%, rgba(63, 140, 255, .4), transparent 38%), radial-gradient(circle at 50% 85%, rgba(255, 210, 63, .28), transparent 40%), #12051f; }
:root[data-theme="club"] body { background: var(--page) fixed; }
:root[data-theme="club"] .card h2 { color: #ff9be9; text-shadow: 0 0 10px rgba(255, 79, 216, .55); }
:root[data-theme="club"] .card { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .12); }
:root[data-theme="club"] .tabs { background: rgba(18, 5, 31, .75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
/* 바로크: 짙은 와인색 벨벳 + 금박 테두리 */
:root[data-theme="baroque"] { --bg: #2a0b10; --card: #3a1018; --ink: #f6e6bf; --ink2: #e0c88f; --ink3: #b0905a; --line: rgba(212, 175, 55, .28); --fill: rgba(212, 175, 55, .1); --brand: #d4af37; --brand2: #8b1e2d; --ok: #b5c46a; --warn: #e8b84a; --bad: #e0675d; --shadow: 0 6px 22px rgba(0, 0, 0, .5); --accent: #d4af37 !important; color-scheme: dark;
  --page: radial-gradient(circle at 50% 0%, #4a1520, #2a0b10 60%); }
:root[data-theme="baroque"] body { background: var(--page) fixed; }
:root[data-theme="baroque"] .card { border: 3px double #d4af37; box-shadow: inset 0 0 0 4px rgba(212, 175, 55, .12), var(--shadow); }
:root[data-theme="baroque"] .card h2 { color: #e9c96b; letter-spacing: .02em; }
:root[data-theme="baroque"] .card h2 { border-bottom: 1px solid rgba(212, 175, 55, .35); padding-bottom: 8px; }
:root[data-theme="baroque"] .top h1 { color: #e9c96b; text-shadow: 0 2px 0 #1a0508; }
:root[data-theme="baroque"] .btn:not(.soft):not(.ghost) { background: linear-gradient(180deg, #f0d277, #b8912a); color: #2a0b10; }
/* 조선시대: 한지 + 단청 띠 + 먹 글씨 */
:root[data-theme="joseon"] { --bg: #efe4cc; --card: #fbf5e6; --ink: #2b2118; --ink2: #5c4a3a; --ink3: #9a8670; --line: #e5d8bb; --fill: #f2e8d2; --brand: #b33a3a; --brand2: #2f5d8a; --ok: #3f7d5c; --warn: #c98a1b; --bad: #b33a3a; --shadow: 0 1px 2px rgba(60, 40, 20, .08), 0 6px 18px rgba(60, 40, 20, .08); --accent: #b33a3a !important;
  --page: repeating-linear-gradient(0deg, rgba(120, 90, 50, .025) 0 2px, transparent 2px 5px), #efe4cc; }
:root[data-theme="joseon"] body { background: var(--page); }
:root[data-theme="joseon"] .card { border-top: 6px solid transparent; border-image: linear-gradient(90deg, #b33a3a 0 20%, #2f5d8a 20% 40%, #3f7d5c 40% 60%, #e0a526 60% 80%, #b33a3a 80%) 1; border-radius: 4px; }
:root[data-theme="joseon"] .card h2 { color: #7a2e22; }
:root[data-theme="joseon"] .top h1 { color: #2b2118; }
:root[data-theme="joseon"] .tabs { background: rgba(251, 245, 230, .92); border-top: 2px solid #b33a3a; }
/* 우주: 별 가득한 밤하늘 */
:root[data-theme="space"] { --bg: #05060f; --card: rgba(18, 22, 48, .82); --ink: #e8ecff; --ink2: #b4bde8; --ink3: #7a84b8; --line: rgba(140, 160, 255, .16); --fill: rgba(140, 160, 255, .1); --brand: #7dd3fc; --brand2: #a78bfa; --ok: #6ee7b7; --warn: #fcd34d; --bad: #fb7185; --shadow: 0 8px 28px rgba(0, 0, 0, .5); color-scheme: dark;
  --page: radial-gradient(1px 1px at 20px 30px, #fff, transparent), radial-gradient(1px 1px at 120px 80px, #cfe, transparent), radial-gradient(1.5px 1.5px at 200px 150px, #fff, transparent), radial-gradient(1px 1px at 300px 40px, #ddf, transparent), radial-gradient(1px 1px at 80px 200px, #fff, transparent), radial-gradient(1.5px 1.5px at 340px 230px, #fff, transparent),
    radial-gradient(ellipse at 80% 10%, rgba(167, 139, 250, .25), transparent 50%), radial-gradient(ellipse at 10% 90%, rgba(125, 211, 252, .18), transparent 50%), #05060f; }
:root[data-theme="space"] body { background: var(--page); background-size: 380px 260px, 380px 260px, 380px 260px, 380px 260px, 380px 260px, 380px 260px, 100% 100%, 100% 100%, auto; background-attachment: fixed; }
:root[data-theme="space"] .card { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(140, 160, 255, .18); }
:root[data-theme="space"] .tabs { background: rgba(5, 6, 15, .85); }
/* 8비트 게임: 옛날 게임기 초록 화면, 네모난 픽셀 */
:root[data-theme="gameboy"] { --bg: #9bbc0f; --card: #8bac0f; --ink: #0f380f; --ink2: #275227; --ink3: #3d6b2a; --line: #306230; --fill: #7c9c0e; --brand: #0f380f; --brand2: #306230; --ok: #0f380f; --warn: #306230; --bad: #0f380f; --shadow: 4px 4px 0 #0f380f; --accent: #0f380f !important; }
:root[data-theme="gameboy"] body { letter-spacing: -.02em; }
:root[data-theme="gameboy"] *, :root[data-theme="gameboy"] *::before { border-radius: 0 !important; }
:root[data-theme="gameboy"] .card { border: 3px solid #0f380f; }
:root[data-theme="gameboy"] .btn { border: 2px solid #0f380f; box-shadow: 3px 3px 0 #0f380f; }
:root[data-theme="gameboy"] .tabs { background: #8bac0f; border-top: 3px solid #0f380f; }
:root[data-theme="gameboy"] .card h2::before { content: "▶ "; }
/* 미리보기 */
.mock.neon { background: #07070d; box-shadow: inset 0 0 0 1px #ff2bd6; } .mock.neon i { background: #17172a; box-shadow: 0 0 4px #00f0ff; } .mock.neon i:first-child { background: linear-gradient(135deg, #ff2bd6, #00f0ff); }
.mock.club { background: radial-gradient(circle at 20% 15%, #ff4fd8, transparent 50%), radial-gradient(circle at 85% 40%, #3f8cff, transparent 50%), #12051f; } .mock.club i { background: rgba(255, 255, 255, .14); } .mock.club i:first-child { background: linear-gradient(135deg, #ffd23f, #ff4fd8); }
.mock.baroque { background: #2a0b10; box-shadow: inset 0 0 0 2px #d4af37; } .mock.baroque i { background: #3a1018; box-shadow: inset 0 0 0 1px #d4af37; } .mock.baroque i:first-child { background: linear-gradient(180deg, #f0d277, #b8912a); }
.mock.joseon { background: #efe4cc; } .mock.joseon i { background: #fbf5e6; } .mock.joseon i:first-child { background: linear-gradient(90deg, #b33a3a 0 25%, #2f5d8a 25% 50%, #3f7d5c 50% 75%, #e0a526 75%); }
.mock.space { background: radial-gradient(1px 1px at 10px 12px, #fff, transparent), radial-gradient(1px 1px at 30px 40px, #fff, transparent), radial-gradient(1px 1px at 22px 70px, #fff, transparent), #05060f; } .mock.space i { background: rgba(140, 160, 255, .2); } .mock.space i:first-child { background: linear-gradient(135deg, #7dd3fc, #a78bfa); }
.mock.gameboy { background: #9bbc0f; border-radius: 4px !important; box-shadow: inset 0 0 0 2px #0f380f; } .mock.gameboy i { background: #8bac0f; border-radius: 0; box-shadow: inset 0 0 0 1px #0f380f; } .mock.gameboy i:first-child { background: #0f380f; }

/* 코발트·피치·일본 (사용자 지시 2026-12-02) */
/* 코발트: 연한 코발트 블루 톤 (사용자 지시 2026-12-02: 더 연하게) */
:root[data-theme="cobalt"] { --bg: #e8efff; --card: #ffffff; --ink: #10245a; --ink2: #3a4f86; --ink3: #8496c4; --line: #d6e1fb; --fill: #eef3ff; --brand: #2f6bff; --brand2: #5c8dff; --ok: #0ea5a4; --warn: #d99a1e; --bad: #e5484d; --shadow: 0 2px 4px rgba(30, 70, 180, .06), 0 10px 26px rgba(30, 70, 180, .09); --accent: #2f6bff !important;
  --page: linear-gradient(180deg, #dbe6ff 0%, #e8efff 45%, #f3f6ff 100%); }
:root[data-theme="cobalt"] body { background: var(--page) fixed; }
:root[data-theme="cobalt"] .card { border: 1px solid #dbe5ff; }
:root[data-theme="cobalt"] .card h2 { color: #1f4fd1; }
:root[data-theme="cobalt"] .tabs { background: rgba(243, 246, 255, .92); border-top: 1px solid #d6e1fb; }
/* 피치: 연한 오렌지 빛 */
:root[data-theme="peach"] { --bg: #fff3ea; --card: #fffaf6; --ink: #3d2a1f; --ink2: #7a5a47; --ink3: #b8977f; --line: #fde3d2; --fill: #ffeadb; --brand: #ff9f6b; --brand2: #ffc59e; --ok: #4fb286; --warn: #f0a030; --bad: #e5604d; --shadow: 0 2px 4px rgba(230, 130, 70, .06), 0 10px 26px rgba(230, 130, 70, .09); --accent: #ff8f5a !important;
  --page: linear-gradient(170deg, #ffe6d5 0%, #fff3ea 45%, #fff8f2 100%); }
:root[data-theme="peach"] body { background: var(--page) fixed; }
:root[data-theme="peach"] .card h2 { color: #c2602f; }
:root[data-theme="peach"] .tabs { background: rgba(255, 248, 242, .9); }
/* 일본: 화지 바탕, 쪽빛 글씨, 주홍 도리이 띠, 세이가이하 물결 */
:root[data-theme="japan"] { --bg: #f4efe6; --card: #fbf8f2; --ink: #1c2541; --ink2: #3e4a6b; --ink3: #8b8fa3; --line: #e6dfd2; --fill: #efe9de; --brand: #c9372c; --brand2: #1c2541; --ok: #5b8a5a; --warn: #c88a2b; --bad: #c9372c; --shadow: 0 1px 2px rgba(28, 37, 65, .06), 0 6px 18px rgba(28, 37, 65, .06); --accent: #c9372c !important;
  --page: radial-gradient(circle at 100% 0, rgba(201, 55, 44, .10) 0 120px, transparent 121px), radial-gradient(circle at 50% 100%, transparent 14px, rgba(28, 37, 65, .045) 15px 16px, transparent 17px) 0 0 / 40px 20px, #f4efe6; }
:root[data-theme="japan"] body { background: var(--page); }
:root[data-theme="japan"] .card { border-top: 4px solid #c9372c; border-radius: 6px; }
:root[data-theme="japan"] .card h2 { color: #1c2541; }
:root[data-theme="japan"] .card h2::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #c9372c; margin-right: 8px; vertical-align: 2px; }
:root[data-theme="japan"] .top h1 { color: #1c2541; }
:root[data-theme="japan"] .tabs { background: rgba(251, 248, 242, .94); border-top: 2px solid #c9372c; }
.mock.cobalt { background: linear-gradient(180deg, #dbe6ff, #f3f6ff); } .mock.cobalt i { background: #fff; } .mock.cobalt i:first-child { background: linear-gradient(135deg, #2f6bff, #5c8dff); }
.mock.peach { background: linear-gradient(170deg, #ffe6d5, #fff8f2); } .mock.peach i { background: #fffaf6; } .mock.peach i:first-child { background: linear-gradient(135deg, #ff9f6b, #ffc59e); }
.mock.japan { background: radial-gradient(circle at 100% 0, rgba(201, 55, 44, .25) 0 14px, transparent 15px), #f4efe6; } .mock.japan i { background: #fbf8f2; box-shadow: inset 0 2px 0 #c9372c; } .mock.japan i:first-child { background: #1c2541; box-shadow: none; }
.lang-seg button { padding: 14px 6px; font-size: 15px; }
/* 요즘 화제 (사용자 지시 2026-12-02) */
.card[data-tone="trend"] { --tone: #f97316; }
/* 이촌동 실거래 */
.card[data-tone="apt"] { --tone: #0d9488; }
.apt-row { display: flex; align-items: center; gap: 10px; }
.apt-row .main { flex: 1; min-width: 0; }
.apt-price { flex: none; font-size: 16px; font-weight: 800; white-space: nowrap; }
.apt-new { font-size: 11px; padding: 1px 6px; color: #0d9488; }
.apt-cancel .t, .apt-cancel .apt-price { text-decoration: line-through; color: var(--ink3); }
.card h2 a.more[data-act] { cursor: pointer; }
button.apt-row { width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); font: inherit; color: inherit; cursor: pointer; }
button.apt-row:last-child { border-bottom: 0; }
.apt-row .go { color: var(--ink3); font-size: 18px; flex: none; }
.apt-fold h2 { margin: 0; }
.apt-open { display: flex; align-items: center; gap: 6px; flex: 1; background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.apt-open .go { margin-left: auto; color: var(--ink3); font-size: 20px; }
.apt-tip { margin: 4px 0 6px; font-size: 14px; color: var(--ink2); min-height: 20px; }
.apt-h4 { margin: 14px 0 4px; font-size: 14px; color: var(--ink2); }
.apt-chart { --c: #0d9488; display: block; width: 100%; height: auto; overflow: visible; }
:root[data-theme="dark"] .apt-chart { --c: #2dd4bf; }
.apt-chart .g { stroke: var(--line); stroke-width: 1; }
.apt-chart text { fill: var(--ink3); font-size: 11px; }
.apt-chart .ln { fill: none; stroke: var(--c); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.apt-chart .pt { fill: var(--c); stroke: var(--card); stroke-width: 1; r: 2.5; }   /* 점은 살짝 (사용자 지시 2026-12-03) */
.apt-chart .pt.on { r: 5; opacity: 1; }
.apt-quick { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 10px; }
.apt-seg { flex-wrap: wrap; margin: 2px 0 8px; }
.apt-seg button { height: auto; min-height: 38px; padding: 5px 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; }
.apt-seg button small { font-size: 11px; font-weight: 600; opacity: .75; }
.apt-chart .hit { fill: transparent; cursor: pointer; }
.trow { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.trow:first-of-type { border-top: 0; }
.tr-n { width: 22px; flex: none; font-size: 18px; font-weight: 900; color: var(--accent); text-align: center; }
.trow .main { min-width: 0; flex: 1; }
.trow .t { font-weight: 800; font-size: 16px; }
.trow .s { margin-top: 3px; }
.tr-hot { font-size: 12px; }
.tr-sns { color: var(--ink3); }
.tr-meta { display: flex; gap: 8px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.tr-meta a { font-size: 13px; font-weight: 700; color: var(--accent); }
.tr-cats { flex-wrap: wrap; }
/* 할 일 (애플 미리 알림 느낌, 사용자 지시 2026-12-02) */
.rm-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.rm-tile { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: center; gap: 6px 8px; padding: 12px 14px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); color: var(--ink); }
.rm-tile b { justify-self: end; font-size: 26px; font-weight: 800; }
.rm-tile > span:last-child { grid-column: 1 / -1; font-weight: 700; color: var(--ink2); font-size: 15px; }
.rm-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font-size: 16px; }
.rm-ic.sm { width: 30px; height: 30px; font-size: 14px; flex: none; }
.rm-h { font-size: 20px; font-weight: 800; margin: 4px 4px 8px; }
.rm-lists { padding: 4px 14px; }
.rm-list { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); color: var(--ink); width: 100%; text-align: left; font-size: 16px; font-weight: 600; }
.rm-list:first-child { border-top: 0; }
.rm-list .main { flex: 1; }
.rm-n { color: var(--ink3); font-weight: 600; }
.rm-count { font-size: 30px; font-weight: 800; }
.rm-card { padding: 6px 16px; }
.rm-gh { font-size: 17px; font-weight: 800; margin: 10px 0 2px; }
.rm-item { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); transition: opacity .3s, transform .3s; }
.rm-item .main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rm-item .t { font-size: 16.5px; color: var(--ink); }
.rm-item small { color: var(--ink3); font-size: 12.5px; margin-top: 2px; }
.rm-box { width: 24px; height: 24px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--c, var(--ink3)) 70%, var(--ink3)); flex: none; position: relative; transition: background .15s; }
.rm-item.on .rm-box, .rm-box.on { background: var(--c, var(--ink3)); border-color: var(--c, var(--ink3)); box-shadow: inset 0 0 0 3px var(--card); }
.rm-item.on .t { color: var(--ink3); }
.rm-item.gone { opacity: 0; transform: translateX(16px); }
.rm-item.done .t { color: var(--ink3); text-decoration: line-through; }
.rm-add { display: flex; align-items: center; gap: 12px; padding: 11px 0; }
.rm-plus { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font-weight: 900; flex: none; font-size: 15px; }
.rm-add input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 16.5px; color: var(--ink); outline: none; }

/* 크리스마스: 레드 앤 골드 (사용자 지시 2026-12-02) */
:root[data-theme="xmas"] { --bg: #7a0f1c; --card: #8f1625; --ink: #fff7e6; --ink2: #f4dcae; --ink3: #d8a971; --line: rgba(230, 190, 100, .3); --fill: rgba(255, 220, 150, .1); --brand: #e8c063; --brand2: #1f7a4a; --ok: #7fd49a; --warn: #f5d06f; --bad: #ffb4a8; --shadow: 0 8px 24px rgba(40, 0, 5, .45); --accent: #e8c063 !important; color-scheme: dark;
  --page: radial-gradient(1.5px 1.5px at 30px 40px, rgba(255, 255, 255, .7), transparent), radial-gradient(1px 1px at 120px 110px, rgba(255, 255, 255, .6), transparent), radial-gradient(1.5px 1.5px at 220px 60px, rgba(255, 255, 255, .7), transparent), radial-gradient(1px 1px at 320px 160px, rgba(255, 255, 255, .5), transparent), linear-gradient(180deg, #8e1322, #5e0a15); }
:root[data-theme="xmas"] body { background: var(--page); background-size: 360px 200px, 360px 200px, 360px 200px, 360px 200px, auto; background-attachment: fixed; }
:root[data-theme="xmas"] .card { border: 1.5px solid #d4af37; }
:root[data-theme="xmas"] .card h2 { color: #f2cf73; }
:root[data-theme="xmas"] .card h2 { border-bottom: 1px dashed rgba(232, 192, 99, .45); padding-bottom: 8px; }
:root[data-theme="xmas"] .top h1::after { content: " 🎄"; }
:root[data-theme="xmas"] .top h1 { color: #f6d98a; }
:root[data-theme="xmas"] .btn:not(.soft):not(.ghost) { background: linear-gradient(180deg, #f0d277, #c99a2e); color: #5e0a15; }
:root[data-theme="xmas"] .tabs { background: rgba(94, 10, 21, .94); border-top: 2px solid #d4af37; }
.mock.xmas { background: linear-gradient(180deg, #8e1322, #5e0a15); box-shadow: inset 0 0 0 2px #d4af37; } .mock.xmas i { background: #a01b2c; box-shadow: inset 0 0 0 1px #d4af37; } .mock.xmas i:first-child { background: linear-gradient(135deg, #f0d277, #1f7a4a); }
.tr-group { margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: var(--fill); }
.tr-gh { font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.tr-gi { font-size: 14px; color: var(--ink2); line-height: 1.45; padding: 3px 0; }
.tr-gi b { color: var(--ink); }
/* 날씨 한마디·미세먼지 (사용자 지시 2026-12-02) */
.wx-tips { margin-top: 12px; padding: 12px 14px; border-radius: 16px; background: var(--fill); }
.wx-tips-h { font-weight: 800; font-size: 14px; color: var(--ink2); margin-bottom: 6px; }
.wx-tip { display: flex; gap: 8px; font-size: 14.5px; line-height: 1.45; padding: 3px 0; color: var(--ink); }
.wx-tip > span:first-child { flex: none; }
.wx-dust { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--ink2); font-weight: 600; }
.wx-dust small { color: var(--ink3); font-weight: 600; }
a.trow { color: var(--ink); align-items: center; }
.trow .go { color: var(--ink3); font-size: 20px; flex: none; }
.tr-meta span { font-size: 12.5px; color: var(--ink3); font-weight: 600; }
/* 크리스마스: 초록 포인트 더 (사용자 지시 2026-12-02) */
:root[data-theme="xmas"] { --ok: #4fbf7a; }
:root[data-theme="xmas"] .card { box-shadow: inset 0 5px 0 #1f7a4a, var(--shadow); }
:root[data-theme="xmas"] .seg button.on, :root[data-theme="xmas"] .wx-tog button.on { background: #1f7a4a !important; color: #fff7e6 !important; }
:root[data-theme="xmas"] .switch.on { background: #2f9a5e !important; }
:root[data-theme="xmas"] .chip { background: rgba(31, 122, 74, .35); color: #d9f5e3; }
:root[data-theme="xmas"] .tabs a.on { color: #7fe0a6; }
:root[data-theme="xmas"] .card h2 { border-bottom-color: rgba(79, 191, 122, .55); }
:root[data-theme="xmas"] body { background-image: radial-gradient(1.5px 1.5px at 30px 40px, rgba(255, 255, 255, .7), transparent), radial-gradient(1px 1px at 120px 110px, rgba(255, 255, 255, .6), transparent), radial-gradient(1.5px 1.5px at 220px 60px, rgba(255, 255, 255, .7), transparent), radial-gradient(1px 1px at 320px 160px, rgba(255, 255, 255, .5), transparent), radial-gradient(ellipse at 0% 100%, rgba(31, 122, 74, .55), transparent 45%), radial-gradient(ellipse at 100% 100%, rgba(31, 122, 74, .45), transparent 40%), linear-gradient(180deg, #8e1322, #5e0a15); background-size: 360px 200px, 360px 200px, 360px 200px, 360px 200px, 100% 100%, 100% 100%, auto; }
.mock.xmas i:nth-child(3) { background: #1f7a4a; }
/* 부탁 답: 아이콘 한 줄로 바로 (사용자 지시 2026-12-02) */
.ans-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.ans-quick button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; border-radius: 12px; background: var(--fill); font-size: 12px; font-weight: 800; color: var(--ink2); }
.ans-quick button span { font-size: 22px; line-height: 1.1; }
.ans-quick button.yes { background: color-mix(in srgb, var(--ok) 16%, var(--fill)); color: var(--ink); }
.ans-quick button.no { background: color-mix(in srgb, var(--bad) 12%, var(--fill)); }
.ans-quick button:active { transform: scale(.96); }
.feat .chip { font-size: 12px; padding: 1px 8px; }
.feat.done .t { color: var(--ink3); text-decoration: line-through; }
.feat-hist { margin-top: 12px; }
.feat-hist summary { cursor: pointer; font-weight: 700; color: var(--ink2); padding: 6px 2px; }
/* 얼굴 아이콘 (사용자 지시 2026-12-02) */
.avatar { overflow: hidden; }
.av-img, .av-svg, .av-emoji { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; object-fit: cover; }
.av-emoji { font-size: .95em; }
.avatar.lg .av-emoji { font-size: 40px; }
.av-edit { position: relative; overflow: visible; }
.av-edit .av-pen { position: absolute; right: -4px; bottom: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--card); box-shadow: var(--shadow); display: grid; place-items: center; font-size: 13px; }
.av-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.av-grid button { aspect-ratio: 1; border-radius: 50%; padding: 3px; background: var(--fill); border: 3px solid transparent; font-size: 30px; overflow: hidden; }
.av-grid button.on { border-color: var(--accent); }
.av-upload { display: block; text-align: center; cursor: pointer; }
.av-upload { display: flex; align-items: center; justify-content: center; }
.av-cell { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.av-cell button { width: 100%; }
.av-cell small { font-size: 11px; color: var(--ink3); font-weight: 700; }
.av-sticker { width: 100%; height: 100%; display: grid; place-items: center; border-radius: 50%; background: repeating-linear-gradient(45deg, #fef9c3 0 8px, #fde68a 8px 16px); font-size: .9em; }
.av-sticker { text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff, 2px 2px #fff, -2px -2px #fff, 2px -2px #fff, -2px 2px #fff, 3px 4px 4px rgba(0,0,0,.25); }
.avatar.lg .av-sticker { font-size: 38px; }
.av-grid .av-sticker { font-size: 26px; transform: rotate(-8deg); }
/* 레트로 노을 (사용자 지시 2026-12-02): 보라 하늘 + 노란·분홍 해 + 지평선 줄 */
:root[data-theme="sunset"] { --bg: #2b1055; --card: rgba(58, 22, 98, .82); --ink: #fff4e6; --ink2: #ffd0e8; --ink3: #c79fd8; --line: rgba(255, 150, 200, .22); --fill: rgba(255, 255, 255, .08); --brand: #ff2975; --brand2: #ffd319; --ok: #5cf2c2; --warn: #ffd319; --bad: #ff5a7a; --shadow: 0 8px 26px rgba(20, 0, 40, .5); --accent: #ff4f9a !important; color-scheme: dark;
  --page: radial-gradient(circle at 50% 108%, #ffd319 0 70px, #ff8f3c 71px 100px, transparent 101px), linear-gradient(180deg, #2b1055 0%, #7b1e7a 55%, #ff2975 100%); }
:root[data-theme="sunset"] body { background: var(--page) fixed; }
:root[data-theme="sunset"] .card { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 120, 190, .3); }
:root[data-theme="sunset"] .card h2 { color: #ffd319; }
:root[data-theme="sunset"] .top h1 { color: #fff; text-shadow: 0 0 12px rgba(255, 41, 117, .7); }
:root[data-theme="sunset"] .tabs { background: rgba(43, 16, 85, .9); border-top: 2px solid #ff2975; }
.mock.sunset { background: radial-gradient(circle at 50% 100%, #ffd319 0 14px, #ff8f3c 15px 20px, transparent 21px), linear-gradient(180deg, #2b1055, #ff2975); } .mock.sunset i { background: rgba(255, 255, 255, .18); } .mock.sunset i:first-child { background: linear-gradient(135deg, #ffd319, #ff2975); }
/* 크리스마스: 빨강 채도 낮추고 금색을 여기저기 (사용자 지시 2026-12-03) */
:root[data-theme="xmas"] { --bg: #5e2a2f; --card: #6f3238; --ink: #fbf3e2; --ink2: #ecd9b4; --ink3: #c9a982; --line: rgba(212, 175, 55, .35); --fill: rgba(212, 175, 55, .12); --brand: #d4af37; }
:root[data-theme="xmas"] body { background-image: radial-gradient(1.5px 1.5px at 30px 40px, rgba(255, 236, 190, .8), transparent), radial-gradient(1px 1px at 120px 110px, rgba(255, 236, 190, .7), transparent), radial-gradient(1.5px 1.5px at 220px 60px, rgba(255, 236, 190, .8), transparent), radial-gradient(1px 1px at 320px 160px, rgba(255, 236, 190, .6), transparent), radial-gradient(ellipse at 0% 100%, rgba(31, 122, 74, .45), transparent 45%), radial-gradient(ellipse at 100% 100%, rgba(31, 122, 74, .38), transparent 40%), linear-gradient(180deg, #6b3036, #48201f) !important; }
:root[data-theme="xmas"] .card { background: linear-gradient(180deg, #74363c, #662d33); border: 1.5px solid #d4af37; box-shadow: inset 0 5px 0 #1f7a4a, inset 0 0 0 4px rgba(212, 175, 55, .12), var(--shadow); }
:root[data-theme="xmas"] .card h2, :root[data-theme="xmas"] .top h1, :root[data-theme="xmas"] .top .sub { color: #e9c96b; }
:root[data-theme="xmas"] a, :root[data-theme="xmas"] .more, :root[data-theme="xmas"] .link { color: #f0d277; }
:root[data-theme="xmas"] .seg button:not(.on), :root[data-theme="xmas"] .wx-tog { border: 1px solid rgba(212, 175, 55, .5); background: rgba(212, 175, 55, .08); }
:root[data-theme="xmas"] .chip { border: 1px solid rgba(212, 175, 55, .6); }
:root[data-theme="xmas"] .avatar { box-shadow: 0 0 0 2px #d4af37; }
:root[data-theme="xmas"] .row, :root[data-theme="xmas"] .check, :root[data-theme="xmas"] .trow { border-color: rgba(212, 175, 55, .28); }
:root[data-theme="xmas"] .tabs { background: rgba(72, 32, 31, .95); }
:root[data-theme="xmas"] .tabs a { color: #e9c96b; }
:root[data-theme="xmas"] .tabs a.on { color: #7fe0a6; }
:root[data-theme="xmas"] .badge, :root[data-theme="xmas"] .av-badge { background: #d4af37; color: #48201f; }
/* 달력 개선 (사용자 지시 2026-12-03) */
.cal-modes { display: flex; background: var(--fill); border-radius: 12px; padding: 3px; margin: 0 0 10px; }
.cal-modes button { flex: 1; height: 32px; border-radius: 10px; font-weight: 800; font-size: 14px; color: var(--ink2); }
.cal-modes button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.dday-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -2px 10px; padding: 0 2px; }
.dday-row::-webkit-scrollbar { display: none; }
.dday-chip { flex: none; display: flex; align-items: center; gap: 6px; padding: 6px 10px 6px 6px; border-radius: 99px; background: var(--card); box-shadow: var(--shadow); font-size: 13px; font-weight: 700; color: var(--ink); }
.dday-chip b { background: var(--c); color: #fff; border-radius: 99px; padding: 2px 7px; font-size: 11.5px; }
.pfilter .acad { border: 1px dashed var(--line); }
.pfilter .acad:not(.on) { opacity: .5; text-decoration: line-through; }
.cal .bars { grid-auto-rows: 15px; }
.ebar { height: 15px; line-height: 15px; font-size: 10px; text-overflow: ellipsis; }
.cal .cells .d { min-height: 100px; }
.cal .free { font-size: 12px; }
.cal-hint { font-size: 12px; margin: -4px 0 70px; }
.wkview .ghead span { display: flex; flex-direction: column; align-items: center; font-size: 11px; color: var(--ink3); border-bottom: 0; padding-bottom: 4px; cursor: pointer; }
.wkview .ghead span b { font-size: 15px; color: var(--ink); }
.wkview .ghead span.today b { background: var(--accent); color: #fff; border-radius: 50%; width: 24px; height: 24px; display: grid; place-items: center; }
.wkview .ghead span.sun b { color: #ef4444; } .wkview .ghead span.sat b { color: #3b82f6; }
.wkview .gcol.today { background-color: color-mix(in srgb, var(--accent) 6%, transparent); }
.wkview .gev b { font-size: 10px; white-space: normal; line-height: 1.15; }
.wkview .gchip { font-size: 10px; padding: 2px 3px; }
.ebar { text-overflow: clip; letter-spacing: -.02em; }
.wkview .gev b { white-space: nowrap; overflow: hidden; text-overflow: clip; word-break: keep-all; }
.rp-h { font-weight: 800; font-size: 13.5px; color: var(--ink2); margin: 10px 0 4px; }
.rp-i { display: flex; gap: 8px; font-size: 14px; padding: 3px 0; }
.rp-w { color: var(--accent); font-size: 9px; letter-spacing: 1px; flex: none; padding-top: 4px; }
/* 시켜줘 봇 (사용자 지시 2026-12-03) */
.ag-shot { width: 100%; border-radius: 10px; margin-top: 8px; border: 1px solid var(--line); display: block; }
.ag-step { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.ag-step:first-of-type { border-top: 0; }
.ag-step .ag-k { width: 26px; flex: none; font-size: 18px; text-align: center; }
.ag-step .main { flex: 1; min-width: 0; }
.ag-step .t { font-size: 14px; font-weight: 600; }
.ag-step:not(:first-of-type) .ag-shot { max-height: 160px; object-fit: cover; object-position: top; }
.ag-pending { border: 2px solid var(--warn); }
.ag-pending.confirm { border-color: var(--accent); }
.acad-kids button { flex: 1; font-size: 15px; }
.acad-kids button.on { background: var(--c) !important; color: #fff; }
.font-seg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.font-seg button { height: 52px; border-radius: 14px; background: var(--fill); font-weight: 800; color: var(--ink2); border: 2px solid transparent; }
.font-seg button.on { border-color: var(--accent); background: var(--card); color: var(--ink); }
/* 비서 채팅 (사용자 지시 2026-12-03) */
.ag-vault-btn { font-size: 20px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--card); box-shadow: var(--shadow); }
.ag-chat { display: flex; flex-direction: column; gap: 14px; padding-bottom: 90px; }
.ag-thread { display: flex; flex-direction: column; gap: 6px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.ag-me { align-self: flex-end; max-width: 82%; padding: 10px 14px; border-radius: 18px 18px 4px 18px; background: var(--accent); color: #fff; font-size: 15.5px; line-height: 1.4; white-space: pre-line; }
.ag-bot { align-self: flex-start; max-width: 88%; padding: 10px 14px; border-radius: 18px 18px 18px 4px; background: var(--card); box-shadow: var(--shadow); font-size: 15px; line-height: 1.45; }
.ag-bot .btn.sm { display: inline-block; }
.ag-more { display: block; margin-top: 6px; font-size: 12px; color: var(--ink3); font-weight: 700; }
.ag-dots { color: var(--ink2); }
.ag-hello { text-align: center; color: var(--ink2); padding: 40px 10px; font-size: 16px; line-height: 1.6; }
.ag-hello small { color: var(--ink3); font-size: 13px; }
.ag-composer { position: fixed; left: 0; right: 0; bottom: calc(var(--tab) + var(--safe-b)); display: flex; gap: 8px; padding: 8px 12px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); z-index: 20; max-width: 640px; margin: 0 auto; }
.ag-composer textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 20px; padding: 10px 14px; font: inherit; font-size: 16px; background: var(--card); color: var(--ink); max-height: 120px; outline: none; }
.ag-send { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 20px; font-weight: 900; flex: none; align-self: flex-end; }
.ag-link { color: var(--accent); font-weight: 700; word-break: break-all; }
.ag-open { display: inline-block; margin-top: 8px; }
/* 비서: 예상 답·이어서 (사용자 지시 2026-12-03) */
.ag-opts { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.ag-opts button { padding: 8px 12px; border-radius: 99px; background: color-mix(in srgb, var(--accent) 12%, var(--card)); color: var(--accent); font-weight: 800; font-size: 14px; border: 1.5px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.ag-opts button:active { transform: scale(.96); }
.ag-composer { flex-direction: column; gap: 4px; }
.ag-row { display: flex; gap: 8px; }
.ag-ctx { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink2); font-weight: 700; padding: 0 6px; }
.ag-ctx span { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.ag-ctx button { color: var(--ink3); font-size: 13px; padding: 2px 6px; }
.ag-ctxwrap:empty { display: none; }
.ag-chat { padding-bottom: 120px; }

/* 그라디언트 질감 테마 20가지 (사용자 지시 2026-12-03: dev/resources/design-themes 견본 이미지). 공통 모양은 data-sw, 색·패턴은 테마별 */
:root[data-sw] { --r: 12px; }
:root[data-sw] body { background: var(--bg); counter-reset: swc; }
:root[data-sw] body::before, :root[data-sw] body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; }
:root[data-sw] body::before { background: var(--sw-grad); }
:root[data-sw] body::after { background: var(--sw-pat); mix-blend-mode: overlay; opacity: var(--sw-pat-o, .45); }
:root[data-sw] .card { background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0, 0, 0, .12); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); counter-increment: swc; }
:root[data-sw] .card h2::before { content: counter(swc, decimal-leading-zero); font: 600 11px/1 var(--mono, ui-monospace, Menlo, monospace); letter-spacing: .08em; color: var(--accent); opacity: .85; padding: 3px 6px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 99px; }
:root[data-sw] .top h1 { letter-spacing: -.03em; }
:root[data-sw] .top .sub { font-family: var(--mono, ui-monospace, Menlo, monospace); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
:root[data-sw] .tabs { background: var(--sw-bar); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
:root[data-sw] .btn { border-radius: 99px; }
:root[data-sw] .btn:not(.soft):not(.ghost) { background: var(--accent); color: var(--sw-on); }
.mock.sw { background: var(--mk-pat), var(--mk-grad); background-blend-mode: overlay, normal; }
.mock.sw i { background: var(--mk-card); }
:root[data-theme="aurora"] { --bg: #050605; --card: rgba(5, 6, 5, 0.8); --ink: #e1eee2; --ink2: #aab4ab; --ink3: #777f78; --line: rgba(255, 255, 255, 0.12); --fill: rgba(255, 255, 255, 0.08); --brand: #6fd36f; --brand2: #89aedb; --accent: #6fd36f !important; --sw-on: #141414; --sw-bar: rgba(5, 6, 5, 0.88); --sw-grad: linear-gradient(180deg, #060807 0%, #0f271a 25%, #487f48 50%, #9ac79e 75%, #89aedb 100%); --sw-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13'%3E%3Ccircle cx='6.5' cy='6.5' r='3.1' fill='%23fff'/%3E%3C/svg%3E") 0 0/13px 13px; --sw-pat-o: 0.55; color-scheme: dark; }
:root[data-theme="moonhaze"] { --bg: #1a1e29; --card: rgba(26, 30, 41, 0.8); --ink: #f6f3ee; --ink2: #bfbebd; --ink3: #8c8d8f; --line: rgba(255, 255, 255, 0.12); --fill: rgba(255, 255, 255, 0.08); --brand: #d9c49a; --brand2: #a19e99; --accent: #d9c49a !important; --sw-on: #141414; --sw-bar: rgba(26, 30, 41, 0.88); --sw-grad: linear-gradient(180deg, #3a404e 0%, #a19e99 25%, #e1d8c7 50%, #747883 75%, #222836 100%); --sw-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E") 0 0/180px 180px; --sw-pat-o: 0.5; color-scheme: dark; }
:root[data-theme="autumn"] { --bg: #1b100b; --card: rgba(27, 16, 11, 0.8); --ink: #f9ecdd; --ink2: #c2b5a9; --ink3: #8e8278; --line: rgba(255, 255, 255, 0.12); --fill: rgba(255, 255, 255, 0.08); --brand: #e8925a; --brand2: #eac18d; --accent: #e8925a !important; --sw-on: #141414; --sw-bar: rgba(27, 16, 11, 0.88); --sw-grad: linear-gradient(180deg, #24150e 0%, #5d2e1c 25%, #a45630 50%, #d38d5c 75%, #eac18d 100%); --sw-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13'%3E%3Cpath d='M6.5 3 10 6.5 6.5 10 3 6.5z' fill='%23fff'/%3E%3C/svg%3E") 0 0/13px 13px; --sw-pat-o: 0.5; color-scheme: dark; }
:root[data-theme="yuzu"] { --bg: #faf8eb; --card: rgba(250, 248, 235, 0.84); --ink: #3c4827; --ink2: #6c7458; --ink3: #979c85; --line: rgba(0, 0, 0, 0.08); --fill: rgba(0, 0, 0, 0.05); --brand: #6f8a1f; --brand2: #cec76f; --accent: #6f8a1f !important; --sw-on: #fff; --sw-bar: rgba(250, 248, 235, 0.88); --sw-grad: linear-gradient(180deg, #f3efd2 0%, #e8dea1 25%, #cec76f 50%, #99a455 75%, #5c6e3c 100%); --sw-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Cpath d='M4.5 1.5 8 7.5H1z M10 1.5h7l-3.5 6z M1 10.5h7l-3.5 6z M13.5 10.5 17 16.5h-7z' fill='%23fff'/%3E%3C/svg%3E") 0 0/18px 18px; --sw-pat-o: 0.45; }
:root[data-theme="fuji"] { --bg: #faf6f2; --card: rgba(250, 246, 242, 0.84); --ink: #28334f; --ink2: #5d6478; --ink3: #8d919d; --line: rgba(0, 0, 0, 0.08); --fill: rgba(0, 0, 0, 0.05); --brand: #d0694f; --brand2: #3e4f7a; --accent: #d0694f !important; --sw-on: #fff; --sw-bar: rgba(250, 246, 242, 0.88); --sw-grad: linear-gradient(180deg, #f4eae1 0%, #ecc8b8 25%, #c0b6be 50%, #7a89a8 75%, #3e4f7a 100%); --sw-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 210' preserveAspectRatio='none'%3E%3Cpath d='M0 6 C 20 3, 35 9, 55 4.5 S 85 9, 100 3' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 19 C 20 14.5, 35 23.5, 55 16.75 S 85 23.5, 100 14.5' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 32 C 20 26, 35 38, 55 29 S 85 38, 100 26' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 45 C 20 37.5, 35 52.5, 55 41.25 S 85 52.5, 100 37.5' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 58 C 20 55, 35 61, 55 56.5 S 85 61, 100 55' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 71 C 20 66.5, 35 75.5, 55 68.75 S 85 75.5, 100 66.5' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 84 C 20 78, 35 90, 55 81 S 85 90, 100 78' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 97 C 20 89.5, 35 104.5, 55 93.25 S 85 104.5, 100 89.5' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 110 C 20 107, 35 113, 55 108.5 S 85 113, 100 107' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 123 C 20 118.5, 35 127.5, 55 120.75 S 85 127.5, 100 118.5' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 136 C 20 130, 35 142, 55 133 S 85 142, 100 130' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 149 C 20 141.5, 35 156.5, 55 145.25 S 85 156.5, 100 141.5' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 162 C 20 159, 35 165, 55 160.5 S 85 165, 100 159' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 175 C 20 170.5, 35 179.5, 55 172.75 S 85 179.5, 100 170.5' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 188 C 20 182, 35 194, 55 185 S 85 194, 100 182' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 201 C 20 193.5, 35 208.5, 55 197.25 S 85 208.5, 100 193.5' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 0/100% 100%; --sw-pat-o: 0.7; }
:root[data-theme="lowtide"] { --bg: #e7ece6; --card: rgba(231, 236, 230, 0.84); --ink: #061117; --ink2: #3e484b; --ink3: #727a7a; --line: rgba(0, 0, 0, 0.08); --fill: rgba(0, 0, 0, 0.05); --brand: #237680; --brand2: #87b1ad; --accent: #237680 !important; --sw-on: #fff; --sw-bar: rgba(231, 236, 230, 0.88); --sw-grad: linear-gradient(180deg, #c9d5c7 0%, #87b1ad 25%, #3d767d 50%, #173d4a 75%, #091a24 100%); --sw-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='14'%3E%3Cpath d='M0 7 Q 14 2 28 7 T 56 7' fill='none' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E") 0 0/56px 14px; --sw-pat-o: 0.45; }
:root[data-theme="sage"] { --bg: #0b1426; --card: rgba(11, 20, 38, 0.8); --ink: #e2ebdb; --ink2: #acb5ae; --ink3: #7b8484; --line: rgba(255, 255, 255, 0.12); --fill: rgba(255, 255, 255, 0.08); --brand: #a8cf8c; --brand2: #7ca0c4; --accent: #a8cf8c !important; --sw-on: #141414; --sw-bar: rgba(11, 20, 38, 0.88); --sw-grad: linear-gradient(180deg, #0e1a32 0%, #2b4872 25%, #7ca0c4 50%, #9dbb87 75%, #6f9558 100%); --sw-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='22.5'%3E%3Ccircle cx='6.5' cy='5.6' r='3.9' fill='%23fff'/%3E%3Ccircle cx='0' cy='16.9' r='3.9' fill='%23fff'/%3E%3Ccircle cx='13' cy='16.9' r='3.9' fill='%23fff'/%3E%3C/svg%3E") 0 0/13px 22.5px; --sw-pat-o: 0.4; color-scheme: dark; }
:root[data-theme="harbor"] { --bg: #0b1424; --card: rgba(11, 20, 36, 0.8); --ink: #f4e6e2; --ink2: #bab2b3; --ink3: #848187; --line: rgba(255, 255, 255, 0.12); --fill: rgba(255, 255, 255, 0.08); --brand: #eaa898; --brand2: #b18886; --accent: #eaa898 !important; --sw-on: #141414; --sw-bar: rgba(11, 20, 36, 0.88); --sw-grad: linear-gradient(180deg, #0f1a30 0%, #253952 25%, #61687b 50%, #b18886 75%, #d9ab9e 100%); --sw-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13'%3E%3Ccircle cx='6.5' cy='6.5' r='3.6' fill='none' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E") 0 0/13px 13px; --sw-pat-o: 0.45; color-scheme: dark; }
:root[data-theme="persimmon"] { --bg: #e4e8eb; --card: rgba(228, 232, 235, 0.84); --ink: #8a371f; --ink2: #a16352; --ink3: #b58c81; --line: rgba(0, 0, 0, 0.08); --fill: rgba(0, 0, 0, 0.05); --brand: #d0471f; --brand2: #e28157; --accent: #d0471f !important; --sw-on: #fff; --sw-bar: rgba(228, 232, 235, 0.88); --sw-grad: linear-gradient(180deg, #c3ccd3 0%, #d3bfb8 25%, #e0a690 50%, #e28157 75%, #d55530 100%); --sw-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Crect x='0' y='0' width='5' height='5' fill='%23fff'/%3E%3Crect x='20' y='0' width='5' height='5' fill='%23fff'/%3E%3Crect x='10' y='10' width='5' height='5' fill='%23fff'/%3E%3Crect x='30' y='10' width='5' height='5' fill='%23fff'/%3E%3Crect x='0' y='20' width='5' height='5' fill='%23fff'/%3E%3Crect x='20' y='20' width='5' height='5' fill='%23fff'/%3E%3Crect x='30' y='30' width='5' height='5' fill='%23fff'/%3E%3C/svg%3E") 0 0/40px 40px; --sw-pat-o: 0.6; }
:root[data-theme="lantern"] { --bg: #1e263b; --card: rgba(30, 38, 59, 0.8); --ink: #ece6e0; --ink2: #b9b6b7; --ink3: #898a91; --line: rgba(255, 255, 255, 0.12); --fill: rgba(255, 255, 255, 0.08); --brand: #f0b66a; --brand2: #c1ac99; --accent: #f0b66a !important; --sw-on: #141414; --sw-bar: rgba(30, 38, 59, 0.88); --sw-grad: linear-gradient(180deg, #28334f 0%, #656379 25%, #c1ac99 50%, #bea6a4 75%, #8f939e 100%); --sw-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='126' height='112'%3E%3Ccircle cx='4' cy='4' r='1.6' fill='%23fff'/%3E%3Ccircle cx='4' cy='18' r='1.6' fill='%23fff'/%3E%3Ccircle cx='11' cy='4' r='1.6' fill='%23fff'/%3E%3Ccircle cx='4' cy='32' r='1.6' fill='%23fff'/%3E%3Ccircle cx='4' cy='67' r='1.6' fill='%23fff'/%3E%3Ccircle cx='4' cy='74' r='1.6' fill='%23fff'/%3E%3Ccircle cx='11' cy='74' r='1.6' fill='%23fff'/%3E%3Ccircle cx='4' cy='95' r='1.6' fill='%23fff'/%3E%3Ccircle cx='11' cy='95' r='1.6' fill='%23fff'/%3E%3Ccircle cx='25' cy='32' r='1.6' fill='%23fff'/%3E%3Ccircle cx='25' cy='39' r='1.6' fill='%23fff'/%3E%3Ccircle cx='32' cy='32' r='1.6' fill='%23fff'/%3E%3Ccircle cx='32' cy='39' r='1.6' fill='%23fff'/%3E%3Ccircle cx='32' cy='46' r='1.6' fill='%23fff'/%3E%3Ccircle cx='25' cy='60' r='1.6' fill='%23fff'/%3E%3Ccircle cx='25' cy='67' r='1.6' fill='%23fff'/%3E%3Ccircle cx='25' cy='88' r='1.6' fill='%23fff'/%3E%3Ccircle cx='25' cy='95' r='1.6' fill='%23fff'/%3E%3Ccircle cx='32' cy='95' r='1.6' fill='%23fff'/%3E%3Ccircle cx='32' cy='102' r='1.6' fill='%23fff'/%3E%3Ccircle cx='46' cy='11' r='1.6' fill='%23fff'/%3E%3Ccircle cx='46' cy='18' r='1.6' fill='%23fff'/%3E%3Ccircle cx='53' cy='4' r='1.6' fill='%23fff'/%3E%3Ccircle cx='46' cy='39' r='1.6' fill='%23fff'/%3E%3Ccircle cx='46' cy='46' r='1.6' fill='%23fff'/%3E%3Ccircle cx='53' cy='32' r='1.6' fill='%23fff'/%3E%3Ccircle cx='53' cy='39' r='1.6' fill='%23fff'/%3E%3Ccircle cx='53' cy='46' r='1.6' fill='%23fff'/%3E%3Ccircle cx='46' cy='60' r='1.6' fill='%23fff'/%3E%3Ccircle cx='53' cy='60' r='1.6' fill='%23fff'/%3E%3Ccircle cx='53' cy='74' r='1.6' fill='%23fff'/%3E%3Ccircle cx='67' cy='11' r='1.6' fill='%23fff'/%3E%3Ccircle cx='74' cy='4' r='1.6' fill='%23fff'/%3E%3Ccircle cx='74' cy='18' r='1.6' fill='%23fff'/%3E%3Ccircle cx='67' cy='32' r='1.6' fill='%23fff'/%3E%3Ccircle cx='67' cy='39' r='1.6' fill='%23fff'/%3E%3Ccircle cx='74' cy='39' r='1.6' fill='%23fff'/%3E%3Ccircle cx='67' cy='60' r='1.6' fill='%23fff'/%3E%3Ccircle cx='67' cy='67' r='1.6' fill='%23fff'/%3E%3Ccircle cx='67' cy='74' r='1.6' fill='%23fff'/%3E%3Ccircle cx='74' cy='60' r='1.6' fill='%23fff'/%3E%3Ccircle cx='74' cy='74' r='1.6' fill='%23fff'/%3E%3Ccircle cx='67' cy='95' r='1.6' fill='%23fff'/%3E%3Ccircle cx='67' cy='102' r='1.6' fill='%23fff'/%3E%3Ccircle cx='74' cy='95' r='1.6' fill='%23fff'/%3E%3Ccircle cx='95' cy='18' r='1.6' fill='%23fff'/%3E%3Ccircle cx='88' cy='32' r='1.6' fill='%23fff'/%3E%3Ccircle cx='88' cy='39' r='1.6' fill='%23fff'/%3E%3Ccircle cx='88' cy='46' r='1.6' fill='%23fff'/%3E%3Ccircle cx='95' cy='32' r='1.6' fill='%23fff'/%3E%3Ccircle cx='95' cy='46' r='1.6' fill='%23fff'/%3E%3Ccircle cx='88' cy='67' r='1.6' fill='%23fff'/%3E%3Ccircle cx='95' cy='60' r='1.6' fill='%23fff'/%3E%3Ccircle cx='95' cy='74' r='1.6' fill='%23fff'/%3E%3Ccircle cx='88' cy='88' r='1.6' fill='%23fff'/%3E%3Ccircle cx='88' cy='102' r='1.6' fill='%23fff'/%3E%3Ccircle cx='95' cy='88' r='1.6' fill='%23fff'/%3E%3Ccircle cx='95' cy='95' r='1.6' fill='%23fff'/%3E%3Ccircle cx='109' cy='18' r='1.6' fill='%23fff'/%3E%3Ccircle cx='116' cy='11' r='1.6' fill='%23fff'/%3E%3Ccircle cx='109' cy='46' r='1.6' fill='%23fff'/%3E%3Ccircle cx='116' cy='32' r='1.6' fill='%23fff'/%3E%3Ccircle cx='116' cy='39' r='1.6' fill='%23fff'/%3E%3Ccircle cx='109' cy='60' r='1.6' fill='%23fff'/%3E%3Ccircle cx='116' cy='67' r='1.6' fill='%23fff'/%3E%3Ccircle cx='116' cy='74' r='1.6' fill='%23fff'/%3E%3Ccircle cx='109' cy='88' r='1.6' fill='%23fff'/%3E%3Ccircle cx='109' cy='102' r='1.6' fill='%23fff'/%3E%3Ccircle cx='116' cy='102' r='1.6' fill='%23fff'/%3E%3C/svg%3E") 0 0/126px 112px; --sw-pat-o: 0.55; color-scheme: dark; }
:root[data-theme="shrine"] { --bg: #0c0e17; --card: rgba(12, 14, 23, 0.8); --ink: #f6f2f0; --ink2: #bcb9ba; --ink3: #868588; --line: rgba(255, 255, 255, 0.12); --fill: rgba(255, 255, 255, 0.08); --brand: #ef5a4c; --brand2: #c57b72; --accent: #ef5a4c !important; --sw-on: #fff; --sw-bar: rgba(12, 14, 23, 0.88); --sw-grad: linear-gradient(180deg, #10121e 0%, #2d1827 25%, #7c2d32 50%, #c57b72 75%, #e2d3ce 100%); --sw-pat: repeating-linear-gradient(0deg, rgba(0,0,0,.55) 0 1px, transparent 1px 3px), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Crect x='1' y='2' width='4' height='14' rx='2' fill='%23ff4d4d'/%3E%3Crect x='7' y='2' width='4' height='14' rx='2' fill='%234dff88'/%3E%3Crect x='13' y='2' width='4' height='14' rx='2' fill='%234d8cff'/%3E%3C/svg%3E") 0 0/18px 18px; --sw-pat-o: 0.5; color-scheme: dark; }
:root[data-theme="redhz"] { --bg: #080808; --card: rgba(8, 8, 8, 0.8); --ink: #edeef0; --ink2: #b4b5b6; --ink3: #7f8081; --line: rgba(255, 255, 255, 0.12); --fill: rgba(255, 255, 255, 0.08); --brand: #ff5a64; --brand2: #eeb0bd; --accent: #ff5a64 !important; --sw-on: #fff; --sw-bar: rgba(8, 8, 8, 0.88); --sw-grad: linear-gradient(180deg, #0b0b0b 0%, #7a2721 25%, #d7585f 50%, #eeb0bd 75%, #c2c7cd 100%); --sw-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Ccircle cx='0' cy='0' r='3' fill='%23fff'/%3E%3Ccircle cx='14' cy='0' r='3' fill='%23fff'/%3E%3Ccircle cx='0' cy='14' r='3' fill='%23fff'/%3E%3Ccircle cx='14' cy='14' r='3' fill='%23fff'/%3E%3Ccircle cx='7' cy='7' r='3' fill='%23fff'/%3E%3C/svg%3E") 0 0/14px 14px; --sw-pat-o: 0.45; color-scheme: dark; }
:root[data-theme="kelp"] { --bg: #060e0b; --card: rgba(6, 14, 11, 0.8); --ink: #f7f3e3; --ink2: #bbbaad; --ink3: #83857b; --line: rgba(255, 255, 255, 0.12); --fill: rgba(255, 255, 255, 0.08); --brand: #cfc47a; --brand2: #a5a46e; --accent: #cfc47a !important; --sw-on: #141414; --sw-bar: rgba(6, 14, 11, 0.88); --sw-grad: linear-gradient(180deg, #08130f 0%, #15342f 25%, #52664d 50%, #a5a46e 75%, #e3d7a3 100%); --sw-pat: repeating-linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,.9) 3px, rgba(255,255,255,.15) 7px, rgba(0,0,0,.7) 12px, rgba(255,255,255,0) 14px); --sw-pat-o: 0.55; color-scheme: dark; }
:root[data-theme="plum"] { --bg: #1f0b10; --card: rgba(31, 11, 16, 0.8); --ink: #f4f2f5; --ink2: #bfb8bc; --ink3: #8e8387; --line: rgba(255, 255, 255, 0.12); --fill: rgba(255, 255, 255, 0.08); --brand: #ef7b62; --brand2: #8cbbc3; --accent: #ef7b62 !important; --sw-on: #141414; --sw-bar: rgba(31, 11, 16, 0.88); --sw-grad: linear-gradient(180deg, #290e15 0%, #8f302a 25%, #bc866c 50%, #8cbbc3 75%, #d9d3dd 100%); --sw-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Crect x='0' y='0' width='9' height='9' fill='%23000' fill-opacity='0.32'/%3E%3Crect x='0' y='10' width='9' height='9' fill='%23000' fill-opacity='0.34'/%3E%3Crect x='0' y='20' width='9' height='9' fill='%23fff' fill-opacity='0.68'/%3E%3Crect x='0' y='30' width='9' height='9' fill='%23000' fill-opacity='0.26'/%3E%3Crect x='0' y='40' width='9' height='9' fill='%23fff' fill-opacity='0.75'/%3E%3Crect x='0' y='50' width='9' height='9' fill='%23fff' fill-opacity='0.68'/%3E%3Crect x='10' y='0' width='9' height='9' fill='%23fff' fill-opacity='0.58'/%3E%3Crect x='10' y='10' width='9' height='9' fill='%23fff' fill-opacity='0.63'/%3E%3Crect x='10' y='20' width='9' height='9' fill='%23fff' fill-opacity='0.52'/%3E%3Crect x='10' y='30' width='9' height='9' fill='%23000' fill-opacity='0.47'/%3E%3Crect x='10' y='40' width='9' height='9' fill='%23fff' fill-opacity='0.72'/%3E%3Crect x='10' y='50' width='9' height='9' fill='%23fff' fill-opacity='0.54'/%3E%3Crect x='20' y='0' width='9' height='9' fill='%23fff' fill-opacity='0.72'/%3E%3Crect x='20' y='10' width='9' height='9' fill='%23000' fill-opacity='0.36'/%3E%3Crect x='20' y='20' width='9' height='9' fill='%23fff' fill-opacity='0.61'/%3E%3Crect x='20' y='30' width='9' height='9' fill='%23000' fill-opacity='0.46'/%3E%3Crect x='20' y='40' width='9' height='9' fill='%23000' fill-opacity='0.44'/%3E%3Crect x='20' y='50' width='9' height='9' fill='%23000' fill-opacity='0.31'/%3E%3Crect x='30' y='0' width='9' height='9' fill='%23fff' fill-opacity='0.55'/%3E%3Crect x='30' y='10' width='9' height='9' fill='%23000' fill-opacity='0.34'/%3E%3Crect x='30' y='20' width='9' height='9' fill='%23fff' fill-opacity='0.74'/%3E%3Crect x='30' y='30' width='9' height='9' fill='%23fff' fill-opacity='0.69'/%3E%3Crect x='30' y='40' width='9' height='9' fill='%23000' fill-opacity='0.40'/%3E%3Crect x='30' y='50' width='9' height='9' fill='%23fff' fill-opacity='0.61'/%3E%3Crect x='40' y='0' width='9' height='9' fill='%23fff' fill-opacity='0.73'/%3E%3Crect x='40' y='10' width='9' height='9' fill='%23000' fill-opacity='0.27'/%3E%3Crect x='40' y='20' width='9' height='9' fill='%23000' fill-opacity='0.38'/%3E%3Crect x='40' y='30' width='9' height='9' fill='%23fff' fill-opacity='0.75'/%3E%3Crect x='40' y='40' width='9' height='9' fill='%23000' fill-opacity='0.20'/%3E%3Crect x='40' y='50' width='9' height='9' fill='%23000' fill-opacity='0.28'/%3E%3Crect x='50' y='0' width='9' height='9' fill='%23000' fill-opacity='0.44'/%3E%3Crect x='50' y='10' width='9' height='9' fill='%23000' fill-opacity='0.21'/%3E%3Crect x='50' y='20' width='9' height='9' fill='%23fff' fill-opacity='0.62'/%3E%3Crect x='50' y='30' width='9' height='9' fill='%23fff' fill-opacity='0.74'/%3E%3Crect x='50' y='40' width='9' height='9' fill='%23000' fill-opacity='0.30'/%3E%3Crect x='50' y='50' width='9' height='9' fill='%23000' fill-opacity='0.33'/%3E%3C/svg%3E") 0 0/60px 60px; --sw-pat-o: 0.28; color-scheme: dark; }
:root[data-theme="cedar"] { --bg: #171411; --card: rgba(23, 20, 17, 0.8); --ink: #f0eeea; --ink2: #bab8b4; --ink3: #888582; --line: rgba(255, 255, 255, 0.12); --fill: rgba(255, 255, 255, 0.08); --brand: #d4a878; --brand2: #a09486; --accent: #d4a878 !important; --sw-on: #141414; --sw-bar: rgba(23, 20, 17, 0.88); --sw-grad: linear-gradient(180deg, #1e1a17 0%, #3a312a 25%, #685c50 50%, #a09486 75%, #cec6b9 100%); --sw-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='48'%3E%3Cpath d='M0 6 C 40 1, 80 11, 120 6 S 200 1, 240 6' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3Cpath d='M0 18 C 40 13, 80 23, 120 18 S 200 13, 240 18' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3Cpath d='M0 30 C 40 25, 80 35, 120 30 S 200 25, 240 30' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3Cpath d='M0 42 C 40 37, 80 47, 120 42 S 200 37, 240 42' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") 0 0/240px 48px; --sw-pat-o: 0.45; color-scheme: dark; }
:root[data-theme="tottori"] { --bg: #142037; --card: rgba(20, 32, 55, 0.8); --ink: #e8e9e7; --ink2: #b3b7bb; --ink3: #828993; --line: rgba(255, 255, 255, 0.12); --fill: rgba(255, 255, 255, 0.08); --brand: #e8b679; --brand2: #b2b4af; --accent: #e8b679 !important; --sw-on: #141414; --sw-bar: rgba(20, 32, 55, 0.88); --sw-grad: linear-gradient(180deg, #1a2b49 0%, #486285 25%, #b2b4af 50%, #cda371 75%, #a8733f 100%); --sw-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.22' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1.6 0 0 0 -.55'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='0 0 1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23m)'/%3E%3C/svg%3E") 0 0/200px 200px; --sw-pat-o: 0.5; color-scheme: dark; }
:root[data-theme="kyoto"] { --bg: #081127; --card: rgba(8, 17, 39, 0.8); --ink: #f9e7d9; --ink2: #bdb2ad; --ink3: #858084; --line: rgba(255, 255, 255, 0.12); --fill: rgba(255, 255, 255, 0.08); --brand: #ff8c42; --brand2: #8294a8; --accent: #ff8c42 !important; --sw-on: #141414; --sw-bar: rgba(8, 17, 39, 0.88); --sw-grad: linear-gradient(180deg, #0b1634 0%, #1e3c6e 25%, #8294a8 50%, #ebae7f 75%, #e76c28 100%); --sw-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='96'%3E%3Ctext x='2' y='12' textLength='156' font-family='Menlo,monospace' font-size='12' fill='%23fff'%3E8195848779%3C/text%3E%3Ctext x='2' y='28' textLength='156' font-family='Menlo,monospace' font-size='12' fill='%23fff'%3E8171199002%3C/text%3E%3Ctext x='2' y='44' textLength='156' font-family='Menlo,monospace' font-size='12' fill='%23fff'%3E9892104513%3C/text%3E%3Ctext x='2' y='60' textLength='156' font-family='Menlo,monospace' font-size='12' fill='%23fff'%3E4200064875%3C/text%3E%3Ctext x='2' y='76' textLength='156' font-family='Menlo,monospace' font-size='12' fill='%23fff'%3E7369797681%3C/text%3E%3Ctext x='2' y='92' textLength='156' font-family='Menlo,monospace' font-size='12' fill='%23fff'%3E0764534100%3C/text%3E%3C/svg%3E") 0 0/160px 96px; --sw-pat-o: 0.45; color-scheme: dark; }
:root[data-theme="moss"] { --bg: #f1f2ec; --card: rgba(241, 242, 236, 0.84); --ink: #050806; --ink2: #404340; --ink3: #767874; --line: rgba(0, 0, 0, 0.08); --fill: rgba(0, 0, 0, 0.05); --brand: #3f6b3f; --brand2: #a7b79c; --accent: #3f6b3f !important; --sw-on: #fff; --sw-bar: rgba(241, 242, 236, 0.88); --sw-grad: linear-gradient(180deg, #dfe3d4 0%, #a7b79c 25%, #5e765e 50%, #223225 75%, #080d09 100%); --sw-pat: repeating-linear-gradient(135deg, rgba(255,255,255,.8) 0 1.4px, transparent 1.4px 9px), repeating-linear-gradient(45deg, rgba(0,0,0,.6) 0 1px, transparent 1px 9px); --sw-pat-o: 0.45; }
:root[data-theme="snow"] { --bg: #edeef0; --card: rgba(237, 238, 240, 0.84); --ink: #181b21; --ink2: #4d5055; --ink3: #7e8084; --line: rgba(0, 0, 0, 0.08); --fill: rgba(0, 0, 0, 0.05); --brand: #3f5d86; --brand2: #9ba2ac; --accent: #3f5d86 !important; --sw-on: #fff; --sw-bar: rgba(237, 238, 240, 0.88); --sw-grad: linear-gradient(180deg, #d6d9de 0%, #c6cdd5 25%, #9ba2ac 50%, #595f6b 75%, #252932 100%); --sw-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='144' height='90'%3E%3Ctext x='1' y='11' textLength='142' font-family='Menlo,monospace' font-size='12' fill='%23fff'%3E@@*%23%23*%23%%23*%23*%3C/text%3E%3Ctext x='1' y='26' textLength='142' font-family='Menlo,monospace' font-size='12' fill='%23fff'%3E%%**%%23@%23*%%23%%3C/text%3E%3Ctext x='1' y='41' textLength='142' font-family='Menlo,monospace' font-size='12' fill='%23fff'%3E%23+*+*%@%***+%3C/text%3E%3Ctext x='1' y='56' textLength='142' font-family='Menlo,monospace' font-size='12' fill='%23fff'%3E++%23*+%%23%23+@**%3C/text%3E%3Ctext x='1' y='71' textLength='142' font-family='Menlo,monospace' font-size='12' fill='%23fff'%3E+*%23+%%23%%%23@%+%3C/text%3E%3Ctext x='1' y='86' textLength='142' font-family='Menlo,monospace' font-size='12' fill='%23fff'%3E%%@%23@*@++*@@%3C/text%3E%3C/svg%3E") 0 0/144px 90px; --sw-pat-o: 0.5; }
:root[data-theme="indigo"] { --bg: #1a1e3b; --card: rgba(26, 30, 59, 0.8); --ink: #fcefe2; --ink2: #c4bbb8; --ink3: #908b92; --line: rgba(255, 255, 255, 0.12); --fill: rgba(255, 255, 255, 0.08); --brand: #f4a98e; --brand2: #a58bd0; --accent: #f4a98e !important; --sw-on: #141414; --sw-bar: rgba(26, 30, 59, 0.88); --sw-grad: linear-gradient(180deg, #23284e 0%, #403c6e 25%, #826897 50%, #dca29e 75%, #f4c99e 100%); --sw-pat: repeating-linear-gradient(45deg, rgba(255,255,255,.9) 0 3.5px, transparent 3.5px 11px); --sw-pat-o: 0.4; color-scheme: dark; }
/* 미리보기 */
.mock.aurora { --mk-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13'%3E%3Ccircle cx='6.5' cy='6.5' r='3.1' fill='%23fff'/%3E%3C/svg%3E") 0 0/13px 13px; --mk-grad: linear-gradient(180deg, #060807 0%, #0f271a 25%, #487f48 50%, #9ac79e 75%, #89aedb 100%); --mk-card: rgba(5, 6, 5, 0.82); } .mock.aurora i:first-child { background: linear-gradient(135deg, #6fd36f, #89aedb); }
.mock.moonhaze { --mk-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E") 0 0/180px 180px; --mk-grad: linear-gradient(180deg, #3a404e 0%, #a19e99 25%, #e1d8c7 50%, #747883 75%, #222836 100%); --mk-card: rgba(26, 30, 41, 0.82); } .mock.moonhaze i:first-child { background: linear-gradient(135deg, #d9c49a, #a19e99); }
.mock.autumn { --mk-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13'%3E%3Cpath d='M6.5 3 10 6.5 6.5 10 3 6.5z' fill='%23fff'/%3E%3C/svg%3E") 0 0/13px 13px; --mk-grad: linear-gradient(180deg, #24150e 0%, #5d2e1c 25%, #a45630 50%, #d38d5c 75%, #eac18d 100%); --mk-card: rgba(27, 16, 11, 0.82); } .mock.autumn i:first-child { background: linear-gradient(135deg, #e8925a, #eac18d); }
.mock.yuzu { --mk-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Cpath d='M4.5 1.5 8 7.5H1z M10 1.5h7l-3.5 6z M1 10.5h7l-3.5 6z M13.5 10.5 17 16.5h-7z' fill='%23fff'/%3E%3C/svg%3E") 0 0/18px 18px; --mk-grad: linear-gradient(180deg, #f3efd2 0%, #e8dea1 25%, #cec76f 50%, #99a455 75%, #5c6e3c 100%); --mk-card: rgba(250, 248, 235, 0.82); } .mock.yuzu i:first-child { background: linear-gradient(135deg, #6f8a1f, #cec76f); }
.mock.fuji { --mk-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 210' preserveAspectRatio='none'%3E%3Cpath d='M0 6 C 20 3, 35 9, 55 4.5 S 85 9, 100 3' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 19 C 20 14.5, 35 23.5, 55 16.75 S 85 23.5, 100 14.5' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 32 C 20 26, 35 38, 55 29 S 85 38, 100 26' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 45 C 20 37.5, 35 52.5, 55 41.25 S 85 52.5, 100 37.5' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 58 C 20 55, 35 61, 55 56.5 S 85 61, 100 55' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 71 C 20 66.5, 35 75.5, 55 68.75 S 85 75.5, 100 66.5' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 84 C 20 78, 35 90, 55 81 S 85 90, 100 78' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 97 C 20 89.5, 35 104.5, 55 93.25 S 85 104.5, 100 89.5' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 110 C 20 107, 35 113, 55 108.5 S 85 113, 100 107' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 123 C 20 118.5, 35 127.5, 55 120.75 S 85 127.5, 100 118.5' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 136 C 20 130, 35 142, 55 133 S 85 142, 100 130' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 149 C 20 141.5, 35 156.5, 55 145.25 S 85 156.5, 100 141.5' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 162 C 20 159, 35 165, 55 160.5 S 85 165, 100 159' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 175 C 20 170.5, 35 179.5, 55 172.75 S 85 179.5, 100 170.5' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 188 C 20 182, 35 194, 55 185 S 85 194, 100 182' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 201 C 20 193.5, 35 208.5, 55 197.25 S 85 208.5, 100 193.5' fill='none' stroke='%23fff' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 0/100% 100%; --mk-grad: linear-gradient(180deg, #f4eae1 0%, #ecc8b8 25%, #c0b6be 50%, #7a89a8 75%, #3e4f7a 100%); --mk-card: rgba(250, 246, 242, 0.82); } .mock.fuji i:first-child { background: linear-gradient(135deg, #d0694f, #3e4f7a); }
.mock.lowtide { --mk-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='14'%3E%3Cpath d='M0 7 Q 14 2 28 7 T 56 7' fill='none' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E") 0 0/56px 14px; --mk-grad: linear-gradient(180deg, #c9d5c7 0%, #87b1ad 25%, #3d767d 50%, #173d4a 75%, #091a24 100%); --mk-card: rgba(231, 236, 230, 0.82); } .mock.lowtide i:first-child { background: linear-gradient(135deg, #237680, #87b1ad); }
.mock.sage { --mk-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='22.5'%3E%3Ccircle cx='6.5' cy='5.6' r='3.9' fill='%23fff'/%3E%3Ccircle cx='0' cy='16.9' r='3.9' fill='%23fff'/%3E%3Ccircle cx='13' cy='16.9' r='3.9' fill='%23fff'/%3E%3C/svg%3E") 0 0/13px 22.5px; --mk-grad: linear-gradient(180deg, #0e1a32 0%, #2b4872 25%, #7ca0c4 50%, #9dbb87 75%, #6f9558 100%); --mk-card: rgba(11, 20, 38, 0.82); } .mock.sage i:first-child { background: linear-gradient(135deg, #a8cf8c, #7ca0c4); }
.mock.harbor { --mk-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13'%3E%3Ccircle cx='6.5' cy='6.5' r='3.6' fill='none' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E") 0 0/13px 13px; --mk-grad: linear-gradient(180deg, #0f1a30 0%, #253952 25%, #61687b 50%, #b18886 75%, #d9ab9e 100%); --mk-card: rgba(11, 20, 36, 0.82); } .mock.harbor i:first-child { background: linear-gradient(135deg, #eaa898, #b18886); }
.mock.persimmon { --mk-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Crect x='0' y='0' width='5' height='5' fill='%23fff'/%3E%3Crect x='20' y='0' width='5' height='5' fill='%23fff'/%3E%3Crect x='10' y='10' width='5' height='5' fill='%23fff'/%3E%3Crect x='30' y='10' width='5' height='5' fill='%23fff'/%3E%3Crect x='0' y='20' width='5' height='5' fill='%23fff'/%3E%3Crect x='20' y='20' width='5' height='5' fill='%23fff'/%3E%3Crect x='30' y='30' width='5' height='5' fill='%23fff'/%3E%3C/svg%3E") 0 0/40px 40px; --mk-grad: linear-gradient(180deg, #c3ccd3 0%, #d3bfb8 25%, #e0a690 50%, #e28157 75%, #d55530 100%); --mk-card: rgba(228, 232, 235, 0.82); } .mock.persimmon i:first-child { background: linear-gradient(135deg, #d0471f, #e28157); }
.mock.lantern { --mk-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='126' height='112'%3E%3Ccircle cx='11' cy='18' r='1.6' fill='%23fff'/%3E%3Ccircle cx='4' cy='32' r='1.6' fill='%23fff'/%3E%3Ccircle cx='11' cy='32' r='1.6' fill='%23fff'/%3E%3Ccircle cx='11' cy='39' r='1.6' fill='%23fff'/%3E%3Ccircle cx='11' cy='46' r='1.6' fill='%23fff'/%3E%3Ccircle cx='4' cy='74' r='1.6' fill='%23fff'/%3E%3Ccircle cx='11' cy='74' r='1.6' fill='%23fff'/%3E%3Ccircle cx='4' cy='95' r='1.6' fill='%23fff'/%3E%3Ccircle cx='4' cy='102' r='1.6' fill='%23fff'/%3E%3Ccircle cx='11' cy='88' r='1.6' fill='%23fff'/%3E%3Ccircle cx='32' cy='4' r='1.6' fill='%23fff'/%3E%3Ccircle cx='32' cy='18' r='1.6' fill='%23fff'/%3E%3Ccircle cx='25' cy='32' r='1.6' fill='%23fff'/%3E%3Ccircle cx='32' cy='39' r='1.6' fill='%23fff'/%3E%3Ccircle cx='32' cy='46' r='1.6' fill='%23fff'/%3E%3Ccircle cx='25' cy='60' r='1.6' fill='%23fff'/%3E%3Ccircle cx='25' cy='67' r='1.6' fill='%23fff'/%3E%3Ccircle cx='25' cy='95' r='1.6' fill='%23fff'/%3E%3Ccircle cx='32' cy='88' r='1.6' fill='%23fff'/%3E%3Ccircle cx='32' cy='95' r='1.6' fill='%23fff'/%3E%3Ccircle cx='46' cy='4' r='1.6' fill='%23fff'/%3E%3Ccircle cx='46' cy='18' r='1.6' fill='%23fff'/%3E%3Ccircle cx='53' cy='4' r='1.6' fill='%23fff'/%3E%3Ccircle cx='53' cy='18' r='1.6' fill='%23fff'/%3E%3Ccircle cx='46' cy='32' r='1.6' fill='%23fff'/%3E%3Ccircle cx='46' cy='67' r='1.6' fill='%23fff'/%3E%3Ccircle cx='46' cy='88' r='1.6' fill='%23fff'/%3E%3Ccircle cx='46' cy='95' r='1.6' fill='%23fff'/%3E%3Ccircle cx='46' cy='102' r='1.6' fill='%23fff'/%3E%3Ccircle cx='53' cy='88' r='1.6' fill='%23fff'/%3E%3Ccircle cx='53' cy='95' r='1.6' fill='%23fff'/%3E%3Ccircle cx='53' cy='102' r='1.6' fill='%23fff'/%3E%3Ccircle cx='67' cy='18' r='1.6' fill='%23fff'/%3E%3Ccircle cx='74' cy='4' r='1.6' fill='%23fff'/%3E%3Ccircle cx='74' cy='11' r='1.6' fill='%23fff'/%3E%3Ccircle cx='67' cy='32' r='1.6' fill='%23fff'/%3E%3Ccircle cx='67' cy='39' r='1.6' fill='%23fff'/%3E%3Ccircle cx='74' cy='32' r='1.6' fill='%23fff'/%3E%3Ccircle cx='67' cy='60' r='1.6' fill='%23fff'/%3E%3Ccircle cx='67' cy='67' r='1.6' fill='%23fff'/%3E%3Ccircle cx='67' cy='74' r='1.6' fill='%23fff'/%3E%3Ccircle cx='74' cy='60' r='1.6' fill='%23fff'/%3E%3Ccircle cx='67' cy='88' r='1.6' fill='%23fff'/%3E%3Ccircle cx='74' cy='88' r='1.6' fill='%23fff'/%3E%3Ccircle cx='74' cy='95' r='1.6' fill='%23fff'/%3E%3Ccircle cx='88' cy='4' r='1.6' fill='%23fff'/%3E%3Ccircle cx='88' cy='11' r='1.6' fill='%23fff'/%3E%3Ccircle cx='88' cy='18' r='1.6' fill='%23fff'/%3E%3Ccircle cx='95' cy='18' r='1.6' fill='%23fff'/%3E%3Ccircle cx='88' cy='39' r='1.6' fill='%23fff'/%3E%3Ccircle cx='88' cy='46' r='1.6' fill='%23fff'/%3E%3Ccircle cx='95' cy='32' r='1.6' fill='%23fff'/%3E%3Ccircle cx='95' cy='39' r='1.6' fill='%23fff'/%3E%3Ccircle cx='95' cy='46' r='1.6' fill='%23fff'/%3E%3Ccircle cx='88' cy='60' r='1.6' fill='%23fff'/%3E%3Ccircle cx='88' cy='67' r='1.6' fill='%23fff'/%3E%3Ccircle cx='88' cy='74' r='1.6' fill='%23fff'/%3E%3Ccircle cx='88' cy='88' r='1.6' fill='%23fff'/%3E%3Ccircle cx='109' cy='4' r='1.6' fill='%23fff'/%3E%3Ccircle cx='109' cy='11' r='1.6' fill='%23fff'/%3E%3Ccircle cx='109' cy='18' r='1.6' fill='%23fff'/%3E%3Ccircle cx='116' cy='4' r='1.6' fill='%23fff'/%3E%3Ccircle cx='109' cy='60' r='1.6' fill='%23fff'/%3E%3Ccircle cx='109' cy='67' r='1.6' fill='%23fff'/%3E%3Ccircle cx='116' cy='67' r='1.6' fill='%23fff'/%3E%3Ccircle cx='116' cy='74' r='1.6' fill='%23fff'/%3E%3Ccircle cx='109' cy='88' r='1.6' fill='%23fff'/%3E%3C/svg%3E") 0 0/126px 112px; --mk-grad: linear-gradient(180deg, #28334f 0%, #656379 25%, #c1ac99 50%, #bea6a4 75%, #8f939e 100%); --mk-card: rgba(30, 38, 59, 0.82); } .mock.lantern i:first-child { background: linear-gradient(135deg, #f0b66a, #c1ac99); }
.mock.shrine { --mk-pat: repeating-linear-gradient(0deg, rgba(0,0,0,.55) 0 1px, transparent 1px 3px), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Crect x='1' y='2' width='4' height='14' rx='2' fill='%23ff4d4d'/%3E%3Crect x='7' y='2' width='4' height='14' rx='2' fill='%234dff88'/%3E%3Crect x='13' y='2' width='4' height='14' rx='2' fill='%234d8cff'/%3E%3C/svg%3E") 0 0/18px 18px; --mk-grad: linear-gradient(180deg, #10121e 0%, #2d1827 25%, #7c2d32 50%, #c57b72 75%, #e2d3ce 100%); --mk-card: rgba(12, 14, 23, 0.82); } .mock.shrine i:first-child { background: linear-gradient(135deg, #ef5a4c, #c57b72); }
.mock.redhz { --mk-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Ccircle cx='0' cy='0' r='3' fill='%23fff'/%3E%3Ccircle cx='14' cy='0' r='3' fill='%23fff'/%3E%3Ccircle cx='0' cy='14' r='3' fill='%23fff'/%3E%3Ccircle cx='14' cy='14' r='3' fill='%23fff'/%3E%3Ccircle cx='7' cy='7' r='3' fill='%23fff'/%3E%3C/svg%3E") 0 0/14px 14px; --mk-grad: linear-gradient(180deg, #0b0b0b 0%, #7a2721 25%, #d7585f 50%, #eeb0bd 75%, #c2c7cd 100%); --mk-card: rgba(8, 8, 8, 0.82); } .mock.redhz i:first-child { background: linear-gradient(135deg, #ff5a64, #eeb0bd); }
.mock.kelp { --mk-pat: repeating-linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,.9) 3px, rgba(255,255,255,.15) 7px, rgba(0,0,0,.7) 12px, rgba(255,255,255,0) 14px); --mk-grad: linear-gradient(180deg, #08130f 0%, #15342f 25%, #52664d 50%, #a5a46e 75%, #e3d7a3 100%); --mk-card: rgba(6, 14, 11, 0.82); } .mock.kelp i:first-child { background: linear-gradient(135deg, #cfc47a, #a5a46e); }
.mock.plum { --mk-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Crect x='0' y='0' width='9' height='9' fill='%23fff' fill-opacity='0.77'/%3E%3Crect x='0' y='10' width='9' height='9' fill='%23fff' fill-opacity='0.62'/%3E%3Crect x='0' y='20' width='9' height='9' fill='%23000' fill-opacity='0.31'/%3E%3Crect x='0' y='30' width='9' height='9' fill='%23000' fill-opacity='0.27'/%3E%3Crect x='0' y='40' width='9' height='9' fill='%23fff' fill-opacity='0.58'/%3E%3Crect x='0' y='50' width='9' height='9' fill='%23000' fill-opacity='0.21'/%3E%3Crect x='10' y='0' width='9' height='9' fill='%23fff' fill-opacity='0.69'/%3E%3Crect x='10' y='10' width='9' height='9' fill='%23fff' fill-opacity='0.55'/%3E%3Crect x='10' y='20' width='9' height='9' fill='%23fff' fill-opacity='0.65'/%3E%3Crect x='10' y='30' width='9' height='9' fill='%23000' fill-opacity='0.28'/%3E%3Crect x='10' y='40' width='9' height='9' fill='%23000' fill-opacity='0.40'/%3E%3Crect x='10' y='50' width='9' height='9' fill='%23fff' fill-opacity='0.63'/%3E%3Crect x='20' y='0' width='9' height='9' fill='%23fff' fill-opacity='0.77'/%3E%3Crect x='20' y='10' width='9' height='9' fill='%23fff' fill-opacity='0.53'/%3E%3Crect x='20' y='20' width='9' height='9' fill='%23fff' fill-opacity='0.55'/%3E%3Crect x='20' y='30' width='9' height='9' fill='%23fff' fill-opacity='0.67'/%3E%3Crect x='20' y='40' width='9' height='9' fill='%23fff' fill-opacity='0.62'/%3E%3Crect x='20' y='50' width='9' height='9' fill='%23fff' fill-opacity='0.64'/%3E%3Crect x='30' y='0' width='9' height='9' fill='%23fff' fill-opacity='0.56'/%3E%3Crect x='30' y='10' width='9' height='9' fill='%23000' fill-opacity='0.26'/%3E%3Crect x='30' y='20' width='9' height='9' fill='%23000' fill-opacity='0.23'/%3E%3Crect x='30' y='30' width='9' height='9' fill='%23fff' fill-opacity='0.57'/%3E%3Crect x='30' y='40' width='9' height='9' fill='%23000' fill-opacity='0.33'/%3E%3Crect x='30' y='50' width='9' height='9' fill='%23fff' fill-opacity='0.55'/%3E%3Crect x='40' y='0' width='9' height='9' fill='%23000' fill-opacity='0.35'/%3E%3Crect x='40' y='10' width='9' height='9' fill='%23000' fill-opacity='0.33'/%3E%3Crect x='40' y='20' width='9' height='9' fill='%23fff' fill-opacity='0.57'/%3E%3Crect x='40' y='30' width='9' height='9' fill='%23fff' fill-opacity='0.58'/%3E%3Crect x='40' y='40' width='9' height='9' fill='%23fff' fill-opacity='0.69'/%3E%3Crect x='40' y='50' width='9' height='9' fill='%23000' fill-opacity='0.34'/%3E%3Crect x='50' y='0' width='9' height='9' fill='%23fff' fill-opacity='0.74'/%3E%3Crect x='50' y='10' width='9' height='9' fill='%23000' fill-opacity='0.23'/%3E%3Crect x='50' y='20' width='9' height='9' fill='%23fff' fill-opacity='0.61'/%3E%3Crect x='50' y='30' width='9' height='9' fill='%23000' fill-opacity='0.44'/%3E%3Crect x='50' y='40' width='9' height='9' fill='%23fff' fill-opacity='0.68'/%3E%3Crect x='50' y='50' width='9' height='9' fill='%23fff' fill-opacity='0.60'/%3E%3C/svg%3E") 0 0/60px 60px; --mk-grad: linear-gradient(180deg, #290e15 0%, #8f302a 25%, #bc866c 50%, #8cbbc3 75%, #d9d3dd 100%); --mk-card: rgba(31, 11, 16, 0.82); } .mock.plum i:first-child { background: linear-gradient(135deg, #ef7b62, #8cbbc3); }
.mock.cedar { --mk-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='48'%3E%3Cpath d='M0 6 C 40 1, 80 11, 120 6 S 200 1, 240 6' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3Cpath d='M0 18 C 40 13, 80 23, 120 18 S 200 13, 240 18' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3Cpath d='M0 30 C 40 25, 80 35, 120 30 S 200 25, 240 30' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3Cpath d='M0 42 C 40 37, 80 47, 120 42 S 200 37, 240 42' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") 0 0/240px 48px; --mk-grad: linear-gradient(180deg, #1e1a17 0%, #3a312a 25%, #685c50 50%, #a09486 75%, #cec6b9 100%); --mk-card: rgba(23, 20, 17, 0.82); } .mock.cedar i:first-child { background: linear-gradient(135deg, #d4a878, #a09486); }
.mock.tottori { --mk-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.22' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1.6 0 0 0 -.55'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='0 0 1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23m)'/%3E%3C/svg%3E") 0 0/200px 200px; --mk-grad: linear-gradient(180deg, #1a2b49 0%, #486285 25%, #b2b4af 50%, #cda371 75%, #a8733f 100%); --mk-card: rgba(20, 32, 55, 0.82); } .mock.tottori i:first-child { background: linear-gradient(135deg, #e8b679, #b2b4af); }
.mock.kyoto { --mk-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='96'%3E%3Ctext x='2' y='12' textLength='156' font-family='Menlo,monospace' font-size='12' fill='%23fff'%3E3326100880%3C/text%3E%3Ctext x='2' y='28' textLength='156' font-family='Menlo,monospace' font-size='12' fill='%23fff'%3E7349709264%3C/text%3E%3Ctext x='2' y='44' textLength='156' font-family='Menlo,monospace' font-size='12' fill='%23fff'%3E0177288342%3C/text%3E%3Ctext x='2' y='60' textLength='156' font-family='Menlo,monospace' font-size='12' fill='%23fff'%3E2886488879%3C/text%3E%3Ctext x='2' y='76' textLength='156' font-family='Menlo,monospace' font-size='12' fill='%23fff'%3E6273818684%3C/text%3E%3Ctext x='2' y='92' textLength='156' font-family='Menlo,monospace' font-size='12' fill='%23fff'%3E7802105868%3C/text%3E%3C/svg%3E") 0 0/160px 96px; --mk-grad: linear-gradient(180deg, #0b1634 0%, #1e3c6e 25%, #8294a8 50%, #ebae7f 75%, #e76c28 100%); --mk-card: rgba(8, 17, 39, 0.82); } .mock.kyoto i:first-child { background: linear-gradient(135deg, #ff8c42, #8294a8); }
.mock.moss { --mk-pat: repeating-linear-gradient(135deg, rgba(255,255,255,.8) 0 1.4px, transparent 1.4px 9px), repeating-linear-gradient(45deg, rgba(0,0,0,.6) 0 1px, transparent 1px 9px); --mk-grad: linear-gradient(180deg, #dfe3d4 0%, #a7b79c 25%, #5e765e 50%, #223225 75%, #080d09 100%); --mk-card: rgba(241, 242, 236, 0.82); } .mock.moss i:first-child { background: linear-gradient(135deg, #3f6b3f, #a7b79c); }
.mock.snow { --mk-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='144' height='90'%3E%3Ctext x='1' y='11' textLength='142' font-family='Menlo,monospace' font-size='12' fill='%23fff'%3E%%23*%23%+@%%23@*+%3C/text%3E%3Ctext x='1' y='26' textLength='142' font-family='Menlo,monospace' font-size='12' fill='%23fff'%3E%%23%%%+%@@%%23*%3C/text%3E%3Ctext x='1' y='41' textLength='142' font-family='Menlo,monospace' font-size='12' fill='%23fff'%3E%%23%23+@%@*%@%23%%3C/text%3E%3Ctext x='1' y='56' textLength='142' font-family='Menlo,monospace' font-size='12' fill='%23fff'%3E+*%23%23+%23%@+*%%23%3C/text%3E%3Ctext x='1' y='71' textLength='142' font-family='Menlo,monospace' font-size='12' fill='%23fff'%3E**+*%23%%23%23%23%@@%3C/text%3E%3Ctext x='1' y='86' textLength='142' font-family='Menlo,monospace' font-size='12' fill='%23fff'%3E%23@@%%23%+*+@+*%3C/text%3E%3C/svg%3E") 0 0/144px 90px; --mk-grad: linear-gradient(180deg, #d6d9de 0%, #c6cdd5 25%, #9ba2ac 50%, #595f6b 75%, #252932 100%); --mk-card: rgba(237, 238, 240, 0.82); } .mock.snow i:first-child { background: linear-gradient(135deg, #3f5d86, #9ba2ac); }
.mock.indigo { --mk-pat: repeating-linear-gradient(45deg, rgba(255,255,255,.9) 0 3.5px, transparent 3.5px 11px); --mk-grad: linear-gradient(180deg, #23284e 0%, #403c6e 25%, #826897 50%, #dca29e 75%, #f4c99e 100%); --mk-card: rgba(26, 30, 59, 0.82); } .mock.indigo i:first-child { background: linear-gradient(135deg, #f4a98e, #a58bd0); }
/* 빅테크 테마 8가지 (사용자 지시 2026-12-03: dev/resources/design-themes-bigtech, 이름은 회사 이름). 로고 없이 색·모서리·글꼴 느낌만 */
/* Apple: 알루미늄 회색 바탕, 흰 카드, 파랑 하나, 알약 버튼, 그림자 거의 없음 */
:root[data-theme="apple"] { --bg: #f5f5f7; --card: #ffffff; --ink: #1d1d1f; --ink2: #424245; --ink3: #86868b; --line: #e8e8ed; --fill: #f5f5f7; --brand: #0066cc; --brand2: #0071e3; --ok: #34c759; --warn: #ff9f0a; --bad: #ff3b30; --shadow: none; --r: 18px; --accent: #0066cc !important; }
:root[data-theme="apple"] .top h1 { font-size: 30px; font-weight: 700; letter-spacing: -.035em; }
:root[data-theme="apple"] .card h2 { font-weight: 600; letter-spacing: -.02em; }
:root[data-theme="apple"] .btn { border-radius: 9999px; font-weight: 500; }
:root[data-theme="apple"] .tabs { background: rgba(245, 245, 247, .82); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-top: 1px solid #d2d2d7; }
/* Spotify: 숯검정 세 단계, 초록은 버튼에만, 둥근 알약 */
:root[data-theme="spotify"] { --bg: #121212; --card: #181818; --ink: #ffffff; --ink2: #b3b3b3; --ink3: #7a7a7a; --line: #282828; --fill: #1f1f1f; --brand: #1ed760; --brand2: #1db954; --ok: #1ed760; --warn: #ffa42b; --bad: #f15e6c; --shadow: 0 8px 24px rgba(0, 0, 0, .5); --r: 10px; --accent: #1ed760 !important; color-scheme: dark; }
:root[data-theme="spotify"] body { background: linear-gradient(180deg, #1f3a2a 0, #121212 340px) #121212; }
:root[data-theme="spotify"] .top h1 { font-weight: 900; letter-spacing: -.04em; }
:root[data-theme="spotify"] .card h2 { font-weight: 800; letter-spacing: -.02em; }
:root[data-theme="spotify"] .btn { border-radius: 9999px; }
:root[data-theme="spotify"] .btn:not(.soft):not(.ghost) { background: #1ed760; color: #000; }
:root[data-theme="spotify"] .tabs { background: #000; border-top: 0; }
/* Claude: 따뜻한 미색 종이, 세리프 제목, 테라코타 주황 */
:root[data-theme="claude"] { --bg: #faf9f5; --card: #f2efe6; --ink: #141413; --ink2: #3d3d3a; --ink3: #87867f; --line: #e3dfd3; --fill: #ebe7dc; --brand: #cc785c; --brand2: #d97757; --ok: #5a8a5e; --warn: #c48a2c; --bad: #bf4d43; --shadow: none; --r: 12px; --accent: #cc785c !important; }
:root[data-theme="claude"] .card { border: 1px solid #e6e1d4; }
:root[data-theme="claude"] .top h1 { font-weight: 500; letter-spacing: -.02em; font-size: 28px; }
:root[data-theme="claude"] .card h2 { font-weight: 600; }
:root[data-theme="claude"] .btn { border-radius: 10px; }
:root[data-theme="claude"] .tabs { background: rgba(250, 249, 245, .94); border-top: 1px solid #e3dfd3; }
/* Stripe: 위쪽 비스듬한 보라·분홍 빛 띠, 남색 글씨, 가는 제목, 알약 버튼, 푸른 그림자 */
:root[data-theme="stripe"] { --bg: #f6f9fc; --card: #ffffff; --ink: #0d253d; --ink2: #425466; --ink3: #8898aa; --line: #e3e8ee; --fill: #f0f4f8; --brand: #533afd; --brand2: #ff5996; --ok: #09825d; --warn: #c84801; --bad: #df1b41; --shadow: 0 2px 5px rgba(50, 50, 93, .06), 0 12px 32px rgba(50, 50, 93, .1); --r: 12px; --accent: #533afd !important; }
:root[data-theme="stripe"] body { background: linear-gradient(170deg, #533afd 0, #a960ee 90px, #ff5996 170px, #ffcb57 230px, transparent 231px) no-repeat, #f6f9fc; background-size: 100% 260px; }
:root[data-theme="stripe"] .top h1, :root[data-theme="stripe"] .top .sub { color: #fff; }
:root[data-theme="stripe"] .top h1 { font-weight: 300; letter-spacing: -.03em; font-size: 30px; }
:root[data-theme="stripe"] .card h2 { font-weight: 500; }
:root[data-theme="stripe"] body { font-variant-numeric: tabular-nums; }
:root[data-theme="stripe"] .btn { border-radius: 9999px; }
:root[data-theme="stripe"] .tabs { background: rgba(255, 255, 255, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid #e3e8ee; }
/* Ferrari: 무광 검정, 로소 코르사 빨강, 모서리 0, 대문자 넓은 자간 */
:root[data-theme="ferrari"] { --bg: #181818; --card: #202020; --ink: #ffffff; --ink2: #c9c9c9; --ink3: #8a8a8a; --line: #303030; --fill: #2a2a2a; --brand: #da291c; --brand2: #fff200; --ok: #4caf50; --warn: #fff200; --bad: #da291c; --shadow: none; --r: 0px; --accent: #da291c !important; color-scheme: dark; }
:root[data-theme="ferrari"] *, :root[data-theme="ferrari"] *::before, :root[data-theme="ferrari"] *::after { border-radius: 0 !important; }
:root[data-theme="ferrari"] .card { border: 1px solid #303030; }
:root[data-theme="ferrari"] .card h2 { text-transform: uppercase; letter-spacing: .14em; font-size: 14px; font-weight: 600; color: #fff; }
:root[data-theme="ferrari"] .card h2::before { content: ""; width: 4px; height: 16px; background: #da291c; flex: none; }
:root[data-theme="ferrari"] .top h1 { text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
:root[data-theme="ferrari"] .btn { letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
:root[data-theme="ferrari"] .tabs { background: #101010; border-top: 2px solid #da291c; }
/* Airbnb: 흰 바탕, 산호 빨강 하나, 알약, 굵기 500~600 */
:root[data-theme="airbnb"] { --bg: #ffffff; --card: #ffffff; --ink: #222222; --ink2: #484848; --ink3: #8a8a8a; --line: #ebebeb; --fill: #f7f7f7; --brand: #ff385c; --brand2: #e00b41; --ok: #008a05; --warn: #c13515; --bad: #c13515; --shadow: 0 6px 16px rgba(0, 0, 0, .12); --r: 16px; --accent: #ff385c !important; }
:root[data-theme="airbnb"] .card { border: 1px solid #ebebeb; box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
:root[data-theme="airbnb"] .top h1 { font-weight: 600; letter-spacing: -.02em; }
:root[data-theme="airbnb"] .card h2 { font-weight: 600; }
:root[data-theme="airbnb"] .btn { border-radius: 9999px; font-weight: 600; }
:root[data-theme="airbnb"] .btn:not(.soft):not(.ghost) { background: linear-gradient(90deg, #e61e4d, #e31c5f 50%, #d70466); }
:root[data-theme="airbnb"] .tabs { background: #fff; border-top: 1px solid #ebebeb; }
/* NVIDIA: 순검정, 2px 모서리, 카드 왼쪽 위 초록 네모, 대문자 제목, 옅은 격자 */
:root[data-theme="nvidia"] { --bg: #000000; --card: #1a1a1a; --ink: #ffffff; --ink2: #cfcfcf; --ink3: #8c8c8c; --line: #2b2b2b; --fill: #242424; --brand: #76b900; --brand2: #8fd400; --ok: #76b900; --warn: #ffb300; --bad: #ff4d4d; --shadow: none; --r: 2px; --accent: #76b900 !important; color-scheme: dark; }
:root[data-theme="nvidia"] body { background: linear-gradient(rgba(118, 185, 0, .06) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(118, 185, 0, .06) 1px, transparent 1px) 0 0 / 28px 28px, #000; }
:root[data-theme="nvidia"] *, :root[data-theme="nvidia"] *::before { border-radius: 2px !important; }
:root[data-theme="nvidia"] .card { border: 1px solid #2b2b2b; position: relative; }
:root[data-theme="nvidia"] .card::before { content: ""; position: absolute; left: -1px; top: -1px; width: 10px; height: 10px; background: #76b900; }
:root[data-theme="nvidia"] .card h2 { text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
:root[data-theme="nvidia"] .top h1 { text-transform: uppercase; letter-spacing: .04em; font-weight: 900; }
:root[data-theme="nvidia"] .btn:not(.soft):not(.ghost) { color: #000; text-transform: uppercase; letter-spacing: .08em; }
:root[data-theme="nvidia"] .tabs { background: #000; border-top: 1px solid #76b900; }
/* Starbucks: 짙은 숲 초록 바탕, 크림 카드, 금박 포인트, 50px 알약 */
:root[data-theme="starbucks"] { --bg: #1e3932; --card: #f2f0eb; --ink: #1e3932; --ink2: #3d544c; --ink3: #7d8c86; --line: #e1ddd3; --fill: #e9e5db; --brand: #006241; --brand2: #cba258; --ok: #00754a; --warn: #cba258; --bad: #c82014; --shadow: 0 6px 18px rgba(0, 0, 0, .25); --r: 14px; --accent: #006241 !important; }
:root[data-theme="starbucks"] body { background: radial-gradient(circle at 50% -40%, #00704a, transparent 70%) #1e3932; }
:root[data-theme="starbucks"] .top h1 { color: #f2f0eb; }
:root[data-theme="starbucks"] .top .sub { color: #cba258; letter-spacing: .08em; }
:root[data-theme="starbucks"] .card { border-top: 3px solid #cba258; }
:root[data-theme="starbucks"] .card h2 { color: #006241; }
:root[data-theme="starbucks"] .btn { border-radius: 50px; }
:root[data-theme="starbucks"] .tabs { background: #1e3932; border-top: 1px solid #cba258; }
:root[data-theme="starbucks"] .tabs a { color: #a9b8b1; } :root[data-theme="starbucks"] .tabs a.on { color: #cba258; }
/* 미리보기 */
.mock.apple { background: #f5f5f7; } .mock.apple i { background: #fff; border-radius: 9px; } .mock.apple i:first-child { background: #0066cc; border-radius: 99px; }
.mock.spotify { background: linear-gradient(180deg, #1f3a2a, #121212 60%); } .mock.spotify i { background: #181818; } .mock.spotify i:first-child { background: #1ed760; border-radius: 99px; }
.mock.claude { background: #faf9f5; } .mock.claude i { background: #f2efe6; box-shadow: inset 0 0 0 1px #e3dfd3; } .mock.claude i:first-child { background: #cc785c; box-shadow: none; }
.mock.stripe { background: linear-gradient(170deg, #533afd, #a960ee 30%, #ff5996 50%, #f6f9fc 51%); } .mock.stripe i { background: #fff; } .mock.stripe i:first-child { background: rgba(255, 255, 255, .5); }
.mock.ferrari { background: #181818; border-radius: 0 !important; } .mock.ferrari i { background: #202020; border-radius: 0; box-shadow: inset 0 0 0 1px #303030; } .mock.ferrari i:first-child { background: #da291c; box-shadow: none; }
.mock.airbnb { background: #fff; box-shadow: inset 0 0 0 1px #ebebeb; } .mock.airbnb i { background: #f7f7f7; } .mock.airbnb i:first-child { background: #ff385c; border-radius: 99px; }
.mock.nvidia { background: #000; border-radius: 3px !important; } .mock.nvidia i { background: #1a1a1a; border-radius: 1px; box-shadow: inset 4px 4px 0 -2px #76b900; } .mock.nvidia i:first-child { background: #76b900; box-shadow: none; }
.mock.starbucks { background: #1e3932; } .mock.starbucks i { background: #f2f0eb; box-shadow: inset 0 2px 0 #cba258; } .mock.starbucks i:first-child { background: #006241; border-radius: 99px; box-shadow: none; }
/* 테마 고르기 창 (사용자 지시 2026-12-03: 테마가 많아 설정에서 누르면 열림) */
.theme-now { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 4px 0; }
.theme-now b { display: block; font-size: 17px; } .theme-now small { color: var(--ink3); font-size: 13px; }
.theme-now .go { margin-left: auto; color: var(--ink3); font-size: 20px; }
.theme-now .mock { width: 44px; height: 56px; border-radius: 10px; padding: 5px 4px; gap: 3px; }
.theme-now .mock i { height: 8px; border-radius: 3px; } .theme-now .mock i:first-child { height: 12px; }
.theme-sheet { max-height: 78vh; overflow-y: auto; margin: 0 -4px; padding: 0 4px 8px; }
.theme-sheet h3 { margin: 18px 2px 8px; font-size: 13px; color: var(--ink3); font-weight: 700; letter-spacing: .02em; }
.theme-sheet h3:first-child { margin-top: 4px; }
.theme-sheet .theme-seg button small { display: block; font-size: 11px; font-weight: 500; color: var(--ink3); line-height: 1.25; }
/* 장식 글꼴(굵기 하나뿐)은 제목을 가짜 굵게 하지 않음 */
:root[data-thw] .top h1, :root[data-thw] .card h2, :root[data-thw] .login h1 { font-weight: 400 !important; }
.theme-sheet.first { max-height: none; overflow: visible; margin: 0; }
/* AI 점검 기준 고치기 (사용자 지시 2026-12-03) */
.rp-open { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; }
.rp-open b { display: block; font-size: 17px; } .rp-open small { display: block; color: var(--ink3); font-size: 13px; margin-top: 2px; }
.rp-open .go { margin-left: auto; color: var(--ink3); font-size: 20px; }
.rp-sheet .rp-h { font-size: 14px; margin-top: 16px; } .rp-sheet .rp-h small { color: var(--ink3); font-weight: 600; }
.rp-sheet .rp-i { align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; }
.rp-sheet .rp-w { font-size: 11px; padding: 6px 4px; min-width: 44px; text-align: left; }
.rp-t { flex: 1; min-width: 0; }
.rp-u { flex: none; font-size: 11px; font-weight: 700; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); padding: 2px 7px; border-radius: 99px; }
.rp-x { flex: none; width: 32px; height: 32px; border-radius: 50%; color: var(--ink3); }
.rp-x:active { background: var(--fill); }
.rp-add { display: flex; gap: 8px; margin: 6px 0 2px; }
.rp-add .input { flex: 1; min-width: 0; height: 40px; }
.rp-add .btn.sm { height: 40px; }
