/* PhantomOld — design system (layout + pages) */

/* ── Layout shell ───────────────────────────────────────── */

.po-body {
    min-height: 100vh;
    background-color: #000;
}

.po-header {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(11, 10, 5, 0.85) 100%);
    border-bottom: 2px solid #272618;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.po-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.po-header__brand img {
    max-height: 44px;
    width: auto;
}

.po-header__nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: center;
}

.po-header__nav a {
    color: #FF9F00;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}

.po-header__nav a:hover {
    background: #17160d;
    color: #fff;
}

.po-header__nav a i {
    margin-right: 6px;
}

.po-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.po-header__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #FF9F00 0%, #ff8c00 100%);
    color: #000;
    font-weight: bold;
    font-size: 13px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(255, 159, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.po-header__cta:hover {
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 159, 0, 0.45);
}

.po-header__cta--ghost {
    background: var(--po-gradient-surface);
    color: var(--po-accent);
    border: 1px solid var(--po-border);
    box-shadow: none;
}

.po-header__cta--ghost:hover {
    color: var(--po-text-bright);
    border-color: var(--po-accent);
    box-shadow: var(--po-shadow-sm);
}

.po-header__social {
    color: #FF9F00;
    font-size: 20px;
    padding: 6px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.po-header__social:hover {
    color: #fff;
    transform: scale(1.1);
}

.po-layout {
    padding-top: 20px;
    padding-bottom: 30px;
}

.po-layout__main {
    min-width: 0;
}

.po-sidebar {
    padding: 0;
    overflow: hidden;
}

.po-sidebar__section + .po-sidebar__section {
    border-top: 1px solid #0b0a05;
}

.po-sidebar__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.po-sidebar__list li {
    border-bottom: 1px solid #0b0a05;
}

.po-sidebar__list li:last-child {
    border-bottom: none;
}

.po-sidebar__account {
    padding: 15px;
}

.po-sidebar__title {
    margin: 0;
}

.po-sidebar__body {
    padding: 14px 16px;
}

.po-sidebar__body--flush {
    padding: 0;
}

.po-sidebar__body--flush .po-sidebar__list li:first-child .sidebar-menu-item {
    border-top: none;
}

/* ── Sidebars (left + right) ──────────────────────────────── */

.po-sidebar--left .left-header,
.po-sidebar--right .left-header,
.po-sidebar--left .po-sidebar__title,
.po-sidebar--right .po-sidebar__title {
    width: 100%;
    margin: 0;
    border-bottom: none;
    border-radius: 0;
}

.po-sidebar--left .po-sidebar__body,
.po-sidebar--right .po-sidebar__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.po-sidebar--left .po-sidebar__body--flush,
.po-sidebar--right .po-sidebar__body--flush {
    padding: 0;
    gap: 0;
}

.po-sidebar--left .po-sidebar__list .sidebar-menu-item,
.po-sidebar--right .po-sidebar__list .sidebar-menu-item {
    padding: 12px 16px;
    font-size: 13px;
    min-height: 44px;
    box-sizing: border-box;
}

.po-sidebar--left .po-sidebar__list .sidebar-menu-item i,
.po-sidebar--right .po-sidebar__list .sidebar-menu-item i {
    width: 18px;
    margin-right: 10px;
    font-size: 14px;
}

.po-sidebar--left .po-sidebar__list .sidebar-menu-item:hover,
.po-sidebar--right .po-sidebar__list .sidebar-menu-item:hover {
    padding-left: 16px;
}

.po-sidebar--left .po-sidebar__list .sidebar-menu-item span,
.po-sidebar--right .po-sidebar__list .sidebar-menu-item span {
    color: var(--po-text-bright);
    font-weight: 500;
}

.po-sidebar__section--account .po-sidebar__body {
    padding: 14px 16px;
}

.po-sidebar-account--guest,
.po-sidebar-account--logged {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.po-sidebar-account__logout-form {
    margin: 0;
    display: contents;
}

.po-sidebar-account__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: var(--po-radius-sm);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--po-border);
    background: var(--po-surface-1);
    color: var(--po-text);
    box-sizing: border-box;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    cursor: pointer;
}

.po-sidebar-account__btn i {
    font-size: 14px;
    color: var(--po-accent);
}

.po-sidebar-account__btn--login {
    background: var(--po-surface-0);
}

.po-sidebar-account__btn--login:hover {
    background: var(--po-accent);
    border-color: var(--po-accent);
    color: var(--po-text-on-accent);
}

.po-sidebar-account__btn--login:hover i {
    color: var(--po-text-on-accent);
}

.po-sidebar-account__btn--register:hover,
.po-sidebar-account__btn--manage:hover {
    background: var(--po-surface-0);
    border-color: var(--po-accent);
    color: var(--po-text-bright);
}

.po-sidebar-account__btn--logout {
    background: var(--po-surface-0);
    color: #e8a0a8;
}

.po-sidebar-account__btn--logout i {
    color: #e8a0a8;
}

.po-sidebar-account__btn--logout:hover {
    background: rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.45);
    color: #fff;
}

.po-sidebar-account__btn--logout:hover i {
    color: #fff;
}

/* Legacy leftbar — neutralize if still present */
#sidebar-left .leftbarcontent {
    padding: 0;
}

#sidebar-left .leftbarcontent ul li a {
    padding: 0;
    text-shadow: none;
}

/* ── Right sidebar (server block, carousel) ───────────────── */

.po-server-status {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
    background: var(--po-gradient-surface);
    border-left: 4px solid var(--po-border);
    border-radius: var(--po-radius);
}

.po-server-status.is-online {
    border-left-color: var(--po-success);
}

.po-server-status.is-offline {
    border-left-color: var(--po-danger);
}

.po-server-status__indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--po-surface-0);
    border-radius: var(--po-radius-sm);
}

.po-server-status__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: po-pulse 2s ease infinite;
}

.po-server-status.is-online .po-server-status__dot {
    background: var(--po-success);
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.55);
}

.po-server-status.is-offline .po-server-status__dot {
    background: var(--po-danger);
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.55);
}

.po-server-status__label {
    font-size: 15px;
    font-weight: 700;
}

.po-server-status.is-online .po-server-status__label { color: var(--po-success); }
.po-server-status.is-offline .po-server-status__label { color: var(--po-danger); }

.po-server-status__players {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--po-surface-0);
    border-radius: var(--po-radius-sm);
    font-size: 13px;
    color: var(--po-text-muted);
}

.po-server-status__players i {
    color: var(--po-accent);
}

.po-server-status__players strong {
    color: var(--po-success);
    font-size: 16px;
}

.po-server-info {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--po-gradient-surface);
    border: 1px solid var(--po-border);
    border-radius: var(--po-radius);
    overflow: hidden;
}

.po-server-info__row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--po-border);
}

.po-server-info__row:last-child {
    border-bottom: none;
}

.po-server-info__icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--po-gradient-accent);
    color: var(--po-text-on-accent);
    border-radius: var(--po-radius-sm);
    font-size: 13px;
}

.po-server-info__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.po-server-info__label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--po-text-muted);
}

.po-server-info__value {
    font-size: 13px;
    font-weight: 600;
    color: var(--po-text-bright);
    word-break: break-word;
}

.po-sidebar-download {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    background: var(--po-gradient-accent);
    border-radius: var(--po-radius);
    text-decoration: none;
    color: var(--po-text-on-accent);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 159, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.po-sidebar-download:hover {
    color: var(--po-text-on-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 159, 0, 0.45);
}

.po-sidebar-download > i {
    font-size: 22px;
    flex-shrink: 0;
}

.po-sidebar-download__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.po-sidebar-download__title {
    font-size: 15px;
    line-height: 1.2;
}

.po-sidebar-download__sub {
    font-size: 11px;
    opacity: 0.85;
    font-weight: 500;
}

/* Events carousel (right sidebar) */
.po-sidebar__section--carousel .po-sidebar__body {
    padding-top: 12px;
    padding-bottom: 16px;
}

.po-events-carousel {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.po-events-carousel__viewport {
    position: relative;
    min-height: 200px;
    border: 1px solid var(--po-border);
    border-radius: var(--po-radius);
    background: var(--po-gradient-surface);
    overflow: hidden;
}

.po-events-carousel__slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    box-sizing: border-box;
}

.po-events-carousel__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.po-events-carousel__heading {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--po-accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

.po-events-carousel__text {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.55;
    color: var(--po-text);
    flex: 1;
}

.po-events-carousel__text strong {
    color: var(--po-accent);
}

.po-events-carousel__meta {
    margin: 0 0 12px;
    font-size: 11px;
    line-height: 1.5;
    color: var(--po-text-muted);
}

.po-events-carousel__meta p {
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.po-events-carousel__meta p:last-child {
    margin-bottom: 0;
}

.po-events-carousel__meta i {
    color: var(--po-accent);
    width: 14px;
    text-align: center;
}

.po-events-carousel__meta code {
    background: var(--po-surface-0);
    color: var(--po-success);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
}

.po-events-carousel__cta {
    align-self: center;
    margin-top: auto;
}

.po-events-carousel__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.po-events-carousel__dot,
.carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #555;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.po-events-carousel__dot.is-active,
.carousel-dot.is-active {
    background: var(--po-accent);
    transform: scale(1.15);
}

/* Right sidebar — neutralize legacy style.css */
.po-root .right-header {
    width: 100% !important;
    margin: 0 !important;
    padding: 12px 16px !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    background: var(--po-gradient-accent) !important;
    color: var(--po-text-on-accent) !important;
}

.po-root .rightbarcontent {
    width: 100%;
    margin: 0;
    padding: 0;
}

.po-sidebar__account-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.po-sidebar__download {
    margin-top: 15px;
    display: flex;
}

.po-footer {
    margin-top: auto;
}

.po-footer__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 15px 0;
    background: linear-gradient(135deg, #000 0%, #0b0a05 100%);
}

.po-footer__inner i {
    color: #FF9F00;
    font-size: 16px;
}

.po-footer__inner p {
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.po-footer__accent {
    color: #FF9F00;
    font-weight: bold;
}

.po-footer__muted {
    color: #888;
    margin-left: 4px;
}

/* ── Page shell ─────────────────────────────────────────── */

.po-page {
    margin-bottom: 15px;
}

.po-page__header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.po-page__header i {
    color: #FF9F00;
}

.po-page__title {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: 1.2;
    color: inherit;
}

.po-page__body {
    padding: 15px;
}

.po-section {
    margin-bottom: 20px;
}

.po-section:last-child {
    margin-bottom: 0;
}

.po-section__title {
    background: linear-gradient(135deg, #FF9F00 0%, #ff8c00 100%);
    color: #000;
    font-weight: bold;
    padding: 12px 15px;
    border-radius: 8px 8px 0 0;
    margin: 0;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.po-section__title--info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: #fff;
}

.po-section__title--success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
}

.po-section__title--danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
}

.po-section__body {
    background: var(--po-gradient-surface);
    border: 1px solid var(--po-border);
    border-top: none;
    border-radius: 0 0 var(--po-radius) var(--po-radius);
    padding: 15px;
}

.po-section__body--flush {
    padding: 0;
    overflow-x: auto;
}

.po-hint {
    text-align: center;
    color: var(--po-text-muted);
    font-size: 12px;
    margin: 0 0 15px;
}

.po-hint i {
    color: var(--po-accent);
    margin-right: 4px;
}

.po-tabs--top-players {
    border-bottom: 2px solid var(--po-surface-0) !important;
}

#topPlayersTab .nav-link span {
    font-size: 12px;
}

.po-empty--compact {
    padding: 24px;
}

.po-empty--compact .po-empty__icon {
    font-size: 32px;
}

.po-empty--compact .po-empty__text {
    margin: 0;
}

.po-actions--spaced {
    margin-bottom: 16px;
}

.po-guild-rank-img {
    border-radius: var(--po-radius);
}

.po-season-intro {
    padding: 16px;
    margin-bottom: 16px;
}

.po-season-intro__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--po-text-bright);
}

.po-season-intro__head i {
    color: var(--po-accent);
}

.po-season-intro p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--po-text);
}

.po-video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--po-radius);
    background: #000;
    border: 1px solid var(--po-border);
}

.po-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── Community pages (Lote 2) ───────────────────────────── */

.po-section__body--table {
    padding: 0;
    overflow-x: auto;
}

.po-section__title--muted {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: #fff;
}

.po-prose {
    line-height: 1.8;
    margin: 0;
    color: var(--po-text-muted);
}

.po-prose--justify {
    text-align: justify;
}

.po-prose + .po-prose {
    margin-top: 16px;
}

.po-prose strong.po-text-danger { color: var(--po-danger); }
.po-prose strong.po-text-info { color: var(--po-info); }

.po-theme-success { --hs-accent: #28a745; }
.po-theme-danger { --hs-accent: #dc3545; }

.po-theme-success .po-highscores__panel:first-child {
    border-left-color: #28a745;
}

.po-theme-success .po-highscores__panel:first-child .po-highscores__panel-head {
    color: #28a745;
}

.po-theme-danger .po-highscores__panel {
    border-left-color: #dc3545;
}

.po-theme-danger .po-highscores__panel-head:not(.po-highscores__panel-head--muted) {
    color: #dc3545;
}

.po-theme-danger .po-highscores__results-head {
    background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
}

.po-stat-hero {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.po-stat-hero__value {
    font-size: 36px;
    font-weight: 700;
    color: var(--po-success);
    line-height: 1;
}

.po-stat-hero__side {
    text-align: right;
}

.po-table__center { text-align: center; }
.po-table__rank {
    text-align: center;
    color: var(--po-accent);
    font-weight: 700;
}

.po-table__date {
    color: var(--po-text-muted);
    white-space: nowrap;
    width: 180px;
}

.po-table__index {
    text-align: center;
    width: 50px;
}

.po-value-pill--danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
}

.po-link--lg {
    font-size: 16px;
    font-weight: 700;
}

.po-empty--table {
    padding: 40px 20px;
}

.po-empty__icon--success { color: var(--po-success); }
.po-empty__icon--danger { color: var(--po-danger); }

.po-results-block {
    border-radius: var(--po-radius);
    overflow: hidden;
}

.po-results-block .po-highscores__results-head {
    border-radius: var(--po-radius) var(--po-radius) 0 0;
}

.po-results-block .po-section__body--table {
    border-radius: 0 0 var(--po-radius) var(--po-radius);
}

/* Honor castle */
.po-castle-owner {
    text-align: center;
}

.po-castle-logo {
    border-radius: var(--po-radius);
    border: 2px solid var(--po-accent);
    margin-bottom: 12px;
}

.po-castle-name {
    color: var(--po-accent);
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
}

/* Downloads */
.po-download-card .po-btn-primary {
    margin-top: 16px;
}

.po-btn-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(23, 162, 184, 0.3);
}

.po-btn-info:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.45);
}

.po-card--search {
    border-left-color: var(--po-success);
}

/* Character profile */
.po-char-hero {
    margin-top: 0;
    padding: 14px 16px;
}

.po-char-hero__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.po-char-hero__identity {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.po-char-name {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.po-char-name.is-online { color: var(--po-success); }
.po-char-name.is-offline { color: var(--po-text-muted); }

.po-premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--po-radius-sm);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}

.po-premium-badge.is-premium {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.po-premium-badge.is-free {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
}

.po-char-hero__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--po-text);
}

.po-char-hero__stats {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.po-char-hero__stats strong { color: var(--po-accent); }

.po-char-divider { color: #6c757d; }

.po-char-lastlogin {
    color: var(--po-text);
}

.po-char-lastlogin i {
    color: #6c757d;
    font-size: 11px;
    margin-right: 4px;
}

.po-char-lastlogin strong { color: var(--po-text-bright); }

.po-char-stats-card {
    margin-top: 15px;
    padding: 12px 16px;
}

.po-char-stats-card--pvp {
    border-left-color: var(--po-danger);
}

.po-stat-item--danger i,
.po-stat-item--danger strong { color: var(--po-danger); }

.po-stat-item--info i,
.po-stat-item--info strong { color: var(--po-info); }

.po-stat-item--success i,
.po-stat-item--success strong { color: var(--po-success); }

.po-stat-item--accent i,
.po-stat-item--accent strong { color: var(--po-accent); }

.po-char-guild {
    margin-top: 20px;
}

.po-char-guild__inner {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.po-char-guild__logo {
    border-radius: var(--po-radius);
    border: 2px solid var(--po-accent);
}

.po-char-guild__body {
    flex: 1;
    min-width: 200px;
}

.po-char-guild__title {
    margin: 0 0 8px;
    color: var(--po-accent);
    font-size: 20px;
}

.po-char-guild__text {
    margin: 0;
    color: var(--po-text);
    font-size: 13px;
    line-height: 1.7;
}

.po-char-guild__chips {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.po-char-chip {
    background: var(--po-surface-0);
    padding: 8px 12px;
    border-radius: 5px;
    color: var(--po-text-bright);
    font-size: 12px;
}

.po-char-chip i { margin-right: 4px; }
.po-char-chip--members i { color: var(--po-success); }
.po-char-chip--level i { color: var(--po-info); }

.po-equip-house {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.po-equip-house__col {
    flex: 1 1 280px;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.po-equip-card {
    display: flex;
    flex-direction: column;
    height: auto;
    min-width: 0;
    overflow: hidden;
}

.po-equip-card--gear {
    min-height: 260px;
}

.po-equip-card--house {
    min-height: 0;
}

.po-subsection__title {
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--po-border);
    font-size: 15px;
    font-weight: 700;
    color: var(--po-text-bright);
    display: flex;
    align-items: center;
    gap: 8px;
}

.po-subsection__title i {
    color: var(--po-accent);
}

.po-card-title {
    margin: 0 0 15px;
    color: var(--po-accent);
    font-size: 18px;
    font-weight: 700;
}

.po-card-title i { margin-right: 6px; }

.po-char-empty {
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--po-text-muted);
}

.po-char-empty i {
    font-size: 32px;
    color: #6c757d;
    margin-bottom: 10px;
    display: block;
}

.po-house-detail {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 0 0 auto;
    min-width: 0;
}

.po-house-name {
    margin: 0;
    color: var(--po-text-bright);
    font-weight: 700;
    font-size: 15px;
    word-break: break-word;
}

.po-house-town {
    margin: 5px 0 0;
    color: var(--po-text-muted);
    font-size: 11px;
}

.po-house-stat-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.po-house-stat {
    background: var(--po-surface-0);
    padding: 8px 10px;
    border-radius: 4px;
    border-left: 3px solid var(--po-border);
    min-width: 0;
}

.po-house-stat__label {
    margin: 0;
    color: var(--po-text-muted);
    font-size: 10px;
}

.po-house-stat__value {
    margin: 3px 0 0;
    font-weight: 700;
}

.po-house-stat--tiles { border-left-color: #4A90E2; }
.po-house-stat--tiles .po-house-stat__value { color: #4A90E2; }
.po-house-stat--beds { border-left-color: #9B59B6; }
.po-house-stat--beds .po-house-stat__value { color: #9B59B6; }
.po-house-stat--rent { border-left-color: var(--po-success); }
.po-house-stat--rent .po-house-stat__value { color: var(--po-accent); }
.po-house-stat--paid { border-left-color: var(--po-accent); }
.po-house-stat--paid .po-house-stat__value { color: var(--po-accent); }

.po-char-tabs { margin-top: 20px; }

.po-char-tabs-wrap {
    margin-top: 20px;
}

.po-char-tabs-wrap .po-section {
    margin-bottom: 16px;
}

.po-char-tabs-wrap .po-section:last-child {
    margin-bottom: 0;
}

.po-char-panel {
    display: none;
}

.po-char-panel.active {
    display: block;
}

.po-char-tabs .po-tab-btn.active,
.po-char-tabs .po-tab-btn:hover {
    background: var(--po-gradient-accent);
    color: #000;
}

.po-char-tabs .po-tab-btn.active i,
.po-char-tabs .po-tab-btn:hover i {
    color: #000;
}

.po-section__title--split {
    justify-content: space-between;
    gap: 12px;
}

.po-section__title--split > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.po-section__title-action {
    flex-shrink: 0;
    margin-left: auto;
    padding: 4px 10px;
    border: none;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.2);
    color: #000;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.po-section__title-action:hover {
    background: rgba(0, 0, 0, 0.32);
    color: #000;
}

.po-table-label__icon {
    color: var(--po-accent);
    margin-right: 6px;
    width: 14px;
    text-align: center;
}

.po-card--flush {
    padding: 0;
    overflow: hidden;
    margin-top: 0;
}

.po-card--flush + .po-card--flush { margin-top: 20px; }

.po-card--info { border-left-color: var(--po-info); }
.po-card--danger { border-left-color: var(--po-danger); }

.po-card-header--split {
    justify-content: space-between;
}

.po-table-label {
    width: 40%;
    color: var(--po-text);
    font-weight: 600;
}

.po-table-label i { margin-right: 6px; }

.po-char-level { color: var(--po-accent); font-weight: 700; }
.po-char-voc { color: var(--po-text); }

.po-btn-view {
    padding: 6px 14px;
    font-size: 12px;
}

.po-progress-block {
    padding: 20px;
}

.po-progress-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.po-progress-row__bar {
    flex: 1;
    min-width: 200px;
}

.po-progress-row__bar .po-progress { margin-top: 8px; }

.po-char-tab-empty {
    color: var(--po-text-muted);
    padding: 24px 16px;
    margin: 0;
    text-align: center;
    background: var(--po-gradient-surface);
    border: 1px solid var(--po-border);
    border-radius: var(--po-radius);
}

.po-death-date {
    width: 160px;
    min-width: 140px;
    color: var(--po-text-muted);
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

.po-death-text {
    color: var(--po-text);
    word-break: break-word;
}

.po-death-verb {
    text-transform: capitalize;
}

.po-badge--accent-solid {
    background: var(--po-accent);
    color: var(--po-text-on-accent);
}

.po-equip-table {
    border-collapse: separate;
    border-spacing: 2px;
}

.po-equip-slot__placeholder {
    opacity: 0.6;
}

.po-badge-sm {
    font-size: 10px;
}

.task-row,
.quest-row {
    display: none;
}

.po-empty {
    text-align: center;
    padding: 40px 20px;
}

.po-empty__icon {
    font-size: 56px;
    color: #6c757d;
    margin-bottom: 16px;
}

.po-empty__title {
    color: #fff;
    font-size: 22px;
    margin-bottom: 10px;
}

.po-empty__text {
    color: #aaa;
    margin-bottom: 20px;
}

.po-news-list {
    list-style: none;
    margin: 0;
    padding: 8px;
}

.po-home-news {
    margin-bottom: 20px;
    background: var(--po-gradient-surface);
    border: 1px solid var(--po-border);
    border-radius: var(--po-radius);
    overflow: hidden;
}

.po-news-list--compact {
    padding: 0;
}

.po-news-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
    border-radius: 8px;
    margin: 8px 0;
    text-decoration: none;
    border: 1px solid #0b0a05;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.po-news-item:nth-child(odd) {
    background: #17160d;
}

.po-news-item:nth-child(even) {
    background: #0b0a05;
}

.po-news-item:hover {
    border-color: #FF9F00;
    transform: translateX(4px);
}

.po-news-item__icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 8px;
    border-left: 3px solid #FF9F00;
    flex-shrink: 0;
}

.po-news-item__icon i {
    color: #FF9F00;
}

.po-news-item__content {
    flex: 1;
    min-width: 0;
}

.po-news-item__date {
    color: #aaa;
    font-size: 12px;
}

.po-news-item__title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.po-news-item__arrow {
    color: #FF9F00;
}

.po-news-item--compact {
    margin: 0;
    padding: 13px 16px;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid var(--po-border);
    gap: 14px;
    background: transparent;
}

.po-news-item--compact:nth-child(odd),
.po-news-item--compact:nth-child(even) {
    background: transparent;
}

.po-news-item--compact:last-child {
    border-bottom: none;
}

.po-news-item--compact:hover {
    background: var(--po-surface-0);
    transform: none;
}

.po-news-item--compact .po-news-item__date {
    flex-shrink: 0;
    width: 78px;
    font-size: 11px;
    font-weight: 600;
    color: var(--po-text-muted);
    line-height: 1.3;
}

.po-news-item--compact .po-news-item__title {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.po-news-item--compact .po-news-item__arrow {
    flex-shrink: 0;
    font-size: 12px;
    opacity: 0.7;
}

.po-news-item--compact:hover .po-news-item__arrow {
    opacity: 1;
}

.po-news-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--po-border);
    font-size: 12px;
    color: var(--po-text-muted);
}

.po-news-article__meta i {
    color: var(--po-accent);
    margin-right: 4px;
}

.po-news-article__body {
    color: var(--po-text);
    font-size: 14px;
    line-height: 1.75;
    word-break: break-word;
}

.po-news-article__actions {
    margin-top: 24px;
    max-width: 200px;
}

.po-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.po-highscore-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.po-highscore-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 2px solid #272618;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    transition: all 0.2s ease;
    color: #FF9F00;
    background: #0b0a05;
}

.po-highscore-tab:hover {
    transform: translateY(-2px);
    border-color: var(--tab-color, #FF9F00);
    color: #fff;
    background: #17160d;
}

.po-highscore-tab.is-active {
    transform: translateY(-2px);
    border-color: var(--tab-color, #FF9F00);
    background: var(--tab-color, #FF9F00);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.po-highscore-vocs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.po-highscore-voc {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    background: #17160d;
    color: #aaa;
    border: 1px solid #272618;
    transition: all 0.2s ease;
}

.po-highscore-voc:hover {
    background: #272618;
    color: #fff;
    transform: translateY(-1px);
}

.po-highscore-voc.is-active {
    background: var(--voc-color, #FF9F00);
    border-color: var(--voc-color, #FF9F00);
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ── Highscores page ── */

.po-highscores {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.po-highscores__filters {
    display: grid;
    gap: 16px;
}

.po-highscores__panel {
    background: linear-gradient(135deg, #0b0a05 0%, #17160d 100%);
    border-left: 4px solid var(--hs-accent, #FF9F00);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.po-highscores__panel-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 2px solid #272618;
    color: var(--hs-accent, #FF9F00);
}

.po-highscores__panel-head--muted {
    color: #17a2b8;
}

.po-highscores__panel--voc {
    border-left-color: #17a2b8;
}

.po-highscores__panel-head h2 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: inherit;
}

.po-highscores__panel-body {
    padding: 18px 20px;
}

.po-highscores__panel-body--center {
    text-align: center;
}

.po-highscores__results {
    margin-bottom: 0;
}

.po-highscores__results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: linear-gradient(135deg, var(--hs-accent, #FF9F00) 0%, #e68a00 100%);
    color: #000;
    padding: 14px 18px;
    border-radius: 8px 8px 0 0;
}

.po-highscores__results-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.po-highscores__results-title h3 {
    margin: 0;
    font-size: 17px;
    font-weight: bold;
}

.po-highscores__results-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.po-highscores__badge {
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
}

.po-highscores__badge--page {
    background: rgba(255, 255, 255, 0.2);
    color: #000;
}

.po-highscores-table thead tr {
    background: linear-gradient(135deg, var(--hs-accent, #FF9F00) 0%, #c97800 100%);
}

.po-highscores-table thead th {
    background: transparent;
    color: #000;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    border-bottom: none;
}

.po-highscores-table__rank {
    width: 64px;
    text-align: center;
    font-weight: bold;
    color: #FF9F00;
}

.po-highscores-table__rank--gold { color: #FFD700; font-size: 18px; }
.po-highscores-table__rank--silver { color: #C0C0C0; font-size: 18px; }
.po-highscores-table__rank--bronze { color: #CD7F32; font-size: 18px; }

.po-highscores-table__status {
    width: 100px;
    text-align: center;
}

.po-highscores-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.po-highscores-status.is-online { color: #28a745; }
.po-highscores-status.is-offline { color: #888; }

.po-highscores-table__outfit {
    width: 72px;
    text-align: center;
}

.po-highscores-outfit {
    width: 56px;
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: linear-gradient(180deg, #272618 0%, #0b0a05 100%);
    border: 1px solid #272618;
    border-radius: 6px;
    padding: 4px;
}

.po-highscores-outfit img {
    display: block;
    image-rendering: pixelated;
}

.po-highscores-table__name {
    min-width: 180px;
}

.po-highscores-name {
    display: block;
    color: #17a2b8;
    font-weight: bold;
    font-size: 15px;
    text-decoration: none;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.po-highscores-name:hover {
    color: #5bc0de;
    text-decoration: underline;
}

.po-highscores-voc,
.po-highscores-level {
    display: inline-block;
    font-size: 11px;
    margin-right: 8px;
}

.po-highscores-voc {
    color: #FF9F00;
    font-weight: bold;
}

.po-highscores-level {
    color: #888;
}

.po-highscores-table__value,
.po-highscores-table__exp {
    text-align: center;
    white-space: nowrap;
}

.po-highscores-value {
    display: inline-block;
    background: linear-gradient(135deg, #272618 0%, #17160d 100%);
    border: 1px solid #3a3928;
    color: #fff;
    font-weight: bold;
    padding: 6px 14px;
    border-radius: 8px;
    min-width: 48px;
}

.po-highscores-exp {
    display: inline-block;
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: #fff;
    font-weight: bold;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
}

.po-highscores-table__row:hover {
    background: #1a1910 !important;
}

.po-highscores-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 4px;
}

.po-highscores-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    min-width: 140px;
    justify-content: center;
    background: linear-gradient(135deg, #17160d 0%, #0b0a05 100%);
    border: 2px solid #272618;
    border-radius: 8px;
    color: #FF9F00;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.po-highscores-page-btn:hover:not(.is-disabled) {
    border-color: #FF9F00;
    color: #fff;
    transform: translateY(-1px);
}

.po-highscores-page-btn.is-disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

.po-highscores-page-info {
    background: #0b0a05;
    border: 1px solid #272618;
    border-radius: 8px;
    padding: 12px 20px;
    color: #ccc;
    font-size: 14px;
}

.po-highscores-page-info strong {
    color: #FF9F00;
}

.po-highscores-page-hint {
    color: #888;
    font-size: 12px;
}

.po-online-sort {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
}

.po-online-sort:hover {
    text-decoration: underline;
}

.po-death-killer--monster {
    color: #dc3545;
    font-weight: bold;
}

.po-death-killer--player {
    color: #FF9F00;
    font-weight: bold;
    text-decoration: none;
}

.po-death-killer--player:hover {
    color: #FFD700;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .po-highscores-status span:not(.po-status-dot) {
        display: none;
    }

    .po-highscores-table__status {
        width: 48px;
    }

    .po-highscores-page-btn {
        min-width: 120px;
        padding: 10px 14px;
        font-size: 13px;
    }
}

.po-status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.po-status-dot--online { background: #28a745; }
.po-status-dot--offline { background: #dc3545; }

.po-download-grid {
    display: grid;
    gap: 16px;
}

.po-download-card {
    border-left-width: 4px;
}

.po-download-card--client {
    border-left-color: #FF9F00;
}

.po-download-card--deps {
    border-left-color: #17a2b8;
}

.po-download-card h2,
.po-download-card h3 {
    color: #FF9F00;
    font-size: 18px;
    margin: 0 0 8px;
}

.po-download-card--deps h3 {
    color: #17a2b8;
}

.po-download-card p {
    color: #888;
    margin: 0;
    font-size: 13px;
}

.po-form-row {
    margin-bottom: 0;
}

.po-search-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.po-search-form__field {
    flex: 1;
    min-width: 200px;
}

.po-search-form__field label {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

/* ── Guilds ─────────────────────────────────────────────── */

.po-alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
}

.po-alert--danger {
    background: rgba(220, 53, 69, 0.15);
    border-left: 4px solid #dc3545;
    color: #fff;
}

.po-alert--success {
    background: rgba(40, 167, 69, 0.15);
    border-left: 4px solid #28a745;
    color: #fff;
}

.po-muted {
    color: #aaa;
    font-size: 13px;
}

.po-guild-cta {
    text-align: center;
}

.po-guild-cta p {
    color: #ccc;
    margin-bottom: 12px;
}

.po-guild-list .po-guild-logo-sm {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 1px solid #272618;
    object-fit: cover;
}

.po-guild-hero {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.po-guild-logo {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 2px solid #FF9F00;
    object-fit: cover;
    flex-shrink: 0;
}

.po-guild-logo-sm {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    border: 1px solid #FF9F00;
    object-fit: cover;
}

.po-guild-hero__body {
    flex: 1;
    min-width: 200px;
}

.po-guild-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 12px;
    font-size: 13px;
    color: #ccc;
}

.po-guild-stats span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.po-guild-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

/* Guild detail page (/guilds/{id}) */

.po-guild-show {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.po-guild-show__alert {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.po-guild-show__inline-form {
    display: inline;
    margin: 0;
}

.po-guild-show__hero {
    padding: 0;
    overflow: hidden;
    border-left-width: 4px;
}

.po-guild-show__hero-grid {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 159, 0, 0.08) 0%, transparent 55%);
    border-bottom: 1px solid var(--po-border);
}

.po-guild-show__logo-wrap {
    flex-shrink: 0;
    padding: 6px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FF9F00 0%, #ff8c00 50%, #272618 100%);
    box-shadow: 0 4px 16px rgba(255, 159, 0, 0.25);
}

.po-guild-show__logo {
    display: block;
    width: 112px;
    height: 112px;
    border-radius: 8px;
    object-fit: cover;
    background: #0b0a05;
    border: 2px solid #0b0a05;
}

.po-guild-show__summary {
    flex: 1;
    min-width: 200px;
}

.po-guild-show__leader {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 10px;
    font-size: 15px;
    color: var(--po-text-bright);
}

.po-guild-show__leader i {
    color: #ffc107;
}

.po-guild-show__leader > span:first-of-type {
    color: var(--po-text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
}

.po-guild-show__meta {
    margin: 0;
    color: var(--po-text-muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.po-guild-show__meta i {
    color: var(--po-accent);
}

.po-guild-show__meta-sep {
    opacity: 0.5;
}

.po-guild-show__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--po-border);
}

.po-guild-show__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 16px 12px;
    background: var(--po-surface-1);
    text-align: center;
}

.po-guild-show__stat i {
    font-size: 18px;
    color: var(--po-accent);
    margin-bottom: 2px;
}

.po-guild-show__stat--online i {
    color: #28a745;
    font-size: 10px;
}

.po-guild-show__stat-value {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.po-guild-show__stat-label {
    font-size: 11px;
    color: var(--po-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.po-guild-show__toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.po-guild-show__actions .po-section__body {
    padding: 12px;
}

.po-guild-actions-grid {
    margin: 0;
}

.po-settings-card--success i {
    color: #28a745;
}

.po-settings-card--success:hover {
    border-color: #28a745;
}

.po-settings-card--info i {
    color: #17a2b8;
}

.po-settings-card--info:hover {
    border-color: #17a2b8;
}

.po-settings-card--muted i {
    color: #888;
}

.po-settings-card--muted .po-settings-card__title {
    color: #ccc;
}

.po-settings-card--muted:hover {
    border-color: #666;
}

.po-guild-show__info-grid {
    display: grid;
    gap: 16px;
}

.po-guild-show__info-grid--dual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.po-guild-show__info-panel {
    margin-bottom: 0;
}

/* Action toolbar — icon tiles (legacy, kept for subpages) */

.po-guild-toolbar {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
    padding: 14px;
    background: linear-gradient(180deg, #12110b 0%, #0b0a05 100%);
    border: 1px solid #272618;
    border-left: 4px solid var(--po-accent);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.po-guild-toolbar__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 96px;
    padding: 14px 10px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.po-guild-toolbar__btn:hover {
    transform: translateY(-3px);
    text-decoration: none;
}

.po-guild-toolbar__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.po-guild-toolbar__label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.25;
}

.po-guild-toolbar__btn--primary {
    background: rgba(255, 159, 0, 0.1);
    border-color: rgba(255, 159, 0, 0.35);
}

.po-guild-toolbar__btn--primary .po-guild-toolbar__icon {
    background: linear-gradient(135deg, #FF9F00 0%, #ff8c00 100%);
    color: #000;
}

.po-guild-toolbar__btn--primary .po-guild-toolbar__label {
    color: #FF9F00;
}

.po-guild-toolbar__btn--primary:hover {
    box-shadow: 0 6px 18px rgba(255, 159, 0, 0.25);
    border-color: #FF9F00;
}

.po-guild-toolbar__btn--success {
    background: rgba(40, 167, 69, 0.08);
    border-color: rgba(40, 167, 69, 0.3);
}

.po-guild-toolbar__btn--success .po-guild-toolbar__icon {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
}

.po-guild-toolbar__btn--success .po-guild-toolbar__label {
    color: #5dd879;
}

.po-guild-toolbar__btn--success:hover {
    box-shadow: 0 6px 18px rgba(40, 167, 69, 0.25);
}

.po-guild-toolbar__btn--accent {
    background: rgba(255, 159, 0, 0.05);
    border-color: rgba(255, 159, 0, 0.22);
}

.po-guild-toolbar__btn--accent .po-guild-toolbar__icon {
    background: #17160d;
    border: 1px solid #FF9F00;
    color: #FF9F00;
}

.po-guild-toolbar__btn--accent .po-guild-toolbar__label {
    color: #ccc;
}

.po-guild-toolbar__btn--accent:hover {
    border-color: #FF9F00;
    box-shadow: 0 6px 16px rgba(255, 159, 0, 0.15);
}

.po-guild-toolbar__btn--info {
    background: rgba(23, 162, 184, 0.08);
    border-color: rgba(23, 162, 184, 0.35);
}

.po-guild-toolbar__btn--info .po-guild-toolbar__icon {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: #fff;
}

.po-guild-toolbar__btn--info .po-guild-toolbar__label {
    color: #5bc0de;
}

.po-guild-toolbar__btn--muted {
    background: rgba(108, 117, 125, 0.08);
    border-color: rgba(108, 117, 125, 0.25);
}

.po-guild-toolbar__btn--muted .po-guild-toolbar__icon {
    background: #17160d;
    border: 1px solid #444;
    color: #aaa;
}

.po-guild-toolbar__btn--muted .po-guild-toolbar__label {
    color: #888;
}

.po-guild-toolbar__btn--muted:hover {
    border-color: #666;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.po-guild-toolbar__btn--muted:hover .po-guild-toolbar__label {
    color: #ccc;
}

/* Description / MOTD cards */

.po-guild-info-grid {
    display: grid;
    gap: 14px;
}

.po-guild-info-grid--dual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.po-guild-info-card {
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #272618;
    background: #0b0a05;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.po-guild-info-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.po-guild-info-card__head i {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
}

.po-guild-info-card__body {
    padding: 16px 18px 18px;
    color: #ddd;
    font-size: 14px;
    line-height: 1.7;
    white-space: pre-line;
    border-top: 1px solid rgba(39, 38, 24, 0.9);
    min-height: 64px;
}

.po-guild-info-card--desc {
    border-left: 4px solid #FF9F00;
}

.po-guild-info-card--desc .po-guild-info-card__head {
    background: linear-gradient(90deg, rgba(255, 159, 0, 0.18) 0%, rgba(255, 159, 0, 0.04) 100%);
    color: #FF9F00;
}

.po-guild-info-card--desc .po-guild-info-card__head i {
    background: rgba(255, 159, 0, 0.2);
    color: #FF9F00;
}

.po-guild-info-card--motd {
    border-left: 4px solid #17a2b8;
}

.po-guild-info-card--motd .po-guild-info-card__head {
    background: linear-gradient(90deg, rgba(23, 162, 184, 0.2) 0%, rgba(23, 162, 184, 0.04) 100%);
    color: #5bc0de;
}

.po-guild-info-card--motd .po-guild-info-card__head i {
    background: rgba(23, 162, 184, 0.2);
    color: #5bc0de;
}

@media (max-width: 768px) {
    .po-guild-show__hero-grid {
        flex-direction: column;
        text-align: center;
    }

    .po-guild-show__leader {
        justify-content: center;
    }

    .po-guild-show__meta {
        justify-content: center;
    }

    .po-guild-show__stats {
        grid-template-columns: 1fr;
    }

    .po-guild-info-grid--dual {
        grid-template-columns: 1fr;
    }

    .po-guild-show__info-grid--dual {
        grid-template-columns: 1fr;
    }

    .po-guild-toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .po-guild-toolbar__btn {
        min-height: 88px;
    }
}

.po-guild-show__panels {
    display: grid;
    gap: 16px;
}

.po-guild-show__panels--dual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.po-guild-show__panel {
    margin-bottom: 0;
}

.po-guild-show__prose {
    color: var(--po-text);
    white-space: pre-line;
    line-height: 1.65;
    font-size: 14px;
}

/* Members — card list */

.po-guild-show__members-section {
    margin-bottom: 0;
}

.po-guild-members {
    display: flex;
    flex-direction: column;
}

.po-guild-rank-block + .po-guild-rank-block {
    border-top: 1px solid var(--po-border);
}

.po-guild-rank-block__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(90deg, rgba(255, 159, 0, 0.14) 0%, rgba(255, 159, 0, 0.03) 100%);
    color: var(--po-accent);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid rgba(255, 159, 0, 0.15);
}

.po-guild-rank-block--leader .po-guild-rank-block__head {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.18) 0%, rgba(255, 159, 0, 0.04) 100%);
    color: #ffc107;
}

.po-guild-rank-block__head i {
    font-size: 12px;
}

.po-guild-rank-block__count {
    margin-left: auto;
    min-width: 22px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 10px;
    text-align: center;
}

.po-guild-rank-block__list {
    display: flex;
    flex-direction: column;
}

.po-guild-member {
    display: grid;
    grid-template-columns: 52px 1fr auto auto;
    grid-template-areas: "level body status actions";
    align-items: center;
    gap: 12px 14px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(39, 38, 24, 0.85);
    background: #0b0a05;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.po-guild-rank-block__list .po-guild-member:nth-child(even) {
    background: #12110b;
}

.po-guild-member:last-child {
    border-bottom: none;
}

.po-guild-member:hover {
    background: rgba(255, 159, 0, 0.05);
    box-shadow: inset 3px 0 0 var(--po-accent);
}

.po-guild-member--leader {
    background: rgba(255, 215, 0, 0.06) !important;
}

.po-guild-member--leader:hover {
    box-shadow: inset 3px 0 0 #ffc107;
}

.po-guild-member__level {
    grid-area: level;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(145deg, #17160d 0%, #0b0a05 100%);
    border: 1px solid #272618;
    color: var(--po-accent);
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.po-guild-member__body {
    grid-area: body;
    min-width: 0;
}

.po-guild-member__name {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--po-accent);
    text-decoration: none;
    margin-bottom: 3px;
    word-break: break-word;
}

.po-guild-member__name:hover {
    color: #fff;
}

.po-guild-member__title {
    display: block;
    font-size: 12px;
    color: var(--po-text-muted);
    font-style: italic;
}

.po-guild-member__title--empty {
    opacity: 0.45;
    font-style: normal;
}

.po-guild-member__nick-form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.po-guild-member__nick-input {
    flex: 1;
    min-width: 120px;
    max-width: 200px;
    padding: 8px 10px;
    background: #0b0a05;
    border: 1px solid #272618;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.po-guild-member__nick-input:focus {
    outline: none;
    border-color: var(--po-accent);
    box-shadow: 0 0 0 2px rgba(255, 159, 0, 0.15);
}

.po-guild-member__status {
    grid-area: status;
}

.po-guild-member__actions {
    grid-area: actions;
}

.po-guild-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.po-guild-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.po-guild-status--online {
    background: rgba(40, 167, 69, 0.15);
    color: #5dd879;
    border: 1px solid rgba(40, 167, 69, 0.35);
}

.po-guild-status--online::before {
    background: #28a745;
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.8);
}

.po-guild-status--offline {
    background: rgba(108, 117, 125, 0.12);
    color: #9aa0a6;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

.po-guild-status--offline::before {
    background: #6c757d;
}

/* Guild action buttons (scoped, always styled) */

.po-guild-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.po-guild-btn:hover {
    transform: translateY(-1px);
}

.po-guild-btn--save {
    background: linear-gradient(135deg, #FF9F00 0%, #ff8c00 100%);
    color: #000;
    box-shadow: 0 2px 8px rgba(255, 159, 0, 0.35);
}

.po-guild-btn--save:hover {
    box-shadow: 0 4px 12px rgba(255, 159, 0, 0.5);
}

.po-guild-btn--kick {
    width: 38px;
    height: 38px;
    padding: 0;
    background: rgba(220, 53, 69, 0.12);
    color: #ff6b7a;
    border: 1px solid rgba(220, 53, 69, 0.45);
}

.po-guild-btn--kick:hover {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.po-guild-btn--cancel {
    background: rgba(220, 53, 69, 0.1);
    color: #ff8a96;
    border: 1px solid rgba(220, 53, 69, 0.35);
}

.po-guild-btn--cancel:hover {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
}

.po-guild-btn--leave {
    padding: 12px 22px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
    font-size: 13px;
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.35);
}

.po-guild-btn--leave:hover {
    box-shadow: 0 4px 14px rgba(220, 53, 69, 0.5);
}

/* Invitations */

.po-guild-invites {
    list-style: none;
    margin: 0;
    padding: 0;
}

.po-guild-invite {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid #272618;
    background: #0b0a05;
}

.po-guild-invite:nth-child(even) {
    background: #12110b;
}

.po-guild-invite:last-child {
    border-bottom: none;
}

.po-guild-invite__level {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(23, 162, 184, 0.12);
    border: 1px solid rgba(23, 162, 184, 0.35);
    color: #5bc0de;
    font-weight: 800;
    font-size: 16px;
}

.po-guild-invite__body {
    min-width: 0;
}

.po-guild-invite__action {
    margin: 0;
}

/* Leave guild */

.po-guild-leave {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.po-guild-leave__text {
    margin: 0;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(220, 53, 69, 0.08);
    border-left: 3px solid #dc3545;
    color: var(--po-text);
    font-size: 13px;
    line-height: 1.5;
}

.po-guild-leave__text i {
    color: #dc3545;
    margin-right: 6px;
}

.po-guild-leave__form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
}

.po-guild-leave__field {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.po-guild-leave__field > span {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--po-text-muted);
}

.po-guild-leave__select {
    width: 100%;
    padding: 11px 12px;
    background: #0b0a05;
    border: 2px solid #272618;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.po-guild-leave__select:focus {
    outline: none;
    border-color: var(--po-accent);
    box-shadow: 0 0 0 2px rgba(255, 159, 0, 0.15);
}

@media (max-width: 768px) {
    .po-guild-member {
        grid-template-columns: 44px 1fr;
        grid-template-areas:
            "level body"
            "status actions";
    }

    .po-guild-member__level {
        width: 44px;
        height: 44px;
        font-size: 14px;
    }

    .po-guild-member__status {
        justify-self: start;
    }

    .po-guild-member__actions {
        justify-self: end;
    }

    .po-guild-invite {
        grid-template-columns: 44px 1fr;
        grid-template-rows: auto auto;
    }

    .po-guild-invite__action {
        grid-column: 1 / -1;
    }

    .po-guild-invite__action .po-guild-btn {
        width: 100%;
    }

    .po-guild-leave__form {
        flex-direction: column;
        align-items: stretch;
    }

    .po-guild-btn--leave {
        width: 100%;
    }
}

/* Guild subpages (manager, invite, change-rank, etc.) */

.po-guild-sub {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.po-guild-subnav {
    margin-bottom: 0;
}

.po-guild-subnav .po-section__body {
    padding: 12px;
}

.po-guild-sub__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 20px;
    text-align: center;
    color: #aaa;
}

.po-guild-sub__empty i {
    font-size: 32px;
    color: #666;
}

.po-guild-sub__empty h2 {
    margin: 0;
    font-size: 18px;
    color: #fff;
}

.po-guild-sub__empty p {
    margin: 0;
    max-width: 420px;
    line-height: 1.6;
}

.po-guild-sub__empty--success i {
    color: #28a745;
}

.po-guild-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.po-guild-form--inline {
    flex: 1;
    min-width: 0;
}

.po-guild-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.po-guild-form__field > label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #FF9F00;
}

.po-guild-form__input,
.po-guild-form__textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #272618;
    border-radius: 6px;
    background: #0b0a05;
    color: #eee;
    font-size: 14px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.po-guild-form__input--select {
    max-width: 280px;
}

.po-guild-form__input--file {
    padding: 8px;
    font-size: 13px;
}

.po-guild-form__input:focus,
.po-guild-form__textarea:focus {
    outline: none;
    border-color: #FF9F00;
    box-shadow: 0 0 0 2px rgba(255, 159, 0, 0.15);
}

.po-guild-form__textarea {
    min-height: 100px;
    resize: vertical;
    line-height: 1.6;
}

.po-guild-form__hint {
    margin: 0;
    font-size: 12px;
    color: #777;
    line-height: 1.5;
}

.po-guild-form__hint i {
    color: #17a2b8;
    margin-right: 4px;
}

.po-guild-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.po-guild-manager-logo {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.po-guild-manager-logo__preview {
    flex-shrink: 0;
    padding: 6px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FF9F00 0%, #ff8c00 50%, #272618 100%);
    box-shadow: 0 4px 16px rgba(255, 159, 0, 0.2);
}

.po-guild-manager-logo__preview .po-guild-show__logo {
    width: 96px;
    height: 96px;
}

.po-guild-change-row {
    flex-wrap: wrap;
    gap: 12px;
}

.po-guild-change-row__form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.po-guild-change-row__select {
    min-width: 140px;
    max-width: 200px;
    padding: 8px 10px;
    border: 1px solid #272618;
    border-radius: 6px;
    background: #0b0a05;
    color: #eee;
    font-size: 13px;
}

.po-guild-change-row__select:focus {
    outline: none;
    border-color: #FF9F00;
}

.po-guild-ranks-table-wrap {
    overflow-x: auto;
}

.po-guild-ranks-table {
    width: 100%;
    border-collapse: collapse;
}

.po-guild-ranks-table th,
.po-guild-ranks-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #272618;
    text-align: left;
    vertical-align: middle;
}

.po-guild-ranks-table thead th {
    background: rgba(255, 159, 0, 0.12);
    color: #FF9F00;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.po-guild-ranks-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.po-guild-ranks-table tbody tr:hover {
    background: rgba(255, 159, 0, 0.05);
}

.po-guild-ranks-form__footer {
    padding: 14px;
    border-top: 1px solid #272618;
}

.po-guild-rank-delete {
    padding: 14px;
    border-top: 1px solid #272618;
}

.po-guild-rank-delete__label {
    display: block;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
}

.po-guild-rank-delete__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.po-guild-ranks-add {
    padding: 14px;
    border-top: 1px solid #272618;
    background: rgba(255, 159, 0, 0.04);
}

.po-guild-ranks-add__label {
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #FF9F00;
}

.po-guild-ranks-add__fields {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}

.po-guild-ranks-add__fields .po-guild-form__field {
    flex: 1;
    min-width: 160px;
}

@media (max-width: 768px) {
    .po-guild-change-row__form {
        margin-left: 0;
        width: 100%;
    }

    .po-guild-change-row__select {
        flex: 1;
        max-width: none;
    }

    .po-guild-manager-logo {
        flex-direction: column;
    }

    .po-guild-ranks-add__fields {
        flex-direction: column;
        align-items: stretch;
    }
}

.po-inline-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* ── Components (forms, cards, tables) ──────────────────── */

.po-field,
.custom-field,
.form-control.custom-field {
    width: 100%;
    padding: 10px 12px;
    background-color: #0b0a05;
    border: 2px solid #272618;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    color-scheme: dark;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.po-field:focus,
.custom-field:focus,
.form-control.custom-field:focus {
    outline: none;
    background-color: #0b0a05;
    border-color: #FF9F00;
    box-shadow: 0 0 0 2px rgba(255, 159, 0, 0.15);
    color: #fff;
}

.po-field:-webkit-autofill,
.po-field:-webkit-autofill:hover,
.po-field:-webkit-autofill:focus,
.po-field:-webkit-autofill:active,
.custom-field:-webkit-autofill,
.custom-field:-webkit-autofill:hover,
.custom-field:-webkit-autofill:focus,
.custom-field:-webkit-autofill:active,
.form-control.custom-field:-webkit-autofill,
.form-control.custom-field:-webkit-autofill:hover,
.form-control.custom-field:-webkit-autofill:focus,
.form-control.custom-field:-webkit-autofill:active {
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff;
    box-shadow: 0 0 0 1000px #0b0a05 inset !important;
    -webkit-box-shadow: 0 0 0 1000px #0b0a05 inset !important;
    transition: background-color 99999s ease-out 0s;
}

.po-card {
    background: var(--po-gradient-surface);
    border-left: 4px solid var(--po-accent);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.po-card-header {
    background: linear-gradient(135deg, #FF9F00 0%, #ff8c00 100%);
    padding: 15px;
    border-radius: 8px 8px 0 0;
    margin: -20px -20px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.po-card-header h3 {
    margin: 0;
    color: #000;
    font-weight: bold;
    font-size: 18px;
}

.po-card-header.light h3,
.po-card-header.light i {
    color: #fff;
}

.po-card-header.danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.po-card-header.info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
}

.po-stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    font-size: 12px;
}

.po-stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ccc;
}

.po-stat-item strong {
    color: inherit;
}

.po-table-dark {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 14px;
}

.po-table-dark th,
.po-table-dark td {
    padding: 12px;
    border-bottom: 1px solid #272618;
    vertical-align: middle;
}

.po-table-dark thead th {
    background: #0b0a05;
    color: #fff;
    border-bottom: 2px solid #272618;
}

.po-table-dark tbody tr:nth-child(odd) {
    background: #17160d;
}

.po-table-dark tbody tr:nth-child(even) {
    background: #0b0a05;
}

.po-tab-bar {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid #272618;
    margin-bottom: 20px;
}

.po-tab-btn {
    flex: 1;
    padding: 12px;
    background: linear-gradient(135deg, #0b0a05 0%, #17160d 100%);
    color: #ccc;
    border: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
}

.po-tab-btn.active,
.po-tab-btn:hover {
    background: linear-gradient(135deg, #FF9F00 0%, #ff8c00 100%);
    color: #fff;
}

.po-tab-panel {
    display: none;
}

.po-tab-panel.active {
    display: block;
}

.po-link {
    color: #FF9F00;
    text-decoration: none;
    font-weight: bold;
}

.po-link:hover {
    color: #fff;
}

.po-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.po-badge-success { background: #28a745; color: #fff; }
.po-badge-danger { background: #dc3545; color: #fff; }
.po-badge-muted { background: #6c757d; color: #fff; }
.po-badge-gold { background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); color: #000; }
.po-badge-info { background: #17a2b8; color: #fff; }
.po-badge-warning { background: #ffc107; color: #000; }

.po-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #FF9F00 0%, #ff8c00 100%);
    border: none;
    border-radius: 6px;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 159, 0, 0.3);
}

.po-btn-primary:hover {
    transform: translateY(-2px);
    color: #000;
    box-shadow: 0 4px 12px rgba(255, 159, 0, 0.5);
}

.po-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.po-btn-secondary {
    background: linear-gradient(135deg, #2a2920 0%, #17160d 100%);
    color: #FF9F00;
    border: 1px solid #FF9F00;
}

.po-btn-secondary:hover {
    color: #fff;
    background: #17160d;
}

.po-btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.po-btn-success:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.45);
}

.po-btn-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(23, 162, 184, 0.3);
}

.po-btn-info:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.45);
}

.po-btn-ghost {
    background: transparent;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    color: inherit;
    font-weight: bold;
    cursor: pointer;
}

.po-btn-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid #555;
    border-radius: 6px;
    color: #bbb;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.po-btn-cancel:hover {
    border-color: #FF9F00;
    color: #fff;
    background: rgba(255, 159, 0, 0.08);
}

.po-btn-sm {
    padding: 8px 14px;
    font-size: 12px;
}

/* Auth pages — login & register share po-page--auth */

.po-page--auth .po-page__body {
    display: block;
    padding: 0;
}

.po-auth-card {
    width: 100%;
    max-width: none;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 28px 32px 36px;
    box-shadow: none;
    box-sizing: border-box;
}

.po-auth-card__head {
    text-align: center;
    margin-bottom: 28px;
}

.po-auth-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 159, 0, 0.12);
    border: 2px solid rgba(255, 159, 0, 0.35);
    border-radius: 50%;
    font-size: 24px;
    color: #FF9F00;
}

.po-auth-card__head h2 {
    margin: 0 0 6px;
    font-size: 20px;
    color: #fff;
}

.po-auth-card__head p {
    margin: 0;
    font-size: 13px;
    color: #888;
}

.po-auth-card .po-account-form {
    max-width: none;
    width: 100%;
}

.po-auth-card .po-form-group {
    margin-bottom: 18px;
}

.po-auth-card .form-control.custom-field {
    width: 100%;
    box-sizing: border-box;
}

.po-auth-card__footer {
    margin: 20px 0 0;
    text-align: center;
    font-size: 13px;
    color: #888;
}

.po-auth-card__footer a {
    color: #FF9F00;
    font-weight: 600;
    text-decoration: none;
}

.po-auth-card__footer a:hover {
    color: #fff;
}

.po-form-actions--center {
    justify-content: center;
}

.po-rules-link {
    display: inline;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    color: #FF9F00;
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.po-rules-link:hover {
    color: #fff;
}

.po-rules-modal__section {
    margin-bottom: 18px;
}

.po-rules-modal__section:last-child {
    margin-bottom: 0;
}

.po-rules-modal__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: #FF9F00;
}

.po-rules-modal__title i {
    width: 16px;
    text-align: center;
}

.po-input-with-btn {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.po-input-with-btn .form-control {
    flex: 1;
}

.po-input-with-btn__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    flex-shrink: 0;
    border: 1px solid #272618;
    border-radius: 6px;
    background: #0b0a05;
    color: #FF9F00;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.po-input-with-btn__toggle:hover {
    border-color: #FF9F00;
}

.po-check-item--block {
    margin-bottom: 10px;
}

/* Legacy HTML — harmonize imported pages (shop, tasks, etc.) */

.po-legacy-content {
    color: var(--po-text);
    font-size: 14px;
    line-height: 1.6;
}

/* Standalone legacy (shop) — acts as full page card */
.po-legacy-content--standalone {
    background: rgba(0, 0, 0, 0.82);
    border: 1px solid var(--po-border);
    border-radius: var(--po-radius);
    box-shadow: var(--po-shadow);
    overflow: hidden;
}

.po-legacy-content--standalone > .main-container.box {
    margin: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    padding-bottom: 0;
}

/* Embedded legacy — outer po-page already has header */
.po-legacy-content--embedded .main-container.box {
    margin: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.po-legacy-content--embedded .left-header,
.po-legacy-content--embedded .left-header.center {
    display: none !important;
}

.po-legacy-content .left-header,
.po-legacy-content .left-header.center {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin: 0 0 16px;
    padding: 12px 16px;
    background: var(--po-gradient-accent);
    color: var(--po-text-on-accent);
    font-weight: 700;
    font-size: 15px;
    border: none;
    border-radius: var(--po-radius) var(--po-radius) 0 0;
}

.po-legacy-content .left-header.center {
    justify-content: center;
}

.po-legacy-content .left-header h1 {
    margin: 0;
    font-size: inherit;
    color: inherit;
}

.po-legacy-content .tabela-login,
.po-legacy-content .table-buypoints,
.po-legacy-content .table-shopoffers,
.po-legacy-content .table-servinfo,
.po-legacy-content .table-methodpoints {
    width: 100%;
    margin: 0 auto 16px;
}

.po-legacy-content .table {
    color: var(--po-text);
    margin-bottom: 0;
    border-collapse: collapse;
}

.po-legacy-content .table thead tr {
    background: var(--po-gradient-accent) !important;
}

.po-legacy-content .table thead th {
    color: var(--po-text-on-accent) !important;
    font-weight: 700;
    border: none !important;
    padding: 12px !important;
}

.po-legacy-content .table tbody tr {
    background: var(--po-surface-1) !important;
    border-bottom: 1px solid var(--po-border) !important;
}

.po-legacy-content .table tbody tr:nth-child(even) {
    background: var(--po-surface-0) !important;
}

.po-legacy-content .table tbody tr:hover {
    background: var(--po-surface-2) !important;
}

.po-legacy-content .table td,
.po-legacy-content .table th {
    border-color: var(--po-border) !important;
    vertical-align: middle;
    padding: 12px !important;
}

.po-legacy-content [style*="background:linear-gradient(135deg, #0b0a05"],
.po-legacy-content [style*="background: linear-gradient(135deg, #0b0a05"],
.po-legacy-content [style*="background-color:#17160d"],
.po-legacy-content [style*="background-color: #17160d"] {
    background: var(--po-gradient-surface) !important;
    border-left: 4px solid var(--po-accent) !important;
    border-radius: var(--po-radius) !important;
}

.po-legacy-content [style*="background:linear-gradient(135deg, #FF9F00"],
.po-legacy-content [style*="background: linear-gradient(135deg, #FF9F00"],
.po-legacy-content [style*="background-color:#FF9F00"] {
    background: var(--po-gradient-accent) !important;
    color: var(--po-text-on-accent) !important;
}

.po-legacy-content .form-control,
.po-legacy-content input.form-control,
.po-legacy-content textarea.form-control,
.po-legacy-content select.form-control {
    background-color: var(--po-surface-0);
    border: 1px solid var(--po-border);
    color: var(--po-text-bright);
    border-radius: var(--po-radius-sm);
}

.po-legacy-content .form-control:focus {
    border-color: var(--po-accent);
    box-shadow: 0 0 0 2px rgba(255, 159, 0, 0.15);
    color: var(--po-text-bright);
}

.po-legacy-content select {
    background-color: var(--po-surface-0);
    border: 1px solid var(--po-border);
    color: var(--po-text-bright);
}

.po-legacy-content select option {
    background-color: var(--po-surface-1);
    color: var(--po-text-bright);
}

.po-legacy-content .btn,
.po-legacy-content button[type="submit"],
.po-legacy-content a.btn {
    border-radius: var(--po-radius-sm);
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.po-legacy-content .btn-primary,
.po-legacy-content .btn-orange {
    background: var(--po-gradient-accent) !important;
    border: none !important;
    color: var(--po-text-on-accent) !important;
}

.po-legacy-content .btn-success,
.po-legacy-content button[style*="28a745"] {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    border: none !important;
    color: #fff !important;
}

.po-legacy-content .btn-secondary,
.po-legacy-content .btn-warning,
.po-legacy-content button[style*="6c757d"] {
    background: var(--po-gradient-surface) !important;
    border: 1px solid var(--po-border) !important;
    color: var(--po-accent) !important;
}

.po-legacy-content a {
    color: var(--po-accent);
    font-weight: 600;
}

.po-legacy-content a:hover {
    color: var(--po-text-bright);
}

.po-legacy-content img {
    max-width: 100%;
    height: auto;
}

.po-legacy-content .tasktip:hover .tasktiptext,
.po-legacy-content .servtip:hover .servtiptext {
    visibility: visible;
    opacity: 1;
}

.po-legacy-content .admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: var(--po-radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid var(--po-border);
}

.po-legacy-content .admin-btn-primary {
    background: var(--po-gradient-accent);
    color: var(--po-text-on-accent);
    border-color: var(--po-accent);
}

.po-legacy-content .admin-btn-secondary {
    background: var(--po-surface-1);
    color: var(--po-accent);
}

.po-legacy-content .admin-btn-danger {
    background: rgba(220, 53, 69, 0.15);
    color: #ff8a95;
    border-color: rgba(220, 53, 69, 0.4);
}

.po-badge--accent {
    background: var(--po-accent);
    color: var(--po-text-on-accent);
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.po-equip-grid {
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.po-equip-slot {
    border: 1px solid #272618;
    background: #17160d;
    padding: 2px;
    width: 36px;
    height: 36px;
    text-align: center;
}

.po-equip-slot img {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
    display: block;
    margin: 0 auto;
}

.po-equip-slot.empty {
    background: #0b0a05;
}

.po-progress {
    width: 100%;
    height: 12px;
    background: #0b0a05;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #272618;
}

.po-progress > span {
    display: block;
    height: 100%;
    border-radius: 6px;
    transition: width 0.3s ease;
}

.po-progress.green > span { background: linear-gradient(90deg, #28a745 0%, #20c997 100%); }
.po-progress.blue > span { background: linear-gradient(90deg, #17a2b8 0%, #138496 100%); }

.modal-content.po-modal {
    background-color: #17160d;
    border: 1px solid #FF9F00;
}

.modal-content.po-modal .modal-header {
    background-color: #FF9F00;
    border-bottom: 1px solid #FF9F00;
}

.modal-content.po-modal .modal-body {
    background-color: #0b0a05;
    color: #fff;
}

.modal-content.po-modal .modal-footer {
    background-color: #17160d;
    border-top: 1px solid #FF9F00;
}

.po-register-table .form-control {
    background: #0b0a05;
    border-color: #272618;
    color: #fff;
}

.po-register-table td:first-child {
    width: 30%;
    color: #fff;
    font-weight: bold;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .po-tab-bar { flex-direction: column; }
    .po-equip-house { flex-direction: column !important; }
    .po-header__nav { display: none !important; }
    .po-layout__sidebar { margin-bottom: 15px; }
}

/* ── Overrides: harmonize legacy style.css with modern shell ── */

html.po-root {
    overflow: auto;
    height: auto;
    background-size: cover;
    background-attachment: fixed;
}

body.po-body {
    padding-top: 0;
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: rgba(44, 62, 80, 0.2);
}

.po-account__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 159, 0, 0.15);
    color: #ccc;
}

.po-account__row:last-child {
    border-bottom: none;
}

.po-account__row strong {
    color: #fff;
}

/* ── Account hub layout ─────────────────────────────────── */

.po-page--account .po-page__body {
    padding: 12px;
}

.po-account-hub {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.po-account-topnav {
    display: flex;
    align-items: stretch;
    gap: 10px;
    background: linear-gradient(180deg, #17160d 0%, #0b0a05 100%);
    border: 1px solid #272618;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.po-account-topnav__links {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #FF9F00 #0b0a05;
}

.po-account-topnav__links::-webkit-scrollbar {
    height: 4px;
}

.po-account-topnav__links::-webkit-scrollbar-thumb {
    background: #FF9F00;
    border-radius: 2px;
}

.po-account-topnav__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 14px;
    color: #aaa;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.po-account-topnav__link i {
    color: #FF9F00;
    font-size: 13px;
    opacity: 0.9;
}

.po-account-topnav__link:hover {
    background: rgba(255, 159, 0, 0.08);
    color: #fff;
}

.po-account-topnav__link.is-active {
    background: rgba(255, 159, 0, 0.12);
    color: #fff;
    border-bottom-color: #FF9F00;
}

.po-account-topnav__logout-form {
    flex-shrink: 0;
    margin: 0;
    border-left: 1px solid #272618;
}

.po-account-topnav__logout {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 100%;
    padding: 11px 16px;
    border: none;
    background: rgba(220, 53, 69, 0.08);
    color: #ff6b7a;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.po-account-topnav__logout:hover {
    background: rgba(220, 53, 69, 0.2);
    color: #fff;
}

.po-account-hub__main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Hero */

.po-account-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 20px;
    padding: 20px 22px;
    background: linear-gradient(135deg, #17160d 0%, #0b0a05 60%, #1a1810 100%);
    border: 1px solid #272618;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.po-account-hero__avatar {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 159, 0, 0.12);
    border: 2px solid rgba(255, 159, 0, 0.35);
    border-radius: 50%;
    font-size: 36px;
    color: #FF9F00;
    flex-shrink: 0;
}

.po-account-hero__text {
    flex: 1;
    min-width: 180px;
}

.po-account-hero__eyebrow {
    margin: 0 0 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #FF9F00;
    font-weight: 600;
}

.po-account-hero__title {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.po-account-hero__sub {
    margin: 0;
    font-size: 13px;
    color: #888;
}

.po-account-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Stat cards */

.po-account-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.po-stat-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: #17160d;
    border: 1px solid #272618;
    border-radius: 8px;
    transition: border-color 0.2s ease;
}

.po-stat-card:hover {
    border-color: rgba(255, 159, 0, 0.35);
}

.po-stat-card__icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 159, 0, 0.1);
    border-radius: 8px;
    color: #FF9F00;
    font-size: 18px;
    flex-shrink: 0;
}

.po-stat-card--premium .po-stat-card__icon {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 159, 0, 0.15));
    color: #FFD700;
}

.po-stat-card--points .po-stat-card__icon {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
}

.po-stat-card__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.po-stat-card__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #777;
    font-weight: 600;
}

.po-stat-card__body strong {
    font-size: 17px;
    color: #fff;
    font-weight: 700;
}

.po-stat-card__truncate {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.po-stat-card__body small {
    font-size: 12px;
    color: #888;
}

/* Quick tiles */

.po-account-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.po-account-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 10px;
    background: #17160d;
    border: 1px solid #272618;
    border-radius: 8px;
    color: #ccc;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.po-account-tile i {
    font-size: 22px;
    color: #FF9F00;
}

.po-account-tile em {
    display: inline-block;
    margin-left: 4px;
    padding: 1px 6px;
    background: rgba(255, 159, 0, 0.2);
    border-radius: 10px;
    color: #FF9F00;
    font-style: normal;
    font-size: 11px;
}

.po-account-tile:hover {
    border-color: #FF9F00;
    color: #fff;
    transform: translateY(-2px);
}

.po-account-tile--accent {
    border-color: rgba(255, 159, 0, 0.4);
    background: linear-gradient(180deg, #1f1d12 0%, #17160d 100%);
}

/* Banners */

.po-account-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.po-account-banner strong {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
}

.po-account-banner p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #aaa;
}

.po-account-banner--warn {
    background: rgba(255, 193, 7, 0.08);
    border-color: rgba(255, 193, 7, 0.35);
}

.po-account-banner--warn strong i {
    color: #ffc107;
}

.po-account-banner--info {
    background: rgba(23, 162, 184, 0.1);
    border-color: rgba(23, 162, 184, 0.35);
    margin-bottom: 16px;
}

.po-account-banner--info strong {
    color: #5bc0de;
}

.po-account-banner--danger {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.35);
}

.po-account-banner--danger strong i {
    color: #dc3545;
}

/* Panels */

.po-account-panel {
    background: #17160d;
    border: 1px solid #272618;
    border-radius: 10px;
    overflow: hidden;
}

.po-account-panel--admin {
    border-color: rgba(23, 162, 184, 0.4);
}

.po-account-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #FF9F00 0%, #ff8c00 100%);
    color: #000;
}

.po-account-panel__head--danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
}

.po-account-panel__head h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.po-account-panel__meta {
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.po-account-panel__body {
    padding: 18px;
}

.po-account-panel__body--flush {
    padding: 0;
}

.po-account-empty {
    text-align: center;
    padding: 40px 20px;
    color: #888;
}

.po-account-empty i {
    font-size: 48px;
    color: #555;
    margin-bottom: 12px;
    display: block;
}

.po-account-empty p {
    margin: 0 0 16px;
    color: #aaa;
}

/* Character list */

.po-char-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.po-char-list__item {
    display: grid;
    grid-template-columns: 72px 1fr auto auto;
    grid-template-rows: auto auto;
    grid-template-areas:
        "outfit info status actions"
        "outfit info status actions";
    align-items: center;
    gap: 8px 14px;
    padding: 14px 16px;
    border-bottom: 1px solid #272618;
    transition: background 0.15s ease;
}

.po-char-list__item:last-child {
    border-bottom: none;
}

.po-char-list__item:hover {
    background: rgba(255, 159, 0, 0.04);
}

.po-char-list__item.is-deleted {
    opacity: 0.65;
}

.po-char-list__outfit {
    grid-area: outfit;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b0a05;
    border-radius: 6px;
    border: 1px solid #272618;
    overflow: hidden;
}

.po-char-list__outfit img {
    image-rendering: pixelated;
}

.po-char-list__info {
    grid-area: info;
    min-width: 0;
}

.po-char-list__name {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #FF9F00;
    text-decoration: none;
    margin-bottom: 4px;
}

.po-char-list__name:hover {
    color: #fff;
}

.po-char-list__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
}

.po-char-list__meta i {
    color: #FF9F00;
    margin-right: 4px;
}

.po-char-list__guild a {
    font-size: 12px;
    color: #aaa;
    text-decoration: none;
}

.po-char-list__guild a:hover {
    color: #FF9F00;
}

.po-char-list__status {
    grid-area: status;
}

.po-char-list__actions {
    grid-area: actions;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Pills & icon buttons */

.po-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.po-pill--online {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.35);
}

.po-pill--offline {
    background: rgba(108, 117, 125, 0.15);
    color: #aaa;
    border: 1px solid #444;
}

.po-pill--danger {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.35);
}

.po-pill__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #28a745;
    animation: po-pulse 1.5s ease infinite;
}

@keyframes po-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.po-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #272618;
    border-radius: 6px;
    background: #0b0a05;
    color: #aaa;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.po-icon-btn:hover {
    border-color: #FF9F00;
    color: #FF9F00;
}

.po-icon-btn--danger:hover {
    border-color: #dc3545;
    color: #dc3545;
}

.po-icon-btn--success:hover {
    border-color: #28a745;
    color: #28a745;
}

/* Settings grid */

.po-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.po-settings-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    background: #0b0a05;
    border: 1px solid #272618;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.po-settings-card i {
    font-size: 22px;
    color: #FF9F00;
}

.po-settings-card__title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.po-settings-card__desc {
    font-size: 12px;
    color: #777;
    line-height: 1.4;
}

.po-settings-card:hover {
    border-color: #FF9F00;
    transform: translateY(-2px);
}

.po-settings-card--highlight {
    border-color: rgba(255, 159, 0, 0.45);
    background: linear-gradient(180deg, #1a1810 0%, #0b0a05 100%);
}

.po-settings-card.is-active {
    border-color: #FF9F00;
    background: rgba(255, 159, 0, 0.1);
    box-shadow: inset 0 0 0 1px rgba(255, 159, 0, 0.25);
}

/* Account nav — compact quick actions grid */

.po-account-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.po-account-nav .po-settings-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 8px;
}

.po-settings-card--compact {
    padding: 10px 10px;
    gap: 4px;
    border-radius: 6px;
}

.po-settings-card--compact i {
    font-size: 15px;
}

.po-settings-card--compact .po-settings-card__title {
    font-size: 12px;
    line-height: 1.2;
}

.po-settings-card--compact .po-settings-card__desc {
    font-size: 10px;
    line-height: 1.25;
}

.po-settings-card--compact:hover {
    transform: translateY(-1px);
}

.po-account-nav__logout {
    margin: 0;
}

.po-account-nav__logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #272618;
    border-radius: 6px;
    background: #0b0a05;
    color: #e8a0a8;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.po-account-nav__logout-btn i {
    font-size: 13px;
}

.po-account-nav__logout-btn:hover {
    background: rgba(220, 53, 69, 0.12);
    border-color: rgba(220, 53, 69, 0.45);
    color: #fff;
}

/* Definition list */

.po-dl {
    margin: 0;
}

.po-dl__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 159, 0, 0.1);
}

.po-dl__row:last-child {
    border-bottom: none;
}

.po-dl__row dt {
    font-size: 13px;
    color: #888;
    font-weight: 600;
}

.po-dl__row dd {
    margin: 0;
    font-size: 13px;
    color: #fff;
    font-weight: 600;
    text-align: right;
}

/* Forms */

.po-account-form-intro {
    margin: 0 0 18px;
    font-size: 13px;
    color: #aaa;
    line-height: 1.5;
}

.po-account-form {
    max-width: 480px;
}

.po-form-group {
    margin-bottom: 16px;
}

.po-form-group label,
.po-form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #ccc;
}

.po-form-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #777;
}

.po-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    padding-top: 4px;
}

.po-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.po-radio-group--stack {
    flex-direction: column;
}

.po-radio-card {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.po-radio-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.po-radio-card span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #0b0a05;
    border: 1px solid #272618;
    border-radius: 6px;
    color: #ccc;
    font-size: 13px;
    font-weight: 600;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.po-radio-card--wide span {
    width: 100%;
}

.po-radio-card input:checked + span {
    border-color: #FF9F00;
    background: rgba(255, 159, 0, 0.1);
    color: #fff;
}

.po-radio-card:hover span {
    border-color: rgba(255, 159, 0, 0.5);
}

.po-code-input {
    font-size: 24px;
    letter-spacing: 0.3em;
    text-align: center;
    max-width: 200px;
}

.po-textarea {
    min-height: 100px;
    resize: vertical;
    line-height: 1.5;
}

.po-check-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.po-check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    color: #ccc;
    font-size: 13px;
    font-weight: 600;
}

.po-check-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #FF9F00;
}

.po-btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.po-btn-danger:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.45);
}

/* Alerts */

.po-account-alert {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 4px;
}

.po-account-alert i {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.po-account-alert p {
    margin: 0 0 4px;
}

.po-account-alert p:last-child {
    margin-bottom: 0;
}

.po-account-alert--error {
    background: rgba(220, 53, 69, 0.12);
    border: 1px solid rgba(220, 53, 69, 0.35);
    color: #ff8a95;
}

.po-account-alert--error i {
    color: #dc3545;
}

.po-account-alert--success {
    background: rgba(40, 167, 69, 0.12);
    border: 1px solid rgba(40, 167, 69, 0.35);
    color: #8fdf9f;
}

.po-account-alert--success i {
    color: #28a745;
}

/* Result screens */

.po-account-result {
    text-align: center;
    padding: 32px 24px;
    background: #17160d;
    border: 1px solid #272618;
    border-radius: 10px;
}

.po-account-result__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(40, 167, 69, 0.12);
    border-radius: 50%;
    font-size: 28px;
    color: #28a745;
}

.po-account-result__title {
    margin: 0 0 8px;
    font-size: 20px;
    color: #fff;
}

.po-account-result__text {
    margin: 0 0 16px;
    font-size: 14px;
    color: #aaa;
    line-height: 1.5;
}

.po-account-result__warn {
    margin: 12px 0;
    font-size: 13px;
    color: #ffc107;
}

.po-account-result__reward {
    margin: 12px 0 20px;
    font-size: 14px;
    color: #28a745;
    font-weight: 600;
}

.po-recovery-key {
    display: inline-block;
    margin: 12px 0;
    padding: 12px 20px;
    background: #0b0a05;
    border: 2px dashed #FF9F00;
    border-radius: 8px;
    font-family: monospace;
    font-size: 18px;
    font-weight: 700;
    color: #FF9F00;
    letter-spacing: 0.08em;
    word-break: break-all;
}

.po-recovery-key--inline {
    margin-top: 12px;
    font-size: 16px;
}

/* World picker */

.po-world-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.po-world-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #0b0a05;
    border: 1px solid #272618;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.po-world-card i:first-child {
    color: #FF9F00;
    font-size: 18px;
}

.po-world-card__arrow {
    margin-left: auto;
    color: #555;
    font-size: 12px;
}

.po-world-card:hover {
    border-color: #FF9F00;
    transform: translateX(4px);
}

.po-world-card:hover .po-world-card__arrow {
    color: #FF9F00;
}

/* Responsive */

@media (max-width: 768px) {
    .po-account-nav .po-settings-grid--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .po-char-list__item {
        grid-template-columns: 56px 1fr;
        grid-template-areas:
            "outfit info"
            "status actions";
    }

    .po-char-list__outfit {
        width: 56px;
        height: 56px;
    }

    .po-char-list__outfit img {
        width: 48px;
        height: 48px;
    }

    .po-account-hero__actions {
        width: 100%;
    }

    .po-account-form {
        max-width: none;
    }
}

/* Info cards & content helpers */

.po-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.po-info-card {
    background: var(--po-gradient-surface);
    border-left: 4px solid var(--po-border);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #ccc;
}

.po-info-card i {
    font-size: 20px;
    color: #FF9F00;
}

.po-info-card strong {
    color: #FF9F00;
    font-size: 14px;
}

.po-info-card span {
    font-size: 13px;
    line-height: 1.5;
}

.po-info-card--accent { border-left-color: #FF9F00; }
.po-info-card--danger { border-left-color: #dc3545; }
.po-info-card--danger i, .po-info-card--danger strong { color: #dc3545; }
.po-info-card--success { border-left-color: #28a745; }
.po-info-card--success i, .po-info-card--success strong { color: #28a745; }
.po-info-card--warning { border-left-color: #ffc107; }
.po-info-card--warning i, .po-info-card--warning strong { color: #ffc107; }

.po-info-card--link {
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.po-info-card--link:hover {
    transform: translateY(-2px);
    border-left-color: #FF9F00;
    color: #fff;
}

.po-list {
    margin: 0;
    padding-left: 20px;
    line-height: 1.8;
}

.po-list li { margin-bottom: 6px; }

.po-code {
    background: #0b0a05;
    color: #28a745;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
}

.po-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 13px;
}

.po-badge--danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
}

.po-text-accent { color: #FF9F00; }
.po-text-bright { color: var(--po-text-bright); }
.po-text-danger { color: #dc3545; }
.po-text-success { color: #28a745; }
.po-text-warning { color: #ffc107; }

.po-mapa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.po-mapa-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    background: linear-gradient(135deg, #0b0a05 0%, #17160d 100%);
    border: 1px solid #272618;
    border-radius: 8px;
    text-decoration: none;
    color: #FF9F00;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.po-mapa-card:hover {
    border-color: #FF9F00;
    transform: translateY(-2px);
    color: #fff;
}

.po-mapa-card__icon { font-size: 28px; }
.po-mapa-card__name { font-weight: 600; font-size: 13px; text-align: center; }

.po-feature-tab {
    color: #FF9F00 !important;
    border: 1px solid #272618 !important;
    margin: 4px;
    border-radius: 6px !important;
    font-size: 13px;
}

.po-feature-tab.active {
    background: #17160d !important;
    color: #fff !important;
    border-color: #FF9F00 !important;
}

.po-feature-tab i { margin-right: 6px; }

.po-tab-content {
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    border: 1px solid #272618;
}

.po-feature-tab__title {
    color: #FF9F00;
    font-size: 16px;
    margin: 0 0 12px;
}

.po-monsters-table { width: 100%; }

/* -- Monster list page ----------------------------------- */

.po-monster-list-page .po-monster-guide__top {
    align-items: center;
    margin-bottom: 14px;
}

/* Toolbar: search + level filter */
.po-ml-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
}

.po-ml-search {
    position: relative;
    flex: 1 1 220px;
    min-width: 0;
}

.po-ml-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6f6a55;
    font-size: 13px;
    pointer-events: none;
}

.po-ml-search input {
    width: 100%;
    height: 36px;
    padding: 0 12px 0 34px;
    background: #12110a;
    border: 1px solid #272618;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

.po-ml-search input::placeholder {
    color: #6f6a55;
}

.po-ml-search input:focus {
    border-color: #FF9F00;
    box-shadow: 0 0 0 3px rgba(255, 159, 0, 0.12);
}

.po-ml-tiers {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.po-ml-tier {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 11px;
    background: #12110a;
    border: 1px solid #272618;
    border-radius: 6px;
    color: #c9b896;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
}

.po-ml-tier i {
    color: var(--skull, #9aa0a6);
    font-size: 11px;
}

.po-ml-tier small {
    color: #6f6a55;
    font-size: 11px;
    font-weight: 500;
}

.po-ml-tier:hover {
    border-color: #4a4630;
    color: #fff;
}

.po-ml-tier:focus-visible {
    outline: 2px solid #FF9F00;
    outline-offset: 1px;
}

.po-ml-tier.is-active {
    border-color: #FF9F00;
    background: rgba(255, 159, 0, 0.1);
    color: #FF9F00;
}

.po-ml-tier.is-active small {
    color: #c98a1f;
}

/* Table */
.po-monster-list-wrap {
    overflow-x: auto;
    border: 1px solid #272618;
    border-radius: 6px;
    background: #0b0a05;
}

.po-monster-list-table {
    border: none;
    border-radius: 0;
    margin: 0;
}

.po-monster-list-table thead th {
    padding: 9px 12px;
    color: #a59c80;
    font-size: 11px;
    letter-spacing: 0.05em;
    white-space: nowrap;
    user-select: none;
}

.po-monster-list-table tbody td {
    padding: 4px 12px;
}

.po-monster-list-table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.015);
}

.po-monster-list-table tbody tr {
    cursor: pointer;
}

.po-monster-list-table tbody tr:hover td {
    background: rgba(255, 159, 0, 0.07);
}

.po-monster-list-table .po-monster-list-col-outfit,
.po-monster-list-table .po-monster-list__outfit {
    width: 52px;
    min-width: 52px;
}

.po-monster-list-table .po-monster-list__outfit {
    padding: 4px 0 4px 12px !important;
}

.po-monster-list__outfit a {
    display: block;
    line-height: 0;
}

.po-monster-list__outfit-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #14130b;
    border: 1px solid #23221a;
    border-radius: 5px;
}

.po-monster-list-table .po-monster-list__outfit img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    image-rendering: pixelated;
}

.po-monster-list__name {
    color: #f1e9d6;
    text-decoration: none;
    font-weight: 600;
}

.po-monster-list-table tbody tr:hover .po-monster-list__name,
.po-monster-list__name:hover {
    color: #FF9F00;
    text-decoration: none;
}

.po-monster-list-table .po-num {
    color: #ded6c2;
    font-weight: 500;
}

.po-monster-list-table .po-num.is-zero {
    color: #5c5846;
}

.po-ml-level {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 46px;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid #272618;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.po-ml-level i {
    color: var(--skull, #9aa0a6);
    font-size: 10px;
}

/* DataTables chrome (no default white theme) */
.po-monster-list-page .dataTables_wrapper {
    color: #c9b896;
    font-size: 13px;
}

.po-monster-list-page .po-dt-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
}

.po-monster-list-page .po-dt-footer__right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.po-monster-list-page .dataTables_length label,
.po-monster-list-page .dataTables_info {
    color: #8f8a75;
    font-size: 12px;
    margin: 0;
    padding: 0;
}

.po-monster-list-page .dataTables_length select {
    height: 30px;
    background: #12110a;
    border: 1px solid #272618;
    border-radius: 4px;
    color: #fff;
    padding: 0 6px;
    margin: 0 4px;
    outline: none;
}

.po-monster-list-page .dataTables_length select:focus {
    border-color: #FF9F00;
}

.po-monster-list-page .dataTables_paginate {
    display: flex;
    align-items: center;
    gap: 4px;
}

.po-monster-list-page .dataTables_paginate > span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.po-monster-list-page .dataTables_paginate .ellipsis {
    color: #6f6a55;
    padding: 0 2px;
}

.po-monster-list-page .dataTables_paginate .paginate_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    border: 1px solid #272618;
    border-radius: 4px;
    background: #12110a;
    color: #c9b896 !important;
    cursor: pointer;
    font-size: 12px;
    text-decoration: none;
}

.po-monster-list-page .dataTables_paginate .paginate_button:hover {
    border-color: #FF9F00;
    color: #FF9F00 !important;
    background: #17160d !important;
}

.po-monster-list-page .dataTables_paginate .paginate_button.current {
    background: #FF9F00 !important;
    border-color: #FF9F00;
    color: #111 !important;
    font-weight: 700;
}

.po-monster-list-page .dataTables_paginate .paginate_button.disabled {
    opacity: 0.35;
    cursor: default;
}

.po-monster-list-page .dataTables_paginate .paginate_button.disabled:hover {
    border-color: #272618;
    color: #c9b896 !important;
    background: #12110a !important;
}

.po-monster-list-page table.dataTable thead .sorting,
.po-monster-list-page table.dataTable thead .sorting_asc,
.po-monster-list-page table.dataTable thead .sorting_desc {
    cursor: pointer;
    background-image: none !important;
}

.po-monster-list-page table.dataTable thead .sorting:hover {
    color: #fff;
}

.po-monster-list-page table.dataTable thead .sorting_asc,
.po-monster-list-page table.dataTable thead .sorting_desc {
    color: #FF9F00;
}

.po-monster-list-page table.dataTable thead .sorting_asc::after {
    content: ' ↑';
    font-size: 10px;
}

.po-monster-list-page table.dataTable thead .sorting_desc::after {
    content: ' ↓';
    font-size: 10px;
}

.po-monster-list-page .dataTables_empty {
    padding: 28px 12px !important;
    text-align: center !important;
    color: #8f8a75;
    cursor: default;
}

@media (max-width: 640px) {
    .po-ml-search {
        flex-basis: 100%;
    }

    .po-monster-list-table .po-ml-col-loot {
        display: none;
    }

    .po-monster-list-table thead th,
    .po-monster-list-table tbody td {
        padding-left: 8px;
        padding-right: 8px;
    }

    .po-monster-list-page .po-dt-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .po-monster-list-page .po-dt-footer__right {
        justify-content: space-between;
    }
}

/* -- Monster guide (info page) --------------------------- */

.po-monster-guide {
    color: #c9b896;
    line-height: 1.45;
}

.po-monster-guide__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #272618;
}

.po-monster-guide__top p {
    margin: 0;
    flex: 1 1 260px;
    font-size: 13px;
}

.po-monster-guide__top strong {
    color: #FF9F00;
}

.po-monster-guide__footer {
    margin-top: 20px;
    text-align: center;
}

.po-monster-block {
    margin: 0 0 20px;
}

.po-monster-block h2 {
    margin: 0 0 10px;
    font-size: 15px;
    color: #FF9F00;
    font-weight: 600;
}

.po-monster-block h2 i {
    margin-right: 6px;
}

.po-monster-compact-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: #0b0a05;
    border: 1px solid #272618;
    border-radius: 6px;
    overflow: hidden;
}

.po-monster-compact-table th,
.po-monster-compact-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #1e1d14;
    text-align: left;
    vertical-align: middle;
}

.po-monster-compact-table thead th {
    background: #17160d;
    color: #FF9F00;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.po-monster-compact-table tbody tr:last-child td {
    border-bottom: none;
}

.po-monster-compact-table tbody tr:hover td {
    background: rgba(255, 159, 0, 0.04);
}

.po-monster-compact-table .po-num {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    color: #fff;
    font-weight: 600;
}

.po-monster-skull-table .po-monster-skull-name {
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}

.po-monster-skull-table .po-monster-skull-name i {
    color: var(--skull-color, #FF9F00);
    margin-right: 6px;
    width: 14px;
    text-align: center;
}

.po-monster-hint {
    margin: 8px 0 0;
    font-size: 12px;
    color: #888;
}

.po-monster-hint-list {
    margin: 8px 0 0;
    padding-left: 18px;
    font-size: 12px;
    color: #888;
    line-height: 1.5;
}

.po-monster-intro__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.po-monster-intro__row p {
    margin: 0;
    flex: 1 1 280px;
}

.po-monster-cta {
    text-align: center;
    padding-top: 8px;
}

.po-monster-cta .btn {
    margin-top: 4px;
}

.po-monster-back__sep {
    margin: 0 8px;
    color: #555;
}

.po-monsters-page .po-monster-intro {
    margin: 0 0 20px;
    color: #c9b896;
    line-height: 1.55;
}

.po-monsters-page .po-monster-intro strong {
    color: #FF9F00;
}

.po-monster-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.po-monster-toc a {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #272618;
    border-radius: 4px;
    background: #12110a;
    color: #c9b896;
    text-decoration: none;
    font-size: 13px;
}

.po-monster-toc a:hover {
    border-color: #FF9F00;
    color: #FF9F00;
}

.po-monster-muted {
    color: #aaa;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 14px;
}

.po-monster-muted a {
    color: #FF9F00;
}

.po-monster-expcaps {
    margin-bottom: 18px;
}

.po-monster-expcaps h3 {
    font-size: 14px;
    color: #FF9F00;
    margin: 0 0 8px;
}

.po-monster-expcaps__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
}

.po-monster-expcap {
    background: linear-gradient(180deg, #17160d 0%, #0b0a05 100%);
    border: 1px solid #272618;
    border-radius: 6px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.po-monster-expcap__exp {
    color: #c9b896;
    font-size: 12px;
}

.po-monster-expcap__lvl {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.po-monster-skull-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.po-monster-skull {
    background: linear-gradient(180deg, #17160d 0%, #0b0a05 100%);
    border: 1px solid #272618;
    border-left: 3px solid var(--skull-color, #FF9F00);
    border-radius: 6px;
    padding: 14px;
}

.po-monster-skull header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.po-monster-skull h3 {
    margin: 0;
    font-size: 15px;
    color: #fff;
}

.po-monster-skull dl {
    margin: 0;
    display: grid;
    gap: 6px;
}

.po-monster-skull dl > div {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 6px;
    font-size: 12px;
}

.po-monster-skull dt {
    color: #888;
    margin: 0;
}

.po-monster-skull dd {
    margin: 0;
    color: #d8d0bc;
}

.po-monster-chance-table,
.po-monster-loot-table {
    width: 100%;
}

.po-monster-notes {
    margin: 12px 0 0;
    padding-left: 18px;
    color: #aaa;
    font-size: 13px;
    line-height: 1.55;
}

.po-monster-back {
    margin: 0 0 16px;
}

.po-monster-back a {
    color: #c9b896;
    text-decoration: none;
    font-size: 13px;
}

.po-monster-back a:hover {
    color: #FF9F00;
}

.po-monster-hero {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 22px;
    padding: 16px;
    background: linear-gradient(180deg, #17160d 0%, #0b0a05 100%);
    border: 1px solid #272618;
    border-radius: 8px;
}

.po-monster-hero__outfit {
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0905;
    border: 1px solid #272618;
    border-radius: 6px;
}

.po-monster-hero__outfit img {
    image-rendering: pixelated;
}

.po-monster-hero__stats h2 {
    margin: 0 0 12px;
    color: #FF9F00;
    font-size: 22px;
}

.po-monster-stat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px 16px;
}

.po-monster-stat-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.po-monster-stat-list span {
    color: #888;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.po-monster-stat-list strong {
    color: #fff;
    font-size: 15px;
}

.po-monster-skull-section .po-monster-skull-summary {
    margin-bottom: 8px;
}

.po-monster-skull-range {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.po-monster-skull-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 1 1 0;
    min-width: 0;
    padding: 5px 8px;
    background: #12110a;
    border: 1px solid #272618;
    border-top: 2px solid var(--skull-color, #FF9F00);
    border-radius: 4px;
    white-space: nowrap;
    font-size: 11px;
    line-height: 1.2;
}

.po-monster-skull-chip i {
    color: var(--skull-color, #FF9F00);
    font-size: 11px;
    flex-shrink: 0;
}

.po-monster-skull-chip__name {
    color: #fff;
    font-weight: 600;
}

.po-monster-skull-chip__meta {
    color: #888;
}

.po-monster-skull-chip__mult {
    color: #FF9F00;
    font-weight: 600;
    margin-left: auto;
}

@media (max-width: 720px) {
    .po-monster-skull-chip__meta {
        display: none;
    }
}

.po-monster-elements {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.po-monster-element {
    background: #12110a;
    border: 1px solid #272618;
    border-radius: 4px;
    padding: 8px 12px;
    min-width: 90px;
    text-align: center;
}

.po-monster-element span {
    display: block;
    color: #888;
    font-size: 11px;
}

.po-monster-element strong {
    color: #fff;
    font-size: 14px;
}

.po-monster-immunities {
    margin-top: 12px;
    color: #c9b896;
    font-size: 13px;
}

.po-monster-table-wrap {
    overflow-x: auto;
}

.po-monster-loot__icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    image-rendering: pixelated;
}

@media (max-width: 640px) {
    .po-monster-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .po-monster-skull dl > div {
        grid-template-columns: 1fr;
    }
}


/* -- Equipments / Weapons upgrade wiki ------------------- */

.po-equipaments .po-eq-hint {
    color: #aaa;
    font-size: 12px;
    margin-bottom: 14px;
    line-height: 1.5;
}

.po-eq-tabs {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center !important;
}

.po-eq-tabs .nav-item {
    flex: 1 1 110px;
    max-width: 160px;
}

.po-eq-tabs .nav-item a {
    display: block;
    text-align: center;
    padding: 10px 6px;
    color: #c9b896;
    text-decoration: none;
    background: linear-gradient(180deg, #17160d 0%, #0b0a05 100%);
    border: 1px solid #272618;
    border-radius: 6px;
    min-width: 90px;
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.po-eq-tabs .nav-item a img {
    image-rendering: pixelated;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.po-eq-tabs .nav-item a.active,
.po-eq-tabs .nav-item a:hover {
    border-color: #FF9F00;
    color: #FF9F00;
    box-shadow: 0 0 0 1px rgba(255, 159, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.35);
}

.po-eq-tabs h3 {
    font-size: 12px;
    margin: 6px 0 0;
    font-weight: 600;
}

.po-eq-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
    padding: 8px 12px;
    background: linear-gradient(90deg, #17160d 0%, #0b0a05 100%);
    border: 1px solid #272618;
    border-radius: 6px;
    font-size: 12px;
}

.po-eq-toolbar__count {
    color: #FF9F00;
    font-weight: 700;
}

.po-eq-toolbar__sort {
    color: #aaa;
}

.po-eq-table-wrap {
    overflow-x: auto;
    border: 1px solid #272618;
    border-radius: 6px;
}

.po-eq-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.po-eq-table thead tr {
    background: var(--po-gradient-accent, linear-gradient(135deg, #FF9F00 0%, #ff8c00 100%));
}

.po-eq-table thead th {
    background: transparent;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    border-bottom: none;
    padding: 10px 12px;
    vertical-align: middle;
}

.po-eq-table td {
    vertical-align: middle;
    font-size: 12px;
    color: #ddd;
    padding: 8px 12px;
    border-bottom: 1px solid #1a1910;
}

.po-eq-table tbody tr {
    background: #0b0a05;
    transition: background 0.15s ease;
}

.po-eq-table tbody tr:nth-child(even) {
    background: #13120a;
}

.po-eq-table tbody tr:hover {
    background: #1a1910;
}

.po-eq-table tr.po-eq-row--locked {
    opacity: 0.68;
}

.po-eq-col-icon {
    width: 44px;
    text-align: center;
}

.po-eq-col-icon img {
    image-rendering: pixelated;
}

.po-eq-name {
    color: #fff;
    font-weight: 600;
}

.po-eq-stat {
    color: #FF9F00;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.po-eq-id {
    font-size: 10px;
    color: #777;
    margin-top: 2px;
}

.po-eq-sort {
    cursor: pointer;
    user-select: none;
    position: relative;
    color: #000;
}

.po-eq-sort:hover,
.po-eq-sort:focus {
    color: #1a1200;
    outline: none;
    background: rgba(0, 0, 0, 0.08);
}

.po-eq-sort__label {
    margin-right: 6px;
}

.po-eq-sort__icons {
    display: inline-flex;
    flex-direction: column;
    font-size: 10px;
    color: rgba(0, 0, 0, 0.35);
    vertical-align: middle;
    line-height: 1;
}

.po-eq-sort__icons .fa-sort-up,
.po-eq-sort__icons .fa-sort-down {
    display: none;
}

.po-eq-sort.is-sorted {
    color: #000;
    background: rgba(0, 0, 0, 0.12);
}

.po-eq-sort.is-sorted .fa-sort {
    display: none;
}

.po-eq-sort.is-asc .fa-sort-up,
.po-eq-sort.is-desc .fa-sort-down {
    display: inline-block;
    color: #000;
}

.po-eq-class {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 11px;
    white-space: nowrap;
}

.po-eq-class--0 { background: #333; color: #aaa; }
.po-eq-class--1 { background: #4a4a4a; color: #eee; }
.po-eq-class--2 { background: #1f6b3a; color: #b8f5c8; }
.po-eq-class--3 { background: #1a4f8c; color: #b8d8ff; }
.po-eq-class--4 { background: #6b2d8c; color: #e8c4ff; }
.po-eq-class--5 { background: #8c6b1a; color: #ffe9a8; }
.po-eq-class--6 { background: #1a7a85; color: #c4f6ff; }
.po-eq-class--7 { background: #8c1f1a; color: #ffc9c4; }

.po-eq-attr {
    font-size: 11px;
    line-height: 1.45;
    max-width: 420px;
}

.po-eq-attr--none {
    color: #888;
    font-style: italic;
}

.po-eq-attr__row {
    margin-bottom: 2px;
}

.po-eq-attr__label {
    color: #FF9F00;
    font-weight: 600;
}

.po-eq-attr__tiers {
    color: #ccc;
}

.po-eq-attr-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #17160d 0%, #0b0a05 100%);
    border: 1px solid #FF9F00;
    color: #FF9F00;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.po-eq-attr-btn:hover {
    background: linear-gradient(135deg, #FF9F00 0%, #ff8c00 100%);
    color: #000;
    transform: translateY(-1px);
}

.po-eq-attr-btn--muted {
    border-color: #555;
    color: #aaa;
}

.po-eq-attr-btn--muted:hover {
    background: #333;
    color: #ddd;
    border-color: #777;
    transform: none;
}

#eqAttrModalLabel {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000;
    font-weight: 700;
}

.po-eq-modal__img {
    image-rendering: pixelated;
}

.po-eq-modal__class {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.po-eq-modal__id {
    color: #888;
    font-size: 12px;
}

.po-eq-modal__hint {
    color: #aaa;
    font-size: 12px;
    margin-bottom: 14px;
}

.po-eq-attr--modal {
    max-width: none;
    font-size: 13px;
    line-height: 1.7;
}

.po-eq-attr--modal .po-eq-attr__row {
    padding: 6px 0;
    border-bottom: 1px solid #272618;
}

.po-eq-attr--modal .po-eq-attr__row:last-child {
    border-bottom: none;
}

@media (max-width: 900px) {
    .po-eq-tabs {
        flex-wrap: wrap;
        gap: 6px;
        justify-content: center !important;
    }

    .po-eq-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* -- Item attributes guide (same compact style as /monsters) - */

.po-attr-guide a {
    color: #FF9F00;
}

.po-attr-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 18px;
}

.po-attr-toc a {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #272618;
    border-radius: 4px;
    background: #12110a;
    color: #c9b896 !important;
    text-decoration: none;
    font-size: 12px;
}

.po-attr-toc a:hover {
    border-color: #FF9F00;
    color: #FF9F00 !important;
}

.po-attr-topic {
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}

.po-attr-weapon {
    color: #8fd3a4;
    font-size: 12px;
    white-space: nowrap;
}

.po-attr-details {
    color: #aaa;
    font-size: 12px;
}

.po-attr-key {
    color: #9ecbff;
    font-size: 11px;
    background: #17160d;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #272618;
}

.po-attr-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    font-size: 10px;
    font-weight: 600;
    color: #111;
    background: #888;
    border-radius: 3px;
    vertical-align: middle;
}

.po-attr-row--pending td {
    opacity: 0.65;
}

@media (max-width: 720px) {
    .po-attr-topic {
        white-space: normal;
    }
}

/* -- Tasks guide ----------------------------------------- */

.po-tasks-picks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 14px;
}

.po-task-pick {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 18px 12px;
    border-radius: 8px;
    border: 2px solid #272618;
    background: #12110a;
    color: #c9b896;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    text-align: center;
}

.po-task-pick i {
    font-size: 22px;
}

.po-task-pick__label {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.po-task-pick__count {
    font-size: 12px;
    color: #888;
}

.po-task-pick__hint {
    font-size: 11px;
    color: #666;
}

.po-task-pick--easy {
    border-color: #2a4a2a;
}

.po-task-pick--easy i,
.po-task-pick--easy .po-task-pick__label {
    color: #88cc88;
}

.po-task-pick--easy:hover {
    background: #121a12;
    border-color: #88cc88;
}

.po-task-pick--active {
    background: #121a12;
    cursor: default;
}

.po-task-pick--easy.po-task-pick--active {
    border-color: #88cc88;
    box-shadow: 0 0 0 1px #88cc8844;
}

.po-tasks-inline {
    margin-bottom: 14px;
}

.po-tasks-inline h2 {
    margin: 0 0 10px;
    font-size: 15px;
    color: #88cc88;
    font-weight: 600;
}

.po-tasks-inline h2 i {
    margin-right: 6px;
}

.po-tasks-inline h2 .po-task-pick__count {
    margin-left: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #888;
}

.po-task-pick--medium {
    border-color: #4a4020;
}

.po-task-pick--medium i,
.po-task-pick--medium .po-task-pick__label {
    color: #e6c84a;
}

.po-task-pick--medium:hover {
    background: #1a1810;
    border-color: #e6c84a;
}

.po-task-pick--hard {
    border-color: #4a2020;
}

.po-task-pick--hard i,
.po-task-pick--hard .po-task-pick__label {
    color: #e05555;
}

.po-task-pick--hard:hover {
    background: #1a1010;
    border-color: #e05555;
}

.po-tasks-how {
    margin-bottom: 20px;
}

.po-tasks-how-list {
    margin: 0;
}

.po-tasks-legend {
    margin: 0 0 16px;
    text-align: center;
}

.po-tasks-modal {
    padding: 12px;
}

.po-tasks-table-wrap {
    overflow-x: auto;
}

.po-tasks-table {
    min-width: 680px;
}

@media (max-width: 720px) {
    .po-tasks-picks {
        grid-template-columns: 1fr;
    }
}

.po-tasks-col-outfit {
    width: 56px;
}

.po-tasks-outfit--empty {
    color: #555;
    font-size: 14px;
}

.po-tasks-exp {
    color: #ffc107 !important;
}

.po-tasks-gold {
    color: #8fd3a4 !important;
}

.po-tasks-reward__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 2px 0;
    color: #c9b896;
    font-size: 12px;
}

.po-tasks-reward__item img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    image-rendering: pixelated;
}

.po-tasks-monsters {
    font-size: 12px;
    color: #888;
    max-width: 280px;
    line-height: 1.45;
}

.po-tasks-monsters a {
    color: #c9b896 !important;
    text-decoration: none;
}

.po-tasks-monsters a:hover {
    color: #FF9F00 !important;
    text-decoration: underline;
}

.po-muted {
    color: #666;
}

/* -- Tasks tier nav (tabs) ------------------------------- */

.po-tasks-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #272618;
}

.po-tasks-tab {
    --tier-color: #FF9F00;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #2c2a1c;
    background: #12110a;
    color: #c9b896;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s, color 0.18s;
}

.po-tasks-tab i {
    font-size: 14px;
    color: var(--tier-color);
}

.po-tasks-tab:hover {
    border-color: var(--tier-color);
    color: #fff;
}

.po-tasks-tab.is-active {
    border-color: var(--tier-color);
    background: color-mix(in srgb, var(--tier-color) 14%, #12110a);
    color: #fff;
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--tier-color) 45%, transparent);
}

.po-tasks-tab--all {
    --tier-color: #FF9F00;
}

.po-tasks-tab__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: #00000040;
    border: 1px solid #ffffff14;
    font-size: 11px;
    font-weight: 700;
    color: #d8c9a6;
}

.po-tasks-panel {
    margin-bottom: 14px;
}

.po-tasks-panel[hidden] {
    display: none;
}

.po-tasks-panel__head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 12px;
    padding-left: 10px;
    border-left: 3px solid currentColor;
    font-size: 16px;
    font-weight: 700;
}

.po-tasks-panel__head i {
    font-size: 15px;
}

.po-tasks-panel__head .po-tasks-tab__count {
    color: #d8c9a6;
}

.po-tasks-panel__stars {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    color: #8a8368;
    letter-spacing: 0.02em;
}

.po-tasks-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 9px;
    border-radius: 999px;
    border: 1px solid;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.po-tasks-badge i {
    font-size: 11px;
}

@media (max-width: 720px) {
    .po-tasks-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .po-tasks-tab {
        flex: 0 0 auto;
    }

    .po-tasks-panel__stars {
        margin-left: 0;
        flex-basis: 100%;
    }
}

/* -- Server guide ---------------------------------------- */

.po-server-guide .po-server-subhead {
    margin: 14px 0 8px;
    font-size: 13px;
    color: #FF9F00;
    font-weight: 600;
}

.po-server-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

.po-server-quicklinks a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid #272618;
    border-radius: 6px;
    background: #12110a;
    color: #c9b896 !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

.po-server-quicklinks a:hover {
    border-color: #FF9F00;
    color: #FF9F00 !important;
}

.po-server-quicklinks a i {
    color: #FF9F00;
}

.po-server-rate {
    color: #8fd3a4 !important;
}

.po-server-good {
    color: #8fd3a4;
    font-size: 12px;
}

.po-server-muted {
    color: #888;
    font-size: 12px;
}

.po-server-promo {
    font-size: 11px;
    color: #666;
    font-weight: 400;
    margin-top: 2px;
}

.po-server-panel {
    margin: 8px 0 12px;
    padding: 8px 10px;
    border: 1px solid #272618;
    border-radius: 4px;
    background: #12110a;
    font-size: 12px;
    color: #c9b896;
}

.po-server-panel i {
    color: #FF9F00;
    margin-right: 6px;
}

.po-server-steps {
    margin-top: 8px;
}

.po-server-systems {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.po-server-system-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    border: 1px solid #272618;
    border-radius: 8px;
    background: #12110a;
    text-decoration: none !important;
    transition: border-color 0.2s;
}

.po-server-system-card:hover {
    border-color: #FF9F00;
}

.po-server-system-card i {
    font-size: 18px;
    color: #FF9F00;
}

.po-server-system-card__title {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.po-server-system-card__text {
    color: #888;
    font-size: 12px;
    line-height: 1.45;
}

@media (max-width: 720px) {
    .po-server-systems {
        grid-template-columns: 1fr;
    }
}

/* -- Item pages ------------------------------------------ */

.po-item-list-col-icon,
.po-item-list__icon {
    width: 48px;
    padding: 6px 8px !important;
}

.po-item-list__icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    image-rendering: pixelated;
}

.po-item-hero {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin: 0 0 20px;
    padding: 16px;
    border: 1px solid #272618;
    border-radius: 8px;
    background: #12110a;
}

.po-item-hero__img {
    flex: 0 0 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border: 1px solid #272618;
    border-radius: 6px;
    background: #0b0a05;
}

.po-item-hero__img img {
    image-rendering: pixelated;
}

.po-item-hero__body h2 {
    margin: 0 0 6px;
    color: #FF9F00;
    font-size: 20px;
}

.po-item-hero__meta {
    margin: 0 0 8px;
    font-size: 12px;
    color: #888;
}

.po-item-hero__desc {
    margin: 0;
    font-size: 13px;
    color: #c9b896;
    line-height: 1.45;
}

.po-eq-name {
    color: #FF9F00;
    text-decoration: none;
    font-weight: 600;
}

.po-eq-name:hover {
    text-decoration: underline;
    color: #ffb84d;
}


/* ===== Guild page v2 (2026-10-30): compact hero, chip navigation, dense members, recent frags ===== */
.po-guild-show--v2 { gap: 14px; }
.po-guild-show--v2 .po-guild-show__hero-grid { padding: 16px 18px; gap: 16px; }
.po-guild-show--v2 .po-guild-show__logo { width: 84px; height: 84px; }
.po-guild-show--v2 .po-guild-show__logo-wrap { padding: 4px; }
.po-guild-show--v2 .po-guild-show__stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.po-guild-show--v2 .po-guild-show__stat { padding: 10px 8px; gap: 2px; }
.po-guild-show--v2 .po-guild-show__stat i { font-size: 14px; }
.po-guild-show--v2 .po-guild-show__stat-value { font-size: 18px; }
.po-guild-show--v2 .po-guild-show__stat-label { font-size: 10px; }
.po-guild-show--v2 .po-guild-show__stat--kills i,
.po-guild-show--v2 .po-guild-show__stat--kills .po-guild-show__stat-value { color: #ff5a5a; }
.po-guild-show--v2 .po-guild-show__stat--deaths i { color: #9a9a9a; }

/* navigation as a slim row of chips */
.po-guild-show--v2 .po-guild-subnav { background: transparent; border: 0; box-shadow: none; }
.po-guild-show--v2 .po-guild-subnav .po-section__title { display: none; }
.po-guild-show--v2 .po-guild-subnav .po-section__body { padding: 0; background: transparent; border: 0; }
.po-guild-show--v2 .po-guild-actions-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.po-guild-show--v2 .po-guild-actions-grid .po-settings-card {
    display: inline-flex; flex-direction: row; align-items: center; gap: 8px;
    padding: 7px 14px; min-height: 0; border-radius: 999px; width: auto;
}
.po-guild-show--v2 .po-guild-actions-grid .po-settings-card i { margin: 0; font-size: 13px; }
.po-guild-show--v2 .po-guild-actions-grid .po-settings-card__title { font-size: 13px; margin: 0; }
.po-guild-show--v2 .po-guild-actions-grid .po-settings-card__desc { display: none; }

/* description / motd */
.po-guild-show--v2 .po-guild-show__info-panel .po-section__body { padding: 12px 16px; }

/* members: two dense columns per rank */
.po-guild-show--v2 .po-guild-rank-block__head { padding-top: 8px; padding-bottom: 8px; }
.po-guild-show--v2 .po-guild-rank-block__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.po-guild-show--v2 .po-guild-rank-block__list .po-guild-member:nth-child(even) { background: #0b0a05; }
.po-guild-show--v2 .po-guild-rank-block__list .po-guild-member:nth-child(4n+3),
.po-guild-show--v2 .po-guild-rank-block__list .po-guild-member:nth-child(4n+4) { background: #12110b; }
.po-guild-show--v2 .po-guild-rank-block__list .po-guild-member:nth-child(odd) { border-right: 1px solid rgba(39, 38, 24, 0.85); }
.po-guild-show--v2 .po-guild-member {
    grid-template-columns: 38px 1fr auto auto; gap: 8px 10px; padding: 8px 12px;
}
.po-guild-show--v2 .po-guild-member:last-child { border-bottom: 1px solid rgba(39, 38, 24, 0.85); }
.po-guild-show--v2 .po-guild-member__level { width: 38px; height: 38px; font-size: 13px; border-radius: 6px; }
.po-guild-show--v2 .po-guild-member__name { font-size: 14px; margin-bottom: 0; }
.po-guild-show--v2 .po-guild-member__title { font-size: 11px; }
.po-guild-show--v2 .po-guild-status { font-size: 10px; padding: 3px 8px; }
.po-guild-show--v2 .po-guild-member--leader { grid-template-columns: 38px 1fr auto; }

/* recent frags */
.po-guild-frags { margin-bottom: 0; }
.po-guild-frags__empty { margin: 0; padding: 14px 16px; color: var(--po-text-muted); font-size: 13px; }
.po-guild-frags__list { list-style: none; margin: 0; padding: 0; }
.po-guild-frag {
    display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 12px;
    padding: 9px 14px; border-bottom: 1px solid rgba(39, 38, 24, 0.85); font-size: 13px; color: var(--po-text);
}
.po-guild-frag:nth-child(even) { background: #12110b; }
.po-guild-frag:last-child { border-bottom: 0; }
.po-guild-frag__date { color: var(--po-text-muted); font-size: 12px; line-height: 1.2; }
.po-guild-frag__date small { display: block; opacity: 0.7; font-size: 11px; }
.po-guild-frag__text { min-width: 0; line-height: 1.5; }
.po-guild-frag__killer { color: var(--po-accent); font-weight: 700; text-decoration: none; }
.po-guild-frag__victim { color: #ff6b6b; font-weight: 700; text-decoration: none; }
.po-guild-frag__killer:hover, .po-guild-frag__victim:hover { color: #fff; }
.po-guild-frag__level { color: var(--po-text-muted); font-size: 12px; }
.po-guild-frag__guild { color: #5bc0de; font-size: 12px; text-decoration: none; }
.po-guild-frag__guild::before { content: "["; } .po-guild-frag__guild::after { content: "]"; }
.po-guild-frag__tags { display: flex; gap: 6px; justify-content: flex-end; }
.po-guild-frag__tag {
    font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
    padding: 2px 8px; border-radius: 999px; white-space: nowrap;
}
.po-guild-frag__tag--war { background: rgba(255, 90, 90, 0.15); color: #ff6b6b; border: 1px solid rgba(255, 90, 90, 0.4); }
.po-guild-frag__tag--pk { background: rgba(255, 193, 7, 0.12); color: #ffc107; border: 1px solid rgba(255, 193, 7, 0.35); }

@media (max-width: 1100px) {
    .po-guild-show--v2 .po-guild-rank-block__list { grid-template-columns: 1fr; }
    .po-guild-show--v2 .po-guild-rank-block__list .po-guild-member:nth-child(odd) { border-right: 0; }
    .po-guild-show--v2 .po-guild-rank-block__list .po-guild-member:nth-child(n) { background: #0b0a05; }
    .po-guild-show--v2 .po-guild-rank-block__list .po-guild-member:nth-child(even) { background: #12110b; }
}

@media (max-width: 768px) {
    .po-guild-show--v2 .po-guild-show__stats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .po-guild-show--v2 .po-guild-show__stat { grid-column: span 2; }
    .po-guild-show--v2 .po-guild-show__stat--kills,
    .po-guild-show--v2 .po-guild-show__stat--deaths { grid-column: span 3; }
    .po-guild-show--v2 .po-guild-member { grid-template-columns: 38px 1fr auto; grid-template-areas: "level body status"; }
    .po-guild-show--v2 .po-guild-member__actions { grid-column: 1 / -1; justify-self: end; }
    .po-guild-frag { grid-template-columns: 1fr; gap: 4px; }
    .po-guild-frag__tags { justify-content: flex-start; }
}

/* ===== Character page v2 (2026-10-31) ===== */
.po-char-hero2 { display: flex; gap: 16px; align-items: center; }
.po-char-hero2__outfit {
    flex: 0 0 auto; width: 76px; height: 76px; border-radius: var(--po-radius);
    background: radial-gradient(circle at 50% 60%, rgba(255, 159, 0, 0.18), var(--po-surface-0) 70%);
    border: 1px solid var(--po-border-soft); display: flex; align-items: center; justify-content: center;
}
.po-char-hero2__outfit img { image-rendering: pixelated; }
.po-char-hero2__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.po-char-hero2__top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.po-char-hero2__top .po-char-name { margin: 0; font-size: 22px; }
.po-char-status {
    display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px;
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
    background: var(--po-surface-0); border: 1px solid var(--po-border);
}
.po-char-status i { font-size: 8px; }
.po-char-status--online { color: var(--po-success); border-color: rgba(40, 167, 69, .45); }
.po-char-status--offline { color: var(--po-text-muted); }
.po-char-status--premium { color: var(--po-accent); border-color: var(--po-border-soft); }
.po-char-status--premium i, .po-char-status--free i { font-size: 10px; }
.po-char-status--free { color: var(--po-text-muted); }
.po-char-hero2__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.po-char-chip2 {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--po-radius-sm);
    background: var(--po-surface-0); border: 1px solid var(--po-border); font-size: 12px; color: var(--po-text);
}
.po-char-chip2 i { color: var(--po-accent); font-size: 11px; }
.po-char-chip2 strong { color: var(--po-accent); }
.po-char-hero2__guild {
    display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; max-width: 100%;
    padding: 6px 12px; border-radius: var(--po-radius-sm); text-decoration: none;
    background: rgba(255, 159, 0, .08); border: 1px solid var(--po-border-soft); color: var(--po-text); font-size: 13px;
    transition: background .15s, border-color .15s;
}
.po-char-hero2__guild:hover { background: rgba(255, 159, 0, .16); border-color: var(--po-accent); color: var(--po-text-bright); text-decoration: none; }
.po-char-hero2__guild > i:first-child { color: var(--po-accent); }
.po-char-hero2__guild strong { color: var(--po-accent); }
.po-char-hero2__guild em { color: var(--po-text-muted); font-style: normal; }
.po-char-hero2__go { font-size: 10px; color: var(--po-text-muted); }
.po-char-hero--v2 .po-char-lastlogin { font-size: 12px; }

.po-char-statgrid {
    display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 16px;
}
.po-char-stat {
    background: var(--po-surface-1); border: 1px solid var(--po-border); border-radius: var(--po-radius);
    padding: 10px 8px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.po-char-stat i { color: var(--po-text-muted); font-size: 14px; }
.po-char-stat strong { color: var(--po-text-bright); font-size: 17px; line-height: 1.2; }
.po-char-stat span { color: var(--po-text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .03em; }
.po-char-stat--danger i, .po-char-stat--danger strong { color: var(--po-danger); }
.po-char-stat--info i, .po-char-stat--info strong { color: var(--po-info); }
.po-char-stat--success i, .po-char-stat--success strong { color: var(--po-success); }
.po-char-stat--accent i, .po-char-stat--accent strong { color: var(--po-accent); }

a.po-char-guild--link { display: block; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; margin-top: 16px; }
a.po-char-guild--link:hover { text-decoration: none; color: inherit; border-color: var(--po-accent); transform: translateY(-1px); }
.po-char-guild--link .po-char-guild__inner { gap: 16px; }
.po-char-guild--link .po-char-guild__title { font-size: 18px; margin-bottom: 4px; }
.po-char-guild__cta {
    flex: 0 0 auto; padding: 8px 14px; border-radius: var(--po-radius-sm); background: var(--po-gradient-accent);
    color: var(--po-text-on-accent); font-weight: 700; font-size: 12px; white-space: nowrap;
}
.po-equip-hint { margin: 10px 0 0; text-align: center; color: var(--po-text-muted); font-size: 11px; }
.po-equip-slot a { display: block; line-height: 0; }
.po-equip-slot a:hover img { filter: brightness(1.25); }
.po-tab-count {
    display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 999px; font-size: 10px; line-height: 16px;
    background: rgba(0, 0, 0, .35); color: inherit; font-weight: 700;
}

@media (max-width: 991px) {
    .po-char-statgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
    .po-char-hero2 { align-items: flex-start; }
    .po-char-hero2__outfit { width: 60px; height: 60px; }
    .po-char-hero2__top .po-char-name { font-size: 19px; }
    .po-char-statgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .po-char-guild__cta { width: 100%; text-align: center; }
    .po-char-tabs .po-tab-btn { font-size: 12px; padding-left: 6px; padding-right: 6px; }
}
@media (max-width: 575px) {
    .po-equip-house__col, .po-equip-card { width: 100% !important; max-width: 100% !important; flex: 1 1 100% !important; }
    .po-char-tabs { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; overflow-x: auto; gap: 6px; -webkit-overflow-scrolling: touch; }
    .po-char-tabs .po-tab-btn { flex: 0 0 auto !important; width: auto !important; margin: 0 !important; white-space: nowrap; }
    .po-char-tabs-wrap .po-hide-sm { display: none !important; }
    .po-char-hero2__guild { flex-wrap: wrap; }
}

/* Item detail: inline attribute pool */
.po-attr-pool {
    border: 1px solid #272618;
    border-radius: 8px;
    overflow: hidden;
}

.po-attr-pool__row {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 12px;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid #272618;
}

.po-attr-pool__row:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
}

.po-attr-pool__row:last-child {
    border-bottom: none;
}

.po-attr-pool__name {
    color: #FF9F00;
    font-weight: 600;
    font-size: 13px;
}

.po-attr-pool__rolls {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.po-attr-roll {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 3px 8px;
    border: 1px solid #3a3824;
    border-radius: 6px;
    background: #14130b;
    font-size: 12px;
    white-space: nowrap;
}

.po-attr-roll__value {
    color: #eee;
    font-weight: 700;
}

.po-attr-roll__extra {
    color: #9fd0ff;
    font-size: 11px;
}

.po-attr-roll__chance {
    color: #999;
    font-size: 11px;
}

@media (max-width: 600px) {
    .po-attr-pool__row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

/* -- Features page (categorias de acesso, quadrados 40% maiores) --- */
.po-equipaments .po-features-grid.po-eq-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 720px;
    margin: 10px auto 0;
}
.po-features-grid.po-eq-tabs .nav-item.toptd { padding: 8px; }
.po-features-grid.po-eq-tabs .nav-item a { padding: 18px 8px; }
.po-features-grid.po-eq-tabs .nav-item a img { width: 46px; height: 46px; }
.po-features-grid.po-eq-tabs .nav-item h3 { font-size: 17px; margin-top: 10px; }
@media (max-width: 575px) {
    .po-equipaments .po-features-grid.po-eq-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .po-features-grid.po-eq-tabs .nav-item h3 { font-size: 15px; }
}

/* -- Quests page (/quests e /quests/<slug>) --- */
.po-quests-intro { color: #c9b896; font-size: 13px; line-height: 1.6; margin: 0 0 16px; }
.po-quests-alert { background: #2a1a0a; border: 1px solid #e68a00; color: #FF9F00; border-radius: 6px; padding: 10px 14px; margin-bottom: 14px; font-size: 13px; }
.po-quests-table td { vertical-align: middle; }
.po-quests-name { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; text-decoration: none; }
.po-quests-name:hover { color: #FF9F00; }
.po-quests-name img { image-rendering: pixelated; flex: 0 0 32px; }
.po-quests-status { display: block; font-weight: 400; font-size: 11px; color: #888; }

.po-quest-head { display: flex; gap: 16px; align-items: center; background: #12110a; border: 1px solid #272618; border-radius: 8px; padding: 14px 16px; margin-bottom: 14px; }
.po-quest-head__icon { width: 64px; height: 64px; image-rendering: pixelated; flex: 0 0 64px; background: #17160d; border: 1px solid #272618; border-radius: 6px; padding: 8px; }
.po-quest-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 18px; margin: 0; flex: 1; }
.po-quest-info dt { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: #888; font-weight: 600; }
.po-quest-info dd { margin: 2px 0 0; color: #fff; font-size: 13px; }
.po-quest-info__status { color: #FF9F00 !important; }
.po-quest-legend { color: #c9b896; font-size: 13px; line-height: 1.7; font-style: italic; border-left: 3px solid #FF9F00; padding: 4px 0 4px 14px; margin: 0 0 16px; }

.po-quest-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 14px; }
.po-quest-items, .po-quest-npcs { list-style: none; margin: 0; padding: 0; }
.po-quest-items li { display: flex; align-items: center; gap: 10px; color: #ccc; font-size: 13px; padding: 4px 0; }
.po-quest-items img { image-rendering: pixelated; }
.po-quest-npcs li { padding: 6px 0; border-bottom: 1px solid #1e1d14; font-size: 13px; color: #ccc; }
.po-quest-npcs li:last-child { border-bottom: none; }
.po-quest-npcs b { color: #fff; margin-right: 6px; }
.po-quest-npcs span { color: #888; }

.po-quest-say, .po-quest-steps b, .po-quest-side b { color: #FF9F00; }
.po-quest-mission { background: #12110a; border: 1px solid #272618; border-radius: 8px; margin-bottom: 8px; }
.po-quest-mission > summary, .po-quest-mission--locked { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; list-style: none; }
.po-quest-mission > summary::-webkit-details-marker { display: none; }
.po-quest-mission > summary::after { content: "\f078"; font-family: "Font Awesome 5 Free"; font-weight: 900; color: #888; font-size: 12px; transition: transform .2s ease; }
.po-quest-mission[open] > summary::after { transform: rotate(180deg); }
.po-quest-mission[open], .po-quest-mission > summary:hover { border-color: #e68a00; }
.po-quest-mission__num { flex: 0 0 28px; height: 28px; border-radius: 50%; background: #FF9F00; color: #0b0a05; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.po-quest-mission__title { color: #fff; font-weight: 600; font-size: 14px; }
.po-quest-mission__npc { margin-left: auto; color: #888; font-size: 12px; text-align: right; }
.po-quest-tag { font-size: 10px; text-transform: uppercase; letter-spacing: .5px; color: #FF9F00; border: 1px solid #e68a00; border-radius: 4px; padding: 1px 6px; }
.po-quest-mission--locked { cursor: default; opacity: .5; }
.po-quest-mission--locked .po-quest-mission__num { background: #272618; color: #888; }
.po-quest-mission__body { padding: 4px 16px 14px 54px; color: #ccc; font-size: 13px; line-height: 1.65; }
.po-quest-dangers { color: #c9b896; margin: 0 0 10px; }
.po-quest-dangers i { color: #e74c3c; }
.po-quest-dangers a { color: #c9b896; text-decoration: underline; }
.po-quest-dangers a:hover { color: #FF9F00; }
.po-quest-steps { margin: 0 0 12px; padding-left: 18px; }
.po-quest-steps li { margin-bottom: 6px; }
.po-quest-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.po-quest-side { border-radius: 6px; padding: 10px 14px; background: #17160d; border: 1px solid #272618; }
.po-quest-side h4 { font-size: 13px; font-weight: 700; margin: 0 0 6px; }
.po-quest-side ol { margin: 0; padding-left: 18px; }
.po-quest-side--good { border-left: 3px solid #5ecf6d; }
.po-quest-side--good h4 { color: #5ecf6d; }
.po-quest-side--evil { border-left: 3px solid #e74c3c; }
.po-quest-side--evil h4 { color: #e74c3c; }
.po-quest-result { margin: 0; color: #888; font-style: italic; }
.po-quest-result i { color: #5ecf6d; margin-right: 4px; }

@media (max-width: 767px) {
    .po-quest-grid, .po-quest-sides { grid-template-columns: 1fr; }
    .po-quest-mission__body { padding-left: 16px; }
    .po-quest-mission__npc { display: none; }
    .po-quest-head { flex-direction: column; align-items: flex-start; }
}
/* Links internos dos guias de quest (App\Support\QuestText) */
.po-qlink--item, .po-qlink--plain { color: #FF9F00; font-weight: 600; }
.po-qlink--item { text-decoration: none; border-bottom: 1px dotted rgba(255, 159, 0, .6); }
.po-qlink--item:hover { color: #fff; border-bottom-color: #fff; }
.po-qlink--monster { color: inherit; text-decoration: underline; text-decoration-style: dotted; }
.po-qlink--monster:hover { color: #FF9F00; }
.po-quest-info dd .po-qlink--item { font-weight: 600; }
/* Features: área de imagem fixa (item 46px ou criatura 64px) para os quadrados ficarem alinhados */
.po-features-grid.po-eq-tabs .po-features-grid__pic { display: flex; align-items: center; justify-content: center; height: 72px; }
.po-features-grid.po-eq-tabs .nav-item a .po-features-grid__pic img { width: 46px; height: 46px; image-rendering: pixelated; }
.po-features-grid.po-eq-tabs .nav-item a .po-features-grid__pic.is-creature img { width: 72px; height: 72px; }
.po-features-grid.po-eq-tabs .nav-item h3 { margin-top: 6px; }

/* -- Store admin page (/admin/store) and website store (/account/store) --- */
.po-store-admin__intro { color: #c9b896; margin-bottom: 14px; }
.po-store-admin__intro a { color: #FF9F00; }
.po-store-admin__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.po-store-admin__form select.custom-field { background: #12110a; color: #ccc; border: 1px solid #272618; }
.po-store-admin__actions { white-space: nowrap; }
.po-store-admin__actions form { display: inline; }
.po-store-admin__actions .po-btn { padding: 4px 10px; font-size: 12px; }
.po-store-admin__off { color: #888; }
.po-store-admin__badge { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: #a83232; color: #fff; font-size: 11px; }
.po-store-admin .po-monster-compact-table img { image-rendering: pixelated; vertical-align: middle; }
.po-store-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.po-store-offer { background: #12110a; border: 1px solid #272618; border-radius: 8px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.po-store-offer__name { color: #fff; font-weight: 600; }
.po-store-offer__desc { color: #888; font-size: 13px; flex: 1; }
.po-store-offer__price { color: #FF9F00; font-weight: 600; }
/* select had a fixed height from the global form styles: the character name was cut in half */
.po-store-offer select.custom-field,
.po-store-admin__form select.custom-field {
    height: auto; min-height: 42px; padding: 9px 12px; line-height: 1.4;
    background: #0b0a05; color: #ccc; border: 1px solid #272618;
    text-overflow: ellipsis; white-space: nowrap;
}
.po-store-offer__price { margin-bottom: 4px; }
/* spacing between banner, pending deliveries, categories and history */
.po-shop .po-page__body > .po-account-banner,
.po-shop .po-page__body > .po-account-alert { margin-bottom: 18px; }
.po-shop .po-page__body > .po-account-panel + .po-account-panel,
.po-store-admin .po-page__body > .po-account-panel + .po-account-panel { margin-top: 18px; }
.po-shop .po-account-panel__body,
.po-store-admin .po-account-panel__body { padding: 18px; }
.po-store-admin .po-page__body > .po-account-panel + .po-account-panel,
.po-store-admin .po-page__body > .po-store-admin__intro + .po-account-panel { margin-top: 18px; }
.po-store-offer__head { display: flex; align-items: center; gap: 10px; }
.po-store-offer__head img { image-rendering: pixelated; }
.po-store-offer__head > i { width: 32px; text-align: center; font-size: 22px; color: #FF9F00; }


/* -- Store admin v2 (/admin/store, 2026-11-14): stats, tabs, offer cards, editor with item picker --- */
.po-store-admin .po-page__body > * + * { margin-top: 18px; }
.po-sa-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.po-sa-stat { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #12110a; border: 1px solid #272618; border-radius: 8px; }
.po-sa-stat > i { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,159,0,.1); color: #FF9F00; font-size: 16px; flex: none; }
.po-sa-stat strong { display: block; color: #fff; font-size: 18px; line-height: 1.1; }
.po-sa-stat span { color: #888; font-size: 12px; }
.po-sa-stat--warn > i { background: rgba(231,76,60,.15); color: #e74c3c; }

/* tabs */
.po-sa-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; border-bottom: 1px solid #272618; padding-bottom: 8px; }
.po-sa-tabs a[data-tab] { color: #888; padding: 8px 14px; border-radius: 6px; text-decoration: none; font-weight: 500; }
.po-sa-tabs a[data-tab] em { font-style: normal; font-size: 11px; background: #1f1e14; color: #c9b896; padding: 1px 7px; border-radius: 10px; margin-left: 4px; }
.po-sa-tabs a[data-tab]:hover { color: #ccc; background: #17160d; }
.po-sa-tabs a[data-tab].is-active { color: #FF9F00; background: #17160d; box-shadow: inset 0 -2px 0 #FF9F00; }
.po-sa-tabs__spacer { flex: 1; }
.po-sa-tabs .po-sa-tabs__btn { padding: 7px 14px; font-size: 13px; }

/* offers layout */
.po-sa-offers { display: grid; grid-template-columns: 210px 1fr; gap: 16px; align-items: start; }
.po-sa-cats { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 12px; }
.po-sa-cats__item { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; background: transparent; border: 1px solid transparent; color: #ccc; padding: 8px 10px; border-radius: 6px; cursor: pointer; font-size: 13px; }
.po-sa-cats__item i { width: 16px; color: #888; }
.po-sa-cats__item em { margin-left: auto; font-style: normal; font-size: 11px; color: #888; }
.po-sa-cats__item:hover { background: #17160d; }
.po-sa-cats__item.is-active { background: #17160d; border-color: #272618; color: #FF9F00; }
.po-sa-cats__item.is-active i { color: #FF9F00; }
.po-sa-cats__item.is-off { opacity: .55; }
.po-sa-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.po-sa-toolbar__hint { color: #888; font-size: 12px; margin-left: auto; }
.po-sa-search { position: relative; flex: 1 1 220px; }
.po-sa-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #666; }
.po-sa-search input { width: 100%; background: #0b0a05; border: 1px solid #272618; color: #ccc; border-radius: 6px; padding: 9px 12px 9px 34px; }
.po-sa-search input:focus { outline: none; border-color: #FF9F00; }

/* segmented radios */
.po-sa-seg { display: inline-flex; flex-wrap: wrap; background: #0b0a05; border: 1px solid #272618; border-radius: 6px; padding: 3px; gap: 2px; align-self: flex-start; }
.po-sa-seg label { margin: 0; cursor: pointer; }
.po-sa-seg input { position: absolute; opacity: 0; pointer-events: none; }
.po-sa-seg span { display: inline-block; padding: 7px 12px; border-radius: 4px; color: #888; font-size: 13px; white-space: nowrap; }
.po-sa-seg input:checked + span { background: #1f1e14; color: #FF9F00; }
.po-sa-seg input:focus-visible + span { outline: 1px solid #FF9F00; }
.po-sa-seg label.is-disabled { cursor: not-allowed; opacity: .35; }
.po-sa-seg--small span { padding: 5px 10px; font-size: 12px; }

/* offer cards */
.po-sa-grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.po-sa-card { position: relative; display: flex; flex-direction: column; gap: 10px; background: #12110a; border: 1px solid #272618; border-radius: 8px; padding: 14px; transition: border-color .15s; }
.po-sa-card:hover { border-color: #3a3822; }
.po-sa-card.is-off { opacity: .6; }
.po-sa-card.is-off:hover { opacity: .9; }
.po-sa-card[hidden] { display: none; }
.po-sa-card__badge { position: absolute; top: 10px; right: 10px; background: #a83232; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .5px; padding: 2px 7px; border-radius: 4px; }
.po-sa-card__badge[hidden] { display: none; }
.po-sa-card__media { display: flex; justify-content: center; padding: 6px 0 2px; }
.po-sa-card__body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.po-sa-card__name { color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 36px; }
.po-sa-card__what { color: #c9b896; font-size: 12px; }
.po-sa-card__desc { color: #888; font-size: 12px; margin: 0; }
.po-sa-card__desc:empty { display: none; }
.po-sa-card__meta { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.po-sa-card__state { color: #e74c3c; font-size: 12px; }
.po-sa-card__price { color: #FF9F00; font-weight: 700; font-size: 18px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.po-sa-card__price small { color: #888; font-weight: 400; font-size: 12px; }
.po-sa-card__price s { color: #666; font-size: 13px; font-weight: 400; }
.po-sa-card__price em { font-style: normal; font-size: 11px; background: rgba(94,207,109,.15); color: #5ecf6d; padding: 1px 6px; border-radius: 4px; }
.po-sa-card__price [hidden] { display: none; }
.po-sa-card__actions { display: flex; gap: 6px; border-top: 1px solid #1e1d14; padding-top: 10px; }
.po-sa-card__actions form { margin: 0; display: inline; }
.po-sa-icon-btn { width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 6px; background: #17160d; border: 1px solid #272618; color: #c9b896; cursor: pointer; text-decoration: none; font-size: 13px; padding: 0; }
.po-sa-icon-btn:hover { color: #FF9F00; border-color: #FF9F00; text-decoration: none; }
.po-sa-icon-btn--danger:hover { color: #e74c3c; border-color: #e74c3c; }
.po-sa-icon-btn.is-disabled { opacity: .3; cursor: not-allowed; }
.po-sa-icon-btn.is-disabled:hover { color: #c9b896; border-color: #272618; }
.po-sa-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: #c9b896; background: #1f1e14; border: 1px solid #272618; padding: 2px 7px; border-radius: 10px; white-space: nowrap; }
.po-sa-tag--muted { color: #888; }

/* item picture tile (Tibia slot look) */
.po-sa-thumb { position: relative; display: inline-grid; place-items: center; width: 56px; height: 56px; background: radial-gradient(circle at 50% 40%, #2a281a, #0b0a05); border: 1px solid #272618; border-radius: 8px; }
.po-sa-thumb img { width: 32px; height: 32px; image-rendering: pixelated; transform: scale(1.4); }
.po-sa-thumb--lg { width: 96px; height: 96px; }
.po-sa-thumb--lg img { transform: scale(2.2); }
.po-sa-thumb--icon i { font-size: 24px; color: #FF9F00; }
.po-sa-thumb--lg.po-sa-thumb--icon i { font-size: 38px; }
.po-sa-thumb .po-sa-thumb__inside { position: absolute; left: 2px; bottom: 2px; width: 32px; height: 32px; transform: none; background: #12110a; border: 1px solid #272618; border-radius: 4px; }
.po-sa-thumb--lg .po-sa-thumb__inside { left: 6px; bottom: 6px; }
.po-sa-thumb__count { position: absolute; right: 3px; bottom: 1px; color: #fff; font-size: 11px; font-weight: 700; text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000; }
.po-sa-thumb--lg .po-sa-thumb__count { font-size: 14px; right: 6px; bottom: 4px; }

/* categories */
.po-sa-catlist { display: flex; flex-direction: column; gap: 8px; }
.po-sa-catrow { display: grid; grid-template-columns: 40px 1fr auto auto auto; align-items: center; gap: 14px; background: #12110a; border: 1px solid #272618; border-radius: 8px; padding: 12px 14px; }
.po-sa-catrow.is-off { opacity: .6; }
.po-sa-catrow__order { width: 32px; height: 32px; display: grid; place-items: center; background: #17160d; border-radius: 6px; color: #888; font-size: 12px; }
.po-sa-catrow__info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.po-sa-catrow__info strong { color: #fff; }
.po-sa-catrow__info span { color: #888; font-size: 12px; }
.po-sa-catrow__count { color: #c9b896; font-size: 12px; text-decoration: none; white-space: nowrap; }
.po-sa-catrow__count b { color: #FF9F00; font-size: 15px; }
.po-sa-catrow .po-sa-card__actions { border: 0; padding: 0; }

/* purchases */
.po-sa-table-wrap { overflow-x: auto; }
.po-sa-nowrap { white-space: nowrap; }
.po-sa-history a { color: #FF9F00; }
.po-sa-history tr[hidden] { display: none; }
.po-sa-status { font-size: 11px; padding: 2px 8px; border-radius: 10px; background: #1f1e14; color: #888; }
.po-sa-status--ok { background: rgba(94,207,109,.12); color: #5ecf6d; }
.po-sa-status--warn { background: rgba(245,197,66,.12); color: #f5c542; }

/* editor */
.po-sa-editor { border-color: #3a3822; }
.po-sa-editor .po-account-panel__head { display: flex; align-items: center; justify-content: space-between; }
.po-sa-close { color: #888; font-size: 16px; padding: 4px 8px; }
.po-sa-close:hover { color: #FF9F00; }
.po-sa-editor__layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.po-sa-editor__side { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 10px; }
.po-sa-side__label { color: #888; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.po-sa-side__hint { color: #888; font-size: 12px; margin: 0; }
.po-sa-card--preview { padding: 18px; }
.po-sa-card--preview.is-off { opacity: .5; }
.po-sa-step { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 15px; margin: 22px 0 12px; }
.po-sa-step:first-child { margin-top: 0; }
.po-sa-step b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #FF9F00; color: #0b0a05; font-size: 12px; }
.po-sa-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.po-sa-type { margin: 0; cursor: pointer; }
.po-sa-type input { position: absolute; opacity: 0; pointer-events: none; }
.po-sa-type span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px; background: #0b0a05; border: 1px solid #272618; border-radius: 8px; text-align: center; transition: border-color .15s; }
.po-sa-type i { font-size: 20px; color: #888; }
.po-sa-type b { color: #ccc; font-size: 13px; font-weight: 600; }
.po-sa-type small { color: #666; font-size: 11px; }
.po-sa-type:hover span { border-color: #3a3822; }
.po-sa-type input:checked + span { border-color: #FF9F00; background: rgba(255,159,0,.06); }
.po-sa-type input:checked + span i { color: #FF9F00; }
.po-sa-type input:focus-visible + span { outline: 1px solid #FF9F00; }
.po-sa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.po-sa-field { display: flex; flex-direction: column; gap: 6px; margin: 0; font-weight: 400; }
.po-sa-field[hidden] { display: none; }
.po-sa-field > span { color: #c9b896; font-size: 13px; font-weight: 500; }
.po-sa-field small { color: #777; font-size: 11px; }
.po-sa-field--wide { grid-column: 1 / -1; }
.po-sa-form .custom-field { background: #0b0a05; color: #ccc; border: 1px solid #272618; border-radius: 6px; }
.po-sa-form .custom-field:focus { border-color: #FF9F00; box-shadow: none; }
.po-sa-form textarea.custom-field { resize: vertical; min-height: 60px; height: auto; }
.po-sa-note { color: #c9b896; background: #0b0a05; border: 1px dashed #272618; border-radius: 6px; padding: 12px; margin: 0; font-size: 13px; }
.po-sa-note[hidden] { display: none; }
.po-sa-days { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.po-sa-days > input { width: 110px; flex: none; }
.po-sa-chip { background: #17160d; border: 1px solid #272618; color: #c9b896; border-radius: 14px; padding: 5px 11px; font-size: 12px; cursor: pointer; }
.po-sa-chip:hover { border-color: #FF9F00; color: #FF9F00; }
.po-sa-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; color: #ccc; margin: 6px 0 0; font-weight: 400; }
.po-sa-switch input { position: absolute; opacity: 0; pointer-events: none; }
.po-sa-switch i { position: relative; width: 40px; height: 22px; border-radius: 11px; background: #272618; transition: background .15s; flex: none; }
.po-sa-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #888; transition: transform .15s, background .15s; }
.po-sa-switch input:checked + i { background: rgba(255,159,0,.35); }
.po-sa-switch input:checked + i::after { transform: translateX(18px); background: #FF9F00; }
.po-sa-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding-top: 16px; border-top: 1px solid #1e1d14; }

/* item picker */
.po-sa-picker { position: relative; display: grid; grid-template-columns: 44px 1fr 100px; gap: 8px; align-items: center; }
.po-sa-picker__img { width: 44px; height: 44px; display: grid; place-items: center; background: #0b0a05; border: 1px solid #272618; border-radius: 6px; }
.po-sa-picker__img img { width: 32px; height: 32px; image-rendering: pixelated; }
.po-sa-picker__img.is-empty img { display: none; }
.po-sa-picker__img.is-empty::after { content: "?"; color: #444; font-weight: 700; }
.po-sa-picker__list { position: absolute; z-index: 30; top: calc(100% + 4px); left: 52px; right: 0; max-height: 320px; overflow-y: auto; list-style: none; margin: 0; padding: 4px; background: #12110a; border: 1px solid #3a3822; border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.6); }
.po-sa-picker__list[hidden] { display: none; }
.po-sa-picker__list li { display: flex; align-items: center; gap: 10px; padding: 5px 8px; border-radius: 4px; cursor: pointer; color: #ccc; font-size: 13px; }
.po-sa-picker__list li img { width: 32px; height: 32px; image-rendering: pixelated; flex: none; }
.po-sa-picker__list li em { margin-left: auto; font-style: normal; color: #666; font-size: 11px; }
.po-sa-picker__list li:hover, .po-sa-picker__list li.is-active { background: #1f1e14; color: #FF9F00; }
.po-sa-picker__list li.is-empty { color: #888; cursor: default; }
.po-sa-pane[hidden] { display: none; }
img.is-missing { image-rendering: auto; }

@media (max-width: 991px) {
    .po-sa-offers { grid-template-columns: 1fr; }
    .po-sa-cats { position: static; flex-direction: row; flex-wrap: wrap; }
    .po-sa-cats__item { width: auto; }
    .po-sa-editor__layout { grid-template-columns: 1fr; }
    .po-sa-editor__side { position: static; order: -1; }
    .po-sa-card--preview { max-width: 320px; }
}
@media (max-width: 600px) {
    .po-sa-grid { grid-template-columns: 1fr; }
    .po-sa-picker { grid-template-columns: 44px 1fr; }
    .po-sa-picker__id { grid-column: 1 / -1; }
    .po-sa-picker__list { left: 0; }
    .po-sa-catrow { grid-template-columns: 32px 1fr; }
    .po-sa-catrow > .po-sa-tag, .po-sa-catrow__count, .po-sa-catrow .po-sa-card__actions { grid-column: 2; }
    .po-sa-tabs__spacer { display: none; }
}

/* Items page: 16 category tabs in 3 rows (6 per row) on desktop */
@media (min-width: 992px) {
    .po-equipaments .po-eq-tabs.po-eq-tabs--3rows { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
/* Tasks page: hammer reward column */
.po-tasks-reward { white-space: nowrap; }
.po-tasks-reward a { display: inline-flex; align-items: center; gap: 6px; color: #c9b896; text-decoration: none; font-size: 12px; }
.po-tasks-reward a:hover { color: #FF9F00; }
.po-tasks-reward img { width: 32px; height: 32px; image-rendering: pixelated; }
.po-tasks-monsters a { color: #FF9F00 !important; text-decoration: none; }
.po-tasks-monsters a:hover { text-decoration: underline; }

/* Fixed item attributes (items.xml): chips under the name on /items, value on /items/ID */
.po-eq-fixed { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.po-eq-fixed span { font-size: 10.5px; line-height: 1.5; padding: 0 6px; border-radius: 99px; color: #5ecf6d; border: 1px solid rgba(94, 207, 109, .35); background: rgba(94, 207, 109, .08); white-space: nowrap; }
.po-item-fixed { color: #5ecf6d; font-weight: 600; }

/* Rarity frame over an item image (same sheet as the client): <span class="po-frame" style="--f:0..6"><img></span> */
.po-frame { position: relative; display: inline-block; width: 32px; height: 32px; line-height: 0; vertical-align: middle; background: #12110a; }
.po-frame img { width: 100%; height: 100%; image-rendering: pixelated; }
.po-frame::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; image-rendering: pixelated;
    background: url("/images/rarity_frames.png") calc(var(--f, 0) * -32px) 0 / 224px 32px no-repeat;
}
.po-frame--64 { width: 64px; height: 64px; }
.po-frame--64::after { background-position: calc(var(--f, 0) * -64px) 0; background-size: 448px 64px; }
/* Tasks table: fit the Reward column without horizontal scroll */
.po-tasks-guide .po-tasks-table { width: 100%; min-width: 620px; }
.po-tasks-guide .po-tasks-table th, .po-tasks-guide .po-tasks-table td { padding-left: 8px; padding-right: 8px; }
.po-tasks-guide .po-tasks-table .po-tasks-reward { width: 48px; text-align: center; }


/* ===== Houses: imagens das casas (render_houses.js) ===== */
.po-house-thumb-cell { padding: 4px 8px !important; }
.po-house-thumb { display: block; width: 64px; height: 48px; padding: 0; border: 1px solid rgba(255,255,255,.12); border-radius: 4px; overflow: hidden; background: #0c0c0e; cursor: zoom-in; }
.po-house-thumb img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; display: block; transition: transform .15s; }
.po-house-thumb:hover img { transform: scale(1.08); }
.po-house-link { color: inherit; }
.po-house-link:hover { color: var(--accent, #e8b84a); }

/* pagina da casa (/houses/view/<id>) */
.po-house-crumb { margin: 0 0 12px; font-size: 13px; }
.po-house-crumb a { color: var(--po-text-muted); }
.po-house-crumb a:hover { color: var(--po-accent); }
.po-house-view { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.po-house-view .po-section { margin: 0; }
.po-house-chip { margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 500; background: rgba(0, 0, 0, .35); color: #fff; vertical-align: middle; }
.po-house-view__img { display: block; text-align: center; overflow: auto; background: #0c0c0e; border-radius: var(--po-radius-sm); }
.po-house-view__img img { max-width: 100%; height: auto; image-rendering: pixelated; display: block; margin: 0 auto; transition: opacity .15s; }
.po-house-view__img:hover img { opacity: .9; }
.po-house-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; padding: 0; font-size: 12px; color: var(--po-text-muted); }
.po-house-legend li { display: flex; align-items: center; gap: 6px; }
.po-house-legend__hint { margin-left: auto; }
.po-house-legend__door, .po-house-legend__out { display: inline-block; width: 12px; height: 12px; border-radius: 2px; vertical-align: -1px; }
.po-house-legend__door { border: 2px solid #e8b84a; }
.po-house-legend__out { background: #2a2a24; border: 1px solid #3a3a30; }

.po-house-side { display: flex; flex-direction: column; gap: 12px; }
.po-house-card { background: var(--po-surface-1); border: 1px solid var(--po-border); border-radius: var(--po-radius); padding: 14px 16px; }

.po-house-status { display: flex; align-items: center; gap: 14px; border-left-width: 4px; }
.po-house-status.is-free { border-left-color: var(--po-success); }
.po-house-status.is-rented { border-left-color: var(--po-accent); }
.po-house-status__icon { flex: 0 0 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.is-free .po-house-status__icon { background: rgba(40, 167, 69, .15); color: var(--po-success); }
.is-rented .po-house-status__icon { background: var(--po-border-soft); color: var(--po-accent); }
.po-house-status__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.po-house-status__label { font-size: 18px; font-weight: 600; color: var(--po-text-bright); }
.po-house-status__sub { font-size: 13px; color: var(--po-text-muted); }
.po-house-status__sub a { color: var(--po-accent); }

.po-house-cost { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.po-house-cost__item { display: flex; flex-direction: column; gap: 2px; }
.po-house-cost__item + .po-house-cost__item { border-left: 1px solid var(--po-border); padding-left: 12px; }
.po-house-cost__label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--po-text-muted); }
.po-house-cost__value { font-size: 20px; font-weight: 600; color: var(--po-accent); line-height: 1.2; }
.po-house-cost__value small { font-size: 12px; font-weight: 500; color: var(--po-text-muted); }
.po-house-cost__note { font-size: 11px; color: var(--po-text-muted); }

.po-house-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.po-house-stat { display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 8px; background: var(--po-surface-1); border: 1px solid var(--po-border); border-radius: var(--po-radius-sm); padding: 10px 12px; min-width: 0; }
.po-house-stat i { grid-row: 1 / 3; font-size: 16px; color: var(--po-accent); text-align: center; }
.po-house-stat b { font-size: 16px; color: var(--po-text-bright); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.po-house-stat span { font-size: 11px; color: var(--po-text-muted); text-transform: uppercase; letter-spacing: .05em; }

.po-house-howto h4 { margin: 0 0 10px; font-size: 14px; color: var(--po-text-bright); }
.po-house-howto h4 i { color: var(--po-accent); margin-right: 4px; }
.po-house-howto ol { margin: 0 0 12px; padding-left: 20px; font-size: 13px; line-height: 1.9; }
.po-house-cmd { font: inherit; font-family: Consolas, monospace; font-size: 13px; padding: 2px 8px; border-radius: 4px; border: 1px solid var(--po-border-soft); background: var(--po-surface-2); color: var(--po-accent); cursor: pointer; }
.po-house-cmd i { font-size: 11px; margin-left: 4px; opacity: .7; }
.po-house-cmd.is-copied { border-color: var(--po-success); color: var(--po-success); }
.po-house-cmd.is-copied i::before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; }
.po-house-req { list-style: none; margin: 0; padding: 10px 0 0; border-top: 1px solid var(--po-border); font-size: 12px; color: var(--po-text-muted); display: grid; gap: 4px; }
.po-house-req i { color: var(--po-success); width: 14px; }

@media (max-width: 900px) { .po-house-view { grid-template-columns: 1fr; } .po-house-legend__hint { margin-left: 0; } }

/* Monster stars (2026-11-20): same star art as the game client, pixel scaled */
.po-monster-stars {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  vertical-align: middle;
  margin-right: 6px;
}
.po-monster-subtitle {
  margin: 18px 0 6px;
  font-size: 1rem;
  color: var(--skull-color, inherit);
}

/* Monsters guide, clean layout (2026-11-20, views/monsters/index.php) */
.po-mg .po-monster-block { margin: 0 0 26px; }
.po-mg-muted { display: block; color: #777; font-size: 11px; font-weight: 400; }
.po-mg-dash { color: #444; font-weight: 400; }
.po-mg-scroll { overflow-x: auto; }
.po-mg-formula {
  margin: 0 0 10px; padding: 8px 12px; font-size: 13px; color: #e8dcc0;
  background: #17160d; border: 1px solid #272618; border-left: 3px solid #FF9F00; border-radius: 6px;
}
.po-mg-text { margin: 0; font-size: 13px; }
.po-mg-colors { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.po-mg-color {
  background: linear-gradient(180deg, #17160d 0%, #0b0a05 100%);
  border: 1px solid #272618; border-top: 3px solid var(--skull-color, #FF9F00);
  border-radius: 6px; padding: 12px;
}
.po-mg-color header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.po-mg-color header .po-monster-stars { margin: 0; }
.po-mg-color h3 { margin: 0; font-size: 15px; color: var(--skull-color, #fff); }
.po-mg-color header span { font-size: 12px; color: #aaa; }
.po-mg-color dl { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 0 8px; }
.po-mg-color dl div { background: #0b0a05; border: 1px solid #1e1d14; border-radius: 4px; padding: 4px 6px; text-align: center; }
.po-mg-color dt { font-size: 10px; text-transform: uppercase; letter-spacing: .04em; color: #777; }
.po-mg-color dd { margin: 0; font-size: 14px; font-weight: 600; color: #fff; }
.po-mg-color p { margin: 0; font-size: 11px; color: #888; line-height: 1.4; }
.po-mg-stars { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.po-mg-star {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  background: #0b0a05; border: 1px solid #272618; border-radius: 6px; padding: 12px;
}
.po-mg-star .po-monster-stars { margin: 0; }
.po-mg-star strong { color: #fff; font-size: 14px; }
.po-mg-star span { font-size: 12px; color: #aaa; }
.po-mg-spawn td strong { color: #fff; }
.po-mg-spawn th .po-monster-stars { margin: 0; }
.po-mg-attr { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-top: 8px; }
.po-mg-attr__cell {
  background: #0b0a05; border: 1px solid #272618; border-radius: 6px; padding: 8px; text-align: center;
}
.po-mg-attr__cell strong { display: block; font-size: 16px; color: #FF9F00; }
.po-mg-attr__cell span { font-size: 11px; color: #aaa; }
.po-mg-attr__cell.is-clean strong { color: #888; }
.po-mg-notes { font-size: 12.5px; color: #999; }
@media (min-width: 700px) {
  .po-mg-colors { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .po-mg-attr { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.po-mg-color { padding: 10px; }
.po-mg-color header { gap: 8px; }
.po-mg-color dl { grid-template-columns: 1fr; }
.po-mg-color { text-align: center; }
.po-mg-color header { flex-direction: column; gap: 4px; }
.po-mg-color header span { white-space: nowrap; }
.po-mg-color p { text-align: left; }

/* -- Highscores v2 (2026-11-21) ------------------------------------------- */
.po-hs2 { display: flex; flex-direction: column; gap: 16px; }
.po-hs2-filters { background: #12110a; border: 1px solid #272618; border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.po-hs2-cats { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; }
.po-hs2-cat { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 8px 2px 7px; border-radius: 6px; border: 1px solid transparent; color: #888; font-size: 11px; font-weight: 600; text-align: center; line-height: 1.15; text-decoration: none !important; transition: background .15s, color .15s, border-color .15s; }
.po-hs2-cat img { width: 32px; height: 32px; border-radius: 4px; image-rendering: pixelated; filter: grayscale(.65) brightness(.75); transition: filter .15s, transform .15s; box-shadow: 0 0 0 1px #000; }
.po-hs2-cat:hover { background: #1f1e14; color: #ddd; }
.po-hs2-cat:hover img { filter: none; transform: translateY(-1px); }
.po-hs2-cat.is-active { background: rgba(255, 159, 0, .1); border-color: #FF9F00; color: #FF9F00; }
.po-hs2-cat.is-active img { filter: none; box-shadow: 0 0 0 1px #000, 0 0 10px rgba(255, 159, 0, .45); }

.po-hs2-subbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #272618; padding-top: 12px; }
.po-hs2-vocs { display: flex; flex-wrap: wrap; gap: 4px; background: #0b0a05; border: 1px solid #272618; border-radius: 999px; padding: 3px; }
.po-hs2-voc { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px 3px 3px; border-radius: 999px; color: #999; font-size: 12px; font-weight: 600; text-decoration: none !important; transition: background .15s, color .15s; }
.po-hs2-voc:hover { color: #fff; background: #1f1e14; }
.po-hs2-voc.is-active { background: #FF9F00; color: #1a1200; }
.po-hs2-voc__face { width: 26px; height: 26px; border-radius: 50%; background: #272618 no-repeat 50% 8% / 210% auto; box-shadow: inset 0 0 0 1px rgba(0,0,0,.6); flex-shrink: 0; }
.po-hs2-voc__face--all { display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: #c9b896; }
.po-hs2-voc.is-active .po-hs2-voc__face { box-shadow: 0 0 0 2px #1a1200; }
.po-hs2-voc.is-active .po-hs2-voc__face--all { background: #1a1200; color: #FF9F00; }

.po-hs2-search { position: relative; margin: 0; flex: 1 1 220px; max-width: 300px; }
.po-hs2-search i { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: #666; font-size: 12px; pointer-events: none; }
.po-hs2-search input { width: 100%; height: 34px; padding: 0 12px 0 32px; background: #0b0a05; border: 1px solid #272618; border-radius: 999px; color: #eee; font-size: 13px; outline: none; transition: border-color .15s; }
.po-hs2-search input:focus { border-color: #FF9F00; }

.po-hs2-title { display: flex; align-items: center; gap: 12px; }
.po-hs2-title img { width: 40px; height: 40px; border-radius: 6px; image-rendering: pixelated; box-shadow: 0 0 0 1px #000, 0 0 12px rgba(255, 159, 0, .3); }
.po-hs2 .po-hs2-title h2 { margin: 0 !important; font-family: Poppins, sans-serif !important; letter-spacing: 0 !important; font-size: 19px !important; font-weight: 700 !important; color: #fff !important; text-shadow: none !important; }
.po-hs2-title p { margin: 1px 0 0; font-size: 12px; color: #888; }

/* podium */
.po-hs2-podium { display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 240px) minmax(0, 210px); justify-content: center; align-items: end; gap: 10px; margin-top: 14px; }
.po-hs2-podium--1 { grid-template-columns: minmax(0, 260px); justify-content: center; }
.po-hs2-podium--2 { grid-template-columns: minmax(0, 210px) minmax(0, 240px); }
.po-hs2-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 14px 10px; border-radius: 10px; border: 1px solid #272618; background: linear-gradient(180deg, #1f1e14 0%, #12110a 100%); text-decoration: none !important; color: #ccc; transition: transform .15s, border-color .15s; --m: #c8d0d8; }
.po-hs2-step:hover { transform: translateY(-3px); border-color: var(--m); }
.po-hs2-step--gold { order: 2; --m: #ffc21a; padding-top: 26px; padding-bottom: 22px; background: linear-gradient(180deg, rgba(255,194,26,.16) 0%, #12110a 70%); border-color: rgba(255,194,26,.45); }
.po-hs2-step--silver { order: 1; --m: #c8d0d8; }
.po-hs2-step--bronze { order: 3; --m: #d0843f; }
.po-hs2-step::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--m); }
.po-hs2-step__crown { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); }
.po-hs2-step__outfit { position: relative; width: 88px; height: 88px; display: flex; align-items: flex-end; justify-content: center; border-radius: 50%; background: radial-gradient(circle at 50% 60%, rgba(255,255,255,.07), transparent 70%); }
.po-hs2-step--gold .po-hs2-step__outfit { width: 104px; height: 104px; }
.po-hs2-step__outfit img { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.po-hs2-step__outfit .po-hs2-dot { right: 12px; bottom: 10px; width: 11px; height: 11px; }
.po-hs2-step__medal { position: absolute; top: 10px; left: 10px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.6)); }
.po-hs2-step__name { color: #fff; font-size: 15px; font-weight: 700; margin-top: 2px; word-break: break-word; }
.po-hs2-step--gold .po-hs2-step__name { font-size: 17px; color: #ffd76a; }
.po-hs2-step__voc { font-size: 11px; color: #c9b896; }
.po-hs2-step__value { margin-top: 6px; font-size: 22px; font-weight: 800; color: var(--m); line-height: 1.1; }
.po-hs2-step__value small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #777; }
.po-hs2-step__exp { font-size: 11px; color: #888; font-variant-numeric: tabular-nums; }

/* online dot (podium + table) */
.po-hs2-dot { position: absolute; right: 0; bottom: 2px; width: 9px; height: 9px; border-radius: 50%; background: #555; box-shadow: 0 0 0 2px #12110a; }
.po-hs2-dot.is-online { background: #2ecc71; box-shadow: 0 0 0 2px #12110a, 0 0 6px #2ecc71; }

/* table */
.po-hs2-tablewrap { border: 1px solid #272618; border-radius: 8px; overflow: hidden; overflow-x: auto; }
.po-hs2-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.po-hs2-table thead th { background: #17160d; color: #888; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 9px 12px; border-bottom: 1px solid #272618; text-align: left; }
.po-hs2-table td { padding: 6px 12px; border-bottom: 1px solid #1e1d14; vertical-align: middle; }
.po-hs2-table tbody tr:last-child td { border-bottom: 0; }
.po-hs2-table tbody tr:nth-child(even) td { background: rgba(255,255,255,.015); }
.po-hs2-table tbody tr:hover td { background: rgba(255,159,0,.06); }
.po-hs2-table__rank { width: 52px; text-align: center !important; color: #888; font-weight: 700; font-variant-numeric: tabular-nums; }
.po-hs2-table__value, .po-hs2-table__exp { text-align: right !important; white-space: nowrap; }
.po-hs2-table__value { width: 130px; }
.po-hs2-table__exp { width: 190px; }
.po-hs2-char { display: flex; align-items: center; gap: 10px; text-decoration: none !important; min-width: 0; }
.po-hs2-char__outfit { position: relative; width: 44px; height: 44px; flex-shrink: 0; }
.po-hs2-table .po-hs2-char__outfit img { width: 44px; height: 44px; object-fit: contain; image-rendering: pixelated; }
.po-hs2-char__info { display: flex; flex-direction: column; min-width: 0; }
.po-hs2-char__info strong { color: #fff; font-size: 14px; font-weight: 600; }
.po-hs2-char:hover strong { color: #FF9F00; }
.po-hs2-char__info small { color: #888; font-size: 11px; }
.po-hs2-char__info em { color: #2ecc71; font-style: normal; }
.po-hs2-val { font-size: 16px; font-weight: 700; color: #FF9F00; font-variant-numeric: tabular-nums; }
.po-hs2-exp { font-size: 13px; color: #ddd; font-variant-numeric: tabular-nums; }
.po-hs2-bar { display: block; height: 3px; margin-top: 4px; margin-left: auto; width: 100%; max-width: 160px; background: #1f1e14; border-radius: 3px; overflow: hidden; }
.po-hs2-bar i { display: block; height: 100%; background: linear-gradient(90deg, #e68a00, #FF9F00); border-radius: 3px; }

/* search states */
.po-hs2 .is-hidden { display: none !important; }
.po-hs2-table tr.is-hit td { background: rgba(255,159,0,.1) !important; }
.po-hs2-step.is-hit { border-color: #FF9F00; }
.po-hs2-nomatch { text-align: center; color: #888; font-size: 13px; margin: 0; }
.po-hs2-empty { padding: 40px 20px; border: 1px dashed #272618; border-radius: 8px; }
.po-hs2-empty a { color: #FF9F00; }

/* pagination */
.po-hs2-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.po-hs2-pg { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 6px; border: 1px solid #272618; background: #12110a; color: #ccc; font-size: 12px; font-weight: 600; text-decoration: none !important; font-variant-numeric: tabular-nums; }
.po-hs2-pg:hover { border-color: #FF9F00; color: #FF9F00; }
.po-hs2-pg.is-current { background: #FF9F00; border-color: #FF9F00; color: #1a1200; }

@media (max-width: 1100px) {
    .po-hs2-cats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .po-hs2-cats { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; padding: 0 4px 2px; }
    .po-hs2-cats::-webkit-scrollbar { display: none; }
    .po-hs2-cat { flex: 0 0 70px; }
    .po-hs2-vocs { width: 100%; justify-content: space-between; border-radius: 10px; }
    .po-hs2-voc { padding: 3px; }
    .po-hs2-voc span:not(.po-hs2-voc__face) { display: none; }
    .po-hs2-voc.is-active span:not(.po-hs2-voc__face) { display: inline; padding-right: 8px; }
    .po-hs2-search { max-width: none; }
    .po-hs2-podium { gap: 6px; }
    .po-hs2-step { padding: 10px 4px; }
    .po-hs2-step--gold { padding-top: 22px; }
    .po-hs2-step__outfit, .po-hs2-step--gold .po-hs2-step__outfit { width: 64px; height: 64px; }
    .po-hs2-step__name { font-size: 13px; }
    .po-hs2-step--gold .po-hs2-step__name { font-size: 14px; }
    .po-hs2-step__value { font-size: 17px; }
    .po-hs2-step__exp { display: none; }
    .po-hs2-table td, .po-hs2-table thead th { padding-left: 6px; padding-right: 6px; }
    .po-hs2-table__exp { width: auto; }
    .po-hs2-table__exp .po-hs2-bar, .po-hs2-table__value .po-hs2-bar { max-width: 70px; }
    .po-hs2-table__value { width: 70px; }
}

/* -- Cam records (/account/cams, 2026-11-21) --- */
.po-cam-howto { margin-top: 6px; color: #c9b896; }
.po-cam-howto code { color: #FF9F00; }
.po-cam-live { margin-left: 10px; font-size: 12px; color: #e74c3c; font-weight: 600; }
.po-cam-live i { font-size: 8px; vertical-align: middle; animation: po-cam-blink 1.2s infinite; }
@keyframes po-cam-blink { 50% { opacity: .2; } }
.po-cam-empty { color: #888; margin: 0; }
.po-cam-table td { vertical-align: middle; }

/* Boosted creature (right sidebar, 2026-11-21) */
.po-boosted {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--po-border);
    border-radius: var(--po-radius);
    background: var(--po-gradient-surface);
    text-decoration: none;
    color: var(--po-text-bright);
    transition: border-color 0.2s ease;
}

a.po-boosted:hover {
    border-color: var(--po-accent);
    color: var(--po-text-bright);
}

.po-boosted__figure {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.po-boosted__figure img {
    image-rendering: pixelated;
}

.po-boosted__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.po-boosted__name {
    font-size: 15px;
    font-weight: 700;
    color: var(--po-accent);
    word-break: break-word;
}

.po-boosted__bonus {
    font-size: 12px;
    color: var(--po-text-muted);
}

.po-boosted__bonus i {
    width: 14px;
    color: var(--po-accent);
}

.po-boosted__note {
    margin: 8px 0 0;
    font-size: 11px;
    color: var(--po-text-muted);
}

/* Site settings admin (2026-11-21) */
.po-ss-help {
    margin: 0 0 14px;
    font-size: 13px;
    color: var(--po-text-muted);
}

.po-ss-themes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.po-ss-theme {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 14px 12px 40px;
    border: 1px solid var(--po-border);
    border-radius: var(--po-radius);
    background: var(--po-gradient-surface);
    cursor: pointer;
    margin: 0;
}

.po-ss-theme:hover,
.po-ss-theme.is-current {
    border-color: var(--po-accent);
}

.po-ss-theme input {
    position: absolute;
    left: 14px;
    top: 17px;
}

.po-ss-theme__swatches {
    display: flex;
    gap: 4px;
}

.po-ss-theme__swatches span {
    width: 28px;
    height: 16px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.po-ss-theme__name {
    font-weight: 700;
    color: var(--po-text-bright);
}

.po-ss-theme__name small {
    font-weight: 500;
    color: var(--po-accent);
}

.po-ss-theme__desc {
    font-size: 12px;
    color: var(--po-text-muted);
}

.po-ss-theme__preview {
    font-size: 12px;
    color: var(--po-accent);
}

/* -- Quest: dois lados (Tom x Sam) + ferramentas (/quests/the-brothers-legacy) --- */
.po-quests-page { --qr-leather: #d08a4a; --qr-leather-bg: rgba(208, 138, 74, .10); --qr-iron: #8fb6d8; --qr-iron-bg: rgba(143, 182, 216, .10); }
.po-qr { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); align-items: stretch; margin: 0 0 10px; }
.po-qr__card { --c: var(--qr-leather); --cb: var(--qr-leather-bg); position: relative; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 10px; border: 1px solid #272618; border-top: 3px solid var(--c); background: linear-gradient(180deg, var(--cb), rgba(18, 17, 10, .9) 55%), #12110a; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.po-qr__card--iron { --c: var(--qr-iron); --cb: var(--qr-iron-bg); }
.po-qr__card:hover { transform: translateY(-2px); border-color: var(--c); box-shadow: 0 6px 22px rgba(0, 0, 0, .45); }
.po-qr__top { display: flex; align-items: center; gap: 14px; }
.po-qr__sprite { flex: 0 0 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 60%, var(--cb), transparent 70%), #0b0a05; border: 1px solid var(--c); box-shadow: 0 0 0 4px rgba(0, 0, 0, .35), inset 0 0 18px rgba(0, 0, 0, .6); overflow: hidden; }
.po-qr__sprite img { width: 64px; height: 64px; image-rendering: pixelated; margin: -6px 0 0 0; }
.po-qr__role { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--c); font-weight: 700; }
.po-qr__name { margin: 0; color: #fff; font-size: 22px; font-weight: 700; line-height: 1.15; }
.po-qr__town { font-size: 12px; color: #c9b896; }
.po-qr__town i { color: var(--c); margin-right: 3px; }
.po-qr__quote { margin: 0; padding: 8px 12px; border-left: 2px solid var(--c); background: rgba(0, 0, 0, .25); border-radius: 0 6px 6px 0; color: #c9b896; font-style: italic; font-size: 13px; line-height: 1.5; }
.po-qr__quote::before { content: "\201C"; color: var(--c); font-size: 18px; margin-right: 2px; }
.po-qr__quote::after { content: "\201D"; color: var(--c); font-size: 18px; margin-left: 2px; }
.po-qr__facts { margin: 0; display: grid; gap: 8px; }
.po-qr__facts dt { font-size: 10px; text-transform: uppercase; letter-spacing: .6px; color: #888; font-weight: 600; }
.po-qr__facts dt i { color: var(--c); width: 14px; }
.po-qr__facts dd { margin: 2px 0 0; color: #ddd; font-size: 13px; line-height: 1.5; }
.po-qr__facts dd b { color: var(--c); }
.po-qr__wife { margin-top: auto; display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px dashed #272618; }
.po-qr__wife img { width: 48px; height: 48px; image-rendering: pixelated; margin: -10px -4px -4px 0; }
.po-qr__wife b { display: block; color: #fff; font-size: 13px; }
.po-qr__wife span { color: #888; font-size: 12px; }
.po-qr__vs { display: flex; align-items: center; justify-content: center; position: relative; }
.po-qr__vs::before { content: ""; position: absolute; top: 12%; bottom: 12%; left: 50%; width: 1px; background: linear-gradient(180deg, transparent, #3a3824, transparent); }
.po-qr__vs span { position: relative; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #0b0a05; border: 1px solid #3a3824; color: #FF9F00; font-weight: 800; font-size: 12px; letter-spacing: 1px; box-shadow: 0 0 14px rgba(255, 159, 0, .18); }
.po-qr__note { margin: 0 0 16px; padding: 10px 14px; border-radius: 8px; background: #17160d; border: 1px solid #272618; color: #c9b896; font-size: 13px; }
.po-qr__note i { color: #FF9F00; margin-right: 6px; }
.po-qr__note b { color: #fff; }

.po-qt__intro { color: #ccc; font-size: 13px; line-height: 1.65; margin: 0 0 14px; }
.po-qt__intro b { color: #FF9F00; }
.po-qt { display: grid; gap: 8px; }
.po-qt__row { display: grid; grid-template-columns: 70px repeat(3, minmax(0, 1fr)); gap: 8px; align-items: stretch; }
.po-qt__lvl { background: #12110a; border: 1px solid #272618; border-radius: 8px; padding: 10px 12px; }
.po-qt__lvl > b { color: #fff; font-size: 13px; }
.po-qt__bar { height: 6px; border-radius: 3px; background: #272618; margin: 8px 0 4px; overflow: hidden; }
.po-qt__bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #e68a00, #FF9F00); }
.po-qt__chance { font-size: 12px; color: #FF9F00; font-weight: 600; }
.po-qt__stats { list-style: none; margin: 8px 0 0; padding: 0; font-size: 12px; color: #aaa; display: grid; gap: 3px; }
.po-qt__stats i { width: 14px; color: #666; }
.po-qt__owner { display: flex; align-items: center; justify-content: center; border-radius: 8px; font-weight: 700; font-size: 13px; letter-spacing: .5px; }
.po-qt__row--leather .po-qt__owner { color: var(--qr-leather); background: var(--qr-leather-bg); border: 1px solid rgba(208, 138, 74, .35); }
.po-qt__row--iron .po-qt__owner { color: var(--qr-iron); background: var(--qr-iron-bg); border: 1px solid rgba(143, 182, 216, .35); }
.po-qt__item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; background: #17160d; border: 1px solid #272618; color: #ddd; font-size: 12px; text-decoration: none; transition: border-color .15s ease, background .15s ease; }
.po-qt__item img { image-rendering: pixelated; flex: 0 0 32px; background: #0b0a05; border-radius: 4px; }
.po-qt__row--leather .po-qt__item:hover { border-color: var(--qr-leather); background: var(--qr-leather-bg); color: #fff; }
.po-qt__row--iron .po-qt__item:hover { border-color: var(--qr-iron); background: var(--qr-iron-bg); color: #fff; }
.po-qt__tips { margin: 12px 0 0; padding-left: 18px; color: #aaa; font-size: 12px; line-height: 1.6; }
.po-qt__tips b { color: #FF9F00; }
@media (max-width: 767px) {
    .po-qr { grid-template-columns: 1fr; gap: 0; }
    .po-qr__vs { height: 40px; }
    .po-qr__vs::before { display: none; }
    .po-qt__row { grid-template-columns: 1fr; }
    .po-qt__row--head > span { display: none; }
    .po-qt__owner { padding: 6px; }
}

/* -- Quest chain (parte anterior / proxima parte), 2026-11-22 --- */
.po-quest-chain { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 18px 0 4px; }
.po-quest-chain > div { background: #12110a; border: 1px solid #272618; border-radius: 6px; padding: 10px 14px; color: #c9b896; }
.po-quest-chain__next { margin-left: auto; }
.po-quest-chain a { font-weight: 600; }
