/* DarkScape S2 - desktop-first fantasy MMO skin (2026-10-26)
   Non-destructive presentation layer; original rules and handlers are unchanged. */
:root{--ds-bg:#090e12;--ds-panel:#10191c;--ds-gold:#ddba70;--ds-border:#5b4930;--ds-text:#ede5d3;--ds-muted:#b5b7b2}
html{box-sizing:border-box;min-width:0}*,*:before,*:after{box-sizing:inherit}
body{min-width:0!important;max-width:none!important;width:100%!important;margin:0!important;padding:0 12px 45px!important;background:radial-gradient(ellipse at 50% -10%,#233037 0%,#0b1015 50%,#06090b 100%) fixed!important;color:var(--ds-text)!important;opacity:1!important;font:15px/1.55 Arial,Verdana,sans-serif!important;border:0!important;border-radius:0!important}
a{color:#e9c67c}a:hover{color:#ffe4ab}img{max-width:100%;height:auto}table{max-width:100%}input,select,textarea,button{max-width:100%;font:inherit}input,select,textarea{background:#10191b!important;color:#f0e8d7!important;border:1px solid #635235!important;border-radius:5px!important;padding:10px!important}input:focus,textarea:focus,select:focus{outline:2px solid #c99c4a;outline-offset:1px}input[type=submit],button,.ds-btn{display:inline-block;border:1px solid #b98c41!important;border-radius:5px!important;padding:10px 18px!important;background:linear-gradient(#e8c87f,#b8873e)!important;color:#19150f!important;font-weight:700!important;cursor:pointer;text-decoration:none!important;box-shadow:0 2px 12px #0005}input[type=submit]:hover,button:hover,.ds-btn:hover{filter:brightness(1.12)}
/* Legacy shells — widen the play area while retaining PHP output and existing links. */
.aplinkui{max-width:1190px!important;width:100%!important;margin:0 auto!important;background:#0c1216;border:1px solid #493d2d;box-shadow:0 18px 55px #000b}
.header{height:185px!important;max-width:none!important;width:100%!important;background-size:cover!important;background-position:center 37%!important;position:relative}
.lygiavimas{max-width:none!important;width:100%!important;margin:0 auto!important;padding:0 22px 26px!important;margin-top:0!important;position:relative}
.hlogo{display:block;max-height:72px;width:auto;max-width:250px;margin:-53px 0 12px;position:relative;filter:drop-shadow(0 3px 8px #000)}
.vidurys,.vidurys2{width:100%!important;max-width:none!important;min-width:0!important;padding:18px!important;background:linear-gradient(#111b20ed,#0a1013f5)!important;border:1px solid #403522;border-radius:4px;overflow-wrap:anywhere}
.virsus,.apacia{max-width:none!important;width:100%!important}.foot,.foot_u{max-width:none!important;width:100%!important}
.div1_c,.div1_c_title,.div1_navi,.top,.head{background:linear-gradient(105deg,#1b2b30,#0f191c)!important;border:1px solid #625035!important;color:#e6c078!important;padding:10px 14px!important;border-radius:4px!important;text-shadow:none!important}
.div1_l,.div1_navi{color:#ece0c7!important}
.foot{background:#0e1518!important;border:1px solid #493c29!important;color:#cabd9f!important;padding:15px!important;text-align:center}
.ds-gamebar{display:flex;gap:14px;align-items:center;justify-content:space-between;max-width:1190px;margin:0 auto;background:#0b1216;border:1px solid #5c472c;border-top:0;padding:12px 20px}
.ds-gamebar strong{font:700 22px Georgia,serif;color:#e4be75}.ds-gamebar a{padding:8px 12px;display:inline-block;text-decoration:none;border:1px solid #51412b;border-radius:3px}.ds-gamebar a:hover{background:#243036}.ds-gamebar nav{display:flex;gap:7px;flex-wrap:wrap}
/* Public home */
body.ds-home{padding:0!important}.ds-public-wrap{width:min(1280px,100%);margin:auto}.ds-public-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 25px;background:#080e12;border-bottom:1px solid #655038}.ds-public-brand{font:bold clamp(22px,3vw,32px) Georgia,serif;color:#e7c47f;text-decoration:none}.ds-public-nav{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.ds-public-nav a{padding:9px 13px;color:#e6deca;text-decoration:none}.ds-public-nav .ds-btn{color:#17130e}.ds-home-hero{min-height:435px;display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:30px;align-items:center;padding:55px 45px;background:linear-gradient(90deg,#071012f5 0%,#0b151abf 60%,#0d161ab3),url('new_css/header2x.png') center/cover;position:relative;border-bottom:2px solid #6c5432}.ds-kicker{letter-spacing:3px;text-transform:uppercase;color:#d8b777;font-size:12px;font-weight:700}.ds-home-hero h1{font:700 clamp(35px,5vw,65px)/1.1 Georgia,serif;color:#f4dab0;margin:16px 0}.ds-home-hero p{font-size:17px;max-width:620px;color:#ece4d5}.ds-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.ds-actions a{text-decoration:none;padding:13px 22px}.ds-outline{border:1px solid #b89b63;color:#f3deaf!important;background:#0b1117d9;border-radius:5px}.ds-home-card{background:#091318ee;border:1px solid #a17d48;padding:25px;box-shadow:0 12px 30px #0008}.ds-home-card h2{font:24px Georgia,serif;color:#e7be76;margin:0 0 10px}.ds-home-card li{margin:12px 0}.ds-home-section{padding:32px 25px;background:#0d1418}.ds-home-section h2{font:28px Georgia,serif;color:#e6c47f}.ds-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.ds-feature{min-height:178px;border:1px solid #665133;padding:25px;background:linear-gradient(145deg,#1b292b,#0b1216);box-shadow:0 5px 20px #0005}.ds-feature h3{font:24px Georgia,serif;color:#edc77e}.ds-feature p{color:#d1c9ba}.ds-news{border:1px solid #5b4830;padding:20px;background:#101b1f}.ds-home .content.text-center{width:min(700px,calc(100% - 28px));margin:15px auto 40px!important;padding:25px;background:#111c21;border:1px solid #665031;border-radius:6px;text-align:center}.ds-home .login form{margin:12px auto}.ds-home .login input[type=text],.ds-home .login input[type=password]{width:min(360px,100%)}.ds-home .top{display:none!important}.ds-home .foot{max-width:1280px;margin:10px auto}
@media(max-width:800px){body{padding:0 5px 25px!important}.lygiavimas{padding:0 7px 10px!important}.vidurys,.vidurys2{padding:11px!important}.header{height:118px!important}.hlogo{max-height:55px;max-width:190px;margin:-44px 0 8px}.ds-gamebar{padding:9px;flex-wrap:wrap}.ds-gamebar strong{font-size:19px}.ds-gamebar nav{gap:4px}.ds-gamebar a{padding:7px}.ds-public-header{padding:13px;flex-wrap:wrap}.ds-public-nav{gap:1px}.ds-public-nav a{padding:7px}.ds-home-hero{grid-template-columns:1fr;min-height:0;padding:40px 18px;gap:20px}.ds-home-section{padding:24px 15px}.ds-features{grid-template-columns:1fr}.ds-home-hero p{font-size:15px}}
@media(max-width:450px){table{font-size:12px}td,th{padding:3px!important}.ds-home-card{padding:15px}.ds-public-brand{font-size:24px}.ds-public-nav a{font-size:12px}.ds-gamebar nav a{font-size:12px}}
