/* TS Retro 3.0 — RPG red/gold all-site visual system; appearance only. */
:root{--dy-gold:#f5c75c;--dy-ivory:#ffefbf;--dy-red:#7d120a;--dy-dark:#160a08;--dy-panel:#1b0c0a;--dy-edge:#bd7b26;--dy-line:#714022;--dy-muted:#c5ab8b;}
*,*:before,*:after{box-sizing:border-box}
html{scroll-behavior:smooth}
body.dy-theme{display:block!important;min-height:100vh!important;padding:0!important;margin:0!important;color:#f3e5cf!important;background:linear-gradient(rgba(20,3,3,.57),rgba(18,3,3,.75)),url('retro-battlefield.jpg') center top/cover fixed!important;font-family:'Prompt',Tahoma,Arial,sans-serif!important}
.dy-theme .dy-masthead{width:100%;height:clamp(150px,18.62vw,286px);background:url('retro-masthead.jpg?v=4.1') center top/cover no-repeat;position:relative;box-shadow:inset 0 -18px 30px rgba(43,9,2,.35);}
.dy-theme .dy-masthead-home{position:absolute;top:0;left:0;width:39%;height:100%;display:block;cursor:pointer}
.dy-theme .navbar,.dy-theme .dy-quicknav{position:relative!important;left:auto!important;top:auto!important;display:flex;justify-content:center;width:min(1500px,98%);min-height:61px;height:auto!important;margin:0 auto 19px;background:linear-gradient(180deg,#6b120b 0%,#3a0b08 48%,#250807 100%)!important;border:2px solid #b57423;border-bottom:4px solid #d79a35;border-radius:7px;box-shadow:inset 0 1px #f4c75b,0 5px 1px #1b0705,0 7px 25px #100000d9!important;backdrop-filter:none!important;z-index:10!important}
.dy-theme .navbar-container{width:100%!important;max-width:none!important;min-height:59px;height:auto!important;display:flex!important;flex-wrap:wrap;align-items:stretch!important;justify-content:center!important;padding:0 9px;gap:0!important}
.dy-theme .nav-logo{display:none!important}
.dy-theme .nav-links{display:flex!important;flex:1 1 800px;align-items:stretch;justify-content:center!important;gap:0!important;flex-wrap:wrap!important;white-space:normal!important}
.dy-theme .nav-links a,.dy-theme .dy-quicknav a{display:inline-flex;align-items:center;justify-content:center;color:#f6de95!important;padding:14px 17px!important;font-family:'Prompt',Arial,sans-serif!important;font-size:15px!important;font-weight:700!important;border-right:1px solid #8c3c1e;border-radius:0!important;white-space:nowrap;text-decoration:none!important;background:transparent!important;transform:none!important;box-shadow:none!important;transition:background .2s}
.dy-theme .nav-links a:hover,.dy-theme .nav-links a.active,.dy-theme .dy-quicknav a:hover{background:linear-gradient(180deg,#f5cf61,#c47b24)!important;color:#451505!important;text-shadow:0 1px 0 #ffe7a7;border-color:#d9ac5c!important}
.dy-theme .nav-user{display:flex;flex:0 1 auto;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px!important;padding:4px 10px;color:#e9cf91!important}
.dy-theme .nav-user a:not(.btn-logout){color:#f9d47b!important;font-weight:600;text-decoration:none}
.dy-theme .nav-user .nav-greeting{font-size:12px;color:#ffdfa3!important}
.dy-theme .nav-points{padding:5px 10px!important;border:1px solid #a46c2b!important;background:#371509!important;border-radius:4px!important;color:#ffda7b!important}
.dy-theme .btn-logout{padding:6px 10px!important;background:linear-gradient(#a52a19,#4d0d0a)!important;border:1px solid #a46c2b!important;border-radius:4px!important;color:#fff!important}
.dy-theme .dy-quicknav{flex-wrap:wrap;align-items:center;gap:0;padding:0 10px}
.dy-theme a{color:var(--dy-gold)}
.dy-theme a:hover{color:#fff1b7}
.dy-theme button,.dy-theme button[type=submit],.dy-theme input[type=submit],.dy-theme .dy-action-button{font-family:inherit!important;background:linear-gradient(180deg,#ffe094 0%,#f5b846 45%,#bd7620 100%)!important;border:1px solid #e9b958!important;border-radius:7px!important;box-shadow:inset 0 1px rgba(255,255,255,.45),0 3px 0 #713809!important;color:#3a1604!important;font-weight:700!important;cursor:pointer;text-shadow:0 1px #ffe6a4;transform:none}
.dy-theme button:hover,.dy-theme .dy-action-button:hover{filter:brightness(1.12);transform:translateY(-1px)}
.dy-theme input[type=text],.dy-theme input[type=email],.dy-theme input[type=password],.dy-theme input[type=number],.dy-theme input[type=date],.dy-theme input[type=time],.dy-theme input[type=datetime-local],.dy-theme input[type=url],.dy-theme select,.dy-theme textarea{background:#271c1b!important;border:1px solid #765345!important;border-radius:6px!important;color:#fff5e7!important;font-family:inherit!important;box-shadow:inset 0 2px 4px #0007;max-width:100%;}
.dy-theme input::placeholder,.dy-theme textarea::placeholder{color:#bfa99c!important;opacity:1}
.dy-theme input:focus,.dy-theme select:focus,.dy-theme textarea:focus{outline:2px solid #ecad42!important;outline-offset:1px}
.dy-theme .container,.dy-theme .download-wrap,.dy-theme .admin-container,.dy-theme .admin-download,.dy-theme .history-wrap{background:linear-gradient(135deg,#24100eee,#150908f7)!important;border:2px solid #ad6d26!important;box-shadow:inset 0 0 0 2px #43150d,0 15px 35px #080000bf!important;border-radius:10px!important;color:#f6e9d1!important;margin-left:auto!important;margin-right:auto!important;max-width:calc(100% - 24px)!important}
.dy-theme .container h1,.dy-theme .container h2,.dy-theme .container h3,.dy-theme .download-wrap h1,.dy-theme .admin-container h1,.dy-theme .history-wrap h1,.dy-theme .admin-download h1{color:#ffdc83!important;text-shadow:0 2px 2px #0008}
.dy-theme .container p,.dy-theme .container label,.dy-theme .download-wrap p,.dy-theme .history-wrap p{color:#f5e2c8}
.dy-theme table{background:#180b09;color:#eed9bb;box-shadow:none}
.dy-theme th{background:#4a160e!important;color:#ffdb79!important;border-color:#6e3a27!important}
.dy-theme td{background:#210e0b;color:#eee0cb;border-color:#5c2f22!important}
.dy-theme tr:hover td{background:#34160e}
.dy-theme .news-container{background:linear-gradient(#1a0909db,#1a0909ed),url('bg-news.jpg') center/cover!important}
.dy-theme .news-box{background:linear-gradient(120deg,#2b0e0c,#190a08)!important;border:1px solid #895222!important;border-left:5px solid #eeb34f!important;box-shadow:0 5px 18px #0005!important}
.dy-theme .news-title,.dy-theme .news-date{color:#ffcb68!important}
.dy-theme .news-content{color:#f9ead5!important}
.dy-theme .news-btn-link,.dy-theme .btn-post{background:linear-gradient(180deg,#f3cd76,#b37125)!important;color:#3a1607!important}
.dy-theme .shop-container,.dy-theme .topup-container,.dy-theme .dashboard-container{background:linear-gradient(135deg,#230c0cf0,#150807f5)!important}
.dy-theme .admin-box,.dy-theme .panel{border:1px solid #92561f!important;background:#1d0b0a!important;color:#ffebc5!important}
.dy-theme .download-card,.dy-theme .download-wrap .download-card{border:1px solid #9b642e!important;background:#27110e!important;color:#ffead3!important}
.dy-theme .download-card h2,.dy-theme .download-desc,.dy-theme .download-card .meta{color:#f7dba7!important}
.dy-theme .message-success{background:#123a22!important;color:#c0f6c7!important;border:1px solid #327847!important}
.dy-theme .message-error{background:#491b1b!important;color:#ffd1ce!important;border:1px solid #b25a4e!important}
.dy-theme img{max-width:100%}
/* Homepage: faithful three-column screenshot composition */
.dy-home .dy-shell{width:min(1460px,96%);margin:17px auto 0}
.dy-home .dy-layout{display:grid;grid-template-columns:minmax(255px,305px) minmax(0,1fr) minmax(255px,305px);gap:18px;align-items:start}
.dy-home .dy-sidebar-left,.dy-home .dy-middle,.dy-home .dy-sidebar-right{display:flex;flex-direction:column;gap:14px;min-width:0}
.dy-theme .dy-panel{background:linear-gradient(140deg,#26100df3,#140a09f7);border:2px solid var(--dy-edge);border-radius:9px;box-shadow:inset 0 0 0 2px #43130b,0 6px 2px #140604,0 9px 17px #0008;overflow:hidden;color:#ffe8c4}
.dy-home .dy-panel-heading{margin:0;min-height:54px;padding:11px 16px;background:linear-gradient(180deg,#5d190e,#3b0d08 65%,#270c09);border-bottom:2px solid #a96527;display:flex;align-items:center;gap:9px;color:#f9d370!important;font-size:19px;line-height:1.35;font-weight:700!important;text-shadow:1px 2px #0009}
.dy-home .dy-panel-heading>span:first-child{color:#ffd984;font-size:24px;line-height:1}
.dy-home .dy-panel-heading small{font-size:11px;color:#f3c380;font-weight:400;margin-left:auto}
.dy-home .dy-panel-body{padding:14px 17px 19px}
.dy-home .dy-login-form input{width:100%;margin:0 0 9px!important;padding:10px 12px;font-size:14px}
.dy-theme .dy-action-button{display:block;width:100%;padding:9px 14px;text-align:center;font-size:16px;text-decoration:none!important}
.dy-home .dy-account-links{text-align:center;margin:15px 0 0;font-size:12px;color:#bb8b55}
.dy-home .dy-account-links a,.dy-home .dy-small-link{color:#fff1cf!important}
.dy-home .dy-small-link{display:block;text-align:center;margin-top:10px;font-size:12px}
.dy-home .dy-welcome{margin:2px 0 12px;font-size:13px}
.dy-home .dy-point-display{margin:0 0 18px;border:1px solid #78451a;padding:8px;background:#30120a;font-size:13px}
.dy-home .dy-point-display b{color:#ffce67}
.dy-home .dy-large-action{display:flex;align-items:center;justify-content:center;gap:16px;min-height:82px;text-align:center;border:3px solid #d4a244;border-radius:9px;background:linear-gradient(180deg,#ab2714,#5b0f0b);box-shadow:inset 0 0 0 2px #521a0b,0 6px 2px #260602;color:#ffe695!important;text-decoration:none!important}
.dy-home .dy-large-action>span:first-child{font-size:39px;line-height:1}
.dy-home .dy-large-action strong{display:block;font-size:25px;line-height:1.2}
.dy-home .dy-large-action small{display:block;font-size:12px;color:#fff3d3}
.dy-home .dy-side-nav{border:2px solid #b78232;padding:10px;background:linear-gradient(#4e220f,#1d0d08);box-shadow:inset 0 0 0 2px #210a06;border-radius:9px;display:grid;gap:7px}
.dy-home .dy-side-nav a{color:#ffdc89!important;font-weight:700;font-size:16px;text-decoration:none!important;border:1px solid #b18030;border-radius:6px;padding:11px 10px;background:linear-gradient(180deg,#4e2c0e,#2c170b);box-shadow:inset 0 2px 2px #a47b29;display:flex;gap:13px;align-items:center;}
.dy-home .dy-side-nav a span{flex:1}.dy-home .dy-side-nav a b{font-size:24px}.dy-home .dy-side-nav a:hover{background:#684016}
.dy-home .dy-status-content{display:grid;grid-template-columns:minmax(135px,1.5fr) repeat(4,minmax(56px,1fr));align-items:stretch;padding:12px 15px;gap:4px;min-height:98px}
.dy-home .dy-server-name{display:flex;flex-direction:column;gap:3px;padding:8px 5px;justify-content:center}
.dy-home .dy-server-name strong{font-size:19px;color:#ffe0a0}.dy-home .dy-server-name small,.dy-home .dy-server-name span{font-size:12px;color:#cdb6a3}
.dy-home .dy-stat{background:#2e150f;border-left:1px solid #4f2a1a;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:6px 3px;gap:3px;text-align:center}
.dy-home .dy-stat span{font-size:12px;color:#f7cf75}.dy-home .dy-stat b{font-size:26px;color:#f8cb55;line-height:1.25}
.dy-home .dy-server-flag{margin-left:auto;border:1px solid;border-radius:20px;padding:3px 10px;font-size:13px;font-weight:700}
.dy-home .dy-online{color:#b7ff66;border-color:#43872a;background:#1a360e}.dy-home .dy-offline{color:#ffc58b;border-color:#9e5930;background:#4a2314}
.dy-home .dy-heading-link{font-size:12px;margin-left:auto;color:#ffe9b1!important;text-decoration:none!important;font-weight:500}
.dy-home .dy-news-list{padding:8px 14px 12px}
.dy-home .dy-news-item{display:flex;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid #50302b;text-decoration:none!important;font-size:13px;color:#f5e1cd!important}
.dy-home .dy-news-item:last-child{border-bottom:0}.dy-home .dy-news-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dy-home .dy-news-item time{font-size:11px;color:#bda79b;white-space:nowrap}
.dy-home .dy-news-tag{font-size:11px;font-weight:700;min-width:57px;padding:3px 6px;text-align:center;border-radius:5px;color:#fff6e8;background:#a32920}
.dy-home .dy-tag-blue{background:#235b99}.dy-home .dy-tag-green{background:#37672c}
.dy-home .dy-empty{color:#cdb4a5;font-size:13px;padding:20px 10px;text-align:center}
.dy-home .dy-promo{position:relative;display:flex;align-items:center;min-height:175px;border:2px solid #d3a243;border-radius:8px;background:linear-gradient(90deg,rgba(61,8,5,.90),rgba(54,8,6,.46)),url('retro-promo.jpg') 50% 42%/cover;color:#ffda7e!important;text-decoration:none!important;overflow:hidden;box-shadow:inset 0 0 0 2px #58130b,0 6px 10px #0008}
.dy-home .dy-promo-text{display:flex;flex-direction:column;padding:20px 34px;z-index:1}
.dy-home .dy-promo-text small{font-size:11px;letter-spacing:2px;color:#ffe9b3}
.dy-home .dy-promo-text strong{font-size:32px;line-height:1.18;text-shadow:2px 3px 2px #200300;font-weight:700}
.dy-home .dy-promo-text>span{font-size:12px;color:#ffefcc;margin-top:5px}
.dy-home .dy-promo-more{margin-left:auto;margin-right:20px;font-weight:700;background:linear-gradient(#f4c35a,#a86821);color:#321004;border-radius:5px;padding:8px 12px;white-space:nowrap;z-index:1}
.dy-home .dy-table-scroll{overflow-x:auto;padding:2px 10px 12px}
.dy-home .dy-table{width:100%;border-collapse:collapse;margin:0;background:transparent;color:#edd8c4;font-size:12px;min-width:300px}
.dy-home .dy-table th{background:#35130e!important;padding:9px;color:#efce8a!important}
.dy-home .dy-table td{padding:9px;background:transparent;color:#e4cfb8}
.dy-home .dy-ranking-list{padding:5px 16px 12px}
.dy-home .dy-rank-item{display:flex;align-items:center;gap:11px;border-bottom:1px solid #50302b;min-height:42px;font-size:13px}
.dy-home .dy-rank-item:last-child{border:0}
.dy-home .dy-medal{display:flex;align-items:center;justify-content:center;min-width:27px;width:27px;height:27px;border-radius:5px;color:#fff3d7;font-weight:700;background:#5a3421}
.dy-home .dy-medal-1{background:linear-gradient(145deg,#ffd749,#b97c12);color:#4a2200}
.dy-home .dy-medal-2{background:linear-gradient(145deg,#e9edf2,#7d8b9f);color:#24344f}
.dy-home .dy-medal-3{background:linear-gradient(145deg,#db9652,#744025);color:#ffeed6}
.dy-home .dy-rank-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dy-home .dy-rank-lv{color:#ead4b5;font-size:12px;white-space:nowrap}
.dy-home .dy-cities-list{padding:10px 15px 14px}
.dy-home .dy-city{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #513027;padding:10px 2px;font-size:12px}
.dy-home .dy-city:last-child{border-bottom:0}.dy-home .dy-city small{color:#8fcd6a;white-space:nowrap}.dy-home .dy-get-started p{margin:0 0 17px;font-size:12px;line-height:1.7;color:#f3d7b7}
.dy-home .dy-footer{font-size:12px;color:#d0b497;text-align:center;padding:33px 12px 40px;text-shadow:0 1px #110303}
.dy-home .dy-footer span{display:block;margin-top:5px}
/* Inner pages: dark gold UI without interfering forms/POST handlers */
.dy-inner .container,.dy-inner .download-wrap,.dy-inner .admin-container,.dy-inner .admin-download,.dy-inner .history-wrap{margin-top:22px!important;margin-bottom:50px!important;padding:clamp(17px,3vw,35px)!important}
.dy-inner .news-container,.dy-inner .shop-container,.dy-inner .topup-container,.dy-inner .dashboard-container{width:min(1250px,96%)!important}
.dy-inner .container>img[src*="brand-logo"]{display:none!important}
.dy-inner .news-container>h1{font-size:26px;text-align:center;margin-bottom:25px;color:#ffda7b!important}
.dy-inner .news-container .news-box{padding:20px!important}
.dy-inner .container form[style*="background"],.dy-inner .container div[style*="background: #fff"],.dy-inner .container .card{background:#32170f!important;border:1px solid #97602a!important;color:#f4ddbe!important}
.dy-inner .shop-container>h1,.dy-inner .topup-container>h1{color:#f9cb65!important}
.dy-inner .download-wrap .download-grid{gap:16px}
.dy-inner .download-wrap .download-card{overflow:hidden}
.dy-inner .download-wrap .download-card h2{font-size:20px}
.dy-inner .download-wrap .download-card .download-btn{background:linear-gradient(#f4cc79,#a36d2b);color:#2a0b01}
.dy-inner .download-wrap .download-card .download-icon{color:#f4b43e}
.dy-inner .admin-container,.dy-inner .history-wrap,.dy-inner .admin-download{overflow-x:auto}
.dy-inner .admin-container table,.dy-inner .history-wrap table,.dy-inner .admin-download table{min-width:580px}
.dy-inner.dy-auth-page .container{width:min(475px,94%)!important;margin:20px auto 60px!important;padding:clamp(23px,4vw,34px)!important;text-align:center}
.dy-inner.dy-auth-page .container h2{font-size:26px!important;color:#ffda7d!important}
.dy-inner.dy-auth-page .container form{text-align:left}
.dy-inner.dy-auth-page .container form button{width:100%;margin-top:5px}
.dy-inner.dy-auth-page .container a[style*="background:#fff"]{background:#361e1a!important;color:#ffdb91!important;border:1px solid #a37441!important}
.dy-inner.dy-auth-page .register-help{color:#ead3ae!important}.dy-inner.dy-auth-page .field-error{color:#ffaaa2!important}
.dy-inner .form-input,.dy-inner textarea.form-input{background:#271c1b!important;color:#fff3df!important}
.dy-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1350px){.dy-home .dy-layout{grid-template-columns:260px minmax(0,1fr) 255px;gap:12px}.dy-home .dy-panel-heading{font-size:16px}.dy-theme .nav-links a{font-size:13px!important;padding:12px 10px!important}}
@media(max-width:1000px){.dy-home .dy-layout{grid-template-columns:minmax(220px,1fr) minmax(0,2fr)}.dy-home .dy-sidebar-right{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px}.dy-home .dy-get-started{grid-column:1/-1}.dy-home .dy-stat b{font-size:22px}}
@media(max-width:760px){.dy-theme .dy-masthead{height:190px;background-size:auto 190px;background-position:41% top}.dy-theme .dy-masthead:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,5,3,.12),transparent 70%);pointer-events:none}.dy-theme .navbar,.dy-theme .dy-quicknav{width:97%;margin-bottom:16px}.dy-theme .navbar-container{padding:0 3px}.dy-theme .nav-links a,.dy-theme .dy-quicknav a{font-size:12px!important;padding:10px 9px!important}.dy-theme .nav-user{padding:7px 8px}.dy-home .dy-shell{width:95%}.dy-home .dy-layout{grid-template-columns:1fr}.dy-home .dy-sidebar-left{display:grid;grid-template-columns:1fr 1fr;align-items:start}.dy-home .dy-account{grid-column:1/-1}.dy-home .dy-side-nav{grid-column:2}.dy-home .dy-sidebar-right{grid-column:auto;grid-template-columns:1fr}.dy-home .dy-promo-text strong{font-size:25px}.dy-home .dy-promo-more{font-size:11px;padding:6px}.dy-home .dy-status-content{grid-template-columns:repeat(4,1fr)}.dy-home .dy-server-name{grid-column:1/-1;padding:6px}.dy-home .dy-stat{min-height:68px}.dy-inner .container,.dy-inner .download-wrap,.dy-inner .admin-container,.dy-inner .admin-download,.dy-inner .history-wrap{max-width:95%!important}.dy-inner .news-container .news-box{padding:15px!important}}
@media(max-width:470px){.dy-theme .dy-masthead{height:154px;background-size:auto 154px;background-position:31% top}.dy-home .dy-sidebar-left{grid-template-columns:1fr}.dy-home .dy-side-nav,.dy-home .dy-account{grid-column:auto}.dy-home .dy-large-action{min-height:68px}.dy-home .dy-promo{min-height:165px}.dy-home .dy-promo-more{display:none}.dy-home .dy-stat span{font-size:10px}.dy-home .dy-stat b{font-size:21px}.dy-home .dy-panel-heading{font-size:16px;padding:11px}.dy-home .dy-news-item time{display:none}}

/* Mobile masthead: center complete logo artwork, rather than crop its text. */
@media(max-width:760px){.dy-theme .dy-masthead{background:linear-gradient(90deg,#32120b,#6b2713 52%,#1d0c0b),url('retro-battlefield.jpg') center/cover}.dy-theme .dy-masthead:before{content:"";position:absolute;inset:0;background:url('retro-logo-art.jpg?v=4.1') 14px center/auto 132px no-repeat;z-index:1;pointer-events:none}.dy-theme .dy-masthead:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(81,22,12,.1)),url('retro-battlefield.jpg') 65% center/cover;opacity:.38;z-index:0;pointer-events:none}.dy-theme .dy-masthead-home{z-index:2}}
@media(max-width:470px){.dy-theme .dy-masthead:before{background-size:auto 124px;background-position:10px center}}

/* TS Retro accents: same red/gold Three Kingdoms design across the retro site, cooler retro download button */
.dy-home .dy-large-action{background:linear-gradient(180deg,#236ac2,#10438b 57%,#0a2355)!important;border-color:#f9d66b!important;color:#fff0b1!important;box-shadow:inset 0 0 0 2px #1267c7,0 5px 3px #210804!important}
.dy-home .dy-large-action:hover{background:linear-gradient(180deg,#388ce6,#0a4fae)!important}
.dy-theme .dy-masthead{background-color:#3a170b}
/* Avoid rendering historical TS Retro backgrounds under content wrappers */
.dy-theme .news-container{background:linear-gradient(#1a0909db,#1a0909ed),url('bg-news.jpg') center/cover!important}
