/* v1.78 메뉴 화면 「검결」 — 결투 새 화면과 같은 결: 먹·한지·주홍 낙관·검은 나무 테·금선.
   html.sk2 일 때만. 설정 › 화면 디자인 「옛 판」(cs_skin=1)이면 아무것도 바꾸지 않는다.
   원칙: 읽는 글은 한지 위 먹글씨, 누르는 것은 낙관, 틀은 옻칠 나무. 장식은 이 세 가지로만. */
html.sk2{--hj:#f1e5c6;--hj2:#e2cfa2;--inkT:#22140a;--wood:#2a170a;--seal:#a8261a;--sealL:#c0321c;--gl:rgba(217,180,106,.75)}

/* ── 위: 날짜는 붓글씨, 은자·빚은 작은 한지 패 */
html.sk2 #tDate{font-family:B,"Song Myung",serif!important;font-weight:400!important;letter-spacing:1px;text-shadow:0 1px 0 #000,0 0 8px #000}
html.sk2 #tDate small{font-family:"Noto Sans KR",sans-serif;font-weight:600}
html.sk2 #tRes div{border-radius:3px!important;background:linear-gradient(var(--hj),var(--hj2))!important;border:0!important;color:var(--inkT)!important;box-shadow:0 0 0 1.5px var(--wood),0 0 0 2.5px var(--gl),0 2px 6px rgba(0,0,0,.6)!important}
html.sk2 #tRes div small{color:#6a4a2a!important}
html.sk2 #tRes .warn{background:linear-gradient(#e9b59c,#d48a6c)!important;color:#4a0804!important}
html.sk2 #quest{border-radius:3px!important;background:linear-gradient(var(--hj),var(--hj2))!important;border:0!important;color:var(--inkT)!important;box-shadow:0 0 0 1.5px var(--wood),0 0 0 2.5px var(--gl),0 4px 10px rgba(0,0,0,.55)!important}
html.sk2 #quest b{border-radius:2px!important;background:var(--seal)!important;box-shadow:inset 0 0 0 1px rgba(255,220,190,.5)}
html.sk2 #quest *{color:inherit}html.sk2 #quest b{color:#fff0dc!important}html.sk2 #quest small,html.sk2 #quest em{color:#6a4a2a!important}

/* ── 판(아래에서 올라오는 창): 옻칠 나무판 + 위 금선 두 줄 */
html.sk2 #pane{border-radius:4px 4px 0 0!important;border-top:0!important;box-shadow:0 -2px 0 var(--wood),0 -3.5px 0 var(--gl),0 -12px 26px rgba(0,0,0,.6)!important}

/* 탭: 고른 탭만 붉은 낙관, 나머지는 먹빛 글자 */
html.sk2 #seg{gap:4px!important;padding:10px 10px 8px!important;border-bottom:1px solid rgba(217,180,106,.25)}
html.sk2 #seg button{border-radius:3px!important;border:0!important;background:transparent!important;color:#c9b48a!important;font-family:"Noto Serif KR",serif!important;letter-spacing:1px;box-shadow:none!important}
html.sk2 #seg button.on{background:radial-gradient(circle at 50% 35%,var(--sealL),var(--seal) 70%,#6a1006)!important;color:#fff3dc!important;box-shadow:inset 0 0 0 1.5px rgba(255,220,190,.55),0 2px 6px rgba(0,0,0,.6)!important;transform:rotate(-1.5deg)}
html.sk2 #seg button u{border-radius:2px!important;background:var(--hj)!important;color:var(--seal)!important;box-shadow:0 0 0 1px var(--wood)}

/* 제목줄: 붓글씨 + 앞에 붉은 마름모 */
html.sk2 #list .hd{color:#ecd8a8!important;padding-top:4px;border-top:1px solid rgba(217,180,106,.18)}
html.sk2 #list .hd:first-child{border-top:0}
html.sk2 #list .hd::before{content:"";flex:none;align-self:center;width:7px;height:7px;margin-right:-2px;background:var(--sealL);transform:rotate(45deg);box-shadow:0 0 0 1px #000}

/* 줄 하나: 옻칠 판에 금 실선, 눌리는 단추는 오른쪽 낙관 */
html.sk2 .rw{border-radius:4px!important;border:0!important;background:linear-gradient(90deg,rgba(40,26,16,.96),rgba(22,15,10,.96))!important;box-shadow:0 0 0 1px rgba(217,180,106,.38),0 3px 8px rgba(0,0,0,.45)!important}
html.sk2 .rw:not(:disabled):active{box-shadow:0 0 0 1.5px #ffd88a,0 3px 8px rgba(0,0,0,.45)!important}
html.sk2 .rw .th{box-shadow:1px 0 0 rgba(217,180,106,.35)}
html.sk2 .rw q{border-radius:3px!important;background:linear-gradient(var(--hj),var(--hj2))!important;color:var(--inkT)!important;font-family:"Noto Serif KR",serif;box-shadow:0 0 0 1px var(--wood),0 0 0 2px rgba(217,180,106,.5)}
html.sk2 .rw q.red{background:radial-gradient(circle at 50% 35%,var(--sealL),var(--seal) 70%,#6a1006)!important;color:#fff3dc!important;box-shadow:inset 0 0 0 1.5px rgba(255,220,190,.55),0 0 0 1px var(--wood)}
html.sk2 .rw:disabled q{filter:grayscale(.8) brightness(.8)}

/* ── 아래 길잡이: 검은 나무 띠, 고른 곳은 붉은 낙관 밑줄 */
html.sk2 #nav{background:linear-gradient(#1e130b,#0c0805)!important;border-top:0!important;box-shadow:0 -1.5px 0 var(--gl),0 -6px 14px rgba(0,0,0,.6)}
html.sk2 #nav button{position:relative;font-family:"Noto Serif KR",serif}
html.sk2 #nav button.on::after{content:"";position:absolute;left:30%;right:30%;bottom:5px;height:3px;border-radius:2px;background:var(--sealL);box-shadow:0 0 6px rgba(200,50,28,.7)}

/* ── 대사창: 한지 위 먹글씨 (결투 대사창과 같다) */
html.sk2 #vnBox{background:linear-gradient(#f4e9cd,#e6d4aa)!important;border:1px solid #8a6a40!important;border-radius:5px!important;box-shadow:0 0 0 3px var(--wood),0 0 0 4px var(--gl),0 10px 28px rgba(0,0,0,.7)!important}
html.sk2 #vnTxt{color:var(--inkT)!important;font-family:"Noto Serif KR",serif}
html.sk2 #vnTxt b{color:#8a1e10}html.sk2 #vnTxt em,html.sk2 #vnTxt i{color:#6a4a2a}
html.sk2 #vnWho:not(:empty){border:0!important;border-radius:3px!important;background:var(--seal)!important;box-shadow:inset 0 0 0 1.5px rgba(255,220,190,.55),0 2px 6px rgba(0,0,0,.6)!important}
html.sk2 #vnNext{color:#8a1e10!important}

/* 선택지: 한 줄씩 한지 패 (결투 마무리 고르기와 같다) */
html.sk2 #vn:not(.tm) #vnCh button{border-radius:5px!important;border:1px solid #8a6a40!important;background:linear-gradient(#f2e6c8,#e2cfa2)!important;color:var(--inkT)!important;box-shadow:0 0 0 2px var(--wood),0 3px 8px rgba(0,0,0,.55)!important;font-family:"Noto Serif KR",serif}
html.sk2 #vn:not(.tm) #vnCh button::before{background:var(--seal)!important}
html.sk2 #vn:not(.tm) #vnCh button span,html.sk2 #vn:not(.tm) #vnCh button small{color:#6a4a2a!important}
html.sk2 #vn:not(.tm) #vnCh button:disabled{opacity:.55;filter:grayscale(.6)}

/* 칸 고르기(설정·상점·저장 칸): 한지 칸 + 붉은 인장 */
html.sk2 #vn.tm .tmh{font-family:B,"Song Myung",serif!important;color:#f3e6c6!important;border-bottom:1px solid rgba(217,180,106,.45)}
html.sk2 #vn.tm #vnCh button.tl{border:1px solid #8a6a40!important;border-radius:5px!important;background:linear-gradient(#f2e6c8,#e2cfa2)!important;box-shadow:0 0 0 2px var(--wood),0 3px 8px rgba(0,0,0,.5)!important}
html.sk2 #vn.tm .tl b{color:var(--inkT)!important;font-family:"Noto Serif KR",serif}
html.sk2 #vn.tm .tl span{color:#6a4a2a!important}
html.sk2 #vn.tm .tl i{border-radius:4px!important;background:radial-gradient(circle at 50% 35%,var(--sealL),var(--seal) 70%,#6a1006)!important;box-shadow:inset 0 0 0 1.5px rgba(255,220,190,.55),0 2px 4px rgba(0,0,0,.4)!important}
html.sk2 #vn.tm .tl i.im{background:none!important;box-shadow:none!important}
html.sk2 #vn.tm .tl em{border-color:rgba(90,60,30,.5)!important;color:#5a3a1a!important;background:rgba(255,250,235,.4)!important}
html.sk2 #vn.tm .tl.on em{background:var(--seal)!important;color:#fff3dc!important;border-color:var(--seal)!important;box-shadow:none!important}
html.sk2 #vn.tm .tl.off em{color:#8a7a62!important}
html.sk2 #vn.tm .tl.wide{background:linear-gradient(#2a1a0e,#160e08)!important;border-color:rgba(217,180,106,.5)!important}html.sk2 #vn.tm .tl.wide b{color:#f3e6c6!important}

/* 알림: 한지 띠 + 왼쪽 붉은 획 */
html.sk2 #toast div{background:linear-gradient(var(--hj),var(--hj2))!important;color:var(--inkT)!important;border:0!important;border-left:4px solid var(--seal)!important;border-radius:2px!important;box-shadow:0 0 0 1.5px var(--wood),0 6px 14px rgba(0,0,0,.6)!important}
html.sk2 #toast div.bad{border-left-color:#4a2a14!important;color:#6a1006!important}
html.sk2 #toast div *{color:inherit}html.sk2 #toast div b{color:#8a1e10}
html.sk2 #vn:not(.tm) #vnCh button span,html.sk2 #vn:not(.tm) #vnCh button span *{color:#7a3a14!important;font-weight:700}
html.sk2 #vn:not(.tm) #vnCh button em,html.sk2 #vn:not(.tm) #vnCh button i,html.sk2 #vn:not(.tm) #vnCh button small{color:#7a3a14!important}
/* v1.79 원화 테·인장 */
html.sk2 #vnBox{border:12px solid transparent!important;border-image:url(i/ui/gk/frame_hanji.webp) 36 fill/12px stretch!important;background:none!important;border-radius:0!important;box-shadow:0 10px 28px rgba(0,0,0,.65)!important}
html.sk2 #vnWho:not(:empty){background:url(i/ui/gk/tag_seal.webp) center/100% 100% no-repeat!important;box-shadow:none!important;padding:5px 16px!important;top:-24px!important}
html.sk2 #vn.tm .tl i:not(.im){background:url(i/ui/gk/seal_blank.webp) center/100% 100% no-repeat!important;box-shadow:none!important;border-radius:0!important}
html.sk2 #seg button.on{background:url(i/ui/gk/tag_seal.webp) center/100% 100% no-repeat!important;box-shadow:0 2px 5px rgba(0,0,0,.5)!important}
html.sk2 .rw q.red{background:url(i/ui/gk/tag_seal.webp) center/100% 100% no-repeat!important;box-shadow:none!important}

/* ── v1.82 메뉴 원화 (g 43장 중 메뉴 25장) */
/* 안내 쪽지 */
html.sk2 .ftip{border:12px solid transparent!important;border-image:url(i/ui/gk2/note_hanji.webp?v=201) 30 fill/12px stretch!important;background:none!important;border-radius:0!important;padding:4px 2px 2px 4px!important;filter:drop-shadow(0 4px 6px rgba(0,0,0,.5))}
html.sk2 .ftip p{color:var(--inkT)!important;font-weight:500}html.sk2 .ftip b{color:#8a1e10!important}
html.sk2 .ftip button{border:0!important;border-radius:0!important;background:url(i/ui/gk2/seal_ok.webp?v=201) center/100% 100% no-repeat!important;color:#fff3dc!important;font-family:"Noto Serif KR",serif;min-width:64px;text-shadow:0 1px 0 #5a0c04}
/* 동문 카드 */
html.sk2 .mtc{border:14px solid transparent!important;border-image:url(i/ui/gk2/mate_card.webp?v=201) 40 fill/14px stretch!important;background:none!important;border-radius:0!important;padding:2px 2px 4px!important;box-shadow:none!important;filter:drop-shadow(0 4px 8px rgba(0,0,0,.55))}
html.sk2 .mtc .h img{border-radius:50%!important;padding:5px 5px 9px;background:url(i/ui/gk2/portrait_ring.webp?v=201) center/100% 100% no-repeat!important;object-fit:cover;object-position:top;box-sizing:border-box;border:0!important}
html.sk2 .mtc .up{border:0!important;border-radius:0!important;background:url(i/ui/gk/tag_seal.webp) center/100% 100% no-repeat!important;color:#fff3dc!important;font-family:"Noto Serif KR",serif;box-shadow:none!important}
html.sk2 .mtc .jb button{border:0!important;border-radius:0!important;background:url(i/ui/gk2/job_off.webp?v=201) center/100% 100% no-repeat!important;color:var(--inkT)!important;font-family:"Noto Serif KR",serif;font-weight:800;box-shadow:none!important}
html.sk2 .mtc .jb button.on{background-image:url(i/ui/gk2/job_on.webp?v=201)!important;color:#fff3dc!important;text-shadow:0 1px 0 #5a0c04}
html.sk2 .mtc .jd{color:#d9c49a!important}
/* 수련 동문 고르기 */
html.sk2 .tmr button{background:none!important;border:0!important;box-shadow:none!important;color:#d9c49a!important;font-family:"Noto Serif KR",serif}
html.sk2 .tmr button img{border-radius:50%!important;padding:3px 3px 6px;background:url(i/ui/gk2/portrait_ring.webp?v=201) center/100% 100% no-repeat!important;box-sizing:border-box;border:0!important}
html.sk2 .tmr button.on{color:#fff3dc!important}html.sk2 .tmr button.on img{background-image:url(i/ui/gk2/portrait_ring_on.webp?v=201)!important}
/* 나 — 상태 막대·경지 패 */
html.sk2 .stb i{position:relative;background:#170c08!important;border:0!important;border-radius:0!important;overflow:visible!important}
html.sk2 .stb i::after{content:"";position:absolute;inset:-2px -3px;background:url(i/ui/gk2/bar_frame_s.webp?v=201) center/100% 100% no-repeat;pointer-events:none}
html.sk2 .stb i u{border-radius:0!important}
html.sk2 .rlc>em:first-child{background:url(i/ui/gk2/realm_plate.webp?v=201) center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;color:#f3e2b8!important;box-shadow:none!important}
/* 장부 — 산다·판다, 갈래 칩 */
html.sk2 .gdr button[data-a^="buy"]{border:0!important;border-radius:0!important;background:url(i/ui/gk2/btn_buy.webp?v=201) center/100% 100% no-repeat!important;color:#fff3dc!important;font-family:"Noto Serif KR",serif}
html.sk2 .gdr button[data-a^="sell"]{border:0!important;border-radius:0!important;background:url(i/ui/gk2/btn_sell.webp?v=201) center/100% 100% no-repeat!important;color:var(--inkT)!important;font-family:"Noto Serif KR",serif}
html.sk2 .gdr button.no{filter:grayscale(.85) brightness(.75);opacity:.7}
html.sk2 .chp button,html.sk2 .tqs button{border:0!important;border-radius:0!important;background:url(i/ui/gk2/job_off.webp?v=201) center/100% 100% no-repeat!important;color:var(--inkT)!important;font-family:"Noto Serif KR",serif;box-shadow:none!important}
html.sk2 .chp button.on,html.sk2 .tqs button.on{background-image:url(i/ui/gk2/job_on.webp?v=201)!important;color:#fff3dc!important}
/* 영물 — 도감 칸·털빛 */
html.sk2 .pdc{border:0!important;border-radius:0!important;background:url(i/ui/gk2/dex_cell.webp?v=201) center/100% 100% no-repeat!important;box-shadow:none!important}
html.sk2 .pdc.own{background-image:url(i/ui/gk2/dex_cell_own.webp?v=201)!important}
html.sk2 .pdc b{color:var(--inkT)!important;font-family:"Noto Serif KR",serif}html.sk2 .pdc u{color:#8a1e10!important;background:none!important}
html.sk2 .pcols button{border:0!important;border-radius:0!important;background:url(i/ui/gk2/job_off.webp?v=201) center/100% 100% no-repeat!important;color:var(--inkT)!important;font-family:"Noto Serif KR",serif}
html.sk2 .pcols button.on{background-image:url(i/ui/gk2/dye_seal.webp?v=201)!important;color:#fff3dc!important}
html.sk2 .pcols button small{color:#6a4a2a!important}html.sk2 .pcols button:disabled{opacity:.55}
/* 보상 두루마리 + 인주 */
html.sk2 .rwc{border:0!important;border-radius:0!important;box-shadow:none!important;padding:44px 34px 46px!important;color:var(--inkT)!important;background:url(i/ui/gk2/reward_top.webp?v=201) top center/100% 30px no-repeat,url(i/ui/gk2/reward_bot.webp?v=201) bottom center/100% 34px no-repeat,url(i/ui/gk2/reward_body.webp?v=201) center/92% calc(100% - 40px) no-repeat!important;filter:drop-shadow(0 12px 24px rgba(0,0,0,.6))}
html.sk2 .rwc:before{left:auto!important;right:6%!important;top:16%!important;width:96px!important;height:96px!important;margin:0!important;border-radius:0!important;background:url(i/ui/gk2/stamp_ink_2.webp?v=201) center/contain no-repeat!important;opacity:0;transform:scale(1.8) rotate(-12deg);animation:rwStamp .35s .35s cubic-bezier(.2,.9,.3,1.2) forwards!important;z-index:0!important}
@keyframes rwStamp{to{opacity:.55;transform:scale(1) rotate(-12deg)}}
html.sk2 .rwc small{color:#8a1e10!important;font-family:B,"Song Myung",serif;font-weight:400!important}
html.sk2 .rwc b{color:var(--inkT)!important;font-family:B,"Song Myung",serif!important;font-weight:400!important;position:relative;z-index:1}
html.sk2 .rwc p{color:#3a2414!important;position:relative;z-index:1}
html.sk2 .rwc button{border:0!important;border-radius:0!important;background:url(i/ui/gk2/btn_buy.webp?v=201) center/100% 100% no-repeat!important;color:#fff3dc!important;font-family:"Noto Serif KR",serif;box-shadow:none!important;position:relative;z-index:1}
/* 처음 화면 단추 */
html.sk2 #title .tmn .big{border:0!important;border-radius:0!important;background:url(i/ui/gk2/title_btn.webp?v=201) center/100% 100% no-repeat!important;color:#f3e2b8!important;font-family:B,"Song Myung",serif!important;font-weight:400!important;letter-spacing:4px;box-shadow:none!important;text-shadow:0 1px 2px #000}
html.sk2 #title .tmn .big.go{background-image:url(i/ui/gk2/title_btn_main.webp?v=201)!important;color:#fff3dc!important}
html.sk2 #title .tmn .big:disabled{filter:brightness(.6) grayscale(.5)}
/* 장부 빚 머리 */
html.sk2 .ldg{border:14px solid transparent!important;border-image:url(i/ui/gk2/ledger_paper.webp?v=201) 40 fill/14px stretch!important;background:none!important;border-radius:0!important;color:var(--inkT)!important}
html.sk2 .ldg *{color:inherit}html.sk2 .ldg b{color:#8a1e10!important}html.sk2 .ldg small{color:#6a4a2a!important}
html.sk2 .ldg .hd{color:var(--inkT)!important;border-top-color:rgba(90,60,30,.25)!important}html.sk2 .ldg .hd em{color:#6a4a2a!important}
html.sk2 .ldg .rw b{color:#f3e6c6!important}html.sk2 .ldg .rw p,html.sk2 .ldg .rw small{color:#cdb894!important}html.sk2 .ldg .rw q{color:var(--inkT)!important}html.sk2 .ldg .rw q.red{color:#fff3dc!important}
html.sk2 #title .tmn .big{min-height:52px;filter:drop-shadow(0 4px 8px rgba(0,0,0,.7))}
html.sk2 #title .tmn .big.go{padding-left:52px!important}

/* ── v1.85 메뉴 판을 「상자」가 아니라 「게임 창」으로
   1) 판이 화면 끝까지 꽉 찬 네모 → 양옆·아래가 떠 있는 옻칠 창(금 모서리 장식)
   2) 줄마다 꽉 찬 네모 상자 → 상자를 걷고 그림 + 글 + 먹선 구분, 누르면 은은한 빛
   3) 탭 글자 줄 → 걸어 둔 나무 패 */
html.sk2 #hub.sheet #pane{margin:0 6px 4px!important;border:14px solid transparent!important;border-image:url(i/ui/gk2/mate_card.webp?v=201) 40 fill/14px stretch!important;background:none!important;border-radius:0!important;box-shadow:none!important;filter:drop-shadow(0 -6px 16px rgba(0,0,0,.6)) drop-shadow(0 8px 10px rgba(0,0,0,.5))}
html.sk2 #hub.sheet #pane::before{display:none!important}
html.sk2 #grab{background:none!important;min-height:0!important;padding:0 0 2px!important;margin-top:-10px}
html.sk2 #grab i{width:54px!important;height:4px!important;border-radius:2px!important;background:linear-gradient(90deg,transparent,rgba(217,180,106,.8),transparent)!important}
html.sk2 #seg{padding:2px 0 8px!important;gap:3px!important;border-bottom:0!important;justify-content:center}
html.sk2 #seg button{flex:1 1 0;max-width:86px;background:url(i/ui/gk2/job_off.webp?v=201) center/100% 100% no-repeat!important;color:var(--inkT)!important;font-weight:800;transform:none!important;filter:brightness(.82)}
html.sk2 #seg button.on{background:url(i/ui/gk2/job_on.webp?v=201) center/100% 100% no-repeat!important;color:#fff3dc!important;filter:none;transform:translateY(2px)!important;text-shadow:0 1px 0 #5a0c04}
html.sk2 #list{padding:2px 4px 10px!important;mask-image:linear-gradient(transparent 0,#000 10px,#000 calc(100% - 14px),transparent);-webkit-mask-image:linear-gradient(transparent 0,#000 10px,#000 calc(100% - 14px),transparent)}
/* 줄: 상자 대신 먹선 */
html.sk2 #list .rw{background:none!important;box-shadow:none!important;border-radius:0!important;margin:0!important;padding-right:4px!important;min-height:64px;position:relative;transition-property:background-color;transition-duration:.15s}
html.sk2 #list .rw::after{content:"";position:absolute;left:8px;right:8px;bottom:0;height:1px;background:linear-gradient(90deg,transparent,rgba(217,180,106,.45) 12%,rgba(217,180,106,.45) 88%,transparent)}
html.sk2 #list .rw:not(:disabled):active{background:radial-gradient(ellipse at 40% 50%,rgba(240,190,100,.16),transparent 70%)!important;box-shadow:none!important}
html.sk2 #list .rw .th{width:54px!important;height:54px!important;margin-left:4px;border-radius:50%!important;padding:4px 4px 7px;box-sizing:border-box;background-position:center!important;background-repeat:no-repeat!important;object-fit:cover;box-shadow:none!important}
html.sk2 #list .rw:not(.one){grid-template-columns:62px 1fr auto!important}html.sk2 #list .rw.one{padding-left:12px!important}
html.sk2 #list .rw b{color:#f3e2b8}html.sk2 #list .rw p{color:#c9b48a}
html.sk2 #list .rw:disabled{opacity:.55}
/* 동문 카드·쪽지 같은 큰 판은 그대로 두고 여백만 */
html.sk2 #list .mtc,html.sk2 #list .ftip{margin:6px 2px 10px!important}
/* 아래 길잡이: 판과 같은 옻칠 띠 */
html.sk2 #nav{margin:0 6px calc(4px + env(safe-area-inset-bottom))!important;border:10px solid transparent!important;border-image:url(i/ui/gk2/mate_card.webp?v=201) 40 fill/10px stretch!important;background:none!important;box-shadow:none!important;border-radius:0!important}

/* ── v1.86 게임 창 원화 (창 틀·제목 패·닫기 고리·나무 패 탭·먹선·줄 빛·고리·길잡이 바) */
html.sk2 #hub.sheet #pane{border:18px solid transparent!important;border-image:url(i/ui/gk3/win_frame.webp) 52 fill/18px stretch!important}
html.sk2 #grab{position:relative;display:flex!important;justify-content:center;align-items:center;height:40px;margin:-12px 0 4px!important;padding:0!important}
html.sk2 #grab i{display:none!important}
html.sk2 #grab::before{content:"";position:absolute;right:-4px;top:4px;width:32px;height:32px;background:url(i/ui/gk3/win_close.webp) center/100% 100% no-repeat;filter:drop-shadow(0 2px 3px rgba(0,0,0,.6))}
html.sk2 #grab::after{content:"수련";min-width:150px;height:36px;padding:0 26px;display:grid;place-items:center;background:url(i/ui/gk3/win_title.webp) center/100% 100% no-repeat;font:400 18px/1 B,"Song Myung",serif;letter-spacing:6px;color:#f3e2b8;text-shadow:0 1px 2px #000}
html.sk2 #hub[data-tab=world] #grab::after{content:"강호"}html.sk2 #hub[data-tab=sect] #grab::after{content:"문파"}html.sk2 #hub[data-tab=ledger] #grab::after{content:"장부"}html.sk2 #hub[data-tab=me] #grab::after{content:"나"}
html.sk2 #seg button{background:url(i/ui/gk3/tab_off.webp) center/100% 100% no-repeat!important;color:#d9c49a!important;filter:none!important;text-shadow:0 1px 2px #000}
html.sk2 #seg button.on{background:url(i/ui/gk3/tab_on.webp) center/100% 100% no-repeat!important;color:#fff3dc!important}
html.sk2 #list .rw::after{left:0!important;right:0!important;height:12px!important;bottom:-6px!important;background:url(i/ui/gk3/row_line.webp) center/100% 100% no-repeat!important}
html.sk2 #list .rw:not(:disabled):active{background:url(i/ui/gk3/row_hi.webp) center/100% 100% no-repeat!important}
html.sk2 #list .rw .th:not([style*="background-image"]){background-image:url(i/ui/gk3/thumb_ring.webp)!important;background-size:100% 100%!important}html.sk2 #list .rw .th{padding:5px!important}
html.sk2 #list .rw img.th{background-color:transparent!important}
html.sk2 #list .rw i.th{background-size:cover!important;box-shadow:inset 0 0 0 3px #d9b46a,inset 0 0 0 5px #1a0f08!important}
html.sk2 .stb,html.sk2 .rlc>div,html.sk2 .bxk{border:12px solid transparent!important;border-image:url(i/ui/gk3/card_frame.webp) 30 fill/12px stretch!important;background:none!important;border-radius:0!important;box-shadow:none!important}
html.sk2 #nav{border:0!important;border-image:none!important;background:url(i/ui/gk3/nav_bar.webp) center/100% 100% no-repeat!important;min-height:64px;margin:0 2px calc(2px + env(safe-area-inset-bottom))!important}
html.sk2 #nav button.on{background:url(i/ui/gk3/nav_on.webp) center/auto 100% no-repeat!important}
html.sk2 #nav button.on::after{display:none!important}
html.sk2 .gdr{background:url(i/ui/gk3/row_line.webp) center bottom/100% 10px no-repeat!important;border:0!important;box-shadow:none!important;border-radius:0!important}
/* v1.89 꾸밈 — 창 틀(흑·주·백)·인장(네 벌). 돈으로만 산다 */
html[data-frame] #hub.sheet #pane{border:16px solid transparent!important;border-image-slice:40 fill!important;border-image-width:16px!important;border-image-repeat:stretch!important}
html[data-frame="heuk"] #hub.sheet #pane{border-image-source:url(i/ui/cos/skin_frame_heuk.webp)!important}
html[data-frame="ju"] #hub.sheet #pane{border-image-source:url(i/ui/cos/skin_frame_ju.webp)!important}
html[data-frame="baek"] #hub.sheet #pane{border-image-source:url(i/ui/cos/skin_frame_baek.webp)!important}
html[data-frame="baek"] #hub.sheet #pane{border-image-slice:40!important;background:linear-gradient(#211c16,#17130f) padding-box!important}
html[data-seal] .rwc:before{background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important}
html[data-seal="1"] .rwc:before{background-image:url(i/ui/cos/skin_seal_1.webp)!important}
html[data-seal="2"] .rwc:before{background-image:url(i/ui/cos/skin_seal_2.webp)!important}
html[data-seal="3"] .rwc:before{background-image:url(i/ui/cos/skin_seal_3.webp)!important}
html[data-seal="4"] .rwc:before{background-image:url(i/ui/cos/skin_seal_4.webp)!important}
/* 깨달음 컷 */
.wcut{position:fixed;inset:0;z-index:90;background:#0b0907 center/contain no-repeat;opacity:0;transition:opacity .35s}.wcut.on{opacity:1}
.wcut b{position:absolute;left:0;right:0;bottom:calc(9% + env(safe-area-inset-bottom));text-align:center;font-size:26px;letter-spacing:6px;color:#f3e6c8;text-shadow:0 2px 10px #000,0 0 3px #000}
/* v1.91 설정 — 가독성: 굵은 고딕 제목 왼쪽, 설명 한 줄, 값은 오른쪽 낙관. 상자 대신 줄로 */
#vn.tm #vnCh.setl{display:block!important;grid-template-columns:none!important;margin:0 8px calc(10px + env(safe-area-inset-bottom))!important;max-height:calc(100dvh - 120px)!important;overflow-y:auto!important;padding:2px 4px 6px!important;background:linear-gradient(rgba(20,15,11,.94),rgba(14,11,8,.96))!important;border:1px solid #5a4630!important;border-radius:6px!important;box-shadow:0 8px 24px rgba(0,0,0,.6)!important;overscroll-behavior:contain}
#vnCh.setl .tmh{font:700 20px/1.3 B,serif!important;color:#f1e2bf!important;letter-spacing:3px;padding:12px 10px 4px!important;margin:0!important;text-shadow:none!important}
#vnCh.setl .sh{font:700 13px/1 "Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",sans-serif;color:#c9a46a;letter-spacing:2px;margin:14px 10px 4px;padding:0}
#vnCh.setl .sgrp{border-top:1px solid rgba(201,164,106,.28)}
#vn.tm #vnCh.setl button.srow{all:unset;box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;min-height:56px!important;padding:9px 10px!important;border:0!important;border-bottom:1px solid rgba(201,164,106,.18)!important;border-radius:0!important;background:none!important;box-shadow:none!important;cursor:pointer;-webkit-tap-highlight-color:transparent;text-align:left!important;transition:background .12s}
#vn.tm #vnCh.setl button.srow::before,#vn.tm #vnCh.setl button.srow::after{content:none!important;display:none!important}
#vn.tm #vnCh.setl button.srow:active{background:rgba(201,164,106,.14)!important}
#vnCh.setl .srow .sl{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:3px}
#vn.tm #vnCh.setl .srow .sl b{font:700 16.5px/1.25 "Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",sans-serif!important;color:#f3e9d4!important;text-shadow:none!important;letter-spacing:0!important;white-space:normal}
#vn.tm #vnCh.setl .srow .sl small{font:400 13.5px/1.35 "Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",sans-serif!important;color:#b6a688!important;text-shadow:none!important;white-space:normal;overflow-wrap:anywhere}
#vn.tm #vnCh.setl .srow em{flex:0 0 auto;font:700 14px/1 "Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",sans-serif!important;font-style:normal!important;color:#fff4dc!important;background:#8e2a1c!important;border:1px solid #c0503a!important;border-radius:14px!important;padding:6px 12px!important;max-width:44%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-shadow:none!important}
#vn.tm #vnCh.setl .srow.off em{background:transparent!important;color:#a8987c!important;border-color:#6b5a42!important}
#vn.tm #vnCh.setl .srow q{flex:0 0 auto;quotes:none;font:400 22px/1 "Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",sans-serif;color:#8d7a5c}
#vn.tm #vnCh.setl button.srow.close{justify-content:center!important;margin-top:12px!important;min-height:48px!important;border:1px solid #6b5a42!important;border-radius:6px!important}
#vn.tm #vnCh.setl button.srow.close .sl{flex:0 0 auto;align-items:center}
@media (hover:hover) and (pointer:fine){#vn.tm #vnCh.setl button.srow:hover{background:rgba(201,164,106,.08)!important}}
#vn.tm #vnCh.setl{width:calc(100vw - 16px)!important;max-width:520px!important;margin-left:auto!important;margin-right:auto!important;align-self:center!important;flex:0 0 auto!important}
#vn.tm #vnCh.setl .srow .sl{align-items:flex-start!important;text-align:left!important}
#vn.tm #vnCh.setl .srow .sl small{position:static!important;display:block!important;inset:auto!important;transform:none!important;opacity:1!important;background:none!important;padding:0!important;margin:0!important;width:auto!important;height:auto!important}
#vn.tm #vnCh.setl .srow .sl b{display:block!important;position:static!important;text-align:left!important}
/* v1.92 영수 도감 — 못 만난 영수는 둥근 먹 그림자로 (네모로 잘린 그림자가 깨져 보이던 것) */
.pdc i.sil{filter:brightness(0) opacity(.38) blur(.6px)!important;-webkit-mask-image:radial-gradient(circle at 50% 46%,#000 52%,transparent 70%);mask-image:radial-gradient(circle at 50% 46%,#000 52%,transparent 70%);background-color:transparent!important}
/* v2.02(RD) 아래 네 탭 — 어두워서 안 읽힘: 글자를 밝게·크게, 꺼진 그림도 또렷하게 */
html.sk2 #nav button{color:#ecdcb4!important;font-size:13.5px!important;font-weight:800!important;text-shadow:0 1px 2px #000,0 0 6px rgba(0,0,0,.8)!important;letter-spacing:.5px}
html.sk2 #nav button .n0{opacity:1!important;filter:brightness(1.35) saturate(1.15) drop-shadow(0 1px 2px #000)}
html.sk2 #nav button.on{color:#ffe7a8!important}
/* v2.02(RD) 강호 지도 아래가 카드에 가려 잘림 → 카드를 지도 밑에 둔다 */
.wmw>#wcard,.wmw>#rcard{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;margin-top:8px}
