/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.29_@types+node@22.20.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/.pnpm/next@15.5.29_@types+node@22.20.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/kiosk/kiosk.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*
 * AI 소리 탐험대 — 태블릿 화면 (1280×800 고정, 최종 디자인 v3.0)
 * 숲 일러스트 배경 · 크림색 안내판 카드 · 주황 입체 버튼 · 둥근 제목(Jua) · 짙은 초록 제목색
 */

:root {
  --k-green: #2e5b2f;
  --k-green-dark: #234a26;
  --k-green-soft: #e1efd6;
  --k-green-line: #b8d6a6;
  --k-cream: #fffbef;
  --k-cream-2: #fdf6e6;
  --k-line: #e9dcc0;
  --k-text: #2f2b26;
  --k-muted: #6c6457;
  --k-orange-1: #fba54a;
  --k-orange-2: #ec7a1f;
  --k-orange-edge: #c85d12;
  --k-blue: #3f7fb9;
  --k-blue-edge: #2c5f90;
  --k-blue-soft: #e4efff;
  --k-blue-line: #b8d0ef;
  --k-red: #e9584a;
  --k-shadow: 0 10px 24px rgba(74, 58, 26, 0.12);
}

html, body { height: 100%; }
body:has(.kiosk-body) { margin: 0; background: #2b2b2b; overflow: hidden; -moz-user-select: none; user-select: none; -webkit-user-select: none; touch-action: manipulation; }

/* ------------------------------------------------------------ 화면 틀 (비율 유지 확대 · 축소) */
.k-viewport { position: fixed; inset: 0; display: grid; place-items: center; background: #1f2a1f; }
.k-stage {
  position: relative; width: 1280px; height: 800px; overflow: hidden; transform-origin: center center;
  background: url("/assets/kiosk/bg-forest.jpg") center / cover no-repeat, #fdf7e5;
  font-family: var(--font-body); color: var(--k-text);
}
.k-stage * { box-sizing: border-box; }
.k-display { font-family: var(--font-display); font-weight: 400; letter-spacing: 0; }

/* ------------------------------------------------------------ 공통 버튼 */
.k-btn {
  font-family: var(--font-display); border: 0; cursor: pointer; display: inline-flex; align-items: center;
  justify-content: center; gap: 10px; min-height: 64px; padding: 0 28px; border-radius: 999px; font-size: 26px;
  transition: transform .08s ease, filter .15s ease, opacity .15s ease; color: var(--k-text); background: #fff;
  box-shadow: 0 0 0 3px var(--k-line) inset, 0 4px 0 #e2d4b6;
}
.k-btn:active:not(:disabled) { transform: translateY(3px); }
.k-btn:disabled { cursor: default; opacity: .45; filter: grayscale(.4); }
.k-btn-primary {
  color: #fff; background: linear-gradient(180deg, var(--k-orange-1), var(--k-orange-2));
  box-shadow: 0 6px 0 var(--k-orange-edge), 0 12px 22px rgba(200, 93, 18, .3); text-shadow: 0 1px 0 rgba(0, 0, 0, .12);
}
.k-btn-blue { color: #fff; background: linear-gradient(180deg, #4b8cc6, var(--k-blue)); box-shadow: 0 6px 0 var(--k-blue-edge); }
.k-btn-soft-blue { color: #2d5f93; background: var(--k-blue-soft); box-shadow: 0 0 0 3px var(--k-blue-line) inset; }
.k-btn-next { position: absolute; right: 140px; bottom: 44px; width: 260px; height: 88px; font-size: 36px; }
.k-round {
  width: 76px; height: 76px; border-radius: 50%; border: 0; background: var(--k-cream); display: grid; place-items: center;
  box-shadow: 0 0 0 3px var(--k-line) inset, 0 6px 14px rgba(0, 0, 0, .12); cursor: pointer; color: var(--k-green);
}
.k-round:active { transform: translateY(2px); }

/* ------------------------------------------------------------ 상단 공통 (처음으로 · 5단계 · 다시 듣기) */
.k-home { position: absolute; left: 32px; top: 22px; }
.k-speaker { position: absolute; right: 32px; top: 22px; }
.k-steps { position: absolute; left: 50%; top: 32px; transform: translateX(-50%); display: flex; gap: 10px; }
.k-step {
  height: 52px; min-width: 96px; padding: 0 20px; border-radius: 999px; display: inline-flex; align-items: center;
  justify-content: center; gap: 6px; font-family: var(--font-display); font-size: 21px; color: #6b6352;
  border: 3px dashed #d6c9ab; background: rgba(255, 251, 239, .7);
}
.k-step.done { border: 3px solid var(--k-green-line); background: var(--k-green-soft); color: var(--k-green); }
.k-step.now {
  border: 0; color: #fff; background: linear-gradient(180deg, var(--k-orange-1), var(--k-orange-2));
  box-shadow: 0 5px 0 var(--k-orange-edge);
}

/* ------------------------------------------------------------ 안내판 카드 */
.k-card {
  position: absolute; background: var(--k-cream); border-radius: 30px; box-shadow: 0 0 0 3px var(--k-line) inset, var(--k-shadow);
}
.k-title { font-family: var(--font-display); color: var(--k-green); font-size: 46px; margin: 0; line-height: 1.15; }
.k-sub { color: var(--k-muted); font-size: 22px; margin: 0; }

/* ------------------------------------------------------------ KP-01 시작 */
.kp01-ci { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); width: 206px; }
.kp01-intro { position: absolute; top: 64px; width: 100%; text-align: center; font-family: var(--font-display); font-size: 34px; line-height: 1.32; color: #36332d; }
.kp01-title { position: absolute; left: 50%; top: 146px; transform: translateX(-50%); width: 692px; }
.kp01-steps { position: absolute; top: 295px; left: 0; width: 100%; display: flex; justify-content: center; align-items: center; gap: 4px; }
.kp01-steps img.step { width: 224px; animation: k-bounce 3.6s ease-in-out infinite; }
.kp01-steps img.step:nth-of-type(3) { animation-delay: 1.2s; }
.kp01-steps img.step:nth-of-type(5) { animation-delay: 2.4s; }
.kp01-steps img.arrow { width: 66px; margin: 0 6px; transform: translateY(-14px); }
@keyframes k-bounce { 0%, 30%, 100% { transform: translateY(0); } 12% { transform: translateY(-16px); } 22% { transform: translateY(-4px); } }
.kp01-start { position: absolute; left: 50%; top: 557px; transform: translateX(-50%); width: 340px; height: 104px; font-size: 44px; }
.kp01-closed { position: absolute; left: 50%; top: 557px; transform: translateX(-50%); width: 480px; height: 104px; border-radius: 999px;
  display: grid; place-items: center; font-family: var(--font-display); font-size: 36px; color: #7a6f5c; background: rgba(255, 251, 239, .92);
  box-shadow: 0 0 0 3px var(--k-line) inset; }
.kp01-foot { position: absolute; bottom: 44px; width: 100%; text-align: center; }
.kp01-foot b { display: block; font-size: 26px; color: #2f2b26; font-weight: 700; }
.kp01-foot span { display: block; margin-top: 8px; font-size: 19px; color: #4b463d; }

/* ------------------------------------------------------------ KP-02 이름 */
.kp02-card { left: 140px; top: 125px; width: 1000px; height: 496px; text-align: center; padding-top: 42px; }
.kp02-input-row { margin: 34px auto 0; display: flex; align-items: center; justify-content: center; gap: 20px; }
.kp02-input {
  width: 598px; height: 108px; border-radius: 999px; border: 4px solid #f0a14d; background: #fff; text-align: center;
  font-family: var(--font-display); font-size: 50px; color: var(--k-text); outline: none; box-shadow: 0 6px 0 #f3d9b8;
}
.kp02-input.shake { animation: k-shake .45s ease; border-color: var(--k-red); }
@keyframes k-shake { 20%, 60% { transform: translateX(-12px); } 40%, 80% { transform: translateX(12px); } }
.kp02-count { margin-top: 14px; font-size: 20px; color: var(--k-muted); }
.kp02-err { color: var(--k-red); font-size: 22px; height: 28px; margin-top: 4px; }
.kp02-chips { display: flex; gap: 12px; justify-content: center; margin-top: 10px; }
.kp02-chip { height: 64px; padding: 0 26px; font-size: 22px; font-family: var(--font-body); font-weight: 700; color: #2f2b26; }
.kp02-hint { font-family: var(--font-display); color: var(--k-green); font-size: 24px; margin-top: 8px; }

/* ------------------------------------------------------------ KP-03 녹음 */
.kp03-card { left: 110px; top: 125px; width: 1060px; height: 508px; display: flex; }
.kp03-left { width: 444px; display: flex; flex-direction: column; align-items: center; padding-top: 74px; border-right: 3px dashed #e6d7b7; margin: 70px 0; padding-top: 4px; }
.kp03-left img { width: 188px; }
.kp03-left .k-btn { width: 340px; height: 92px; margin-top: 30px; font-size: 28px; }
.kp03-left small { margin-top: 18px; font-size: 19px; color: var(--k-muted); }
.kp03-right { flex: 1 1; padding: 74px 46px 0 40px; }
.kp03-right h2 { font-size: 40px; }
.kp03-recv { margin-top: 26px; display: flex; align-items: baseline; gap: 12px; }
.kp03-recv b { font-family: var(--font-display); font-size: 26px; font-weight: 400; color: #2f2b26; }
.kp03-recv span { font-size: 19px; color: var(--k-muted); }
.kp03-file {
  margin-top: 14px; height: 164px; border-radius: 26px; display: flex; align-items: center; gap: 22px; padding: 0 26px;
  border: 4px solid var(--k-blue); background: #fff;
}
.kp03-file.empty { border: 4px dashed #d9caa7; background: rgba(255, 255, 255, .5); justify-content: center; color: #8a806b; font-family: var(--font-display); font-size: 28px; }
.kp03-file .ico { width: 84px; height: 84px; border-radius: 50%; background: var(--k-blue-soft); display: grid; place-items: center; color: var(--k-blue); flex: none; }
.kp03-file .meta { min-width: 0; flex: 1 1; }
.kp03-file .name { font-weight: 700; font-size: 23px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kp03-file .info { font-size: 18px; color: var(--k-muted); margin-top: 6px; }
.kp03-actions { display: flex; gap: 16px; margin-top: 18px; }
.kp03-actions .k-btn { height: 74px; font-size: 25px; }
.kp03-actions .k-btn:first-child { width: 212px; }
.kp03-actions .k-btn:last-child { flex: 1 1; }
.k-wave { display: flex; align-items: center; gap: 4px; height: 50px; margin-top: 10px; }
.k-wave i { display: block; width: 6px; border-radius: 3px; background: #7aa7d4; }
.k-wave i.on { background: var(--k-blue); }

/* QR 팝업 */
.k-dim { position: absolute; inset: 0; background: rgba(40, 52, 33, .45); }
.kp03-qr { left: 130px; top: 118px; width: 1020px; height: 598px; display: flex; padding: 42px 50px 0 60px; gap: 52px; }
.kp03-qr .qrbox { width: 312px; display: flex; flex-direction: column; align-items: center; }
.kp03-qr .qr { width: 312px; height: 312px; border: 4px solid var(--k-green); border-radius: 26px; background: #fff; display: grid; place-items: center; position: relative; overflow: hidden; }
.kp03-qr .qr img { width: 268px; height: 268px; image-rendering: pixelated; }
.kp03-qr .qr.expired img { opacity: .15; filter: blur(2px); }
.kp03-qr .qr .renew { position: absolute; }
.kp03-qr .timer { margin-top: 18px; padding: 8px 22px; border-radius: 999px; background: #fde4e1; color: #b7372b; font-weight: 800; font-size: 21px; }
.kp03-qr .desc { font-size: 22px; color: #4b463d; line-height: 1.55; margin-top: 18px; }
.kp03-qr .arrive { margin-top: 28px; border-radius: 22px; background: #fbf1d8; padding: 22px 26px; }
.kp03-qr .arrive b { font-family: var(--font-display); font-weight: 400; color: var(--k-green); font-size: 24px; }
.kp03-qr .arrive .fn { font-weight: 700; font-size: 19px; margin-top: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kp03-qr .bar { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.kp03-qr .bar .track { flex: 1 1; height: 18px; background: #ebe2cc; border-radius: 9px; overflow: hidden; }
.kp03-qr .bar .fill { height: 100%; background: var(--k-blue); border-radius: 9px; transition: width .4s; }
.kp03-qr .bar span { font-weight: 800; color: #5a5245; width: 52px; text-align: right; font-size: 19px; }
.kp03-qr .ok { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); width: 220px; height: 86px; font-size: 34px; }
.kp03-qr .close { position: absolute; right: -28px; top: -28px; }

/* ------------------------------------------------------------ KP-04 장소 */
.kp04-card { left: 70px; top: 112px; width: 1140px; height: 640px; padding: 34px 38px 0; }
.kp04-head { display: flex; align-items: baseline; gap: 18px; }
.kp04-head .k-title { font-size: 42px; }
.kp04-maps { display: flex; gap: 24px; margin-top: 20px; }
.kp04-map { position: relative; height: 432px; border-radius: 26px; background: #eef4e5; box-shadow: 0 0 0 3px #d7e5c9 inset; overflow: hidden; }
.kp04-map.f1 { width: 642px; }
.kp04-map.b1 { width: 422px; }
.kp04-map > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.kp04-floor-tag { position: absolute; top: 16px; padding: 6px 18px; border-radius: 999px; background: var(--k-green); color: #fff; font-family: var(--font-display); font-size: 22px; z-index: 2; }
.kp04-map.f1 .kp04-floor-tag { right: 16px; }
.kp04-map.b1 .kp04-floor-tag { left: 16px; }
.kp04-place {
  position: absolute; border: 3px solid #d6c27d; background: #f8eebd; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--font-display); color: #3a372f; font-size: 19px; line-height: 1.15; text-align: center; padding: 2px 6px;
  cursor: pointer; box-shadow: 0 3px 0 #e2d49a; word-break: keep-all;
}
.kp04-place.sel { border-color: #ef7b22; background: #ffe2c6; box-shadow: 0 0 0 3px rgba(239, 123, 34, .25), 0 3px 0 #f0b07a; color: #b24f0d; }
.kp04-pin { position: absolute; left: -18px; top: -20px; width: 34px; height: 34px; border-radius: 50%; background: #e5584b; color: #fff; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.kp04-legend { position: absolute; left: 22px; bottom: 18px; font-size: 16px; color: #5a5245; line-height: 1.7; }
.kp04-legend i { display: inline-block; width: 18px; height: 14px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.kp04-foot { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.kp04-foot .k-btn { height: 66px; font-size: 24px; }
.kp04-foot .k-btn.sel { box-shadow: 0 0 0 4px #ef7b22 inset; color: #b24f0d; background: #fff3e6; }
.kp04-picked { padding: 12px 24px; border-radius: 999px; background: #fde4d4; color: #8d3d10; font-family: var(--font-display); font-size: 23px; }
.kp04-next { position: absolute; right: 38px; bottom: 26px; width: 210px; height: 76px; font-size: 32px; }

/* ------------------------------------------------------------ KP-05 연주 */
.kp05-card { left: 110px; top: 117px; width: 1060px; height: 538px; padding: 32px 40px 0; }
.kp05-head { display: flex; align-items: baseline; gap: 18px; }
.kp05-head .k-title { font-size: 44px; }
.kp05-body { display: flex; gap: 28px; margin-top: 22px; }
.kp05-play { width: 608px; height: 412px; border-radius: 28px; background: #2b5a2e; color: #fff; padding: 26px 34px; position: relative; overflow: hidden; }
.kp05-state { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 700; color: #eaf3e2; }
.kp05-dot { width: 22px; height: 22px; border-radius: 50%; background: #9fb59a; flex: none; }
.kp05-dot.rec { background: var(--k-red); box-shadow: 0 0 0 5px rgba(233, 88, 74, .35); animation: k-blink 1s infinite; }
.kp05-dot.busy { background: #f2b33d; }
@keyframes k-blink { 50% { opacity: .35; } }
.kp05-time { font-family: 'Gothic A1', sans-serif; font-weight: 800; font-size: 104px; letter-spacing: -2px; margin-top: 4px; }
.kp05-time small { font-size: 34px; color: #cfe0c8; font-weight: 700; margin-left: 14px; letter-spacing: 0; }
.kp05-prog { height: 20px; background: rgba(255, 255, 255, .18); border-radius: 10px; overflow: hidden; margin-top: 4px; }
.kp05-prog i { display: block; height: 100%; background: linear-gradient(90deg, #f7b04f, #ef7b22); border-radius: 10px; transition: width .9s linear; }
.kp05-tip { position: absolute; left: 34px; bottom: 30px; font-size: 18px; color: #d7e6cf; line-height: 1.5; }
.kp05-tip b { display: block; color: #fff; font-size: 23px; }
.kp05-eq { position: absolute; right: 34px; bottom: 30px; display: flex; align-items: flex-end; gap: 9px; height: 110px; }
.kp05-eq i { width: 16px; border-radius: 8px; background: #a5cf8e; height: 30%; }
.kp05-eq.on i { animation: k-eq .9s ease-in-out infinite; }
.kp05-eq i:nth-child(3n) { background: #f2b33d; } .kp05-eq i:nth-child(4n) { background: #ec7a5d; } .kp05-eq i:nth-child(5n) { background: #fff; }
@keyframes k-eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.kp05-list { flex: 1 1; }
.kp05-list-head { display: flex; justify-content: space-between; align-items: baseline; }
.kp05-list-head b { font-family: var(--font-display); font-weight: 400; font-size: 28px; color: var(--k-green); }
.kp05-list-head span { font-size: 17px; font-weight: 700; color: var(--k-green); display: flex; align-items: center; gap: 6px; }
.kp05-list-head span i { width: 11px; height: 11px; border-radius: 50%; background: #3e9b4c; display: inline-block; }
.kp05-list-head span.off { color: #a06a20; } .kp05-list-head span.off i { background: #e0a43a; }
.kp05-take {
  margin-top: 14px; height: 88px; border-radius: 22px; background: #fff; display: flex; align-items: center; gap: 16px; padding: 0 18px;
  box-shadow: 0 0 0 3px var(--k-line) inset; cursor: pointer;
}
.kp05-take.sel { box-shadow: 0 0 0 4px #ef8a2b inset, 0 6px 0 #f3d2b0; }
.kp05-take .badge { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #fdebd5; color: #d06e16; }
.kp05-take.sel .badge { background: #ef8a2b; color: #fff; }
.kp05-take .t { flex: 1 1; min-width: 0; }
.kp05-take .t b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 26px; }
.kp05-take .t span { font-size: 17px; color: var(--k-muted); font-weight: 700; }
.kp05-take.pending { background: transparent; box-shadow: none; border: 3px dashed #d8c7a4; cursor: default; }
.kp05-take.pending .t span { color: #d06e16; }
.kp05-playbtn { width: 56px; height: 56px; border-radius: 50%; border: 0; background: #2b5a2e; color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.kp05-note { position: absolute; left: 676px; bottom: 30px; display: flex; align-items: center; gap: 16px; font-size: 19px; font-weight: 700; color: #3f3a32; line-height: 1.5; }
.kp05-note img { width: 82px; }
.kp05-short { position: absolute; left: 50%; top: 652px; transform: translateX(-50%); background: #fff2d9; border: 3px solid #f3c27a; color: #8a4b0a; padding: 12px 28px; border-radius: 999px; font-weight: 800; font-size: 22px; }
.kp05-next { position: absolute; right: 100px; bottom: 30px; width: 350px; height: 92px; font-size: 36px; }

/* ------------------------------------------------------------ 확인 팝업 · 안내 */
.k-modal { left: 340px; top: 230px; width: 600px; min-height: 300px; padding: 44px 40px 36px; text-align: center; }
.k-modal h3 { font-family: var(--font-display); font-weight: 400; color: var(--k-green); font-size: 38px; margin: 0; }
.k-modal p { font-size: 22px; color: var(--k-muted); margin: 16px 0 0; }
.k-modal .row { display: flex; gap: 18px; justify-content: center; margin-top: 34px; }
.k-modal .row .k-btn { width: 220px; height: 80px; font-size: 30px; }
.k-overlay-msg { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(30, 40, 26, .55); z-index: 50; }
.k-overlay-msg > div { background: var(--k-cream); border-radius: 30px; padding: 40px 60px; text-align: center; box-shadow: var(--k-shadow); }
.k-overlay-msg h3 { font-family: var(--font-display); font-weight: 400; color: var(--k-green); font-size: 40px; margin: 0; }
.k-overlay-msg p { color: var(--k-muted); font-size: 22px; margin: 12px 0 0; }
.k-spinner { width: 54px; height: 54px; border-radius: 50%; border: 7px solid #e6dcc3; border-top-color: var(--k-orange-2); animation: k-spin 1s linear infinite; margin: 0 auto 18px; }
@keyframes k-spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------ KP-00 숨김 설정 */
.k-hidden-corner { position: absolute; left: 0; top: 0; width: 80px; height: 80px; z-index: 40; }
.kp00-pin { left: 390px; top: 70px; width: 500px; height: 676px; padding: 30px 40px; text-align: center; z-index: 61; }
.kp00-lock { width: 64px; height: 64px; border-radius: 50%; background: #dceccf; color: var(--k-green); display: grid; place-items: center; margin: 0 auto; }
.kp00-pin h3 { font-family: var(--font-display); font-weight: 400; color: var(--k-green); font-size: 34px; margin: 12px 0 0; }
.kp00-pin p { font-size: 19px; color: var(--k-muted); margin: 8px 0 0; min-height: 26px; }
.kp00-pin p.err { color: var(--k-red); font-weight: 700; }
.kp00-dots { display: flex; gap: 20px; justify-content: center; margin: 18px 0 20px; }
.kp00-dots i { width: 26px; height: 26px; border-radius: 50%; border: 3px solid #c9bd9f; }
.kp00-dots i.on { background: var(--k-green); border-color: var(--k-green); }
.kp00-keys { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 14px; gap: 14px; }
.kp00-keys button { height: 74px; border-radius: 18px; border: 3px solid #e7dbbd; background: #fff; font-family: 'Gothic A1', sans-serif; font-weight: 800; font-size: 32px; color: #2f2b26; cursor: pointer; }
.kp00-keys button.del { background: #f1ebdc; font-family: var(--font-display); font-weight: 400; font-size: 26px; }
.kp00-keys button.ok { border: 0; color: #fff; background: linear-gradient(180deg, var(--k-orange-1), var(--k-orange-2)); font-family: var(--font-display); font-weight: 400; font-size: 28px; }
.kp00-close { margin-top: 16px; background: none; border: 0; font-size: 19px; color: #5d564a; cursor: pointer; }

.kp00-set { left: 70px; top: 40px; width: 1140px; height: 620px; padding: 32px 40px; z-index: 61; display: flex; gap: 0; }
.kp00-set .col { flex: 1 1; }
.kp00-set .col.side { flex: none; width: 360px; border-left: 3px dashed #e6d7b7; padding-left: 32px; margin-left: 32px; display: flex; flex-direction: column; }
.kp00-h { display: flex; align-items: center; gap: 14px; }
.kp00-h .gear { width: 56px; height: 56px; border-radius: 50%; background: #dceccf; color: var(--k-green); display: grid; place-items: center; }
.kp00-h h2 { font-family: var(--font-display); font-weight: 400; font-size: 40px; color: var(--k-green); margin: 0; }
.kp00-badge { position: absolute; right: 40px; top: 38px; background: #fdecc3; color: #7a5b17; padding: 8px 18px; border-radius: 999px; font-weight: 800; font-size: 17px; }
.kp00-sec { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-family: var(--font-display); font-size: 25px; color: var(--k-green); }
.kp00-sec i { width: 34px; height: 34px; border-radius: 50%; background: var(--k-green); color: #fff; display: grid; place-items: center; font-style: normal; font-family: 'Gothic A1', sans-serif; font-weight: 800; font-size: 18px; }
.kp00-pianos { display: flex; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.kp00-piano { width: 190px; height: 96px; border-radius: 22px; border: 3px solid #e6d8b8; background: #fff; cursor: pointer; text-align: center; padding-top: 12px; }
.kp00-piano b { display: block; font-family: 'Gothic A1', sans-serif; font-weight: 800; font-size: 34px; color: #2f2b26; }
.kp00-piano span { font-size: 14px; color: var(--k-muted); font-weight: 700; }
.kp00-piano.sel { border: 0; background: linear-gradient(180deg, var(--k-orange-1), var(--k-orange-2)); box-shadow: 0 5px 0 var(--k-orange-edge); }
.kp00-piano.sel b, .kp00-piano.sel span { color: #fff; }
.kp00-piano.taken { border-style: dashed; background: #efe9dc; }
.kp00-piano.taken b { color: #9b917f; }
.kp00-note { font-size: 16px; color: var(--k-muted); margin-top: 10px; }
.kp00-check { margin-top: 12px; height: 96px; border-radius: 22px; display: flex; align-items: center; gap: 18px; padding: 0 22px; background: #f3efe4; border: 3px solid #e3d9c2; }
.kp00-check.ok { background: #e6f2dc; border-color: #b9d8a6; }
.kp00-check.fail { background: #fdeceb; border-color: #f2b8b2; }
.kp00-check .ic { width: 56px; height: 56px; border-radius: 50%; background: var(--k-green); color: #fff; display: grid; place-items: center; flex: none; }
.kp00-check.fail .ic { background: var(--k-red); }
.kp00-check.wait .ic { background: #b8ae98; }
.kp00-check .tx { flex: 1 1; }
.kp00-check .tx b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 25px; color: var(--k-green); }
.kp00-check.fail .tx b { color: #b7372b; }
.kp00-check .tx span { font-size: 15px; color: var(--k-muted); font-weight: 700; }
.kp00-check .k-btn { height: 58px; font-size: 21px; padding: 0 20px; }
.kp00-vol { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.kp00-vol input { flex: 1 1; accent-color: var(--k-green); height: 30px; }
.kp00-vol b { width: 46px; font-weight: 800; font-size: 22px; text-align: right; }
.kp00-stat { margin-top: 12px; }
.kp00-stat div { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 2px dashed #e6dcc6; font-size: 19px; }
.kp00-stat div b { font-weight: 800; }
.kp00-stat div b.good { color: #2f7a3a; }
.kp00-stat div b.bad { color: #b7372b; }
.kp00-refresh { margin-top: auto; width: 250px; height: 62px; font-size: 21px; }
.kp00-actions .k-btn { position: absolute; bottom: 22px; height: 88px; font-size: 34px; z-index: 61; }
.kp00-actions .close { left: 70px; width: 220px; }
.kp00-actions .save { right: 70px; width: 280px; }

/* ------------------------------------------------------------ 설정 필요 · 다음 단계 */
.k-center-card { left: 240px; top: 170px; width: 800px; height: 440px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; }
.k-center-card .k-title { font-size: 44px; }
.k-center-card p { font-size: 22px; color: var(--k-muted); line-height: 1.6; margin: 18px 0 0; }
.k-toast { position: absolute; left: 50%; bottom: 150px; transform: translateX(-50%); padding: 14px 30px; border-radius: 999px; background: rgba(47, 43, 38, .88); color: #fff; font-size: 22px; font-weight: 700; z-index: 70; }

/* ============================================================ KP-06 장르 고르기 */
.kp06-card { left: 102px; top: 118px; width: 1076px; height: 536px; display: flex; padding: 32px 0 0 42px; }
.kp06-left { width: 320px; padding-right: 22px; position: relative; }
.kp06-left h2 { font-family: var(--font-display); font-weight: 400; font-size: 36px; color: var(--k-green); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kp06-left .lb { font-size: 17px; font-weight: 800; color: #5d564a; margin-top: 22px; }
.kp06-left .row { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 18px; font-weight: 800; color: #5d564a; }
.kp06-chip { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 18px; font-weight: 800; max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kp06-chip.place { background: #e2edfb; color: #2c5f90; }
.kp06-chip.piano { background: #f9d9d3; color: #8a2b22; font-family: var(--font-display); font-weight: 400; font-size: 19px; }
.kp06-edit { position: absolute; left: 0; width: 298px; height: 58px; font-size: 22px; color: var(--k-green); }
.kp06-divider { width: 0; border-left: 3px dashed #e3d5b5; margin: 4px 0 32px; }
.kp06-right { flex: 1 1; padding-left: 30px; }
.kp06-right h2 { font-family: var(--font-display); font-weight: 400; font-size: 42px; color: var(--k-green); margin: 0 0 22px; }
.kp06-grid { display: grid; grid-template-columns: repeat(3, 188px); grid-gap: 18px; gap: 18px; }
.kp06-genre {
  height: 148px; border-radius: 22px; border: 3px solid rgba(0, 0, 0, .06); cursor: pointer; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; font-family: var(--font-display); font-size: 27px; color: #2f2b26;
  transition: transform .1s; position: relative;
}
.kp06-genre .ic { width: 68px; height: 68px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.kp06-genre.sel { border: 4px solid #ef8a2b; box-shadow: 0 7px 0 #d06e16; transform: translateY(-3px); }
.kp06-genre.playing .ic { animation: k-pulse .8s ease-in-out infinite; }
.kp06-hint { font-size: 18px; font-weight: 700; color: #5d564a; margin-top: 20px; }
.kp06-pager { display: flex; gap: 10px; margin-top: 10px; }
.kp06-go { position: absolute; right: 92px; bottom: 26px; width: 340px; height: 92px; font-size: 38px; }
@keyframes k-pulse { 50% { transform: scale(1.12); } }

/* ============================================================ KP-07 만드는 중 */
.kp07-card { left: 132px; top: 112px; width: 1016px; height: 558px; text-align: center; padding-top: 34px; }
.kp07-badge { width: 160px; height: 160px; border-radius: 50%; background: #f5c542; margin: 0 auto; display: grid; place-items: center; color: #2e3a28; position: relative; box-shadow: 0 8px 18px rgba(200, 150, 20, .25); }
.kp07-badge .wand { position: absolute; left: 28px; top: 30px; color: #c2410c; animation: k-wiggle 1.4s ease-in-out infinite; }
.kp07-deco { position: absolute; font-size: 44px; color: #e2574c; animation: k-float 3s ease-in-out infinite; }
.kp07-deco.g { color: #4b9a4e; animation-delay: -1.5s; }
.kp07-card h1 { font-family: var(--font-display); font-weight: 400; font-size: 50px; color: var(--k-green); margin: 26px 0 0; }
.kp07-card .sub { font-size: 21px; font-weight: 700; color: #5d564a; margin-top: 12px; }
.kp07-prog { margin: 30px auto 0; width: 818px; height: 34px; border-radius: 17px; background: #ebe2cc; box-shadow: 0 0 0 3px #e3d6b8 inset; overflow: hidden; }
.kp07-prog i { display: block; height: 100%; border-radius: 17px; background: linear-gradient(90deg, #f7b04f, #ef7b22); transition: width 2.6s linear; }
.kp07-meta { width: 818px; margin: 12px auto 0; display: flex; justify-content: space-between; font-size: 21px; font-weight: 800; color: #4b463d; }
.kp07-steps { display: flex; gap: 16px; justify-content: center; margin-top: 30px; }
.kp07-step { width: 198px; height: 106px; border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 3px dashed #d6c6a2; background: #fff; }
.kp07-step b { font-family: var(--font-display); font-weight: 400; font-size: 25px; color: #2f2b26; }
.kp07-step span { font-size: 17px; font-weight: 800; color: #5d564a; }
.kp07-step.done { border: 3px solid var(--k-green-line); background: var(--k-green-soft); }
.kp07-step.done span { color: var(--k-green); }
.kp07-step.now { border: 4px solid #ef8a2b; background: #fff2cf; }
.kp07-step.now span { color: #a24b0c; }
.kp07-go { position: absolute; right: 90px; bottom: 26px; width: 330px; height: 84px; font-size: 30px; }
.kp07-go:disabled { opacity: 1; filter: none; color: #5d564a; background: #efe6d2; box-shadow: 0 0 0 3px #e3d6b8 inset, 0 5px 0 #d8caa9; }
.kp07-fail { margin: 34px auto 0; width: 760px; font-size: 22px; font-weight: 700; color: #8a2b22; background: #fde4e1; border-radius: 20px; padding: 18px; }
@keyframes k-wiggle { 50% { transform: rotate(-14deg); } }
@keyframes k-float { 50% { transform: translateY(-12px); } }

/* ============================================================ KP-08 결과 */
.kp08-card { left: 92px; top: 113px; width: 1096px; height: 557px; }
.kp08-tabs { position: absolute; left: 36px; top: 30px; display: flex; align-items: center; gap: 14px; }
.kp08-tab { height: 58px; min-width: 118px; padding: 0 24px; border-radius: 999px; border: 3px solid var(--k-line); background: #fff; font-family: var(--font-display); font-size: 24px; cursor: pointer; color: #2f2b26; }
.kp08-tab.sel { border: 4px solid #ef8a2b; background: #fff1d6; }
.kp08-tabs span { font-size: 19px; font-weight: 700; color: #5d564a; margin-left: 4px; }
.kp08-player { position: absolute; left: 36px; top: 102px; width: 664px; height: 348px; border-radius: 26px; overflow: hidden; background: #2b5a2e; cursor: pointer; }
.kp08-player video { width: 100%; height: 100%; object-fit: cover; display: block; }
.kp08-bigplay { position: absolute; left: 50%; top: 50%; width: 112px; height: 112px; margin: -56px 0 0 -56px; border-radius: 50%; border: 0; background: linear-gradient(180deg, var(--k-orange-1), var(--k-orange-2)); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 0 var(--k-orange-edge); pointer-events: none; }
.kp08-time { position: absolute; left: 36px; top: 470px; width: 664px; display: flex; align-items: center; gap: 18px; }
.kp08-time .track { flex: 1 1; height: 16px; border-radius: 8px; background: #ebe2cc; overflow: hidden; }
.kp08-time .track i { display: block; height: 100%; background: var(--k-blue); border-radius: 8px; }
.kp08-time b { font-family: var(--font-display); font-weight: 400; font-size: 25px; color: #2f2b26; white-space: nowrap; }
.kp08-side { position: absolute; left: 732px; top: 28px; width: 330px; }
.kp08-side h1 { font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 1.3; color: var(--k-green); margin: 0 0 22px; }
.kp08-side .k-btn { width: 330px; }
.kp08-again { height: 74px; font-size: 27px; color: var(--k-green); }
.kp08-phone { height: 84px; font-size: 30px; margin-top: 16px; }
.kp08-check { display: flex; align-items: center; gap: 16px; margin-top: 20px; height: 78px; padding: 0 20px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 3px var(--k-line) inset; cursor: pointer; }
.kp08-check .box { width: 34px; height: 34px; border-radius: 8px; border: 3px solid #b8ab8d; display: grid; place-items: center; flex: none; background: #fff; color: #fff; }
.kp08-check.on .box { background: var(--k-green); border-color: var(--k-green); }
.kp08-check b { display: block; font-size: 19px; font-weight: 800; color: #2f2b26; }
.kp08-check small { font-size: 15px; font-weight: 700; color: #5d564a; }
.kp08-end { height: 68px; font-size: 26px; margin-top: 16px; color: #5d564a; background: #efe6d2; box-shadow: 0 0 0 3px #e3d6b8 inset, 0 4px 0 #d8caa9; }
.kp08-qr { left: 190px; top: 130px; width: 900px; height: 540px; display: flex; gap: 46px; padding: 52px 56px 0; }
.kp08-qr .qr { width: 300px; height: 300px; border: 4px solid var(--k-green); border-radius: 26px; background: #fff; display: grid; place-items: center; flex: none; }
.kp08-qr .qr img { width: 260px; height: 260px; image-rendering: pixelated; }
.kp08-qr h2 { font-family: var(--font-display); font-weight: 400; font-size: 40px; color: var(--k-green); margin: 10px 0 0; line-height: 1.3; }
.kp08-qr p { font-size: 21px; line-height: 1.6; color: #4b463d; margin-top: 18px; font-weight: 600; }
.kp08-qr .until { display: inline-block; margin-top: 10px; padding: 8px 20px; border-radius: 999px; background: #fde4e1; color: #b7372b; font-weight: 800; font-size: 19px; }
.kp08-qr .ok { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); width: 220px; height: 84px; font-size: 32px; }
.kp08-qr .close { position: absolute; right: -28px; top: -28px; }
.kp08-bye { position: absolute; inset: 0; z-index: 70; display: grid; place-items: center; background: rgba(40, 52, 33, .55); }
.kp08-bye > div { background: var(--k-cream); border-radius: 30px; padding: 44px 70px; text-align: center; box-shadow: var(--k-shadow); }
.kp08-bye h2 { font-family: var(--font-display); font-weight: 400; font-size: 46px; color: var(--k-green); margin: 0; }
.kp08-bye p { font-size: 22px; font-weight: 700; color: #5d564a; margin: 14px 0 0; }
.kp08-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

