/* ========== 레이아웃 고르기 ========== */
.lay-tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
@media (max-width: 1000px) { .lay-tabs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .lay-tabs { grid-template-columns: repeat(2, 1fr); } }
.lay-tabs button {
  display: grid; gap: 1px; padding: 12px 14px; text-align: left;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  transition: border-color .2s, background .2s, color .2s;
}
.lay-tabs button b { font-size: 15px; }
.lay-tabs button small { font-size: 12px; color: var(--muted); }
.lay-tabs button:hover { border-color: var(--ink); }
.lay-tabs button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.lay-tabs button.on small { color: #b5b5bd; }

.lay-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 18px 0 12px; }
.lay-hint { font-size: 14px; color: var(--ink-2); }

.lay-main { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
@media (max-width: 960px) { .lay-main { grid-template-columns: minmax(0, 1fr); } .lay-info { position: static; } }

.lay-stage {
  position: relative;
  padding: 16px; border-radius: var(--radius);
  background: #e4e2dc;
}
.labels, .hover-label { position: absolute; inset: 0; pointer-events: none; }
.hover-label { inset: auto; display: none; z-index: 6; }
.hover-label.show { display: block; }
.plabel, .hover-label {
  padding: 2px 8px; border-radius: 6px;
  background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700; white-space: nowrap; line-height: 1.6;
  box-shadow: 0 2px 6px rgba(47, 91, 255, .35);
}
.plabel { position: absolute; z-index: 5; animation: pop-in .25s var(--ease-out) both; }
@keyframes pop-in { from { opacity: 0; transform: scale(.85); } }

/* ========== 정보 패널 ========== */
.lay-info { position: sticky; top: 76px; display: grid; gap: 12px; }
.info-card { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); min-height: 150px; }
.info-empty { color: var(--muted); font-size: 14px; }
.info-card .ip-path { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.info-card .ip-path b { color: var(--ink-2); font-weight: 600; }
.info-card h3 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.info-card h3 em { display: block; font-style: normal; font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.info-card p { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.info-card .ip-kids { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.info-card .ip-kids small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.info-card .ip-say { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: #f6f5f1; font-size: 13.5px; color: var(--ink-2); }
.info-card .ip-say b { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 2px; }
.info-card.pop { animation: info-pop .3s var(--ease-out); }
@keyframes info-pop { from { opacity: .4; transform: translateY(4px); } }
.info-parts { padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.info-parts > small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.part-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.part-chips button {
  padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line); background: #fff;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  transition: background .15s, color .15s, border-color .15s;
}
.part-chips button:hover { border-color: var(--accent); color: var(--accent); }
.part-chips button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.is-quiz .info-parts { display: none; }

/* ========== 퀴즈 ========== */
.quiz-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin: -4px 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--ink); color: #fff;
}
.qb-q { display: flex; align-items: baseline; gap: 10px; font-size: 17px; }
.qb-q small { color: #9a9aa3; font-size: 13px; font-variant-numeric: tabular-nums; }
.qb-q b { color: #ffd166; font-size: 20px; }
.qb-side { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #c9c9d0; }
.qb-side .btn { background: transparent; color: #fff; border-color: #55555c; }
.quiz-bar.right { animation: qright .5s; }
.quiz-bar.wrong { animation: shake .35s; }
@keyframes qright { 30% { background: var(--ok); } }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.quiz-done { display: grid; justify-items: center; gap: 8px; padding: 10px; text-align: center; }

/* ========== 와이어프레임 공통 ========== */
.lay { display: none; font-size: 14px; color: #2a2a2e; background: #fff; border-radius: 10px; overflow: hidden; position: relative; line-height: 1.5; }
.lay.on { display: block; }
.lay * { cursor: pointer; }
.lay [data-part] { transition: box-shadow .15s, outline-color .15s; outline: 2px solid transparent; outline-offset: -2px; }
.lay [data-part].hover { outline-color: var(--accent); box-shadow: inset 0 0 0 9999px rgba(47, 91, 255, .09); }
.lay [data-part].sel { outline: 3px solid var(--hot); outline-offset: -3px; box-shadow: inset 0 0 0 9999px rgba(255, 91, 46, .12); }
.lay [data-part].chip-hl { outline-color: var(--accent); box-shadow: inset 0 0 0 9999px rgba(47, 91, 255, .16); }
.show-all .lay [data-part] { outline: 1.5px dashed rgba(47, 91, 255, .55); }
.show-all .lay [data-part].hover { outline: 2px solid var(--accent); }
.show-all .lay [data-part].sel { outline: 3px solid var(--hot); }
.lay [data-part].q-right { outline: 3px solid var(--ok) !important; box-shadow: inset 0 0 0 9999px rgba(23, 160, 93, .18); }
.lay [data-part].q-wrong { outline: 3px solid var(--bad) !important; box-shadow: inset 0 0 0 9999px rgba(229, 72, 77, .14); }
.lay [data-part].q-reveal { outline: 3px solid #ffb800 !important; box-shadow: inset 0 0 0 9999px rgba(255, 184, 0, .2); }
.lay h1, .lay h2 { margin: 0; }
.lay a { text-decoration: none; }

.w-header { display: flex; align-items: center; gap: 28px; height: 64px; padding: 0 28px; border-bottom: 1px solid #ecebe7; background: #fff; }
.w-header.tall { height: 76px; }
.w-header.plain { border-bottom: 0; }
.w-logo { font-weight: 800; font-size: 16px; letter-spacing: .04em; white-space: nowrap; padding: 4px 6px; margin-left: -6px; }
.w-logo.serif { font-family: var(--serif); letter-spacing: .14em; font-weight: 700; }
.w-gnb { display: flex; gap: 4px; margin-left: auto; padding: 4px; }
.w-gnb a { padding: 6px 12px; color: #555; font-weight: 600; border-radius: 6px; position: relative; }
.w-gnb a.active { color: #111; }
.w-gnb a.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: #111; }
.w-util { display: flex; align-items: center; gap: 14px; color: #666; padding: 4px; }
.w-btn { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 8px; background: #2f5bff; color: #fff; font-weight: 700; }
.w-btn.sm { height: 34px; padding: 0 14px; font-size: 13px; }
.w-btn.lg { height: 50px; padding: 0 26px; font-size: 16px; border-radius: 10px; }
.w-btn.light { background: #fff; color: #111; }

.w-hero {
  position: relative; display: flex; align-items: flex-end; height: 340px; padding: 40px 56px;
  background: url(img/ex-1.jpg) center / cover;
}
.w-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55), transparent 70%); pointer-events: none; }
.w-hero-copy { position: relative; display: grid; justify-items: start; gap: 8px; color: #fff; }
.w-hero h1 { font-family: var(--serif); font-size: 40px; line-height: 1.2; padding: 2px 6px; margin-left: -6px; }
.w-hero p { font-size: 16px; opacity: .92; margin-bottom: 10px; padding: 2px 6px; margin-left: -6px; }

.w-section { padding: 44px 0; background: #faf9f6; }
.w-container { max-width: 760px; margin: 0 auto; padding: 8px; }
.w-container h2 { font-size: 22px; margin-bottom: 18px; padding: 2px 6px; margin-left: -6px; display: inline-block; }
.w-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 6px; margin: -6px; }
.w-card { display: grid; gap: 2px; padding: 10px 10px 14px; background: #fff; border-radius: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.w-card b { margin-top: 8px; }
.w-card small { color: #888; }
.w-thumb { aspect-ratio: 4 / 3; border-radius: 6px; background: #ddd center / cover; position: relative; }
.w-ctaband { display: flex; align-items: center; justify-content: space-between; padding: 30px 56px; background: #1d1d21; color: #fff; font-size: 18px; }
.w-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 28px; background: #f1f0ec; color: #666; font-size: 13px; }
.w-footer > div { display: grid; }
.w-footer.plain { background: #fff; border-top: 1px solid #ecebe7; }
.w-sns { display: flex !important; gap: 8px; padding: 4px; }
.w-sns i { width: 26px; height: 26px; border-radius: 50%; background: #cfccc4; }
.w-totop { position: absolute; right: 20px; bottom: 84px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #111; color: #fff; font-size: 18px; box-shadow: 0 4px 12px rgba(0,0,0,.25); }

/* 작품 상세 */
.w-detail { padding: 18px 48px 30px; }
.w-crumb { display: inline-block; padding: 4px 6px; margin: 0 0 12px -6px; color: #888; font-size: 13px; }
.w-crumb a { color: #2f5bff; }
.w-crumb span { color: #222; }
.w-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.w-carousel { position: relative; padding: 0 0 28px; }
.w-cr-img { aspect-ratio: 4 / 5; background: url(img/1-1.jpg) center / cover; border-radius: 4px; }
.w-arrow { position: absolute; top: 42%; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.95); box-shadow: 0 2px 8px rgba(0,0,0,.15); font-size: 22px; }
.w-arrow.l { left: 12px; } .w-arrow.r { right: 12px; }
.w-dots { position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px 8px; }
.w-dots i { width: 8px; height: 8px; border-radius: 50%; background: #ccc; }
.w-dots i.on { background: #111; width: 20px; border-radius: 99px; }
.w-info { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 30px; }
.w-info h1 { font-family: var(--serif); font-size: 32px; padding: 2px 6px; margin-left: -6px; }
.w-info h1 small { display: block; font-family: var(--font); font-size: 14px; font-weight: 500; color: #888; }
.w-caption { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0; padding: 12px 14px; width: 100%; background: #f7f6f3; border-radius: 8px; font-size: 13px; }
.w-caption dt { color: #888; } .w-caption dd { margin: 0; }
.w-tabs { display: flex; gap: 18px; border-bottom: 1px solid #e5e3de; width: 100%; padding: 0 4px; }
.w-tabs span { padding: 8px 0; color: #999; font-weight: 600; }
.w-tabs span.on { color: #111; box-shadow: inset 0 -2px #111; }
.w-body { color: #555; line-height: 1.75; padding: 4px 6px; margin-left: -6px; }
.w-prevnext { display: flex; justify-content: space-between; margin-top: 30px; padding: 16px 6px; border-top: 1px solid #ecebe7; }
.w-prevnext a { display: grid; color: #888; font-size: 13px; }
.w-prevnext a:last-child { text-align: right; }
.w-prevnext b { color: #222; font-size: 15px; }

/* 블로그·문서 */
.w-search { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 8px; background: #f1f0ec; color: #888; font-size: 13px; min-width: 220px; }
.w-search kbd { margin-left: auto; padding: 1px 6px; border-radius: 4px; background: #fff; font: 11px var(--mono); color: #999; }
.w-search.wide { flex: 1; max-width: 420px; height: 44px; border-radius: 99px; padding: 0 18px; border: 2px solid #111; background: #fff; }
.w-search.pill { border-radius: 99px; min-width: 0; height: 40px; }
.w-docs-grid { display: grid; grid-template-columns: 190px 1fr 170px; min-height: 520px; }
.w-lnb { display: flex; flex-direction: column; gap: 2px; padding: 22px 14px; border-right: 1px solid #ecebe7; background: #fbfaf8; font-size: 13.5px; }
.w-lnb b { margin: 12px 0 4px; font-size: 12px; color: #999; }
.w-lnb b:first-child { margin-top: 0; }
.w-lnb a { padding: 5px 10px; border-radius: 6px; color: #555; }
.w-lnb a.on { background: #e7edff; color: #2f5bff; font-weight: 700; }
.w-article { padding: 22px 36px 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.w-article h1 { font-size: 28px; padding: 2px 6px; margin-left: -6px; }
.w-article h2 { font-size: 19px; margin-top: 8px; padding: 2px 6px; margin-left: -6px; }
.w-meta { color: #999; font-size: 12.5px; padding: 2px 6px; margin: -6px 0 0 -6px; }
.w-callout { width: 100%; padding: 12px 14px; border-left: 4px solid #ffb800; border-radius: 6px; background: #fff8e1; font-size: 13.5px; color: #6a5200; }
.w-figure { margin: 4px 0 0; width: 100%; padding: 6px; margin-left: -6px; }
.w-figure > div { aspect-ratio: 16 / 7; border-radius: 6px; background: #ddd center / cover; }
.w-figure figcaption { margin-top: 6px; font-size: 12px; color: #888; text-align: center; padding: 2px; }
.w-article .w-prevnext { width: 100%; margin-top: 10px; }
.w-toc { display: flex; flex-direction: column; gap: 4px; padding: 22px 14px; font-size: 13px; border-left: 1px solid #ecebe7; }
.w-toc b { font-size: 12px; color: #999; margin-bottom: 4px; }
.w-toc a { padding: 3px 10px; color: #777; border-left: 2px solid transparent; margin-left: -12px; }
.w-toc a.on { color: #2f5bff; border-left-color: #2f5bff; font-weight: 700; }

/* 쇼핑몰 */
.w-topbanner { position: relative; padding: 9px; text-align: center; background: #111; color: #fff; font-size: 13px; font-weight: 600; }
.w-topbanner span { position: absolute; right: 16px; opacity: .7; }
.w-icons { display: flex; gap: 18px; margin-left: auto; padding: 4px; }
.w-icons > span { position: relative; display: grid; justify-items: center; font-size: 20px; line-height: 1.2; }
.w-icons small { font-size: 11px; color: #777; }
.w-cart i, .w-bell i { position: absolute; top: -4px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; background: #e5484d; color: #fff; font: 800 11px/18px var(--font); text-align: center; font-style: normal; }
.w-catnav { display: flex; gap: 6px; padding: 0 28px; height: 46px; align-items: center; border-bottom: 1px solid #ecebe7; font-weight: 700; }
.w-catnav a { padding: 6px 10px; color: #444; position: relative; }
.w-catnav a.w-all { margin-right: 10px; padding-right: 18px; border-right: 1px solid #e5e3de; }
.w-catnav a.active { color: #111; }
.w-catnav a.active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -8px; height: 3px; background: #111; }
.w-catnav a.sale { color: #e5484d; }
.w-shop-grid { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 22px 28px 28px; }
.w-filter { display: flex; flex-direction: column; gap: 16px; padding: 12px; border-radius: 10px; border: 1px solid #ecebe7; align-self: start; font-size: 13px; }
.w-filter > div { display: grid; gap: 6px; }
.w-filter small { color: #999; font-weight: 700; }
.w-filter label { display: flex; align-items: center; gap: 6px; }
i.c { display: inline-block; width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid #bbb; vertical-align: middle; }
i.c.on { background: #2f5bff; border-color: #2f5bff; }
.w-range { height: 4px; border-radius: 2px; background: #e5e3de; position: relative; margin: 6px 0; }
.w-range i { position: absolute; left: 15%; right: 30%; top: 0; bottom: 0; background: #111; border-radius: 2px; }
.w-listbar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.w-listbar > span[data-part="result-count"] { padding: 2px 4px; color: #666; }
.w-chip { padding: 4px 10px; border-radius: 99px; background: #111; color: #fff; font-size: 12.5px; font-weight: 600; }
.w-select { margin-left: auto; padding: 6px 12px; border-radius: 8px; border: 1px solid #ddd; font-size: 13px; white-space: nowrap; }
.w-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 4px; margin: -4px; }
.w-pcard { display: grid; gap: 2px; padding: 4px; font-size: 13px; }
.w-pcard .w-thumb { aspect-ratio: 1; margin-bottom: 6px; }
.w-pcard small { color: #999; font-size: 12px; }
.w-pcard span { font-weight: 800; padding: 1px 0; }
.w-pcard em { color: #e5484d; font-style: normal; margin-right: 2px; }
.w-sale, .w-new { position: absolute; left: 6px; top: 6px; padding: 2px 7px; border-radius: 4px; background: #e5484d; color: #fff; font: 800 10.5px/1.5 var(--font); font-style: normal; }
.w-new { background: #111; }
.w-wish { position: absolute; right: 6px; bottom: 6px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.92); font-style: normal; font-size: 15px; }
.w-pager { display: flex; justify-content: center; gap: 4px; margin-top: 22px; padding: 4px; }
.w-pager span { display: grid; place-items: center; min-width: 32px; height: 32px; border-radius: 6px; color: #666; font-weight: 600; }
.w-pager span.on { background: #111; color: #fff; }
.w-fab { position: absolute; right: 22px; bottom: 80px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #ffd400; font-size: 24px; box-shadow: 0 4px 14px rgba(0,0,0,.2); }

/* 모바일 앱 */
.lay.app { background: transparent; overflow: visible; }
.w-phone { position: relative; width: 375px; margin: 0 auto; border-radius: 44px; border: 10px solid #1d1d21; background: #fff; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,.18); }
.w-status { display: flex; justify-content: space-between; align-items: center; height: 44px; padding: 0 26px; font-size: 14px; }
.w-status span { font-size: 12px; letter-spacing: 1px; }
.w-appbar { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 8px; border-bottom: 1px solid #f0efeb; }
.w-appbar b { flex: 1; font-size: 17px; text-align: center; padding: 4px; }
.w-ib { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-size: 20px; }
.w-app-body { position: relative; display: grid; gap: 12px; padding: 14px 16px 16px; min-height: 470px; align-content: start; }
.w-chips { display: flex; gap: 6px; padding: 2px; }
.w-chips span { padding: 6px 14px; border-radius: 99px; background: #f1f0ec; font-size: 13px; font-weight: 600; color: #555; }
.w-chips span.on { background: #111; color: #fff; }
.w-list { display: grid; }
.w-li { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid #f0efeb; }
.w-li i { flex: none; width: 52px; height: 52px; border-radius: 10px; background: #ddd center / cover; }
.w-li div { flex: 1; display: grid; }
.w-li small { color: #999; font-size: 12px; }
.w-li span { color: #bbb; font-size: 18px; }
.w-fab.app { right: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 18px; background: #2f5bff; color: #fff; font-size: 28px; }
.w-tabbar { display: flex; justify-content: space-around; padding: 8px 6px 4px; border-top: 1px solid #ecebe7; background: #fff; }
.w-tabbar span { position: relative; display: grid; justify-items: center; font-size: 20px; color: #aaa; line-height: 1.3; padding: 2px 6px; }
.w-tabbar span.on { color: #111; }
.w-tabbar small { font-size: 10.5px; font-weight: 600; }
.w-bell { position: relative; }
.w-tabbar .w-bell i { top: -2px; right: -2px; }
.w-homebar { display: grid; place-items: center; height: 26px; }
.w-homebar i { width: 130px; height: 5px; border-radius: 99px; background: #111; }

/* 대시보드 */
.lay.dash { display: none; grid-template-columns: 190px 1fr; background: #f6f6f8; }
.lay.dash.on { display: grid; }
.w-sidenav { display: flex; flex-direction: column; gap: 2px; padding: 18px 12px; background: #17171b; color: #aaa; font-size: 14px; }
.w-sidenav .w-logo { color: #fff; margin: 0 0 18px; padding: 4px 8px; }
.w-sidenav a { padding: 9px 12px; border-radius: 8px; color: #aaa; }
.w-sidenav a.on { background: #2f5bff; color: #fff; font-weight: 700; }
.w-topbar { display: flex; align-items: center; gap: 18px; height: 60px; padding: 0 24px; background: #fff; border-bottom: 1px solid #ebebef; }
.w-topbar .w-search { flex: 0 1 300px; }
.w-topbar .w-bell { margin-left: auto; font-size: 18px; padding: 4px; }
.w-topbar .w-bell i { top: -4px; right: -8px; }
.w-profile { display: flex; align-items: center; gap: 8px; font-weight: 600; padding: 4px; }
.w-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #ffd8c2; color: #a3401b; font-style: normal; font-weight: 800; }
.w-dash-body { display: grid; gap: 16px; padding: 20px 24px 26px; }
.w-pagehead { display: flex; align-items: center; justify-content: space-between; }
.w-pagehead h1 { font-size: 22px; padding: 2px 6px; margin-left: -6px; }
.w-pagehead .w-select { margin-left: 0; background: #fff; }
.w-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.w-kpi { display: grid; padding: 16px; border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.w-kpi small { color: #888; }
.w-kpi b { font-size: 22px; }
.w-kpi em { font-style: normal; font-size: 12.5px; font-weight: 700; }
.w-kpi em.up { color: #17a05d; } .w-kpi em.down { color: #e5484d; }
.w-chart { padding: 16px; border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.w-chart small { color: #888; }
.w-bars { display: flex; align-items: flex-end; gap: 18px; height: 120px; margin-top: 10px; padding: 0 6px; border-bottom: 1px solid #eee; }
.w-bars i { flex: 1; border-radius: 6px 6px 0 0; background: #c9d5ff; }
.w-bars i:nth-child(6) { background: #2f5bff; }
.w-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.05); font-size: 13.5px; }
.w-table th { text-align: left; padding: 10px 14px; color: #888; font-weight: 600; background: #fafafb; border-bottom: 1px solid #eee; }
.w-table td { padding: 11px 14px; border-bottom: 1px solid #f2f2f4; }
.w-table tr:last-child td { border-bottom: 0; }
.w-st { padding: 3px 9px; border-radius: 99px; font-size: 12px; font-weight: 700; }
.w-st.ok { background: #e1f5ea; color: #17a05d; }
.w-st.wait { background: #fff3d6; color: #b07400; }
.w-st.no { background: #f1f1f3; color: #888; }

/* ========== 반응형 데모 ========== */
.rs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.rs-ctrl { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.rs-slider { position: relative; flex: 1; min-width: 240px; padding-bottom: 20px; }
.rs-slider input { width: 100%; accent-color: var(--ink); }
.rs-marks span { position: absolute; top: 24px; transform: translateX(-50%); font-size: 11px; font-weight: 700; color: var(--hot); white-space: nowrap; }
.rs-marks span::before { content: ""; position: absolute; left: 50%; top: -14px; width: 2px; height: 10px; background: var(--hot); }
.rs-now { font-size: 14px; color: var(--ink-2); }
.rs-now b { color: var(--ink); font-variant-numeric: tabular-nums; }
.rs-frame-wrap { position: relative; padding: 30px 16px 16px; border-radius: var(--radius); background: #e4e2dc; }
.rs-tag { top: 8px; left: 16px; background: var(--accent); box-shadow: none; }
#rs-fit { margin: 0 auto; }
.rs-browser { border-radius: 10px; overflow: hidden; background: #fff; border: 3px solid var(--accent); }
.rs-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #efeee9; }
.rs-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d0cec6; }
.rs-bar span { margin-left: 10px; padding: 3px 14px; border-radius: 6px; background: #fff; font: 13px var(--mono); color: #888; }
#rs-fit .fit-inner { container-type: inline-size; }
.rs-site { height: 640px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; font-size: 15px; }
.rs-header { display: flex; align-items: center; height: 64px; padding: 0 28px; border-bottom: 1px solid #eee; }
.rs-header b { font-family: var(--serif); letter-spacing: .14em; }
.rs-nav { display: flex; gap: 22px; margin-left: auto; font-weight: 600; color: #555; }
.rs-burger { display: none; margin-left: auto; font-size: 26px; }
.rs-hero { display: flex; align-items: flex-end; height: 260px; padding: 28px; background: url(img/ex-1.jpg) center / cover; }
.rs-hero span { color: #fff; font-family: var(--serif); font-size: 32px; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.rs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 28px; }
.rs-grid div { display: grid; gap: 6px; }
.rs-grid i { aspect-ratio: 4 / 5; border-radius: 4px; background: #ddd center / cover; }
.rs-grid b { font-size: 14px; }
.rs-footer { padding: 20px 28px; border-top: 1px solid #eee; color: #888; font-size: 13px; }
.rs-grid, .rs-header, .rs-hero { transition: padding .2s; }
@container (max-width: 999px) {
  .rs-grid { grid-template-columns: repeat(2, 1fr); }
  .rs-hero { height: 220px; }
}
@container (max-width: 639px) {
  .rs-nav { display: none; }
  .rs-burger { display: block; }
  .rs-header { padding: 0 18px; }
  .rs-grid { grid-template-columns: 1fr; padding: 18px; }
  .rs-hero { height: 200px; padding: 18px; }
  .rs-hero span { font-size: 26px; }
}
.rs-words { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 760px) { .rs-words { grid-template-columns: 1fr; } }
.rs-words > div { padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.rs-words b { font-size: 16px; }
.rs-words em { font-style: normal; font-weight: 500; color: var(--muted); font-size: 13px; }
.rs-words p { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
