*{box-sizing:border-box}
body{margin:0;background:#fff7e8;color:#333;font:13px/1.5 Arial,"Microsoft YaHei",sans-serif}
.top{width:min(1250px,100%);height:140px;margin:0 auto;background:#f3e6d2;overflow:hidden}
.top img{display:block;width:100%;height:100%;object-fit:cover}
.toolbar{width:min(1250px,100%);margin:0 auto;padding:8px 12px;text-align:center;background:#2a3934;color:#fff}
.toolbar a{display:inline-block;padding:2px 12px;color:#fff;text-decoration:none;border-right:1px solid rgba(255,255,255,.35)}
.toolbar a:last-child{border-right:0}.toolbar a:hover{text-decoration:underline;color:#ffe6b6}
.wrap{width:min(1250px,100%);max-width:1250px;margin:0 auto;overflow:visible}
h1{margin:15px 0 2px;padding:0 4px;color:#7d0221;font-size:23px;line-height:1.4}
.page-intro{margin:0 0 12px;padding:0 4px;color:#5d554c;line-height:1.7}
.category-block{margin:16px 0 20px}
.group-heading{height:38px;display:flex;align-items:center;gap:8px;padding:0 12px;background:#8b1733 url("/cache/988mxd/bar.gif") repeat-x center;color:#fff;border:1px solid #7d0221;border-bottom:0}
.group-heading img{width:auto;height:14px;max-width:22px;object-fit:contain}.group-heading strong{font-size:15px}.group-heading h2{margin:0;font-size:15px;font-weight:700;line-height:1;color:#fff}.group-heading span{margin-left:auto;padding:1px 9px;background:rgba(255,255,255,.22);border-radius:10px;font-size:12px}
table.gamelist{width:100%;table-layout:fixed;border-collapse:collapse;background:#fff}
table.gamelist th{height:34px;line-height:1.3;padding:4px 2px;text-align:center;border:1px solid #7d0221;background:#9a1536 url("/cache/988mxd/bar.gif") repeat-x center;color:#fff;font-size:12px}
table.gamelist td{height:32px;line-height:1.4;padding:4px 5px;text-align:center;border:1px solid #7d0221;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
table.gamelist th:nth-last-child(-n+2),table.gamelist td:nth-last-child(-n+2){min-width:96px;white-space:nowrap;text-overflow:clip}
table.gamelist td.lf{text-align:left}table.gamelist td.server-name{text-align:center!important;padding:3px}
table.gamelist td.server-name a{display:inline-flex;align-items:center;justify-content:center;gap:4px;max-width:100%;vertical-align:middle;color:#111;text-decoration:none}
table.gamelist td.server-name a:hover,table.gamelist td a:hover{color:#a31936;text-decoration:underline}
.category-icon{display:inline-block;width:auto;height:14px;max-width:22px;object-fit:contain;flex:0 0 auto}
.listing-top,.listing-pink{background:#ffffd8}.listing-red{background:#ffe7e7}.listing-blue{background:#e6f2ff}.listing-green{background:#efffdc}
table.gamelist tbody tr:hover{background:#fff}
.quality-top,.quality-pink{color:#c00}.quality-red{color:#c00}.quality-blue{color:#0560aa}.quality-green{color:#438900}
.empty-row{height:38px!important;text-align:center!important;color:#74675b;background:#fffdf8}
.pinned-total{margin-top:0;padding:8px;text-align:center;color:#930b26;background:#fff4d8;border:1px solid #e5ab55;border-top:0;font-weight:bold}
.pinned-total strong{padding:0 3px;color:#ca3c12;font-size:17px}
.banner-preview{display:block;width:min(100%,625px);height:auto;max-height:90px;margin:10px 0;object-fit:cover;border:1px solid #d4dae4;border-radius:4px;background:#f5f5f5}
.footer{width:100%;margin:20px auto 0;padding:14px 10px;background:#fe8640;color:#fff;text-align:center;line-height:2;overflow-wrap:anywhere}
@media(max-width:760px){.top{height:100px}.toolbar{padding:7px 3px}.toolbar a{padding:2px 7px;font-size:12px}.wrap{width:100%;overflow-x:auto}h1,.page-intro{margin-left:8px;margin-right:8px}.category-block{margin:12px 0 16px}.group-heading{height:35px}.gamelist{min-width:760px}.gamelist th,.gamelist td{font-size:11px}.gamelist th:nth-child(2),.gamelist td:nth-child(2),.gamelist th:nth-child(4),.gamelist td:nth-child(4),.gamelist colgroup col:nth-child(2),.gamelist colgroup col:nth-child(4){display:none}.footer{font-size:11px}}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:initial}
.nav-slot{display:flex;align-items:center;gap:0;flex:1;min-width:0}.nav-slot a{white-space:nowrap}.nav-center{justify-content:center}.nav-right{justify-content:flex-end}
@media(max-width:760px){.toolbar{gap:2px}.nav-slot{overflow-x:auto}.nav-slot a{padding-left:5px;padding-right:5px;font-size:11px}}

h2{margin:18px 0 6px;font-size:17px;line-height:1.4;color:#7d0221}
.page-meta{margin:0 0 12px;padding:0 4px;color:#7a6a5d;font-size:12px}
.detail{padding:0 10px 24px}
.breadcrumb{margin:14px 0 0;padding:0;font-size:12px;color:#6b5d51}
.breadcrumb a{color:#8b1733;text-decoration:none}
.breadcrumb a:hover{text-decoration:underline}
dl{display:grid;grid-template-columns:96px 1fr;gap:1px;margin:8px 0 0;background:#e6d7c3;border:1px solid #e6d7c3}
dl dt{margin:0;padding:7px 10px;background:#fff4d8;color:#930b26;font-weight:700}
dl dd{margin:0;padding:7px 10px;background:#fff;word-break:break-word}
.related-links{margin:20px 0;padding:12px;background:#fff;border:1px solid #e5c9a0;border-radius:4px}
.related-links h2{margin:0 0 8px;font-size:15px;color:#8b1733}
.related-list{display:flex;flex-wrap:wrap;gap:8px}
.related-list a{display:inline-block;padding:4px 10px;background:#fff4d8;border:1px solid #e5ab55;border-radius:3px;color:#930b26;font-size:12px;text-decoration:none}
.related-list a:hover{background:#ffe6b6}
.related-servers{margin:10px 0 0;padding-left:18px;font-size:13px;line-height:2}
.related-servers a{color:#8b1733}
@media(max-width:760px){dl{grid-template-columns:78px 1fr}h2{font-size:16px}.related-list{gap:6px}}

@media(max-width:760px){
 .wrap{overflow-x:hidden}
 table.gamelist{min-width:0!important;width:100%!important}
 table.gamelist colgroup,table.gamelist thead{display:none!important}
 table.gamelist,table.gamelist tbody,table.gamelist tr{display:block;width:auto}
 table.gamelist td{display:block;width:auto;border:0;padding:2px 0;height:auto;text-align:left;font-size:12px;line-height:1.6;white-space:normal;overflow:visible;text-overflow:clip}
 table.gamelist td:nth-child(2),table.gamelist td:nth-child(4),table.gamelist td:nth-child(6){display:none!important}
 table.gamelist tr{border:1px solid #7d0221;border-radius:4px;margin:8px 8px 0;background:#fff;padding:6px 9px}
 table.gamelist td[data-label]:before{content:attr(data-label) "：";color:#8a7a6c}
 table.gamelist td.server-name{padding-bottom:4px;font-size:14px;font-weight:700;text-align:left!important}
 table.gamelist td.r{text-align:left!important}
 html,body{max-width:100vw;overflow-x:hidden}
 .page-intro,.page-meta,dl dd{overflow-wrap:anywhere}
 table.gamelist td.server-name:before{content:none}
 .group-heading h2{font-size:14px}
}
