/* WICGATE site template (2026-11-13): the frame for every page of wicgate.net / wicgate.com, in the
   look of the original massgate.net. Used by c:\wicgate\site_layout.php; prototype page /template/.
   Columns: the Online widget (228 px), then the main column up to 20 px from the frame's right
   edge. Width: the frame is 1320 px (--wic-page-max), centred on the red background; a window between
   600 and 1320 px scrolls sideways. Below 600 px (phones) only the left column (who is online) is
   shown (user 2026-11-13). The footer sits at the bottom of the window on short pages. */

:root {
    --wic-page-max: 1320px;
    --wic-col-left: 228px;      /* Online widget */
    --wic-gap: 20px;            /* between the Online column and the main column, and the main
                                   column's distance from the frame's right edge (user 2026-11-13) */
    --wic-pad: 10px;
    --wic-narrow-max: 480px;    /* the Online column on phones */
}

body {
    margin: 0;
    padding: 0;
    color: #eee;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 8pt;
    background: #480005 url("/images/bordo.png") repeat;
    /* the footer at the bottom of the window on short pages: a column at least as tall as the
       window, the content area (main) takes the free height */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body > main {
    flex: 1 0 auto;
}

body > footer {
    flex: 0 0 auto;
}

.wic-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a:focus-visible,
.wic-banner:focus-visible {
    outline: 2px solid #ffcc00;
    outline-offset: -2px;
}

/* ---- the frame -------------------------------------------------------------------------- */

.wic-page {
    box-sizing: border-box;
    width: var(--wic-page-max);
    max-width: none;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: auto;
}

.wic-frame {
    border-left: 2px solid #777;
    border-right: 2px solid #777;
}

/* top map banner */
.wic-banner {
    height: 150px;
    overflow: hidden;
    background: #777;
    position: relative;
    cursor: pointer;
}

.wic-banner-track {
    height: 150px;
    display: flex;
    width: max-content;
    animation: wic-banner-scroll 1000s linear infinite;
    will-change: transform;
}

.wic-banner-track.is-paused {
    animation-play-state: paused;
}

.wic-banner-track img {
    display: block;
    height: 150px;
    width: auto;
    max-width: none;
    flex: 0 0 auto;
}

/* a page's own fixed banner picture ($page['banner_image']) */
.wic-banner.wic-banner-fixed { cursor: default; }
.wic-banner-fixed img { display: block; height: 150px; width: auto; max-width: none; }
/* $page['banner_button']: our orange button (like the replays' Download) in the lower right corner */
.wic-banner-button {
    position: absolute;
    right: 15px;
    bottom: 12px;
    padding: 10px 20px;
    color: #fff;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    background-color: #FF660F;
    border: 1px solid #343434;
    outline: 1px solid #fff;        /* the frame inside the button, 3 px from its edge */
    outline-offset: -5px;            /* 1 px border + 3 px gap + 1 px frame */
}
.wic-banner-button:hover,
.wic-banner-button:focus-visible { color: #333; background-color: #fff; outline-color: #FF660F; text-decoration: none; }

@keyframes wic-banner-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* sticky menu: 11 px divider + 57 px bar + 23 px divider */
.wic-menu-container {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #333;
}

.wic-menu-top-divider {
    height: 11px;
    background: url("/images/m_div.png") repeat-x left top;
}

.wic-menu-bar {
    position: relative;
    box-sizing: border-box;
    height: 57px;
    padding: 0 0 0 25px;
    display: flex;
    align-items: center;
    background: #333 url("/images/m_bg.png") repeat-x left top;
}

/* the logo centred over the Online column: 10 px padding + half of 228 px, from the bar's left */
.wic-logo-link {
    display: block;
    flex: 0 0 auto;
    transform: translateX(calc(var(--wic-pad) + var(--wic-col-left) / 2 - 25px - 50%));
}

.wic-logo {
    display: block;
    height: 30px;
    width: auto;
}

.wic-menu-links {
    display: flex;
    align-items: center;
    height: 57px;
    margin-left: 25px;
}

.wic-menu-links a {
    display: flex;
    align-items: center;
    height: 57px;
    text-decoration: none;
}

.wic-menu-links img {
    display: block;
    max-height: 40px;
    border: 0;
}

.wic-menu-discord-link {
    position: absolute;
    top: 0;
    right: 25px;
    width: 32px;
    height: 57px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wic-menu-discord {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.wic-menu-bottom-divider {
    height: 23px;
    background: url("/images/m_div_2.png") repeat-x left top;
}

/* ---- the content area and its columns --------------------------------------------------- */

.wic-container {
    padding: var(--wic-pad);
    background: #010101 url("/images/bg-globe.png") no-repeat top center;
}

.wic-columns {
    display: flex;
    align-items: flex-start;
    gap: var(--wic-gap);
}

/* two columns: the Online widget, then the main column up to the right side (user 2026-11-13: no
   right column, no hero in the template); the main column's right edge is --wic-gap from the
   frame, like its distance from the Online column (the container already pads --wic-pad) */
.wic-col-left  { flex: 0 0 var(--wic-col-left); width: var(--wic-col-left); min-width: 0; }
/* the Online column reaches down to the bottom of the longest column: the widget's translucent
   .wic-events-blending (wio.css, flex: 1) fills it, like on the old home page (2026-11-20) */
.wic-columns  { align-items: stretch; flex: 1 0 auto; }
/* ...and on short pages down to the footer: main fills the window's free height (body > main), the
   container passes it on to the columns */
.wic-container { display: flex; flex-direction: column; }
.wic-col-left { display: flex; flex-direction: column; margin-bottom: 10px; }
.wic-col-main  { flex: 1 1 0; min-width: 0; margin-right: calc(var(--wic-gap) - var(--wic-pad)); }

/* the 228 x 228 picture above the Online widget */
.wic-online-banner {
    display: block;
    width: 100%;
    max-width: var(--wic-col-left);
    height: auto;
    aspect-ratio: 1 / 1;
}

/* a content box in the massgate.net style */
.wic-box {
    box-sizing: border-box;
    margin: 0 0 10px;
    padding: 12px 15px;
    border: 1px solid #000;
    background: url("/images/white5p.png") repeat;
    color: #eee;
    font-size: 10pt;
    line-height: 1.5;
}

/* Box titles (user 2026-11-13): one picture per title, made in Photoshop with the text in it,
   58 px tall, not repeated: images/main_title_N.png (0 = the template's, 1..25 the pages').
   The text stays in the page as a visually hidden heading (search engines, screen readers);
   use wicLayoutBoxTitle(N, 'Text') in c:\wicgate\site_layout.php. */
.wic-box-title {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    height: 58px;
    background-color: #5a0c0c;
    background-repeat: no-repeat;
    background-position: left top;
}

.wic-title-trywic { background-image: url("/images/main_title_trywic.png"); }
.wic-title-connect { background-image: url("/images/main_title_wicgateconnect.png"); }
.wic-title-downloads { background-image: url("/images/main_title_downloads.png"); }
.wic-title-wicgateconnect { background-image: url("/images/main_title_wicgateconnect.png"); }
.wic-title-maps { background-image: url("/images/main_title_maps.png"); }
.wic-title-warroom { background-image: url("/images/main_title_warroom.png"); }
.wic-title-help { background-image: url("/images/main_title_help.png"); }
.wic-title-0  { background-image: url("/images/main_title_0.png"); }
.wic-title-1  { background-image: url("/images/main_title_1.png"); }
.wic-title-2  { background-image: url("/images/main_title_2.png"); }
.wic-title-3  { background-image: url("/images/main_title_3.png"); }
.wic-title-4  { background-image: url("/images/main_title_4.png"); }
.wic-title-5  { background-image: url("/images/main_title_5.png"); }
.wic-title-6  { background-image: url("/images/main_title_6.png"); }
.wic-title-7  { background-image: url("/images/main_title_7.png"); }
.wic-title-8  { background-image: url("/images/main_title_8.png"); }
.wic-title-9  { background-image: url("/images/main_title_9.png"); }
.wic-title-10 { background-image: url("/images/main_title_10.png"); }
.wic-title-11 { background-image: url("/images/main_title_11.png"); }
.wic-title-12 { background-image: url("/images/main_title_12.png"); }
.wic-title-13 { background-image: url("/images/main_title_13.png"); }
.wic-title-14 { background-image: url("/images/main_title_14.png"); }
.wic-title-15 { background-image: url("/images/main_title_15.png"); }
.wic-title-16 { background-image: url("/images/main_title_16.png"); }
.wic-title-17 { background-image: url("/images/main_title_17.png"); }
.wic-title-18 { background-image: url("/images/main_title_18.png"); }
.wic-title-19 { background-image: url("/images/main_title_19.png"); }
.wic-title-20 { background-image: url("/images/main_title_20.png"); }
.wic-title-21 { background-image: url("/images/main_title_21.png"); }
.wic-title-22 { background-image: url("/images/main_title_22.png"); }
.wic-title-23 { background-image: url("/images/main_title_23.png"); }
.wic-title-24 { background-image: url("/images/main_title_24.png"); }
.wic-title-25 { background-image: url("/images/main_title_25.png"); }

.wic-box p { margin: 0 0 8px; }

.wic-box > .wic-box-title { margin: -12px -15px 10px; }

/* ---- massgate.net content styles (user 2026-11-13) ----------------------------------------
   Taken over 1:1 from the original massgate.net stylesheet (download page, 2012 archive copy),
   with its class names, for our texts and links. Use:
     <?php wicLayoutBoxTitle(N, 'Title'); ?>
     <div class="lbox pd15 g50 dlpage">  <h4>..</h4> <p>..</p> <div class="hr"></div>
                                          <div class="dlinfo">..</div>  </div>
   Names (profiles, clans): table.ttl with td.numcol (rank picture .ttn01-.ttn10) and
   td.namecol (cells alternate .w10 / .w05), the name in div.tttxt, the clan tag in span.orange.
   The pictures (white5p, green50p, ttn01, ...) are massgate.net's, in /images. */

.lbox {
    box-sizing: border-box;
    margin: 0 0 10px;
    border: 1px solid #020C0C;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 13px;   /* massgate.net: 11px (user 2026-11-13: 13px) */
}

.pd15 { padding: 15px; }

/* backgrounds: semi-transparent textures */
.w05     { background: transparent url("/images/white5p.png") repeat; }
.w10     { background: transparent url("/images/white10p.png") repeat; }
.g50     { background: transparent url("/images/green50p.png") repeat; }
.bl25    { background: transparent url("/images/blue25p.png") repeat; }
.bl25w10 { background: transparent url("/images/blue25pwhite10p.png") repeat; }
.bl50w10 { background: transparent url("/images/blue50pwhite10p.png") repeat; }
.o20w10  { background: transparent url("/images/orange20pwhite10p.png") repeat; }

/* text colours */
.orange, .orange a     { color: #FF7F00; }
.red, .red a           { color: #CC3300; }
.grngrey, .grngrey a   { color: #7A9699; }
.grngrey2, .grngrey2 a { color: #B8CACC; }
span.grey              { color: #666666; }
.on-black              { background-color: #000000; }   /* was an inline style on massgate.net */

/* text page (massgate.net's download page) */
.dlpage           { color: #7A9699; }
.dlpage a         { color: #FF7F00; text-decoration: none; }
.dlpage a:hover   { text-decoration: underline; }
.dlpage p         { display: block; margin: 0 0 25px; line-height: 16px; }
.dlpage h4        { color: #FFFFFF; margin: 0 0 8px; font-size: 13px; font-weight: bold; }
.dlpage .hr       { border-bottom: 1px dashed #FFFFFF; height: 0; margin-bottom: 30px; }
.dlpage strong    { color: inherit; }

/* /trywic/ page */
.dlpage h4.trywic-big { font-size: 16px; }   /* 13 px +25 % */
.dlpage p.trywic-soon { font-size: 20px; line-height: 24px; }
.dlpage ul.trywic-list { margin: 0 0 20px; padding-left: 20px; line-height: 20px; }

.dlinfo {
    font-size: 10px;
    margin: -10px 10px 25px;
    padding: 10px;
    border: 1px solid #FFFFCC;
    background-color: #040f0f;
    line-height: 16px;
    color: #FFFFCC;
}

/* name lists: profiles and clans (massgate.net's top-ten tables) */
.ttl {
    width: 250px;
    margin-bottom: 10px;
    border-collapse: separate;
    border-spacing: 0;
    font-family: Verdana, Geneva, sans-serif;
}

.ttl td            { font-size: 10px; font-weight: bold; border: 1px solid #00171A; color: #fff; }
.ttl td.numcol     { width: 13px; padding: 3px 10px; }
.ttl td.namecol    { padding: 3px 7px; }
.ttl .tttxt        { white-space: nowrap; overflow: hidden; position: relative; width: 180px; margin-left: 4px; }
.ttl a             { color: #FFFFFF; text-decoration: none; }
.ttl a:hover       { text-decoration: underline; }

.ttn01, .ttn02, .ttn03, .ttn04, .ttn05, .ttn06, .ttn07, .ttn08, .ttn09, .ttn10 {
    width: 13px;
    height: 10px;
    margin: 0 2px;
    background-repeat: no-repeat;
}
.ttn01 { background-image: url("/images/ttn01.png"); }
.ttn02 { background-image: url("/images/ttn02.png"); }
.ttn03 { background-image: url("/images/ttn03.png"); }
.ttn04 { background-image: url("/images/ttn04.png"); }
.ttn05 { background-image: url("/images/ttn05.png"); }
.ttn06 { background-image: url("/images/ttn06.png"); }
.ttn07 { background-image: url("/images/ttn07.png"); }
.ttn08 { background-image: url("/images/ttn08.png"); }
.ttn09 { background-image: url("/images/ttn09.png"); }
.ttn10 { background-image: url("/images/ttn10.png"); }

/* forum post (massgate.net's read.php, e.g. the "Update Notes (Update #011)" post, 2009):
   div.postm (Massive staff, blue) / div.postg (red) / div.post0 / div.post1, then
   div.fmessage > div.fsubject.b20 (div.date + div.subt, each with a <p>) + div.fmsgbody.
   Fluid instead of massgate.net's fixed 928 / 700 / 670 px; message text 13px (user 2026-11-13). */
.postm, .postg, .post0, .post1 {
    border: 1px solid #020E0F;
    margin: 0 0 10px;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 11px;
}
.postm { background: transparent url("/images/frmpost-mbg.png") repeat; }
.postg { background: transparent url("/images/frmpost-gbg.png") repeat; }
.post0 { background: transparent url("/images/frmpost-obg.png") repeat; }
.post1 { background: transparent url("/images/frmpost-ebg.png") repeat; }
.b20   { background: transparent url("/images/black20p.png") repeat; }
.fltr  { float: right; }
.clr   { clear: both; overflow: hidden; }

.fmessage { overflow: hidden; }

.fsubject {
    font-weight: bold;
    font-size: 13px;
    padding: 5px 15px;
    height: 18px;
    line-height: 18px;
    border-bottom: 1px solid #020E0F;
}
.fsubject p     { display: inline; margin: 0; }
.fsubject a, .fmsgbody a, .fsign a { text-decoration: none; }   /* massgate.net: no underline */
.fsubject a:hover, .fmsgbody a:hover, .fsign a:hover { text-decoration: underline; }
.fsubject .subt { white-space: nowrap; position: relative; overflow: hidden; }
.fsubject .date { float: right; font-weight: normal; margin: 0 10px 0 0; color: #7A9699; }

.fmsgbody {
    padding: 10px 15px;
    overflow: hidden;
    position: relative;
    color: #B8CACC;
    font-size: 13px;
}
.fmsgbody a      { color: #FF7F00; }
.fmsgbody ul     { margin: 4px 0 8px; padding-left: 24px; }

.fsign     { padding: 0 15px; margin: 0 0 10px; overflow: hidden; color: #B8CACC; max-height: 100px; }
.fsign .hr { border-top: 1px dashed #000000; margin: 0 0 5px; }
.fsign a   { color: #FF7F00; }

.postm .fsubject, .postm .fsubject a { color: #00BFFF; }
.postm .fsubject .date               { color: #007399; }
.postm .fmsgbody, .postm .fsign      { color: #0099CC; }
.postg .fsubject, .postg .fsubject a { color: #E52E2E; }
.postg .fsubject .date               { color: #b31212; }
.postg .fmsgbody, .postg .fsign      { color: #FFB2B2; }

/* ---- the footer ------------------------------------------------------------------------- */

.wic-disclaimer {
    background: #333;
}

.wic-disclaimer-divider {
    height: 35px;
    background: url("/images/bottom_divider.png") repeat-x left top;
}

.wic-disclaimer-text {
    padding: 10px 20px;
    text-align: center;
    color: #eee;
    font-size: 9px;
}

.wic-disclaimer-copyright {
    margin: 15px auto 0;
    max-width: 1080px;
}

/* ---- phones: who is online only (user's design 2026-11-13: below 600 px) ---------------- */

@media (max-width: 599.98px) {
    .wic-banner,
    .wic-menu-links,
    .wic-col-main,
    .wic-desktop-only {
        display: none !important;
    }

    .wic-menu-bar {
        justify-content: center;
        padding: 0;
    }

    .wic-logo-link {
        transform: none;
    }

    .wic-columns {
        display: block;
    }

    .wic-col-left {
        width: 100%;
        max-width: var(--wic-narrow-max);
        margin: 0 auto;
    }

    .wic-online-banner {
        max-width: none;
    }

    .wic-page {
        width: 100%;
        max-width: calc(var(--wic-narrow-max) + 2 * var(--wic-pad) + 4px);
    }

    .wic-disclaimer-copyright {
        margin-top: 10px;
    }
}

/* /connect/ page (WICGATE CONNECT) */
.dlpage img.wc-hero { display: block; width: 100%; height: auto; margin: 0 0 15px; }
.dlpage p.wc-lead { font-size: 15px; line-height: 21px; color: #FFFFFF; }
.dlpage h4.wc-big { font-size: 16px; margin-bottom: 12px; }
.dlpage .wc-platforms { display: flex; gap: 20px; }
.dlpage .wc-platforms > div { flex: 1 1 0; border: 1px solid #3a4a4b; padding: 12px 15px 0; }
.dlpage .wc-platforms p { margin-bottom: 12px; }
.dlpage p.wc-live { color: #FFFFFF; }
.dlpage .wc-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 25px; }
.dlpage .wc-shots figure { margin: 0; }
.dlpage .wc-shots img { display: block; width: 100%; height: auto; border: 1px solid #3a4a4b; }
.dlpage .wc-shots figcaption { margin-top: 6px; font-size: 11px; line-height: 15px; }
.dlpage .wc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dlpage .wc-button { display: inline-block; padding: 8px 18px; background: #FF7F00; color: #000000; font-weight: bold; text-decoration: none; }
.dlpage a.wc-button:hover { background: #FFA040; text-decoration: none; }
.dlpage .wc-button.is-quiet { background: transparent; color: #FF7F00; border: 1px solid #FF7F00; }

/* ---- home page (wicgate.net/index.php, 2026-11-20) ----------------------------------------
   Three columns: Online 228 + 20 + main 668 + 20 + player tables 355 (+5) = the 1296 px content
   width. */
.wic-home .wic-col-main  { flex: 0 0 668px; width: 668px; margin-right: 0; }
.wic-col-right           { flex: 0 0 355px; width: 355px; margin-right: 5px; }

.wic-hero-blending { background: url("/images/white10p.png") repeat; }
.wic-heroimage     { width: 668px; height: 341px; background: transparent url("/images/heroimage.png") no-repeat; }

/* the TRY WiC / CONNECT buttons under the hero: as wide as the hero (668 px), left button on its left edge, right button on its right edge, 30 px apart, 20 px above and below; 500x140 pictures shown at 319x89 */
.wic-hero-buttons       { display: flex; justify-content: space-between; width: 668px; margin: 20px 0; }
.wic-hero-buttons a,
.wic-hero-buttons img   { display: block; }
.wic-hero-buttons img   { width: 319px; height: 89px; }

/* release notes (c:/wicgate/release_notes.txt): tighter than the template's dlpage */
#release-notes p        { margin: 0 0 8px; line-height: 18px; }
#release-notes h4.rn-sub { margin-top: 14px; }
#release-notes .hr      { margin: 18px 0; }
#release-notes ul       { margin: 0 0 8px; padding-left: 22px; line-height: 18px; }
#release-notes li       { margin: 0 0 2px; }
#release-notes .rn-asof { font-size: 11px; margin: 0 0 12px; color: #0099CC; }   /* massgate.net blue (.postm) */
#release-notes li.rn-box { list-style: none; margin: 8px 0 10px -22px; padding: 10px; border: 1px solid #FFFFCC; background-color: #040f0f; color: #FFFFCC; font-size: 10px; line-height: 16px; }   /* "- [box]" item: the look of .dlinfo (Broadcast Tool note) */

/* Player tables */
.wic-player-tables {
    width: 355px;
    flex: 0 0 355px;
    margin: 0 5px 0 0;
    padding: 0;
}

.wic-player-tables[hidden] {
    display: none;
}

/* wicgate.net tables while our database can't be reached */
.wic-players-connecting {
    margin: 0;
    padding: 12px 0;
    color: #eee;
    font-size: 10pt;
    text-align: center;
}

.wic-best-players {
    width: 355px;
    max-width: 100%;
    margin: 0;
}

.wic-best-players + .wic-best-players {
    margin-top: 10px;
}

.wic-player-table {
    width: 355px;
    max-width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    color: #fff;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 10pt;
}

.wic-player-table col:nth-child(1) { width: 45px; }
.wic-player-table col:nth-child(2) { width: 20px; }
.wic-player-table col:nth-child(3) { width: 200px; }
.wic-player-table col:nth-child(4) { width: 90px; }

.wic-player-table tr {
    height: 29px;
}

.wic-player-table .wic-section-title {
    box-sizing: border-box;
    height: 42px;
    margin: 0;
    padding: 0;
    overflow: hidden;               /* a header image wider than the table is cut off at its edge */
    color: #fff;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 12pt;
    font-weight: bold;
    text-align: left;
    vertical-align: middle;
    background: #333 url("/images/sprint1.png") no-repeat;
    border: 1px solid #000;
    border-bottom: 1px solid #777;
}

.wic-player-table .wic-section-title img {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
}

.wic-player-table td {
    height: 29px;
    padding: 0;
    vertical-align: middle;
    background: transparent;
    border: 1px solid #000;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 10pt;
    line-height: normal;
}

.wic-player-table .player-lace {
    box-sizing: border-box;
    width: 45px;
    min-width: 45px;
    max-width: 45px;
    text-align: center;
}

.wic-player-table .player-lace img {
    display: block;
    width: 20px;
    height: 19px;
    object-fit: contain;
    margin: 0 auto;
}

.wic-player-table .player-rank {
    box-sizing: border-box;
    width: 20px;
    min-width: 20px;
    max-width: 20px;
    text-align: right;
    white-space: nowrap;
    overflow: visible;
    font-size: 13px;
    font-weight: normal;
}

.wic-player-table .player-rank img {
    display: block;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    margin: 0 0 0 auto;
}

.wic-player-table .player-name-cell {
    box-sizing: border-box;
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    padding: 0 8px 0 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    font-weight: bold;
}

.wic-player-table .player-score {
    box-sizing: border-box;
    width: 90px;
    min-width: 90px;
    max-width: 90px;
    padding: 0 10px 0 5px;
    text-align: right;
    white-space: nowrap;
    font-size: 13px;
    font-weight: bold;
}

/* wicgate.net names link to their statistics page (/statistics/?id=N); look unchanged, never underlined */
.wic-player-table .player-name-cell a,
.wic-player-table .player-name-cell a:hover,
.wic-player-table .player-name-cell a:focus-visible { color: inherit; text-decoration: none; }

/* Clan tags in player names */
.wic-player-table .orange, .wic-player-table .orange a {
    color: #FF7F00;
    font-weight: normal;
}

/* Row textures: place and score columns */
.wic-player-table tr:nth-child(odd) .player-lace,
.wic-player-table tr:nth-child(odd) .player-score {
    background-image: url("/images/blue25pwhite10p.png");
    background-repeat: repeat;
}

.wic-player-table tr:nth-child(even) .player-lace,
.wic-player-table tr:nth-child(even) .player-score {
    background-image: url("/images/blue25p.png");
    background-repeat: repeat;
}

/* Odd rows: rank and name use a 10% white overlay, even rows 5%. */
.wic-player-table tr:nth-child(odd) .player-rank,
.wic-player-table tr:nth-child(odd) .player-name-cell {
    background-image: url("/images/white10p.png");
    background-repeat: repeat;
}

.wic-player-table tr:nth-child(even) .player-rank,
.wic-player-table tr:nth-child(even) .player-name-cell {
    background-image: url("/images/white5p.png");
    background-repeat: repeat;
}

@media (max-width: 599.98px) {
    .wic-col-right { display: none !important; }
}

/* /downloads/ page (2026-11-20) */
.dl-list p.dl-item  { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.dl-list .dlinfo     { margin-top: 12px; }   /* a note under a link (Broadcast Tool) */
.dl-list .dl-ver    { margin-left: 4px; color: #FF7F00; }
.dl-list .dl-path   { color: #FFFFFF; font-family: Consolas, "Courier New", monospace; }

/* /help/ page (2026-11-20): the articles in the template's text boxes */
.wh-page .dlpage p        { margin-bottom: 12px; line-height: 18px; }
.wh-page .dlpage h3       { color: #FFFFFF; margin: 0 0 6px; font-size: 18px; font-weight: bold; }
.wh-page .dlpage h2       { color: #FFFFFF; margin: 18px 0 8px; font-size: 14px; font-weight: bold; }
.wh-page .dlpage p.wh-lead { color: #B8CACC; font-size: 14px; margin-bottom: 14px; }
.wh-page .dlpage p.wh-note { font-size: 12px; }
.wh-page .dlpage ul,
.wh-page .dlpage ol       { margin: 0 0 12px; padding-left: 22px; line-height: 18px; }
.wh-page .dlpage li       { margin-bottom: 5px; }
.wh-page .dlpage strong,
.wh-page .dlpage em       { color: #FFFFFF; }
.wh-page ul.wh-toc        { margin-bottom: 0; }
.wh-page .wh-current      { border-color: #FF7F00; box-shadow: 0 0 0 1px #FF7F00; }
.wh-table                 { width: 100%; border-collapse: collapse; margin: 8px 0 12px; }
.wh-table th, .wh-table td { text-align: left; vertical-align: top; padding: 6px 10px 6px 0; border-bottom: 1px solid #3a4a4b; }
.wh-table th              { width: 32%; color: #FFFFFF; }
.wh-page code, .wh-page kbd { padding: 0 4px; color: #FFFFFF; background: #0b1414; border: 1px solid #3a4a4b; border-radius: 3px;
                            font-family: Consolas, "Courier New", monospace; font-size: 0.92em; }

/* ---- profile statistics (statistics page, 2026-11-20) ---------------------------------------
   massgate.net's profile "Statistics" tab 1:1 (its div#col-left, 670 px): profile head, profile
   menu, the five tables; its ids (#psmi, #lbox, ...) became classes. Markup: c:\wicgate\profile_stats.php.
   Pictures (massgate.net's): prohead-bg, ranks/40x46-NN + ranks/ranktxt, profile-menu-bg/-vline,
   spriteset02 (menu buttons), white5p..20p, orange50p, black20p, green50p. */
.mg-profile             { width: 670px; color: #FFFFFF; font-family: Verdana, Geneva, sans-serif; font-size: 11px; }
.mg-profile .fltl       { float: left; }
.mg-profile .fltr       { float: right; }
.mg-profile .clr        { clear: both; overflow: hidden; height: 0; }
.mg-profile p           { margin: 0; display: inline; position: relative; }
.mg-profile .prohead    { box-sizing: content-box; height: 50px; padding: 5px 15px 5px 18px; background: #6F070C url("/images/prohead-bg.png") no-repeat; }
.mg-profile .rank       { width: 40px; height: 46px; margin: 2px 15px 0 0; background: transparent no-repeat; }
.mg-profile .namenrank  { width: 380px; padding: 5px 0 0 0; }
.mg-profile .bigname    { font-size: 18px; font-weight: bold; }
.mg-profile .rtxt       { height: 9px; margin-top: 7px; background: transparent url("/images/ranks/ranktxt.png") no-repeat; }
.mg-profile .profile-menu { height: 22px; border-left: 1px solid #000000; border-right: 1px solid #000000;
                          background: #CCCCCC url("/images/profile-menu-bg.png") repeat-x; }
.mg-profile .pbut       { height: 22px; background: transparent url("/images/spriteset02.png") no-repeat; }
.mg-profile .pbut-vline { width: 1px; height: 22px; background: url("/images/profile-menu-vline.png") no-repeat; }
.mg-profile .pbut-profile-off { width: 69px;  background-position: 0 -165px; }
.mg-profile .pbut-medals-off  { width: 126px; background-position: -70px -165px; }
.mg-profile .pbut-stats-on    { width: 80px;  background-position: -197px -188px; }
.mg-profile .mg-lbox    { box-sizing: content-box; width: 638px; margin: 0 0 10px; border: 1px solid #020C0C; }
.mg-profile .mg-lbox::after { content: ""; display: block; clear: both; }
.mg-profile table       { border-collapse: collapse; padding: 0; margin-bottom: 15px; }
.mg-profile th,
.mg-profile td          { border: 1px solid #010D0D; padding: 5px 8px; text-align: left; }
.mg-profile th          { font-weight: bold; }
.mg-profile .psmi, .mg-profile .pssb { width: 260px; float: left; clear: left; }
.mg-profile .psrf, .mg-profile .psmr, .mg-profile .psms { width: 360px; float: right; clear: right; }
.mg-profile .col1       { font-weight: bold; color: #A0ADAD; }
.mg-profile .col2,
.mg-profile .col3,
.mg-profile .col4       { text-align: right; }
.mg-profile .subth      { text-transform: uppercase; font-weight: bold; font-size: 10px; }
.mg-profile .w15        { background: transparent url("/images/white15p.png") repeat; }
.mg-profile .w20        { background: transparent url("/images/white20p.png") repeat; }
.mg-profile .o50        { background: transparent url("/images/orange50p.png") repeat; }
.mg-profile .r01 { background-image: url("/images/ranks/40x46-01.png"); }
.mg-profile .r02 { background-image: url("/images/ranks/40x46-02.png"); }
.mg-profile .r03 { background-image: url("/images/ranks/40x46-03.png"); }
.mg-profile .r04 { background-image: url("/images/ranks/40x46-04.png"); }
.mg-profile .r05 { background-image: url("/images/ranks/40x46-05.png"); }
.mg-profile .r06 { background-image: url("/images/ranks/40x46-06.png"); }
.mg-profile .r07 { background-image: url("/images/ranks/40x46-07.png"); }
.mg-profile .r08 { background-image: url("/images/ranks/40x46-08.png"); }
.mg-profile .r09 { background-image: url("/images/ranks/40x46-09.png"); }
.mg-profile .r10 { background-image: url("/images/ranks/40x46-10.png"); }
.mg-profile .r11 { background-image: url("/images/ranks/40x46-11.png"); }
.mg-profile .r12 { background-image: url("/images/ranks/40x46-12.png"); }
.mg-profile .r13 { background-image: url("/images/ranks/40x46-13.png"); }
.mg-profile .r14 { background-image: url("/images/ranks/40x46-14.png"); }
.mg-profile .r15 { background-image: url("/images/ranks/40x46-15.png"); }
.mg-profile .r16 { background-image: url("/images/ranks/40x46-16.png"); }
.mg-profile .r17 { background-image: url("/images/ranks/40x46-17.png"); }
.mg-profile .r18 { background-image: url("/images/ranks/40x46-18.png"); }
.mg-profile .rtxt00 { width: 78px; background-position: -0px -180px; }
.mg-profile .rtxt01 { width: 78px; background-position: -0px -170px; }
.mg-profile .rtxt02 { width: 146px; background-position: -0px -160px; }
.mg-profile .rtxt03 { width: 91px; background-position: -0px -150px; }
.mg-profile .rtxt04 { width: 88px; background-position: -0px -140px; }
.mg-profile .rtxt05 { width: 122px; background-position: -0px -130px; }
.mg-profile .rtxt06 { width: 156px; background-position: -0px -120px; }
.mg-profile .rtxt07 { width: 119px; background-position: -0px -110px; }
.mg-profile .rtxt08 { width: 130px; background-position: -0px -100px; }
.mg-profile .rtxt09 { width: 117px; background-position: -0px -90px; }
.mg-profile .rtxt10 { width: 114px; background-position: -0px -80px; }
.mg-profile .rtxt11 { width: 79px; background-position: -0px -70px; }
.mg-profile .rtxt12 { width: 75px; background-position: -0px -60px; }
.mg-profile .rtxt13 { width: 145px; background-position: -0px -50px; }
.mg-profile .rtxt14 { width: 82px; background-position: -0px -40px; }
.mg-profile .rtxt15 { width: 139px; background-position: -0px -30px; }
.mg-profile .rtxt16 { width: 124px; background-position: -0px -20px; }
.mg-profile .rtxt17 { width: 144px; background-position: -0px -10px; }
.mg-profile .rtxt18 { width: 82px; background-position: -0px -0px; }
/* the top list of the statistics page (no ?id=): one table over the whole box */
.mg-profile .pstop      { width: 100%; margin-bottom: 0; font-size: 13px; }   /* massgate.net 11 px + 2 (user) */
.mg-profile .pstop .col1 { width: 20px; text-align: right; }
.mg-profile .pstop .pname { font-size: 14px; font-weight: bold; white-space: nowrap; }
.mg-profile .pstop .pname a,
.mg-profile .pstop .pname a:hover,
.mg-profile .pstop .pname a:focus-visible { color: #FFFFFF; text-decoration: none; }
.mg-profile .pstop .prank { width: 12px; text-align: center; }
.mg-profile .pstop .prank img { display: block; margin: 0 auto; }
.mg-profile .pstop .subth { font-size: 12px; }
.mg-profile .pstop .pshead td { text-align: center; vertical-align: middle; }   /* column titles centred */

/* statistics page: three columns like the home page (Online 228 + 20 + main 670 + 20 + role tables 355 + 3) */
.wic-stats .wic-col-main  { flex: 0 0 670px; width: 670px; margin-right: 0; }
.wic-stats .wic-col-right { margin-right: 3px; }
/* a player-table heading without its picture: the text in the pictures' look */
.wic-player-table .wic-section-text { display: block; padding: 0 0 0 16px; color: #F4EEDD; font-size: 15px; font-weight: bold;
                                      text-transform: uppercase; letter-spacing: 0.5px; text-shadow: 2px 2px 3px #000; }
/* a linked table title (statistics page): the whole title is the link, no underline */
.wic-player-table .wic-section-link,
.wic-player-table .wic-section-link:hover,
.wic-player-table .wic-section-link:focus-visible { display: block; color: inherit; text-decoration: none; }
.wic-player-table .wic-section-link:hover .wic-section-text { color: #FFFFFF; }
