/* PokeStory global refresh: shared layout, page panels and account widgets. */
:root {
    --ps-ink: #fbf8ff;
    --ps-muted: #c9bfd8;
    --ps-night: #090711;
    --ps-surface: #171224;
    --ps-surface-raised: #211832;
    --ps-line: rgba(207, 181, 243, .2);
    --ps-blue: #b994e8;
    --ps-blue-deep: #7146b6;
    --ps-yellow: #e7ce98;
    --ps-red: #ff536e;
    --ps-green: #53d68a;
}

html {
    background: var(--ps-night) !important;
}

body {
    color: var(--ps-ink) !important;
    background-color: var(--ps-night) !important;
    background-image:
        linear-gradient(90deg, rgba(7, 7, 15, .88) 0%, rgba(9, 7, 18, .72) 43%, rgba(9, 7, 18, .32) 100%),
        linear-gradient(0deg, rgba(7, 7, 15, .82) 0%, rgba(7, 7, 15, .08) 65%, rgba(7, 7, 15, .34) 100%),
        url("../img/launcher-poster.jpg") !important;
    background-position: center top !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    font-family: Inter, "Segoe UI", Arial, sans-serif !important;
}

.main {
    width: min(1440px, calc(100% - 48px)) !important;
    margin: 22px auto !important;
}

nav {
    position: sticky;
    top: 10px;
    z-index: 10;
    overflow: visible !important;
    padding: 5px 8px !important;
    border: 1px solid rgba(202, 174, 235, .34) !important;
    border-radius: 17px !important;
    background: linear-gradient(110deg, rgba(14, 11, 25, .97), rgba(24, 17, 38, .96) 58%, rgba(38, 24, 48, .96)) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .34), inset 0 1px rgba(255,255,255,.08) !important;
    backdrop-filter: blur(18px) saturate(150%);
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    padding: 0 4px !important;
    overflow: visible !important;
    background: transparent !important;
}

nav .container > div > ul {
    display: flex !important;
    align-items: center;
    gap: 2px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

nav .container > div:last-child > ul { justify-content: flex-end; }

nav .container > div > ul > li {
    position: relative;
}

nav .container > div > ul > li > a {
    display: flex !important;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 11px !important;
    border: 1px solid transparent;
    border-radius: 11px;
    color: #eef5ff !important;
    font-size: 12px;
    font-weight: 800 !important;
    white-space: nowrap;
    transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

nav .container > div > ul > li > a:hover,
nav .container > div > ul > li:hover > a {
    color: #fff !important;
    border-color: rgba(132, 180, 255, .18);
    background: linear-gradient(135deg, rgba(56, 142, 255, .22), rgba(132, 84, 232, .15)) !important;
    transform: translateY(-1px);
}

nav .container > div > ul > li > a i { color: #cdb6ed; }
nav .container > div > ul > li:nth-child(2) > a i { color: var(--ps-yellow); }
nav .container > div > ul > li:nth-child(3) > a { background: linear-gradient(110deg, rgba(153, 105, 211, .2), rgba(255, 83, 110, .09)); border-color: rgba(207, 181, 243, .18); }

nav .container > div > ul > li.ps-nav-brand { flex: 0 0 auto; }
nav .container > div > ul > li.ps-nav-brand > a { display: flex !important; gap: 10px; margin-right: 5px; padding: 0 14px 0 7px !important; border-right: 1px solid rgba(207,181,243,.22); border-radius: 0; color: #f8f3ff !important; text-decoration: none; }
nav .container > div > ul > li.ps-nav-brand > a:hover { border-color: rgba(207,181,243,.34); background: transparent !important; transform: none; }
.ps-brand-mark { position: relative; display: inline-grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border: 1px solid #e4cf98; border-radius: 50%; background: linear-gradient(180deg, #70508f 0 44%, #ddc58d 45% 53%, #171322 54% 100%); box-shadow: 0 0 0 4px rgba(198,170,233,.06), 0 0 22px rgba(171,126,218,.15); transform: rotate(-25deg); }
.ps-brand-mark i { width: 12px; height: 12px; border: 2px solid #d8c38e; border-radius: 50%; background: #221b30; box-shadow: 0 0 0 3px #171322; }
.ps-brand-copy { display: flex; flex-direction: column; justify-content: center; line-height: 1; }
.ps-brand-copy strong { color: #faf7ff; font-size: 14px; font-weight: 950; letter-spacing: .04em; }
.ps-brand-copy small { margin-top: 5px; color: #a89bb9; font-size: 7px; font-weight: 650; letter-spacing: .2em; white-space: nowrap; }
.ps-brand-mark-small { flex-basis: 22px; width: 22px; height: 22px; margin-right: 7px; vertical-align: middle; }
.ps-brand-mark-small i { width: 8px; height: 8px; border-width: 1px; box-shadow: 0 0 0 2px #171322; }

nav .container > div > ul > li > ul {
    top: 100%;
    left: 0;
    min-width: 205px;
    padding: 7px !important;
    border: 1px solid var(--ps-line) !important;
    border-radius: 12px;
    background: #101a32 !important;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .48);
    backdrop-filter: blur(16px);
}

nav .container > div > ul > li > ul > li > a {
    padding: 10px 12px !important;
    border-radius: 8px;
    color: #dbe8f5 !important;
    font-size: 13px;
}

nav .container > div > ul > li > ul > li > a:hover {
    background: rgba(52, 136, 244, .17) !important;
    color: var(--ps-yellow) !important;
}

.banner {
    min-height: 250px !important;
    height: clamp(190px, 24vw, 290px) !important;
    margin-top: 18px !important;
    border: 1px solid var(--ps-line) !important;
    border-radius: 18px !important;
    background: url("../img/header.png") center center / cover no-repeat !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .3) !important;
}

.feedContainer {
    display: flow-root;
    margin: 18px 0 !important;
    padding: 14px !important;
    border: 1px solid var(--ps-line) !important;
    border-radius: 18px !important;
    background: rgba(8, 20, 32, .78) !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .26) !important;
    backdrop-filter: blur(12px);
}

.leftPane {
    box-sizing: border-box;
    width: calc(70% - 9px) !important;
    padding: 10px !important;
    border-radius: 13px;
    background: transparent !important;
}

.rightPane {
    box-sizing: border-box;
    width: calc(30% - 9px) !important;
    padding: 2px !important;
    background: transparent !important;
}

.well,
.widget,
.topPane,
.rightPane > .well,
.leftPane > .well {
    border: 1px solid var(--ps-line) !important;
    border-radius: 14px !important;
    background: linear-gradient(145deg, rgba(22, 40, 57, .98), rgba(14, 29, 43, .98)) !important;
    box-shadow: 0 9px 24px rgba(0, 0, 0, .17) !important;
}

.widget {
    margin-bottom: 14px !important;
    padding: 8px !important;
}

.header {
    margin: 0 0 6px !important;
    padding: 12px 14px !important;
    border: 1px solid rgba(255, 212, 71, .15) !important;
    border-radius: 10px !important;
    background: linear-gradient(110deg, rgba(40, 81, 122, .65), rgba(27, 46, 64, .72)) !important;
    color: var(--ps-yellow) !important;
    font-size: 14px;
    font-weight: 850 !important;
    letter-spacing: .015em;
}

.body {
    padding: 12px !important;
    color: var(--ps-ink) !important;
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    color: #f5f8ff !important;
}

.leftPane > h1 {
    margin: 4px 0 18px !important;
    padding: 0 0 12px 14px !important;
    border-bottom: 1px solid var(--ps-line);
    border-left: 4px solid var(--ps-red) !important;
    color: var(--ps-yellow) !important;
    font-size: clamp(23px, 3vw, 31px);
    font-weight: 900;
    letter-spacing: -.025em;
}

h2 {
    padding-bottom: 8px !important;
    border-bottom: 1px solid var(--ps-line) !important;
    color: #e8f2ff !important;
}

a {
    color: #83b8ff !important;
    text-decoration-color: rgba(131, 184, 255, .42);
}

a:hover {
    color: var(--ps-yellow) !important;
}

table {
    width: 100% !important;
    overflow: hidden;
    border: 1px solid var(--ps-line) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 11px !important;
    background: rgba(10, 24, 37, .92) !important;
}

table th,
table thead td {
    padding: 11px 12px !important;
    border-color: rgba(167, 198, 226, .14) !important;
    background: linear-gradient(110deg, #215e9c, #194779) !important;
    color: #fff !important;
    font-weight: 800;
}

table td {
    padding: 10px 12px !important;
    border-color: rgba(167, 198, 226, .1) !important;
    color: #d8e5f2 !important;
}

table tr:nth-child(even) td {
    background: rgba(39, 67, 91, .38) !important;
}

table tr:hover td {
    background: rgba(52, 136, 244, .15) !important;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="date"],
select,
textarea {
    box-sizing: border-box;
    max-width: 100%;
    border: 1px solid rgba(153, 189, 221, .28) !important;
    border-radius: 9px !important;
    background: #0b1926 !important;
    color: #f5f8ff !important;
}

input:focus,
select:focus,
textarea:focus {
    outline: none !important;
    border-color: var(--ps-blue) !important;
    box-shadow: 0 0 0 3px rgba(52, 136, 244, .18) !important;
}

button,
input[type="submit"],
input[type="button"],
.button,
.btn {
    min-height: 38px;
    padding: 8px 15px !important;
    border: 1px solid rgba(255, 255, 255, .1) !important;
    border-radius: 9px !important;
    background: linear-gradient(135deg, var(--ps-blue), var(--ps-blue-deep)) !important;
    box-shadow: 0 6px 14px rgba(15, 75, 150, .25) !important;
    color: #fff !important;
    font-weight: 800 !important;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.button:hover,
.btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

ul.linkbuttons li {
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid rgba(131, 184, 255, .23) !important;
    border-radius: 9px;
    background: rgba(52, 136, 244, .08);
}

ul.linkbuttons li a {
    padding: 9px 6px !important;
    color: #dcecff !important;
    font-weight: 700;
}

ul.linkbuttons li a:hover {
    background: rgba(52, 136, 244, .17);
    color: var(--ps-yellow) !important;
}

.alert-box,
.alert-default,
.alert-info,
.alert-success,
.alert-warning,
.alert-danger {
    border-radius: 10px !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}

.alert-info { background: #123653 !important; color: #bce2ff !important; border-color: #24567a !important; }
.alert-success { background: #123a2c !important; color: #b9f2d0 !important; border-color: #236b4e !important; }
.alert-warning { background: #493919 !important; color: #ffe5a0 !important; border-color: #795c23 !important; }
.alert-danger { background: #4a252b !important; color: #ffc3c7 !important; border-color: #78353e !important; }

/* Keep the download hero and its light cards distinct from generic page panels. */
.download-hero h1 {
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
    color: #fff !important;
}

.download-card h2 {
    margin: 0 0 8px !important;
    padding: 0 !important;
    border: 0 !important;
    color: #17233a !important;
}

.welcome-news {
    position: relative;
    overflow: hidden;
    margin: 4px 0 14px;
    padding: clamp(20px, 3vw, 30px);
    border: 1px solid rgba(131,184,255,.2);
    border-radius: 14px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255,212,71,.1), transparent 30%),
        linear-gradient(145deg, rgba(20,43,63,.98), rgba(12,28,43,.98));
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

.welcome-news-label { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 13px; }
.welcome-news-label span:first-child { padding: 5px 8px; border-radius: 999px; background: rgba(240,82,89,.17); color: #ffb4b8; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.welcome-news-label span:last-child { color: var(--ps-yellow); font-size: 12px; font-weight: 750; }
.welcome-news h2 { margin: 0 0 11px !important; padding: 0 0 11px !important; border-bottom: 1px solid var(--ps-line) !important; color: #f5f9ff !important; font-size: clamp(21px, 3vw, 28px); }
.welcome-news p { margin: 8px 0; color: #c2d2e1; font-size: 14px; line-height: 1.7; }
.welcome-news-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 13px; }
.welcome-news-actions a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid rgba(131,184,255,.2); border-radius: 8px; background: rgba(52,136,244,.1); color: #e8f3ff !important; font-size: 12px; font-weight: 800; }
.welcome-news-actions a:hover { background: rgba(52,136,244,.2); color: var(--ps-yellow) !important; }
.welcome-news small { color: #8fa4b8; font-size: 11px; }
ul.linkbuttons li.news-editor-link { width: 100% !important; margin-right: 0 !important; border-color: rgba(255,212,71,.35) !important; background: rgba(255,212,71,.08) !important; }
ul.linkbuttons li.news-editor-link a { color: var(--ps-yellow) !important; }
.feed-editor-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; padding: 12px 15px; border: 1px solid rgba(255,212,71,.26); border-radius: 11px; background: rgba(255,212,71,.07); color: #f4e5ad; font-size: 13px; }
.feed-editor-toolbar a { flex: 0 0 auto; padding: 8px 12px; border-radius: 8px; background: linear-gradient(135deg,var(--ps-blue),var(--ps-blue-deep)); color: #fff !important; font-weight: 800; }
.feed-editor-toolbar a:hover { color: var(--ps-yellow) !important; }

/* PokeStory launcher identity and community links */
.feedContainer { background: rgba(14, 10, 22, .88) !important; }
.search_widget { background: linear-gradient(145deg, rgba(31,22,46,.97), rgba(17,13,27,.97)) !important; }
.search-widget-heading { display: flex !important; align-items: center; gap: 8px; }
.search-widget-heading .ps-brand-mark-small { margin: 0 3px 0 0; }
.search_widget .body { position: relative; }
.search_widget .searchForm { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.search_widget .searchForm label { color: #e9e0f4; font-size: 12px; font-weight: 700; }
.search_widget .searchForm input { flex: 1 1 150px; min-width: 0; padding: 10px 12px !important; }
#name_suggestion { z-index: 20; border: 1px solid rgba(207,181,243,.25); border-radius: 9px; background: #181226; box-shadow: 0 14px 30px rgba(0,0,0,.4); }
#name_suggestion .sname a { display: block; padding: 8px 10px; color: #eee7f8 !important; }
#name_suggestion .sname a:hover { background: rgba(185,148,232,.16); }
.social-community-widget .body > p { margin: 0 0 12px; color: var(--ps-muted); font-size: 12px; line-height: 1.5; }
.community-social-links { display: grid; gap: 7px; }
.community-social-links a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 10px; border: 1px solid rgba(207,181,243,.16); border-radius: 9px; background: rgba(255,255,255,.035); color: #f4effb !important; font-size: 12px; font-weight: 750; text-decoration: none; transition: transform .16s ease, border-color .16s ease, background .16s ease; }
.community-social-links a:hover { transform: translateX(2px); border-color: rgba(207,181,243,.4); background: rgba(185,148,232,.11); }
.community-social-links a > i:first-child { width: 18px; color: #c6a8ec; font-size: 15px; text-align: center; }
.community-social-links a > i:last-child { margin-left: auto; color: #827590; font-size: 10px; }
.community-social-facebook > i:first-child { color: #9dbdff !important; }
.community-social-whatsapp > i:first-child { color: #87dfa8 !important; }
.community-social-discord > i:first-child { color: #c7b8ff !important; }
footer { display: grid !important; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px 18px; background: rgba(12,9,20,.94) !important; }
footer .pull-left, footer .pull-right { float: none !important; }
.footer-community { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding-top: 11px; border-top: 1px solid var(--ps-line); }
.footer-community a { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 6px 10px; border: 1px solid rgba(207,181,243,.17); border-radius: 8px; background: rgba(185,148,232,.07); color: #e8ddf4 !important; font-size: 11px; font-weight: 750; text-decoration: none; }
.footer-community a:hover { border-color: rgba(207,181,243,.38); background: rgba(185,148,232,.14); }
.footer-community a:nth-child(1) i { color: #9dbdff; }
.footer-community a:nth-child(2) i { color: #87dfa8; }
.footer-community a:nth-child(3) i { color: #c7b8ff; }

/* News feed and publishing panel */
.postHolder { margin: 0 0 16px !important; }
.postHolder > .well {
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(131,184,255,.19) !important;
    border-radius: 14px !important;
    background: linear-gradient(145deg, rgba(19,39,57,.98), rgba(11,27,41,.98)) !important;
    box-shadow: 0 12px 28px rgba(0,0,0,.17) !important;
}
.postHolder > .well > .header {
    padding: 14px 18px !important;
    border-bottom: 1px solid var(--ps-line);
    background: rgba(52,136,244,.09) !important;
    color: #dcecff !important;
    font-size: 12px !important;
    line-height: 1.6;
}
.postHolder > .well > .header a { color: #9ecaff !important; }
.postHolder > .well > .header b { color: var(--ps-yellow); font-size: 15px; }
.postHolder > .well > .body { padding: 18px 20px !important; color: #d4e1ed; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.postHolder > .well > .body p { margin: 0 0 12px; }
.postHolder > .well > .body img { height: auto; max-width: 100%; border-radius: 10px; }
.postHolder .youtube { max-width: 780px; margin: 16px auto; }
.postHolder .aspectratio { position: relative; width: 100%; padding-bottom: 56.25%; }
.postHolder .aspectratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }
.news-admin-page { display: grid; gap: 16px; margin: 4px 0 18px; color: var(--ps-ink); }
.news-admin-hero, .news-admin-panel {
    border: 1px solid var(--ps-line);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(19,39,57,.97), rgba(11,27,41,.97));
    box-shadow: 0 12px 28px rgba(0,0,0,.16);
}
.news-admin-hero { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: clamp(20px, 3vw, 30px); background: radial-gradient(circle at 100% 0%, rgba(255,212,71,.1), transparent 30%), linear-gradient(145deg, rgba(20,43,63,.98), rgba(12,28,43,.98)); }
.news-admin-kicker { display: inline-flex; align-items: center; gap: 7px; color: var(--ps-yellow); font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.news-admin-hero h1 { margin: 9px 0 7px !important; padding: 0 !important; border: 0 !important; color: #f5f9ff !important; font-size: clamp(24px, 3vw, 32px) !important; }
.news-admin-hero p, .news-admin-section-heading p { margin: 0; color: var(--ps-muted); font-size: 13px; line-height: 1.6; }
.news-admin-home, .news-admin-primary, .news-admin-secondary, .news-admin-delete { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 39px; padding: 9px 13px; border: 1px solid rgba(131,184,255,.22); border-radius: 9px; background: rgba(52,136,244,.12); color: #e8f3ff !important; font-size: 12px; font-weight: 800; white-space: nowrap; cursor: pointer; }
.news-admin-home:hover, .news-admin-secondary:hover { background: rgba(52,136,244,.22); color: var(--ps-yellow) !important; }
.news-admin-primary { border-color: transparent; background: linear-gradient(135deg,var(--ps-blue),var(--ps-blue-deep)); color: #fff !important; }
.news-admin-primary:hover { filter: brightness(1.12); }
.news-admin-delete { border-color: rgba(240,82,89,.25); background: rgba(240,82,89,.1); color: #ffc2c5 !important; }
.news-admin-delete:hover { background: rgba(240,82,89,.2); }
.news-admin-panel { padding: clamp(16px, 2.4vw, 24px); }
.news-admin-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.news-admin-section-heading h2 { margin: 5px 0 4px !important; padding: 0 !important; border: 0 !important; color: #f5f9ff !important; font-size: 19px !important; }
.news-admin-section-heading form { margin: 0; }
.news-admin-count { flex: 0 0 auto; padding: 7px 10px; border: 1px solid var(--ps-line); border-radius: 999px; color: #c5d5e5; font-size: 11px; font-weight: 750; }
.news-admin-editor { display: grid; gap: 15px; }
.news-admin-field { display: grid; gap: 7px; color: #e8f0f8; font-size: 13px; font-weight: 750; }
.news-admin-field span { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.news-admin-field small { color: var(--ps-muted); font-size: 11px; font-weight: 500; }
.news-admin-field input, .news-admin-field textarea, .news-admin-field select { box-sizing: border-box; width: 100%; max-width: none !important; padding: 12px 13px !important; border: 1px solid rgba(164,195,224,.22) !important; border-radius: 9px !important; outline: none; background: rgba(5,17,28,.72) !important; color: #eef5ff !important; font: inherit !important; font-weight: 450 !important; }
.news-admin-field input:focus, .news-admin-field textarea:focus, .news-admin-field select:focus { border-color: rgba(52,136,244,.75) !important; box-shadow: 0 0 0 3px rgba(52,136,244,.13); }
.news-admin-field textarea { min-height: 260px; resize: vertical; line-height: 1.65 !important; }
.news-admin-field select option { background: #12263a; color: #eef5ff; }
.news-admin-editor-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 3px; }
.news-admin-editor-footer p { margin: 0; color: var(--ps-muted); font-size: 11px; line-height: 1.5; }
.news-admin-editor-footer > div { display: flex; align-items: center; gap: 8px; }
.news-admin-notice { display: flex; align-items: center; gap: 9px; padding: 12px 15px; border: 1px solid; border-radius: 10px; font-size: 13px; font-weight: 700; }
.news-admin-notice.is-success { border-color: rgba(83,214,138,.3); background: rgba(83,214,138,.09); color: #b9f2d0; }
.news-admin-notice.is-error, .news-admin-inline-error { border-color: rgba(240,82,89,.3); background: rgba(240,82,89,.09); color: #ffc3c7; }
.news-admin-inline-error { margin: 0; padding: 10px 12px; border: 1px solid; border-radius: 9px; font-size: 12px; }
.news-admin-empty-editor, .news-admin-empty { display: flex; align-items: center; gap: 13px; min-height: 76px; padding: 13px; border: 1px dashed rgba(164,195,224,.2); border-radius: 11px; background: rgba(5,17,28,.3); }
.news-admin-empty-editor > div, .news-admin-empty { color: var(--ps-muted); }
.news-admin-empty-editor strong, .news-admin-empty strong { display: block; margin-bottom: 4px; color: #eef5ff; font-size: 13px; }
.news-admin-empty-editor span:not(.news-admin-empty-icon), .news-admin-empty span:last-child { display: block; font-size: 12px; line-height: 1.5; }
.news-admin-empty-icon { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; border-radius: 11px; background: rgba(52,136,244,.13); color: #9ecaff; font-size: 16px; }
.news-admin-empty { flex-direction: column; justify-content: center; padding: 26px; text-align: center; }
.news-admin-table-wrap { overflow-x: auto; border: 1px solid var(--ps-line); border-radius: 11px; }
.news-admin-table { width: 100% !important; min-width: 680px; margin: 0 !important; border-collapse: collapse; }
.news-admin-table th { padding: 12px 14px !important; background: rgba(52,136,244,.1) !important; color: #cadbed !important; font-size: 10px !important; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.news-admin-table td { padding: 13px 14px !important; border-top: 1px solid var(--ps-line); color: #cfdeeb; vertical-align: middle; }
.news-admin-table td:first-child strong, .news-admin-table td:first-child small { display: block; }
.news-admin-table td:first-child strong { max-width: 430px; overflow-wrap: anywhere; color: #f1f6fc; font-size: 13px; }
.news-admin-table td:first-child small { margin-top: 4px; color: #8096aa; font-size: 10px; }
.news-admin-actions { display: flex; gap: 6px; white-space: nowrap; }
.news-admin-actions form { display: inline-block; margin: 0; }
.news-admin-actions .news-admin-secondary, .news-admin-actions .news-admin-delete { min-height: 33px; padding: 6px 9px; font-size: 11px; }
@media (max-width: 680px) {
    .news-admin-hero, .news-admin-section-heading, .news-admin-editor-footer { align-items: stretch; flex-direction: column; }
    .news-admin-home { align-self: flex-start; }
    .news-admin-section-heading form, .news-admin-section-heading form button { width: 100%; }
    .news-admin-editor-footer > div { width: 100%; }
    .news-admin-editor-footer > div > * { flex: 1; }
    .postHolder > .well > .header { padding: 12px 13px !important; }
    .postHolder > .well > .body { padding: 14px !important; }
}
.poketory-profile-layout, .poketory-profile-info { box-sizing: border-box; width: 100%; min-width: 0; }
.poketory-profile-info #characterProfileTable { width: 100% !important; table-layout: fixed; }
.poketory-profile-info #characterProfileTable td:first-child { width: 28%; }

.serverinfo-page,
.forum-page {
    color: var(--ps-ink);
}

.serverinfo-hero,
.forum-hero {
    position: relative;
    overflow: hidden;
    margin: 4px 0 18px;
    padding: clamp(23px, 4vw, 38px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 17px;
    background:
        radial-gradient(circle at 92% 10%, rgba(255,212,71,.22), transparent 24%),
        radial-gradient(circle at 0% 100%, rgba(240,82,89,.17), transparent 33%),
        linear-gradient(120deg, #102746, #185aa2 65%, #2878d8);
    box-shadow: 0 14px 34px rgba(0,0,0,.24);
}

.serverinfo-hero h1,
.forum-hero h1 {
    margin: 0 0 10px !important;
    padding: 0 !important;
    border: 0 !important;
    color: #fff !important;
    font-size: clamp(27px, 4vw, 39px);
    font-weight: 900;
    letter-spacing: -.035em;
}

.serverinfo-hero p,
.forum-hero p {
    max-width: 680px;
    margin: 0;
    color: rgba(255,255,255,.83);
    font-size: 15px;
    line-height: 1.65;
}

.serverinfo-eyebrow,
.forum-eyebrow {
    margin-bottom: 9px;
    color: var(--ps-yellow);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.serverinfo-highlights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 11px;
    margin-bottom: 18px;
}

.serverinfo-highlight,
.serverinfo-section {
    min-width: 0;
    border: 1px solid var(--ps-line);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(22,40,57,.98), rgba(14,29,43,.98));
    box-shadow: 0 8px 20px rgba(0,0,0,.14);
}

.serverinfo-highlight {
    display: flex;
    min-height: 76px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 13px 15px;
}

.serverinfo-highlight span,
.serverinfo-rate-grid span {
    color: var(--ps-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.serverinfo-highlight strong {
    overflow-wrap: anywhere;
    color: #f5f9ff;
    font-size: 15px;
}

.serverinfo-section { margin-bottom: 16px; padding: 16px; }

.serverinfo-section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.serverinfo-icon {
    display: inline-flex;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,212,71,.23);
    border-radius: 11px;
    background: rgba(255,212,71,.09);
    color: var(--ps-yellow);
    font-weight: 900;
}

.serverinfo-section-heading h2 {
    margin: 0 0 3px !important;
    padding: 0 !important;
    border: 0 !important;
    color: #f1f6ff !important;
    font-size: 17px;
}

.serverinfo-section-heading p { margin: 0; color: var(--ps-muted); font-size: 12px; }

.serverinfo-rate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 9px;
}

.serverinfo-rate-grid > div {
    display: flex;
    min-height: 67px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 11px 13px;
    border: 1px solid rgba(131,184,255,.15);
    border-radius: 10px;
    background: rgba(52,136,244,.08);
}

.serverinfo-rate-grid strong { color: var(--ps-yellow); font-size: 20px; }
.serverinfo-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.serverinfo-detail-card { margin: 0; }
.serverinfo-detail-card dl { margin: 0; }
.serverinfo-detail-card dl > div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid rgba(167,198,226,.1); }
.serverinfo-detail-card dt { color: var(--ps-muted); font-size: 13px; }
.serverinfo-detail-card dd { margin: 0; color: #f0f6fc; font-size: 13px; font-weight: 750; text-align: right; overflow-wrap: anywhere; }
.serverinfo-table-wrap { overflow-x: auto; border: 1px solid var(--ps-line); border-radius: 10px; }
.serverinfo-table { min-width: 350px; margin: 0; }

.forum-hero { margin-bottom: 16px; }
.forum-home-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 9px;
    background: rgba(255,255,255,.1);
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
}
.forum-home-link:hover { background: rgba(255,255,255,.17); color: var(--ps-yellow) !important; }
.forum-page #forumCategoryTable,
.forum-page #forumThreadTable { margin: 14px 0; }
.forum-empty { display: flex; flex-direction: column; gap: 7px; padding: 13px 4px; color: var(--ps-muted); font-size: 13px; line-height: 1.55; }
.forum-empty strong { color: #f5f9ff; font-size: 15px; }
.forum-empty span:last-child { color: #d7e6f4; }
.forum-page #forumCategoryTable td:first-child,
.forum-page #forumThreadTable td:first-child { color: #eff6ff !important; font-weight: 750; cursor: pointer; }
.forum-page #forumCategoryTable tr:not(:first-child):hover td,
.forum-page #forumThreadTable tr:not(:first-child):hover td { background: rgba(52,136,244,.18) !important; }
.forum-page .ThreadTable { margin: 12px 0; }
.forum-page .ThreadTable th { padding: 12px 15px !important; }
.forum-page .ThreadTable td { padding: 15px !important; line-height: 1.7; }
.forum-page .ThreadTable td.avatar { width: 145px; min-width: 110px; text-align: center; vertical-align: top; }
.forum-page .ThreadTable td.avatar img { max-width: 100%; height: auto; margin-top: 8px; }
.forum-page #ThreadTitle { display: block; margin: 8px 0; color: var(--ps-yellow); font-size: 22px !important; font-weight: 900; }
.forum-page .forumReply { width: 100% !important; min-height: 150px; }
.forum-page select[multiple] { min-height: 88px; }
.forum-page hr.bighr { border: 0; border-top: 1px solid var(--ps-line); margin: 16px 0; }
.forum-page form { margin: 10px 0; }
.forum-page form input[type="text"], .forum-page form textarea { max-width: 100%; }
.forum-page [style*="width: 600px"] { box-sizing: border-box; max-width: 100%; }

@media (max-width: 720px) {
    .serverinfo-highlights { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .serverinfo-detail-grid { grid-template-columns: 1fr; gap: 0; }
    .serverinfo-detail-card { margin-bottom: 12px; }
}

@media (max-width: 480px) {
    .serverinfo-highlights { gap: 7px; }
    .serverinfo-highlight { padding: 10px; }
    .serverinfo-highlight strong { font-size: 12px; }
    .serverinfo-hero, .forum-hero { padding: 21px 17px; border-radius: 13px; }
    .serverinfo-section { padding: 12px; }
    .serverinfo-detail-card dl > div { align-items: flex-start; }
    .forum-page .ThreadTable td.avatar { width: 90px; min-width: 78px; }
}

footer {
    display: flow-root;
    padding: 14px 18px !important;
    border: 1px solid var(--ps-line) !important;
    border-radius: 14px !important;
    background: rgba(8, 20, 32, .9) !important;
    color: var(--ps-muted) !important;
    font-size: 12px;
}

footer p { margin: 4px 0; }

@media (max-width: 900px) {
    .main { width: calc(100% - 32px) !important; margin: 16px auto !important; }
    nav .container { display: flex; flex-wrap: wrap; justify-content: center; padding: 2px !important; }
    nav .container > div { float: none !important; }
    nav .container > div > ul { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 2px; }
    nav .container > div > ul > li > a { min-height: 40px; padding: 0 9px !important; font-size: 11px; }
    .banner { min-height: 170px !important; height: clamp(150px, 28vw, 220px) !important; }
    .leftPane, .rightPane { float: none !important; width: 100% !important; }
    .leftPane { padding: 5px !important; }
    .rightPane { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .rightPane > .well, .rightPane > .widget { margin: 0 0 10px !important; }
    footer { grid-template-columns: 1fr; }
    footer .pull-left, footer .pull-right { float: none !important; }
}

@media (max-width: 560px) {
    .main { width: calc(100% - 16px) !important; margin: 8px auto !important; }
    nav { top: 4px; padding: 4px !important; border-radius: 13px !important; }
    nav .container { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
    nav .container > div { width: 100%; }
    nav .container > div:first-child > ul { flex-wrap: nowrap !important; justify-content: flex-start !important; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
    nav .container > div:first-child > ul::-webkit-scrollbar { display: none; }
    nav .container > div:first-child > ul > li { flex: 0 0 auto; }
    nav .container > div:last-child > ul { justify-content: flex-end; }
    nav .container > div > ul > li > a { min-height: 37px; padding: 0 9px !important; font-size: 11px; }
    nav .container > div > ul > li > ul { position: absolute; }
    body { background-position: 62% center !important; background-attachment: scroll !important; }
    .banner { min-height: 130px !important; height: 34vw !important; margin-top: 10px !important; border-radius: 12px !important; }
    .feedContainer { margin: 10px 0 !important; padding: 7px !important; border-radius: 13px !important; }
    .rightPane { display: block; }
    .rightPane > .well, .rightPane > .widget { margin-bottom: 10px !important; }
    .body { padding: 8px !important; }
    table { font-size: 12px !important; }
    table th, table td { padding: 7px 8px !important; }
}

@media (max-width: 1180px) {
    nav .container > div > ul > li > a { gap: 5px; padding-right: 8px !important; padding-left: 8px !important; font-size: 11px; }
    .ps-brand-copy strong { font-size: 12px; }
    .ps-brand-copy small { font-size: 6px; }
}

@media (max-width: 560px) {
    .footer-community { justify-content: center; }
    footer .pull-left, footer .pull-right { text-align: center; }
    .community-social-links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Buy Points / Post Cash */
.ps-donation-page { max-width: 1120px; margin: 0 auto; padding: 8px 0 24px; color: var(--ps-text, #e9f1fb); }
.ps-donation-hero { padding: clamp(24px, 5vw, 48px); margin-bottom: 18px; border: 1px solid rgba(196, 164, 255, .3); border-radius: 20px; background: radial-gradient(ellipse at 100% 0, rgba(142, 84, 208, .36), transparent 45%), linear-gradient(125deg, #121a2b, #182a46 60%, #2b1a3b); box-shadow: 0 18px 50px rgba(0,0,0,.2); }
.ps-donation-eyebrow { color: #e4c887; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.ps-donation-hero h1 { margin: 8px 0 10px; color: #fff; font-size: clamp(30px, 5vw, 46px); font-weight: 850; }
.ps-donation-hero > p:last-child { max-width: 700px; margin-bottom: 0; color: #c4cede; line-height: 1.7; }
.ps-donation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.ps-donation-card { padding: 24px; border: 1px solid var(--ps-line, #2d435a); border-radius: 18px; background: linear-gradient(155deg, rgba(22,42,60,.97), rgba(10,24,37,.97)); box-shadow: 0 12px 32px rgba(0,0,0,.16); }
.ps-donation-card h2 { margin: 10px 0; color: #fff; font-size: 23px; }
.ps-donation-card > p { color: #bdcad9; line-height: 1.65; }
.ps-donation-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: #e5ce98; background: rgba(196,164,255,.13); font-size: 20px; }
.ps-payment-packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 11px; margin-top: 18px; }
.ps-payment-package { display: flex; flex-direction: column; gap: 8px; padding: 15px; border: 1px solid rgba(172,194,222,.18); border-radius: 14px; background: rgba(5,16,27,.42); }
.ps-payment-package strong { color: #f0d797; font-size: 17px; }
.ps-payment-package > span { color: #fff; font-size: 14px; }
.ps-payment-package small { min-height: 16px; color: #aebbd0; }
.ps-donation-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; margin-top: 5px; padding: 10px 14px; border: 1px solid rgba(232,207,151,.45); border-radius: 11px; color: #171524 !important; background: linear-gradient(135deg, #f0dca8, #c7a96b); font-weight: 800; text-decoration: none !important; cursor: pointer; }
.ps-donation-button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.ps-donation-notice { margin: 16px 0; padding: 14px 15px; border: 1px solid rgba(215,186,127,.28); border-radius: 12px; color: #d5d7e0; background: rgba(215,186,127,.08); line-height: 1.6; }
.ps-donation-notice strong { color: #f0d797; }
.ps-crypto-card .ps-donation-button { margin-top: 4px; }
.ps-donation-footnote { margin: 16px 4px 0; color: #9eacc0; font-size: 12px; }
.ps-post-cash-form { margin-top: 18px; }
.ps-post-cash-form label { display: block; margin: 0 0 8px; color: #e7d5a5; font-weight: 800; }
.ps-post-cash-input-row { display: flex; align-items: center; gap: 10px; }
.ps-post-cash-input-row input { width: min(100%, 260px); min-height: 48px; padding: 10px 13px; border: 1px solid rgba(196,164,255,.4); border-radius: 11px; color: #fff; background: #0b1724; font-size: 18px; }
.ps-post-cash-input-row span { color: #aebbd0; }
.ps-post-cash-local-price, .ps-post-cash-usd-price { margin: 10px 0 !important; color: #bac7d8 !important; }
.ps-post-cash-usd-price strong { color: #f0d797; font-size: 20px; }
.ps-post-cash-rate, .ps-post-cash-attribution { margin: 11px 0 0; color: #9eacc0; font-size: 11px; line-height: 1.6; }
.ps-post-cash-attribution a { color: #c8a8f2; }
.ps-payment-redirect { max-width: 620px; margin: 28px auto; text-align: center; }
.ps-crypto-options { display: grid; gap: 12px; margin: 18px 0; }
.ps-crypto-option { padding: 15px; border: 1px solid rgba(172,194,222,.2); border-radius: 14px; background: rgba(5,16,27,.48); }
.ps-crypto-option-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ps-crypto-option-heading strong { color: #f0d797; font-size: 17px; }
.ps-crypto-option-heading span { color: #c8a8f2; font-size: 12px; font-weight: 700; }
.ps-crypto-minimum { margin: 8px 0 !important; color: #aebbd0 !important; font-size: 12px; }
.ps-crypto-address { display: block; overflow-wrap: anywhere; margin: 10px 0; padding: 11px; border: 1px solid rgba(172,194,222,.18); border-radius: 9px; color: #e7edf7; background: #07121e; font: 12px/1.6 monospace; user-select: all; }
.ps-crypto-warning { margin: 10px 0; padding: 11px; border-left: 3px solid #e9ae56; border-radius: 8px; color: #f2d8a4; background: rgba(233,174,86,.1); font-size: 12px; line-height: 1.55; }
.ps-copy-address { padding: 8px 11px; border: 1px solid rgba(196,164,255,.32); border-radius: 9px; color: #e8dcfa; background: rgba(196,164,255,.11); font-size: 12px; font-weight: 700; cursor: pointer; }
.ps-copy-address:hover { background: rgba(196,164,255,.2); }
.ps-purchase-history { margin-top: 24px; padding: 20px; border: 1px solid rgba(172,194,222,.2); border-radius: 16px; background: rgba(9,22,35,.72); }
.ps-purchase-history h2 { margin: 0 0 7px; color: #f0d797; font-size: 20px; }
.ps-purchase-history > p { margin: 0 0 14px; color: #aebbd0; font-size: 12px; line-height: 1.6; }
.ps-purchase-table-wrap { overflow-x: auto; }
.ps-purchase-table { width: 100%; border-collapse: collapse; color: #e7edf7; font-size: 13px; }
.ps-purchase-table th, .ps-purchase-table td { padding: 11px 10px; border-bottom: 1px solid rgba(172,194,222,.12); text-align: left; white-space: nowrap; }
.ps-purchase-table th { color: #c8a8f2; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.ps-order-status { display: inline-block; padding: 5px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.ps-order-status.is-paid { color: #a7ebc4; background: rgba(66,190,125,.13); }
.ps-order-status.is-pending { color: #f2d8a4; background: rgba(233,174,86,.13); }
.ps-crypto-ticket-intro { max-width: 680px; padding: 12px 14px; border: 1px solid rgba(215,186,127,.28); border-radius: 10px; color: #f2d8a4; background: rgba(215,186,127,.08); line-height: 1.6; }
body.page_helpdesk select[name="crypto_asset"], body.page_helpdesk input[name^="crypto_"] { max-width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid rgba(172,194,222,.28); border-radius: 8px; color: #fff; background: #0b1724; }
.ps-account-page { color: #e8edf7; }
.ps-account-hero { position: relative; overflow: hidden; margin: 4px 0 26px; padding: clamp(22px,4vw,38px); border: 1px solid rgba(196,164,255,.24); border-radius: 20px; background: radial-gradient(circle at 95% 0%,rgba(139,87,199,.22),transparent 38%),linear-gradient(135deg,rgba(24,48,78,.98),rgba(10,22,36,.98)); box-shadow: 0 18px 45px rgba(0,0,0,.18); }
.ps-account-kicker { margin-bottom: 8px; color: #e6cb8b; font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.ps-account-hero h1 { margin: 0 0 8px; color: #fff; font-size: clamp(28px,4vw,40px); }
.ps-account-hero > p { margin: 0; color: #c5d1e1; font-size: 15px; line-height: 1.65; }
.ps-account-hero > p strong { color: #f0d797; }
.ps-account-summary { display: grid; grid-template-columns: repeat(auto-fit,minmax(175px,1fr)); gap: 11px; margin-top: 22px; }
.ps-account-stat { min-width: 0; padding: 14px 15px; border: 1px solid rgba(172,194,222,.15); border-radius: 13px; background: rgba(5,15,26,.48); }
.ps-account-stat span,.ps-account-stat small { display: block; color: #aebbd0; font-size: 11px; }
.ps-account-stat strong { display: block; margin: 4px 0; color: #f0d797; font-size: 16px; }
.ps-account-stat small { overflow-wrap: anywhere; }
.ps-account-verify,.ps-account-security { display: inline-flex; align-items: center; gap: 8px; margin: 15px 10px 0 0; padding: 10px 13px; border: 1px solid rgba(196,164,255,.3); border-radius: 10px; color: #e8dcfa !important; background: rgba(196,164,255,.1); text-decoration: none !important; font-size: 12px; font-weight: 800; }
.ps-account-verify:hover,.ps-account-security:hover { background: rgba(196,164,255,.2); }
.ps-account-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin: 0 0 13px; padding-bottom: 13px; border-bottom: 1px solid rgba(172,194,222,.16); }
.ps-account-section-heading > div > span { color: #c8a8f2; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ps-account-section-heading h2 { margin: 3px 0 0; color: #fff; font-size: 22px; }
.ps-account-count { padding: 7px 11px; border: 1px solid rgba(196,164,255,.24); border-radius: 999px; color: #e6cb8b; background: rgba(196,164,255,.08); font-size: 12px; font-weight: 800; white-space: nowrap; }
.ps-account-character-card { overflow: hidden; border: 1px solid rgba(172,194,222,.2); border-radius: 15px; background: rgba(8,20,32,.78); }
.ps-account-character-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,330px),1fr)); gap: 13px; padding: 14px; }
.ps-account-character { position: relative; overflow: hidden; padding: 17px; border: 1px solid rgba(172,194,222,.17); border-radius: 15px; background: linear-gradient(145deg,rgba(25,48,72,.94),rgba(11,24,38,.98)); box-shadow: 0 8px 22px rgba(0,0,0,.13); transition: border-color .18s ease,transform .18s ease,box-shadow .18s ease; }
.ps-account-character:hover { transform: translateY(-2px); border-color: rgba(196,164,255,.42); box-shadow: 0 13px 28px rgba(0,0,0,.2); }
.ps-character-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ps-character-identity { display: flex; min-width: 0; align-items: center; gap: 11px; color: inherit !important; text-decoration: none !important; }
.ps-character-emblem { display: grid; width: 43px; height: 43px; flex: 0 0 43px; place-items: center; border: 1px solid rgba(196,164,255,.3); border-radius: 13px; color: #e5c987; background: radial-gradient(circle at 30% 25%,rgba(196,164,255,.25),rgba(12,27,44,.9)); font-size: 18px; }
.ps-character-title { display: block; min-width: 0; }
.ps-character-title small,.ps-character-title strong { display: block; }
.ps-character-title small { margin-bottom: 3px; color: #9eacc0; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.ps-character-title strong { overflow: hidden; color: #91bdff; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
.ps-character-level { padding: 7px 10px; border: 1px solid rgba(233,174,86,.32); border-radius: 10px; color: #f2d8a4; background: rgba(233,174,86,.1); font-size: 12px; font-weight: 900; white-space: nowrap; }
.ps-character-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin: 17px 0 14px; }
.ps-character-details > div { min-width: 0; padding: 10px 11px; border: 1px solid rgba(172,194,222,.1); border-radius: 10px; background: rgba(4,14,24,.34); }
.ps-character-details > div:last-child { grid-column: 1 / -1; }
.ps-character-details span,.ps-character-details strong { display: block; }
.ps-character-details span { margin-bottom: 4px; color: #91a3b9; font-size: 10px; }
.ps-character-details strong { overflow: hidden; color: #e5edf8; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.ps-character-card-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(172,194,222,.1); }
.ps-character-visibility { color: #b8c6d8; font-size: 10px; font-weight: 700; }
.ps-character-open { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; color: #c8a8f2 !important; font-size: 11px; font-weight: 900; text-decoration: none !important; }
.ps-character-open:hover { color: #e8dcfa !important; }
.ps-account-empty { padding: 25px; border: 1px dashed rgba(172,194,222,.24); border-radius: 15px; color: #c5d1e1; background: rgba(8,20,32,.5); }
.ps-account-empty strong { color: #f0d797; font-size: 18px; }
.ps-account-empty p { margin: 7px 0 0; }
.ps-account-table-wrap { overflow-x: auto; }
#myaccountTable { width: 100%; min-width: 720px; margin: 0; border-collapse: collapse; color: #dce6f4; }
#myaccountTable th { padding: 13px 12px; border: 0; color: #f5f7fc; background: linear-gradient(110deg,#27537e,#235180); font-size: 11px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
#myaccountTable td { padding: 12px; border-top: 1px solid rgba(172,194,222,.09); vertical-align: middle; white-space: nowrap; }
#myaccountTable tr:nth-child(even) td { background: rgba(255,255,255,.025); }
#myaccountTable .ps-character-name { color: #90bfff; font-weight: 800; }
.ps-character-status { display: inline-block; padding: 5px 9px; border-radius: 999px; font-size: 10px; font-weight: 900; }
.ps-character-status.is-online { color: #a7ebc4; background: rgba(66,190,125,.13); }
.ps-character-status.is-offline { color: #b9c4d2; background: rgba(172,194,222,.1); }
.ps-account-actions { margin: 0 14px 14px; padding: 16px; border: 1px solid rgba(196,164,255,.16); border-radius: 13px; background: linear-gradient(135deg,rgba(23,35,54,.82),rgba(9,20,33,.92)); }
.ps-account-action-label strong,.ps-account-action-label span { display: block; }
.ps-account-action-label strong { color: #f0d797; font-size: 14px; }
.ps-account-action-label span { margin-top: 3px; color: #aebbd0; font-size: 11px; }
.ps-account-action-table { width: 100%; margin: 13px 0 0; }
.ps-account-action-table td { width: 33.33%; padding: 5px 8px 0 0; vertical-align: bottom; }
.ps-account-action-table td:last-child { padding-right: 0; }
.ps-account-action-table label { display: block; margin: 0 0 6px; color: #b8c6d8; font-size: 11px; font-weight: 800; }
.ps-account-action-table .form-control { min-height: 45px; border: 1px solid rgba(172,194,222,.24); border-radius: 10px; color: #f5f7fc; background: #0b1724; box-shadow: none; }
.ps-account-action-table #submit_button { min-height: 42px; border: 0; border-radius: 10px; color: #171524; background: linear-gradient(135deg,#d2b5f3,#9c70d1); font-weight: 900; }
.ps-online-page { color: #e8edf7; }
.ps-online-hero { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 22px; overflow: hidden; margin: 4px 0 20px; padding: clamp(21px,3.5vw,32px); border: 1px solid rgba(196,164,255,.24); border-radius: 19px; background: radial-gradient(circle at 90% 0%,rgba(139,87,199,.24),transparent 35%),linear-gradient(135deg,rgba(24,48,78,.98),rgba(10,22,36,.98)); box-shadow: 0 16px 38px rgba(0,0,0,.18); }
.ps-online-kicker { display: flex; align-items: center; gap: 8px; grid-column: 1; color: #e6cb8b; font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.ps-online-pulse { width: 8px; height: 8px; border-radius: 50%; background: #64daa0; box-shadow: 0 0 0 4px rgba(100,218,160,.12),0 0 14px rgba(100,218,160,.7); }
.ps-online-hero h1 { grid-column: 1; margin: 0; color: #fff; font-size: clamp(25px,4vw,36px); }
.ps-online-hero > p { grid-column: 1; margin: 0; color: #bdcadd; font-size: 13px; }
.ps-online-total { display: flex; min-width: 115px; flex-direction: column; align-items: center; justify-content: center; grid-column: 2; grid-row: 1 / span 3; padding: 15px; border: 1px solid rgba(172,194,222,.17); border-radius: 14px; color: #bca1ef; background: rgba(5,15,26,.48); }
.ps-online-total i { font-size: 16px; }
.ps-online-total strong { margin-top: 3px; color: #f2d8a4; font-size: 26px; line-height: 1.15; }
.ps-online-total span { color: #aebbd0; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.ps-online-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,340px),1fr)); gap: 13px; }
.ps-online-player { overflow: hidden; padding: 16px; border: 1px solid rgba(172,194,222,.17); border-radius: 15px; background: linear-gradient(145deg,rgba(25,48,72,.94),rgba(11,24,38,.98)); box-shadow: 0 8px 22px rgba(0,0,0,.13); transition: border-color .18s ease,transform .18s ease,box-shadow .18s ease; }
.ps-online-player:hover { transform: translateY(-2px); border-color: rgba(196,164,255,.42); box-shadow: 0 13px 28px rgba(0,0,0,.2); }
.ps-online-player-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ps-online-identity { display: flex; min-width: 0; align-items: center; gap: 11px; color: inherit !important; text-decoration: none !important; }
.ps-online-avatar { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; overflow: hidden; border: 1px solid rgba(196,164,255,.3); border-radius: 14px; color: #e5c987; background: radial-gradient(circle at 30% 25%,rgba(196,164,255,.25),rgba(12,27,44,.9)); font-size: 18px; }
.ps-online-avatar img { max-width: 64px; max-height: 64px; object-fit: contain; }
.ps-online-player-name { display: block; min-width: 0; }
.ps-online-player-name small,.ps-online-player-name strong { display: block; }
.ps-online-player-name small { margin-bottom: 3px; color: #9eacc0; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.ps-online-player-name strong { overflow: hidden; color: #91bdff; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.ps-online-flag { width: 16px; max-height: 12px; vertical-align: 1px; }
.ps-online-level { padding: 7px 10px; border: 1px solid rgba(233,174,86,.32); border-radius: 10px; color: #f2d8a4; background: rgba(233,174,86,.1); font-size: 12px; font-weight: 900; white-space: nowrap; }
.ps-online-player-details { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 15px 0 13px; }
.ps-online-player-details > div { min-width: 0; padding: 10px 11px; border: 1px solid rgba(172,194,222,.1); border-radius: 10px; background: rgba(4,14,24,.34); }
.ps-online-player-details span,.ps-online-player-details strong { display: block; }
.ps-online-player-details span { margin-bottom: 4px; color: #91a3b9; font-size: 10px; }
.ps-online-player-details strong { overflow: hidden; color: #e5edf8; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.ps-online-player-details a { color: #c8a8f2 !important; }
.ps-online-player-bottom { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding-top: 11px; border-top: 1px solid rgba(172,194,222,.1); }
.ps-online-player-bottom > span { color: #8fe0b1; font-size: 10px; font-weight: 800; }
.ps-online-player-bottom > span i { margin-right: 5px; font-size: 8px; }
.ps-online-player-bottom > a { color: #c8a8f2 !important; font-size: 11px; font-weight: 900; text-decoration: none !important; }
.ps-online-empty { display: flex; min-height: 210px; flex-direction: column; align-items: center; justify-content: center; padding: 30px; border: 1px dashed rgba(172,194,222,.24); border-radius: 16px; color: #bdcadd; background: rgba(8,20,32,.5); text-align: center; }
.ps-online-empty-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 12px; border: 1px solid rgba(196,164,255,.28); border-radius: 15px; color: #c8a8f2; background: rgba(196,164,255,.1); font-size: 18px; }
.ps-online-empty strong { color: #f0d797; font-size: 17px; }
.ps-online-empty p { max-width: 420px; margin: 6px 0 0; font-size: 12px; }
@media (max-width: 560px) { .ps-online-hero { grid-template-columns: 1fr auto; gap: 7px 10px; padding: 19px 16px; } .ps-online-total { min-width: 75px; padding: 10px 8px; } .ps-online-total strong { font-size: 22px; } .ps-online-hero > p { max-width: 250px; } }
.ps-character-profile-card { overflow: hidden; margin: 5px 0 22px; border: 1px solid rgba(172,194,222,.2); border-radius: 17px; background: rgba(8,20,32,.82); box-shadow: 0 14px 35px rgba(0,0,0,.18); }
.ps-character-profile-hero { display: flex; align-items: center; gap: 22px; min-height: 168px; padding: clamp(20px,4vw,34px); background: radial-gradient(circle at 90% 0%,rgba(139,87,199,.24),transparent 35%),linear-gradient(115deg,#214f7c,#183759 62%,#252249); }
.ps-character-profile-portrait { position: relative; display: grid; width: 112px; height: 112px; flex: 0 0 112px; place-items: center; overflow: hidden; border: 1px solid rgba(238,215,164,.36); border-radius: 20px; background: radial-gradient(circle at 50% 30%,rgba(228,203,139,.2),rgba(8,19,33,.83)); box-shadow: 0 10px 26px rgba(0,0,0,.24); }
.ps-character-profile-outfit { max-width: 112px; max-height: 112px; object-fit: contain; image-rendering: pixelated; }
.ps-character-profile-fallback { width: 100%; height: 100%; place-items: center; color: #e6cb8b; font-size: 36px; }
.ps-profile-pokeball { position: relative; display: block; width: 58px; height: 58px; border: 3px solid #e6cb8b; border-radius: 50%; background: linear-gradient(to bottom,#b94e72 0 44%,#101d2a 44% 56%,#e8edf4 56% 100%); box-shadow: inset 0 0 12px rgba(0,0,0,.3),0 5px 14px rgba(0,0,0,.35); }
.ps-profile-pokeball::before { position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; border: 4px solid #132236; border-radius: 50%; background: radial-gradient(circle,#f6f0dc 0 34%,#c9a967 37% 55%,#f1e5c4 58%); box-shadow: 0 0 0 2px rgba(230,203,139,.55); content: ''; transform: translate(-50%,-50%); }
.ps-character-profile-flag { position: absolute; right: 7px; bottom: 7px; width: 23px; max-height: 17px; border: 2px solid #152a40; border-radius: 3px; box-shadow: 0 2px 7px rgba(0,0,0,.4); }
.ps-character-profile-heading { min-width: 0; }
.ps-character-profile-kicker { color: #f0d797; font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.ps-character-profile-heading h1 { overflow-wrap: anywhere; margin: 6px 0 13px; color: #fff; font-size: clamp(27px,4.4vw,40px); line-height: 1.08; }
.ps-character-profile-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.ps-character-profile-badges > span { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #edf3fb; background: rgba(6,18,31,.35); font-size: 10px; font-weight: 800; }
.ps-character-profile-badges > .ps-character-profile-level { color: #f2d8a4; border-color: rgba(233,174,86,.32); background: rgba(233,174,86,.1); }
.ps-character-profile-status.is-online { color: #9de8bc; border-color: rgba(100,218,160,.24); background: rgba(66,190,125,.12); }
.ps-character-profile-status.is-online i { font-size: 7px; }
.ps-character-profile-status.is-offline { color: #c4ccd6; }
.poketory-profile-info #characterProfileTable { width: 100% !important; margin: 0; table-layout: fixed; border-collapse: collapse; color: #dce6f4; }
.poketory-profile-info #characterProfileTable .ps-profile-data-row > td { padding: 12px 16px; border: 0; border-top: 1px solid rgba(172,194,222,.09); }
.poketory-profile-info #characterProfileTable .ps-profile-data-row:nth-child(even) > td { background: rgba(255,255,255,.025); }
.poketory-profile-info #characterProfileTable .ps-profile-data-row > td:first-child { width: 29%; color: #aebbd0; font-size: 12px; font-weight: 700; }
.poketory-profile-info #characterProfileTable .ps-profile-data-row > td:last-child { color: #edf3fb; font-size: 13px; }
.poketory-profile-info #characterProfileTable a { color: #91bdff; }
.poketory-profile-info table.comment,.poketory-profile-info table.achievements,#characterprofileQuest { width: 100%; margin: 16px 0; overflow: hidden; border: 1px solid rgba(172,194,222,.18); border-radius: 13px; border-collapse: separate; border-spacing: 0; background: rgba(8,20,32,.78); color: #dce6f4; }
.poketory-profile-info table.comment td,.poketory-profile-info table.achievements th,.poketory-profile-info table.achievements td,#characterprofileQuest th,#characterprofileQuest td { padding: 11px 13px; border: 0; border-bottom: 1px solid rgba(172,194,222,.1); }
.poketory-profile-info table.comment thead,.poketory-profile-info table.achievements thead,#characterprofileQuest thead { color: #f0d797; background: rgba(36,77,117,.8); }
@media (max-width: 580px) { .ps-character-profile-hero { align-items: flex-start; gap: 14px; padding: 19px 15px; } .ps-character-profile-portrait { width: 78px; height: 86px; flex-basis: 78px; border-radius: 15px; } .ps-character-profile-outfit { max-width: 92px; max-height: 92px; } .ps-character-profile-heading h1 { margin: 5px 0 9px; font-size: 25px; } .ps-character-profile-badges { gap: 5px; } .ps-character-profile-badges > span { min-height: 24px; padding: 5px 8px; font-size: 9px; } .poketory-profile-info #characterProfileTable .ps-profile-data-row > td { padding: 10px; } }
@media (max-width: 700px) { .ps-account-section-heading { align-items: start; } .ps-account-action-table,.ps-account-action-table tbody,.ps-account-action-table tr,.ps-account-action-table td { display: block; width: 100%; } .ps-account-action-table td { padding: 7px 0; } .ps-account-action-table td:last-child { padding-top: 9px; } .ps-account-actions { margin: 0 10px 10px; padding: 13px; } .ps-account-character-grid { grid-template-columns: 1fr; padding: 10px; } }
@media (max-width: 720px) { .ps-donation-grid { grid-template-columns: 1fr; } .ps-donation-card { padding: 18px; } }
.ps-support-page { max-width: 1100px; margin: 0 auto; padding: 8px 0 34px; color: #e8eff8; }
.ps-support-hero { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 4px 0 22px; padding: clamp(23px,4vw,38px); border: 1px solid rgba(196,164,255,.25); border-radius: 20px; background: radial-gradient(circle at 92% 3%,rgba(196,164,255,.22),transparent 32%),linear-gradient(120deg,#183a5b,#142b43 62%,#211a38); box-shadow: 0 16px 40px rgba(0,0,0,.2); }
.ps-support-hero-copy { max-width: 640px; }
.ps-support-eyebrow,.ps-support-group-heading > div > span { color: #f0d797; font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.ps-support-hero h1 { margin: 9px 0 8px; color: #fff; font-size: clamp(29px,4vw,42px); line-height: 1.1; }
.ps-support-hero p { max-width: 620px; margin: 0; color: #c3d1e1; font-size: 14px; line-height: 1.65; }
.ps-support-summary { display: flex; flex: 0 0 auto; gap: 10px; }
.ps-support-summary > div { display: grid; min-width: 112px; gap: 3px; padding: 13px 15px; border: 1px solid rgba(172,194,222,.18); border-radius: 13px; background: rgba(5,15,26,.48); }
.ps-support-summary strong { color: #f0d797; font-size: 22px; line-height: 1.1; }
.ps-support-summary span { color: #b7c5d6; font-size: 10px; }
.ps-support-groups { display: grid; gap: 16px; }
.ps-support-group { overflow: hidden; padding: 18px; border: 1px solid rgba(172,194,222,.2); border-radius: 16px; background: rgba(9,23,37,.85); box-shadow: 0 12px 30px rgba(0,0,0,.16); }
.ps-support-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.ps-support-group-heading h2 { margin: 4px 0 0; color: #f5f7fb; font-size: 19px; }
.ps-support-group-count { padding: 7px 11px; border: 1px solid rgba(196,164,255,.2); border-radius: 999px; color: #dbc7f3; background: rgba(145,94,189,.12); font-size: 11px; font-weight: 800; }
.ps-support-members { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,300px),1fr)); gap: 10px; }
.ps-support-member { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 13px; border: 1px solid rgba(172,194,222,.13); border-radius: 13px; background: linear-gradient(120deg,rgba(25,47,67,.92),rgba(15,29,44,.92)); transition: border-color .18s ease,transform .18s ease,background .18s ease; }
.ps-support-member:hover { transform: translateY(-2px); border-color: rgba(196,164,255,.35); background: linear-gradient(120deg,rgba(31,57,81,.96),rgba(19,34,52,.96)); }
.ps-support-avatar { display: grid; width: 43px; height: 43px; flex: 0 0 43px; place-items: center; border: 1px solid rgba(240,215,151,.28); border-radius: 13px; color: #f0d797; background: rgba(240,215,151,.1); font-size: 17px; }
.ps-support-member-info { display: grid; min-width: 0; gap: 4px; }
.ps-support-member-info > span { color: #aebbd0; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.ps-support-member-info > a { overflow: hidden; color: #9bc4ff; font-size: 14px; font-weight: 850; text-decoration: none; text-overflow: ellipsis; }
.ps-support-member-info > a:hover { color: #d4b4ff; }
.ps-support-status { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; padding: 7px 9px; border: 1px solid rgba(172,194,222,.12); border-radius: 999px; color: #c1ccda; background: rgba(5,15,26,.35); font-size: 10px; font-weight: 800; white-space: nowrap; }
.ps-support-status > i { width: 7px; height: 7px; border-radius: 50%; background: #7d8998; }
.ps-support-status.is-online { border-color: rgba(91,212,148,.2); color: #a8ebc4; background: rgba(47,159,99,.1); }
.ps-support-status.is-online > i { background: #5bd494; box-shadow: 0 0 10px rgba(91,212,148,.55); }
.ps-support-empty { display: grid; justify-items: center; margin: 18px 0; padding: 42px 20px; border: 1px dashed rgba(172,194,222,.24); border-radius: 16px; background: rgba(9,23,37,.7); text-align: center; }
.ps-support-empty > div { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(196,164,255,.25); border-radius: 15px; color: #cfb2ee; background: rgba(145,94,189,.12); font-size: 19px; }
.ps-support-empty h2 { margin: 13px 0 4px; color: #f0d797; font-size: 19px; }
.ps-support-empty p { max-width: 430px; margin: 0; color: #adbdcf; font-size: 12px; line-height: 1.6; }
@media (max-width: 680px) { .ps-support-hero { align-items: stretch; flex-direction: column; gap: 17px; } .ps-support-summary > div { flex: 1; min-width: 0; } .ps-support-group { padding: 14px; } }
@media (max-width: 430px) { .ps-support-member { flex-wrap: wrap; } .ps-support-status { margin-left: 55px; } }
.ps-admin-postcash { max-width: 960px; margin: 0 auto; padding: 12px 0 38px; color: #eaf1fb; }
.ps-admin-postcash-hero { margin-bottom: 20px; padding: clamp(22px,4vw,38px); border: 1px solid rgba(196,164,255,.24); border-radius: 20px; background: radial-gradient(circle at 95% 5%,rgba(196,164,255,.18),transparent 32%),linear-gradient(120deg,#173653,#14273b 62%,#211b38); }
.ps-admin-postcash-hero > span { color: #f0d797; font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.ps-admin-postcash-hero h1 { margin: 9px 0; color: #fff; font-size: clamp(27px,4vw,38px); }
.ps-admin-postcash-hero p { margin: 0; color: #c4d0df; }
.ps-admin-postcash-card { max-width: 640px; padding: 22px; border: 1px solid rgba(172,194,222,.2); border-radius: 17px; background: rgba(8,20,32,.88); box-shadow: 0 14px 35px rgba(0,0,0,.2); }
.ps-admin-postcash-card-title { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; color: #c8a8f2; font-size: 22px; }
.ps-admin-postcash-card-title div { display: grid; gap: 3px; }
.ps-admin-postcash-card-title strong { color: #f0d797; font-size: 17px; }
.ps-admin-postcash-card-title small { color: #adbdcf; font-size: 12px; }
.ps-admin-postcash-card form { display: grid; gap: 9px; }
.ps-admin-postcash-card label { margin-top: 8px; color: #dce6f4; font-size: 13px; font-weight: 800; }
.ps-admin-postcash-card input { width: 100%; min-height: 45px; padding: 10px 13px; border: 1px solid rgba(145,189,255,.27); border-radius: 10px; outline: 0; color: #f5f7fb; background: #0b1927; }
.ps-admin-postcash-card input:focus { border-color: #c8a8f2; box-shadow: 0 0 0 3px rgba(196,164,255,.12); }
.ps-admin-postcash-card form p { margin: 4px 0 8px; color: #aebbd0; font-size: 12px; }
.ps-admin-postcash-card button { justify-self: start; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 10px; color: #171426; background: linear-gradient(120deg,#c39aef,#8650bb); font-weight: 900; cursor: pointer; }
.ps-admin-postcash-alert { margin: 0 0 16px; padding: 14px 17px; border: 1px solid; border-radius: 12px; }
.ps-admin-postcash-alert.is-success { border-color: rgba(98,209,151,.32); color: #c8f3d9; background: rgba(40,133,86,.16); }
.ps-admin-postcash-alert.is-error { border-color: rgba(255,105,121,.32); color: #ffd1d6; background: rgba(155,43,59,.16); }
@media (max-width: 560px) { .ps-admin-postcash-card { padding: 17px; } .ps-admin-postcash-card button { width: 100%; } }

/* Mobile layout: fit the whole site to phone viewports and keep controls touchable. */
@media (max-width: 560px) {
    html, body { width: 100%; min-width: 320px; overflow-x: hidden; }
    body { background-size: auto 100vh !important; }
    .main { box-sizing: border-box !important; width: calc(100% - 20px) !important; max-width: 100% !important; margin: 10px auto !important; }
    nav { box-sizing: border-box; width: 100%; padding: 7px !important; }
    nav .container { box-sizing: border-box; min-width: 0; gap: 5px; }
    nav .container > div:first-child > ul,
    nav .container > div:last-child > ul { display: grid !important; min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
    nav .container > div:first-child > ul { overflow: visible !important; }
    nav .container > div:first-child > ul > li { min-width: 0; }
    nav .container > div:first-child > ul > li.ps-nav-brand { grid-column: 1 / -1; }
    nav .container > div:first-child > ul > li.ps-nav-brand > a { justify-content: center; min-height: 45px; margin: 0; padding: 4px !important; border-right: 0; border-bottom: 1px solid rgba(207,181,243,.16); border-radius: 8px; }
    nav .container > div > ul > li > a { justify-content: center; min-height: 42px; padding: 5px 7px !important; font-size: 11px; line-height: 1.2; text-align: center; white-space: normal; }
    nav .container > div:last-child > ul { justify-content: stretch; }
    nav .container > div:last-child > ul > li > a { min-height: 40px; }
    nav .container > div > ul > li > ul { z-index: 20; max-width: min(230px, calc(100vw - 40px)); }
    .feedContainer { box-sizing: border-box; min-width: 0; }
    .leftPane, .rightPane { box-sizing: border-box; min-width: 0; }
    .leftPane { padding: 4px !important; }
    .rightPane { grid-template-columns: minmax(0, 1fr); }
    .banner { min-height: 105px !important; height: 30vw !important; background-position: center !important; }
    img, video, iframe { max-width: 100%; }
    input, select, textarea, button, .btn { max-width: 100%; }
    input, select, textarea { box-sizing: border-box; }
    .leftPane table, .rightPane table, .feedContainer table { display: block; width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    footer { box-sizing: border-box; gap: 10px; padding: 13px !important; }
    footer .pull-left, footer .pull-right { width: 100%; margin: 0 !important; }
    .ps-support-status { margin-left: auto; }
    .ps-support-member { flex-wrap: nowrap; }
    .ps-account-hero, .ps-online-hero, .ps-donation-hero { border-radius: 15px; }
    .ps-account-section-heading { flex-wrap: wrap; }
    .ps-account-action-table { table-layout: fixed; }
}

@media (max-width: 380px) {
    nav .container > div:first-child > ul > li.ps-nav-brand > a { gap: 7px; padding-right: 9px !important; }
    .ps-brand-mark { flex-basis: 29px; width: 29px; height: 29px; }
    .ps-brand-copy strong { font-size: 11px; }
    .ps-brand-copy small { font-size: 5px; }
    .ps-support-summary { gap: 7px; }
    .ps-support-status { margin-left: auto; padding: 6px 7px; font-size: 9px; }
    .ps-character-details { grid-template-columns: minmax(0, 1fr); }
}

/* Clear, touch-friendly character actions. */
.ps-account-actions { margin: 0 14px 16px; padding: 18px; border-color: rgba(145,189,255,.18); border-radius: 16px; background: linear-gradient(145deg,rgba(12,27,43,.96),rgba(8,19,32,.98)); }
.ps-account-action-label { display: flex; flex-direction: column; gap: 5px; }
.ps-account-action-label strong { color: #f2d79a; font-size: 16px; }
.ps-account-action-label span { color: #aebdd0; font-size: 12px; line-height: 1.5; }
.feedContainer .ps-account-action-table { display: block !important; width: 100%; margin: 14px 0 0; padding: 14px; border: 1px solid rgba(145,189,255,.17); border-radius: 13px; background: rgba(18,34,51,.72); }
.ps-account-action-table tbody { display: block; width: 100%; }
.ps-account-action-table tr { display: grid !important; grid-template-columns: minmax(0,1fr) minmax(0,1.25fr) minmax(150px,.8fr); align-items: end; gap: 12px; }
.ps-account-action-table td { display: flex; width: auto !important; min-width: 0; flex-direction: column; justify-content: end; gap: 6px; padding: 0 !important; border: 0 !important; background: transparent !important; vertical-align: bottom; }
.ps-account-action-table label { margin: 0; color: #b9c8da; font-size: 11px; font-weight: 800; }
.ps-account-action-table .form-control { width: 100%; min-width: 0; min-height: 46px; padding: 9px 12px; border: 1px solid rgba(145,189,255,.28); border-radius: 10px; color: #f5f7fc; background: #0b1927; box-shadow: none; }
.ps-account-action-table .form-control:focus { border-color: #c8a8f2; outline: 0; box-shadow: 0 0 0 3px rgba(196,164,255,.13); }
.ps-account-action-table #submit_form { display: flex; align-items: stretch; }
.ps-account-action-table #submit_button { width: 100%; min-height: 46px; padding: 10px 14px; border: 0; border-radius: 10px; color: #171524; background: linear-gradient(135deg,#d2b5f3,#9c70d1); box-shadow: 0 7px 16px rgba(100,61,151,.2); font-weight: 900; }
.ps-account-action-table #submit_button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.ps-account-new-name { display: flex; width: 100%; flex-direction: column; gap: 6px; }
@media (max-width: 700px) {
    .ps-account-actions { margin: 0 10px 12px; padding: 15px; }
    .feedContainer .ps-account-action-table { padding: 12px; }
    .ps-account-action-table tr { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 11px; }
    .ps-account-action-table tr > td:first-child { grid-column: 1 / -1; }
    .ps-account-action-table #submit_form { grid-column: 1 / -1; }
    .ps-account-action-table #submit_button { min-height: 48px; }
}
@media (max-width: 380px) {
    .ps-account-actions { margin-right: 4px; margin-left: 4px; padding: 12px; }
    .feedContainer .ps-account-action-table { padding: 9px; }
    .ps-account-action-table tr { grid-template-columns: minmax(0,1fr); }
    .ps-account-action-table tr > td:first-child,
    .ps-account-action-table #submit_form { grid-column: 1; }
}
