/* 다시켜짐 컴퓨터 — 동네 컴퓨터 수리·조립점 디자인 샘플 (디코랩)
   구성: 레트로 바탕화면. 섹션 = 제목 표시줄이 달린 창, 화면 아래 작업표시줄 = 섹션 메뉴(지금 창 단추가 눌림),
   창이 화면에 들어오면 한 번 열림. 가상의 운영체제 「켜짐OS」 — 실제 OS 의 모양·로고를 베끼지 않는다.
   색은 옛 컴퓨터 실물에서: 바탕화면 청록, 본체 베이지 플라스틱, 흰 화면, 전원 단추 자홍 */
:root {
  --color-desktop: #0B7D76;       /* 바탕화면 청록 — 배경 (theme-color), 흰 글자 대비 5:1 */
  --color-dither: #0A6F69;        /* 바탕화면 점 무늬 */
  --color-plastic: #D9D5C9;       /* 본체 베이지 플라스틱 — 창 테두리·작업표시줄 */
  --color-plastic-hi: #F4F2EA;    /* 입체 테두리 밝은 면 */
  --color-plastic-lo: #6E6A5F;    /* 입체 테두리 어두운 면 */
  --color-plastic-mid: #B9B4A6;
  --color-screen: #FBFAF6;        /* 창 안 흰 화면 — 본문 면 */
  --color-ink: #1D2321;           /* 본문 글자 */
  --color-graphite: #4A524F;      /* 보조 글자 */
  --color-titlebar: #12403D;      /* 활성 창 제목 표시줄 */
  --color-titlebar-off: #5F6B69;  /* 비활성 창 제목 표시줄 */
  --color-power: #C2306B;         /* 전원 자홍 — 전화 버튼·마법사 시작에만 */
  --color-power-hi: #E77FA8;
  --color-power-lo: #7E1A44;
  --color-term: #10201E;          /* 작업 기록 화면 */
  --color-phosphor: #9FE8D6;      /* 작업 기록 글자 */
  --color-kakao: #FEE500;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui,
          "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --font-pixel: "Silkscreen", var(--font);
  --font-num: "VT323", var(--font);

  --fs-h1: clamp(1.7rem, 1.1rem + 2.4vw, 2.85rem);
  --fs-h2: clamp(1.45rem, 1.1rem + 1.3vw, 2.05rem);
  --fs-h3: 1.1rem;
  --fs-body: 1rem;
  --fs-small: .86rem;

  --bar-h: 60px;
  --gutter: 10px;
  --win-gap: 44px;
}
@media (min-width: 1024px) {
  :root { --bar-h: 54px; --gutter: 32px; --win-gap: 72px; --fs-body: 1.04rem; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.72;
  color: var(--color-ink);
  background-color: var(--color-desktop);
  background-image: radial-gradient(var(--color-dither) 1px, transparent 1.3px);
  background-size: 6px 6px;
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
}
h1, h2, h3 { line-height: 1.28; letter-spacing: -.025em; margin: 0; text-wrap: balance; font-weight: 800; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
figure { margin: 0; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.vt { font-family: var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--color-ink); color: #fff; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--color-ink); outline-offset: 2px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.px { width: 18px; height: 18px; fill: currentColor; flex: none; shape-rendering: crispEdges; }

/* 실제 정보 자리 */
.ph { display: inline-block; padding: 0 .4em; border: 1.5px dashed currentColor; opacity: .82; font-size: .92em; line-height: 1.5; }

/* 샘플 안내 띠 — 시스템 알림 줄 */
.sample-banner { background: var(--color-ink); color: #E3E8E6; font-size: .8rem; line-height: 1.6; }
.sample-banner__inner { display: flex; gap: 10px; align-items: baseline; max-width: 1264px; margin-inline: auto; padding: 8px 16px; }
.sample-banner__tag { flex: none; padding: 0 8px; background: var(--color-plastic); color: var(--color-ink); font-weight: 700; font-size: .74rem; }
.sample-banner a { color: #8FE3D6; font-weight: 600; }

/* ---------- 버튼: 입체 단추 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px;
  border: 2px solid var(--color-ink);
  background: var(--color-plastic); color: var(--color-ink);
  box-shadow: inset -3px -3px 0 var(--color-plastic-lo), inset 3px 3px 0 var(--color-plastic-hi);
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.3; text-decoration: none; text-align: center; cursor: pointer;
}
.btn:hover { background: #E6E2D7; }
.btn:active { box-shadow: inset 3px 3px 0 var(--color-plastic-lo); transform: translate(1px, 1px); }
.btn--power { background: var(--color-power); color: #fff; box-shadow: inset -3px -3px 0 var(--color-power-lo), inset 3px 3px 0 var(--color-power-hi); }
.btn--power:hover { background: #AE285E; }
.btn--power:active { box-shadow: inset 3px 3px 0 var(--color-power-lo); }
.btn--kakao { background: var(--color-kakao); box-shadow: inset -3px -3px 0 #B9A400, inset 3px 3px 0 #FFF59A; }
.btn--kakao:hover { background: #F5DC00; }
.btn--block { display: flex; width: 100%; }
.btn--sm { min-height: 42px; padding: 0 14px; font-size: .94rem; }

/* ---------- 바탕화면과 창 ---------- */
.desktop { display: flex; flex-direction: column; gap: var(--win-gap); max-width: 1264px; margin-inline: auto; padding: 18px var(--gutter) 24px; }
@media (min-width: 1024px) { .desktop { padding-top: 40px; } }

.win {
  position: relative;
  padding: 3px;
  background: var(--color-plastic);
  border: 2px solid; border-color: var(--color-plastic-hi) var(--color-plastic-lo) var(--color-plastic-lo) var(--color-plastic-hi);
  box-shadow: 8px 8px 0 rgba(4, 46, 43, .5);
  scroll-margin-top: 16px;
}
.win__bar {
  display: flex; align-items: center; gap: 8px;
  min-height: 34px; padding: 3px 4px 3px 8px;
  background: var(--color-titlebar-off); color: #fff;
  transition: background-color .25s ease;
}
.win.is-active .win__bar { background: var(--color-titlebar); }
.win__icon { width: 16px; height: 16px; fill: currentColor; flex: none; shape-rendering: crispEdges; }
.win__name { flex: 1; min-width: 0; font-weight: 700; font-size: .95rem; letter-spacing: -.01em; line-height: 1.3; }
.ext { font-family: var(--font-pixel); font-weight: 400; font-size: .78em; opacity: .85; margin-left: 1px; letter-spacing: 0; }
.win__ctrl { display: flex; gap: 3px; flex: none; }
.win__ctrl i {
  display: grid; place-items: center; width: 22px; height: 20px;
  background: var(--color-plastic); color: var(--color-ink);
  border: 2px solid; border-color: var(--color-plastic-hi) var(--color-plastic-lo) var(--color-plastic-lo) var(--color-plastic-hi);
  font-style: normal; font-family: var(--font-pixel); font-size: 11px; line-height: 1;
}
.win__menu { display: flex; gap: 16px; padding: 2px 8px; font-size: .84rem; color: var(--color-graphite); }
.win__menu span:first-letter { text-decoration: underline; }
.win__body {
  background: var(--color-screen);
  border: 2px solid; border-color: var(--color-plastic-lo) var(--color-plastic-hi) var(--color-plastic-hi) var(--color-plastic-lo);
  padding: clamp(18px, 3.2vw, 40px);
}
.win__head { display: grid; gap: 10px; margin-bottom: clamp(18px, 2.4vw, 28px); max-width: 46em; }
.win__head h2, .win__body > h2 { font-size: var(--fs-h2); }
.win__body > h2 { margin-bottom: clamp(16px, 2vw, 24px); }
.lead { color: var(--color-graphite); max-width: 40em; }
.lead strong { color: var(--color-ink); }
.win__status { display: flex; gap: 3px; padding-top: 3px; font-size: .8rem; color: var(--color-graphite); }
.win__status span { flex: 1; padding: 2px 8px; border: 2px solid; border-color: var(--color-plastic-lo) var(--color-plastic-hi) var(--color-plastic-hi) var(--color-plastic-lo); }
.win__status b { color: var(--color-ink); }
.note { margin-top: 18px; font-size: var(--fs-small); color: var(--color-graphite); }

/* 창 열림: 화면에 들어오면 한 번, 점선 외곽이 작게→크게 지나가고 창이 커진다 (보이는 상태가 기본) */
.win::after { content: ""; position: absolute; inset: -6px; border: 2px dashed rgba(255, 255, 255, .85); opacity: 0; pointer-events: none; }
.has-motion [data-win] { opacity: .3; transform: translateY(26px) scale(.94); transform-origin: 50% 100%; transition: opacity .3s ease, transform .5s cubic-bezier(.2, .9, .3, 1.12); }
.has-motion [data-win].is-open { opacity: 1; transform: none; }
.has-motion [data-win].is-open::after { animation: trace .6s ease-out; }
@keyframes trace { 0% { opacity: 1; transform: scale(.55); } 80% { opacity: .8; } 100% { opacity: 0; transform: scale(1.02); } }
.win.is-focus .win__bar { animation: barflash .5s steps(2) 2; }
@keyframes barflash { 50% { opacity: .35; } }

/* 창 배치 — 데스크톱에서는 폭과 가로 위치를 다르게 해 바탕화면에 흩어 놓은 느낌 */
@media (min-width: 1024px) {
  .win--service { width: 92%; }
  .win--trouble { width: 90%; margin-left: auto; }
  .win--data { width: 82%; margin-left: 5%; }
  .win--process { width: 76%; margin-left: auto; margin-right: 1%; }
  .win--faq { width: 70%; margin-left: 9%; }
  .win--location { width: 95%; margin-left: auto; }
}

/* ---------- 히어로 ---------- */
.hero { position: relative; display: flex; flex-direction: column; gap: 22px; }
.hero__body { display: grid; gap: 22px; align-items: center; }
.hero__kicker { font-weight: 700; color: var(--color-desktop); font-size: .92rem; }
.hero__title { font-size: var(--fs-h1); margin: 8px 0 12px; }
.hero__lead { color: var(--color-graphite); max-width: 30em; }
.hero__actions { display: grid; gap: 8px; margin-top: 18px; }
.hero__fig svg { width: 100%; height: auto; max-width: 420px; margin-inline: auto; }
.art-t { font: 700 15px var(--font); fill: var(--color-ink); }
@media (min-width: 560px) { .hero__actions { display: flex; flex-wrap: wrap; } }
@media (min-width: 760px) { .hero__body { grid-template-columns: 1.15fr .85fr; } }
@media (max-width: 559px) { .hero__fig { max-width: 300px; margin-inline: auto; } }

.icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; order: -1; }
.icon { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px 2px; color: #fff; text-decoration: none; font-size: .84rem; font-weight: 600; text-align: center; line-height: 1.3; }
.icon svg { width: 44px; height: 44px; }
.icon span { padding: 1px 4px; }
.icon:hover span, .icon:focus-visible span { background: var(--color-titlebar); outline: 1px dotted #fff; }
.icon:focus-visible { outline: none; }

.win--memo { width: min(280px, 82%); margin-left: auto; }
.memo { padding: 14px 16px; font-size: .92rem; background: #FFF9D9; }
.memo__today { font-weight: 800; margin-bottom: 6px; }
.memo li { padding-left: 14px; position: relative; }
.memo li::before { content: "-"; position: absolute; left: 2px; }

@media (min-width: 1024px) {
  .hero { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 28px; padding-bottom: 36px; }
  .icons { grid-column: 1; grid-row: 1; grid-template-columns: 1fr; align-content: start; gap: 18px; padding-top: 6px; }
  .win--hero { grid-column: 2; grid-row: 1; margin-right: 140px; }
  .win--memo { position: absolute; right: 0; bottom: 0; width: 270px; z-index: 2; }
}

/* ---------- 수리 접수: 탐색기 자세히 목록 ---------- */
.files { border: 2px solid; border-color: var(--color-plastic-lo) var(--color-plastic-hi) var(--color-plastic-hi) var(--color-plastic-lo); background: #fff; }
.files__table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.files__table thead th {
  text-align: left; font-weight: 600; font-size: .86rem; padding: 4px 10px;
  background: var(--color-plastic);
  border: 2px solid; border-color: var(--color-plastic-hi) var(--color-plastic-lo) var(--color-plastic-lo) var(--color-plastic-hi);
}
.files__table tbody th, .files__table td { padding: 10px; vertical-align: top; text-align: left; border-bottom: 1px dotted #CFCBBF; }
.files__table tbody th { font-weight: 700; white-space: nowrap; }
.files__table tbody th a { text-decoration: underline; text-underline-offset: 3px; }
.files__table .px--folder { display: inline-block; vertical-align: -3px; margin-right: 8px; color: #D9A934; }
.files__table tbody tr:hover, .files__table tbody tr:focus-within { background: var(--color-titlebar); color: #fff; }
.files__table tbody tr:hover .px--folder { color: #FFE38A; }
.files__table .num { white-space: nowrap; font-weight: 600; }
@media (max-width: 759px) {
  .files__table thead { display: none; }
  .files__table, .files__table tbody, .files__table tr, .files__table th, .files__table td { display: block; }
  .files__table tr { padding: 10px 12px; border-bottom: 1px dotted #CFCBBF; }
  .files__table tbody th, .files__table td { padding: 0; border: 0; white-space: normal; }
  .files__table tbody th { font-size: 1.04rem; margin-bottom: 4px; }
  .files__table td { display: grid; grid-template-columns: 78px 1fr; gap: 8px; font-size: .94rem; }
  .files__table td::before { content: attr(data-l); color: var(--color-graphite); font-size: .82rem; padding-top: 2px; }
  .files__table tbody tr:hover td::before { color: #CFE9E4; }
}

/* ---------- 오류 메시지 대화상자 ---------- */
.dialogs { display: grid; gap: 18px; }
@media (min-width: 700px) { .dialogs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .dialogs { grid-template-columns: repeat(3, 1fr); gap: 22px 26px; }
  .dialog:nth-child(3n+2) { margin-top: 22px; }
  .dialog:nth-child(3n+3) { margin-top: 44px; }
  .dialog:nth-child(n+4) { margin-top: -6px; }
  .dialog:nth-child(5) { margin-top: 16px; }
  .dialog:nth-child(6) { margin-top: 38px; }
}
.dialog {
  display: flex; flex-direction: column;
  padding: 3px; background: var(--color-plastic);
  border: 2px solid; border-color: var(--color-plastic-hi) var(--color-plastic-lo) var(--color-plastic-lo) var(--color-plastic-hi);
  box-shadow: 4px 4px 0 rgba(29, 35, 33, .22);
}
.dialog__bar { padding: 2px 8px; background: var(--color-titlebar); color: #fff; font-size: .84rem; font-weight: 700; }
.dialog__in { display: flex; gap: 12px; padding: 14px 12px 10px; flex: 1; }
.dialog__ico { width: 34px; height: 34px; flex: none; shape-rendering: crispEdges; }
.dialog__ico--stop { fill: #B23A2A; }
.dialog__ico--warn { fill: #F2C230; }
.dialog__ico--info { fill: #2D5FA8; }
.dialog__msg { font-weight: 700; line-height: 1.5; }
.dialog__ans { margin-top: 6px; font-size: .93rem; color: var(--color-graphite); }
.dialog__btns { display: flex; justify-content: flex-end; padding: 0 10px 10px; }
.dialog__btns span {
  min-width: 96px; padding: 3px 12px; text-align: center; font-size: .84rem; font-weight: 700;
  border: 2px solid var(--color-ink); background: var(--color-plastic);
  box-shadow: inset -2px -2px 0 var(--color-plastic-lo), inset 2px 2px 0 var(--color-plastic-hi);
}
.trouble__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
@media (max-width: 559px) { .trouble__cta .btn { width: 100%; } }

/* ---------- 조립 마법사 ---------- */
.wiz { display: grid; gap: 22px; }
@media (min-width: 1024px) { .wiz { grid-template-columns: 330px minmax(0, 1fr); gap: 30px; align-items: start; } }
.wiz__form fieldset { margin: 0 0 14px; padding: 10px 14px 14px; border: 2px solid; border-color: var(--color-plastic-mid) var(--color-plastic-hi) var(--color-plastic-hi) var(--color-plastic-mid); }
.wiz__form legend { padding: 0 6px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.wiz__form legend small { font-weight: 500; color: var(--color-graphite); font-size: .82rem; }
.wiz__step { display: inline-grid; place-items: center; width: 22px; height: 22px; background: var(--color-ink); color: #fff; font-family: var(--font-pixel); font-size: 12px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px;
  border: 2px solid var(--color-ink); background: #fff; font-weight: 600; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.opt span::before { content: ""; width: 14px; height: 14px; flex: none; border: 2px solid var(--color-ink); background: #fff; border-radius: 50%; }
.opt input:checked + span { background: var(--color-titlebar); color: #fff; }
.opt input:checked + span::before { background: var(--color-kakao); border-color: #fff; }
.opt input:focus-visible + span { outline: 3px solid var(--color-power); outline-offset: 2px; }

.setup { padding: 3px; background: var(--color-plastic); border: 2px solid; border-color: var(--color-plastic-hi) var(--color-plastic-lo) var(--color-plastic-lo) var(--color-plastic-hi); }
.setup__bar { padding: 3px 8px; background: var(--color-titlebar); color: #fff; font-size: .88rem; font-weight: 700; }
.setup__in {
  display: grid; gap: 20px; padding: 18px; background: var(--color-screen);
  border: 2px solid; border-color: var(--color-plastic-lo) var(--color-plastic-hi) var(--color-plastic-hi) var(--color-plastic-lo);
}
@media (min-width: 640px) { .setup__in { grid-template-columns: 230px minmax(0, 1fr); } }
@media (min-width: 1200px) { .setup__in { grid-template-columns: 290px minmax(0, 1fr); gap: 26px; } }
.case { max-width: 290px; width: 100%; margin-inline: auto; }
.case__art { width: 100%; height: auto; }
.case__cap { margin-top: 6px; text-align: center; font-size: .84rem; color: var(--color-graphite); }
.case__t { font: 700 11px var(--font); fill: var(--color-ink); }
.case__t--light { fill: #E9F2F0; }
.case__body--small, .case[data-size="small"] .case__body--normal, .case[data-size="small"] .case__fan--normal { display: none; }
.case[data-size="small"] .case__body--small { display: inline; }
.case__gpu-note { display: none; fill: #FBFAF6; font-size: 12px; }
.case[data-gpu="none"] .case__gpu-note { display: inline; }
.case[data-fans="2"] .gpu-third { display: none; }
.part { transform-box: fill-box; transform-origin: 50% 50%; transition: transform .45s cubic-bezier(.3, 1.45, .5, 1), opacity .2s ease; }
.part.is-off { opacity: 0; transform: translateY(-40px); }
.case__labels { transition: opacity .2s ease; }

.progress { height: 24px; padding: 3px; background: #fff; border: 2px solid; border-color: var(--color-plastic-lo) var(--color-plastic-hi) var(--color-plastic-hi) var(--color-plastic-lo); }
.progress__fill {
  display: block; height: 100%;
  background: repeating-linear-gradient(90deg, var(--color-desktop) 0 12px, transparent 12px 15px);
  clip-path: inset(0 calc((1 - var(--p, 1)) * 100%) 0 0);
}
.setup__status { margin: 6px 0 12px; font-size: .88rem; font-weight: 600; color: var(--color-graphite); min-height: 1.5em; }
.spec { display: grid; gap: 0; border-top: 1px solid #CFCBBF; }
.spec > div { display: grid; grid-template-columns: 104px 1fr; gap: 10px; padding: 8px 2px; border-bottom: 1px solid #CFCBBF; transition: opacity .2s ease, background-color .4s ease; }
.spec dt { font-weight: 700; font-size: .92rem; }
.spec dt small { display: block; font-weight: 500; font-size: .76rem; color: var(--color-graphite); }
.spec dd { font-weight: 600; }
.spec > div.is-pending { opacity: .3; }
.spec > div.is-done { background: #E2F3EF; }
.quote { margin-top: 16px; padding: 12px 14px; background: var(--color-term); color: #fff; }
.quote__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.quote__row span { font-size: .88rem; color: #CFE9E4; }
.quote__row b { font-size: 1.1rem; }
.quote__row .vt { font-size: 2.1rem; line-height: 1; color: var(--color-phosphor); margin-right: 2px; }
.quote__sub { margin-top: 6px; font-size: .8rem; color: #B9D6D0; }
.setup__memo { margin-top: 14px; padding: 10px 12px; background: #FFF9D9; border-left: 4px solid #D9A934; font-size: .94rem; }
.say { margin-top: 14px; }
.say__label { font-size: .84rem; color: var(--color-graphite); font-weight: 600; }
.say__text { margin-top: 4px; padding: 10px 12px; border: 2px dashed var(--color-plastic-lo); background: #fff; font-weight: 600; }
.say__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* ---------- 데이터 복구 ---------- */
.data { display: grid; gap: 22px; }
@media (min-width: 860px) { .data { grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: start; } }
.halt { padding: 3px; background: var(--color-plastic); border: 2px solid; border-color: var(--color-plastic-hi) var(--color-plastic-lo) var(--color-plastic-lo) var(--color-plastic-hi); }
.halt__bar { display: flex; align-items: center; gap: 8px; padding: 4px 8px; background: #8A2A22; color: #fff; font-weight: 700; }
.halt__bar .px { color: #FFD35A; }
.halt__list { background: #fff; padding: 12px 14px; display: grid; gap: 6px; }
.halt__list li { position: relative; padding-left: 26px; font-weight: 600; }
.halt__list li::before { content: "×"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; margin-top: 4px; display: grid; place-items: center; background: #8A2A22; color: #fff; font-family: var(--font-pixel); font-size: 11px; line-height: 1; }
.halt__foot { padding: 8px 12px 6px; font-size: .9rem; font-weight: 700; }
.copyflow { counter-reset: cf; display: grid; gap: 0; }
.copyflow li { counter-increment: cf; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 10px 0; border-bottom: 1px dotted #CFCBBF; }
.copyflow li::before { content: counter(cf); grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; background: var(--color-desktop); color: #fff; font-family: var(--font-num); font-size: 1.4rem; line-height: 1; }
.copyflow b { font-weight: 800; }
.copyflow span { color: var(--color-graphite); font-size: .94rem; }

/* ---------- 작업 기록 ---------- */
.win__body--term { background: var(--color-term); color: #D7EEE9; }
.win__body--term h2 { color: #fff; }
.log { display: grid; gap: 0; font-size: .98rem; }
.log li { display: flex; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px dashed #2E4A46; }
.log__t { flex: none; width: 46px; font-family: var(--font-num); font-size: 1.3rem; line-height: 1; color: var(--color-phosphor); }
.log li > span:last-child { flex: 1; min-width: 0; }
.log b { flex: none; width: 58px; color: #fff; font-weight: 800; }
.log em { font-style: normal; color: var(--color-phosphor); font-weight: 700; }
.has-motion .log li { opacity: .18; transition: opacity .35s ease; }
.has-motion .win.is-open .log li { opacity: 1; }
.has-motion .win.is-open .log li:nth-child(2) { transition-delay: .25s; }
.has-motion .win.is-open .log li:nth-child(3) { transition-delay: .5s; }
.has-motion .win.is-open .log li:nth-child(4) { transition-delay: .75s; }
.has-motion .win.is-open .log li:nth-child(5) { transition-delay: 1s; }
.has-motion .win.is-open .log li:nth-child(6) { transition-delay: 1.25s; }
.log__cursor { margin-top: 14px; font-family: var(--font-num); font-size: 1.3rem; color: var(--color-phosphor); }
.blink { animation: blink 1s steps(1) 4; }
@keyframes blink { 50% { opacity: 0; } }
.visitcall { margin-top: 3px; padding: clamp(16px, 2.6vw, 28px); background: var(--color-screen); border: 2px solid; border-color: var(--color-plastic-lo) var(--color-plastic-hi) var(--color-plastic-hi) var(--color-plastic-lo); }
.visitcall h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.kv { display: grid; gap: 0; }
.kv > div { display: grid; grid-template-columns: 86px 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px dotted #CFCBBF; }
.kv dt { font-weight: 700; color: var(--color-graphite); font-size: .92rem; }
@media (max-width: 559px) { .log b { width: 46px; } .log li { gap: 8px; font-size: .94rem; } }

/* ---------- 도움말 ---------- */
.tree { margin-left: 8px; padding-left: 12px; border-left: 1px dotted var(--color-plastic-lo); }
.qa { border-bottom: 1px dotted #CFCBBF; }
.qa h3 { font-size: 1rem; }
.qa button {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 8px 4px;
  background: none; border: 0; font: inherit; font-weight: 700; text-align: left; color: inherit; cursor: pointer; position: relative;
}
.qa button::before { content: ""; position: absolute; left: -13px; top: 50%; width: 12px; border-top: 1px dotted var(--color-plastic-lo); }
.qa__box { position: relative; width: 15px; height: 15px; flex: none; border: 1.5px solid var(--color-ink); background: #fff; }
.qa__box::before, .qa__box::after { content: ""; position: absolute; left: 2px; right: 2px; top: 5.5px; height: 1.5px; background: var(--color-ink); }
.qa__box::after { transform: rotate(90deg); transition: opacity .15s ease; }
.qa.is-open .qa__box::after { opacity: 0; }
.qa button:hover { background: #E2F3EF; }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.qa__a > p { overflow: hidden; min-height: 0; padding-left: 29px; color: var(--color-graphite); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa.is-open .qa__a > p { padding-bottom: 14px; }

/* ---------- 찾아오는 길 ---------- */
.loc { display: grid; gap: 24px; }
@media (min-width: 900px) { .loc { grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: start; } }
.map { display: grid; grid-template-columns: 30px 1fr; border: 2px solid; border-color: var(--color-plastic-lo) var(--color-plastic-hi) var(--color-plastic-hi) var(--color-plastic-lo); background: var(--color-plastic); }
.map__tools { display: grid; align-content: start; gap: 3px; padding: 3px; }
.map__tools i { height: 22px; background: var(--color-plastic); border: 2px solid; border-color: var(--color-plastic-hi) var(--color-plastic-lo) var(--color-plastic-lo) var(--color-plastic-hi); }
.map__tools i:nth-child(2) { border-color: var(--color-plastic-lo) var(--color-plastic-hi) var(--color-plastic-hi) var(--color-plastic-lo); background: #E9E6DC; }
.map svg { width: 100%; height: auto; }
.map figcaption { grid-column: 1 / -1; padding: 4px 8px; font-size: .84rem; }
.map__t { font: 700 13px var(--font); fill: var(--color-graphite); }
.map__s { font: 600 12px var(--font); fill: var(--color-graphite); }
.map__shop { font: 800 12px var(--font); fill: var(--color-ink); }
.map__bus { font: 700 11px var(--font); fill: #fff; }
.hours { width: 100%; margin-top: 16px; border-collapse: collapse; }
.hours caption { text-align: left; font-weight: 800; margin-bottom: 6px; }
.hours th, .hours td { padding: 7px 10px; text-align: left; border-bottom: 1px dotted #CFCBBF; }
.hours th { font-weight: 700; width: 40%; }
.hours .is-off td { color: #8A2A22; font-weight: 700; }
.hours .is-today { background: #E2F3EF; }
.hours__today { margin-left: 8px; padding: 0 6px; background: var(--color-titlebar); color: #fff; font-size: .74rem; font-weight: 700; }
.loc__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
@media (max-width: 559px) { .loc__actions .btn { width: 100%; } }

/* ---------- 푸터 ---------- */
.site-footer { max-width: 1264px; margin-inline: auto; padding: 8px var(--gutter) 36px; }
.site-footer__win { max-width: 760px; padding: 3px; background: var(--color-plastic); border: 2px solid; border-color: var(--color-plastic-hi) var(--color-plastic-lo) var(--color-plastic-lo) var(--color-plastic-hi); }
.site-footer__bar { padding: 2px 8px; background: var(--color-titlebar-off); color: #fff; font-size: .86rem; font-weight: 700; }
.site-footer__in { display: grid; gap: 8px; padding: 14px 16px; background: var(--color-screen); font-size: .84rem; color: var(--color-graphite); }
.site-footer__logo { font-weight: 800; font-size: 1rem; color: var(--color-ink); }
.site-footer__links a { margin-right: 14px; }
.site-footer__links .strong { font-weight: 800; color: var(--color-ink); }

/* ---------- 작업표시줄 ---------- */
.taskbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; gap: 4px;
  min-height: var(--bar-h);
  padding: 4px 6px calc(4px + env(safe-area-inset-bottom));
  background: var(--color-plastic);
  border-top: 2px solid var(--color-plastic-hi);
  box-shadow: 0 -2px 0 var(--color-plastic-lo);
}
.taskbar a, .taskbar button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 46px; padding: 0 10px;
  background: var(--color-plastic); color: var(--color-ink);
  border: 2px solid; border-color: var(--color-plastic-hi) var(--color-plastic-lo) var(--color-plastic-lo) var(--color-plastic-hi);
  font: inherit; font-size: .92rem; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.taskbar a:active, .taskbar button:active, .taskbar__wins a.is-active, .taskbar__list[aria-expanded="true"] {
  border-color: var(--color-plastic-lo) var(--color-plastic-hi) var(--color-plastic-hi) var(--color-plastic-lo);
  background-color: #EAE7DE;
  background-image: radial-gradient(#C9C4B6 1px, transparent 1.2px); background-size: 3px 3px;
}
.taskbar__start { font-weight: 800; flex: none; }
.taskbar__start .px { color: var(--color-desktop); }
.taskbar__wins { display: none; }
.taskbar__list { flex: 1; min-width: 0; justify-content: flex-start !important; }
.taskbar__list span { overflow: hidden; text-overflow: ellipsis; }
.taskbar__kakao { background: var(--color-kakao) !important; flex: none; border-color: #FFF59A #B9A400 #B9A400 #FFF59A !important; }
.taskbar__tel { flex: none; background: var(--color-power) !important; color: #fff !important; border-color: var(--color-power-hi) var(--color-power-lo) var(--color-power-lo) var(--color-power-hi) !important; }
.taskbar__tel-l { display: none; }
.taskbar__clock { display: none; }
@media (max-width: 1023px) {
  .taskbar__start { width: 46px; padding: 0 !important; }
  .taskbar__start-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .taskbar a, .taskbar button { padding: 0 9px; }
}
@media (min-width: 1024px) {
  .taskbar { gap: 4px; padding-inline: 8px; }
  .taskbar a, .taskbar button { min-height: 40px; font-size: .88rem; }
  .taskbar__list { display: none !important; }
  .taskbar__wins { display: flex; gap: 4px; flex: 1; min-width: 0; }
  .taskbar__wins li { flex: 0 1 132px; min-width: 0; }
  .taskbar__wins a { width: 100%; justify-content: flex-start; overflow: hidden; }
  .taskbar__wins .px { width: 16px; height: 16px; }
  .taskbar__start { padding-inline: 12px; margin-right: 6px; }
  .taskbar__tel-s { display: none; }
  .taskbar__tel-l { display: inline; font-family: var(--font-num); font-size: 1.3rem; font-weight: 400; letter-spacing: .02em; }
  .taskbar__clock {
    display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; flex: none;
    border: 2px solid; border-color: var(--color-plastic-lo) var(--color-plastic-hi) var(--color-plastic-hi) var(--color-plastic-lo);
    font-family: var(--font-pixel); font-size: .8rem;
  }
}

/* 모바일 창 목록 */
.winlist {
  position: fixed; left: 6px; bottom: calc(var(--bar-h) + env(safe-area-inset-bottom) + 2px); z-index: 60;
  width: min(320px, calc(100% - 12px));
  padding: 3px; background: var(--color-plastic);
  border: 2px solid; border-color: var(--color-plastic-hi) var(--color-plastic-lo) var(--color-plastic-lo) var(--color-plastic-hi);
  box-shadow: 6px 6px 0 rgba(4, 46, 43, .45);
}
.winlist__head { padding: 3px 8px; background: var(--color-titlebar); color: #fff; font-weight: 700; font-size: .88rem; }
.winlist ul { background: var(--color-screen); padding: 4px; }
.winlist a { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 10px; text-decoration: none; font-weight: 700; }
.winlist a small { margin-left: auto; font-weight: 500; color: var(--color-graphite); font-size: .8rem; }
.winlist a.is-active { background: var(--color-titlebar); color: #fff; }
.winlist a.is-active small { color: #CFE9E4; }
@media (min-width: 1024px) { .winlist { display: none !important; } }

/* 샘플 링크 안내 */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--bar-h) + 18px + env(safe-area-inset-bottom)); z-index: 70;
  transform: translateX(-50%); width: min(420px, calc(100% - 24px));
  padding: 12px 14px; background: var(--color-screen); color: var(--color-ink); font-size: .9rem; font-weight: 600;
  border: 2px solid var(--color-ink); box-shadow: 5px 5px 0 rgba(4, 46, 43, .45);
}

/* 히어로 그림의 작은 움직임 — 몇 번만 */
.led { animation: blink 1.2s steps(1) 3; }
.has-motion .bootbar { transform-box: fill-box; transform-origin: left; animation: boot 1.6s steps(8) .4s both; }
@keyframes boot { from { transform: scaleX(.05); } to { transform: scaleX(1); } }

/* ---------- 동작 줄이기 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .opt span, .qa__a, .win__bar, .btn, .spec > div { transition-duration: .2s !important; }
  html { scroll-behavior: auto; }
}
