/* Original fixed-width dS-K layout: static assets are local to page2026. */
html,body{margin:0;padding:0;background:#000}body.dsk-legacy{background:#000 url('../legacy/img/bg.jpg') repeat;font:11px Arial,Helvetica,sans-serif;color:#000}.legacy-frame{width:998px;margin:0 auto;border-collapse:collapse;border-spacing:0}.legacy-frame img{display:block;border:0}.legacy-header-table{table-layout:fixed}.legacy-ticker{height:28px;background:#e7e7e7 url('../legacy/img/tg_06.jpg') repeat-x;text-align:center;vertical-align:middle;color:#000;font:11px Verdana,Arial,sans-serif;white-space:nowrap;overflow:hidden}.legacy-nav img{display:block}.legacy-main-table{height:570px;min-height:570px}.legacy-main-shell{vertical-align:top;background:url('../legacy/img/tg2_40.jpg') repeat-y}.legacy-main-shell>table{width:100%;border-collapse:collapse;border-spacing:0}.legacy-left-fill{padding:7px 9px 9px 15px;background:#dbe1e7 url('../legacy/img/tg_23.jpg') repeat-y;vertical-align:top;min-height:48px}.legacy-right-fill{padding:7px 12px;background:#e2e6eb url('../legacy/img/tg_26.jpg') repeat-y;vertical-align:top;min-height:48px}.legacy-left-fill a,.legacy-right-fill a{display:block;margin:3px 0;color:#051436;text-decoration:none;font:9px Verdana,Arial,sans-serif;line-height:1.35}.legacy-left-fill a:hover,.legacy-right-fill a:hover{text-decoration:underline;color:#666}.legacy-left-fill form{display:flex;gap:3px}.legacy-left-fill input{width:100%;min-width:0;border:1px solid #777;font:9px Arial}.legacy-left-fill button{border:1px solid #777;background:#eee;font:9px Arial;cursor:pointer}.legacy-member{margin:0;font:9px Verdana,Arial,sans-serif}.legacy-member strong{display:block;margin-bottom:4px;color:#01357c}.legacy-panel-title{margin:0 0 5px;color:#01357c;font:9px Verdana,Arial,sans-serif;font-weight:bold}.legacy-muted{margin:3px 0;color:#555;font-size:9px}.legacy-center{vertical-align:top;background:#fff url('../legacy/img/bg03.jpg') repeat}.legacy-content{padding:2px 12px 42px;min-height:570px;vertical-align:top;overflow-wrap:anywhere}.legacy-content .wrap{width:auto;margin:0}.legacy-content .hero,.legacy-content .nav,.legacy-content footer{display:none}.legacy-content main{padding:0}.legacy-content .grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,.8fr);gap:18px}.legacy-content .card{padding:0;border:0;background:transparent;box-shadow:none}.legacy-content h1,.legacy-content h2{margin:8px 0 12px;font-size:14px;text-transform:uppercase;line-height:1.25;color:#000}.legacy-content h3{margin:0 0 6px;font-size:12px;color:#051436}.legacy-content a{color:#051436;text-decoration:none}.legacy-content a:hover{color:#666;text-decoration:none}.legacy-content .meta{color:#666;font-size:10px}.legacy-content .news,.legacy-content .entry{padding:12px 0;border-top:1px solid #c8c8c8}.legacy-content .news:first-of-type,.legacy-content .entry:first-of-type{border-top:0;padding-top:0}.legacy-content .gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:9px}.legacy-content .gallery a{display:block;border:1px solid #789;aspect-ratio:4/3;overflow:hidden;background:#ddd}.legacy-content .gallery img{height:100%;width:100%;object-fit:cover}.legacy-content label{display:block;margin:9px 0 3px;font-weight:bold}.legacy-content input,.legacy-content select,.legacy-content textarea{max-width:100%;padding:4px;border:1px solid #555;background:#eee;color:#00225f;font:11px Arial,Helvetica,sans-serif}.legacy-content textarea{min-height:110px;width:100%;resize:vertical}.legacy-content button,.legacy-content .button{display:inline-block;padding:4px 7px;border:1px solid #334b72;background:#d8dde6;color:#051436;font:11px Arial,Helvetica,sans-serif;text-decoration:none;cursor:pointer}.legacy-content .notice{margin:10px 0;padding:7px;border-left:3px solid #7e1616;background:#fff1f1}.legacy-content .table{width:100%;border-collapse:collapse}.legacy-content .table td,.legacy-content .table th{padding:6px;border-bottom:1px solid #c8c8c8;text-align:left;vertical-align:top}.legacy-content .honeypot{position:absolute;left:-10000px}.forum-table{width:100%;border-collapse:separate;border-spacing:1px;background:#666;font-size:11px}.forum-table th{padding:6px;background:#d2d2d2 url('../legacy/img/tg.jpg') repeat-x;text-align:left;color:#333;font-weight:bold}.forum-table td{padding:7px;background:#f2f2f2;vertical-align:top}.forum-table tr:nth-child(even) td{background:#e4e8eb}.forum-table .forum-count{text-align:center;width:54px}.forum-category,.forum-author span{font-size:10px;color:#666}.forum-author{width:135px;background:#e2e7ed!important}.forum-message{min-height:78px}.forum-form{margin:16px 0;padding:10px;background:#e3e7eb;border:1px solid #777}.forum-form summary{cursor:pointer;font-weight:bold;color:#051436}.forum-form form{margin-top:8px}@media(max-width:760px){body.dsk-legacy{background:#fff}.legacy-frame,.legacy-header-table,.legacy-main-table{width:100%!important}.legacy-header-table>tbody>tr:first-child>td:first-child,.legacy-header-table>tbody>tr:first-child>td:last-child,.legacy-sidebar{display:none}.legacy-header-table>tbody>tr:first-child>td:nth-child(2){display:table-cell;width:100%}.legacy-header-table>tbody>tr:first-child>td:nth-child(2) table img{max-width:100%;height:auto}.legacy-header-table>tbody>tr:nth-child(2) img{width:33.333%;height:auto}.legacy-nav td:first-child,.legacy-nav td:last-child{display:none}.legacy-nav img{width:100%;height:auto}.legacy-main-table>tbody>tr>td.legacy-main-shell>table>tbody>tr>td.legacy-center{display:block;width:100%!important}.legacy-content{min-height:0;padding:14px}.legacy-content .grid{grid-template-columns:1fr}.forum-table{font-size:10px}.forum-table th:nth-child(1),.forum-table td:nth-child(1){max-width:84px}.forum-table th:nth-child(4),.forum-table td:nth-child(4){display:none}}
/* Exact legacy shell geometry and restored module treatments. */
.legacy-context-nav{height:19px}
.legacy-context-pixel{display:block;width:1px;height:19px}
.legacy-context-items{table-layout:fixed}
.legacy-context-item{width:100px;height:19px;padding:0;text-align:center;white-space:nowrap}
.legacy-context-item a{display:block;color:#fff;font:700 9px Verdana,Arial,sans-serif;line-height:19px;text-decoration:none;text-shadow:0 1px 1px #17314f}
.legacy-context-item a:hover{color:#dceaff;text-decoration:underline}
.legacy-left-fill{min-height:0;padding:0 8px 0 20px}
.legacy-right-fill{min-height:0;padding:3px 12px 3px 16px}
.legacy-right-fill.legacy-login-fill{padding-left:11px}
.legacy-content{padding:3px 16px 42px}
.legacy-login{margin:0}
.legacy-login input{width:100%;margin:0 0 4px;padding:2px 2px 2px 20px;border:1px solid #333;background-color:#eee;color:#00225f;font:9px Arial,Helvetica,sans-serif}
.legacy-login input[type=submit]{width:auto;padding-left:2px;cursor:pointer}
.legacy-member{margin:0;font:9px Verdana,Arial,sans-serif}
.legacy-member strong{display:block;margin-bottom:4px;color:#01357c}
.legacy-member a{display:block;margin:3px 0}
.legacy-poll{font:9px Verdana,Arial,sans-serif}
.legacy-poll>strong{display:block;margin-bottom:5px;color:#000}
.legacy-poll p{margin:5px 0}
.legacy-poll-row{margin:5px 0}
.legacy-poll-row span{display:block}
.legacy-poll-row i{display:block;width:104px;height:7px;border:1px solid #777;background:#fff}
.legacy-poll-row b{display:block;height:5px;background:#294d92}
.legacy-stats{width:100%;border-collapse:collapse;font:9px Verdana,Arial,sans-serif}
.legacy-stats td{padding:2px 0}
.legacy-partner{margin:5px 0;text-align:center}
.legacy-partner img{max-width:100%;height:auto;margin:auto}
.legacy-content .news{margin:0 0 16px;padding:0;border:1px solid #666;background:rgba(245,245,245,.88)}
.legacy-content .news h3{margin:0;padding:6px 8px;background:#d6d6d6 url('../legacy/title_bg.gif') repeat-x;color:#333;font-size:11px}
.legacy-content .news .meta{margin:0;padding:7px 10px 4px}
.legacy-content .news>div{padding:5px 10px 12px}
.legacy-content .card>h2{padding-bottom:5px;border-bottom:1px solid #777}
.legacy-content .grid>aside{padding-left:8px;border-left:1px solid #c8c8c8}
.forum-board-table{margin:14px 0}
.forum-board-category{background:#cfd4da!important;color:#333;font-size:12px!important}
.forum-board-category span{margin-left:8px;color:#666;font-size:10px;font-weight:normal}
.legacy-content .legacy-squad{position:relative;margin:0 0 12px;padding:0;background:transparent}
.legacy-squad>header{display:flex;align-items:center;gap:9px;margin-bottom:7px}
.legacy-squad>header h3{margin:0;color:#002f68;font-size:13px}
.legacy-squad-icon{display:block;max-width:182px;max-height:40px;object-fit:contain}
.legacy-squad-summary{width:100%;border-collapse:separate;border-spacing:1px;background:#777;margin:0 0 12px}
.legacy-squad-summary td{padding:5px 6px;background:#fff;vertical-align:top}
.legacy-squad-banner{padding:0!important;background:#fff!important}
.legacy-squad-banner img{display:block;max-width:182px;max-height:40px}
.legacy-squad-name{font-size:14px;font-weight:bold;color:#333}
.legacy-squad-actions{text-align:right;color:#666;font-size:10px;white-space:nowrap}
.legacy-squad-members{width:100%;border-collapse:separate;border-spacing:1px;background:#777;font-size:11px}
.legacy-squad-members th{padding:4px 6px;background:#d2d2d2 url('../legacy/title_bg.gif') repeat-x;color:#aaa;text-align:left;font-weight:bold}
.legacy-squad-members td{padding:5px 6px;background:#e8eaed;vertical-align:top}
.legacy-squad-members tr:nth-child(even) td{background:#dce1e6}
.legacy-squad-members .legacy-member-contact,.legacy-squad-members .legacy-member-activity{text-align:center}
@media(max-width:760px){.legacy-context-items{width:100%!important}.legacy-context-item{width:auto;font-size:8px}.legacy-context-item a{font-size:8px}.legacy-content{padding:12px 14px 28px}}
/* Forum and archive details carried over from the original public templates. */
.forum-symbol{width:22px!important;padding:4px!important;text-align:center!important;vertical-align:middle!important}
.forum-symbol img,.forum-topic-icon{display:inline-block;max-width:18px;max-height:18px;vertical-align:middle}
.forum-topic-icon{margin-right:6px}
.forum-author a,.forum-author span{display:block}
.forum-avatar{display:block;max-width:110px;max-height:100px;margin:8px auto 5px;object-fit:contain}
.forum-topics-table td{padding:5px}
.forum-topics-table td:nth-child(4){width:92px}
.forum-topics-table td:last-child{width:112px}
.legacy-sponsor{display:flex;align-items:flex-start;gap:14px}
.legacy-sponsor>img{display:block;max-width:150px;max-height:70px;object-fit:contain}
.legacy-sponsor h3,.legacy-link h3{margin-bottom:3px}
.legacy-awards td:first-child{width:76px;white-space:nowrap}
.legacy-awards td:last-child{width:135px}
@media(max-width:760px){.forum-topics-table th:nth-child(4),.forum-topics-table td:nth-child(4),.forum-topics-table th:last-child,.forum-topics-table td:last-child{display:none}.forum-author{width:92px}.forum-avatar{max-width:74px;max-height:74px}.legacy-sponsor{display:block}.legacy-sponsor>img{margin-bottom:8px}}.legacy-frame:last-of-type img{max-width:100%;height:auto}
@media(max-width:760px){.legacy-main-table{height:auto;min-height:0}.legacy-awards th,.legacy-awards td{display:table-cell!important}.legacy-awards th:first-child,.legacy-awards td:first-child{max-width:none}}
.legacy-inline-flag{display:inline-block!important;vertical-align:middle;margin-right:5px}
.legacy-news-layout{display:flex;align-items:flex-start;gap:10px;padding:7px 10px 12px}
.legacy-news-rubric{display:block;max-width:92px;max-height:76px;object-fit:contain}
.legacy-news-body{min-width:0;flex:1}
.legacy-content .news .legacy-news-body>.meta{padding:0 0 6px}
.legacy-content .news .legacy-news-body>div{padding:6px 0 0;border-top:1px solid #999}
.legacy-news-links{display:flex;flex-wrap:wrap;gap:8px;margin:9px 0 0}
.legacy-news-links a:before{content:'\203A\00A0';color:#666}
.legacy-inline-image{display:inline-block!important;max-width:100%;height:auto;vertical-align:middle}
.legacy-quote{margin:8px 0;padding:6px;border:1px solid #777;background:#e5e8eb;color:#222}
.legacy-list{margin:6px 0;padding-left:22px}
.legacy-pre{max-width:100%;overflow:auto;padding:6px;border:1px solid #aaa;background:#eee;font:10px/1.35 monospace;white-space:pre-wrap}
.legacy-center-text{text-align:center}
@media(max-width:520px){.legacy-news-layout{display:block}.legacy-news-rubric{margin:0 0 8px}}
/* Contain the historic sidebar controls inside the fixed 998 px shell. */
.legacy-login{display:block;width:100%;max-width:100%;box-sizing:border-box}
.legacy-login input{display:block;box-sizing:border-box;min-width:0;max-width:100%;width:100%}
.legacy-login input[type=submit]{box-sizing:border-box;width:auto;max-width:100%;min-width:0}

/* Original public forum geometry: five columns and a combined latest-post cell. */
.forum-board-table{table-layout:fixed}
.forum-board-table th:nth-child(2),.forum-board-table td:nth-child(2){width:auto}
.forum-board-table .forum-count{width:40px}
.forum-board-table .forum-latest{width:25%;text-align:center}
.forum-board-table .forum-board-spacer th{height:7px;padding:0;background:#fff;border:0;font-size:0;line-height:0}
.forum-board-table td:nth-child(2){padding-bottom:12px}
.forum-board-table .forum-category{display:inline-block;margin-top:2px}
.forum-legend{width:100%;margin:3px 0 14px;border-collapse:collapse;font:10px Arial,Helvetica,sans-serif}
.forum-legend td{padding:3px 0;vertical-align:middle}
.forum-legend td:last-child{text-align:right}
.forum-legend img{display:inline-block;vertical-align:middle;margin-right:3px}
/* Restored public profile information from the legacy member pages. */
.legacy-profile-grid{display:grid;grid-template-columns:minmax(0,60fr) minmax(0,39fr);gap:1%;margin-top:12px}
.legacy-profile-table{margin:0 0 12px}
.legacy-profile-table td:first-child{width:35%;font-weight:bold}
.legacy-profile-table td:last-child{overflow-wrap:anywhere}
.legacy-profile-table th{font-size:11px}
.legacy-profile-portrait td{height:215px;text-align:center;background:#edf0f3!important}
.legacy-profile-portrait img{display:inline-block!important;max-width:100%;max-height:215px;object-fit:contain}
@media(max-width:760px){.legacy-profile-grid{grid-template-columns:1fr}.legacy-profile-grid aside{display:block}.legacy-profile-table td:first-child{width:40%}}
/* Restored squad roster details from the historical member view. */
.legacy-squad-detail{margin-bottom:10px}
.legacy-member-detail{display:grid;grid-template-columns:minmax(145px,.85fr) 100px minmax(0,1.35fr);gap:10px;padding:10px 3px;border-bottom:1px solid #777;align-items:start}
.legacy-member-detail-meta dl{display:grid;grid-template-columns:70px minmax(0,1fr);gap:3px 6px;margin:10px 0 0;font-size:10px}
.legacy-member-detail-meta dt{font-weight:bold}.legacy-member-detail-meta dd{margin:0;overflow-wrap:anywhere}
.legacy-member-detail-pic{display:block!important;width:100px;height:133px;object-fit:contain;background:#e7e7e7;border:1px solid #777}
.legacy-member-detail-about{min-height:80px;overflow-wrap:anywhere}
@media(max-width:760px){.legacy-member-detail{grid-template-columns:1fr 82px}.legacy-member-detail-about{grid-column:1/-1}.legacy-member-detail-pic{width:82px;height:109px}}
/* Archived community detail views: data is read-only, while historic media stays local. */
.legacy-clanwar-detail{padding-top:3px}
.legacy-clanwar-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:8px;margin:8px 0}
.legacy-clanwar-gallery a{display:block;border:1px solid #789;background:#e7eaed;padding:3px}
.legacy-clanwar-gallery img{display:block!important;width:100%;height:108px;object-fit:cover}
.forum-author-rank{display:block;margin:4px 0;color:#4c4c4c;font-size:10px}
.forum-author-rank img{display:inline-block!important;max-height:13px;max-width:100%;vertical-align:middle}
.forum-signature{margin-top:12px;padding-top:7px;border-top:1px solid #999;color:#555;font-size:10px}
@media(max-width:520px){.legacy-clanwar-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.legacy-clanwar-gallery img{height:88px}}
.legacy-toggle{margin:8px 0;border-top:1px solid #aaa;border-bottom:1px solid #aaa}
.legacy-toggle summary{padding:5px 2px;cursor:pointer;color:#051436;font-weight:bold}
.legacy-toggle>div{padding:4px 12px 9px}
/* Original profile side modules and restored public archive media. */
.legacy-profile-visitors td:first-child{width:auto;font-weight:normal}
.legacy-profile-visitors td:last-child{overflow-wrap:normal}
.legacy-profile-visitor{display:grid;grid-template-columns:18px minmax(0,1fr) max-content 7px;gap:5px;align-items:center;min-width:0}
.legacy-visitor-status{display:inline-block!important;margin:0!important}
.legacy-profile-visitor .legacy-inline-flag{display:block!important;margin:0}
.legacy-profile-visitor a{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.legacy-profile-visitor span{color:#666;font-size:9px;white-space:nowrap;text-align:right}
.legacy-profile-buddys{width:60%;min-width:300px}
.legacy-profile-buddy{display:flex;align-items:center;gap:5px;min-height:16px}
.legacy-profile-buddy .legacy-inline-flag{margin:0}
.legacy-archive-subtitle{margin-top:14px!important;padding:4px 6px;background:#d2d2d2 url('../legacy/img/tg.jpg') repeat-x;border:1px solid #777}
.legacy-link-with-banner,.legacy-tournament{display:flex;align-items:flex-start;gap:12px}
.legacy-link-with-banner>img{display:block!important;max-width:180px;max-height:65px;object-fit:contain}
.legacy-tournament>img{display:block!important;width:130px;max-height:100px;object-fit:contain;border:1px solid #777;background:#e7e7e7;padding:2px}
.legacy-link-with-banner>div,.legacy-tournament>div{min-width:0;flex:1}
@media(max-width:520px){.legacy-link-with-banner,.legacy-tournament{display:block}.legacy-link-with-banner>img,.legacy-tournament>img{margin-bottom:8px}}

/* Forum paging and announcement rows mirror the original public board views. */
.forum-post-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:15px}
.forum-post-meta span{display:flex;align-items:center;gap:4px}
.forum-post-actions{display:flex;align-items:center;gap:6px}
.forum-edit-link{font-size:10px}
.forum-edit-form{margin:0;padding:0;border:0;background:transparent}
.forum-edit-form textarea{min-height:132px;box-sizing:border-box}
.forum-post-meta img{display:inline-block!important;width:10px;height:11px;vertical-align:middle}
.forum-message>hr{width:50%;margin:4px 0 8px;border:0;border-top:1px solid #777}
.forum-pagination{display:flex;flex-wrap:wrap;gap:3px;margin:8px 0}
.forum-pagination a{display:inline-block;min-width:18px;padding:2px 4px;border:1px solid #777;background:#e3e7eb;text-align:center;font:10px Arial,Helvetica,sans-serif}
.forum-pagination a[aria-current=page]{background:#4d6d8c;color:#fff;font-weight:bold}
.forum-announcements-table{margin:10px 0 14px}
.forum-announcements-table th:last-child,.forum-announcements-table td:last-child{width:24%;text-align:center}
.forum-announcement-author{font-size:10px;color:#555}
.forum-stats-table{margin:15px 0 4px}
.forum-stats-table td{padding:7px 9px}
@media(max-width:520px){.forum-announcements-table th:last-child,.forum-announcements-table td:last-child{width:32%}.forum-post-meta{align-items:flex-start}}
.legacy-smiley{display:inline-block!important;max-width:32px;max-height:32px;vertical-align:middle;margin:0 1px}

/* Read-only detail pages preserve historic comments without reopening legacy write endpoints. */
.legacy-comments{margin:18px 0 6px}
.legacy-comments>h3{margin:0 0 8px;padding:5px 7px;border:1px solid #666;background:#d2d2d2 url('../legacy/img/tg.jpg') repeat-x;color:#333}
.legacy-comments>h3 span{color:#666;font-size:10px;font-weight:normal}
.legacy-comment{margin:0 0 10px;border:1px solid #777;background:#f2f2f2}
.legacy-comment>header{display:flex;align-items:center;gap:4px;padding:5px 7px;background:#d9dde2;color:#333;font-size:10px}
.legacy-comment>header time{margin-left:auto;color:#555;font-style:italic}
.legacy-comment-number{font-weight:bold}
.legacy-comment-body{display:flex;align-items:flex-start;gap:9px;min-height:42px;padding:8px}
.legacy-comment-body>div{min-width:0;flex:1;overflow-wrap:anywhere}
.legacy-comment-avatar{display:block!important;width:48px;height:48px;object-fit:cover;border:1px solid #777;background:#fff}
.legacy-gallery-detail{text-align:center}
.legacy-gallery-detail>a{display:inline-block;max-width:100%;border:1px solid #789;background:#e7eaed;padding:3px}
.legacy-gallery-detail img{display:block!important;max-width:100%;height:auto}
.legacy-gallery-detail>div{margin:10px 0;text-align:left}
.legacy-content .gallery a{position:relative}
.legacy-content .gallery a span{position:absolute;right:3px;bottom:3px;padding:2px 4px;background:rgba(0,0,0,.72);color:#fff;font-size:9px}
.legacy-detail-table{margin:8px 0 12px}
.legacy-detail-table td:first-child{width:28%;font-weight:bold}
.legacy-movie-list,.legacy-movie-detail{display:flex;align-items:flex-start;gap:12px}
.legacy-movie-list>img{display:block!important;width:80px;max-height:112px;object-fit:cover;border:1px solid #777}
.legacy-movie-detail>img{display:block!important;max-width:150px;max-height:220px;object-fit:contain;border:1px solid #777;background:#e7eaed;padding:2px}
.legacy-movie-list>div,.legacy-movie-detail>div{min-width:0;flex:1}
.legacy-archive-excerpt{max-height:9em;overflow:hidden}
@media(max-width:520px){.legacy-comment>header{align-items:flex-start;flex-wrap:wrap}.legacy-comment>header time{width:100%;margin-left:0}.legacy-comment-avatar{width:38px;height:38px}.legacy-movie-list,.legacy-movie-detail{display:block}.legacy-movie-list>img,.legacy-movie-detail>img{margin:0 0 8px}}
/* Restored gallery hierarchy, profile subsections and safe legacy forms. */
.legacy-member-logout{margin:0}.legacy-member-logout button{display:block;margin:3px 0;padding:0;border:0;background:transparent;color:#051436;font:9px/1.35 Verdana,Arial,sans-serif;cursor:pointer}.legacy-member-logout button:hover{text-decoration:underline;color:#666}
.legacy-gallery-categories,.legacy-gallery-albums{margin:10px 0;border:1px solid #777;background:#666}.legacy-gallery-categories article,.legacy-gallery-albums article{display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px;min-height:92px;padding:7px;background:#f2f2f2;border-bottom:1px solid #999}.legacy-gallery-categories article:nth-child(even),.legacy-gallery-albums article:nth-child(even){background:#e4e8eb}.legacy-gallery-categories article:last-child,.legacy-gallery-albums article:last-child{border-bottom:0}.legacy-gallery-cover{display:flex!important;align-items:center;justify-content:center;width:116px;height:82px;border:1px solid #789;background:#d8dde2;overflow:hidden}.legacy-gallery-cover img{display:block!important;width:100%;height:100%;object-fit:cover}.legacy-gallery-cover span{font-size:9px;color:#666}.legacy-gallery-categories h3,.legacy-gallery-albums h3{margin:4px 0}.legacy-gallery-categories p,.legacy-gallery-albums p{margin:4px 0}
.legacy-profile-tabs{display:grid;grid-template-columns:repeat(5,1fr);gap:1px;margin:0 0 12px;padding:1px;background:#666}.legacy-profile-tabs a{display:block;padding:5px 4px;background:#d2d2d2 url('../legacy/img/tg.jpg') repeat-x;text-align:center;font-weight:bold}.legacy-profile-tabs a[aria-current=page]{background:#4d6d8c;color:#fff}.legacy-profile-gallery-table td:first-child{width:105px;text-align:center}.legacy-profile-gallery-table td:nth-child(2){width:84px}.legacy-profile-gallery-table td:last-child{width:58px;text-align:center}.legacy-profile-gallery-table img{display:inline-block!important;width:88px;height:60px;object-fit:cover;border:1px solid #777}.legacy-profile-lastposts{display:grid;grid-template-columns:1fr 1fr;gap:8px}.legacy-profile-lastposts>section{min-width:0;border:1px solid #777;background:#eee}.legacy-profile-lastposts h2{margin:0!important;padding:5px 7px!important;background:#d2d2d2 url('../legacy/img/tg.jpg') repeat-x;border-bottom:1px solid #777!important;font-size:11px!important}.legacy-profile-lastposts article{padding:7px;border-bottom:1px solid #aaa}.legacy-profile-lastposts article:last-child{border-bottom:0}.legacy-profile-lastposts article span,.legacy-profile-lastposts article strong,.legacy-profile-lastposts article small{display:block}.legacy-profile-lastposts article span,.legacy-profile-lastposts article small{font-size:9px;color:#666}.legacy-profile-lastposts article>div{margin-top:5px;padding:5px;background:#e1e5e9;max-height:6.5em;overflow:hidden}.legacy-profile-guestbook{margin:0 0 10px;border:1px solid #777;background:#f2f2f2}.legacy-profile-guestbook header{display:flex;gap:4px;padding:5px 7px;background:#d2d2d2 url('../legacy/img/tg.jpg') repeat-x}.legacy-profile-guestbook time{margin-left:auto;color:#555;font-size:10px;font-style:italic}.legacy-profile-guestbook>div{padding:8px;min-height:38px}.legacy-contact-form{margin-top:8px}.legacy-contact-form .forum-table{table-layout:fixed}.legacy-contact-form .forum-table td:nth-child(odd){width:20%;text-align:right;font-weight:normal}.legacy-contact-form input,.legacy-contact-form select,.legacy-contact-form textarea{box-sizing:border-box;width:100%}.legacy-contact-form input[size="3"]{width:48px}.legacy-contact-form textarea{min-height:82px}
@media(max-width:760px){.legacy-gallery-categories article,.legacy-gallery-albums article{grid-template-columns:92px minmax(0,1fr)}.legacy-gallery-cover{width:88px;height:66px}.legacy-profile-tabs{grid-template-columns:repeat(2,1fr)}.legacy-profile-lastposts{grid-template-columns:1fr}.legacy-profile-gallery-table td:first-child{width:70px}.legacy-profile-gallery-table img{width:62px;height:46px}.legacy-contact-form .forum-table,.legacy-contact-form .forum-table tbody,.legacy-contact-form .forum-table tr,.legacy-contact-form .forum-table td{display:block;width:100%!important;text-align:left!important}.legacy-contact-form .forum-table td:nth-child(odd){padding-bottom:2px;font-weight:bold}.legacy-contact-form .forum-table td:nth-child(even){padding-top:2px}}
/* The historical forum closes with three compact public status panels. */
.forum-legacy-stats{margin:14px 0 5px}
.forum-legacy-stats thead th{padding:5px 7px}
.forum-legacy-stats td{padding:6px 8px;line-height:1.35}
/* Safe read-only restoration of historic activity modules. */
.legacy-counter-summary{max-width:420px;margin:10px 0 14px}
.legacy-counter-summary td:first-child{width:65%;font-weight:bold}
.legacy-counter-days{max-width:620px}
.legacy-counter-days td:nth-child(2){width:72px;text-align:right}
.legacy-counter-days td:last-child{width:52%;white-space:nowrap}
.legacy-counter-days i{display:inline-block;width:120px;height:7px;border:1px solid #777;background:#fff;vertical-align:middle}
.legacy-counter-days b{display:block;height:5px;background:#294d92}
.legacy-shoutbox .forum-table td:first-child{width:82px;white-space:nowrap;font-size:10px;color:#666}
.legacy-shoutbox .forum-table td:nth-child(2){width:120px}
@media(max-width:520px){.legacy-counter-days i{width:82px}.legacy-shoutbox .forum-table td:first-child{width:62px}.legacy-shoutbox .forum-table td:nth-child(2){width:82px}}

/* Historical online/archive mode switch. */
.legacy-online-switch{margin:5px 0 8px;text-align:right;font-size:10px}.legacy-online-switch a{color:#002f66}.legacy-online-switch a[aria-current=page]{font-weight:bold;color:#000;text-decoration:none}
/* Historical score strips remain read-only in the maintained archive. */
.legacy-rating{display:inline-flex;align-items:center;gap:0;vertical-align:middle;white-space:nowrap}
.legacy-rating img{display:inline-block!important;width:auto;height:5px;vertical-align:middle}

/* Restored full archive tables: polls and download categories. */
.legacy-poll-result{margin-bottom:14px}.legacy-poll-result h3{margin-bottom:5px}.legacy-poll-result .meta{line-height:1.45}.legacy-poll-comments{margin:7px 0 0;font-size:10px;text-align:left}.legacy-poll-table td:first-child{width:48px;text-align:center}.legacy-poll-table td:nth-child(3),.legacy-poll-table td:nth-child(4){text-align:right}.legacy-poll-table th:nth-child(1){width:48px}.legacy-poll-table th:nth-child(3),.legacy-poll-table th:nth-child(4){width:58px}.legacy-poll-table th:nth-child(5){width:116px}.legacy-poll-bar{display:block;width:104px;height:7px;border:1px solid #777;background:#fff}.legacy-poll-bar b{display:block;height:5px;background:#294d92}.legacy-files-table td:first-child{width:98px}.legacy-files-table td:nth-child(3),.legacy-files-table td:nth-child(4){width:72px;text-align:center}.legacy-files-categories td:first-child{width:auto}.legacy-files-categories td:nth-child(2),.legacy-files-categories td:nth-child(3){width:82px;text-align:center}
@media(max-width:520px){.legacy-poll-table th:nth-child(3),.legacy-poll-table td:nth-child(3){display:none}.legacy-poll-table th:nth-child(5){width:88px}.legacy-poll-bar{width:76px}.legacy-files-table th:first-child,.legacy-files-table td:first-child{width:70px}.legacy-files-table th:nth-child(3),.legacy-files-table td:nth-child(3){display:none}}

.legacy-member-status{display:inline-block;vertical-align:middle;margin-left:3px}
.legacy-footer-legal{margin:0;padding:4px 0 7px;background:#050505;color:#9ca9b7;font:9px Verdana,Arial,sans-serif;text-align:center;letter-spacing:.03em}.legacy-footer-legal a{color:#c8d9ea;text-decoration:none}.legacy-footer-legal a:hover,.legacy-footer-legal a:focus{color:#fff;text-decoration:underline}.legacy-legal-page h1{font-size:15px}.legacy-legal-page h2{margin-top:18px;font-size:12px}.legacy-legal-reference{margin-top:18px;font-size:10px}
/* Mobile restoration: retain the historic assets while replacing fixed desktop table geometry. */
@media (max-width:760px){
  html,body,body.dsk-legacy{width:100%;min-width:0;overflow-x:hidden}
  .legacy-frame,.legacy-header-table,.legacy-main-table,.legacy-footer-table{width:100%!important;max-width:100%!important;margin:0!important}
  .legacy-header-table>tbody>tr:first-child>td:first-child,
  .legacy-header-table>tbody>tr:first-child>td:last-child,
  .legacy-sidebar{display:none!important}
  .legacy-header-table>tbody>tr:first-child>td:nth-child(2){display:table-cell!important;width:100%!important}
  .legacy-header-table>tbody>tr:first-child>td:nth-child(2)>table{width:100%!important;table-layout:fixed}
  .legacy-header-table>tbody>tr:first-child>td:nth-child(2) img{display:block;width:100%;height:auto}
  .legacy-header-table>tbody>tr:nth-child(2)>td{display:block!important;width:100%!important}
  .legacy-header-table>tbody>tr:nth-child(2)>td>table,.legacy-header-table>tbody>tr:nth-child(2)>td>table>tbody,.legacy-header-table>tbody>tr:nth-child(2)>td>table>tbody>tr{display:block!important;width:100%!important}
  .legacy-header-table>tbody>tr:nth-child(2)>td>table>tbody>tr{display:flex!important}
  .legacy-header-table>tbody>tr:nth-child(2)>td>table>tbody>tr>td{display:block!important;flex:1 1 33.333%;min-width:0}
  .legacy-header-table>tbody>tr:nth-child(2) img{display:block;width:100%!important;height:auto}
  .legacy-nav,.legacy-nav>tbody,.legacy-nav>tbody>tr{display:block!important;width:100%!important}
  .legacy-nav>tbody>tr{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))}
  .legacy-nav td{display:block!important;min-width:0}
  .legacy-nav td:first-child,.legacy-nav td:last-child{display:none!important}
  .legacy-nav img{display:block;width:100%!important;height:auto}
  .legacy-header-table>tbody>tr:nth-child(4)>td{display:block!important;width:100%!important;height:auto!important;overflow-x:auto;overflow-y:hidden;background-size:auto 19px}
  .legacy-context-nav,.legacy-context-nav>tbody,.legacy-context-nav>tbody>tr{display:block!important;width:100%!important}
  .legacy-context-nav>tbody>tr>td:first-child{display:none!important}
  .legacy-context-nav>tbody>tr>td:last-child{display:block!important;width:100%!important}
  .legacy-context-items,.legacy-context-items>tbody,.legacy-context-items>tbody>tr{display:flex!important;width:max-content!important;min-width:max-content!important;table-layout:auto!important}
  .legacy-context-item{display:block!important;box-sizing:border-box;flex:0 0 auto!important;width:auto!important;min-width:82px;height:19px}
  .legacy-context-item a{padding:0 8px;font-size:9px!important;line-height:19px!important}
  .legacy-main-table,.legacy-main-table>tbody,.legacy-main-table>tbody>tr,.legacy-main-shell,.legacy-main-shell>table,.legacy-main-shell>table>tbody,.legacy-main-shell>table>tbody>tr{display:block!important;width:100%!important;height:auto!important;min-height:0!important}
  .legacy-center{display:block!important;width:100%!important;background:#fff url('../legacy/img/bg03.jpg') repeat!important}
  .legacy-center>table{width:100%!important}
  .legacy-content{box-sizing:border-box;width:100%!important;min-height:0!important;padding:12px 14px 28px!important;overflow-wrap:anywhere}
  .legacy-content .grid,.legacy-profile-grid,.legacy-profile-lastposts{grid-template-columns:1fr!important}
  .legacy-content .grid>aside{padding-left:0;border-left:0}
  .forum-table{display:block;max-width:100%;overflow-x:auto;table-layout:auto!important;font-size:10px}
  .forum-table thead,.forum-table tbody{width:max-content;min-width:100%}
  .forum-table th:nth-child(1),.forum-table td:nth-child(1),.forum-table th:nth-child(4),.forum-table td:nth-child(4){display:table-cell!important;max-width:none}
  .forum-board-table{display:table!important;overflow:visible;table-layout:fixed!important}
  .forum-board-table th,.forum-board-table td{font-size:10px}
  .legacy-profile-buddys{width:100%;min-width:0}
  .legacy-footer-table img{width:100%!important;height:auto!important}
  .legacy-footer-legal{font-size:9px}
}
@media (max-width:420px){
  .legacy-nav>tbody>tr{grid-template-columns:repeat(2,minmax(0,1fr))}
  .legacy-content{padding:10px 10px 24px!important}
  .legacy-context-item{min-width:76px}
  .legacy-context-item a{padding:0 6px;font-size:8px!important}
  .legacy-profile-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Member roster identity spacing mirrors the original flag -> nickname -> presence sequence. */
.legacy-squad-members td:first-child{white-space:nowrap}
.legacy-squad-members td:first-child>.legacy-inline-flag{margin:0 6px 0 0}
.legacy-squad-members td:first-child>a{display:inline-block;vertical-align:middle;margin:0 6px 0 0}
.legacy-squad-members td:first-child>.legacy-member-status{display:inline-block;vertical-align:middle;margin:0}

/* Small screens use deliberate navigation rows instead of squeezed image buttons. */
@media (max-width:600px){
  .legacy-header-table>tbody>tr:first-child>td:nth-child(2)>table>tbody>tr:first-child>td:first-child,
  .legacy-header-table>tbody>tr:first-child>td:nth-child(2)>table>tbody>tr:first-child>td:last-child{display:none!important}
  .legacy-header-table>tbody>tr:first-child>td:nth-child(2)>table>tbody>tr:first-child>td:nth-child(2){display:table-cell!important;width:100%!important}
  .legacy-nav>tbody>tr{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .legacy-context-item{min-width:92px}
  .legacy-context-item a{font-size:9px!important;padding:0 10px}
  .legacy-content h1,.legacy-content h2{font-size:13px}
  .legacy-content h3{font-size:12px}
}
@media (max-width:360px){
  .legacy-nav>tbody>tr{grid-template-columns:1fr!important}
  .legacy-header-table>tbody>tr:nth-child(2)>td>table>tbody>tr{min-width:300px}
  .legacy-header-table>tbody>tr:nth-child(2)>td{overflow-x:auto}
}
.legacy-profile-edit-link{margin:0 0 10px;text-align:right}.legacy-profile-edit form{max-width:620px}.legacy-profile-edit input,.legacy-profile-edit select,.legacy-profile-edit textarea{box-sizing:border-box;width:100%}.legacy-profile-edit textarea{min-height:110px}
