/* Clear Korean UI text; pixel rendering is reserved for game artwork. */
body,button,input,select,kbd{font-family:'Malgun Gothic','Apple SD Gothic Neo','Segoe UI',sans-serif;font-weight:400;letter-spacing:0}
body{font-size:15px;color:#eee8d9;-webkit-font-smoothing:antialiased}
#rpg b,#rpg strong,#rpg h1,#rpg h2,#rpg h3,#rpg h4{font-weight:500}
#rpg button{font-weight:400}#rpg button:disabled{opacity:.68}
#rpg p{line-height:1.85}#rpg .dialog-box{background:#2b261e}
#rpg .dialog-box p,#rpg .quest-story{font-size:14px;color:#e0d8c7}
#rpg .dialog-box small,#rpg .dialog-box button,#rpg .inventory small,#rpg .shop-grid small,#rpg .shop-grid b{font-size:12px;line-height:1.65}
#rpg .dialog-box h2{font-size:24px}#rpg .dialog-box h3{font-size:17px}#rpg .tree-node h4{font-size:16px}
#rpg .tree-node p,#rpg .tree-node .skill-numbers{font-size:13px}#rpg .tree-node small{font-size:12px;color:#d5c9b2}
#rpg .side-identity small,#rpg .side-identity span,#rpg .point-rule,#rpg .attribute-row small{font-size:12px;color:#d1c8b6}
#rpg .attribute-row>span>b{font-size:14px}#rpg .attribute-row strong{font-size:16px}
#rpg .derived-stats{font-size:12px}#rpg .derived-stats b{font-size:14px}
#rpg .side-skill-list p,#rpg .side-skill-list button,#rpg .side-items b,#rpg .side-items small,#rpg .open-skill-tree{font-size:12px;line-height:1.6}
#rpg .side-skill-list h3{font-size:15px}#rpg .side-tools button,#rpg .journal-fold summary{font-size:12px}
#rpg #journal p,#rpg #journal>b,#rpg #journal button{font-size:12px}#rpg .menu-caption{font-size:12px}
#rpg #chat-history{font-size:14px;line-height:1.75;color:#e2dac9}#rpg .chat-system{color:#d3cab8}#rpg .chat-local{color:#fff4db}
#rpg #chat-input{font-size:14px;padding:6px 8px}#rpg #chat-form label,#rpg #chat-form button,#rpg .chat-tabs button{font-size:12px}#rpg .chat-tabs small{font-size:11px}
#rpg .hud-name{font-size:15px}#rpg .hud-name span{font-size:12px}
#rpg #status .vitals>span{font-size:12px;height:28px;padding:4px 6px}#rpg #status .vitals b{font-size:12px}
#rpg .hud-money{font-size:14px}#rpg .hud-points{font-size:12px}#rpg .bottom-line{font-size:11px}
#rpg #region small,#rpg #region span{font-size:12px;letter-spacing:.5px}#rpg #region h1{font-size:24px}
#rpg #message{font-size:15px;font-weight:400;text-shadow:0 1px 3px #000,0 0 5px #000}
#rpg.classic-shell{grid-template-rows:minmax(0,1fr) 220px 23px}
#rpg .combat-toolbar{display:flex;gap:8px;padding:6px;align-items:center;flex-wrap:nowrap}
#rpg .combat-toolbar #skills{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:4px;flex:1;width:auto;margin:0;order:0}
#rpg .combat-toolbar #skills button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;position:relative;min-width:0;padding:4px 2px;height:66px;text-align:center;overflow:hidden}
#rpg .combat-toolbar #skills .content-art{width:27px;height:27px}
#rpg .combat-toolbar #skills span:not(.content-art){font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%}
#rpg .combat-toolbar #skills kbd{display:block;position:absolute;top:1px;left:2px;right:auto;margin:0;font-size:12px;opacity:1;background:#181813dd;color:#fff0c7;line-height:1.2;padding:1px 3px}
#rpg .combat-toolbar #skills small{display:none}
#rpg #auto-skills{font-size:12px;padding:9px 7px;white-space:nowrap;min-width:102px}
#rpg #auto-skills[aria-pressed=true]{background:#355443;border-color:#a3c299;color:#edffe6}
#rpg .combat-toolbar #potion{font-size:12px;padding:9px 7px}
#rpg .skill-bindings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
#rpg .skill-bindings button{padding:5px;font-size:12px;white-space:nowrap}
@media(max-width:1050px){#rpg .combat-toolbar{flex-wrap:wrap}#rpg .combat-toolbar #skills{flex-basis:100%}#rpg .combat-toolbar #skills button{height:42px}#rpg .combat-toolbar #skills span:not(.content-art){display:none}#rpg #auto-skills{margin-left:auto}#rpg.classic-shell{grid-template-rows:minmax(0,1fr) 245px 23px}}
@media(max-width:650px){
 #rpg.classic-shell{grid-template-rows:minmax(0,1fr) 275px 20px}#rpg #dialog{inset:6px 6px 301px}
 #rpg .combat-toolbar{gap:4px;padding:4px}#rpg .combat-toolbar #skills{grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}
 #rpg .combat-toolbar #skills button{height:36px}#rpg .combat-toolbar #skills .content-art{width:23px;height:23px}#rpg #auto-skills{padding:5px;min-width:100px}#rpg .combat-toolbar #potion{padding:5px;font-size:11px}
 #rpg #chat-history{font-size:12px}#rpg #chat-input{font-size:13px}#rpg #chat-form label,#rpg #chat-form button,#rpg .chat-tabs button{font-size:11px}
 #rpg .side-identity{gap:4px;padding:5px}#rpg .side-identity canvas{width:30px;height:34px}#rpg .side-identity small,#rpg .side-identity span{font-size:11px}
 #rpg .point-rule,#rpg .derived-stats{font-size:11px}#rpg .attribute-row>span>b{font-size:13px}#rpg .side-tools button{font-size:11px}#rpg .side-tools{flex-wrap:wrap}#rpg .side-tools button{flex-basis:40%}
 #rpg .side-skill-list h3{font-size:13px}#rpg .side-skill-list p{font-size:11px}#rpg .side-items b,#rpg .side-items small{font-size:11px}
 #rpg .hud-name{font-size:13px}#rpg .hud-name span,#rpg .hud-points{font-size:11px}#rpg #status .vitals>span{height:39px;padding:3px;font-size:11px}#rpg #status .vitals b{font-size:11px}#rpg .hud-money{font-size:12px}
 #rpg .dialog-box p{font-size:13px}#rpg .dialog-box small,#rpg .dialog-box button{font-size:12px}#rpg .dialog-box h2{font-size:21px}#rpg .tree-node{gap:6px;padding:9px}#rpg .tree-node>.content-art{width:28px;height:28px}
 #rpg #region small,#rpg #region span{font-size:11px}#rpg #message{font-size:12px}#rpg .bottom-line{font-size:10px}
}

#rpg .combat-toolbar #skills kbd,#rpg .compact-skills kbd{top:auto;left:auto;right:2px;bottom:1px;font-size:11px}#rpg .skill-cooldown{position:absolute;top:2px;left:2px;z-index:2;min-width:18px;padding:1px 3px;font-size:11px;font-style:normal;line-height:1.2;background:#151a24ed;color:#fff2cd;border:1px solid #be9e64;pointer-events:none}#rpg .hunt-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}#rpg .hunt-grid button{padding:8px;display:flex;flex-direction:column;align-items:center;gap:5px}#rpg .hunt-grid .content-art{width:42px;height:42px}#rpg .hunt-grid b{font-size:12px}#rpg .hunt-grid small{font-size:11px}@media(max-width:650px){#rpg .hunt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.settings-banner{display:flex;align-items:center;gap:20px;background:#252b31;border:1px solid #615541;padding:16px;margin:16px 0}.settings-banner>svg,.settings-banner>.content-art{width:84px;height:84px;flex:none}.settings-controls{display:grid;grid-template-columns:1fr 85px;align-items:center;gap:18px}.settings-controls label{display:grid;grid-template-columns:1fr auto;gap:10px}.settings-controls input{grid-column:1/-1;width:100%;accent-color:#d7b575}.camera-options{display:flex;gap:10px}.camera-options button{flex:1;display:grid;gap:8px;padding:14px}.camera-options b{font-size:24px;color:#e4c791}.mail-layout{display:grid;grid-template-columns:220px 1fr;gap:20px}.mail-layout nav{display:grid;align-content:start;gap:8px}.mail-layout nav button{text-align:left;padding:12px}.mail-layout small{display:block;margin-top:6px;color:#c1b9a4}.mail-layout article{padding:20px;background:#29251f;border:1px solid #726047}.mail-layout article p{line-height:1.9}.mail-gift{display:flex;align-items:center;gap:14px;margin:18px 0}.mail-gift>svg,.mail-gift>.content-art{width:52px;height:52px}.side-tools{flex-wrap:wrap}.side-tools button{font-size:12px}@media(max-width:600px){.mail-layout{grid-template-columns:1fr}.camera-options button{padding:10px 4px}.settings-banner{gap:10px;padding:10px}}
.skill-art{image-rendering:auto!important}.tutorial-dialog{font-size:16px!important;line-height:1.95!important;max-width:650px}.tutorial-gifts{display:flex;gap:20px;margin:20px 0}.tutorial-gifts article{display:grid;justify-items:center;gap:8px;flex:1;background:#25231e;padding:16px;border:1px solid #776246}.tutorial-gifts svg{width:64px;height:64px}.tutorial-gifts small{font-size:12px}#tutorial-guide{position:absolute;left:12px;bottom:16px;max-width:min(480px,90%);background:#211e17ef;border:1px solid #9d8254;padding:12px;z-index:3;display:grid;gap:8px;font-size:13px}#tutorial-guide[hidden]{display:none}#tutorial-guide b{color:#e6c48d;font-weight:500}#tutorial-guide button{justify-self:start;font-size:12px}
.ascension-panel{margin:20px 0;padding:16px;border:1px solid #a08b5d;background:#25241c}.training-choices{display:flex;gap:12px;margin:14px 0}.training-choices button{flex:1;padding:14px}.training-choices small{display:block;margin-top:8px}.ascension-panel>small{font-size:12px;color:#c0b79f}
