/* Compact reading surfaces; original game sprites and mathematical rules stay intact. */
body[data-theme=modern] .library-sidebar-icon{width:36px;height:40px}
body[data-theme=modern][data-view=library][data-library-page=items] .library-equipment-link{min-height:58px;gap:15px}
body[data-theme=modern] .planner-page .d2-attribute label::before{content:none}
body[data-theme=modern] .planner-page .d2-attribute label{padding-left:0}
body[data-theme=modern] .planner-page .planner-config{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin-top:22px}
body[data-theme=modern] .planner-page .planner-config>label{display:flex;flex-direction:column;gap:6px;margin:0}
body[data-theme=modern] .planner-page .planner-config :is(select,input),body[data-theme=modern] .planner-page .planner-config>button{height:46px;min-height:46px;margin-block:0;box-sizing:border-box}
body[data-theme=modern] .planner-page .planner-properties{background:#0d120f;padding:16px}
body[data-theme=modern] .planner-properties .skill-description{gap:8px 12px}
body[data-theme=modern] .planner-properties .skill-detail-icon{width:55px;height:55px;margin:0}
body[data-theme=modern] .planner-properties .skill-description h4{font-size:23px;line-height:1.15;margin:3px 0}
body[data-theme=modern] .planner-properties .skill-rank-line{font:13px/1.4 Arial,sans-serif;padding:4px 0 8px;margin:0}
body[data-theme=modern] .planner-properties .planner-actions{margin:10px 0;gap:8px}
body[data-theme=modern] .planner-properties .planner-skill-values{margin-top:10px;padding-top:0}
body[data-theme=modern] .planner-properties .planner-skill-values h3{font-size:18px;margin:10px 0 5px}
body[data-theme=modern] .planner-properties .skill-effective-level{font-size:12px;line-height:1.4;margin-bottom:6px}
body[data-theme=modern] .planner-properties .skill-value-row{grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;padding:5px 0}
body[data-theme=modern] .planner-properties .skill-value-row dt{font-size:12px;line-height:1.35}
body[data-theme=modern] .planner-properties .skill-value-current{font:17px/1.35 Georgia,serif}
body[data-theme=modern] .planner-properties .skill-value-preview{display:flex;flex-wrap:wrap;gap:2px 12px}
body[data-theme=modern] .planner-properties .skill-value-step{display:inline-flex;gap:4px;padding:0;border:0;background:none}
body[data-theme=modern] .planner-properties .skill-value-step :is(small,b,em){font:11px/1.4 Arial,sans-serif}
body[data-theme=modern] .planner-properties .skill-value-step em{color:#a7cc91}
body[data-theme=modern] .planner-properties .skill-preview-note{font-size:11px;line-height:1.5;margin:7px 0}
.skill-synergy-details{margin-top:12px;border-top:1px solid #8e795344;padding-top:10px}
.skill-synergy-details summary{cursor:pointer;color:#acd28f;font:14px Georgia,serif}
.skill-synergy-details .skill-synergy-row{gap:2px;padding:7px 0}
body[data-theme=modern] .skill-node[data-synergy=true]:not([aria-pressed=true]){border-color:#8bd666;box-shadow:0 0 0 2px #78b95677,0 0 14px #72be4733}
body[data-theme=modern] .skill-node[data-synergy=true] .skill-node-name{color:#b1e58f}
body[data-theme=modern] .skill-branches button[data-has-synergy=true]{border-bottom-color:#8bd666}
body[data-theme=modern] .skill-branches button[data-has-synergy=true] strong::after{content:' •';color:#9be070}
body[data-theme=modern][data-library-page=item] .library-set-page::before{display:none}
body[data-theme=modern][data-library-page=item] .library-set-page>h1{font-size:34px;margin:8px 0}
.library-set-parts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:18px 0}
.library-set-parts a{display:flex;align-items:center;gap:10px;min-width:0;min-height:58px;padding:7px 10px;border:1px solid #67805366;background:#10170f;font:14px/1.35 Arial,sans-serif;color:#bed6a2}
.library-set-parts span{overflow-wrap:anywhere}
.library-set-parts .library-item-icon{width:35px!important;height:42px!important;object-fit:scale-down}
.library-set-parts [aria-current=page]{border-color:#a8d181;background:#263020}
.library-set-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:18px;align-items:start}
body[data-theme=modern][data-view=library][data-library-page=item] .library-set-workspace>.library-item-overview{display:block;margin:0;padding:18px;background:#10150f;border:1px solid #8c794e77}
body[data-theme=modern][data-view=library][data-library-page=item] .library-set-workspace .library-item-large{display:block;height:90px;width:85px;margin:0 auto 12px}
body[data-theme=modern][data-view=library][data-library-page=item] .library-set-workspace .native-item-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px;margin-bottom:12px!important}
body[data-theme=modern][data-library-page=item] .library-set-workspace .native-item-facts>div{padding:4px 0}
body[data-theme=modern][data-library-page=item] .library-set-workspace .native-item-facts dt{font:11px/1.35 Arial,sans-serif}
body[data-theme=modern][data-library-page=item] .library-set-workspace .native-item-facts dd{font:17px/1.4 Georgia,serif;margin-top:3px}
body[data-theme=modern][data-library-page=item] .library-set-workspace .catalog-mod{font:14px/1.5 Arial,sans-serif;margin:4px 0;color:#b6c9fa}
body[data-theme=modern][data-library-page=item] .library-set-workspace .set-item-bonuses{padding:7px 0}
body[data-theme=modern][data-library-page=item] .library-set-workspace .set-item-bonuses h3{margin:0 0 4px;font-size:13px}
body[data-theme=modern][data-library-page=item] .library-set-workspace>.set-bonus-panel{margin:0;padding:18px;border:1px solid #71865488;background:#10170f}
body[data-theme=modern][data-library-page=item] .library-set-workspace .set-bonus-panel h2{font-size:24px;margin:5px 0 10px}
body[data-theme=modern][data-library-page=item] .library-set-workspace .set-piece-steps{gap:5px;margin:10px 0}
body[data-theme=modern][data-library-page=item] .library-set-workspace .set-piece-steps button{padding:7px 10px;min-width:36px;min-height:38px}
body[data-theme=modern][data-library-page=item] .library-set-workspace .set-bonus-rows{gap:10px;grid-template-columns:minmax(0,1fr)}
body[data-theme=modern][data-library-page=item] .library-set-workspace .set-bonus-block{padding:6px 10px}
body[data-theme=modern][data-library-page=item] .library-set-workspace .set-bonus-block h3{font-size:14px;margin:0 0 5px}
body[data-theme=modern][data-library-page=item] .library-set-workspace .set-bonus-mod{font:13px/1.5 Arial,sans-serif;color:#c2cdb8;margin:3px 0}
body[data-theme=modern][data-library-page=item] .library-set-workspace .set-bonus-block[data-active=true] .set-bonus-mod{color:#a4df85}
.community-item-art[data-illustrated=true]>.community-items-illustration{position:static;transform:none;height:100%;max-height:210px;image-rendering:auto}
.community-launcher-art .community-launcher-illustration{mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent),linear-gradient(0deg,transparent,#000 9%,#000 93%,transparent);mask-composite:intersect;-webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent),linear-gradient(0deg,transparent,#000 9%,#000 93%,transparent);-webkit-mask-composite:source-in}
body[data-theme=modern][data-library-page=item] .library-set-workspace .library-item-overview{display:block;padding:18px;margin:0;background:#10170f;border:1px solid #778a5555}
body[data-theme=modern][data-library-page=item] .library-set-workspace .library-item-large{display:block;width:70px;height:85px;margin:0 auto 14px;object-fit:scale-down}
body[data-theme=modern][data-library-page=item] .library-set-workspace .native-item-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px;margin-bottom:12px!important}
body[data-theme=modern][data-library-page=item] .library-set-workspace .native-item-facts>div{padding:4px 0 6px}
body[data-theme=modern][data-library-page=item] .library-set-workspace .native-item-facts dt{font:11px/1.3 Arial,sans-serif}
body[data-theme=modern][data-library-page=item] .library-set-workspace .native-item-facts dd{font:18px/1.2 Georgia,serif;margin-top:4px}
body[data-theme=modern][data-library-page=item] .library-set-workspace .catalog-mod{font:14px/1.45 Arial,sans-serif;margin:4px 0}
body[data-theme=modern][data-library-page=item] .library-set-workspace .library-native-properties>p{font:14px/1.4 Arial,sans-serif;margin:4px 0}
body[data-theme=modern][data-library-page=item] .library-set-workspace .library-item-info{border:0;padding:0}
body[data-theme=modern][data-library-page=item] .library-set-workspace .library-native-properties{padding:0;margin:0}
body[data-theme=modern][data-library-page=item] .library-set-workspace .native-item-properties{margin:10px 0;padding:0}
body[data-theme=modern][data-library-page=item] .library-set-workspace .native-item-properties p{font:14px/1.4 Arial,sans-serif;margin:4px 0}
.library-set-parts a{justify-content:flex-start;text-align:left}
.classic-community-home :is(.community-worlds,.community-live-games,.community-tools,.community-launcher,.community-divider){max-width:1220px;margin-inline:auto;box-sizing:border-box}
.classic-community-home .community-world-grid{align-items:stretch;grid-auto-rows:1fr}
.classic-community-home .community-world-copy{display:flex;flex-direction:column;align-items:center;min-height:150px}
.classic-community-home .community-world-description{flex:1}
body[data-theme=modern][data-library-page=item] .library-set-workspace .set-item-bonuses{padding:7px 0;margin:0}
body[data-theme=modern][data-library-page=item] .library-set-workspace .set-item-bonuses h3{font:13px/1.4 Georgia,serif;margin:0 0 3px}
body[data-theme=modern][data-library-page=item] .library-set-workspace>.set-bonus-panel{padding:18px;margin:0;border:1px solid #778a5555;background:#10170f}
body[data-theme=modern][data-library-page=item] .library-set-workspace .set-bonus-panel h2{font-size:25px;margin:6px 0 12px}
body[data-theme=modern][data-library-page=item] .library-set-workspace .set-bonus-rows{grid-template-columns:minmax(0,1fr);gap:8px}
body[data-theme=modern][data-library-page=item] .library-set-workspace .set-bonus-explanation,body[data-theme=modern][data-library-page=item] .library-set-workspace .catalog-note{font:11px/1.5 Arial,sans-serif;margin:10px 0}
body[data-theme=modern] .command-header #service-cards .service-card{grid-template-columns:10px minmax(0,1fr);grid-template-areas:'light name' 'light status';height:58px;row-gap:5px;padding-inline:18px}
body[data-theme=modern] .command-header #service-cards .service-card :is(p,small,.service-sparkline){display:none}
body[data-theme=modern] .command-header #service-cards .service-card h3{font:15px/1.35 Georgia,serif;overflow:hidden;text-overflow:ellipsis}
body[data-theme=modern] .command-header #service-cards .service-card b{grid-area:status;position:static!important;width:auto;height:auto;margin:0;padding:0;clip:auto;overflow:visible;font:600 11px/1.2 Arial,sans-serif;letter-spacing:.7px;color:#a1a89d}
body[data-theme=modern] .command-header #service-cards .service-card[data-state=reachable] b{color:#a6d984}
body[data-theme=modern] .command-header #service-cards .service-card[data-state=unreachable] b{color:#ef9b87}
body[data-theme=modern] .command-header #service-cards .service-card[data-state=reachable] .service-light{background:#97d86e;box-shadow:0 0 9px #94db6d66}
body[data-theme=modern] .command-header #service-cards .service-card[data-state=unreachable] .service-light{background:#ef8c76;box-shadow:0 0 9px #e97d6244}
@media(max-width:1000px){.library-set-workspace{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){body[data-theme=modern] .library-sidebar-icon{width:28px;height:32px}body[data-theme=modern][data-view=library][data-library-page=items] .library-equipment-link{min-height:49px;gap:8px}.library-set-parts{grid-template-columns:minmax(0,1fr)}body[data-theme=modern] .planner-page .planner-config>label{flex:1 1 130px}body[data-theme=modern] .planner-page .planner-config>button{flex:1 1 150px;margin-left:0}body[data-theme=modern] .planner-page .planner-config label select{width:100%}}
