/* Leveling keeps the equipment presentation and restores a focused solo journey. */
body.leveling-adventure #game .experience-card{display:block!important;height:16px}
body.leveling-adventure #game .experience-card #xp-text{font-size:10px;line-height:15px}
body.leveling-adventure #game .hud-menu #skills-btn{display:grid!important}

body.leveling-adventure #game :is(#combat-modes,#party-card,#war-btn,.nation-crests){display:none!important}
body.leveling-adventure #game .map-legend p:has(.legend-portal),body.leveling-adventure #game .legend-portal{display:block!important}
.journey-dock{position:static;order:3;width:100%;box-sizing:border-box;margin-top:12px;padding:9px 10px;border:1px solid #bca66c88;border-radius:10px;background:linear-gradient(130deg,#213d30f5,#0e231cf2);box-shadow:0 8px 24px #071a1844;color:#e8dec7;pointer-events:auto}
#game .journey-summary{display:flex;flex-direction:column;gap:5px;text-align:left;width:100%;border:0;padding:0;background:none;color:inherit;min-height:0;cursor:pointer}
.journey-summary strong{font-size:15px;color:#f7e7b8}.journey-summary span{font-size:11px;line-height:1.6;color:#bcd4bc;overflow:hidden;text-overflow:ellipsis;white-space:normal;overflow-wrap:anywhere;width:100%}
#game .journey-toggle{width:100%;min-height:38px;margin-top:10px;border:1px solid #e2c57c;border-radius:8px;background:linear-gradient(#e7d09b,#baa060);color:#1e3024;font-size:12px;font-weight:700}
#game .journey-dock.running .journey-toggle{background:#335944;color:#e2efd0;border-color:#98b886}
#game .journey-points{border:0;background:none;color:#e7cb86;font-size:11px;padding:6px 0 0;min-height:28px}
#game #journey-dialog{width:min(700px,calc(100vw - 24px));height:min(760px,calc(100dvh - 24px))}
#game .journey-book{overflow:auto;min-height:0;flex:1;padding:20px 24px 28px;line-height:1.7;font-size:13px;overscroll-behavior:contain}
.journey-book h3{font-size:18px;color:#f4dfad;margin:6px 0 10px}.journey-book p{color:#c5d6c5;margin:8px 0}.journey-kicker{color:#b9bd86;font-size:10px;letter-spacing:2px}.journey-objective{background:#33584344;border:1px solid #afbf7e55;border-radius:10px;padding:16px;margin:20px 0 12px}.journey-progress{font-size:12px;color:#ddcb91!important}.journey-objective .gold-button{width:100%}.journey-route{list-style:none;margin:0 0 24px;padding:0}.journey-route li{display:grid;grid-template-columns:26px 1fr auto;align-items:center;padding:11px 12px;border-left:2px solid #546b4e;margin-left:8px;gap:8px;color:#9cab9e}.journey-route li.current{border-color:#dfc57b;background:#b79a4929;border-radius:0 6px 6px 0;color:#ffe7ae}.journey-route li.visited{color:#afcc9d}.journey-route small{font-size:11px;white-space:nowrap}.journey-guidance{border-top:1px solid #81936744;padding-top:16px}.journey-guidance p{font-size:12px}.skill-loadout-picker{display:grid;gap:5px}.skill-loadout-picker button{font-size:11px;padding:6px!important;min-height:34px!important}.skill-loadout-picker h4{margin:8px 0}.leveling-adventure #game .skill-tree{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:100%;overflow:auto}.leveling-adventure #game .skills-layout>.window-panel:has(.skill-tree){display:flex;flex-direction:column;min-height:0}.leveling-adventure #game .skill-tree .skill-card{min-width:0;min-height:72px}.leveling-adventure #game .skill-tree .skill-card strong{font-size:11px}.leveling-adventure #game .skill-tree .skill-card small{font-size:10px}
@media(max-width:750px),(pointer:coarse) and (max-width:1100px),(max-width:1100px) and (max-height:600px){
 .journey-dock{margin-top:5px;padding:7px 8px}
 .journey-summary strong{font-size:12px}.journey-summary span{font-size:10px}
 #game .journey-toggle{font-size:11px;min-height:36px;margin-top:7px}
 body.leveling-adventure #game .hud-menu{gap:8px 3px;max-width:calc(100% - 150px);flex-wrap:wrap}
 body.leveling-adventure #game .hud-menu button{width:34px;height:34px}
 #game .journey-book{padding:14px;font-size:12px}.journey-book h3{font-size:16px}
}
@media(max-height:500px){#game .journey-toggle{margin-top:5px;min-height:32px}}
body.leveling-adventure #game .character-content{overflow:auto;overscroll-behavior:contain}
body.leveling-adventure #game .character-content>*{flex-shrink:0}
/* Stat allocation reserves its action row; the six attributes share the remaining height. */
body.leveling-adventure #game #character-dialog .character-layout[data-tab=attributes] .character-content{
 display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;overflow:hidden;gap:8px;
}
body.leveling-adventure #game #character-dialog .character-layout[data-tab=attributes] .character-stage{height:auto;min-height:0}
body.leveling-adventure #game #character-dialog .character-layout[data-tab=attributes] .status-columns{min-height:0}
body.leveling-adventure #game #character-dialog .character-layout[data-tab=attributes] .status-columns>.window-panel{
 display:grid;grid-template-rows:auto auto auto repeat(6,minmax(28px,1fr));min-height:0;padding:10px 16px;
}
body.leveling-adventure #game #character-dialog .character-layout[data-tab=attributes] .attribute-row{min-height:0;gap:7px;grid-template-columns:36px minmax(0,1fr) 106px}
body.leveling-adventure #game #character-dialog .character-layout[data-tab=attributes] .attribute-controls{grid-column:3}
body.leveling-adventure #game #character-dialog .attribute-controls button{height:28px;min-height:28px;font-size:22px}
body.leveling-adventure #game #character-dialog .character-layout[data-tab=attributes] .points-badge{margin-bottom:4px;padding:6px 36px 6px 10px;display:flex;align-items:center;justify-content:space-between;gap:8px}
body.leveling-adventure #game #character-dialog .attribute-points>strong{width:32px;flex:none;text-align:center;font-size:18px;font-weight:600;font-variant-numeric:tabular-nums}
#game .build-reset-dialog{width:min(440px,calc(100vw - 24px));height:auto;max-height:calc(100dvh - 24px);padding:20px;gap:14px}
#game .build-reset-dialog h3{margin:0;font-size:20px}
#game .build-reset-description{margin:0;white-space:pre-line;line-height:1.6;font-size:14px}
#game .build-reset-dialog .stat-actions{justify-content:flex-end;flex-wrap:nowrap}
#game .build-reset-dialog .stat-actions button{min-width:0;flex:1;font-size:14px;padding:8px}
body.leveling-adventure #game #character-dialog .stat-actions{flex-wrap:nowrap;min-width:0;padding-top:4px}
body.leveling-adventure #game #character-dialog .stat-actions>span{min-width:0;flex:1;flex-basis:auto;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
body.leveling-adventure #game #character-dialog .stat-actions button{flex:none;min-height:38px;padding:6px 12px;font-size:14px}
body.leveling-adventure #game #character-dialog .character-layout[data-tab=attributes] .character-content>small{font-size:10px;line-height:1.4}
@media(max-height:800px){
 body.leveling-adventure #game #character-dialog .character-layout[data-tab=attributes] .status-columns>.window-panel{
  grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto auto repeat(3,minmax(28px,1fr));gap:0 14px;padding:8px;
 }
 body.leveling-adventure #game #character-dialog .character-layout[data-tab=attributes] .status-columns>.window-panel>:is(h3,.points-badge,.stat-step){grid-column:1/-1}
 body.leveling-adventure #game #character-dialog .character-layout[data-tab=attributes] .attribute-row{grid-template-columns:26px minmax(88px,1fr);gap:4px}
 body.leveling-adventure #game #character-dialog .character-layout[data-tab=attributes] .attribute-controls{grid-column:2;grid-template-columns:28px 26px 28px;gap:3px;justify-content:end}
 body.leveling-adventure #game #character-dialog .attribute-controls>strong{font-size:16px}
 body.leveling-adventure #game #character-dialog .attribute-points>strong{width:26px}
 body.leveling-adventure #game #character-dialog .character-layout[data-tab=attributes] .points-badge{padding-right:30px}
 body.leveling-adventure #game #character-dialog .character-layout[data-tab=attributes] .attribute-row small{display:none}
}
@media(min-height:501px) and (max-height:650px){
 body.leveling-adventure #game #character-dialog .character-layout[data-tab=attributes] .character-content{grid-template-rows:auto auto minmax(0,1fr) auto;gap:4px}
 body.leveling-adventure #game #character-dialog .character-layout[data-tab=attributes] .character-content>small{display:none}
 body.leveling-adventure #game #character-dialog .character-layout[data-tab=attributes] .character-content>.window-panel:first-child{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:4px 8px}
 body.leveling-adventure #game #character-dialog .character-layout[data-tab=attributes] .window-resource{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px;margin:0}
 body.leveling-adventure #game #character-dialog .character-layout[data-tab=attributes] .window-meter{display:none}
 body.leveling-adventure #game #character-dialog .character-layout[data-tab=attributes] .window-resource>span{font-size:10px}
 body.leveling-adventure #game #character-dialog .character-layout[data-tab=attributes] .window-panel h3{margin-bottom:4px;padding-bottom:4px}
}
@media(max-height:500px){
 body.leveling-adventure #game #character-dialog .window-heading{padding:3px 10px;gap:8px}
 body.leveling-adventure #game #character-dialog .window-heading h2{font-size:17px}
 body.leveling-adventure #game #character-dialog :is(.window-sigil,.window-close){width:32px;height:32px;min-height:32px;min-width:32px;flex-basis:32px}
 body.leveling-adventure #game #character-dialog .window-nav{padding:0 8px}
 body.leveling-adventure #game #character-dialog :is(.window-nav,.character-tabs) button{min-height:32px;padding:4px;font-size:11px}
 body.leveling-adventure #game #character-dialog .character-layout[data-tab=attributes] .character-content{grid-template-rows:auto minmax(0,1fr) auto;gap:4px}
 body.leveling-adventure #game #character-dialog .character-layout[data-tab=attributes] .status-columns>.window-panel{grid-template-rows:auto auto repeat(3,minmax(28px,1fr))}
 body.leveling-adventure #game #character-dialog .character-layout[data-tab=attributes] .points-badge{padding:3px 30px 3px 8px;margin-bottom:2px}
 body.leveling-adventure #game #character-dialog .stat-step{margin:2px 0 4px}
 body.leveling-adventure #game #character-dialog .stat-step button{min-height:26px;padding:2px 10px}
 body.leveling-adventure #game #character-dialog .stat-actions>span{display:block}
 body.leveling-adventure #game #character-dialog .stat-actions button{min-height:32px;padding:4px 10px}
}
#game .stat-step{display:flex;align-items:center;gap:5px;font-size:11px;color:#bcd1b7;margin:4px 0 8px}
#game .stat-step button{min-height:32px;padding:4px 11px;font-size:12px}
#game .attribute-effects{margin:10px 0;font-size:12px;color:#bcd1b7}
#game .attribute-effects summary{cursor:pointer;min-height:32px;color:#ecd6a1}
.item-requirements{font-size:12px;color:#bcd7ad;line-height:1.6;padding:6px 0;border-bottom:1px solid #a58f582e}
.item-requirements.level-locked{color:#efb693}
.gear-level-label{position:absolute;left:2px;bottom:2px;font-size:9px;line-height:14px;background:#382820f0;color:#ffd0a1;padding:1px 3px;border-radius:3px;z-index:1}
.bag-slot.level-locked{border-style:dashed}
/* The equipment-only layout reserved a portrait row even when the portrait was hidden. */
@media(max-width:850px){
 body.leveling-adventure #game .character-layout:not([data-tab=equipment]){grid-template-rows:minmax(0,1fr)}
}
#game .journey-book{background:linear-gradient(140deg,#1d3528,#11251c);color:#e8dec7}
#game .stat-step,#game .attribute-effects{color:var(--paper-muted,#78664b)}
#game .attribute-effects summary{color:var(--paper-ink,#493b24)}
#game .skill-detail-column{display:flex;flex-direction:column;gap:8px;min-height:0;overflow:hidden}
#game .skill-detail-column>.skill-detail{flex:1;min-height:0}
#game .skill-actions{flex:none;padding:10px;border:1px solid #b7945c88;border-radius:6px;background:#ebd6aee8;max-height:50%;overflow:auto;color:#493b24}
#game .skill-actions>.gold-button{width:100%;min-height:38px;font-size:14px}
#game .skill-actions>.window-muted{display:block;font-size:11px;line-height:1.6}
#game .skill-actions .skill-loadout-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
#game .skill-actions .skill-loadout-picker h4,#game .skill-actions .skill-loadout-picker>small{grid-column:1/-1;font-size:11px}
#game .skill-actions .skill-loadout-picker button{overflow-wrap:anywhere;min-width:0;font-size:10px}
@media(max-width:750px),(max-height:600px){#game .skills-layout>.skill-detail-column{flex:1;min-height:0}#game .skill-actions{padding:7px;max-height:48%}}
#game .skill-loadout-warning{display:block;color:#823b24;font-weight:600;font-size:11px;line-height:1.5}
/* Short landscape: scroll the selected skill pane as one document, including every action. */
@media(max-height:500px){
 #game #skills-dialog .window-heading{padding:3px 10px;min-height:36px;gap:8px}
 #game #skills-dialog .window-heading h2{font-size:17px;margin:0}
 #game #skills-dialog .window-sigil{font-size:23px;width:25px}
 #game #skills-dialog .window-close{width:32px;height:32px;min-height:32px;padding:0}
 #game #skills-dialog .window-nav{padding:0 8px}
 #game #skills-dialog .window-nav button,#game #skills-dialog .pane-tabs button{min-height:32px;padding:4px;font-size:11px}
 #game #skills-dialog .window-footer{display:none}
 #game #skills-dialog .skills-layout{padding:6px 10px;gap:5px}
 #game #skills-dialog .skills-layout>.window-panel{flex:1;overflow:auto;min-height:100px;overscroll-behavior:contain;display:block}
 #game #skills-dialog .skill-tree{max-height:none;overflow:visible;grid-template-columns:repeat(3,minmax(0,1fr))}
 #game #skills-dialog .skill-detail-column{display:block;overflow:auto;min-height:100px;overscroll-behavior:contain}
 #game #skills-dialog .skill-detail-column>.paged-region{display:block;overflow:visible;min-height:auto}
 #game #skills-dialog .skill-detail{height:auto;max-height:none;overflow:visible!important;min-height:100px}
 #game #skills-dialog .skill-detail-column .screen-pager{display:none}
 #game #skills-dialog .skill-actions{max-height:none;overflow:visible;margin-top:8px}
 #game #skills-dialog .skill-actions .skill-loadout-picker{grid-template-columns:repeat(4,minmax(0,1fr))}
}
/* Skill setup: one visible loadout and a separate, scrollable upgrade section. */
#game #skills-dialog .skill-detail-column{overflow:hidden;gap:10px}
#game #skills-dialog .skill-actions{max-height:none;overflow:visible;padding:12px}
#game #skills-dialog .skill-detail{overflow:auto;overscroll-behavior:contain;flex:1;min-height:0}
#game #skills-dialog .skill-loadout-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#game #skills-dialog .skill-loadout-picker h4{grid-column:1/-1;font-size:15px;margin:0}
#game #skills-dialog .skill-loadout-picker>small{grid-column:1/-1;font-size:12px;line-height:1.5}
#game #skills-dialog .skill-loadout-slot{display:grid;grid-template-columns:38px 1fr;gap:3px 8px;text-align:left;padding:8px!important;min-height:88px!important;position:relative}
#game #skills-dialog .skill-slot-number{grid-column:1/-1;font-size:11px;color:#e6d4aa}
#game #skills-dialog .skill-loadout-slot .window-icon,#game #skills-dialog .skill-slot-empty{grid-row:2/4;width:38px;height:38px;display:grid;place-items:center}
#game #skills-dialog .skill-slot-name{font-size:12px;align-self:center;overflow-wrap:anywhere}
#game #skills-dialog .skill-slot-action{font-size:11px;color:#ffdf86}
#game #skills-dialog .skill-loadout-slot.is-equipped{border-color:#448058;background:#e0ebcc;color:#30543a;opacity:1}
#game #skills-dialog .is-equipped .skill-slot-number,#game #skills-dialog .is-equipped .skill-slot-action{color:#30543a}
#game #skills-dialog .skill-loadout-feedback{grid-column:1/-1;margin:2px 0 0;font-size:12px;line-height:1.5;color:#30543a;min-height:18px}
#game #skills-dialog .skill-upgrade-section{border-top:1px solid #b7945c88;padding-top:12px;margin-top:16px;display:grid;gap:8px}
#game #skills-dialog .skill-upgrade-section h4{margin:0;font-size:15px}
#game #skills-dialog .skill-upgrade-section small{font-size:12px;line-height:1.5}
#game #skills-dialog .skill-upgrade-section button{width:100%;min-height:42px}
#game #skills-dialog .skill-card .skill-equipped-badge{color:#30543a;font-weight:700}
#game #skills-dialog button:focus-visible{outline:3px solid #5a91ab;outline-offset:2px}
@media(max-width:750px),(max-height:600px){
 #game #skills-dialog .skill-detail-column{overflow:auto;display:flex;flex-direction:column;min-height:0;flex:1}
 #game #skills-dialog .skill-detail{overflow:visible;flex:none}
 #game #skills-dialog .skill-actions{padding:10px;flex:none}
}
@media(max-height:500px) and (min-width:600px){
 #game #skills-dialog .skill-loadout-picker{grid-template-columns:repeat(4,minmax(0,1fr))}
}

@media(max-width:600px){#game #skills-dialog .skill-card .skill-equipped-badge{display:block;font-size:10px}}
/* Keep the drop targets visible beside either mobile pane. */
#game #skills-dialog .skills-layout{grid-template-rows:minmax(0,1fr) auto}
#game #skills-dialog .skills-layout>.skill-actions{grid-column:1/-1;padding:10px;margin:0;flex:none}
#game #skills-dialog .skill-loadout-picker{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#game #skills-dialog .skill-loadout-picker h4{font-size:14px}
#game #skills-dialog .skill-loadout-slot{min-height:74px!important}
#game #skills-dialog [data-skill-drag-id]{cursor:grab;user-select:none}
#game #skills-dialog [data-skill-drag-id] .window-icon{touch-action:none;-webkit-user-drag:none}
#game #skills-dialog [data-skill-drag-id] img{pointer-events:none;-webkit-user-drag:none}
#game #skills-dialog .is-dragging{opacity:.45}
#game #skills-dialog.is-skill-dragging [data-loadout-slot]:not(:disabled){border:2px dashed #c79a35}
#game #skills-dialog.is-skill-dragging .skill-loadout-slot.is-drop-target{border:2px solid #448058;background:#e0ebcc;color:#30543a;box-shadow:0 0 0 3px #44805866}
#game #skills-dialog .is-drop-target .skill-slot-number,#game #skills-dialog .is-drop-target .skill-slot-action{color:#30543a}
.skill-drag-ghost{position:fixed;z-index:9999;pointer-events:none;width:58px;height:58px;border:2px solid #ffdb83;border-radius:6px;background:#17251b;box-shadow:0 5px 20px #0008}
.skill-drag-ghost .window-icon{display:block;width:100%;height:100%}
@media(max-width:600px){
 #game #skills-dialog .skills-layout>.skill-actions{padding:8px}
 #game #skills-dialog .skill-loadout-picker{gap:4px}
 #game #skills-dialog .skill-loadout-picker>small{font-size:10px}
 #game #skills-dialog .skill-loadout-slot{display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center;padding:5px!important;min-height:86px!important}
 #game #skills-dialog .skill-slot-name{font-size:10px;line-height:1.3}
 #game #skills-dialog .skill-slot-action{display:none}
 #game #skills-dialog .skill-loadout-feedback{font-size:10px}
 #game #skills-dialog .skill-loadout-picker h4{font-size:12px}
}
@media(max-height:500px){
 #game #skills-dialog .skills-layout>.skill-actions{padding:5px}
 #game #skills-dialog .skill-loadout-picker>small{display:none}
 #game #skills-dialog .skill-loadout-slot{min-height:54px!important;padding:4px!important}
 #game #skills-dialog .skill-slot-action{display:none}
 #game #skills-dialog .skill-loadout-feedback{font-size:10px;margin:0}
}
@media(max-width:600px){
 #game #skills-dialog .skill-tree{grid-auto-rows:minmax(78px,max-content);align-content:start}
 #game #skills-dialog .skill-tree .skill-card{display:grid;grid-template-columns:44px minmax(0,1fr);grid-template-rows:auto auto auto;gap:2px 6px;padding:6px;min-height:78px;text-align:left;flex:none}
 #game #skills-dialog .skill-card .window-icon{grid-row:1/4;width:44px;height:44px}
 #game #skills-dialog .skill-tree .skill-card strong{font-size:11px;line-height:1.3}
 #game #skills-dialog .skill-card .rank-label{font-size:11px;line-height:1.3}
 #game #skills-dialog .skill-card .skill-equipped-badge{font-size:9px;line-height:1.3}
}
@media(max-height:500px){
 #game #skills-dialog .skills-layout>.window-panel:has(.skill-tree){padding:4px 6px;min-height:70px}
 #game #skills-dialog .skills-layout>.window-panel:has(.skill-tree)>h3,#game #skills-dialog .skill-points-mobile{display:none}
 #game #skills-dialog .skill-tree{padding:0;gap:5px}
 #game #skills-dialog .skill-tree .skill-card{min-height:62px;padding:4px;grid-template-columns:40px minmax(0,1fr)}
 #game #skills-dialog .skill-tree .window-icon{width:40px;height:40px}
}
/* Selected skill and upgrade remain visible while the longer stats scroll. */
#game #skills-dialog .skill-summary{flex:none;padding:12px;min-height:0}
#game #skills-dialog .skill-summary-heading{display:flex;gap:12px;align-items:center}
#game #skills-dialog .skill-summary-heading .window-icon{width:52px;height:52px;flex:none}
#game #skills-dialog .skill-summary-caption{min-width:0}
#game #skills-dialog .skill-summary h3{font-size:19px;border:0;padding:0;margin:0;line-height:1.4}
#game #skills-dialog .skill-summary-rank{margin:3px 0 0;color:#30543a;font-weight:700;font-size:13px}
#game #skills-dialog .skill-summary .skill-upgrade-section{border:0;padding:0;margin-top:10px;gap:5px}
#game #skills-dialog .skill-summary .skill-upgrade-section button{margin:0;min-height:42px;font-size:14px}
#game #skills-dialog .skill-summary .skill-upgrade-section small{font-size:11px;line-height:1.4}
#game #skills-dialog .skill-upgrade-section{grid-template-columns:repeat(2,minmax(0,1fr))}
#game #skills-dialog .skill-upgrade-section>small{grid-column:1/-1}
#game #skills-dialog .skill-upgrade-section button{min-width:0;padding:6px}
@media(max-width:750px),(max-height:600px){
 #game #skills-dialog .skill-summary{position:sticky;top:0;z-index:2;background:#efddb8}
}
@media(max-height:500px){
 #game #skills-dialog .skill-summary{padding:6px;display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,1fr);gap:8px;align-items:center}
 #game #skills-dialog .skill-summary .skill-upgrade-section{margin:0}
 #game #skills-dialog .skill-summary-heading .window-icon{width:36px;height:36px}
 #game #skills-dialog .skill-summary h3{font-size:15px}
 #game #skills-dialog .skill-summary-rank{font-size:11px}
 #game #skills-dialog .skill-summary .skill-upgrade-section button{min-height:36px;font-size:12px}
}
/* Reserve caption rows before sizing the portrait to the remaining height. */
@media(min-width:851px) and (min-height:601px){
 #game #skills-dialog .skill-sidebar{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:8px;min-height:0}
 #game #skills-dialog .skill-sidebar .points-badge{margin:0}
 #game #skills-dialog .skill-sidebar .character-art{width:100%;height:100%;min-height:0;max-height:none;margin:0;object-fit:contain;align-self:stretch}
 #game #skills-dialog .skill-sidebar h3{margin:0;font-size:20px;line-height:1.4}
 #game #skills-dialog .skill-sidebar>.window-muted{margin:0;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
}
