/* ============================================================
   subpage.css – styles for the logged-in user account page
   ============================================================ */

/* =================== HERO SUBPAGE =================== */
.subpage-header {
    height: 300px;
    position: relative;
    overflow: hidden;
    min-width: 1320px
}

.subpage-header::before {
    content: '';
    position: absolute;
    inset: -20px;
    background-image: url(../img/hero-bg.jpg);
    background-size: cover;
    background-position: center 30%;
    filter: blur(5px) brightness(0.45);
    z-index: 0
}

.subpage-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(11, 6, 6, 0.2) 0%,
        rgba(11, 6, 6, 0.75) 100%);
    z-index: 1
}

.subpage-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none
}

.subpage-header .pixarts-nav {
    pointer-events: auto;
    z-index: 10;
    position: relative
}

/* hide the top content-section decoration — not needed on subpages */
.pixarts-site-content::after {
    display: none
}

.pixarts-site-content.psc-news{
	padding-bottom: 180px;
}
/* pin the right sidebar to the top of the flex row */
.pixarts-site-content .c-right-side {
    align-self: flex-start
}

/* big-box-decoration-bottom belongs to the news panel on index.html only */
.pixarts-site-content .c-left-side::after {
    display: none
}

/* clip deco-square corners that protrude below the account panel */
.pixarts-site-content .c-left-side {
    overflow: hidden
}

.subpage-hero-label {
    font-family: 'TrajanProRegular', serif;
    color: #e0be9c;
    font-size: 11px;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    opacity: 0.8
}

.subpage-hero-title {
    font-family: 'TrajanProBold', serif;
    font-size: 38px;
    color: #ffefeb;
    text-shadow: 0px 2px 20px rgba(130, 91, 72, 0.7),
                 0px 0px 60px rgba(130, 91, 72, 0.25);
    letter-spacing: 8px;
    text-transform: uppercase
}

.subpage-hero-deco {
    margin-top: 20px;
    width: 280px;
    pointer-events: none;
    opacity: 0.6
}

/* =================== ACCOUNT PANEL WRAP =================== */
.acc-panel-wrap {
    width: 913px;
    max-width: 915px;
    background-image: url(../img/main-box-bg.png);
    background-repeat: repeat;
    background-size: auto;
    position: relative;
    padding: 1px;
    display: flex;
    margin-bottom: 0
}

.acc-panel-wrap .inner-holder {
    position: relative;
    border: 1px solid #2A1C1C;
    width: 911px
}

/* decorations auto-positioned */
.acc-panel-wrap .ds-1 { left: -2px; top: -2px }
.acc-panel-wrap .ds-2 { top: -2px; right: -2px }
.acc-panel-wrap .ds-3 { bottom: -2px; left: -2px }
.acc-panel-wrap .ds-4 { bottom: -2px; right: -2px }

/* =================== ACCOUNT NAV TABS =================== */
.acc-navbar {
    height: 55px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    position: relative
}

.acc-navbar::after {
    background-color: #2A1C1C;
    height: 1px;
    width: calc(100% - 60px);
    bottom: 0;
    left: 30px;
    content: '';
    position: absolute
}

.acc-navbar .acc-page-title {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffefeb;
    margin-right: 30px;
    white-space: nowrap
}

.acc-navbar .acc-tab-btn {
    padding: 0 22px;
    position: relative;
    height: 55px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: 'TrajanProRegular';
    color: #d5c4c4;
    font-size: 11px;
    transition: color 0.2s;
    white-space: nowrap
}

.acc-navbar .acc-tab-btn::before {
    height: 10px;
    width: 1px;
    content: '';
    position: absolute;
    background-color: #2A1C1C;
    left: 0;
    top: 50%;
    transform: translateY(-50%)
}

.acc-navbar .acc-tab-btn:hover {
    color: #fff
}

.acc-navbar .acc-tab-btn::after {
    opacity: 0;
    content: '';
    position: absolute;
    background-color: #e19f67;
    box-shadow: 0px -3px 15px 0px rgba(238, 183, 110, 0.35);
    width: calc(100% - 44px);
    height: 1px;
    bottom: 0;
    z-index: 1;
    left: 22px;
    transition: opacity 0.2s
}

.acc-navbar .acc-tab-btn.active {
    color: #fabc86
}

.acc-navbar .acc-tab-btn.active::after,
.acc-navbar .acc-tab-btn:hover::after {
    opacity: 1
}

/* =================== TAB CONTENT =================== */
.acc-tab-content {
    display: none;
    padding: 28px 30px 30px
}

.acc-tab-content.active {
    display: block
}

.acc-section-title {
    font-size: 10px;
    font-family: 'TrajanProRegular';
    color: #e0be9c;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #2A1C1C
}

.acc-separator {
    height: 1px;
    background-color: #2A1C1C;
    margin: 22px 0
}

/* =================== OVERVIEW TAB =================== */
.acc-overview-stats {
    display: flex;
    gap: 10px;
    margin-bottom: 22px
}

.acc-stat-block {
    flex: 1;
    background-color: #1A0F11;
    border: 1px solid #2A1C1C;
    padding: 16px 18px;
    position: relative
}

.acc-stat-block .ds-1 { left: -2px; top: -2px }
.acc-stat-block .ds-2 { top: -2px; right: -2px }
.acc-stat-block .ds-3 { bottom: -2px; left: -2px }
.acc-stat-block .ds-4 { bottom: -2px; right: -2px }

.acc-stat-block .s-lbl {
    font-size: 9px;
    color: #6e4948;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
    display: block
}

.acc-stat-block .s-val {
    font-family: 'TrajanProBold';
    font-size: 22px;
    color: #ffefeb;
    display: block
}

.acc-stat-block .s-val.gold {
    color: #fabc86
}

/* character list */
.acc-char-card {
    background-color: #1A0F11;
    border: 1px solid #2A1C1C;
    position: relative;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 8px;
    transition: 0.2s
}

.acc-char-card:last-child {
    margin-bottom: 0
}

.acc-char-card:hover {
    filter: brightness(115%)
}

.acc-char-card .ds-1 { left: -2px; top: -2px }
.acc-char-card .ds-2 { top: -2px; right: -2px }
.acc-char-card .ds-3 { bottom: -2px; left: -2px }
.acc-char-card .ds-4 { bottom: -2px; right: -2px }

.acc-char-card .char-avatar {
    position: relative;
    flex-shrink: 0
}

.acc-char-card .char-avatar::after {
    background-image: url(../img/avatar-holder.png);
    position: absolute;
    left: -3px;
    top: -3px;
    height: 57px;
    content: '';
    width: 65px
}

.acc-char-card .char-avatar img {
    position: relative;
    z-index: 1
}

.acc-char-card .char-info {
    display: flex;
    flex-direction: column;
    gap: 4px
}

.acc-char-card .char-name {
    font-family: 'TrajanProBold';
    font-size: 14px;
    color: #ffefeb
}

.acc-char-card .char-meta {
    font-size: 11px;
    color: #96847a
}

.acc-char-card .char-meta span {
    color: #fabc86
}

.acc-char-card .char-actions {
    margin-left: auto;
    display: flex;
    gap: 8px;
    align-items: center
}

.char-kingdom-badge {
    font-size: 10px;
    font-family: 'TrajanProRegular';
    padding: 4px 14px;
    border: 1px solid
}

.char-kingdom-badge.k-blue { color: #6ea3d6; border-color: #3a5a7a; background: rgba(62,100,140,0.15) }
.char-kingdom-badge.k-red  { color: #d66e6e; border-color: #7a3a3a; background: rgba(140,62,62,0.15) }
.char-kingdom-badge.k-gold { color: #d6b96e; border-color: #7a6a3a; background: rgba(140,120,62,0.15) }

/* =================== ITEM SHOP TAB =================== */
.acc-shop-balance {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: #1A0F11;
    border: 1px solid #2A1C1C;
    padding: 20px 24px;
    margin-bottom: 22px;
    position: relative
}

.acc-shop-balance .ds-1 { left: -2px; top: -2px }
.acc-shop-balance .ds-2 { top: -2px; right: -2px }
.acc-shop-balance .ds-3 { bottom: -2px; left: -2px }
.acc-shop-balance .ds-4 { bottom: -2px; right: -2px }

.acc-shop-balance .s-lbl {
    font-size: 9px;
    color: #6e4948;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    display: block
}

.acc-shop-balance .coins {
    font-family: 'TrajanProBold';
    font-size: 28px;
    color: #fabc86
}

.acc-shop-balance .btn-small-dark {
    margin-left: auto
}

.acc-shop-history {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.acc-shop-item {
    width: calc(33.33% - 8px);
    background-color: #1A0F11;
    border: 1px solid #2A1C1C;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: 0.2s;
    box-sizing: border-box
}

.acc-shop-item:hover {
    filter: brightness(115%)
}

.acc-shop-item .item-img {
    width: 42px;
    height: 42px;
    background-color: #100808;
    border: 1px solid #2A1C1C;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px
}

.acc-shop-item .item-info .item-name {
    font-size: 12px;
    color: #ffefeb;
    font-weight: 600;
    margin-bottom: 3px
}

.acc-shop-item .item-info .item-date {
    font-size: 10px;
    color: #6e4948
}

.acc-shop-item .item-cost {
    margin-left: auto;
    font-size: 13px;
    color: #fabc86;
    font-family: 'TrajanProRegular';
    white-space: nowrap
}

/* =================== SETTINGS TAB =================== */
.acc-settings-cols {
    display: flex;
    gap: 30px
}

.acc-settings-col {
    flex: 1
}

.acc-form-group {
    margin-bottom: 14px
}

.acc-form-group > label {
    display: block;
    font-size: 9px;
    color: #6e4948;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px
}

.acc-input-holder {
    height: 40px;
    display: block;
    background-color: #110A0A;
    border-bottom: 1px solid #2D1F17;
    position: relative
}

.acc-input-holder input {
    color: #d0baa4;
    height: 100%;
    padding-left: 16px;
    padding-right: 16px;
    width: calc(100% - 32px);
    font-size: 13px;
    font-family: 'Open Sans', sans-serif
}

.acc-input-holder ::-webkit-input-placeholder { color: #3d2828 }
.acc-input-holder ::placeholder { color: #3d2828 }

.acc-form-submit {
    margin-top: 18px;
    display: flex;
    gap: 10px
}

/* =================== SUPPORT TAB =================== */
.acc-support-grid {
    display: flex;
    gap: 30px
}

.acc-support-form {
    flex: 1
}

.acc-textarea-holder {
    background-color: #110A0A;
    border-bottom: 1px solid #2D1F17;
    width: 100%
}

.acc-textarea-holder textarea {
    color: #d0baa4;
    padding: 12px 16px;
    width: calc(100% - 32px);
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
    min-height: 110px;
    resize: vertical;
    background: transparent;
    border: none;
    outline: none
}

.acc-textarea-holder ::placeholder { color: #3d2828 }

.acc-support-info {
    width: 240px;
    flex-shrink: 0
}

.acc-support-note {
    background-color: #1A0F11;
    border: 1px solid #2A1C1C;
    padding: 18px 20px;
    font-size: 12px;
    color: #96847a;
    line-height: 20px
}

.acc-support-note strong {
    display: block;
    color: #e0be9c;
    margin-bottom: 10px;
    font-size: 11px;
    font-family: 'TrajanProRegular';
    letter-spacing: 1px;
    text-transform: uppercase
}

/* =================== ACCOUNT SIDEBAR WIDGET =================== */
.account-widget .head {
    height: 62px;
    position: relative
}

.account-widget .head::after {
    content: '';
    background-image: url(../img/user-panel-head.png);
    position: absolute;
    width: 366px;
    pointer-events: none;
    height: 79px;
    bottom: 0px;
    left: -13px
}

.account-widget .acc-body {
    background-image: url(../img/main-box-bg.png);
    background-repeat: repeat;
    background-size: auto;
    width: 340px;
    box-sizing: border-box;
    border: 1px solid #2A1C1C;
    position: relative
}

/* top-left + top-right corner dots */
.account-widget .acc-body::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 4px;
    pointer-events: none;
    z-index: 2;
    background-image: url(../img/decoration-square-4x4.png), url(../img/decoration-square-4x4.png);
    background-repeat: no-repeat, no-repeat;
    background-position: left center, right center;
    background-size: 4px 4px, 4px 4px
}

/* bottom-left + bottom-right corner dots */
.account-widget .acc-body::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: -2px;
    right: -2px;
    height: 4px;
    pointer-events: none;
    z-index: 2;
    background-image: url(../img/decoration-square-4x4.png), url(../img/decoration-square-4x4.png);
    background-repeat: no-repeat, no-repeat;
    background-position: left center, right center;
    background-size: 4px 4px, 4px 4px
}

.account-widget .acc-user-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 20px 16px;
    gap: 8px
}

.account-widget .acc-avatar-wrap {
    position: relative;
    width: 58px;
    height: 58px;
    margin-bottom: 2px
}

.account-widget .acc-avatar-wrap::after {
    background-image: url(../img/avatar-holder.png);
    position: absolute;
    left: -3px;
    top: -3px;
    height: 57px;
    content: '';
    width: 65px
}

.account-widget .acc-avatar-wrap img {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 58px
}

.account-widget .acc-username {
    font-family: 'TrajanProBold';
    font-size: 15px;
    color: #ffefeb;
    text-align: center
}

.account-widget .acc-kingdom-badge {
    font-size: 10px;
    font-family: 'TrajanProRegular';
    padding: 3px 14px;
    border: 1px solid;
    margin-bottom: 2px
}

.account-widget .acc-kingdom-badge.k-blue { color: #6ea3d6; border-color: #3a5a7a }
.account-widget .acc-kingdom-badge.k-red  { color: #d66e6e; border-color: #7a3a3a }
.account-widget .acc-kingdom-badge.k-gold { color: #d6b96e; border-color: #7a6a3a }

.account-widget .acc-stats-row {
    display: flex;
    width: calc(100%);
    border-top: 1px solid #2A1C1C;
    border-bottom: 1px solid #2A1C1C;
    margin: 6px 0 0
}

.account-widget .acc-mini-stat {
    flex: 1;
    text-align: center;
    padding: 12px 6px;
    border-right: 1px solid #2A1C1C
}

.account-widget .acc-mini-stat:last-child {
    border-right: none
}

.account-widget .acc-mini-stat .ms-val {
    font-family: 'TrajanProBold';
    font-size: 16px;
    color: #fabc86;
    display: block
}

.account-widget .acc-mini-stat .ms-lbl {
    font-size: 9px;
    color: #6e4948;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-top: 3px
}

.account-widget .acc-nav-links {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 20px 8px;
    display: flex;
    flex-direction: column;
    gap: 1px
}

.account-widget .acc-nav-link {
    display: flex;
    align-items: center;
    padding: 9px 12px;
    color: #d0baa4;
    font-size: 12px;
    border-bottom: 1px solid #1a1010;
    transition: 0.2s;
    cursor: pointer
}

.account-widget .acc-nav-link:hover {
    color: #ffefeb;
    background-color: #1A0F11
}

.account-widget .acc-nav-link.active {
    color: #fabc86
}

.account-widget .acc-nav-link::before {
    content: '';
    width: 4px;
    height: 4px;
    background-color: #825B48;
    margin-right: 10px;
    flex-shrink: 0
}

.account-widget .acc-nav-link.active::before {
    background-color: #fabc86
}

.account-widget .acc-logout-wrap {
    padding: 10px 20px 20px
}

.account-widget .acc-logout-wrap .btn-small-dark {
    width: 100%;
    color: #e28080;
    background-repeat: no-repeat;
    background-size: 100% 100%
}

/* =================== SHOP SUB-TABS =================== */
.shop-subtab-btns {
    display: flex;
    gap: 2px;
    margin-left: auto
}

.shop-stab {
    padding: 7px 20px;
    font-size: 11px;
    font-family: 'TrajanProRegular', serif;
    color: #8a7070;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap
}

.shop-stab i {
    margin-right: 5px
}

.shop-stab:hover {
    color: #d0baa4
}

.shop-stab.active {
    color: #fabc86;
    border-bottom-color: #e19f67
}

.shop-stab-content {
    display: none
}

.shop-stab-content.active {
    display: block
}

/* =================== SHOP CATEGORIES =================== */
.shop-categories {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 18px
}

.shop-cat {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    background-color: #110A0A;
    border: 1px solid #2A1C1C;
    color: #8a7070;
    font-size: 11px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background-color 0.2s
}

.shop-cat i {
    font-size: 12px
}

.shop-cat:hover {
    color: #d0baa4;
    border-color: #3d2828
}

.shop-cat.active {
    color: #fabc86;
    border-color: #6b4a2a;
    background-color: #1e1010
}

/* =================== SHOP ITEM GRID =================== */
.shop-items-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 18px
}

.shop-grid-item {
    background-color: #1A0F11;
    border: 1px solid #2A1C1C;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: filter 0.2s, border-color 0.2s;
    cursor: pointer;
    overflow: hidden
}

.shop-grid-item:hover {
    filter: brightness(115%);
    border-color: #3d2828
}

.shop-grid-item.sgi-featured {
    border-color: #6b4a2a
}

.sgi-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 9px;
    font-family: 'TrajanProRegular', serif;
    letter-spacing: 1px;
    padding: 3px 8px;
    text-transform: uppercase;
    z-index: 2
}

.sgi-badge.badge-hot {
    background-color: #8b2525;
    color: #ffcfc0;
    border: 1px solid #a03030
}

.sgi-badge.badge-new {
    background-color: #1e4d2a;
    color: #a0dbb0;
    border: 1px solid #2a6b38
}

.sgi-img {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #110A0A;
    border-bottom: 1px solid #2A1C1C;
    font-size: 38px;
    color: #fabc86;
    opacity: 0.7
}

.sgi-info {
    padding: 12px 14px
}

.sgi-name {
    font-size: 12px;
    color: #ffefeb;
    font-weight: 600;
    margin-bottom: 3px;
    line-height: 1.3
}

.sgi-cat {
    font-size: 10px;
    color: #6e4948;
    text-transform: uppercase;
    letter-spacing: 1px
}

.sgi-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px 12px;
    margin-top: auto
}

.sgi-price {
    font-family: 'TrajanProRegular', serif;
    font-size: 14px;
    color: #fabc86
}

.sgi-price i {
    font-size: 10px;
    margin-right: 4px;
    opacity: 0.8
}

.sgi-buy-btn {
    font-size: 10px;
    font-family: 'TrajanProRegular', serif;
    letter-spacing: 1px;
    padding: 5px 14px;
    background-color: #2e1a10;
    color: #e0be9c;
    border: 1px solid #5a3a22;
    cursor: pointer;
    transition: 0.2s;
    text-transform: uppercase
}

.sgi-buy-btn:hover {
    background-color: #3d2414;
    color: #fabc86
}

/* =================== SHOP PAGINATION =================== */
.shop-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 16px 0 12px
}

.shop-pagination .addon-left,
.shop-pagination .addon-right {
    width: 318px;
    height: 9px;
    display: block
}

.shop-pagination .dots {
    width: 16px;
    height: 4px;
    display: block;
    margin: 0 2px;
    opacity: 0.5
}

.shop-pagination .page {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #110A0A;
    border: 1px solid #2A1C1C;
    color: #8a7070;
    font-size: 12px;
    cursor: pointer;
    transition: 0.2s;
    font-family: 'Open Sans', sans-serif
}

.shop-pagination .page:hover {
    color: #d0baa4;
    border-color: #3d2828
}

.shop-pagination .page.active {
    background-color: #2e1a10;
    border-color: #5a3a22;
    color: #fabc86
}

/* =================== TOP UP AMOUNTS =================== */
.topup-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 22px
}

.topup-amt {
    background-color: #1A0F11;
    border: 1px solid #2A1C1C;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s, background-color 0.2s;
    text-align: center
}

.topup-amt:hover {
    border-color: #3d2828
}

.topup-amt.selected {
    border-color: #6b4a2a;
    background-color: #1e1010
}

.topup-amt.popular {
    border-color: #5a3a22
}

.topup-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    font-size: 9px;
    font-family: 'TrajanProRegular', serif;
    letter-spacing: 1px;
    padding: 3px 10px;
    text-transform: uppercase;
    background-color: #6b4a2a;
    color: #fabc86;
    border-bottom-left-radius: 1px
}

.ta-icon {
    font-size: 22px;
    color: #fabc86;
    margin-bottom: 4px;
    opacity: 0.9
}

.ta-coins {
    font-family: 'TrajanProBold', serif;
    font-size: 17px;
    color: #ffefeb
}

.ta-price {
    font-size: 12px;
    color: #8a7070
}

/* =================== PAYMENT METHODS =================== */
.payment-section-title {
    font-size: 9px;
    font-family: 'TrajanProRegular', serif;
    color: #6e4948;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px
}

.pay-method {
    flex: 1;
    min-width: 100px;
    background-color: #1A0F11;
    border: 1px solid #2A1C1C;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s
}

.pay-method:hover {
    border-color: #3d2828
}

.pay-method.active {
    border-color: #6b4a2a;
    background-color: #1e1010
}

.pay-method i {
    font-size: 24px;
    color: #d0baa4
}

.pay-method:hover i,
.pay-method.active i {
    color: #fabc86
}

.pay-method span {
    font-size: 10px;
    color: #8a7070;
    text-align: center
}

.pay-method.active span {
    color: #d0baa4
}

/* =================== TOPUP SUMMARY =================== */
.topup-summary {
    background-color: #110A0A;
    border: 1px solid #2A1C1C;
    padding: 18px 20px;
    margin-bottom: 18px
}

.ts-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    font-size: 12px;
    color: #8a7070;
    border-bottom: 1px solid #1a1010
}

.ts-row:last-child {
    border-bottom: none
}

.ts-row span:first-child {
    color: #6e4948
}

.ts-row .ts-val {
    color: #d0baa4
}

.ts-row.total {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid #2A1C1C;
    border-bottom: none
}

.ts-row.total span:first-child {
    font-family: 'TrajanProRegular', serif;
    font-size: 11px;
    color: #e0be9c;
    text-transform: uppercase;
    letter-spacing: 1px
}

.ts-row.total .ts-val {
    font-family: 'TrajanProBold', serif;
    font-size: 18px;
    color: #fabc86
}

/* =================== SHOP HISTORY LIST =================== */
.shop-history-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 18px
}

.sh-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: #1A0F11;
    border: 1px solid #2A1C1C;
    padding: 12px 16px;
    transition: filter 0.2s
}

.sh-row:hover {
    filter: brightness(115%)
}

.sh-row.topup-row {
    background-color: #0e1810;
    border-color: #1a2a1a
}

.sh-icon {
    width: 36px;
    height: 36px;
    background-color: #110A0A;
    border: 1px solid #2A1C1C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #8a7070;
    flex-shrink: 0
}

.sh-row.topup-row .sh-icon {
    background-color: #0a130a;
    border-color: #1e3020;
    color: #60a070
}

.sh-info {
    flex: 1;
    min-width: 0
}

.sh-name {
    font-size: 12px;
    color: #ffefeb;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px
}

.sh-date {
    font-size: 10px;
    color: #6e4948
}

.sh-cost {
    font-family: 'TrajanProRegular', serif;
    font-size: 14px;
    color: #d47a5a;
    white-space: nowrap;
    flex-shrink: 0
}

.sh-cost.topup {
    color: #60c070
}

/* ================================================================
   REGISTER PAGE
   ================================================================ */

.reg-wrap {
    padding: 24px 30px 30px
}

.reg-section-title {
    font-size: 9px;
    font-family: TrajanProRegular, serif;
    color: #e0be9c;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #2A1C1C
}

/* kingdom selector */
.reg-kingdoms {
    display: flex;
    gap: 8px;
    margin-bottom: 24px
}

.reg-kingdom {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1A0F11;
    border: 1px solid #2A1C1C;
    padding: 14px 16px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s
}

.reg-kingdom:hover {
    border-color: #4a3020;
    background: #1c1012
}

.reg-kingdom.active {
    border-color: #6b4a2a;
    background: #1e1010
}

.rk-emblem {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: TrajanProBold, serif;
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0
}

.rk-blue {
    background: rgba(62,100,140,0.3);
    color: #6ea3d6;
    border: 1px solid #3a5a7a
}

.rk-red {
    background: rgba(140,62,62,0.3);
    color: #d66e6e;
    border: 1px solid #7a3a3a
}

.rk-gold {
    background: rgba(140,120,62,0.3);
    color: #d6b96e;
    border: 1px solid #7a6a3a
}

.rk-info {
    display: flex;
    flex-direction: column;
    gap: 3px
}

.rk-name {
    font-family: TrajanProRegular, serif;
    font-size: 11px;
    color: #c8a07a;
    letter-spacing: 1px
}

.rk-desc {
    font-size: 10px;
    color: #6e4948;
    line-height: 1.4
}

.rk-check {
    margin-left: auto;
    opacity: 0;
    color: #fabc86;
    font-size: 18px;
    font-weight: bold;
    transition: opacity 0.2s
}

.reg-kingdom.active .rk-check {
    opacity: 1
}

/* form columns */
.reg-form-cols {
    display: flex;
    gap: 30px;
    margin-bottom: 22px
}

.reg-col {
    flex: 1
}

.reg-field-group {
    margin-bottom: 14px
}

.reg-field-group > label {
    display: block;
    font-size: 9px;
    color: #6e4948;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px
}

.reg-input-holder {
    height: 40px;
    display: flex;
    align-items: center;
    background: #110A0A;
    border-bottom: 1px solid #2D1F17;
    padding: 0 14px;
    gap: 10px;
    transition: border-color 0.2s
}

.reg-input-holder:focus-within {
    border-bottom-color: #6b4a2a
}

.reg-input-holder input,
.reg-input-holder select {
    color: #d0baa4;
    font-size: 13px;
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    font-family: 'Open Sans', sans-serif
}

.reg-input-holder input::placeholder {
    color: #3a2020
}

.reg-select {
    background: #110A0A;
    color: #d0baa4;
    font-size: 13px;
    border: none;
    outline: none;
    width: 100%;
    padding: 0 4px;
    font-family: 'Open Sans', sans-serif
}

.reg-select option {
    background: #150B0B
}

.reg-dob-row {
    display: flex;
    gap: 8px
}

.reg-dob-row .reg-input-holder {
    flex: 1;
    padding: 0 10px
}

.reg-hint {
    font-size: 10px;
    color: #6e4948;
    display: block;
    margin-top: 4px;
    line-height: 1.4
}

.reg-strength-bar {
    height: 3px;
    background: #1a1010;
    margin-top: 6px;
    border-radius: 2px;
    overflow: hidden
}

.rsb-fill {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: width 0.3s ease, background-color 0.3s ease
}

/* agree + submit */
.reg-agree-row {
    padding: 16px 0;
    border-top: 1px solid #2A1C1C;
    margin-top: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 11px;
    color: #7a5050;
    line-height: 1.5
}

.reg-agree-row input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #fabc86
}

.reg-agree-row a {
    color: #c8a07a;
    text-decoration: none
}

.reg-agree-row a:hover {
    color: #fabc86
}

.reg-submit-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid #2A1C1C
}

.reg-login-link {
    font-size: 11px;
    color: #7a5050
}

.reg-login-link a {
    color: #c8a07a;
    text-decoration: none
}

.reg-login-link a:hover {
    color: #fabc86
}

.reg-submit-btn {
    padding: 0 30px;
    height: 34px;
    background-repeat: no-repeat;
    background-size: 100% 100%
}

/* ================================================================
   RANKINGS PAGE
   ================================================================ */

.rank-panel-wrap {
    width: 100%;
    background: #0f0808;
    border: 1px solid #2A1C1C;
    margin-bottom: 40px;
    position: relative
}

.rank-panel-wrap .inner-holder {
    position: relative
}

.rank-panel-wrap .deco-square1 {
    position: absolute;
    width: 4px;
    height: 4px;
    z-index: 2
}

.rank-panel-wrap .ds-1 { top: -2px; left: -2px }
.rank-panel-wrap .ds-2 { top: -2px; right: -2px }
.rank-panel-wrap .ds-3 { bottom: -2px; left: -2px }
.rank-panel-wrap .ds-4 { bottom: -2px; right: -2px }

/* main tab nav */
.rank-main-navbar {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #2A1C1C;
    background: #0a0505;
    padding: 0 10px;
    gap: 4px
}

.rank-main-navbar .deco-line {
    height: 12px;
    margin-right: 8px;
    opacity: 0.5
}

.rmt-btn {
    padding: 0 22px;
    height: 50px;
    display: flex;
    align-items: center;
    font-family: TrajanProRegular, serif;
    font-size: 10px;
    letter-spacing: 2px;
    color: #7a5858;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    margin-bottom: -1px
}

.rmt-btn:hover {
    color: #c49060
}

.rmt-btn.active {
    color: #fabc86;
    border-bottom-color: #fabc86
}

.rank-last-updated {
    margin-left: auto;
    font-size: 10px;
    color: #4a2e2e;
    padding-right: 16px
}

.rank-last-updated span {
    color: #6e4948
}

/* tab content */
.rank-tab-content {
    display: none
}

.rank-tab-content.active {
    display: block
}

/* filter bar */
.rank-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: #0c0606;
    border-bottom: 1px solid #2A1C1C
}

.rank-kingdom-filters {
    display: flex;
    gap: 4px
}

.rkf-btn {
    padding: 0 14px;
    height: 28px;
    display: flex;
    align-items: center;
    font-size: 9px;
    letter-spacing: 2px;
    font-family: TrajanProRegular, serif;
    color: #7a5858;
    background: #110808;
    border: 1px solid #2A1C1C;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s, background 0.15s
}

.rkf-btn:hover {
    color: #c49060;
    border-color: #4a3020
}

.rkf-btn.active {
    color: #fabc86;
    border-color: #6b4a2a;
    background: #1a0e0e
}

.rkf-btn.k-blue-btn { color: #6ea3d6 }
.rkf-btn.k-blue-btn.active { border-color: #3a5a7a; background: #0e1520 }
.rkf-btn.k-red-btn { color: #d66e6e }
.rkf-btn.k-red-btn.active { border-color: #7a3a3a; background: #1e0d0d }
.rkf-btn.k-gold-btn { color: #d6b96e }
.rkf-btn.k-gold-btn.active { border-color: #7a6a3a; background: #1a1608 }

.rank-search-holder {
    margin-left: auto;
    display: flex;
    align-items: center;
    background: #110808;
    border: 1px solid #2A1C1C;
    height: 28px;
    padding: 0 12px;
    min-width: 200px
}

.rank-search {
    background: transparent;
    border: none;
    outline: none;
    color: #d0baa4;
    font-size: 11px;
    width: 100%;
    font-family: 'Open Sans', sans-serif
}

.rank-search::placeholder {
    color: #3a2020
}

.rank-season-badge {
    margin-left: auto;
    font-size: 9px;
    font-family: TrajanProRegular, serif;
    letter-spacing: 2px;
    color: #6b4a2a;
    background: #150a0a;
    border: 1px solid #3a2010;
    padding: 0 12px;
    height: 28px;
    display: flex;
    align-items: center
}

.rank-season-badge + .rank-search-holder {
    margin-left: 0
}

/* table */
.rank-table-full {
    width: 100%;
    border-collapse: collapse
}

.rank-table-full thead tr {
    background: #0c0505;
    border-bottom: 1px solid #2A1C1C
}

.rank-table-full thead th {
    font-size: 9px;
    font-family: TrajanProRegular, serif;
    letter-spacing: 2px;
    color: #6e4948;
    text-transform: uppercase;
    padding: 14px 16px;
    text-align: left;
    white-space: nowrap;
    user-select: none
}

.rank-table-full thead th.sortable:hover {
    color: #c49060;
    cursor: pointer
}

.rank-table-full thead th.asc,
.rank-table-full thead th.desc {
    color: #fabc86
}

.sort-icon {
    font-style: normal;
    margin-left: 4px;
    font-size: 10px;
    opacity: 0.7
}

.rank-table-full tbody tr {
    border-bottom: 1px solid #1a0f0f;
    transition: background 0.1s
}

.rank-table-full tbody tr:hover {
    background: #150b0b
}

.rank-table-full tbody tr:last-child {
    border-bottom: none
}

.rank-table-full tbody td {
    padding: 12px 16px;
    font-size: 12px;
    color: #b08060;
    vertical-align: middle
}

/* column widths */
.rt-no { width: 50px; text-align: center; color: #5a3a3a !important }
.rt-avatar { width: 44px; padding: 8px 6px 8px 16px !important }
.rt-avatar img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; display: block; background: #1a0f0f }
.rt-level, .rt-glvl, .rt-members, .rt-kills, .rt-deaths { width: 80px }
.rt-kd, .rt-wr { width: 100px }
.rt-pvp { width: 100px }
.rt-streak { width: 100px }
.rt-online { width: 110px; color: #5a3a3a !important; font-size: 11px !important }

.gold-text {
    color: #fabc86 !important
}

/* rank medals */
.rank-medal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-family: TrajanProBold, serif;
    font-size: 11px;
    font-weight: bold
}

.gold-medal {
    background: linear-gradient(135deg, #f5d380 0%, #c8962a 100%);
    color: #5a3000;
    box-shadow: 0 0 8px rgba(200,150,42,0.4)
}

.silver-medal {
    background: linear-gradient(135deg, #d8d8d8 0%, #9a9a9a 100%);
    color: #333;
    box-shadow: 0 0 8px rgba(160,160,160,0.3)
}

.bronze-medal {
    background: linear-gradient(135deg, #e0a060 0%, #a06030 100%);
    color: #3a1800;
    box-shadow: 0 0 8px rgba(160,96,48,0.3)
}

/* kingdom badges */
.k-badge {
    display: inline-block;
    font-size: 9px;
    font-family: TrajanProRegular, serif;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 2px
}

.k-badge.k-blue {
    background: rgba(62,100,140,0.25);
    color: #6ea3d6;
    border: 1px solid rgba(62,100,140,0.4)
}

.k-badge.k-red {
    background: rgba(140,62,62,0.25);
    color: #d66e6e;
    border: 1px solid rgba(140,62,62,0.4)
}

.k-badge.k-gold {
    background: rgba(140,120,62,0.25);
    color: #d6b96e;
    border: 1px solid rgba(140,120,62,0.4)
}

/* class badge */
.class-badge {
    display: inline-block;
    font-size: 10px;
    color: #a08060;
    background: #130909;
    border: 1px solid #2A1C1C;
    padding: 2px 8px
}

/* K/D coloring */
.kd-good { color: #60c070 }
.kd-ok   { color: #c8a070 }
.kd-low  { color: #c06070 }

/* Win Rate bar */
.wr-bar-wrap {
    display: inline-block;
    width: 50px;
    height: 4px;
    background: #1a0f0f;
    border-radius: 2px;
    overflow: hidden;
    vertical-align: middle;
    margin-right: 6px
}

.wr-bar {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #c06060 0%, #c0a040 50%, #60c070 100%);
    border-radius: 2px
}

/* rankings pagination */
.rank-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 16px 0 12px
}

.rank-pagination .addon-left,
.rank-pagination .addon-right {
    width: 318px;
    height: 9px;
    display: block
}

.rank-pagination .dots {
    width: 16px;
    height: 4px;
    display: block;
    margin: 0 2px;
    opacity: 0.5
}

.rank-pagination .page {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #110A0A;
    border: 1px solid #2A1C1C;
    color: #8a7070;
    font-size: 12px;
    cursor: pointer;
    transition: 0.2s;
    font-family: 'Open Sans', sans-serif
}

.rank-pagination .page:hover {
    color: #d0baa4;
    border-color: #3d2828
}

.rank-pagination .page.active {
    background-color: #2e1a10;
    border-color: #5a3a22;
    color: #fabc86
}

/* ================================================================
   DOWNLOAD PAGE
   ================================================================ */

.dl-cards-row {
    display: flex;
    gap: 2px;
    padding: 24px 24px 0
}

.dl-card {
    flex: 1;
    background-color: #120A0B;
    border: 1px solid #2A1C1C;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 24px 24px;
    gap: 18px;
    position: relative;
    transition: border-color 0.2s
}

.dl-card:hover { border-color: #3d2828 }

.dl-card-main {
    background-color: #160D0E;
    border-color: #3d2828
}

.dl-card-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center
}

.dl-card-icon {
    font-size: 28px;
    color: #fabc86;
    line-height: 1
}

.dl-icon-patch { color: #8ab4d6 }
.dl-icon-launcher { color: #a08060 }

.dl-card-title {
    font-family: 'TrajanProBold', serif;
    font-size: 14px;
    color: #ffefeb;
    letter-spacing: 2px
}

.dl-card-sub {
    font-size: 11px;
    color: #6e5048
}

.dl-card-meta {
    width: 100%;
    border-top: 1px solid #2A1C1C;
    border-bottom: 1px solid #2A1C1C;
    padding: 10px 0
}

.dl-meta-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 11px
}

.dl-meta-key { color: #6e5048 }
.dl-meta-val { color: #d0baa4 }

.dl-btn {
    width: 100%;
    height: 34px;
    justify-content: center;
    background-repeat: no-repeat;
    background-size: 100% 100%
}

.dl-mirrors {
    display: flex;
    gap: 6px;
    font-size: 10px;
    color: #6e5048
}

.dl-mirrors a {
    color: #a08060;
    text-decoration: none
}

.dl-mirrors a:hover { color: #fabc86 }

.dl-section-divider {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px 24px 0;
    color: #8a7060;
    font-family: 'TrajanProRegular', serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase
}

.dl-section-divider img {
    flex: 1;
    height: 11px;
    opacity: 0.4
}

.dl-req-row {
    display: flex;
    gap: 0;
    padding: 20px 24px 0
}

.dl-req-col { flex: 1 }

.dl-req-separator {
    width: 1px;
    background-color: #2A1C1C;
    margin: 0 28px
}

.dl-req-heading {
    font-family: 'TrajanProRegular', serif;
    font-size: 11px;
    letter-spacing: 2px;
    color: #e0be9c;
    margin-bottom: 12px;
    text-transform: uppercase
}

.dl-req-table { width: 100%; border-collapse: collapse }

.dl-req-table tr { border-bottom: 1px solid #1a1010 }

.dl-req-table td {
    padding: 7px 4px;
    font-size: 11px;
    vertical-align: top
}

.dl-req-table .dk {
    color: #6e5048;
    width: 70px;
    font-weight: 600
}

.dl-req-table .dv { color: #d0baa4 }

.dl-steps-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 24px 0
}

.dl-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 16px 20px;
    background-color: #120A0B;
    border: 1px solid #1e1212;
    transition: border-color 0.2s
}

.dl-step:hover { border-color: #2A1C1C }

.dl-step-num {
    font-family: 'TrajanProBold', serif;
    font-size: 22px;
    color: #3d2828;
    min-width: 36px;
    line-height: 1.2
}

.dl-step-body { display: flex; flex-direction: column; gap: 4px }

.dl-step-title {
    font-size: 13px;
    font-weight: 700;
    color: #e0be9c
}

.dl-step-desc {
    font-size: 12px;
    color: #7a6060;
    line-height: 1.7
}

.dl-step-desc code {
    background-color: #1a1010;
    border: 1px solid #2A1C1C;
    padding: 0 5px;
    color: #fabc86;
    font-family: monospace;
    font-size: 11px
}

.dl-notice {
    margin: 20px 24px 24px;
    padding: 14px 18px;
    background-color: #150e0e;
    border-left: 2px solid #5a3a22;
    font-size: 11px;
    color: #8a7060;
    line-height: 1.8
}

.dl-notice strong { color: #d0baa4 }

.dl-notice a {
    color: #fabc86;
    margin-left: 6px;
    text-decoration: none
}

/* ================================================================
   NEWS GRID PAGE
   ================================================================ */

.ng-filter-btn {
    font-family: 'TrajanProRegular', serif;
    font-size: 12px;
    color: #8a7070;
    padding: 0 18px;
    height: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
    letter-spacing: 1px
}

.ng-filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background-color: #e19f67;
    box-shadow: 0 -3px 15px 0 rgba(238,183,110,0.35);
    opacity: 0;
    transition: opacity 0.2s
}

.ng-filter-btn:hover,
.ng-filter-btn.active { color: #ffefeb }

.ng-filter-btn.active::after { opacity: 1 }

.ng-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 20px 24px 0
}

.ng-card {
    display: flex;
    flex-direction: column;
    background-color: #120A0B;
    border: 1px solid #1e1212;
    text-decoration: none;
    transition: border-color 0.2s, background-color 0.2s;
    position: relative
}

.ng-card:hover {
    border-color: #3d2828;
    background-color: #160D0E
}

.ng-card-img {
    position: relative;
    overflow: hidden;
    height: 160px
}

.ng-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: filter 0.2s
}

.ng-card:hover .ng-card-img img { filter: brightness(1.1) }

.ng-card-bg {
    width: 100%;
    height: 100%;
    background-image: url(../img/hero-bg.jpg);
    background-size: cover;
    background-position: center
}

.ng-card-cat {
    position: absolute;
    top: 10px;
    left: 12px;
    font-family: 'TrajanProRegular', serif;
    font-size: 9px;
    letter-spacing: 2px;
    padding: 3px 8px;
    z-index: 1
}

.ng-card-cat.update  { background-color: #2a1a10; color: #fabc86; border: 1px solid #5a3a22 }
.ng-card-cat.event   { background-color: #102a1a; color: #86d4a0; border: 1px solid #225a3a }
.ng-card-cat.maint   { background-color: #101828; color: #86b4d4; border: 1px solid #22405a }
.ng-card-cat.community { background-color: #241028; color: #c486d4; border: 1px solid #4a225a }

.ng-card-body {
    padding: 16px 18px 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px
}

.ng-card-date {
    font-size: 10px;
    color: #6e5048;
    letter-spacing: 1px
}

.ng-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #e0be9c;
    line-height: 1.5
}

.ng-card-desc {
    font-size: 11px;
    color: #7a6060;
    line-height: 1.7
}

.ng-card-footer {
    padding: 10px 18px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #1a1010
}

.ng-card-author {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #6e5048
}

.ng-card-author img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover
}

.ng-card-read {
    font-size: 10px;
    color: #5a3a22;
    transition: color 0.2s
}

.ng-card:hover .ng-card-read { color: #fabc86 }

/* ================================================================
   NEWS SINGLE PAGE
   ================================================================ */

.art-panel {
    flex: 1;
    background-image: url(../img/main-box-bg.png);
    background-repeat: repeat;
    background-size: auto;
    border: 1px solid #2A1C1C;
    min-width: 0
}

.art-sidebar {
    width: 280px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-self: flex-start
}

.art-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 30px;
    border-bottom: 1px solid #1a1010
}

.art-back {
    font-size: 11px;
    color: #8a7060;
    text-decoration: none;
    transition: color 0.2s
}

.art-back:hover { color: #fabc86 }

.art-meta-info {
    display: flex;
    align-items: center;
    gap: 12px
}

.art-author {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #8a7060
}

.art-author img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover
}

.art-date {
    font-size: 10px;
    color: #6e5048
}

.art-hero-img {
    width: 100%;
    height: 280px;
    overflow: hidden
}

.art-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block
}

.art-body {
    padding: 28px 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 0
}

.art-h2 {
    font-family: 'TrajanProBold', serif;
    font-size: 18px;
    color: #ffefeb;
    letter-spacing: 2px;
    margin: 0 0 12px;
    line-height: 1.4
}

.art-h3 {
    font-family: 'TrajanProRegular', serif;
    font-size: 13px;
    color: #e0be9c;
    letter-spacing: 2px;
    margin: 20px 0 8px
}

.art-lead {
    font-size: 13px;
    color: #a09080;
    line-height: 1.9;
    margin: 0 0 8px
}

.art-body p {
    font-size: 12px;
    color: #7a6a60;
    line-height: 1.9;
    margin: 0 0 8px
}

.art-hl { color: #fabc86 }

.art-deco-line {
    width: 220px;
    height: 11px;
    opacity: 0.35;
    margin: 8px 0
}

.art-img-row {
    display: flex;
    gap: 6px;
    margin: 12px 0;
    overflow: hidden
}

.art-img-row img {
    flex: 1 1 0;
    min-width: 0;
    max-width: 50%;
    height: 140px;
    object-fit: cover;
    display: block;
    border: 1px solid #2A1C1C
}

.art-img-frame {
    flex: 1 1 0;
    min-width: 0;
    height: 140px;
    overflow: hidden;
    border: 1px solid #2A1C1C
}

.art-list {
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 8px 0
}

.art-list li {
    font-size: 12px;
    color: #7a6a60;
    line-height: 1.7;
    padding-left: 14px;
    position: relative
}

.art-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    background-color: #825B48
}

.art-changelog {
    background-color: #110A0A;
    border: 1px solid #1e1212;
    padding: 4px 0;
    margin: 8px 0
}

.art-cl-entry {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    font-size: 11px;
    color: #8a7a70;
    border-bottom: 1px solid #1a1010
}

.art-cl-entry:last-child { border-bottom: none }

.art-cl-tag {
    font-family: 'TrajanProRegular', serif;
    font-size: 8px;
    letter-spacing: 1px;
    padding: 2px 6px;
    min-width: 52px;
    text-align: center
}

.tag-add    { background-color: #0e1e10; color: #6ab888; border: 1px solid #1e3a20 }
.tag-fix    { background-color: #0e1624; color: #6a96b8; border: 1px solid #1e3050 }
.tag-change { background-color: #1e1a0e; color: #c8b060; border: 1px solid #3a3010 }
.tag-remove { background-color: #280e0e; color: #c86a6a; border: 1px solid #5a1a1a }

.art-notice {
    margin-top: 16px;
    padding: 12px 16px;
    background-color: #150e0e;
    border-left: 2px solid #5a3a22;
    font-size: 11px;
    color: #8a7060;
    line-height: 1.8
}

.art-notice strong { color: #d0baa4 }

.art-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 30px;
    border-top: 1px solid #1a1010
}

.art-nav-btns {
    display: flex;
    gap: 4px
}

/* Sidebar widgets */
.art-side-widget {
    background-image: url(../img/main-box-bg.png);
    background-repeat: repeat;
    background-size: auto;
    border: 1px solid #2A1C1C
}

.art-side-head {
    font-family: 'TrajanProRegular', serif;
    font-size: 11px;
    letter-spacing: 2px;
    color: #e0be9c;
    padding: 14px 18px;
    border-bottom: 1px solid #2A1C1C;
    text-transform: uppercase
}

.art-side-links {
    padding: 6px 0
}

.art-side-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    font-size: 11px;
    color: #8a7060;
    text-decoration: none;
    border-bottom: 1px solid #1a1010;
    transition: color 0.2s, background-color 0.2s;
    line-height: 1.5
}

.art-side-link:last-child { border-bottom: none }

.art-side-link:hover { color: #d0baa4; background-color: #160D0E }

.art-side-link.active { color: #fabc86 }

/* ================================================================
   PRESENTATION PAGE
   ================================================================ */

.pres-sidebar {
    width: 220px;
    min-width: 220px;
    border-right: 1px solid #2A1C1C;
    display: flex;
    flex-direction: column;
    flex-shrink: 0
}

.pres-sidebar-head {
    height: 48px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid #2A1C1C;
    font-family: 'TrajanProRegular', serif;
    font-size: 10px;
    letter-spacing: 3px;
    color: #6e5048;
    text-transform: uppercase
}

.pres-nav {
    padding: 10px 0;
    display: flex;
    flex-direction: column
}

.pres-nav-section {
    font-size: 9px;
    letter-spacing: 3px;
    color: #4a3030;
    text-transform: uppercase;
    padding: 14px 20px 4px;
    font-family: 'TrajanProRegular', serif
}

.pres-nav-link {
    display: flex;
    align-items: center;
    padding: 8px 20px;
    font-size: 12px;
    color: #8a7060;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s, background-color 0.2s;
    position: relative
}

.pres-nav-link::before {
    content: '';
    width: 4px;
    height: 4px;
    background-color: #3d2828;
    margin-right: 10px;
    flex-shrink: 0;
    transition: background-color 0.2s
}

.pres-nav-link:hover {
    color: #d0baa4;
    background-color: #120A0B
}

.pres-nav-link.active {
    color: #fabc86;
    border-left-color: #5a3a22;
    background-color: #120A0B
}

.pres-nav-link.active::before { background-color: #fabc86 }

.pres-content {
	color:  #7a6a60;
    flex: 1;
    min-width: 0;
    padding: 32px 36px
}

.pres-section { display: none }
.pres-section.active { display: block }

.pres-content-head {
    margin-bottom: 20px
}

.pres-breadcrumb {
    font-size: 10px;
    letter-spacing: 3px;
    color: #6e5048;
    text-transform: uppercase;
    margin-bottom: 6px;
    font-family: 'TrajanProRegular', serif
}

.pres-title {
    font-family: 'TrajanProBold', serif;
    font-size: 22px;
    color: #ffefeb;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0 0 8px
}

.pres-stat-row {
    display: flex;
    gap: 2px;
    margin: 20px 0
}

.pres-stat {
    flex: 1;
    background-color: #120A0B;
    border: 1px solid #2A1C1C;
    padding: 16px;
    text-align: center
}

.pres-stat-val {
    font-family: 'TrajanProBold', serif;
    font-size: 20px;
    color: #fabc86;
    display: block
}

.pres-stat-lbl {
    font-size: 9px;
    color: #6e5048;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-top: 4px
}

.pres-highlight-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background-color: #150d0e;
    border: 1px solid #3d2828;
    border-left: 3px solid #5a3a22;
    padding: 14px 18px;
    margin: 18px 0
}

.phb-icon {
    font-size: 20px;
    color: #fabc86;
    flex-shrink: 0;
    line-height: 1.2
}

.phb-title {
    font-size: 12px;
    font-weight: 700;
    color: #e0be9c;
    margin-bottom: 4px
}

.phb-desc {
    font-size: 11px;
    color: #7a6060;
    line-height: 1.8
}

.pres-kingdom-row {
    display: flex;
    gap: 2px;
    margin: 16px 0
}

.pres-kingdom-card {
    flex: 1;
    padding: 20px 16px;
    border: 1px solid #2A1C1C;
    display: flex;
    flex-direction: column;
    gap: 6px
}

.pres-kingdom-card.k-blue { border-top: 2px solid #3a5a7a }
.pres-kingdom-card.k-red  { border-top: 2px solid #7a3a3a }
.pres-kingdom-card.k-gold { border-top: 2px solid #7a6a3a }

.pkc-name {
    font-family: 'TrajanProBold', serif;
    font-size: 13px;
    letter-spacing: 2px
}

.k-blue .pkc-name { color: #6ea3d6 }
.k-red  .pkc-name { color: #d66e6e }
.k-gold .pkc-name { color: #d6b96e }

.pkc-motto {
    font-size: 10px;
    color: #6e5048;
    font-style: italic
}

.pkc-desc {
    font-size: 11px;
    color: #7a6a60;
    line-height: 1.7;
    margin-top: 4px
}

.pres-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin: 16px 0
}

.pres-feature {
    background-color: #120A0B;
    border: 1px solid #1e1212;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: border-color 0.2s
}

.pres-feature:hover { border-color: #2A1C1C }

.pf-icon {
    font-size: 20px;
    line-height: 1
}

.pf-title {
    font-size: 12px;
    font-weight: 700;
    color: #e0be9c
}

.pf-desc {
    font-size: 11px;
    color: #7a6060;
    line-height: 1.7
}

.pres-class-table {
    border: 1px solid #2A1C1C;
    margin: 16px 0
}

.pct-header {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 3fr;
    background-color: #1a1010;
    padding: 10px 16px;
    font-size: 10px;
    color: #6e5048;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid #2A1C1C
}

.pct-row {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 3fr;
    padding: 10px 16px;
    border-bottom: 1px solid #1a1010;
    font-size: 12px;
    color: #8a7a70;
    transition: background-color 0.2s
}

.pct-row:last-child { border-bottom: none }
.pct-row:hover { background-color: #140c0d }

.diff-easy   { color: #6ab888 }
.diff-med    { color: #c8b060 }
.diff-hard   { color: #c86a6a }
