/* Desktop content only. No viewport, shell-width or embedded PUS changes. */
.public-panel #subTableRepetable .desktop-page {
    box-sizing: border-box; width: 100%; padding: 8px 24px 18px;
    color: #dfcfad; text-align: left; text-shadow: 0 1px 2px #000;
    font: 14px/1.6 serverdetails, Georgia, "Times New Roman", serif;
}
.desktop-page *, .desktop-page *::before, .desktop-page *::after { box-sizing: border-box; }
.desktop-page h2, .desktop-page h3 {
    margin: 0 0 14px; padding: 0 0 8px; border-bottom: 1px solid #95836366;
    color: #e5d3ad; font: normal 18px/1.4 serverdetails, Georgia, "Times New Roman", serif;
}
.desktop-page h3 { margin-top: 24px; font-size: 16px; }
.desktop-page p { margin: 0 0 14px; }
.desktop-page .page-note { color: #bfb8ac; font-size: 12px; }
.desktop-page .page-note:empty, .desktop-page .page-message:empty { display: none; }
.desktop-page .page-message { margin: 12px 0 18px; color: #e5d3ad; overflow-wrap: anywhere; }
.page-table-scroll, .profile-map-scroll { max-width: 100%; overflow-x: auto; }
.desktop-page .page-data-table {
    width: 100%; border-collapse: collapse; color: inherit; font: inherit;
    background: transparent; border: 0;
}
.desktop-page .page-data-table th, .desktop-page .page-data-table td {
    padding: 10px 8px; border: 0; background: transparent;
    text-align: left; vertical-align: middle; overflow-wrap: anywhere;
}
.desktop-page .page-data-table th { color: #bfb8ac; font-weight: normal; font-size: 13px; }
.desktop-page .page-data-table tr { border-bottom: 1px solid #9583634d; }
.desktop-page .page-data-table thead tr { border-bottom-color: #95836388; }
.desktop-page .page-data-table tbody tr:last-child { border-bottom: 0; }
.desktop-page .page-data-table tbody tr:hover { background: #95836314; }
.desktop-page .page-data-table img { vertical-align: middle; }
.page-position-column { width: 58px; }
.page-nation-column { width: 76px; }
.page-points-column { width: 140px; }
.search-results-table { min-width: 420px; }
.desktop-page .search-results-table td:last-child,
.desktop-page .search-results-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.clan-members-table { min-width: 560px; }
.desktop-page .clan-members-table th:first-child { width: 40px; }
.desktop-page .clan-members-table th:nth-child(2) { width: 26%; }
.desktop-page .clan-members-table th:nth-child(5) { width: 135px; }
.profile-clan-heading img { max-width: 32px; vertical-align: middle; }
.profile-columns { display: grid; grid-template-columns: minmax(0, 1fr) 177px; gap: 28px; align-items: start; }
.desktop-page .profile-details th { width: 43%; }
.desktop-page .profile-details td { font-variant-numeric: tabular-nums; }
.profile-page .profile-equipment { position: relative; }
.public-panel .profile-page #inventory { position: static; top: auto; margin: 0; box-sizing: border-box; }
.public-panel .profile-page #inventory2 {
    position: static; top: auto; left: auto; margin: 12px 0 0;
    visibility: visible; opacity: 1; box-sizing: border-box;
}
.profile-extra-equipment { margin-top: 18px; }
.profile-extra-equipment summary { cursor: pointer; font-size: 12px; }
.profile-location { margin-top: 28px; }
.profile-page .profile-location #map { position: relative; margin: 0; }
.profile-page .profile-location h3 { margin-top: 0; }
.vote-balance { font-size: 18px; }
.vote-balance strong { color: #e5d3ad; font-weight: normal; font-variant-numeric: tabular-nums; }
.vote-provider-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 18px 0; border-bottom: 1px solid #9583634d; }
.vote-provider-link { justify-self: center; }
.vote-provider-link img { display: block; object-fit: contain; }
.vote-reward-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 20px 0; border-bottom: 1px solid #9583634d; }
.vote-reward { min-width: 0; text-align: center; }
.vote-reward > a { display: flex; flex-direction: column; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.vote-reward img { object-fit: contain; }
.vote-reward p { margin: 8px 0 0; color: #bfb8ac; font-size: 12px; }
.desktop-page.drop-results-heading { padding-bottom: 0; }
.drop-result h3 { margin-top: 0; }
.drop-result-items { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 4px 0 14px; }
.drop-result-items img { width: 43px; height: 43px; object-fit: contain; }
.drop-result [data-panel-tooltip] { cursor: help; }
.page-captcha { margin-top: 20px; }
.public-panel #subTableRepetable .store-admin-view input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]):not([type="submit"]),
.public-panel #subTableRepetable .store-admin-view select,
.public-panel #subTableRepetable .store-admin-view textarea {
    box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; min-height: 36px;
    margin: 0; padding: 7px 9px; border: 1px solid #786c5c; border-radius: 0;
    background: #2d1f17; color: #dfcfad; font: inherit; text-shadow: none;
}
.store-admin-view input[type="radio"], .store-admin-view input[type="checkbox"] { appearance: auto; accent-color: #b69a69; margin: 0 6px 0 0; }
.store-admin-view textarea { resize: vertical; }
.store-admin-view table { width: 100%; border-collapse: collapse; font: inherit; color: inherit; }
.store-admin-view table th, .store-admin-view table td { padding: 10px 8px; border: 0; background: transparent; vertical-align: top; text-align: left; }
.store-admin-view table tr { border-bottom: 1px solid #9583634d; }
.store-admin-view fieldset { margin: 18px 0; padding: 12px 0; border: 0; border-top: 1px solid #95836366; }
.store-admin-view legend { padding: 0 10px 0 0; color: #e5d3ad; }
.public-panel #subTableRepetable .store-admin-view .admin-delete,
.public-panel #subTableRepetable .store-admin-view .admin-delete:hover {
    width: auto; min-width: 36px; min-height: 36px; margin: 0; padding: 6px 9px;
    border: 1px solid #786c5c; background: #2d1f17; color: #d2a48e;
    font: inherit; cursor: pointer;
}
.public-panel #subTableRepetable .store-admin-view .admin-delete:hover { background: #422d22; color: #fff0d1; }
.store-admin-view .admin-packages-table { table-layout: fixed; min-width: 500px; }
.store-admin-view .admin-packages-table th:first-child { width: 38%; }
.store-admin-view .admin-packages-table th:last-child { width: 62px; }
.store-admin-view .admin-categories-table { table-layout: fixed; }
.store-admin-view .admin-categories-table th:first-child { width: 85px; }
.store-admin-view .admin-categories-table th:last-child { width: 62px; }
.public-panel #logindiv.account-overlay,
.public-panel #registrationdiv.account-overlay,
.public-panel #registrationdiv2.account-overlay {
    position: fixed; inset: 0; width: 100%; height: 100%; padding: 40px 16px;
    box-sizing: border-box; overflow-y: auto; z-index: 10000;
    background: #000b; opacity: 1;
}
.public-panel #logindiv .account-dialog,
.public-panel #registrationdiv .account-dialog,
.public-panel #registrationdiv2 .account-dialog {
    position: relative; top: auto; left: auto; width: 452px; max-width: 100%;
    margin: 0 auto; color: #dfcfad; font: 14px/1.5 serverdetails, Georgia, "Times New Roman", serif;
}
.account-dialog > table { width: 100%; }
.public-panel .account-dialog table[style*="login_form_repeat"] { background-color: #201b15; }
.public-panel .account-dialog .registrationField {
    box-sizing: border-box; width: 80%; min-height: 36px; height: auto; margin: 0;
    padding: 8px 10px; border: 1px solid #786c5c; border-radius: 0;
    background: #241b15; color: #e8dcc0; font: inherit; text-align: left;
}
.public-panel .account-dialog .registrationField:-webkit-autofill { -webkit-text-fill-color: #e8dcc0; box-shadow: inset 0 0 0 1000px #241b15; }
.public-panel .account-dialog .buttonPopup,
.public-panel .account-dialog .buttonPopup:hover {
    box-sizing: border-box; position: static; width: auto; min-width: 110px; height: 36px;
    min-height: 36px; margin: 0 4px 12px; padding: 7px 10px; border: 1px solid #786c5c;
    background: #2d1f17 url(images/button.png) center/100% 100% no-repeat;
    color: #dfcfad; font: normal 12px/1.4 serverdetails, Georgia, "Times New Roman", serif;
}
.public-panel .account-dialog .buttonPopup:hover { background-image: url(images/button_hover.png); color: #fff0d1; }
.account-dialog .buttonPopup:disabled { opacity: .5; cursor: not-allowed; }
.public-panel .panel-rich-tooltip {
    position: fixed; z-index: 11000; max-width: 360px; max-height: calc(100vh - 24px);
    overflow: auto; box-sizing: border-box; padding: 12px 15px;
    border: 1px solid #786c5c; background: #201b15; color: #dfcfad;
    box-shadow: 0 3px 12px #0009; text-align: left;
    font: 13px/1.5 serverdetails, Georgia, "Times New Roman", serif;
}
.panel-rich-tooltip[hidden] { display: none; }
.panel-rich-tooltip img { max-width: 100%; height: auto; }
.panel-rich-tooltip a { color: #e5d3ad; text-decoration: underline; }
.panel-rich-tooltip [data-tooltip-detail] { width: 43px; height: 43px; object-fit: contain; cursor: help; }
.panel-rich-tooltip .tooltip-item-detail { margin-top: 12px; padding-top: 12px; border-top: 1px solid #786c5c; }
.public-panel #subTableRepetable .guide-page { overflow-wrap: break-word; }
.guide-page .guide-navigation { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.guide-page .guide-navigation a { padding: 7px 10px; border: 1px solid #786c5c; text-decoration: none; }
.guide-page .guide-navigation a:hover { background: #95836314; }
.public-panel .guide-page .headerEvent,
.public-panel .guide-page .middleEvent { position: static; top: auto; left: auto; width: 100%; height: auto; margin: 0 0 20px; padding: 0; }
.guide-page img:not([width="20"]) { max-width: 100%; height: auto; }
.guide-page table { max-width: 100%; font: inherit; color: inherit; }
.guide-page table:not([background]) { width: 100%; border-collapse: collapse; background: transparent; border: 0; }
.guide-page table:not([background]) > tbody > tr > td,
.guide-page table:not([background]) > tbody > tr > th,
.guide-page table:not([background]) > thead > tr > th { padding: 8px; border: 0; background: transparent; }
.guide-page .text, .guide-page .textSmallEvent, .guide-page .textSmall, .guide-page .textwhiteSmall { color: inherit; font: inherit; text-transform: none; }
.guide-page .textredlg, .guide-page .textred { color: #e5d3ad; font: inherit; }
.guide-page > .event-detail-schedule { margin-bottom: 24px; }
.guide-page .guide-list { margin: 0 0 14px; padding-left: 20px; }
.guide-page[dir="rtl"] .guide-list { padding-left: 0; padding-right: 20px; }
.guide-page .guide-list li { margin-bottom: 6px; }
.guide-page .guide-list b, .guide-page .guide-lead b { color: #e5d3ad; }
/* navgoco.css sets a global b { font-size: 19px } meant for the menu; keep bold inline text at body size. */
.guide-page b, .guide-page strong { font-size: inherit; }
.guide-page[dir="rtl"] { text-align: right; }
.guide-page .page-data-table td:last-child, .guide-page .page-data-table th:last-child { font-variant-numeric: tabular-nums; }
.public-panel .guide-page #contenttitle { position: static; top: auto; left: auto; width: 100%; margin: 0 0 20px; }
.guide-page .event-detail-schedule .page-data-table th,
.guide-page .event-detail-schedule .page-data-table td { padding: 10px 8px; }
.guide-page .event-detail-schedule .page-data-table th:first-child { width: 40%; }
.guide-page .event-detail-schedule .page-data-table th:nth-child(2) { width: 28%; }
/* Event pages: centered banner; light headings with a rule, like the payment page. */
.public-panel .event-page div.headerEvent, .public-panel .event-page #contenttitle { text-align: center; }
.public-panel .event-page img.headerEvent { display: block; margin: 0 auto 20px; }
.event-page h2, .event-page h3 { padding-bottom: 7px; border-bottom-color: #786c5c; color: #d5d5d5; font-size: 18px; line-height: 1.3; }
/* Legacy table layouts (Forgotten Temple, Castle Siege, Snow War) mark sections with a bold, centered cell. */
.event-page .middleEvent td[align="center"] b, .event-page table td[align="center"] > p > b {
    display: block; margin: 14px 0 10px; padding: 0 0 7px; border-bottom: 1px solid #786c5c;
    color: #d5d5d5; text-align: start; font: normal 18px/1.3 serverdetails, Georgia, "Times New Roman", serif;
}
