/* ==================================================================================================== */
/* Glyph Wiki Dark Template v1.0 for DokuWiki                                                           */
/*     Description:                                                                                     */
/*     Location:                   /lib/tpl/glyphwikidark/css/glyphwikidark.css                         */
/* ==================================================================================================== */
/*     Version:                    v1.0 (Official release)                                              */
/*     Original Projection Date:   2026-01-01                                                           */
/*     α Release Date:             2026-01-09                                                           */
/*     β Release Date:             2026-01-XX                                                           */
/*     Last Update:                2026-01-09 @ 0500 EST                                                */
/*     Author:                     by Conner Rhoads                                                     */
/*     Official Site:              https://wiki.glyphentertainment.com                                  */
/* ==================================================================================================== */

/* ==================================================================================================== */
/* Basic resets and base styles */
/* ==================================================================================================== */

html, body 
{
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    font-size: 100%;
    line-height: 1.5;
    background: #1a1a1a;
    color: #e0e0e0;
}
a 
{
    color: #a0d8ff;
    text-decoration: none;
}
a:hover 
{
    text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 
{
    color: #ffffff;
    margin: 1em 0 0.5em;
}
ul, ol 
{
    padding-left: 1.5em;
}
table 
{
    border-collapse: collapse;
    width: 100%;
}
th, td 
{
    border: 1px solid #444;
    padding: 0.5em;
}

/* ==================================================================================================== */
/* TABLES - Enhanced visual polish                                                            */
/* ==================================================================================================== */

.dokuwiki table
{
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #2a2a2a !important;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    margin: 30px 0;
    border: 1px solid #404040 !important; /* subtle outer border */
}

.dokuwiki table th,
.dokuwiki table td
{
    padding: 16px 20px !important;             /* more breathing room */
    text-align: left;
    border-bottom: 1px solid #3a3a3a !important;
    border-right: 1px solid #3a3a3a !important; /* vertical grid lines */
    vertical-align: top;
}

.dokuwiki table th
{
    background-color: #333333 !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.dokuwiki table tr:nth-child(even)
{
    background-color: #2f2f2f !important;       /* slightly deeper stripe */
}

.dokuwiki table tr:nth-child(odd)
{
    background-color: #2a2a2a !important;
}

.dokuwiki table tr:hover
{
    background-color: #404040 !important;       /* stronger hover */
    transition: background-color 0.3s ease;
}

/* Clean up outer edges - no border on last column or last row */
.dokuwiki table th:last-child,
.dokuwiki table td:last-child
{
    border-right: none !important;
}

.dokuwiki table tr:last-child th,
.dokuwiki table tr:last-child td
{
    border-bottom: none !important;
}

/* ==================================================================================================== */
/* EDIT PAGE */
/* ==================================================================================================== */
#wiki__editbar {
    width: 100% !important;
    max-width: none !important;
    padding: 20px !important;
    background: #2d2d2d !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
}
#tool__bar {
    width: 100% !important;
    background: #333 !important;
    padding: 10px !important;
    border-radius: 8px !important;
    margin-bottom: 15px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}
#wiki__text {
    width: 100% !important;
    min-height: 70vh !important;
    background: #1a1a1a !important;
    color: #e0e0e0 !important;
    border: 1px solid #444 !important;
    padding: 15px !important;
    box-sizing: border-box !important;
    border-radius: 6px !important;
}
#wiki__editbar .editButtons {
    width: 100% !important;
    background: #2d2d2d !important;
    padding: 12px !important;
    border-radius: 6px !important;
    margin-top: 15px !important;
}
.mode_edit .dokuwiki .page,
.mode_edit .dokuwiki div.page {
    max-width: none !important;
    width: 100% !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}
.mode_edit #wiki__editbar {
    max-width: none !important;
    width: 100% !important;
    padding: 20px !important;
    margin: 0 !important;
    background: #252525 !important;
    border-radius: 12px !important;
}
#wiki__editbar p.edit_intro,
.mode_edit p.edit_intro {
    display: none !important;
}

/* ==================================================================================================== */
/* Header */
/* ==================================================================================================== */

#dokuwiki__header 
{
    position: relative;
}
#module.header .pad.group 
{
    max-width: 1108px;
    margin: 0 auto;
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 2;
}
.branding.header 
{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}
@media (max-width: 749px) 
{
    .branding.header 
    {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    #usertools.header 
    {
        width: 100%;
        justify-content: flex-end;
    }
    .topbar.header, #usertools 
    {
        width: 100%;
    }
}

/* ==================================================================================================== */
/* Structure / layout wrappers */
/* ==================================================================================================== */

#dokuwiki__site 
{
    min-height: 100%;
    position: relative;
}

.wikibody
{
    max-width: 1108px;
    margin: 10px auto 0 auto; /* Gap after breadcrumbs wrapper */
    padding: 0 30px 80px 30px;
    background: #2a2a2a;
    border-radius: 8px;
}
.breadcrumbs 
{
    max-width: 1108px;
    margin: 10px auto 0 auto;
    padding: 0 30px 5px 30px;
    background: #2a2a2a;
    border-radius: 2px;
}
.pageId 
{
    max-width: 1108px;
    margin: 10px auto 0 auto;
    padding: 0 30px 5px 30px;
    background: #2a2a2a;
    border-radius: 2px;
}
.pageinfo 
{
    max-width: 1108px;
    margin: 10px auto 0 auto;
    padding: 0 30px 5px 30px;
    background: #2a2a2a;
    border-radius: 2px;
}
#dokuwiki__content .pad.group 
{
    padding: 0;
}
#dokuwiki__footer 
{
    clear: both;
}

/* ==================================================================================================== */
/* Theme overrides (plugin_translation etc.) */
/* ==================================================================================================== */

.dokuwiki div.plugin_translation 
{
    position: absolute;
    top: 2em;
    right: 0;
    height: 2em;
    width: 10em;
    overflow: hidden;
}
.dokuwiki div.plugin_translation ul 
{
    display: block;
}
.dokuwiki div.plugin_translation ul li span 
{
    padding: inherit;
    text-decoration: none;
    border: none;
    white-space: nowrap;
    text-align: left;
    display: inline-block;
}
@media (max-width: 768px) 
{
    #dokuwiki__aside 
    {
        width: auto;
        float: none;
        margin: 0;
        padding: 0;
    }
}
@media (max-width: 480px) 
{
    .dokuwiki div.plugin_translation 
    {
        position: absolute;
        top: 2em;
        right: 0;
        height: 2em;
        width: 10em;
        overflow: hidden;
    }
    .dokuwiki div.plugin_translation ul 
    {
        display: block !important;
    }
}

/* ==================================================================================================== */
/* Print styles */
/* ==================================================================================================== */

@media print 
{
    body 
    {
        background: white;
        color: black;
    }
    a 
    {
        color: blue;
    }
    #dokuwiki__header .logo img 
    {
        float: left;
        margin-right: 0.5em;
    }
    .dokuwiki div.footnotes 
    {
        clear: both;
        border-top: 1pt dotted #999;
        margin-top: 10pt;
    }
    .dokuwiki div.docInfo 
    {
        font-size: 90%;
        text-align: right;
        clear: both;
        padding-top: 2pt;
        border-top: 1pt solid #999;
        margin-top: 10pt;
    }
}

/* ==================================================================================================== */
/* Admin panel */
/* ==================================================================================================== */

.dokuwiki div.ui-admin ul 
{
    list-style: none;
    margin: 0;
    padding: 0;
}
.dokuwiki div.ui-admin ul li 
{
    margin: 0.5em 0;
}
.dokuwiki div.ui-admin ul li a span.icon 
{
    width: 1.5em;
    min-height: 1.5em;
    margin: 0 0.5em;
    vertical-align: top;
}
.dokuwiki div.ui-admin #admin__version 
{
    clear: left;
    float: right;
}
.dokuwiki div.ui-admin #security__check 
{
    float: right;
    max-width: 20em;
}

/* ==================================================================================================== */
/* Diff views */
/* ==================================================================================================== */

.dokuwiki table.diff 
{
    width: 100%;
    border-collapse: collapse;
}
.dokuwiki table.diff td 
{
    width: 50%;
    vertical-align: top;
}
.dokuwiki table.diff .diff-addedline 
{
    background: #1e3a1e;
}
.dokuwiki table.diff .diff-deletedline 
{
    background: #3a1e1e;
}
.dokuwiki .diffnav a:before 
{
    display: inline-block;
    line-height: 1;
    padding: 0.2em 0.4em;
    border: 1px solid #444;
    border-radius: 2px;
}
.dokuwiki .diffnav select 
{
    width: 60%;
    min-width: 9em;
}

/* ==================================================================================================== */
/* Footnotes */
/* ==================================================================================================== */

sup a.fn_top 
{
    font-weight: bold;
    color: #a0d8ff;
}
div.insitu-footnote 
{
    max-width: 40%;
    min-width: 5em;
    background: #333333;
    color: #e0e0e0;
    border: 1px solid #555555;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}
.dokuwiki div.footnotes 
{
    border-top: 1px solid #555;
    padding: 0.5em 0 0 0;
    margin: 1em 0 0 0;
    clear: both;
    color: #bbbbbb;
}
.dokuwiki div.footnotes div.fn sup a.fn_bot 
{
    font-weight: bold;
    color: #a0d8ff;
}

/* ==================================================================================================== */
/* Forms and login */
/* ==================================================================================================== */

.dokuwiki form 
{
    margin: 0;
}
.dokuwiki label 
{
    vertical-align: middle;
    cursor: pointer;
}
.dokuwiki input, textarea, button, select 
{
    font: inherit;
    margin: 0;
    vertical-align: middle;
    box-sizing: border-box;
}
#dw__login label[for="remember__me"] 
{
    margin-left: 50%;
    margin-bottom: 1.4em;
}
#subscribe__form fieldset 
{
    text-align: left;
    margin: 0.5em 0;
    background: #2a2a2a;
    border: 1px solid #555;
    padding: 1em;
    border-radius: 8px;
}
#subscribe__form label 
{
    display: block;
    margin: 0 0.5em 0.5em;
    color: #e0e0e0;
}

/* ==================================================================================================== */
/* Image details */
/* ==================================================================================================== */

#dokuwiki__detail div.img_detail 
{
    float: none;
    overflow: hidden;
    color: #e0e0e0;
}
#dokuwiki__detail div.img_detail h2 
{
    color: #ffffff;
    margin-top: 0;
}
#dokuwiki__detail div.img_detail dl dt 
{
    float: left;
    clear: left;
    width: 9em;
    text-align: right;
    font-weight: bold;
    color: #a0d8ff;
}
#dokuwiki__detail div.img_detail dl dd 
{
    margin-left: 9.5em;
    color: #e0e0e0;
}
#dokuwiki__detail p.back 
{
    clear: both;
    margin-top: 1em;
}

/* ==================================================================================================== */
/* Link icons */
/* ==================================================================================================== */

.dokuwiki a.wikilink1 
{
    color: #a0d8ff;
}
.dokuwiki a.wikilink2 
{
    color: #ff8080;
}
.dokuwiki a.urlextern, .dokuwiki a.windows, .dokuwiki a.mail, .dokuwiki a.mediafile, .dokuwiki a.interwiki 
{
    background-size: 1.2em;
    background-repeat: no-repeat;
    background-position: 0 center;
    padding: 0 0 0 1.4em;
}
.dokuwiki a.urlextern 
{
    background-image: url(../../images/external-link.svg);
}
.dokuwiki a.windows 
{
    background-image: url(../../images/unc.svg);
}
.dokuwiki a.mail 
{
    background-image: url(../../images/email.svg);
}

/* ==================================================================================================== */
/* Recent changes list */
/* ==================================================================================================== */

.dokuwiki form.changes li 
{
    margin-bottom: 0.5em;
}
.dokuwiki form.changes li .sizechange 
{
    font-size: 80%;
    border-radius: 0.2em;
    padding: 0.1em 0.2em;
    background-color: #444444;
    color: #e0e0e0;
}
.dokuwiki form.changes li .sizechange.positive 
{
    background-color: #1e3a1e;
    color: #c8e6c9;
}
.dokuwiki form.changes li .sizechange.negative 
{
    background-color: #3a1e1e;
    color: #ffcdd2;
}
.dokuwiki div.pagenav 
{
    text-align: center;
    margin: 1.4em 0;
}

/* ==================================================================================================== */
/* Search form */
/* ==================================================================================================== */

.dokuwiki form.search div.no 
{
    position: relative;
}
.dokuwiki form.search div.ajax_qsearch 
{
    position: absolute;
    top: 0;
    left: -13.5em;
    width: 12em;
    padding: 0.5em;
    font-size: 0.9em;
    z-index: 20;
    text-align: left;
    display: none;
}
.dokuwiki form.search div.ajax_qsearch strong 
{
    display: block;
    margin-bottom: 0.3em;
}
.dokuwiki form.search div.ajax_qsearch ul 
{
    margin: 0;
    padding: 0;
}

/* ==================================================================================================== */
/* Tabs navigation */
/* ==================================================================================================== */

.dokuwiki ul.tabs 
{
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #555;
}
.dokuwiki ul.tabs li 
{
    display: inline-block;
    margin: 0 0.3em 0 0;
}
.dokuwiki ul.tabs li a 
{
    padding: 0.5em 1em;
    background: #2a2a2a;
    color: #e0e0e0;
    border: 1px solid #555;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
}
.dokuwiki ul.tabs li a:hover, .dokuwiki ul.tabs li.active a 
{
    background: #333333;
    color: #ffffff;
}

/* ==================================================================================================== */
/* Legacy pagetools hidden */
/* ==================================================================================================== */

#dokuwiki__pagetools 
{
    display: none !important;
}

/* ==================================================================================================== */
/* Hide default inline TOC */
/* ==================================================================================================== */

#dw__toc,
.dokuwiki div.toc 
{
    display: none !important;
}

/* ==================================================================================================== */
/* Material-style TOC & Pagetools */
/* ==================================================================================================== */

#page_tools__trigger,
#toc__trigger 
{
    position: fixed;
    width: 64px;
    height: 64px;
    background: #333333;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.6), 0 8px 24px rgba(0,0,0,0.4);
    cursor: pointer;
    z-index: 1051;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#page_tools__trigger 
{
    bottom: 170px;
    right: 50px;
}
#toc__trigger 
{
    bottom: 100px;
    right: 50px;
}
#page_tools__trigger img,
#toc__trigger img 
{
    width: 32px;
    height: 32px;
    transition: filter 0.4s ease, transform 0.4s ease;
}
#page_tools__trigger:hover,
#toc__trigger:hover 
{
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}
#page_tools__trigger:hover img,
#toc__trigger:hover img 
{
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.9)) drop-shadow(0 0 24px rgba(255, 255, 255, 0.6));
    transform: scale(1.1);
}
#page_tools__trigger:active img,
#toc__trigger:active img 
{
    filter: drop-shadow(0 0 12px rgba(255, 69, 0, 0.9)) drop-shadow(0 0 24px rgba(255, 255, 255, 0.6));
}

/* ==================================================================================================== */
/* Panels - Material card style */
/* ==================================================================================================== */

#page__tools,
#floating__toc 
{
    position: fixed;
    width: 320px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
    overflow-y: auto;
    max-height: 80vh;
    transition: right 0.3s ease;
    z-index: 1000;
}
#page__tools 
{
    bottom: 100px;
    right: -400px;
}
#page__tools.tools-visible 
{
    right: 50px;
}
#floating__toc 
{
    bottom: 100px;
    right: -400px;
}
#floating__toc.toc-visible 
{
    right: 50px;
}

/* ==================================================================================================== */
/* Pagetools panel icons */
/* ==================================================================================================== */

#page__tools img 
{
    width: 24px !important;
    height: 24px !important;
}
@media (max-width: 749px) 
{
    #page_tools__trigger 
    {
        right: 20px;
        bottom: 80px;
    }
    #page__tools.tools-visible 
    {
        right: 20px;
        width: 90%;
        max-width: 320px;
    }
    #toc__trigger 
    {
        right: 20px;
        bottom: 150px;
    }
    #floating__toc.toc-visible 
    {
        right: 20px;
        width: 90%;
        max-width: 320px;
    }
}

/* ==================================================================================================== */
/* Hide core DokuWiki tools bar */
/* ==================================================================================================== */

#dokuwiki__header .tools 
{
    display: none !important;
}

/* ==================================================================================================== */
/* Prevent underlines on header links */
/* ==================================================================================================== */

#dokuwiki__header a,
#dokuwiki__header a:hover 
{
    text-decoration: none !important;
}

/* ==================================================================================================== */
/* Mobile critical rules */
/* ==================================================================================================== */

@media only screen and (max-width: 768px) 
{
    .dokuwiki .plugin_include_content 
    {
        margin-bottom: 0.5em;
    }
    .dokuwiki form.search div.no 
    {
        position: static;
    }
    .dokuwiki form.search div.ajax_qsearch 
    {
        left: auto;
        right: auto;
        width: 100%;
        position: static;
        padding: 0;
    }
    .dokuwiki table.diff_sidebyside 
    {
        table-layout: fixed;
    }
    .dokuwiki table.diff_sidebyside tbody td 
    {
        width: 50%;
    }
    #config__manager table 
    {
        width: 100%;
    }
    #config__manager td.label 
    {
        padding-right: 3px;
        width: 120px;
    }
    #config__manager td.label span.outkey 
    {
        display: none;
    }
    #config__manager fieldset 
    {
        margin-left: 0;
        margin-right: 0;
    }
    .dokuwiki label.block 
    {
        text-align: left;
    }
    .dokuwiki label.block span 
    {
        display: block;
    }
    [dir=rtl] .dokuwiki label.block 
    {
        text-align: right;
    }
    .dokuwiki div.section_highlight 
    {
        margin: 0;
        padding: 0;
        border-width: 0;
    }
    .dokuwiki div.preview 
    {
        margin: 0 -0.5em;
        padding: 0.5em;
    }
}
@media only screen and (max-height: 400px) 
{
    #dokuwiki__pagetools div.tools 
    {
        position: static;
    }
}

/* ==================================================================================================== */
/* Edit critical rules */
/* ==================================================================================================== */

.dokuwiki div.edit_intro 
{
    display: none !important;
}
.dokuwiki div.preview 
{
    border: dotted #555;
    border-width: 0.2em 0;
    padding: 1.4em 0;
    margin-bottom: 1.4em;
    background: #2a2a2a;
}
.dokuwiki .secedit 
{
    float: right;
    margin-top: -1.4em;
}
[dir=rtl] .dokuwiki .secedit 
{
    float: left;
}
.dokuwiki .secedit button 
{
    font-size: 75%;
    background: #333333;
    color: #e0e0e0;
    border: 1px solid #555;
}
.dokuwiki .secedit button:hover 
{
    background: #444444;
}
.dokuwiki div.section_highlight 
{
    margin: 0 -1em;
    padding: 0 0.5em;
    border: solid #444;
    border-width: 0 0.5em;
    background: #2a2a2a;
}

/* Placeholder for media fullscreen/popup/modal (original files preserved if exist) */
/* Full original content from _media_fullscreen.css, _media_popup.css, _modal.css */