/* ========================================================================== */
/* Pirates Legacy / Tales of Pirates II - Steel & Emerald Theme               */
/* Global visual layer. Loaded after the original pkoSite styles.             */
/* ========================================================================== */

html { background:#111; }
body {
    min-width:1020px;
    background:#111 url(../images/Bs_Black_Floor_1280x800.jpg) center top fixed;
    color:#d8dde0;
    font:12px/1.55 Tahoma, Verdana, Arial, sans-serif;
}
body:before {
    content:"";
    position:fixed;
    z-index:-1;
    top:0; right:0; bottom:0; left:0;
    background:linear-gradient(to bottom, rgba(0,0,0,.20), rgba(0,0,0,.62));
    pointer-events:none;
}
a { color:#8fc56c; text-decoration:none; }
a:hover { color:#c4eba8; text-decoration:none; }

/* Top status strip */
#top_II {
    height:34px;
    margin:0;
    border-bottom:1px solid #030504;
    background:linear-gradient(#2f3536,#171b1c 53%,#101313 54%,#1a1e1e);
    box-shadow:0 1px 0 rgba(255,255,255,.09) inset,0 2px 8px rgba(0,0,0,.65);
    color:#adb6b8;
    font-size:11px;
}
.pko-topbar-inner { width:1000px; height:34px; margin:0 auto; position:relative; }
#top_II_sqrd,#top_II_drt { position:absolute; top:0; height:34px; line-height:34px; }
#top_II_sqrd { left:17px; }
#top_II_drt { right:17px; list-style:none; }
#top_II_drt strong { color:#8fd263; }
.pko-top-sep { color:#505858; margin:0 7px; }
.pko-status-dot {
    display:inline-block; width:7px; height:7px; margin:0 7px 1px 0;
    border-radius:50%; background:#83cf57; box-shadow:0 0 7px rgba(131,207,87,.7);
}
.pko-noscript { padding:8px 12px; border-bottom:1px solid #916d22; background:#33280e; color:#f0d57e; text-align:center; }

/* Main shell */
#container {
    width:1000px;
    margin:14px auto 0;
    background:#151a1a;
    border:1px solid #51595a;
    border-bottom:0;
    box-shadow:0 0 0 1px #070909,0 7px 30px rgba(0,0,0,.72);
}
#header {
    width:1000px; height:295px; margin:0;
    position:relative;
    background:url(../images/bg_header.jpg) no-repeat center top;
    overflow:visible;
    box-shadow:0 -1px 0 rgba(255,255,255,.2) inset;
}
.pko-header-shade {
    position:absolute; left:0; right:0; bottom:0; height:122px;
    background:linear-gradient(to bottom,rgba(14,20,20,0),rgba(9,13,13,.60) 55%,rgba(7,10,10,.92));
    pointer-events:none;
}
.logo { position:absolute; z-index:4; top:9px; left:18px; width:170px; height:38px; margin:0; background:none; }
.logo a {
    position:static; display:block; width:auto; height:38px; overflow:visible; text-indent:0;
    color:#eef4f1; font:bold 16px/38px Georgia,"Times New Roman",serif;
    text-shadow:0 2px 2px #000,0 0 5px #000;
}
.logo a:hover { color:#fff; }

.slogan { position:absolute; z-index:3; left:205px; top:58px; width:590px; height:115px; margin:0; }
.pko-html5-slogan { display:table; text-align:center; }
.pko-html5-slogan a { display:table-cell; width:590px; height:115px; vertical-align:middle; text-decoration:none; }
.pko-slogan-title {
    display:block; color:#eef5ed; font:bold 39px/45px Georgia,"Times New Roman",serif;
    letter-spacing:1px; text-shadow:0 3px 2px #07100a,0 0 7px rgba(63,104,47,.65),0 0 14px rgba(0,0,0,.8);
}
.pko-slogan-subtitle {
    display:block; margin-top:4px; color:#9ec684; font:bold 12px/18px Tahoma,Arial,sans-serif;
    letter-spacing:6px; text-transform:uppercase; text-shadow:0 1px 3px #000;
}

/* Main navigation */
.nav {
    position:absolute; z-index:100; left:22px; bottom:10px;
    width:956px; height:47px; margin:0; padding:0;
    background:linear-gradient(#4b5353 0,#313737 10%,#171b1b 48%,#101313 52%,#202525 100%);
    border:1px solid #626b6b;
    box-shadow:0 0 0 1px #090b0b,0 1px 0 rgba(255,255,255,.13) inset,0 4px 12px rgba(0,0,0,.45);
}
.nav:before,.nav:after { content:""; position:absolute; top:7px; width:1px; height:31px; background:#4d5555; box-shadow:1px 0 #090b0b; }
.nav:before { left:7px; } .nav:after { right:7px; }
.nav ul { height:47px; display:flex; justify-content:center; align-items:stretch; padding:0 12px; }
.nav li,.nav li.s9 {
    float:none; flex:1 1 auto; height:47px; padding:0; margin:0; background:none;
    border-right:1px solid #070909; border-left:1px solid rgba(255,255,255,.05);
}
.nav li:first-child { border-left:0; }
.nav li:last-child { border-right:0; }
.nav li.s5 { display:none; }
.nav a,.nav li.s1 a,.nav li.s2 a,.nav li.s3 a,.nav li.s4 a,.nav li.s6 a,.nav li.s7 a,.nav li.s8 a,.nav li.s9 a {
    display:block; width:auto; height:47px; padding:0 14px; box-sizing:border-box;
    background:none; overflow:visible; text-indent:0; text-align:center;
    color:#dce2df; font:bold 11px/47px Tahoma,Verdana,sans-serif; text-transform:uppercase; letter-spacing:.45px;
    text-shadow:0 -1px #000;
}
.nav a:hover,.nav a.selected,.nav li.s1 a:hover,.nav li.s2 a:hover,.nav li.s3 a:hover,.nav li.s4 a:hover,.nav li.s6 a:hover,.nav li.s7 a:hover,.nav li.s8 a:hover,.nav li.s9 a:hover {
    background:linear-gradient(rgba(117,168,82,.22),rgba(38,58,31,.16));
    color:#aee283; box-shadow:0 -2px 0 #75a856 inset,0 0 10px rgba(117,168,82,.13) inset;
}
#subNav { position:static; }
.subNav {
    width:176px; margin:0; padding:5px; background:#151a1a;
    border:1px solid #5b6464; box-shadow:0 0 0 1px #060808,0 8px 20px rgba(0,0,0,.65);
}
.subNav ul { padding:0; background:none; }
.subNav li { padding:0; background:none; border-bottom:1px solid #2e3535; }
.subNav li:last-child { border-bottom:0; }
.subNav a { display:block; width:auto; padding:8px 10px; color:#c9d0cd; font-size:11px; }
.subNav a:hover { background:#252d29; color:#aee283; }
#subNav4,#subNav6,#subNav7,#subNav8,#subNav9 { margin-left:0; }

/* Page grid */
#wrapper {
    width:1000px; margin:0; padding:18px 0 26px; background:#151919;
    border-top:1px solid #454d4d;
    box-shadow:0 1px 0 #080a0a inset;
}
#sidebar,#mainContent,#mainSide,#main {
    min-height:200px; background:none;
}
#sidebar { float:left; width:234px; padding:0 9px; box-sizing:border-box; }
#mainContent { float:left; width:512px; padding:0 9px; box-sizing:border-box; }
#mainSide { float:left; width:254px; padding:0 9px; box-sizing:border-box; }
#main {
    float:left; width:748px; min-height:560px; box-sizing:border-box;
    padding:0 20px 22px; background:#e2e4e1;
    border:1px solid #646e6c; color:#2c3332;
    box-shadow:0 0 0 1px #101313,0 1px 0 #fff inset;
}
#main a { color:#4f7d35; }
#main a:hover { color:#2e5c1b; }

/* Steel side panels */
.pko-side-panel {
    margin:0 0 11px; padding:0 10px 11px;
    background:linear-gradient(#232929,#171b1b);
    border:1px solid #4b5554;
    box-shadow:0 0 0 1px #080a0a,0 1px 0 rgba(255,255,255,.08) inset;
    color:#b8c0be;
}
.pko-panel-cap {
    height:34px; margin:0 -10px 10px; padding:0 11px;
    background:linear-gradient(#454e4d,#252b2b 50%,#181c1c 51%,#2a3030);
    border-bottom:1px solid #060808;
    box-shadow:0 1px 0 rgba(255,255,255,.10) inset,0 1px 0 #4c5554;
}
.pko-panel-cap span {
    display:block; height:34px; color:#e3e8e5; font:bold 11px/34px Georgia,"Times New Roman",serif;
    text-transform:uppercase; letter-spacing:1px; text-shadow:0 1px 2px #000;
}
.pko-panel-cap span:before { content:"◆"; margin-right:7px; color:#75aa55; font-size:8px; vertical-align:1px; }
.pko-download-panel { padding-bottom:10px; }
.pko-action { display:flex; align-items:center; min-height:60px; padding:8px; border:1px solid #55605d; background:linear-gradient(#333c38,#202823); color:#e5ebe5; }
.pko-action:hover { background:linear-gradient(#3b493d,#263128); border-color:#71935e; color:#fff; }
.pko-action-icon { width:40px; font:bold 29px/40px Georgia,serif; color:#8dc867; text-align:center; text-shadow:0 2px #000; }
.pko-action strong,.pko-action small { display:block; }
.pko-action strong { font:bold 13px Georgia,serif; }
.pko-action small { margin-top:2px; color:#98a09d; font-size:10px; }
.memberArea { height:auto; padding:0 10px 11px; color:#b8c0be; background:linear-gradient(#232929,#171b1b); }
.memberArea .memberInfo { padding:0; }
.memberArea .memberInfo li { padding:6px 2px; border-bottom:1px solid #303636; }
.memberArea .memberInfo li span { color:#8e9995; }
.memberArea .memberInfo li strong { float:right; color:#dfe5e2; }
.memberArea .memberInfo li.pko-user-name strong { color:#9bd474; }
.memberArea a { color:#9aca78; text-decoration:none; }
.pko-side-actions { display:flex; gap:6px; margin-top:9px; }
.pko-side-actions a {
    flex:1; padding:7px 5px; border:1px solid #515b59; background:linear-gradient(#333a39,#1d2222);
    color:#cbd2cf; text-align:center; font-size:10px; text-decoration:none;
}
.pko-side-actions a:hover { border-color:#72945e; background:#283229; color:#b9e39a; }
.pko-auth-actions { display:block; }
.pko-auth-actions a { display:block; margin-top:6px; }
.pko-auth-actions .pko-button-primary { border-color:#6e8f5b; background:linear-gradient(#526c43,#34462d); color:#f1f6ed; font-weight:bold; }
.pko-auth-actions .pko-muted-link { border:0; background:none; color:#8b9692; padding:4px; }
.pko-side-menu li { border-bottom:1px solid #303737; }
.pko-side-menu li:last-child { border-bottom:0; }
.pko-side-menu a { display:block; padding:8px 5px; color:#bdc5c2; }
.pko-side-menu a:hover { padding-left:8px; background:#202724; color:#a9d98a; }
.pko-side-menu a span { display:inline-block; width:22px; color:#789d61; text-align:center; }
.pko-world-panel p { padding:1px 2px 4px; color:#9da5a2; font-size:11px; }
.pko-rates { padding:0 2px; }
.pko-rates li { height:29px; line-height:29px; border-bottom:1px dotted #48504e; }
.pko-rates li:last-child { border-bottom:0; }
.pko-rates span { color:#aeb6b3; }
.pko-rates strong { float:right; color:#9fd47d; font:bold 13px/29px Georgia,serif; }
.pko-guide-card { display:block; margin:7px 0; padding:9px 9px 8px; border:1px solid #46504d; background:#1c2121; }
.pko-guide-card:hover { border-color:#688656; background:#232b24; }
.pko-guide-card strong,.pko-guide-card span { display:block; }
.pko-guide-card strong { color:#dce2df; font:12px Georgia,serif; }
.pko-guide-card span { margin-top:3px; color:#89938f; font-size:10px; }

/* Homepage center */
.pko-home-heading { margin:0 0 10px; padding:10px 13px; border:1px solid #4f5957; background:linear-gradient(#242a2a,#1a1f1f); box-shadow:0 0 0 1px #080a0a; }
.pko-home-heading .pko-kicker { color:#86b867; font:bold 9px Tahoma,sans-serif; text-transform:uppercase; letter-spacing:1.6px; }
.pko-home-heading h2 { margin-top:1px; color:#ecf0ee; font:bold 18px/23px Georgia,serif; text-shadow:0 1px #000; }
.pko-home-heading p { color:#939d99; font-size:10px; }
.slideplayer {
    width:492px; height:176px; margin:0; padding:10px; box-sizing:border-box;
    background:linear-gradient(#313838,#161a1a); border:1px solid #56605e;
    box-shadow:0 0 0 1px #070909,0 1px 0 rgba(255,255,255,.1) inset;
}
.pko-slideshow { width:470px; height:154px; border:1px solid #080909; background:#111; }
.pko-slide img { width:470px; height:154px; object-fit:cover; }
.pko-slide-dots { right:8px; bottom:7px; padding:4px 6px; border:1px solid rgba(255,255,255,.12); border-radius:0; background:rgba(8,11,10,.72); }
.pko-slide-dots button { width:8px; height:8px; margin:0 2px; border:1px solid #bdc5c1; border-radius:0; background:#45504d; }
.pko-slide-dots button.is-active { background:#7caf5c; border-color:#b6dd9d; }
.update {
    width:492px; margin-top:10px; box-sizing:border-box; border:1px solid #4f5957;
    background:#1b2020; box-shadow:0 0 0 1px #080a0a;
}
.updateNav {
    height:34px; padding:0 7px; border:0; border-bottom:1px solid #080a0a;
    background:linear-gradient(#3c4443,#242a2a 52%,#1b2020 53%,#282e2e);
}
.updateNav li { width:auto; height:34px; margin:0; }
.updateNav li a,.updateNav li.s1 a,.updateNav li.s3 a {
    display:block; height:34px; padding:0 13px; background:none; overflow:visible; text-indent:0;
    color:#aab3af; font:bold 10px/34px Tahoma,sans-serif; text-transform:uppercase;
}
.updateNav li a.current,.updateNav li a:hover { color:#b9e29e; box-shadow:0 -2px 0 #7bad5c inset; }
.updateNav li.more { float:right; }
.updateNav li.more a { color:#7f8a86; font-size:9px; }
.updateList { padding:8px 12px 10px; background:none; }
.updateList li { height:29px; padding:0; border-bottom:1px dotted #404846; line-height:29px; color:#8f9995; }
.updateList li:last-child { border-bottom:0; }
.updateList li .title { float:left; max-width:385px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.updateList a { color:#c5ccca; }
.updateList a:hover { color:#a9d98a; }
.updateList .listRight { float:right; color:#77827e; font-size:10px; }
.pko-new-badge { margin-left:5px; padding:1px 4px; border:1px solid #688b53; background:#30422b; color:#b8e39c; font:bold 8px Tahoma,sans-serif; }
.pko-home-actions { display:flex; gap:7px; margin-top:10px; }
.pko-home-actions a {
    flex:1; min-width:0; padding:11px 7px 10px; border:1px solid #4d5755; background:linear-gradient(#252b2b,#191e1e);
    color:#d5dcda; text-align:center; box-shadow:0 0 0 1px #080a0a;
}
.pko-home-actions a:hover { border-color:#6f8e5d; background:linear-gradient(#2d3730,#1d251f); }
.pko-home-actions strong,.pko-home-actions small { display:block; }
.pko-home-actions strong { margin-top:3px; font:12px Georgia,serif; }
.pko-home-actions small { margin-top:2px; color:#89928f; font-size:9px; }
.pko-home-action-icon { display:block; color:#89bc69; font:bold 17px/20px Georgia,serif; }

/* Sub-pages */
.breadcrumb {
    height:auto; margin:0 -20px 13px; padding:10px 19px; background:#c9cdca;
    border-bottom:1px solid #aeb4b0; color:#69716e; font-size:10px;
}
.breadcrumb a { color:#4f733c; }
.pageTitle {
    width:auto; height:auto; margin:0 0 12px; padding:10px 13px;
    background:linear-gradient(#444d4c,#252b2b 48%,#1a1e1e 52%,#2b3231);
    border:1px solid #56605e; box-shadow:0 0 0 1px #afb4b1,0 1px 0 rgba(255,255,255,.12) inset;
    color:#eef2ef; font:bold 18px/23px Georgia,"Times New Roman",serif;
    text-shadow:0 1px 2px #000;
}
.pageTitle:before { content:"◆"; margin-right:9px; color:#84b964; font-size:10px; vertical-align:2px; }
.pageTitle img { display:none; }
.pageTitle span { display:inline; }
.pageNav { margin:0 0 12px; padding:0; }
.pageNav li { float:left; height:auto; margin:0 5px 5px 0; background:none; }
.pageNav li a {
    float:none; display:block; height:auto; padding:7px 11px; background:linear-gradient(#f0f1ef,#d0d3d0);
    border:1px solid #9ea6a2; color:#3c4945; font:bold 10px Tahoma,sans-serif; line-height:14px;
    text-shadow:0 1px #fff;
}
.pageNav li a:hover,.pageNav li.current a { background:linear-gradient(#667e58,#465c3d); border-color:#3d5334; color:#fff; text-shadow:0 -1px #25321f; }
.content { width:auto; margin:8px 3px 0; color:#303735; }
.content p { margin-bottom:13px; }
.content .text { margin-bottom:12px; }
.content h3,.content h4 { color:#344438; font-family:Georgia,"Times New Roman",serif; }

/* Tables / forms */
.normalTable,.mallList {
    border-collapse:collapse; border:1px solid #8d9792; background:#eef0ed; color:#313735;
    box-shadow:0 1px 0 rgba(255,255,255,.8) inset;
}
.normalTable th,.normalTable td,.mallList th,.mallList td { border:1px solid #abb1ad; padding:7px 8px; }
.normalTable th,.mallList th {
    background:linear-gradient(#535d5b,#333a39); color:#eef2f0; font-weight:bold; text-align:center; text-shadow:0 -1px #171a1a;
}
.normalTable td,.mallList td { background:#e5e8e4; }
.normalTable tr:nth-child(even) td,.mallList tr:nth-child(even) td { background:#dce0dc; }
.normalTable tr:hover td,.mallList tr:hover td { background:#edf4e8; }
.normalTable td.tdLabel { background:#d2d7d2; color:#374b39; text-align:right; font-weight:bold; }
.inputText,.textarea,input[type="text"],input[type="password"],input[type="email"],select,textarea {
    box-sizing:border-box; height:auto; min-height:27px; padding:5px 7px;
    border:1px solid #87918d; background:#f8f9f7; color:#252b29; font:11px Tahoma,Verdana,sans-serif;
    box-shadow:0 1px 2px rgba(0,0,0,.12) inset;
}
textarea,.textarea { min-height:90px; line-height:1.45; }
.inputText:focus,.textarea:focus,input:focus,select:focus,textarea:focus { outline:1px solid #668a50; border-color:#668a50; }
.button,input.button,input[type="submit"],button.button {
    min-height:29px; padding:5px 14px; border:1px solid #475246;
    background:linear-gradient(#6e895e,#4d673f 49%,#3f5634 51%,#596f4c);
    color:#f2f6ef; font:bold 10px Tahoma,sans-serif; text-shadow:0 -1px #26351f; cursor:pointer;
    box-shadow:0 1px 0 rgba(255,255,255,.22) inset,0 1px 2px rgba(0,0,0,.24);
}
.button:hover,input.button:hover,input[type="submit"]:hover,button.button:hover { background:linear-gradient(#7d9d69,#557147); border-color:#3d5034; }
fieldset { border:1px solid #a5ada8; padding:10px; }
legend { padding:0 5px; color:#3e573a; font-weight:bold; }

/* Notifications */
#ok,#error,#notice,.ok,.error,.notice { margin:8px 0; padding:9px 11px; border:1px solid; background-image:none; }
#ok,.ok { border-color:#79956c; background:#e5f0df; color:#34532d; }
#error,.error { border-color:#a77777; background:#f3e0e0; color:#6b2929; }
#notice,.notice { border-color:#a99968; background:#f4edd7; color:#65562c; }

/* Ranking/news/FAQ lists */
.newsList li { padding:8px 5px; border-bottom:1px dotted #9da59f; }
.newsList .listRight { float:right; color:#747c78; }
.faq dl { margin:0 0 12px; border:1px solid #acb2ae; background:#e9ebe8; }
.faq dt { padding:8px 10px; background:#d2d6d2; color:#354638; font-weight:bold; }
.faq dd { padding:9px 10px; }
.faq .label { float:left; width:20px; color:#588044; font-weight:bold; }
.faq .faqAnswer { display:block; margin-left:22px; }

/* Mall: retain old layout dimensions but recolor the functional controls */
.mall { width:665px; color:#303735; }
.mallWrapper,.mallContent { background:#e4e7e3; }
.mallSortNav { background:#d5d9d5; }
.mallSortNav li,.mallSortNav li.current { background:none; }
.mallSortNav li a,.mallSortNav li.current a { background:#4b5552; color:#eef2ef; }
.mallSortNav li a:hover,.mallSortNav li.current a { background:#587348; color:#fff; }
.mallMainList { background:#e6e9e5; border-color:#a8afaa; }
.mallSideNav,.mallSidePop { border-color:#9da69f; background:#dde1dc; }
.mallSideNav li { background:#c8cec8; }
.mallSideNav li a { color:#3f583b; }
.mallMainTitle,.mallSideTitle { background:#3b4542; color:#eef2ef; }
.mallSearch,.searchPanel { background:#cfd4cf; border:1px solid #a3aaa5; }
.mallSearch .schInput,.searchPanel .schInput { border-color:#87918c; }

/* Popups / overlays used by storage and mall */
#AssignItem,#popBox,.popBox { color:#303735; }
.mask,.overlay { background:rgba(0,0,0,.65); }

/* Footer */
#footer { width:100%; margin:0; background:none; }
#footer .footer {
    width:1000px; height:114px; margin:0 auto 30px; position:relative;
    background:linear-gradient(#1e2323,#101313); border:1px solid #4d5655; border-top:0;
    box-shadow:0 0 0 1px #070909,0 10px 30px rgba(0,0,0,.45);
}
.pko-footer-mark { position:absolute; top:20px; left:34px; width:60px; color:#60745a; font:34px Georgia,serif; text-align:center; }
.footer-text { top:25px; color:#77817d; text-align:center; }
.footer-text p { margin:2px 0; }
.footer-text strong { color:#b5bdb9; font-family:Georgia,serif; }
.footer-text .credits { color:#59625f; font-size:10px; }
.footer-text a { color:#779668; }

/* Old decorative blocks that should no longer force bright legacy skins */
.sideDownload,.sideQuick,.sideCol,.mainLink,.quickLink,.slideGg { background:none; }
.sideDownload,.sideQuick,.sideCol { margin:0; width:auto; height:auto; }

/* Small accessibility / compatibility details */
img { max-width:100%; }
.clearfix:after { content:"."; display:block; height:0; clear:both; visibility:hidden; }

@media (max-width:1040px) {
    body { min-width:1000px; }
    #container,.pko-topbar-inner,#footer .footer { margin-left:0; margin-right:0; }
}

/* Guide content */
.guideStep { margin:0 0 14px; padding:8px; border:1px solid #a7aea9; background:#d7dad6; }
.guideStep ul { display:flex; gap:7px; }
.guideStep li { flex:1; }
.guideStep li a { display:block; padding:7px 8px; border:1px solid #9ba49e; background:#eceeeb; color:#3d523a; text-align:center; font-weight:bold; }
.guideStep li a:hover { background:#526b47; border-color:#40573a; color:#fff; }
.guideTitle { margin:14px 0 8px; padding-bottom:5px; border-bottom:1px solid #a9b0ab; font:bold 16px/22px Georgia,"Times New Roman",serif; }
.pko-guide-steps,.pko-class-grid { display:grid; gap:8px; margin:8px 0 14px; }
.pko-guide-steps { grid-template-columns:1fr 1fr; }
.pko-class-grid { grid-template-columns:1fr 1fr; }
.pko-guide-steps > div,.pko-class-grid > div { padding:10px; border:1px solid #abb2ad; background:#e9ebe8; box-shadow:0 1px #fff inset; }
.pko-guide-steps strong,.pko-class-grid strong { color:#3f5b39; font:13px Georgia,"Times New Roman",serif; }
.pko-guide-steps p,.pko-class-grid p { margin:4px 0 0; color:#59615e; }
.pko-feature-list { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:12px 0 14px; }
.pko-feature-list > div { padding:11px; border:1px solid #abb2ad; background:#e9ebe8; }
.pko-feature-list strong,.pko-feature-list span { display:block; }
.pko-feature-list strong { color:#405a39; font:13px Georgia,"Times New Roman",serif; }
.pko-feature-list span { margin-top:4px; color:#59625e; }

/* -------------------------------------------------------------------------- */
/* Dropdown menu refresh                                                      */
/* -------------------------------------------------------------------------- */
.nav.pko-nav-modern { overflow:visible; z-index:60; }
.nav.pko-nav-modern ul { overflow:visible; }
.nav.pko-nav-modern li { position:relative; overflow:visible; }
.nav.pko-nav-modern a { text-indent:0 !important; background:none !important; width:auto !important; min-width:0 !important; padding:12px 16px 11px; text-transform:uppercase; letter-spacing:.6px; font:bold 12px/1 Tahoma,Arial,sans-serif; color:#eef2ef; }
.nav.pko-nav-modern a:hover,
.nav.pko-nav-modern a.selected,
.nav.pko-nav-modern li:hover > a,
.nav.pko-nav-modern li:focus-within > a { color:#b9ea8e; background:linear-gradient(#1f2824,#151b18) !important; }
.nav.pko-nav-modern .pko-submenu {
    display:none;
    position:absolute;
    top:100%;
    left:0;
    min-width:220px;
    margin-top:0;
    border:1px solid #394341;
    background:rgba(15,19,18,.98);
    box-shadow:0 10px 24px rgba(0,0,0,.35);
    z-index:999;
}
.nav.pko-nav-modern .pko-submenu-right { right:0; left:auto; }
.nav.pko-nav-modern li:hover > .pko-submenu,
.nav.pko-nav-modern li:focus-within > .pko-submenu { display:block; }
.nav.pko-nav-modern .pko-submenu ul { display:block; height:auto; padding:7px 0; }
.nav.pko-nav-modern .pko-submenu li { display:block; float:none; height:auto; min-width:220px; border:0; background:none; padding:0; }
.nav.pko-nav-modern .pko-submenu a {
    display:block;
    float:none;
    width:auto;
    height:auto;
    padding:10px 14px;
    color:#c9d0cd;
    text-transform:none;
    letter-spacing:0;
    font:12px/1.3 Tahoma,Arial,sans-serif;
    white-space:nowrap;
}
.nav.pko-nav-modern .pko-submenu a:hover { color:#dff7c9; background:#202825 !important; }
#subNav { display:none; }

/* -------------------------------------------------------------------------- */
/* Mall / Shop refresh                                                        */
/* -------------------------------------------------------------------------- */
.pko-section-kicker {
    display:inline-block;
    margin-bottom:4px;
    color:#84b666;
    font:bold 10px Tahoma,Arial,sans-serif;
    text-transform:uppercase;
    letter-spacing:1.5px;
}
.pko-mall-shell { width:664px; margin-top:14px; color:#303735; }
.pko-mall-hero {
    display:flex;
    justify-content:space-between;
    gap:18px;
    padding:18px 20px;
    border:1px solid #4a5552;
    background:linear-gradient(180deg,#25302c 0%,#1b2321 100%);
    box-shadow:0 0 0 1px #0d1211 inset;
}
.pko-mall-hero-copy h3 { margin:0; color:#f3f7f3; font:bold 25px/1.1 Georgia,"Times New Roman",serif; }
.pko-mall-hero-copy p { margin:8px 0 0; color:#a9b2ad; font-size:12px; line-height:1.55; }
.pko-mall-mini-stats { display:flex; gap:10px; align-items:stretch; }
.pko-mall-mini-stats div {
    min-width:110px;
    padding:11px 12px;
    border:1px solid #54605b;
    background:linear-gradient(#36413d,#242d2a);
    text-align:center;
}
.pko-mall-mini-stats span { display:block; color:#9aa39f; font-size:10px; text-transform:uppercase; letter-spacing:1px; }
.pko-mall-mini-stats strong { display:block; margin-top:5px; color:#f0f4ef; font:bold 18px/1 Georgia,"Times New Roman",serif; }
.pko-mall-steps {
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:8px;
    margin-top:12px;
}
.pko-step {
    position:relative;
    padding:14px 10px;
    border:1px solid #8bb3c7;
    border-radius:10px;
    background:linear-gradient(#2bc2fb,#0f91c8);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.35);
    text-align:center;
}
.pko-step strong { display:block; color:#ffdf35; font:bold 28px/1 Georgia,serif; text-shadow:0 2px 0 rgba(0,0,0,.45); }
.pko-step span { display:block; margin-top:3px; color:#fffef0; font:bold 12px/1.25 Tahoma,Arial,sans-serif; }
.pko-mall-tabs { display:flex; flex-wrap:wrap; gap:6px; width:auto; height:auto; padding:0; margin:14px 0 0; background:none; }
.pko-mall-tabs li,.pko-mall-tabs li.current { float:none; margin:0; height:auto; background:none; }
.pko-mall-tabs li a,.pko-mall-tabs li.current a {
    float:none;
    display:block;
    height:auto;
    padding:10px 14px;
    border:1px solid #707a76;
    background:linear-gradient(#58615d,#404946);
    color:#eef3ef;
    font:bold 11px/1 Tahoma,Arial,sans-serif;
    text-transform:uppercase;
    letter-spacing:.5px;
}
.pko-mall-tabs li a:hover,.pko-mall-tabs li.current a { background:linear-gradient(#638051,#4d6640); color:#fff; }
.pko-mall-content {
    clear:both;
    width:auto;
    padding:16px;
    margin-top:12px;
    border:1px solid #b7bdba;
    background:linear-gradient(#edf0ed,#e3e7e3);
}
.pko-shop-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.pko-shop-card {
    border:1px solid #aab1ad;
    background:#f6f8f5;
    box-shadow:0 1px 0 #fff inset;
}
.pko-shop-card-head {
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px;
    border-bottom:1px solid #cbd2ce;
    background:linear-gradient(#f7faf7,#e7ebe7);
}
.pko-shop-icon {
    width:66px;
    height:66px;
    border:1px solid #aeb5b0;
    background:radial-gradient(circle at 50% 40%,#ffffff 0%,#e9eeea 55%,#dce2dd 100%);
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}
.pko-shop-icon img,.pko-purchase-icon img { max-width:48px; max-height:48px; image-rendering:auto; }
.pko-shop-title-wrap { flex:1; min-width:0; }
.pko-shop-title { margin:0; color:#335249; font:bold 20px/1.1 Georgia,"Times New Roman",serif; }
.pko-shop-meta { margin-top:5px; color:#747e7a; font-size:11px; }
.pko-shop-price { min-width:92px; color:#314f3d; font:bold 24px/1 Georgia,"Times New Roman",serif; text-align:right; }
.pko-shop-price span { display:block; margin-top:2px; color:#717a76; font:10px Tahoma,Arial,sans-serif; text-transform:uppercase; letter-spacing:1px; }
.pko-shop-card-body { padding:14px; }
.pko-shop-desc { min-height:40px; margin:0; color:#58625e; font-size:12px; line-height:1.5; }
.pko-shop-foot { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:14px; }
.pko-shop-quota span { display:block; margin-bottom:5px; color:#7a8380; font-size:10px; text-transform:uppercase; letter-spacing:1px; }
.pko-stock {
    display:inline-block;
    padding:6px 10px;
    border:1px solid #aeb6b1;
    background:#edf2ee;
    color:#46514d;
    font:bold 11px/1 Tahoma,Arial,sans-serif;
}
.pko-stock.unlimited { border-color:#88ac72; background:#edf7e8; color:#46643b; }
.pko-stock.limited { border-color:#9bac8b; background:#f1f6ee; color:#4e6147; }
.pko-stock.soldout { border-color:#c6a3a3; background:#f7ecec; color:#7e4646; }
.pko-shop-btn,.pko-button-primary,.buybut.pko-button-primary {
    display:inline-block;
    padding:9px 14px;
    border:1px solid #b7721c;
    background:linear-gradient(#f8ba3e,#e98b18);
    color:#fff8e8 !important;
    font:bold 12px/1 Tahoma,Arial,sans-serif;
    text-decoration:none;
    text-shadow:0 1px 0 rgba(0,0,0,.35);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.25);
}
.pko-shop-btn:hover,.pko-button-primary:hover,.buybut.pko-button-primary:hover { text-decoration:none; background:linear-gradient(#ffc750,#ee961f); }
.pko-panel-box {
    margin-top:14px;
    padding:16px;
    border:1px solid #b6bdba;
    background:linear-gradient(#eef1ee,#e2e6e2);
}
.pko-panel-box-tight { max-width:664px; }
.pko-panel-title { margin:0 0 12px; color:#364f3b; font:bold 20px/1.1 Georgia,"Times New Roman",serif; }
.pko-purchase-box { display:flex; flex-direction:column; gap:14px; }
.pko-purchase-card {
    display:flex;
    gap:14px;
    padding:14px;
    border:1px solid #aeb5b1;
    background:#f7f9f7;
}
.pko-purchase-icon {
    width:90px;
    height:90px;
    border:1px solid #aeb5b0;
    background:radial-gradient(circle at 50% 40%,#ffffff 0%,#e9eeea 55%,#dce2dd 100%);
    display:flex;
    align-items:center;
    justify-content:center;
}
.pko-purchase-main { flex:1; }
.pko-purchase-main h3 { margin:0; color:#355046; font:bold 24px/1.1 Georgia,"Times New Roman",serif; }
.pko-purchase-main p { margin:8px 0 0; color:#5d6662; line-height:1.5; }
.pko-purchase-stats { display:flex; gap:10px; margin:12px 0 0; }
.pko-purchase-stats li { flex:1; padding:10px; border:1px solid #bdc4bf; background:#edf1ed; }
.pko-purchase-stats span { display:block; color:#737c79; font-size:10px; text-transform:uppercase; letter-spacing:1px; }
.pko-purchase-stats strong { display:block; margin-top:4px; color:#344b3a; font:bold 14px/1.2 Georgia,serif; }
.pko-purchase-form { padding:14px; border:1px solid #bcc2bf; background:#f8faf8; }
.pko-purchase-form p { margin:0 0 12px; color:#59625f; }
.pko-form-actions { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.pko-inline-link { color:#365545; font-weight:bold; }
.pko-inline-link:hover { color:#5d8147; }
.pko-storage-table th,.pko-storage-table td { vertical-align:middle; }
.pko-form-bar {
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    margin-top:14px;
    padding-top:14px;
    border-top:1px solid #c8cfca;
}
.pko-info-list { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:14px; }
.pko-info-list > div { padding:11px 12px; border:1px solid #b7bfba; background:#f4f7f4; }
.pko-info-list strong,.pko-info-list span { display:block; }
.pko-info-list strong { color:#36533c; font:13px Georgia,"Times New Roman",serif; }
.pko-info-list span { margin-top:4px; color:#5d6762; font-size:12px; line-height:1.45; }
.pko-donation-copy p { color:#505956; line-height:1.6; }
.pko-exchange-content table { width:100%; }
.pko-exchange-content .normalTable,.pko-exchange-content table { margin-top:8px; }

/* Modal used by mall/award old flows */
#AssignItem {
    width:540px;
    margin:0 !important;
    padding:22px;
    border:1px solid #4b5652;
    background:linear-gradient(#f2f5f2,#dde2dd);
    box-shadow:0 16px 38px rgba(0,0,0,.35);
}
#AssignItem table,#AssignItem tr,#AssignItem th,#AssignItem td { border:0; background:none; }
#AssignItem select,#AssignItem input[type="text"],.iput {
    padding:7px 8px;
    border:1px solid #8f9893;
    background:#fff;
}
#AssignItemMask { background:#000; }

@media (max-width: 1000px) {
    .pko-mall-shell,.mall,.mallRecord,.mallWrapper,.mallContent { width:auto !important; }
    .pko-shop-grid { grid-template-columns:1fr; }
    .pko-mall-hero,.pko-purchase-card { flex-direction:column; }
    .pko-mall-steps { grid-template-columns:1fr 1fr; }
    .pko-info-list,.pko-purchase-stats { grid-template-columns:1fr; display:grid; }
}

/* -------------------------------------------------------------------------- */
/* Rankings / Admin panels                                                    */
/* -------------------------------------------------------------------------- */
.pko-ranking-shell,.pko-admin-shell { width:664px; margin-top:14px; }
.pko-ranking-hero,.pko-admin-hero { margin-bottom:12px; }
.pko-ranking-tabs,.pko-admin-tabs {
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin:0 0 12px;
}
.pko-admin-tabs a {
    display:inline-block;
    padding:10px 14px;
    border:1px solid #707a76;
    background:linear-gradient(#58615d,#404946);
    color:#eef3ef;
    font:bold 11px/1 Tahoma,Arial,sans-serif;
    text-transform:uppercase;
    letter-spacing:.5px;
    text-decoration:none;
}
.pko-admin-tabs a:hover,.pko-admin-tabs a.is-active { background:linear-gradient(#638051,#4d6640); color:#fff; text-decoration:none; }
.pko-data-table { width:100%; border-collapse:collapse; }
.pko-data-table th {
    padding:11px 10px;
    border:1px solid #7b8681;
    background:linear-gradient(#4f5a55,#3f4844);
    color:#eef2ef;
    font:bold 12px/1.2 Tahoma,Arial,sans-serif;
    text-align:center;
}
.pko-data-table td {
    padding:11px 10px;
    border:1px solid #c6ceca;
    background:#fbfcfb;
    color:#424b47;
}
.pko-data-table tr:nth-child(even) td { background:#f2f5f2; }
.pko-empty { color:#7d8682; }
.pko-help-note { margin:12px 0 0; color:#58635f; line-height:1.5; }
.pko-toolbar { display:flex; justify-content:flex-end; gap:10px; margin-bottom:12px; }
.pko-action-link { font-weight:bold; }
.pko-danger-link { color:#8a3d3d; }
.pko-danger-link:hover { color:#b04141; }
.pko-form-shell form p { margin:0 0 14px; }
.pko-form-shell label.left,
.simpleform label.left {
    display:block;
    margin:0 0 6px;
    float:none;
    width:auto;
    color:#36533c;
    font:bold 12px/1.2 Tahoma,Arial,sans-serif;
}
.pko-form-shell input[type="text"],
.pko-form-shell input[type="password"],
.pko-form-shell select,
.pko-form-shell textarea,
.simpleform input[type="text"],
.simpleform input[type="password"],
.simpleform select,
.simpleform textarea,
.admin-generated input[type="text"],
.admin-generated input[type="password"],
.admin-generated select,
.admin-generated textarea {
    max-width:100%;
    padding:8px 9px;
    border:1px solid #96a09a;
    background:#fff;
    color:#303836;
    box-sizing:border-box;
}
.pko-form-shell textarea,
.simpleform textarea,
.admin-generated textarea { line-height:1.45; }
.pko-form-shell .button,
.simpleform .button,
.admin-generated .button,
.admin-generated .buybut,
.admin-generated .btn,
.admin-generated input[type="submit"] {
    display:inline-block;
    padding:9px 14px;
    border:1px solid #b7721c;
    background:linear-gradient(#f8ba3e,#e98b18);
    color:#fff8e8 !important;
    font:bold 12px/1 Tahoma,Arial,sans-serif;
    text-decoration:none;
    text-shadow:0 1px 0 rgba(0,0,0,.35);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.25);
    cursor:pointer;
}
.pko-form-shell .button:hover,
.simpleform .button:hover,
.admin-generated .button:hover,
.admin-generated .buybut:hover,
.admin-generated .btn:hover,
.admin-generated input[type="submit"]:hover { background:linear-gradient(#ffc750,#ee961f); }
.admin-generated table { width:100%; border-collapse:collapse; margin:0 0 14px; }
.admin-generated table th {
    padding:10px;
    border:1px solid #7b8681;
    background:linear-gradient(#4f5a55,#3f4844);
    color:#eef2ef;
}
.admin-generated table td {
    padding:10px;
    border:1px solid #c6ceca;
    background:#fbfcfb;
}
.admin-generated table tr:nth-child(even) td { background:#f2f5f2; }
.admin-generated form { margin:0 0 14px; }
.admin-generated > br { display:none; }
.pko-right-meta { float:right; color:#7b8380; font-size:11px; }
.pko-admin-chart-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:14px; }
.pko-legend { display:inline-block; width:12px; height:12px; border-radius:2px; vertical-align:-1px; margin-right:5px; }
.pko-leg-green { background:#c8e664; }
.pko-leg-orange { background:#c86400; }
.pko-stats-table th { width:240px; text-align:left; }
.pko-stats-table td { text-align:center; font-weight:bold; }
.pageInfo { margin-top:12px; }
.pageInfo li,.pageInfo a { color:#365545; }

@media (max-width: 1000px) {
    .pko-ranking-shell,.pko-admin-shell { width:auto; }
    .pko-admin-chart-grid { grid-template-columns:1fr; }
}

/* -------------------------------------------------------------------------- */
/* Premium MMORPG standardization                                             */
/* -------------------------------------------------------------------------- */
.pko-page-shell { width:664px; margin-top:14px; }
.pko-premium-card,
.pko-premium-hero,
.pko-panel-box {
    border-radius:0;
}
.pko-premium-hero {
    display:flex;
    justify-content:space-between;
    align-items:stretch;
    gap:16px;
    padding:18px;
    margin:0 0 14px;
    border:1px solid #69736f;
    background:linear-gradient(135deg, rgba(42,52,51,.98), rgba(18,24,24,.98));
    box-shadow:0 0 0 1px #090b0b, inset 0 1px 0 rgba(255,255,255,.08), 0 10px 28px rgba(0,0,0,.28);
    color:#dee5e0;
}
.pko-subpage-hero { padding:16px 18px; }
.pko-hero-copy { flex:1 1 auto; }
.pko-hero-copy h2,
.pko-hero-copy h3 {
    margin:4px 0 8px;
    color:#edf4ee;
    font:bold 26px/1.2 Georgia,"Times New Roman",serif;
    text-shadow:0 1px 2px rgba(0,0,0,.45);
}
.pko-hero-copy p { color:#afbbb6; max-width:510px; margin:0; }
.pko-section-kicker {
    display:inline-block;
    margin-bottom:2px;
    color:#9ccc7d;
    font:bold 10px/1 Tahoma,Arial,sans-serif;
    text-transform:uppercase;
    letter-spacing:2px;
}
.pko-hero-stats {
    display:grid;
    grid-template-columns:repeat(1, minmax(120px, 1fr));
    gap:8px;
    min-width:160px;
}
.pko-hero-stats div {
    padding:10px 12px;
    border:1px solid #515c58;
    background:rgba(9,12,12,.45);
    text-align:center;
}
.pko-hero-stats span { display:block; color:#91a09b; font-size:10px; text-transform:uppercase; letter-spacing:1.2px; }
.pko-hero-stats strong { display:block; margin-top:3px; color:#f1f6f2; font:bold 19px/1.1 Georgia,"Times New Roman",serif; }
.pko-hero-actions { display:flex; gap:10px; margin-top:15px; }
.pko-button-primary,
.pko-button-secondary,
.pko-inline-link {
    display:inline-block;
    padding:10px 16px;
    border:1px solid #b7721c;
    background:linear-gradient(#f8ba3e,#e98b18);
    color:#fff8e8 !important;
    font:bold 12px/1 Tahoma,Arial,sans-serif;
    text-decoration:none;
    text-shadow:0 1px 0 rgba(0,0,0,.35);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.25);
}
.pko-button-secondary,
.pko-inline-link {
    border-color:#5e7a50;
    background:linear-gradient(#5f7b4e,#405437);
    color:#edf5e8 !important;
}
.pko-button-primary:hover { background:linear-gradient(#ffc750,#ee961f); }
.pko-button-secondary:hover,
.pko-inline-link:hover { background:linear-gradient(#6b8a58,#486140); }
.pko-home-main .slideplayer,
.pko-home-main .update { margin-top:14px; }
.pko-home-main .slideplayer { width:492px; }
.pko-feature-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    margin-top:14px;
}
.pko-feature-card {
    display:block;
    padding:16px;
    border:1px solid #59635f;
    background:linear-gradient(180deg,#242d2c,#1b2222);
    color:#d9e2dc !important;
    box-shadow:0 0 0 1px #080a0a;
}
.pko-feature-card:hover { border-color:#789b63; background:linear-gradient(180deg,#293332,#1e2720); color:#f2f6f1 !important; }
.pko-feature-card span { display:block; margin-bottom:8px; color:#9fd37f; font:bold 25px/1 Georgia,serif; }
.pko-feature-card strong { display:block; color:#eff5ef; font:bold 15px/1.2 Georgia,serif; }
.pko-feature-card small { display:block; margin-top:4px; color:#9eaaa5; font-size:11px; }
.pko-static-card { cursor:default; }
.pko-static-card:hover { transform:none; }
.pko-news-row { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.pko-news-row a { font-weight:bold; }
.pko-news-row span { color:#7b8581; font-size:11px; white-space:nowrap; }
.pko-article-shell { padding:18px; }
.pko-article-meta { color:#7a8580; font-size:11px; text-transform:uppercase; letter-spacing:.6px; }
.pko-article-title { margin:6px 0 14px; color:#2f3e37; font:bold 27px/1.2 Georgia,"Times New Roman",serif; }
.pko-prose { color:#45504b; line-height:1.7; }
.pko-prose h3,.pko-panel-title { margin:0 0 12px; color:#35533b; font:bold 18px/1.2 Georgia,"Times New Roman",serif; }
.pko-prose p { margin:0 0 12px; }
.pko-prose ul { margin:0 0 12px 18px; }
.pko-form-actions { display:flex; gap:10px; margin-top:14px; flex-wrap:wrap; }
.pko-auth-layout { display:grid; grid-template-columns:minmax(0,2fr) minmax(240px,1fr); gap:14px; }
.pko-auth-layout-wide { grid-template-columns:minmax(0,2.2fr) minmax(240px,1fr); }
.pko-auth-card,.pko-side-info { padding:18px; }
.pko-info-list { margin:0 0 14px 18px; color:#4a5450; }
.pko-info-list li { margin-bottom:7px; }
.pko-captcha { display:block; padding:4px; border:1px solid #c6ceca; background:#fff; }
.pko-checkbox { display:block; color:#44504b; }
.pko-question-box {
    display:block;
    padding:10px 12px;
    border:1px solid #c4cbc8;
    background:#f8fbf8;
    color:#31403a;
}
.pko-account-tabs { margin-top:0; }
.pko-character-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.pko-character-card {
    display:flex;
    gap:12px;
    align-items:center;
    padding:12px;
    border:1px solid #c6ceca;
    background:#fbfcfb;
    color:#40504b !important;
}
.pko-character-card:hover { border-color:#7fa067; background:#f6faf4; }
.pko-character-card img { width:76px; height:auto; border:1px solid #7e8783; background:#fff; }
.pko-character-card h4 { margin:0 0 4px; color:#34503a; font:bold 17px/1.2 Georgia,serif; }
.pko-character-card p,.pko-character-card small { display:block; margin:0 0 3px; }
.pko-character-detail-head { margin-bottom:14px; }
.pko-character-detail-head h3 { margin:0; color:#32513a; font:bold 24px/1.2 Georgia,serif; }
.pko-character-detail-head span { color:#75807b; }
.pko-attribute-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px 18px;
    margin-bottom:16px;
}
.pko-attr-row { display:grid; grid-template-columns:42px 1fr 38px; gap:10px; align-items:center; }
.pko-attr-row span { color:#44514c; font-weight:bold; }
.pko-attr-row strong { text-align:right; color:#35533b; }
.pko-attr-track {
    height:12px;
    border:1px solid #8a948f;
    background:linear-gradient(180deg,#d7ddd9,#bfc7c3);
    box-shadow:inset 0 1px 2px rgba(0,0,0,.12);
    overflow:hidden;
}
.pko-attr-track em {
    display:block;
    height:12px;
    max-width:100%;
    background:linear-gradient(90deg,#58794a,#86b36f);
}
.pko-download-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-bottom:16px; }
.pko-download-card {
    padding:16px;
    border:1px solid #c4ccc8;
    background:#fbfcfb;
}
.pko-download-card h4 { margin:0 0 8px; color:#33503b; font:bold 18px/1.2 Georgia,serif; }
.pko-download-card p { margin:0 0 10px; color:#4a5551; }
.pko-download-card ul { margin:0 0 14px 17px; color:#5c6762; }
.pko-faq-list { display:grid; gap:12px; }
.pko-faq-list > div { padding:14px; border:1px solid #c6ceca; background:#fbfcfb; }
.pko-faq-list h4 { margin:0 0 7px; color:#32513a; font:bold 16px/1.2 Georgia,serif; }
.pko-faq-list p { margin:0; }
.pko-world-grid { display:grid; grid-template-columns:470px 1fr; gap:18px; align-items:start; }
.pko-map-frame { padding:12px; border:1px solid #c4ccc8; background:#fbfcfb; text-align:center; }
.pko-map-frame img { max-width:100%; height:auto; border:1px solid #919b97; background:#fff; }
.pko-map-mini { display:flex; flex-direction:column; align-items:center; }
.pko-home-hero { min-height:160px; }
.pko-home-actions { display:none; }
#main .ok,#main .error,#main .notice,
.pko-panel-box .ok,.pko-panel-box .error,.pko-panel-box .notice {
    margin:0 0 14px;
}
.pko-home-heading { margin-bottom:0; }

@media (max-width:1000px) {
    .pko-page-shell { width:auto; }
    .pko-premium-hero,
    .pko-auth-layout,
    .pko-world-grid { grid-template-columns:1fr; display:block; }
    .pko-hero-stats { grid-template-columns:repeat(3,1fr); margin-top:14px; }
    .pko-feature-grid,
    .pko-character-grid,
    .pko-download-grid,
    .pko-attribute-grid { grid-template-columns:1fr; }
}
.pko-panel-box {
    padding:18px;
    border:1px solid #c5cdca;
    background:linear-gradient(180deg,#f9fbf9,#edf1ed);
    box-shadow:0 1px 0 rgba(255,255,255,.9) inset;
    margin-bottom:14px;
}
.pko-premium-card {
    border:1px solid #4f5957;
    box-shadow:0 0 0 1px #080a0a;
}

/* -------------------------------------------------------------------------- */
/* Fine refinement / homepage impact                                           */
/* -------------------------------------------------------------------------- */
.pko-home-ribbon {
    display:flex;
    align-items:center;
    gap:10px;
    margin:0 0 14px;
    padding:10px 14px;
    border:1px solid #59635f;
    background:linear-gradient(180deg,#212a29,#171d1d);
    box-shadow:0 0 0 1px #080a0a;
    color:#c9d3ce;
}
.pko-home-ribbon-label {
    display:inline-block;
    padding:4px 8px;
    border:1px solid #7ba15e;
    background:linear-gradient(#6f9756,#517040);
    color:#eef7e7;
    font:bold 10px/1 Tahoma,Arial,sans-serif;
    text-transform:uppercase;
    letter-spacing:1.2px;
}
.pko-home-ribbon-text { color:#b8c1bd; font-size:11px; }
.pko-home-hero-impact {
    position:relative;
    overflow:hidden;
    min-height:235px;
    background:
        radial-gradient(circle at right top, rgba(156,204,125,.16), transparent 28%),
        radial-gradient(circle at left bottom, rgba(232,139,24,.14), transparent 24%),
        linear-gradient(135deg, rgba(44,55,54,.98), rgba(15,20,20,.98));
}
.pko-home-hero-impact:before {
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg, rgba(255,255,255,.03), transparent 30%, transparent 70%, rgba(255,255,255,.02));
    pointer-events:none;
}
.pko-home-hero-impact .pko-hero-copy,
.pko-home-hero-impact .pko-hero-stats { position:relative; z-index:1; }
.pko-hero-stats-home { grid-template-columns:repeat(2,minmax(110px,1fr)); min-width:285px; }
.pko-hero-stats-home div { min-height:68px; display:flex; flex-direction:column; justify-content:center; }
.pko-hero-bullets { margin:14px 0 0; padding:0; list-style:none; max-width:520px; }
.pko-hero-bullets li {
    margin:0 0 7px;
    padding-left:18px;
    position:relative;
    color:#c5cfca;
}
.pko-hero-bullets li:before {
    content:"◆";
    position:absolute;
    left:0;
    top:0;
    color:#f0b743;
    font-size:10px;
}
.pko-impact-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    margin:0 0 14px;
}
.pko-impact-card {
    display:block;
    padding:16px;
    border:1px solid #5f6965;
    background:linear-gradient(180deg,#2a3332,#202626);
    color:#d8e0db !important;
    box-shadow:0 0 0 1px #090b0b, inset 0 1px 0 rgba(255,255,255,.05);
}
.pko-impact-card:hover {
    border-color:#85a86a;
    background:linear-gradient(180deg,#313c39,#232b29);
    transform:translateY(-1px);
}
.pko-impact-icon {
    display:block;
    margin-bottom:8px;
    color:#f1bc4a;
    font:bold 24px/1 Georgia,serif;
}
.pko-impact-card strong { display:block; color:#f0f5f1; font:bold 16px/1.2 Georgia,serif; }
.pko-impact-card small { display:block; margin-top:5px; color:#aab5af; line-height:1.5; }
.pko-home-highlight-strip {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
    margin:14px 0;
}
.pko-home-highlight-strip div {
    padding:14px 16px;
    border:1px solid #c2cac7;
    background:linear-gradient(180deg,#fafcf9,#eff3ef);
}
.pko-home-highlight-strip span {
    display:block;
    color:#7ca15e;
    font:bold 10px/1 Tahoma,Arial,sans-serif;
    text-transform:uppercase;
    letter-spacing:1.5px;
    margin-bottom:5px;
}
.pko-home-highlight-strip strong { color:#36513d; font:bold 15px/1.35 Georgia,serif; }
.pko-home-journey-box { margin-top:14px; }
.pko-steps-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}
.pko-step-card {
    position:relative;
    padding:18px 16px 16px;
    border:1px solid #c3cbc7;
    background:#fbfcfb;
}
.pko-step-card span {
    display:inline-flex;
    width:28px;
    height:28px;
    align-items:center;
    justify-content:center;
    margin-bottom:10px;
    border:1px solid #b7721c;
    background:linear-gradient(#f8ba3e,#e98b18);
    color:#fff8e8;
    font:bold 14px/1 Tahoma,Arial,sans-serif;
}
.pko-step-card strong { display:block; margin-bottom:5px; color:#31503a; font:bold 16px/1.2 Georgia,serif; }
.pko-step-card small { display:block; color:#5c6863; line-height:1.5; min-height:62px; }
.pko-step-card a {
    display:inline-block;
    margin-top:12px;
    color:#56744a !important;
    font-weight:bold;
    text-decoration:none;
}
.pko-step-card a:hover { color:#3c5632 !important; text-decoration:underline; }
.pko-cta-banner {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    margin-top:14px;
    padding:18px;
    border:1px solid #5e6863;
    background:linear-gradient(135deg,#232c2b,#1a1f1f);
    box-shadow:0 0 0 1px #090b0b;
    color:#dce4de;
}
.pko-cta-banner strong {
    display:block;
    margin:3px 0 5px;
    color:#eff6f0;
    font:bold 22px/1.2 Georgia,serif;
}
.pko-cta-banner small { display:block; color:#acb8b1; }

@media (max-width:1000px) {
    .pko-hero-stats-home,
    .pko-impact-grid,
    .pko-home-highlight-strip,
    .pko-steps-grid { grid-template-columns:1fr; }
    .pko-cta-banner,
    .pko-home-ribbon { display:block; }
    .pko-home-ribbon-label { margin-bottom:8px; }
    .pko-cta-banner a { margin-top:14px; }
}

/* -------------------------------------------------------------------------- */
/* Credit Wheel                                                               */
/* -------------------------------------------------------------------------- */
.pko-wheel-shell { width:664px; }
.pko-wheel-hero { position:relative; overflow:hidden; }
.pko-wheel-hero:after {
    content:"";
    position:absolute;
    width:260px;
    height:260px;
    right:-80px;
    bottom:-120px;
    border:1px solid rgba(240,190,74,.18);
    border-radius:50%;
    box-shadow:0 0 0 18px rgba(240,190,74,.03),0 0 0 36px rgba(240,190,74,.02);
}
.pko-wheel-layout {
    display:grid;
    grid-template-columns:minmax(0,1.8fr) minmax(220px,.9fr);
    gap:14px;
    align-items:start;
}
.pko-wheel-stage-card { padding:16px; }
.pko-wheel-stage {
    position:relative;
    width:430px;
    height:430px;
    max-width:100%;
    margin:0 auto 14px;
}
#creditWheelCanvas {
    display:block;
    width:100%;
    height:auto;
    filter:drop-shadow(0 12px 18px rgba(0,0,0,.28));
}
.pko-wheel-pointer {
    position:absolute;
    z-index:5;
    left:50%;
    top:-8px;
    width:0;
    height:0;
    margin-left:-18px;
    border-left:18px solid transparent;
    border-right:18px solid transparent;
    border-top:0;
    border-bottom:42px solid #f0b843;
    filter:drop-shadow(0 3px 2px rgba(0,0,0,.55));
}
.pko-wheel-pointer:after {
    content:"";
    position:absolute;
    left:-8px;
    top:7px;
    border-left:8px solid transparent;
    border-right:8px solid transparent;
    border-bottom:20px solid #fff0bd;
}
.pko-wheel-center {
    position:absolute;
    z-index:4;
    left:50%;
    top:50%;
    width:98px;
    height:98px;
    margin:-49px 0 0 -49px;
    border:6px solid #ad8a46;
    border-radius:50%;
    background:radial-gradient(circle at 38% 30%,#3c4944,#171f1d 68%);
    box-shadow:0 0 0 2px #0a0e0d,0 4px 16px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.12);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    color:#f4ddb0;
    pointer-events:none;
}
.pko-wheel-center span { font:24px/1 Georgia,serif; color:#efbb4e; }
.pko-wheel-center strong { margin-top:3px; font:bold 13px/1 Tahoma,Arial,sans-serif; letter-spacing:1.3px; }
.pko-wheel-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.pko-wheel-spin-btn {
    min-height:58px;
    padding:10px 14px;
    border:1px solid #b7721c;
    background:linear-gradient(#f8ba3e,#df8617);
    color:#fff7e6;
    cursor:pointer;
    text-shadow:0 1px 0 rgba(0,0,0,.4);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 3px 8px rgba(0,0,0,.15);
}
.pko-wheel-spin-five { border-color:#5f8050; background:linear-gradient(#73945e,#4c673f); }
.pko-wheel-spin-btn strong,.pko-wheel-spin-btn span { display:block; }
.pko-wheel-spin-btn strong { font:bold 15px/1.2 Georgia,"Times New Roman",serif; }
.pko-wheel-spin-btn span { margin-top:4px; font:10px/1 Tahoma,Arial,sans-serif; text-transform:uppercase; letter-spacing:.8px; }
.pko-wheel-spin-btn:hover { filter:brightness(1.07); }
.pko-wheel-spin-btn[disabled],.pko-wheel-spin-btn.is-loading { opacity:.45; cursor:not-allowed; filter:none; }
.pko-wheel-side-card { position:sticky; top:10px; }
.pko-wheel-info-list { display:grid; gap:9px; }
.pko-wheel-info-list > div { display:grid; grid-template-columns:30px 1fr; gap:9px; align-items:start; }
.pko-wheel-info-list span {
    display:flex;
    width:28px;
    height:28px;
    align-items:center;
    justify-content:center;
    border:1px solid #7a9668;
    background:#edf5e9;
    color:#48613c;
    font-weight:bold;
}
.pko-wheel-info-list p { margin:2px 0 0; color:#56615c; line-height:1.45; }
.pko-wheel-balance-box {
    margin-top:14px;
    padding:13px;
    border:1px solid #c2cbc6;
    background:linear-gradient(#f9fbf9,#edf2ed);
    text-align:center;
}
.pko-wheel-balance-box span { display:block; color:#75807b; font-size:10px; text-transform:uppercase; letter-spacing:1px; }
.pko-wheel-balance-box strong { display:block; margin-top:4px; color:#34503a; font:bold 18px/1.2 Georgia,serif; }
.pko-wheel-prize-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.pko-wheel-prize-card {
    display:flex;
    align-items:center;
    gap:9px;
    min-height:64px;
    padding:9px;
    border:1px solid #c5cdc9;
    background:#fbfcfb;
}
.pko-wheel-prize-card img { width:42px; height:42px; object-fit:contain; flex:0 0 42px; }
.pko-wheel-prize-card strong { display:block; color:#34513b; font:13px/1.25 Georgia,serif; }
.pko-wheel-prize-card span { display:block; margin-top:3px; color:#76817c; font-size:10px; }
.pko-wheel-results-box { position:relative; overflow:hidden; }
.pko-wheel-results-box:before {
    content:"";
    position:absolute;
    inset:0;
    background:radial-gradient(circle at 50% 0,rgba(239,188,74,.12),transparent 45%);
    pointer-events:none;
}
.pko-wheel-results-grid { position:relative; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; }
.pko-wheel-result-card {
    position:relative;
    padding:14px 8px;
    border:1px solid #c9b179;
    background:linear-gradient(#fffdf6,#f3eee1);
    text-align:center;
    transform:scale(.96);
    opacity:.82;
    transition:.4s ease;
}
.pko-wheel-results-box.is-revealed .pko-wheel-result-card { transform:scale(1); opacity:1; }
.pko-wheel-result-card img { width:48px; height:48px; object-fit:contain; }
.pko-wheel-result-card strong { display:block; margin-top:7px; color:#5c4a27; font:12px/1.3 Georgia,serif; }
.pko-wheel-result-card span { display:block; margin-top:3px; color:#8b6c2f; font-weight:bold; }
.pko-wheel-admin-fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.pko-wheel-admin-table input[type="text"] { width:58px; text-align:center; }
.pko-wheel-admin-table img { width:40px; height:40px; object-fit:contain; }
.pko-wheel-delete-grid { display:flex; flex-wrap:wrap; gap:7px; margin-top:12px; }
.pko-wheel-delete-grid form { margin:0; }
.pko-wheel-delete-link {
    padding:6px 9px;
    border:1px solid #b88a8a;
    background:#f7ecec;
    color:#7d4141;
    font:10px Tahoma,Arial,sans-serif;
    cursor:pointer;
}
.pko-wheel-delete-link:hover { background:#f1dddd; }

@media (max-width:1000px) {
    .pko-wheel-shell { width:auto; }
    .pko-wheel-layout { grid-template-columns:1fr; }
    .pko-wheel-stage { width:390px; height:390px; }
    .pko-wheel-prize-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .pko-wheel-results-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .pko-wheel-admin-fields { grid-template-columns:1fr; }
    .pko-wheel-side-card { position:static; }
}

/* -------------------------------------------------------------------------- */
/* Homepage width fix for 492px main column                                   */
/* -------------------------------------------------------------------------- */
.pko-home-main { width:100%; }
.pko-home-main .pko-home-hero-impact {
    display:block;
    min-height:0;
    padding:16px;
}
.pko-home-main .pko-hero-copy h2 {
    font-size:18px;
    line-height:1.15;
}
.pko-home-main .pko-hero-copy p {
    max-width:none;
    font-size:12px;
    line-height:1.6;
}
.pko-home-main .pko-hero-bullets {
    max-width:none;
    margin-top:12px;
}
.pko-home-main .pko-hero-bullets li {
    font-size:12px;
    line-height:1.55;
}
.pko-home-main .pko-hero-actions {
    flex-wrap:wrap;
    gap:8px;
}
.pko-home-main .pko-button-primary,
.pko-home-main .pko-button-secondary {
    padding:9px 12px;
    font-size:11px;
}
.pko-home-main .pko-hero-stats-home {
    min-width:0;
    margin-top:14px;
    grid-template-columns:repeat(2, minmax(0,1fr));
}
.pko-home-main .pko-hero-stats-home div {
    min-height:62px;
}
.pko-home-main .pko-impact-grid,
.pko-home-main .pko-home-highlight-strip,
.pko-home-main .pko-feature-grid,
.pko-home-main .pko-steps-grid {
    grid-template-columns:repeat(2, minmax(0,1fr));
}
.pko-home-main .pko-cta-banner {
    display:block;
}
.pko-home-main .pko-cta-banner a {
    margin-top:12px;
}
@media (max-width: 760px) {
    .pko-home-main .pko-impact-grid,
    .pko-home-main .pko-home-highlight-strip,
    .pko-home-main .pko-feature-grid,
    .pko-home-main .pko-steps-grid,
    .pko-home-main .pko-hero-stats-home {
        grid-template-columns:1fr;
    }
}

/* -------------------------------------------------------------------------- */
/* Credit Wheel live spin / reveal                                            */
/* -------------------------------------------------------------------------- */
.pko-wheel-live-status {
    margin:-2px 0 12px;
    padding:9px 12px;
    border:1px solid #c6ceca;
    background:#f4f7f4;
    color:#53605b;
    text-align:center;
    font:bold 11px/1.35 Tahoma,Arial,sans-serif;
}
.pko-wheel-live-status.is-active {
    border-color:#b89752;
    background:linear-gradient(#fffaf0,#f3ead7);
    color:#76551f;
}
.pko-wheel-win-popup {
    position:absolute;
    z-index:12;
    left:50%;
    top:50%;
    width:190px;
    min-height:160px;
    margin:-88px 0 0 -95px;
    padding:14px 12px;
    box-sizing:border-box;
    border:1px solid #c89a3c;
    background:linear-gradient(180deg,rgba(28,35,33,.98),rgba(12,17,16,.98));
    box-shadow:0 0 0 2px rgba(8,10,10,.85),0 16px 34px rgba(0,0,0,.55),0 0 25px rgba(240,184,67,.28);
    text-align:center;
    pointer-events:none;
    opacity:0;
    transform:scale(.72);
}
.pko-wheel-win-popup.is-visible {
    opacity:1;
    transform:scale(1);
    transition:opacity .24s ease,transform .32s cubic-bezier(.18,.89,.32,1.28);
}
.pko-wheel-win-popup img {
    display:block;
    width:58px;
    height:58px;
    margin:8px auto 7px;
    object-fit:contain;
    filter:drop-shadow(0 4px 6px rgba(0,0,0,.45));
}
.pko-wheel-win-popup strong {
    display:block;
    color:#fff3c9;
    font:bold 15px/1.25 Georgia,"Times New Roman",serif;
}
.pko-wheel-win-popup em {
    display:block;
    margin-top:5px;
    color:#efbd52;
    font:bold 13px/1 Tahoma,Arial,sans-serif;
    font-style:normal;
}
.pko-wheel-win-kicker {
    display:block;
    color:#9fd27e;
    font:bold 9px/1 Tahoma,Arial,sans-serif;
    text-transform:uppercase;
    letter-spacing:1.6px;
}
.pko-wheel-stage-card .pko-wheel-spin-btn.is-loading strong:after {
    content:" ...";
}
.pko-wheel-result-card.is-live-result {
    animation:pkoWheelPrizePop .42s ease both;
}
@keyframes pkoWheelPrizePop {
    0% { opacity:0; transform:translateY(8px) scale(.88); }
    70% { opacity:1; transform:translateY(0) scale(1.04); }
    100% { opacity:1; transform:translateY(0) scale(1); }
}

/* -------------------------------------------------------------------------- */
/* Character Name Change                                                     */
/* -------------------------------------------------------------------------- */
.pko-namechange-shell { width:664px; }
.pko-namechange-hero { margin-bottom:12px; }
.pko-namechange-layout {
    display:grid;
    grid-template-columns:minmax(0,1.45fr) minmax(235px,.85fr);
    gap:14px;
    align-items:start;
}
.pko-namechange-form-card,
.pko-namechange-rules-card,
.pko-namechange-status-card { margin-bottom:14px; }
.pko-namechange-form-card input[type="text"],
.pko-namechange-form-card select {
    width:100%;
    min-height:36px;
    box-sizing:border-box;
}
.pko-namechange-confirm-box {
    padding:12px;
    margin:4px 0 14px;
    border:1px solid #c7b47d;
    background:linear-gradient(180deg,#fffaf0,#f6eedb);
    color:#5e5235;
    line-height:1.5;
}
.pko-namechange-confirm-box input { vertical-align:-2px; margin-right:6px; }
.pko-namechange-actions { margin-bottom:0 !important; }
.pko-namechange-submit {
    width:100%;
    border:1px solid #b7721c;
    background:linear-gradient(#f8ba3e,#e98b18);
    cursor:pointer;
}
.pko-namechange-rule {
    display:grid;
    grid-template-columns:30px 1fr;
    gap:9px;
    align-items:start;
    padding:9px 0;
    border-bottom:1px solid #d3d9d5;
}
.pko-namechange-rule:last-child { border-bottom:0; }
.pko-namechange-rule > span {
    display:flex;
    align-items:center;
    justify-content:center;
    width:26px;
    height:26px;
    border:1px solid #6f8f59;
    background:linear-gradient(#6e9256,#506d41);
    color:#f2f7ee;
    font:bold 12px/1 Tahoma,Arial,sans-serif;
}
.pko-namechange-rule p { margin:2px 0 0; color:#4e5a54; font-size:11px; line-height:1.45; }
.pko-namechange-success {
    display:flex;
    align-items:center;
    gap:13px;
    padding:14px 16px;
    margin:0 0 14px;
    border:1px solid #80a36a;
    background:linear-gradient(180deg,#f0f8ec,#e2efdc);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}
.pko-namechange-success-icon {
    display:flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    border:1px solid #5f824a;
    background:linear-gradient(#78a25e,#587944);
    color:#fff;
    font:bold 22px/1 Tahoma,Arial,sans-serif;
}
.pko-namechange-success div { flex:1; }
.pko-namechange-success small {
    display:block;
    color:#688257;
    font:bold 9px/1 Tahoma,Arial,sans-serif;
    letter-spacing:1.4px;
}
.pko-namechange-success strong {
    display:block;
    margin:4px 0 3px;
    color:#34513b;
    font:bold 20px/1.2 Georgia,"Times New Roman",serif;
}
.pko-namechange-success strong em { color:#d09026; font-style:normal; padding:0 5px; }
.pko-namechange-success div > span { color:#5c685f; font-size:11px; }
.pko-namechange-character-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
}
.pko-namechange-character {
    padding:12px;
    border:1px solid #c4ccc8;
    background:#fbfcfb;
}
.pko-namechange-character.is-ready {
    border-color:#8dac76;
    background:linear-gradient(180deg,#f8fcf5,#edf6e9);
}
.pko-namechange-character.is-unavailable { opacity:.78; }
.pko-namechange-character-head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    padding-bottom:8px;
    margin-bottom:7px;
    border-bottom:1px solid #d5dbd7;
}
.pko-namechange-character-head strong { color:#34513c; font:bold 15px/1.2 Georgia,serif; }
.pko-namechange-character-head span { color:#79837f; font-size:10px; }
.pko-namechange-character-state {
    display:flex;
    justify-content:space-between;
    gap:8px;
    padding:3px 0;
    color:#606b66;
    font-size:11px;
}
.pko-namechange-character-state strong { color:#3f5546; }
.pko-namechange-character > small {
    display:block;
    margin-top:7px;
    color:#8b4d4d;
    font-size:9px;
    line-height:1.4;
    word-break:break-word;
}

@media (max-width:1000px) {
    .pko-namechange-shell { width:auto; }
    .pko-namechange-layout,
    .pko-namechange-character-grid { grid-template-columns:1fr; }
}

/* Name Change V2 - robust character picker (no disabled select options) */
.pko-namechange-picker {
    margin:0 0 16px;
}
.pko-picker-title {
    display:block;
    margin:0 0 5px;
    color:#36533c;
    font:bold 12px/1.2 Tahoma,Arial,sans-serif;
}
.pko-picker-help {
    margin:0 0 10px;
    color:#66716c;
    font-size:10px;
    line-height:1.45;
}
.pko-namechange-picker-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
}
.pko-namechange-pick {
    position:relative;
    display:block;
    padding:11px;
    border:1px solid #bfc8c3;
    background:linear-gradient(180deg,#fbfcfb,#eef2ef);
    cursor:pointer;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.85);
    transition:border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.pko-namechange-pick:hover {
    border-color:#7e9c69;
    background:linear-gradient(180deg,#fbfef8,#eaf4e5);
}
.pko-namechange-pick input[type="radio"] {
    position:absolute;
    top:10px;
    right:10px;
    width:auto;
    min-height:0;
    margin:0;
}
.pko-namechange-pick-main {
    display:block;
    padding-right:22px;
}
.pko-namechange-pick-main strong {
    display:block;
    color:#34513c;
    font:bold 15px/1.2 Georgia,"Times New Roman",serif;
}
.pko-namechange-pick-main small {
    display:block;
    margin-top:2px;
    color:#7a8580;
    font-size:10px;
}
.pko-namechange-pick-state {
    display:block;
    margin-top:8px;
    padding-top:7px;
    border-top:1px solid #d4dad6;
    color:#6e7773;
    font:bold 9px/1.25 Tahoma,Arial,sans-serif;
    letter-spacing:.3px;
}
.pko-namechange-pick.is-ready .pko-namechange-pick-state { color:#507143; }
.pko-namechange-pick.has-warning .pko-namechange-pick-state { color:#8b5a43; }
.pko-namechange-pick:has(input[type="radio"]:checked) {
    border-color:#6f9257;
    background:linear-gradient(180deg,#f5fbf1,#e5f1df);
    box-shadow:0 0 0 2px rgba(111,146,87,.18), inset 0 1px 0 #fff;
}
.pko-namechange-pick:has(input[type="radio"]:checked) .pko-namechange-pick-main strong {
    color:#28492e;
}
@media (max-width:1000px) {
    .pko-namechange-picker-grid { grid-template-columns:1fr; }
}

/* -------------------------------------------------------------------------- */
/* Premium Game Database                                                      */
/* -------------------------------------------------------------------------- */
.pko-db-shell { width:664px; margin-top:14px; }
.pko-db-hero { margin-bottom:12px; }
.pko-db-tabs { margin-bottom:14px; }
.pko-db-overview-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
    margin-bottom:14px;
}
.pko-db-overview-card {
    display:block;
    min-height:188px;
    padding:17px 15px;
    border:1px solid #59635f;
    background:linear-gradient(180deg,#293230,#1d2423);
    color:#dce5df !important;
    box-shadow:0 0 0 1px #080a0a,inset 0 1px 0 rgba(255,255,255,.05);
    text-align:center;
}
.pko-db-overview-card:hover {
    border-color:#7fa466;
    background:linear-gradient(180deg,#303b37,#212b25);
    color:#fff !important;
}
.pko-db-overview-icon {
    display:block;
    color:#eaae36;
    font:bold 28px/1 Georgia,"Times New Roman",serif;
    margin-bottom:9px;
}
.pko-db-overview-card strong { display:block; color:#eff5ef; font:bold 18px/1.2 Georgia,serif; }
.pko-db-overview-card em { display:block; margin:6px 0; color:#a4d184; font:bold 25px/1 Georgia,serif; font-style:normal; }
.pko-db-overview-card small { display:block; min-height:51px; color:#a9b5af; line-height:1.5; }
.pko-db-update { display:block; margin-top:10px; color:#77847e; font-size:9px; text-transform:uppercase; letter-spacing:.5px; }

.pko-db-filter {
    margin:0 0 14px;
    padding:14px;
    border:1px solid #c3cbc7;
    background:linear-gradient(#f8faf8,#e9ede9);
}
.pko-db-filter-grid {
    display:grid;
    grid-template-columns:1.6fr 1.15fr .72fr .72fr auto;
    gap:10px;
    align-items:end;
}
.pko-db-filter-grid label { display:block; margin-bottom:5px; color:#44544d; font:bold 10px/1 Tahoma,Arial,sans-serif; text-transform:uppercase; letter-spacing:.55px; }
.pko-db-filter-grid input[type="text"],
.pko-db-filter-grid select { width:100%; box-sizing:border-box; min-height:34px; }
.pko-db-filter-action .button { white-space:nowrap; min-height:34px; }
.pko-db-result-meta { margin-bottom:10px; color:#728078; font-size:11px; text-align:right; }
.pko-db-list-panel { padding:14px; }
.pko-db-table { table-layout:fixed; }
.pko-db-table td { vertical-align:middle; }
.pko-db-table .pko-db-desc { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pko-db-name { color:#3e6d33 !important; font-weight:bold; }
.pko-db-name:hover { color:#294d20 !important; text-decoration:underline; }
.pko-db-icon-cell { text-align:center; }
.pko-db-icon-wrap {
    position:relative;
    display:inline-flex;
    width:42px;
    height:42px;
    align-items:center;
    justify-content:center;
    border:1px solid #acb5b0;
    background:radial-gradient(circle at 50% 35%,#fff,#e4e9e5 72%,#d5dcd7);
    overflow:hidden;
    vertical-align:middle;
}
.pko-db-icon-wrap img {
    position:relative;
    z-index:2;
    max-width:36px;
    max-height:36px;
}
.pko-db-icon-fallback {
    position:absolute;
    z-index:1;
    color:#87a374;
    font:bold 18px/1 Georgia,serif;
}
.pko-db-pagination {
    display:flex;
    justify-content:center;
    gap:5px;
    flex-wrap:wrap;
    margin-top:14px;
}
.pko-db-pagination a {
    display:inline-block;
    min-width:25px;
    padding:7px 8px;
    border:1px solid #a9b2ad;
    background:linear-gradient(#fff,#e8ece8);
    color:#4b6350 !important;
    text-align:center;
    font-weight:bold;
}
.pko-db-pagination a:hover,.pko-db-pagination a.is-active {
    border-color:#668454;
    background:linear-gradient(#6e8d59,#4e6941);
    color:#fff !important;
}

.pko-db-detail-head {
    display:flex;
    align-items:center;
    gap:15px;
    padding:16px;
    margin-bottom:14px;
    border:1px solid #59635f;
    background:linear-gradient(135deg,#293231,#1b2221);
    box-shadow:0 0 0 1px #080a0a;
}
.pko-db-detail-icon {
    position:relative;
    display:flex;
    flex:0 0 82px;
    width:82px;
    height:82px;
    align-items:center;
    justify-content:center;
    border:1px solid #66716c;
    background:radial-gradient(circle at 50% 35%,#394640,#202725 70%);
    overflow:hidden;
}
.pko-db-detail-icon img { position:relative; z-index:2; max-width:66px; max-height:66px; }
.pko-db-detail-icon .pko-db-icon-fallback { color:#8eb873; font-size:30px; }
.pko-db-monster-icon span,.pko-db-skill-icon span { color:#e6b54b; font:bold 36px/1 Georgia,serif; text-shadow:0 2px 3px #000; }
.pko-db-detail-title h3 { margin:3px 0 5px; color:#f1f6f2; font:bold 25px/1.15 Georgia,serif; }
.pko-db-detail-title p { margin:0; color:#aab6b0; }
.pko-db-property-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:9px;
    margin:14px 0;
}
.pko-db-property-grid > div {
    padding:10px;
    border:1px solid #c3cbc7;
    background:#fbfcfb;
}
.pko-db-property-grid span { display:block; color:#7d8782; font-size:9px; text-transform:uppercase; letter-spacing:.75px; }
.pko-db-property-grid strong { display:block; margin-top:4px; color:#35523b; font:bold 15px/1.2 Georgia,serif; }
.pko-db-stat-grid { grid-template-columns:repeat(6,minmax(0,1fr)); margin:0; }
.pko-db-bonus-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.pko-db-bonus-grid div { padding:10px; border:1px solid #c3cbc7; background:#fbfcfb; }
.pko-db-bonus-grid span { display:block; color:#747f79; font-size:10px; text-transform:uppercase; }
.pko-db-bonus-grid strong { display:block; margin-top:4px; color:#35513a; }
.pko-db-related-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.pko-db-related-list a {
    display:block;
    padding:10px 11px;
    border:1px solid #c2cac6;
    background:#fbfcfb;
    color:#405448 !important;
}
.pko-db-related-list a:hover { border-color:#7d9f68; background:#f5f9f3; }
.pko-db-related-list strong,.pko-db-related-list span { display:block; }
.pko-db-related-list strong { color:#35523b; }
.pko-db-related-list span { margin-top:3px; color:#77817d; font-size:10px; }
.pko-db-drop-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.pko-db-drop-card {
    display:flex;
    align-items:center;
    gap:10px;
    padding:9px;
    border:1px solid #c2cac6;
    background:#fbfcfb;
    color:#405448 !important;
}
.pko-db-drop-card:hover { border-color:#7d9f68; background:#f5f9f3; }
.pko-db-drop-card strong,.pko-db-drop-card small { display:block; }
.pko-db-drop-card strong { color:#35523b; }
.pko-db-drop-card small { margin-top:3px; color:#77817d; font-size:10px; line-height:1.35; }

@media (max-width:1000px) {
    .pko-db-shell { width:auto; }
    .pko-db-overview-grid,
    .pko-db-property-grid,
    .pko-db-stat-grid,
    .pko-db-bonus-grid,
    .pko-db-related-list,
    .pko-db-drop-grid { grid-template-columns:1fr; }
    .pko-db-filter-grid { grid-template-columns:1fr 1fr; }
    .pko-db-detail-head { align-items:flex-start; }
}

/* Skill icons inside Game Database */
.pko-db-skill-icon-wrap .pko-db-icon-fallback { color:#d8aa43; }
.pko-db-skill-icon img { position:relative; z-index:2; max-width:66px; max-height:66px; }

/* -------------------------------------------------------------------------- */
/* Daily Web Reward                                                           */
/* -------------------------------------------------------------------------- */
.pko-daily-shell { width:664px; }
.pko-daily-hero { margin-bottom:12px; }
.pko-daily-week {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
}
.pko-daily-day {
    position:relative;
    min-height:150px;
    padding:14px 10px 12px;
    border:1px solid #c5cdca;
    background:linear-gradient(180deg,#fbfcfb,#edf1ed);
    text-align:center;
    box-shadow:inset 0 1px 0 #fff;
}
.pko-daily-day.is-current {
    border-color:#819d69;
    box-shadow:0 0 0 2px rgba(112,151,86,.16), inset 0 1px 0 #fff;
    background:linear-gradient(180deg,#fbfdf8,#edf4e8);
}
.pko-daily-day.is-current:before {
    content:"TODAY";
    position:absolute;
    right:7px;
    top:7px;
    padding:3px 5px;
    background:#59764a;
    color:#f0f6eb;
    font:bold 8px/1 Tahoma,Arial,sans-serif;
    letter-spacing:.8px;
}
.pko-daily-day.is-claimed:before {
    content:"CLAIMED";
    background:#6b7270;
}
.pko-daily-day-label {
    display:block;
    color:#61716a;
    font:bold 10px/1 Tahoma,Arial,sans-serif;
    text-transform:uppercase;
    letter-spacing:1.3px;
}
.pko-daily-reward-icon {
    display:flex;
    width:58px;
    height:58px;
    align-items:center;
    justify-content:center;
    margin:12px auto 9px;
    border:1px solid #aab4af;
    background:linear-gradient(180deg,#fff,#e4eae6);
    box-shadow:inset 0 1px 0 #fff;
}
.pko-daily-reward-icon img { max-width:48px; max-height:48px; }
.pko-daily-reward-icon > span { color:#d28a27; font:bold 27px/1 Georgia,serif; }
.pko-daily-day > strong {
    display:block;
    min-height:31px;
    color:#334d3a;
    font:bold 13px/1.25 Georgia,"Times New Roman",serif;
}
.pko-daily-day > small { display:block; margin-top:5px; color:#7c8782; font-size:9px; }
.pko-daily-layout {
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:14px;
}
.pko-daily-claim-card,.pko-daily-security-card { margin-bottom:14px; }
.pko-daily-today {
    padding:16px;
    margin:0 0 14px;
    border:1px solid #c2cbc6;
    background:#f9fbf8;
    text-align:center;
}
.pko-daily-today span {
    display:block;
    margin-bottom:5px;
    color:#7c9668;
    font:bold 10px/1 Tahoma,Arial,sans-serif;
    text-transform:uppercase;
    letter-spacing:1.5px;
}
.pko-daily-today strong { color:#31503a; font:bold 20px/1.2 Georgia,serif; }
.pko-daily-claim-form { text-align:center; }
.pko-daily-claim-button { width:100%; padding:12px 14px; cursor:pointer; }
.pko-daily-security-row {
    display:flex;
    justify-content:space-between;
    gap:10px;
    padding:8px 0;
    border-bottom:1px solid #d4dad7;
}
.pko-daily-security-row span { color:#75807b; }
.pko-daily-security-row strong { color:#344b3b; text-align:right; }
.pko-daily-admin-config label {
    display:block;
    margin:0 0 9px;
    color:#3d4d45;
}
.pko-daily-admin-days {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}
.pko-daily-admin-day {
    padding:14px;
    border:1px solid #c5cdca;
    background:#f9fbf9;
}
.pko-daily-admin-day h4 {
    margin:0 0 12px;
    color:#35533b;
    font:bold 17px/1.2 Georgia,serif;
}
.pko-daily-admin-fields {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:9px;
}
.pko-daily-admin-fields label {
    display:block;
    color:#5a6660;
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.5px;
}
.pko-daily-admin-fields input,
.pko-daily-admin-fields select {
    width:100%;
    margin-top:4px;
    box-sizing:border-box;
}
.pko-daily-admin-preview {
    margin:10px 0;
    padding:8px 10px;
    border:1px solid #d0d7d3;
    background:#fff;
    color:#445149;
}
@media (max-width:1000px) {
    .pko-daily-shell { width:auto; }
    .pko-daily-week { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .pko-daily-layout,.pko-daily-admin-days { grid-template-columns:1fr; }
}

/* Daily Reward device fingerprint */
.pko-daily-device-note {
    display:block;
    margin-top:8px;
    color:#6b756f;
    font-size:10px;
    line-height:1.4;
}
.pko-daily-claim-button[disabled] {
    opacity:.58;
    cursor:wait;
}
#dailyDeviceSecurityState {
    color:#4f7d35;
}

/* -------------------------------------------------------------------------- */
/* Buy Card - Mall Point packages / PayPal / Binance Pay                      */
/* -------------------------------------------------------------------------- */
.pko-buy-shell { width:664px; }
.pko-buy-hero { align-items:center; }
.pko-buy-payment-destinations {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-top:12px;
}
.pko-buy-destination {
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px;
    border:1px solid #aeb7b2;
    background:linear-gradient(#f7f9f7,#e9eeea);
}
.pko-buy-destination-icon {
    display:flex;
    width:42px;
    height:42px;
    flex:0 0 42px;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    color:#fff;
    font:bold 20px/1 Arial,sans-serif;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 2px 5px rgba(0,0,0,.12);
}
.pko-buy-destination-paypal .pko-buy-destination-icon { background:linear-gradient(#168fe1,#07539a); }
.pko-buy-destination-binance .pko-buy-destination-icon { background:linear-gradient(#f7c844,#d99b13); color:#342806; }
.pko-buy-destination small,.pko-buy-destination strong,.pko-buy-destination div > span { display:block; }
.pko-buy-destination small { color:#75807b; font-size:9px; text-transform:uppercase; letter-spacing:.8px; }
.pko-buy-destination strong { margin-top:2px; color:#344c3b; font:bold 13px/1.2 Tahoma,Arial,sans-serif; word-break:break-all; }
.pko-buy-destination div > span { margin-top:3px; color:#69736f; font-size:10px; line-height:1.3; }
.pko-buy-guide {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
    margin-top:10px;
}
.pko-buy-guide > div {
    display:grid;
    grid-template-columns:29px 1fr;
    gap:8px;
    align-items:center;
    padding:9px 10px;
    border:1px solid #b9c2bd;
    background:#f4f7f4;
}
.pko-buy-guide strong {
    display:flex;
    width:27px;
    height:27px;
    align-items:center;
    justify-content:center;
    background:#4d6d50;
    color:#fff;
    font:bold 13px/1 Georgia,serif;
}
.pko-buy-guide span { color:#59645f; font-size:10px; line-height:1.35; }
.pko-buy-packages {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin-top:12px;
}
.pko-buy-package {
    padding:12px;
    border:1px solid #aeb7b2;
    background:linear-gradient(#f8faf8,#e8ede9);
    box-shadow:0 1px 0 #fff inset;
}
.pko-buy-package-top {
    display:flex;
    align-items:center;
    gap:11px;
    padding-bottom:10px;
    border-bottom:1px solid #c8cfcb;
}
.pko-buy-card-icon {
    position:relative;
    width:58px;
    height:58px;
    flex:0 0 58px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #a8b0ac;
    background:radial-gradient(circle,#fff 0%,#e5ebe6 65%,#d4dcd6 100%);
}
.pko-buy-card-icon img { position:relative; z-index:2; width:50px; height:50px; object-fit:contain; image-rendering:auto; }
.pko-buy-icon-fallback { position:absolute; z-index:1; color:#91a097; font-size:20px; }
.pko-buy-package-title > span { display:block; color:#7b8580; font-size:9px; text-transform:uppercase; letter-spacing:1px; }
.pko-buy-package-title > strong { display:inline-block; margin-top:1px; color:#35523c; font:bold 24px/1 Georgia,"Times New Roman",serif; }
.pko-buy-package-title > small { display:block; margin-top:2px; color:#5e6863; font:bold 10px Tahoma,Arial,sans-serif; text-transform:uppercase; letter-spacing:.7px; }
.pko-buy-prices {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:5px;
    margin-top:10px;
}
.pko-buy-prices > div {
    padding:7px 5px;
    border:1px solid #c1c9c4;
    background:#f9fbf9;
    text-align:center;
}
.pko-buy-prices span,.pko-buy-prices strong { display:block; }
.pko-buy-prices span { color:#7a847f; font-size:9px; }
.pko-buy-prices strong { margin-top:3px; color:#3f5845; font:bold 11px/1.1 Tahoma,Arial,sans-serif; }
.pko-buy-paypal-title { margin-top:9px; color:#737d78; font-size:9px; text-transform:uppercase; letter-spacing:.7px; text-align:center; }
.pko-buy-paypal-row {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:5px;
    margin-top:5px;
}
.pko-buy-paypal-row form { margin:0; }
.pko-buy-paypal-currency {
    width:100%;
    min-height:42px;
    padding:6px 4px;
    border:1px solid #0d69ad;
    background:linear-gradient(#1597df,#0864a9);
    color:#fff;
    cursor:pointer;
    text-align:center;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.25);
}
.pko-buy-paypal-currency:hover { background:linear-gradient(#27a8ef,#0b72bb); }
.pko-buy-paypal-currency span,.pko-buy-paypal-currency strong { display:block; }
.pko-buy-paypal-currency span { font:bold 9px/1 Tahoma,Arial,sans-serif; letter-spacing:.6px; }
.pko-buy-paypal-currency strong { margin-top:3px; font:bold 10px/1.1 Tahoma,Arial,sans-serif; }
#main .pko-buy-binance-btn {
    display:flex;
    align-items:center;
    gap:8px;
    margin-top:7px;
    padding:8px 10px;
    border:1px solid #c8910e;
    background:linear-gradient(#f9ce52,#e7ad1d);
    color:#2f260d !important;
    text-decoration:none;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.35);
}
#main .pko-buy-binance-btn:hover { background:linear-gradient(#ffda68,#efba2b); color:#2f260d !important; text-decoration:none; }
.pko-buy-binance-mark {
    display:flex;
    width:28px;
    height:28px;
    flex:0 0 28px;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(91,65,0,.32);
    background:#2d2b25;
    color:#f4c642;
    font:bold 13px/1 Arial,sans-serif;
}
.pko-buy-binance-btn > span:last-child { min-width:0; }
.pko-buy-binance-btn strong,.pko-buy-binance-btn small { display:block; }
.pko-buy-binance-btn strong { font:bold 11px/1.15 Tahoma,Arial,sans-serif; }
.pko-buy-binance-btn small { margin-top:3px; color:#65531d; font-size:9px; line-height:1.2; white-space:normal; }
#main .pko-buy-binance-btn.is-copied { border-color:#5e8a50; background:linear-gradient(#8fbe79,#6a9958); color:#fff !important; }
#main .pko-buy-binance-btn.is-copied small { color:#e9f7e5; }
.pko-buy-notice-box { margin-top:12px; }
.pko-buy-notice-box .pko-info-list { margin-bottom:0; }

@media (max-width:1000px) {
    .pko-buy-shell { width:auto; }
    .pko-buy-payment-destinations,.pko-buy-packages { grid-template-columns:1fr; }
    .pko-buy-guide { grid-template-columns:1fr; }
}


/* Security: logout is POST + CSRF while retaining the original link appearance. */
.pko-logout-form { margin:0; padding:0; }
.nav.pko-nav-modern .pko-submenu .pko-logout-link {
    display:block; width:100%; margin:0; padding:10px 14px; border:0; background:none;
    color:#c9d0cd; text-align:left; text-transform:none; letter-spacing:0;
    font:12px/1.3 Tahoma,Arial,sans-serif; white-space:nowrap; cursor:pointer;
}
.nav.pko-nav-modern .pko-submenu .pko-logout-link:hover,
.nav.pko-nav-modern .pko-submenu .pko-logout-link:focus { color:#dff7c9; background:#202825; outline:0; }
.pko-side-actions .pko-side-logout-form { display:flex; flex:1; margin:0; }
.pko-side-actions .pko-side-logout-form button {
    flex:1; padding:7px 5px; border:1px solid #515b59; background:linear-gradient(#333a39,#1d2222);
    color:#cbd2cf; text-align:center; font:10px Tahoma,Arial,sans-serif; cursor:pointer;
}
.pko-side-actions .pko-side-logout-form button:hover,
.pko-side-actions .pko-side-logout-form button:focus { border-color:#72945e; background:#283229; color:#b9e39a; outline:0; }

/* ============================================================
   Pirate Club - Tales of Pirates mentor/recruit system
   ============================================================ */
.pko-pc-shell{display:block;max-width:100%;overflow:hidden}.pko-pc-hero{margin-bottom:14px}.pko-pc-alert{margin:12px 0;padding:12px 14px;border:1px solid #c7c9c4;background:#f8faf7;color:#2d3830;font-size:12px;line-height:1.55}.pko-pc-alert.is-ok{border-color:#8eaa75;background:#f2f8ed}.pko-pc-alert.is-error{border-color:#c58f88;background:#fff4f2;color:#7c3931}.pko-pc-alert.is-info{border-color:#9eaaac;background:#f3f8f8}.pko-pc-tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 14px}.pko-pc-tiers a{display:flex;min-height:66px;padding:9px 11px;border:1px solid #b8c0b7;background:linear-gradient(#fff,#eef2ec);text-decoration:none;flex-direction:column;justify-content:center;box-sizing:border-box;box-shadow:inset 0 1px #fff}.pko-pc-tiers a span{font-size:10px;text-transform:uppercase;letter-spacing:.7px;color:#758076}.pko-pc-tiers a strong{font-size:18px;color:#263c2a;line-height:1.1}.pko-pc-tiers a small{font-size:10px;color:#777}.pko-pc-tiers a:hover,.pko-pc-tiers a.is-active{border-color:#6e8b61;background:linear-gradient(#f7fff2,#dcebd5);box-shadow:inset 0 0 0 1px #d4e4cd}.pko-pc-mybox,.pko-pc-detail-head,.pko-pc-toolbar{margin:0 0 12px;border:1px solid #bcc4bc;background:#f8faf7}.pko-pc-box-title{padding:8px 11px;border-bottom:1px solid #cbd1cb;background:#e9eee8;font-size:12px;font-weight:bold;color:#314233}.pko-pc-mygrid{display:grid;grid-template-columns:repeat(3,1fr);gap:0}.pko-pc-mygrid>div{min-height:66px;padding:10px;border-right:1px solid #d5dad5}.pko-pc-mygrid>div:last-child{border-right:0}.pko-pc-mygrid strong{display:block;margin-bottom:5px;color:#334535;font-size:11px;text-transform:uppercase}.pko-pc-mygrid a,.pko-pc-mygrid span,.pko-pc-mygrid small{display:block;margin:3px 0;font-size:10px;line-height:1.35}.pko-pc-inline-form{display:inline!important;margin:0!important;padding:0!important}.pko-pc-inline-form button{display:inline-block;margin-left:5px;border:0;background:transparent;color:#8c4136;text-decoration:underline;font-size:10px;cursor:pointer}.pko-pc-detail-head{padding:12px}.pko-pc-back{display:inline-block;margin-bottom:9px;font-size:10px}.pko-pc-club-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.pko-pc-club-title span{font-size:10px;color:#768078;text-transform:uppercase;letter-spacing:.7px}.pko-pc-club-title h3{margin:2px 0 1px;font-size:22px;color:#253c29}.pko-pc-club-title p{margin:0;font-size:10px;color:#777}.pko-pc-score{min-width:72px;padding:7px 9px;border:1px solid #b7c2b2;background:#edf5e9;text-align:center}.pko-pc-score strong{display:block;font-size:20px;color:#43643c}.pko-pc-score span{font-size:9px}.pko-pc-description{margin-top:10px;padding-top:9px;border-top:1px dotted #bcc4bc;font-size:11px;line-height:1.55;color:#4e584f}.pko-pc-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:0 0 12px}.pko-pc-stats>div{padding:8px 9px;border:1px solid #c5cbc4;background:#fff}.pko-pc-stats span{display:block;font-size:9px;color:#7b817c;text-transform:uppercase}.pko-pc-stats strong{display:block;margin-top:2px;font-size:12px;color:#324735}.pko-pc-muted{margin:8px 0;color:#727a73;font-size:11px;line-height:1.5}.pko-pc-member{display:flex;position:relative;align-items:center;gap:9px;padding:9px 7px;border-bottom:1px solid #d9ddd8;background:#fff}.pko-pc-member:last-child{border-bottom:0}.pko-pc-member.is-graduated{background:#f2f8ef}.pko-pc-captain{background:#edf4ea;border:1px solid #c1cfba;margin-bottom:5px}.pko-pc-avatar{display:flex;flex:0 0 32px;height:32px;align-items:center;justify-content:center;border:1px solid #aeb9ad;background:#edf1ed;color:#4d6748;font-size:15px}.pko-pc-member-main,.pko-pc-member>div:nth-child(2){min-width:0;flex:1}.pko-pc-member strong{display:block;color:#2f4131;font-size:12px}.pko-pc-member small{display:block;color:#798079;font-size:9px}.pko-pc-badge{padding:3px 6px;border:1px solid #bdc5ba;background:#f4f6f3;color:#657064;font-size:8px;font-weight:bold;white-space:nowrap}.pko-pc-progress{height:4px;margin-top:5px;background:#dfe4dd;overflow:hidden}.pko-pc-progress i{display:block;height:100%;background:#789a68}.pko-pc-member-actions{display:flex;gap:3px;flex-wrap:wrap;justify-content:flex-end}.pko-pc-member-actions form{margin:0}.pko-pc-member-actions button,.pko-pc-application button{padding:3px 6px;border:1px solid #b5bcb3;background:#f6f7f5;color:#485148;font:9px Arial;cursor:pointer}.pko-pc-application{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px;border-bottom:1px solid #d9ddd8}.pko-pc-application:last-child{border-bottom:0}.pko-pc-application strong,.pko-pc-application small{display:block}.pko-pc-application small{font-size:9px;color:#777}.pko-pc-application>div:last-child{display:flex;gap:4px}.pko-pc-application form{margin:0}.pko-pc-application .pko-pc-accept{border-color:#91a889;background:#eef7e9;color:#3d6338}.pko-pc-captain-tools textarea,.pko-pc-create textarea{resize:vertical}.pko-pc-dismiss{margin-top:12px;padding-top:10px;border-top:1px dotted #bbb}.pko-pc-dismiss button{border:1px solid #c28d86;background:#fff3f1;color:#8a3e35;padding:5px 8px;font-size:10px;cursor:pointer}.pko-pc-toolbar{display:flex;align-items:center;justify-content:space-between;padding:10px 11px}.pko-pc-toolbar strong,.pko-pc-toolbar span{display:block}.pko-pc-toolbar strong{font-size:13px;color:#2c412f}.pko-pc-toolbar span{font-size:9px;color:#777}.pko-pc-toolbar>a{padding:5px 8px;border:1px solid #78946d;background:#edf6e8;color:#365235;text-decoration:none;font-size:10px}.pko-pc-listbox{padding:0!important;overflow:hidden}.pko-pc-list-head,.pko-pc-list-row{display:grid;grid-template-columns:1.65fr 1.15fr .9fr .55fr .55fr;align-items:center;gap:7px}.pko-pc-list-head{padding:7px 9px;background:#e9ede8;border-bottom:1px solid #c2c8c1;font-size:9px;font-weight:bold;text-transform:uppercase;color:#636b64}.pko-pc-list-row{padding:9px;border-bottom:1px solid #d8ddd7;background:#fff;text-decoration:none;color:#4d554e;font-size:10px}.pko-pc-list-row:hover{background:#f3f7f1}.pko-pc-list-row strong,.pko-pc-list-row small{display:block}.pko-pc-list-row strong{font-size:12px;color:#304433}.pko-pc-list-row small{font-size:9px;color:#808681}.pko-pc-graduates{font-weight:bold;color:#4c7542}.pko-pc-empty{padding:24px;text-align:center}.pko-pc-empty strong,.pko-pc-empty span{display:block}.pko-pc-empty span{margin-top:4px;color:#777;font-size:10px}.pko-pc-create{scroll-margin-top:12px}.pko-pc-create>p{font-size:11px;color:#687069}.pko-pc-joinbox select,.pko-pc-create select,.pko-pc-captain-tools select{max-width:100%}
@media(max-width:1000px){.pko-pc-tiers{grid-template-columns:1fr}.pko-pc-mygrid{grid-template-columns:1fr}.pko-pc-mygrid>div{border-right:0;border-bottom:1px solid #d5dad5}.pko-pc-stats{grid-template-columns:repeat(2,1fr)}.pko-pc-list-head{display:none}.pko-pc-list-row{grid-template-columns:1fr 1fr}.pko-pc-list-row span:nth-child(4),.pko-pc-list-row span:nth-child(5){text-align:left}.pko-pc-club-title{display:block}.pko-pc-score{margin-top:8px;width:70px}.pko-pc-member{align-items:flex-start;flex-wrap:wrap}.pko-pc-member-actions{width:100%;justify-content:flex-start}}

/* Pirate Club V3 - Guide / Rules / Awards / EXP Rank */
.pko-pc-nav{display:flex;gap:4px;margin:0 0 12px;padding:5px;border:1px solid #b8c0b7;background:#e9eee8;box-shadow:inset 0 1px #fff;overflow:auto}.pko-pc-nav a{display:block;padding:7px 11px;border:1px solid transparent;color:#435047;text-decoration:none;font-size:10px;font-weight:bold;text-transform:uppercase;letter-spacing:.35px;white-space:nowrap}.pko-pc-nav a:hover,.pko-pc-nav a.is-active{border-color:#829579;background:linear-gradient(#fff,#e3edde);color:#304b32}.pko-pc-info-page{display:block}.pko-pc-article{line-height:1.55}.pko-pc-article>.pko-section-kicker{display:block;margin-bottom:3px}.pko-pc-lead{margin:7px 0 14px;color:#5d675f;font-size:11px;line-height:1.6}.pko-pc-guide-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:10px}.pko-pc-guide-card{position:relative;min-height:112px;padding:12px 12px 12px 44px;border:1px solid #c7cec5;background:linear-gradient(#fff,#f3f6f1);box-sizing:border-box}.pko-pc-guide-card>span{display:flex;position:absolute;top:12px;left:10px;width:25px;height:25px;align-items:center;justify-content:center;border:1px solid #8ba080;background:#eaf3e5;color:#45623e;font-size:9px;font-weight:bold}.pko-pc-guide-card h4{margin:0 0 5px;color:#2f4533;font-size:12px}.pko-pc-guide-card p{margin:0;color:#626b63;font-size:10px;line-height:1.55}.pko-pc-stage-table{padding:0!important;overflow:hidden}.pko-pc-stage-table>.pko-panel-title{padding:10px 11px;margin:0;border-bottom:1px solid #c7cec5}.pko-pc-stage-row{display:grid;grid-template-columns:1.2fr 1fr 1.2fr 1.2fr;gap:8px;padding:9px 11px;border-bottom:1px solid #dde1dc;background:#fff;font-size:10px;color:#535d55}.pko-pc-stage-row:last-child{border-bottom:0}.pko-pc-stage-head{background:#e9eee8;color:#646c65;font-size:9px;font-weight:bold;text-transform:uppercase}.pko-pc-rule-section{margin-top:10px;padding:11px;border:1px solid #c8cec7;background:#fff}.pko-pc-rule-section h4{margin:0 0 6px;color:#304733;font-size:12px}.pko-pc-rule-section ol{margin:0;padding-left:20px}.pko-pc-rule-section li{margin:4px 0;color:#59635b;font-size:10px;line-height:1.55}.pko-pc-award-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.pko-pc-award-card{border:1px solid #bcc6ba;background:#fff;overflow:hidden}.pko-pc-award-level{padding:9px 10px;border-bottom:1px solid #bdc6bb;background:linear-gradient(#eef5ea,#dfeadc)}.pko-pc-award-level span,.pko-pc-award-level strong{display:block}.pko-pc-award-level span{font-size:9px;text-transform:uppercase;color:#677668}.pko-pc-award-level strong{font-size:18px;color:#38513b}.pko-pc-award-line{padding:9px 10px;border-bottom:1px dotted #cdd2cc}.pko-pc-award-line:last-child{border-bottom:0}.pko-pc-award-line span,.pko-pc-award-line strong,.pko-pc-award-line small{display:block}.pko-pc-award-line span{font-size:8px;text-transform:uppercase;color:#808781}.pko-pc-award-line strong{margin:2px 0;color:#344637;font-size:11px}.pko-pc-award-line small{color:#777f78;font-size:9px;line-height:1.4}.pko-pc-rankbox{padding:0!important;overflow:hidden}.pko-pc-rank-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 11px;border-bottom:1px solid #c6ccc5;background:#f6f8f5}.pko-pc-rank-toolbar .pko-panel-title{margin:1px 0 0}.pko-pc-rank-toolbar form{display:flex;gap:4px;margin:0}.pko-pc-rank-toolbar select,.pko-pc-rank-toolbar button{height:27px;border:1px solid #aeb8ac;background:#fff;font:10px Arial;color:#4a554c}.pko-pc-rank-toolbar button{padding:0 9px;background:#eaf1e7;cursor:pointer}.pko-pc-rank-note{margin:0;padding:8px 11px;border-bottom:1px dotted #c7cdc6;background:#fbfcfa;color:#737b74;font-size:9px;line-height:1.45}.pko-pc-rank-head,.pko-pc-rank-row{display:grid;grid-template-columns:.45fr .85fr 1.5fr 1.2fr .7fr .95fr;gap:7px;align-items:center}.pko-pc-rank-head{padding:7px 9px;border-bottom:1px solid #c4cbc3;background:#e9ede8;color:#636b64;font-size:9px;font-weight:bold;text-transform:uppercase}.pko-pc-rank-row{padding:9px;border-bottom:1px solid #d8ddd7;background:#fff;color:#505851;text-decoration:none;font-size:10px}.pko-pc-rank-row:hover{background:#f2f7ef}.pko-pc-rank-row strong,.pko-pc-rank-row small{display:block}.pko-pc-rank-row strong{color:#304433;font-size:11px}.pko-pc-rank-row small{color:#7f8580;font-size:8px}.pko-pc-rank-pos{font-weight:bold;color:#5e7858}.pko-pc-rank-score{font-weight:bold;color:#466c40}.pko-pc-list-head-score,.pko-pc-list-row-score{grid-template-columns:1.5fr 1.05fr .8fr .5fr .55fr .8fr}.pko-pc-stats-five{grid-template-columns:repeat(5,1fr)}.pko-pc-score-sync{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px;padding:9px 10px;border:1px solid #aebca9;background:linear-gradient(#f8fff5,#e8f2e3)}.pko-pc-score-sync strong,.pko-pc-score-sync span{display:block}.pko-pc-score-sync strong{color:#36523a;font-size:11px}.pko-pc-score-sync span{margin-top:2px;color:#6d786e;font-size:9px}.pko-pc-score-sync form{margin:0}.pko-pc-score-sync button{padding:5px 9px;border:1px solid #728f69;background:#edf6e8;color:#355134;font:10px Arial;cursor:pointer}
@media(max-width:1000px){.pko-pc-guide-grid,.pko-pc-award-grid{grid-template-columns:1fr}.pko-pc-stage-row{grid-template-columns:1fr 1fr}.pko-pc-stage-head{display:none}.pko-pc-rank-toolbar{display:block}.pko-pc-rank-toolbar form{margin-top:8px}.pko-pc-rank-head{display:none}.pko-pc-rank-row{grid-template-columns:.5fr 1fr 1.4fr}.pko-pc-rank-row span:nth-child(4),.pko-pc-rank-row span:nth-child(5),.pko-pc-rank-row span:nth-child(6){display:block}.pko-pc-list-head-score{display:none}.pko-pc-list-row-score{grid-template-columns:1fr 1fr}.pko-pc-stats-five{grid-template-columns:repeat(2,1fr)}.pko-pc-score-sync{align-items:flex-start}.pko-pc-nav{padding:4px}.pko-pc-nav a{padding:6px 8px}}
.pko-pc-fixed-country{padding:7px 8px;border:1px solid #c6ccc4;background:#f3f5f2;color:#48534a;font-size:10px}.pko-pc-fixed-country small{display:block;margin-top:2px;color:#7b827c;font-size:8px}
/* Pirate Club V5 - original TOP2 rewards */
.pko-pc-award-original-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.pko-pc-award-package{border:1px solid #bcc6ba;background:#fff;overflow:hidden}.pko-pc-award-package-head{padding:10px 11px;border-bottom:1px solid #c5ccc3;background:linear-gradient(#f7faf5,#e7efe3)}.pko-pc-award-package-head span,.pko-pc-award-package-head strong{display:block}.pko-pc-award-package-head span{font-size:9px;color:#6b786d;text-transform:uppercase}.pko-pc-award-package-head strong{margin-top:2px;color:#334b36;font-size:12px}.pko-pc-award-items{display:grid;grid-template-columns:1fr 1fr;gap:0}.pko-pc-reward-item{display:flex;align-items:center;gap:7px;min-height:48px;padding:7px 8px;border-right:1px dotted #d4d9d2;border-bottom:1px dotted #d4d9d2;box-sizing:border-box}.pko-pc-reward-item:nth-child(2n){border-right:0}.pko-pc-reward-icon{display:flex;width:34px;height:34px;flex:0 0 34px;align-items:center;justify-content:center;border:1px solid #b9c3b6;background:#eef3eb;overflow:hidden}.pko-pc-reward-icon img{display:block;max-width:32px;max-height:32px}.pko-pc-reward-item strong,.pko-pc-reward-item small{display:block}.pko-pc-reward-item strong{color:#384b3b;font-size:10px}.pko-pc-reward-item small{margin-top:2px;color:#7a837b;font-size:8px}.pko-pc-award-tier-grid{margin-top:12px}.pko-pc-reward-history{padding:0!important;overflow:hidden}.pko-pc-reward-history>.pko-panel-title{margin:0;padding:10px 11px;border-bottom:1px solid #c8cec7}.pko-pc-reward-history-head,.pko-pc-reward-history-row{display:grid;grid-template-columns:.8fr .9fr 1.5fr .8fr .9fr;gap:7px;align-items:center}.pko-pc-reward-history-head{padding:7px 9px;background:#e9eee8;border-bottom:1px solid #c5ccc4;color:#626c64;font-size:8px;font-weight:bold;text-transform:uppercase}.pko-pc-reward-history-row{padding:8px 9px;border-bottom:1px solid #dce0da;background:#fff;color:#4f5951;font-size:9px}.pko-pc-reward-history-row:last-child{border-bottom:0}.pko-pc-reward-history-row .is-delivered{color:#3d743d;font-weight:bold}.pko-pc-reward-history-row .is-pending{color:#9a7426;font-weight:bold}
@media(max-width:1000px){.pko-pc-award-original-grid{grid-template-columns:1fr}.pko-pc-award-items{grid-template-columns:1fr}.pko-pc-reward-item{border-right:0}.pko-pc-reward-history-head{display:none}.pko-pc-reward-history-row{grid-template-columns:1fr 1fr}.pko-pc-reward-history-row span:nth-child(3){grid-column:1/3}}

/* Pirate Club V8 - player-facing guide and eligibility polish */
.pko-pc-player-tip{margin-top:10px;padding:9px 10px;border:1px solid #aebda8;background:linear-gradient(#f7fff3,#e8f2e4);color:#526052;font-size:10px;line-height:1.55}.pko-pc-player-tip strong{color:#36533a}.pko-pc-stage-table .pko-pc-stage-row{grid-template-columns:1.15fr 1.05fr 1fr 1fr 1.15fr}.pko-pc-mentor-items{background:#fbfcfa;border-top:1px dotted #d4d9d2}.pko-pc-award-card .pko-pc-award-items+.pko-pc-award-line{border-top:1px solid #d7ddd5}.pko-pc-guide-card strong,.pko-pc-rule-section strong{color:#38563b}
@media(max-width:1000px){.pko-pc-stage-table .pko-pc-stage-row{grid-template-columns:1fr 1fr}.pko-pc-stage-table .pko-pc-stage-row span:first-child{grid-column:1/3}.pko-pc-player-tip{font-size:9px}}

/* Pirate Club V9 - manual graduation reward claim */
.pko-pc-reward-history-head,.pko-pc-reward-history-row{grid-template-columns:.7fr .85fr 1.35fr .7fr .72fr 1fr}
.pko-pc-claim-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;border-bottom:1px solid #c4d0c0;background:linear-gradient(#f8fff5,#e9f4e5)}
.pko-pc-claim-banner strong,.pko-pc-claim-banner span{display:block}.pko-pc-claim-banner strong{color:#35583a;font-size:11px}.pko-pc-claim-banner span{color:#69766b;font-size:9px;text-align:right}
.pko-pc-reward-action form{margin:0}.pko-pc-reward-action button{padding:5px 8px;border:1px solid #6e8b67;background:linear-gradient(#f7fff4,#dfeeda);color:#315335;font:bold 9px Arial;cursor:pointer;white-space:nowrap}.pko-pc-reward-action button:hover{background:#d7ead1}.pko-pc-reward-action>strong{color:#477047;font-size:9px;white-space:nowrap}
@media(max-width:1000px){.pko-pc-reward-history-row{grid-template-columns:1fr 1fr}.pko-pc-reward-history-row span:nth-child(3){grid-column:1/3}.pko-pc-reward-action{grid-column:1/3}.pko-pc-claim-banner{display:block}.pko-pc-claim-banner span{margin-top:3px;text-align:left}}

.pko-pc-reward-history-row .is-blocked{color:#8b4d4d;font-weight:bold}

/* Pirate Club V11 - dashboard, profiles, admin and unified reward inbox */
.pko-pc-dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:12px;border:1px solid #b9c5b5;background:linear-gradient(#f8fff5,#e9f2e5)}.pko-pc-dashboard-hero h3{margin:2px 0 4px;color:#304a34}.pko-pc-dashboard-hero p{margin:0;color:#687169;font-size:10px}.pko-pc-dashboard-hero form{margin:0}.pko-pc-dashboard-hero button,.pko-pc-milestone button{padding:6px 9px;border:1px solid #718e69;background:linear-gradient(#f9fff6,#dcebd7);color:#335339;font:bold 9px Arial;cursor:pointer}.pko-pc-dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:9px 0}.pko-pc-dashboard-role{display:flex;align-items:center;gap:8px;padding:9px;border-bottom:1px solid #d7ddd6;background:#fff}.pko-pc-dashboard-role-main{min-width:0;flex:1}.pko-pc-dashboard-role-main strong,.pko-pc-dashboard-role-main small{display:block}.pko-pc-dashboard-role-main small{font-size:9px;color:#707a72}.pko-pc-dash-line,.pko-reward-history-line{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 2px;border-bottom:1px dotted #d2d8d1}.pko-pc-dash-line span,.pko-reward-history-line span{min-width:0}.pko-pc-dash-line strong,.pko-pc-dash-line small,.pko-reward-history-line strong,.pko-reward-history-line small{display:block}.pko-pc-dash-line small,.pko-reward-history-line small{color:#788079;font-size:9px}.pko-pc-dash-line form{margin:0}.pko-pc-dash-line button{padding:3px 6px;border:1px solid #b9c0b7;background:#f6f7f5;font:9px Arial;color:#5b635c;cursor:pointer}.pko-pc-milestone{display:flex;align-items:center;gap:8px;padding:7px 5px;border-bottom:1px dotted #d4d9d3;opacity:.66}.pko-pc-milestone.is-unlocked{opacity:1;background:#f8fbf6}.pko-pc-milestone>span{font-size:17px;color:#8b9a86}.pko-pc-milestone>div{min-width:0;flex:1}.pko-pc-milestone strong,.pko-pc-milestone small{display:block}.pko-pc-milestone strong{color:#38503b;font-size:10px}.pko-pc-milestone small{color:#7b837c;font-size:8px}.pko-pc-milestone form{margin:0}.pko-pc-milestone em{font-style:normal;font-size:8px;font-weight:bold;color:#4e7850}.pko-pc-leader-row{display:grid;grid-template-columns:34px 1fr auto;gap:8px;align-items:center;padding:8px 4px;border-bottom:1px dotted #d3d8d1;color:#4d574f;text-decoration:none}.pko-pc-leader-row strong,.pko-pc-leader-row small{display:block}.pko-pc-leader-row small{font-size:8px;color:#7c847d}.pko-pc-hall-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.pko-pc-hall-card{padding:10px;border:1px solid #c4ccc1;background:#fff;text-decoration:none;color:#4b554d}.pko-pc-hall-card strong,.pko-pc-hall-card small{display:block}.pko-pc-hall-card strong{font-size:12px;color:#324936}.pko-pc-hall-card small{font-size:9px;color:#7b837c}.pko-pc-preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pko-pc-preview-grid>div{padding:9px;border:1px solid #d1d7cf;background:#fbfcfa}.pko-pc-preview-grid span,.pko-pc-preview-grid strong,.pko-pc-preview-grid small{display:block}.pko-pc-preview-grid small a{color:#546c53;text-decoration:none}.pko-pc-preview-grid small a:hover{text-decoration:underline}.pko-pc-reward-item{text-decoration:none}.pko-pc-reward-item:hover{background:#f3f8f0}.pko-pc-search-form{display:flex;gap:5px;flex-wrap:wrap}.pko-pc-search-form input,.pko-pc-search-form select,.pko-pc-search-form button{height:27px;border:1px solid #aeb8ac;background:#fff;font:10px Arial;color:#4a554c}.pko-pc-search-form button{background:#eaf1e7;cursor:pointer}
.pko-pc-admin-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin:0 0 10px}.pko-pc-admin-stats>div{padding:9px;border:1px solid #c5cdc3;background:#fff}.pko-pc-admin-stats span,.pko-pc-admin-stats strong{display:block}.pko-pc-admin-stats span{font-size:8px;text-transform:uppercase;color:#788079}.pko-pc-admin-stats strong{font-size:18px;color:#365039}.pko-pc-admin-nav{display:flex;gap:3px;flex-wrap:wrap;margin:8px 0 12px}.pko-pc-admin-nav a{padding:6px 9px;border:1px solid #b9c1b7;background:#f3f5f2;color:#4e5a50;text-decoration:none;font-size:9px}.pko-pc-admin-nav a.is-active{border-color:#728d6b;background:#e5f0e1;color:#355138;font-weight:bold}.pko-pc-admin-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px}.pko-pc-admin-toolbar form{display:flex;gap:4px}.pko-pc-admin-table-head,.pko-pc-admin-table-row{display:grid;align-items:center;gap:6px}.pko-pc-admin-table-head{padding:7px;background:#e8ede7;color:#636c64;font-size:8px;font-weight:bold;text-transform:uppercase}.pko-pc-admin-table-row{padding:8px 7px;border-bottom:1px solid #d9ded8;background:#fff;font-size:9px}.pko-pc-admin-table-row strong,.pko-pc-admin-table-row small{display:block}.pko-pc-admin-table-row small{color:#7a827b;font-size:8px}.pko-pc-admin-club-grid{grid-template-columns:40px 1.35fr 1fr .65fr .55fr .55fr 1.6fr}.pko-pc-admin-application-grid{grid-template-columns:40px 1.35fr 1.1fr .55fr .65fr 1fr .7fr}.pko-pc-admin-reward-grid{grid-template-columns:40px 1.2fr 1fr 1.1fr .65fr 1fr .7fr}.pko-pc-admin-log-grid{grid-template-columns:1fr 1fr 1fr .45fr .8fr .8fr 1.6fr}.pko-pc-admin-actions{display:flex;gap:3px;flex-wrap:wrap;align-items:center}.pko-pc-admin-actions form,.pko-pc-admin-subactions form{margin:0}.pko-pc-admin-subactions{display:flex;gap:7px;flex-wrap:wrap;padding:6px 8px 10px;background:#fafbfa;border-bottom:1px solid #d9ded8}.pko-pc-admin-config-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.pko-pc-admin-config-card{padding:10px;border:1px solid #c7cec5;background:#fafcf9}.pko-pc-admin-config-card label{display:block;margin:6px 0;font-size:9px;color:#626c64}.pko-pc-admin-config-card input[type=text],.pko-pc-admin-config-card textarea{display:block;width:100%;box-sizing:border-box;margin-top:3px;border:1px solid #b9c2b7;background:#fff;font:10px Arial}.pc-status-active{color:#3e7642;font-weight:bold}.pc-status-blocked{color:#9c572e;font-weight:bold}.pc-status-dismissed{color:#777;font-weight:bold}
.pko-reward-center-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:10px 0}.pko-reward-center-card{min-height:135px;box-sizing:border-box}.pko-reward-center-card h3{margin:2px 0 6px;color:#334b37}.pko-reward-center-card p{min-height:38px;color:#6b746d;font-size:10px;line-height:1.5}.pko-reward-balance{display:flex;gap:7px;align-items:center}.pko-reward-balance span{min-width:74px;padding:7px;border:1px solid rgba(255,255,255,.3);background:rgba(0,0,0,.12);font-size:8px;text-transform:uppercase}.pko-reward-balance strong{display:block;margin-top:2px;font-size:14px}.pko-button-secondary{display:inline-block;padding:6px 9px;border:1px solid #aab5a8;background:#f4f6f3;color:#465548;text-decoration:none;font:9px Arial}
@media(max-width:1000px){.pko-pc-dashboard-grid,.pko-pc-hall-grid,.pko-pc-preview-grid,.pko-pc-admin-config-grid,.pko-reward-center-grid{grid-template-columns:1fr}.pko-pc-dashboard-hero,.pko-pc-admin-toolbar{display:block}.pko-pc-dashboard-hero form,.pko-pc-admin-toolbar form{margin-top:8px}.pko-pc-admin-stats{grid-template-columns:1fr 1fr}.pko-pc-admin-table-head{display:none}.pko-pc-admin-table-row{display:block}.pko-pc-admin-table-row>span{display:block;margin:3px 0}.pko-reward-balance{margin-top:8px}}
