:where(:root) {
    --primary: #333;
    --primary-hover: #222;
    --primary-light: #fafafa;
    
    --grad: var(--gradient, linear-gradient(135deg, #333, #777));

    --bg: #f3f4f6;
    --card: #ffffff;
    --text: #1f2937;
    --text-body: #374151;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --border: #e5e7eb;
    --soft: #f9fafb;

    --tip-bg: #1f2937;
    --tip-fg: #ffffff;

    --shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, .08));
    --radius: 10px;
    --radius-sm: 6px;
    --radius-pill: 50px;
    --transition: all .3s ease;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;

    --blue: #333;
    --green: #10b981;
    --amber: #f59e0b;
    --purple: #777;
    --red: #ef4444;
    --cyan: #0891b2;
    --teal: #0d9488;
    --pink: #db2777;
    --indigo: #444;
    --orange: #f97316;
    --glow: rgba(80,80,80,.28);
    --blue-bg: #fafafa;
    --green-bg: #ecfdf5;
    --amber-bg: #fffbeb;
    --purple-bg: #f5f5f5;
    --red-bg: #fef2f2;
    --cyan-bg: #ecfeff;
    --teal-bg: #effaf6;
    --pink-bg: #fdf2f8;
    --indigo-bg: #eef2ff;
    --orange-bg: #fff7ed;

    --line: var(--border, #e5e7eb);
    --surface-2: var(--soft, #f9fafb);
    --surface-3: rgba(148, 163, 184, .14);
}

:where([data-theme="dark"]) {
    --primary: #444;
    --primary-hover: #333;
    --primary-light: rgba(96, 165, 250, .15);

    --bg: #0f1115;
    --card: #171a21;
    --text: #e8eaed;
    --text-body: #c9cdd4;
    --text-muted: #9aa1ac;
    --text-light: #7c838f;
    --border: #2a2f39;
    --soft: #1c2028;

    --tip-bg: #e8eaed;
    --tip-fg: #171a21;

    --blue: #333;
    --green: #10b981;
    --amber: #f59e0b;
    --purple: #777;
    --red: #ef4444;
    --cyan: #22d3ee;
    --teal: #2dd4bf;
    --pink: #f472b6;
    --indigo: #999;
    --orange: #fb923c;
    --glow: rgba(96, 165, 250, .3);
    --blue-bg: #142033;
    --green-bg: #052e22;
    --amber-bg: #36230a;
    --purple-bg: #1a1a1a;
    --red-bg: #3b1214;
    --cyan-bg: #0b2a33;
    --teal-bg: #0a2b27;
    --pink-bg: #341225;
    --indigo-bg: #1a1a1a;
    --orange-bg: #3a1f0b;
    --surface-3: rgba(148, 163, 184, .10);
}

.pbm-app {
    font-family: var(--font);
    color: var(--text-body);
    line-height: 1.7;
}

.pbm-body * { margin: 0; padding: 0; box-sizing: border-box; }
.pbm-app * { margin: 0; padding: 0; box-sizing: border-box; }

.pbm-body {
    font-family: var(--font);
    background-color: var(--bg);
    color: var(--text-body);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.pbm-app,
.pbm-body {
    --glass-bg: var(--card);
    --glass-bg-strong: var(--card);
    --glass-brd: var(--border);
    --glass-line: transparent;
    --glass-shade: transparent;
    --glass-blur: 0px;
    --glass-sat: 100%;
    --glass-shadow: var(--shadow, 0 1px 3px rgba(0, 0, 0, .08));
    --glass-sheen: none;
    --aura: none;
}

.pbm-app::before { content: none; }

[hidden] { display: none !important; }

.pbm-top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--card);
    border-bottom: 1px solid var(--border);
}

.pbm-top-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.pbm-logo { flex: none; }

.pbm-logo a {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
}

.pbm-logo-badge {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    flex: none;
    background: var(--grad);
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pbm-logo-name { font-size: 1.02rem; font-weight: 700; color: var(--text); }

.pbm-nav-bar {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 2px;
    overflow: hidden;
}

.pbm-nav-bar a {
    padding: 6px 11px;
    border-radius: 8px;
    font-size: .88rem;
    color: var(--text-body);
    text-decoration: none;
    white-space: nowrap;
}

.pbm-nav-bar a:hover { background: var(--soft); color: var(--primary); }

.pbm-top-tools { display: flex; gap: 8px; flex: none; margin-left: auto; }

.pbm-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: transparent;
    color: var(--text-body);
    cursor: pointer;
    text-decoration: none;
    transition: .18s;
}

.pbm-icon-btn:hover { border-color: var(--primary); color: var(--primary); }

.pbm-icon-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pbm-i-sun { display: none; }
[data-theme="dark"] .pbm-i-moon { display: none; }
[data-theme="dark"] .pbm-i-sun { display: block; }

.pbm-search-panel { display: none; border-top: 1px solid var(--border); }
.pbm-search-panel.is-open { display: block; }

.pbm-search-wrap { height: auto; padding-top: 12px; padding-bottom: 12px; }

.pbm-search-form { display: flex; gap: 8px; }

.pbm-search-form input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 9px 12px;
    background: var(--soft);
    color: var(--text);
    font-size: .9rem;
    font-family: inherit;
    outline: none;
}

.pbm-search-form input:focus { border-color: var(--primary); }

.pbm-search-form button {
    flex: none;
    border: none;
    border-radius: 8px;
    padding: 9px 22px;
    background: var(--primary);
    color: #fff;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
}

.pbm-search-form button:hover { opacity: .9; }

.pbm-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 20px 56px;
    flex: 1;
}

.pbm-embed {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 20px 56px;
}

body.pb-home-wide .pbm-container,
body.pb-home-wide .pbm-embed,
body.pb-home-wide .pbm-top-inner { max-width: 1520px; }

.pbm-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.pbm-visitor {
    padding: 56px 28px;
    text-align: center;
}

.pbm-visitor h1 {
    font-size: 1.7rem;
    color: var(--text);
}

.pbm-visitor-sub { color: var(--text-light); margin: 8px 0 24px; }

.pbm-visitor-feats {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    max-width: 640px;
    margin: 0 auto 28px;
}

.pbm-visitor-feats li {
    background: var(--soft);
    border: 1px dashed var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: .88rem;
    color: var(--text-body);
}

.pbm-visitor-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.pbm-head { margin-bottom: 16px; }

.pbm-id {
    display: flex;
    gap: 16px;
    padding: 22px 24px 18px;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.pbm-avatar-wrap { position: relative; flex: none; }

.pbm-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 3px solid var(--card);
    background: var(--soft);
    object-fit: cover;
    display: block;
}

.pbm-badge-cert {
    position: absolute;
    right: 2px;
    bottom: 2px;
    z-index: 1;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--card);
}

.pbm-badge-cert svg { width: 14px; height: 14px; fill: #fff; stroke: none; }

.pbm-id-main { flex: 1; min-width: 220px; padding-bottom: 4px; }

.pbm-nick-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.pbm-nick-row h1 { font-size: 1.25rem; color: var(--text); }

.pbm-vip-name {
    color: var(--primary);
    font-weight: 700;
}

.pbm-id-sub { font-size: .82rem; color: var(--text-light); margin: 2px 0 6px; }

.pbm-online-row { display: flex; align-items: center; gap: 8px; }

.pbm-online-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex: none;
}

.pbm-online-dot.is-online { background: var(--green); box-shadow: 0 0 0 3px var(--green-bg); }
.pbm-online-dot.is-away { background: var(--amber); box-shadow: 0 0 0 3px var(--amber-bg); }
.pbm-online-dot.is-busy { background: var(--red); box-shadow: 0 0 0 3px var(--red-bg); }
.pbm-online-dot.is-offline { background: var(--text-light); box-shadow: 0 0 0 3px var(--soft); }

.pbm-online-select {
    border: 1px solid var(--border);
    background: var(--soft);
    color: var(--text-body);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: .82rem;
    cursor: pointer;
}

.pbm-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 600;
    padding: 2px 10px;
    line-height: 1.6;
    white-space: nowrap;
}

.pbm-badge-level.c-blue { background: var(--blue-bg); color: var(--blue); }
.pbm-badge-level.c-cyan { background: var(--cyan-bg); color: var(--cyan); }
.pbm-badge-level.c-teal { background: var(--teal-bg); color: var(--teal); }
.pbm-badge-level.c-green { background: var(--green-bg); color: var(--green); }
.pbm-badge-level.c-indigo { background: var(--indigo-bg); color: var(--indigo); }
.pbm-badge-level.c-purple { background: var(--purple-bg); color: var(--purple); }
.pbm-badge-level.c-pink { background: var(--pink-bg); color: var(--pink); }
.pbm-badge-level.c-amber { background: var(--amber-bg); color: var(--amber); }
.pbm-badge-level.c-orange { background: var(--orange-bg); color: var(--orange); }
.pbm-badge-level.c-red { background: var(--red-bg); color: var(--red); }

.pbm-badge-vip {
    gap: 4px;
    color: #fff;
    background: var(--amber);
}

.pbm-badge-vip svg {
    width: 12px;
    height: 12px;
    flex: none;
    fill: currentColor;
}

.pbm-badge-custom {
    background: var(--purple-bg);
    color: var(--purple);
    font-size: .68rem;
    border: 1px dashed var(--purple);
}

.pbm-badge-certname {
    background: var(--orange);
    color: #fff;
    gap: 4px;
    border: none;
}

.pbm-badge-certname svg {
    width: 12px;
    height: 12px;
    fill: #fff;
    stroke: none;
    flex: none;
}

.pbm-badge-title.c-blue,   .pbm-badge-icon.c-blue   { background: var(--blue-bg);   color: var(--blue); }
.pbm-badge-title.c-cyan,   .pbm-badge-icon.c-cyan   { background: var(--cyan-bg);   color: var(--cyan); }
.pbm-badge-title.c-teal,   .pbm-badge-icon.c-teal   { background: var(--teal-bg);   color: var(--teal); }
.pbm-badge-title.c-green,  .pbm-badge-icon.c-green  { background: var(--green-bg);  color: var(--green); }
.pbm-badge-title.c-indigo, .pbm-badge-icon.c-indigo { background: var(--indigo-bg); color: var(--indigo); }
.pbm-badge-title.c-purple, .pbm-badge-icon.c-purple { background: var(--purple-bg); color: var(--purple); }
.pbm-badge-title.c-pink,   .pbm-badge-icon.c-pink   { background: var(--pink-bg);   color: var(--pink); }
.pbm-badge-title.c-amber,  .pbm-badge-icon.c-amber  { background: var(--amber-bg);  color: var(--amber); }
.pbm-badge-title.c-orange, .pbm-badge-icon.c-orange { background: var(--orange-bg); color: var(--orange); }
.pbm-badge-title.c-red,    .pbm-badge-icon.c-red    { background: var(--red-bg);    color: var(--red); }

.pbm-badge-title {
    gap: 4px;
    border: 1px solid currentColor;
    font-weight: 700;
    letter-spacing: .2px;
}

.pbm-badge-title svg { width: 12px; height: 12px; fill: currentColor; stroke: none; flex: none; }

.pbm-badge-icon {
    padding: 2px 4px;
    gap: 0;
}

.pbm-badge-icon svg { width: 13px; height: 13px; fill: currentColor; stroke: none; }

.pbm-badge-icon img {
    height: 1.05em;
    width: auto;
    margin: 0;
    border-radius: 50%;
    vertical-align: -0.18em;
}

.pbm-badge img,
.pbm-stat-level b img {
    height: 1.35em;
    width: auto;
    border-radius: 3px;
    vertical-align: -0.22em;
    margin-right: 4px;
    flex: none;
    object-fit: contain;
}

.pbm-cert-title {
    color: #ef4444;
    font-weight: 700;
}

.pbm-title-input {
    flex: 1;
    min-width: 160px;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 5px 10px;
    background: var(--card);
    color: var(--text);
    font-size: .84rem;
    font-family: inherit;
}

.pbm-title-input:focus { border-color: var(--primary); }

.pbm-shell {
    display: grid;
    grid-template-columns: 212px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.pbm-side {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 12px;
}

.pbm-nav {
    display: grid;
    gap: 2px;
    padding: 8px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.pbm-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 12px;
    border: none;
    border-radius: calc(var(--radius) - 2px);
    background: transparent;
    color: var(--text-body);
    font-size: .9rem;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
    transition: .16s;
    
    --tone: var(--primary);
    --tone-bg: var(--soft);
}

.pbm-tab svg {
    width: 17px;
    height: 17px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .8;
}

.pbm-tab.t-blue   { --tone: var(--blue);   --tone-bg: var(--blue-bg); }
.pbm-tab.t-green  { --tone: var(--green);  --tone-bg: var(--green-bg); }
.pbm-tab.t-amber  { --tone: var(--amber);  --tone-bg: var(--amber-bg); }
.pbm-tab.t-purple { --tone: var(--purple); --tone-bg: var(--purple-bg); }
.pbm-tab.t-red    { --tone: var(--red);    --tone-bg: var(--red-bg); }
.pbm-tab.t-cyan   { --tone: var(--cyan);   --tone-bg: var(--cyan-bg); }
.pbm-tab.t-teal   { --tone: var(--teal);   --tone-bg: var(--teal-bg); }
.pbm-tab.t-pink   { --tone: var(--pink);   --tone-bg: var(--pink-bg); }
.pbm-tab.t-indigo { --tone: var(--indigo); --tone-bg: var(--indigo-bg); }
.pbm-tab.t-orange { --tone: var(--orange); --tone-bg: var(--orange-bg); }

.pbm-tab:hover { background: #f3f4f6; color: #1f2937; }
.pbm-tab:hover svg { opacity: 1; }

.pbm-tab.is-active {
    background: #333;
    color: #fff;
    font-weight: 600;
}

html[data-theme="dark"] .pbm-tab:hover { background: #2a2f39; color: #e8eaed; }
html[data-theme="dark"] .pbm-tab.is-active { background: #444; color: #fff; }

.pbm-tab.is-active svg { opacity: 1; }

.pbm-tab-dot {
    margin-left: auto;
    display: inline-block;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-size: .68rem;
    font-style: normal;
    text-align: center;
    padding: 0 4px;
}

.pbm-side-home {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    color: var(--text-light);
    font-size: .84rem;
    text-decoration: none;
    transition: .16s;
}

.pbm-side-home svg {
    width: 16px;
    height: 16px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pbm-side-home:hover { border-color: var(--primary); color: var(--primary); }

.pbm-content { min-width: 0; }

.pbm-panel { display: none; }
.pbm-panel.is-active { display: block; }

.pbm-dash-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px 22px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}

.pbm-dash-head > * { position: relative; z-index: 1; }

.pbm-dash-date {
    display: inline-block;
    font-size: .74rem;
    letter-spacing: .12em;
    color: var(--text-light);
}

.pbm-dash-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -.01em;
    margin: 3px 0 4px;
}

.pbm-dash-sub { font-size: .85rem; color: var(--text-light); }
.pbm-dash-sub b { color: var(--text); font-variant-numeric: tabular-nums; }

.pbm-dash-head-ops { flex: none; }

.pbm-dash-ok {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--green);
    background: var(--green-bg);
}

.pbm-dash-ok svg {
    width: 15px;
    height: 15px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pbm-dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 0;
}

.pbm-metric {
    --tone: var(--blue);
    --tone-bg: var(--blue-bg);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 15px 16px 14px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.pbm-metric > * { position: relative; z-index: 1; }

.pbm-metric:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md, 0 4px 12px rgba(0, 0, 0, .1));
}

.pbm-metric-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 11px;
    color: var(--tone);
    background: var(--tone-bg);
}

.pbm-metric-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pbm-metric-val {
    font-size: 1.72rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
    word-break: break-word;
}

.pbm-metric-val em {
    font-size: .5em;
    font-style: normal;
    font-weight: 600;
    color: var(--text-light);
    margin-left: 2px;
    letter-spacing: 0;
}

.pbm-metric-label { font-size: .84rem; font-weight: 600; color: var(--text-body); }

.pbm-metric-sub { font-size: .76rem; color: var(--text-light); }

.pbm-metric-level .pbm-metric-val {
    font-size: 1.04rem;
    line-height: 1.5;
    font-variant-numeric: normal;
}

.pbm-metric-val img {
    height: 1.3em;
    width: auto;
    vertical-align: -.24em;
    margin-right: 4px;
    border-radius: 3px;
    object-fit: contain;
}

.pbm-metric-sub .pbm-bar { margin: 1px 0 5px; }

.pbm-metric.t-blue { --tone: var(--blue); --tone-bg: var(--blue-bg); }
.pbm-metric.t-green { --tone: var(--green); --tone-bg: var(--green-bg); }
.pbm-metric.t-amber { --tone: var(--amber); --tone-bg: var(--amber-bg); }
.pbm-metric.t-purple { --tone: var(--purple); --tone-bg: var(--purple-bg); }
.pbm-metric.t-red { --tone: var(--red); --tone-bg: var(--red-bg); }
.pbm-metric.t-cyan { --tone: var(--cyan); --tone-bg: var(--cyan-bg); }
.pbm-metric.t-teal { --tone: var(--teal); --tone-bg: var(--teal-bg); }
.pbm-metric.t-pink { --tone: var(--pink); --tone-bg: var(--pink-bg); }

.pbm-metric.t-indigo { --tone: var(--indigo); --tone-bg: var(--indigo-bg); }
.pbm-metric.t-orange { --tone: var(--orange); --tone-bg: var(--orange-bg); }

.pbm-dash-ops {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 13px 18px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}

.pbm-dash-ops-label { font-size: .8rem; font-weight: 600; color: var(--text-light); }
.pbm-dash-ops .pbm-quick { display: flex; flex-wrap: wrap; gap: 8px; }

.pbm-dash-vip { margin-top: 8px; }

.pbm-vip-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: .78rem;
    color: var(--text-light);
    background: var(--soft);
    border: 1px dashed var(--border);
}

.pbm-vip-chip a { color: var(--primary); font-weight: 600; text-decoration: none; }
.pbm-vip-chip a:hover { text-decoration: underline; }

.pbm-vip-chip.is-on {
    color: #fff;
    background: var(--amber);
    border-style: solid;
    border-color: transparent;
    font-weight: 600;
}

.pbm-vip-chip.is-on svg { width: 13px; height: 13px; fill: currentColor; }
.pbm-vip-chip.is-off { color: var(--red); background: var(--red-bg); border-color: rgba(239, 68, 68, .35); }

.pbm-vip-growth-icon { width: 16px; height: 16px; vertical-align: middle; margin: -2px 0; border-radius: 3px; object-fit: contain; }

.pbm-grid { display: grid; gap: 12px; margin-bottom: 16px; }
.pbm-grid-4 { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.pbm-grid-2 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.pbm-stat {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 16px;
    box-shadow: var(--shadow);
}

.pbm-stat b { display: block; font-size: 1.5rem; color: var(--text); font-variant-numeric: tabular-nums; }
.pbm-stat span { font-size: .8rem; color: var(--text-light); display: block; margin-top: 2px; }
.pbm-stat b.c-blue { color: var(--blue); }
.pbm-stat b.c-green { color: var(--green); }
.pbm-stat b.c-amber { color: var(--amber); }
.pbm-stat b.c-purple { color: var(--purple); }
.pbm-stat b.c-red { color: var(--red); }

.pbm-stat-level b { font-size: 1.08rem; line-height: 1.5; }

.pbm-bar {
    display: block;
    height: 6px;
    background: var(--soft);
    border-radius: 999px;
    overflow: hidden;
    margin: 6px 0 4px;
}

.pbm-bar i {
    display: block;
    height: 100%;
    background: var(--primary);
    border-radius: var(--radius-pill);
    transition: width .4s;
}

.pbm-block {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px 20px;
    margin-bottom: 16px;
}

.pbm-block h3 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pbm-block h3::before {
    content: "";
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background: var(--grad);
}

.pbm-block h4 { font-size: .9rem; color: var(--text); margin-bottom: 8px; }

.pbm-count { font-size: .78rem; color: var(--text-light); font-weight: 400; }

.pbm-tip { font-size: .8rem; color: var(--text-light); margin-top: 10px; }

.pbm-wallet {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.pbm-wallet-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.pbm-wallet-icon svg { width: 24px; height: 24px; fill: none; stroke-width: 1.6; stroke: currentColor; }
.pbm-wallet-icon.c-blue { background: var(--blue-bg); color: var(--blue); }
.pbm-wallet-icon.c-amber { background: var(--amber-bg); color: var(--amber); }

.pbm-wallet b { display: block; font-size: 1.6rem; color: var(--text); font-variant-numeric: tabular-nums; }
.pbm-wallet span { font-size: .82rem; color: var(--text-light); }

.pbm-levels { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }

.pbm-levels li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px dashed transparent;
}

.pbm-levels li.is-current {
    border-color: var(--primary);
    background: var(--primary-light);
}

.pbm-level-min { font-size: .8rem; color: var(--text-light); }

@media (max-width: 640px) {
    .pbm-levels { grid-template-columns: minmax(0, 1fr); }
}

.pbm-dash-recs { margin-bottom: 0; }
.pbm-stat.is-link {
    width: 100%;
    appearance: none;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, transform .15s ease;
}
.pbm-stat.is-link:hover { border-color: var(--primary); transform: translateY(-1px); }
.pbm-stat.is-link:hover b { color: var(--primary); }
.pbm-stat-more { display: block; font-style: normal; font-size: .76rem; color: var(--text-light); margin-top: 8px; }

.pbm-rec-modal {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(15, 23, 42, .55);
}
.pbm-rec-modal[hidden] { display: none; }
.pbm-rec-box {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: min(76vh, 640px);
    overflow: hidden;
    padding: 22px 20px 18px;
    border-radius: var(--radius);
    background: #fff;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-lg, 0 10px 25px rgba(0, 0, 0, .18));
    text-align: left;
    animation: pbmQrIn .22s ease-out;
}
@media (prefers-reduced-motion: reduce) {
    .pbm-rec-box { animation: none; }
}
.pbm-rec-box h4 { margin: 0 0 12px; font-size: 1.02rem; color: #111827; }
html[data-theme="dark"] .pbm-rec-box {
    background: #171a21;
    color: #f3f4f6;
    border-color: #2a2f39;
}
html[data-theme="dark"] .pbm-rec-box h4 { color: #f9fafb; }
.pbm-rec-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}
.pbm-rec-close:hover { background: var(--soft); color: var(--text); }

.pbm-card-info b { display: block; font-size: 1.06rem; color: var(--primary); margin: 4px 0 10px; }
.pbm-card-info p { margin: 0; font-size: .88rem; line-height: 1.75; color: var(--text-body); }
html[data-theme="dark"] .pbm-card-info b { color: #d1d5db; }
html[data-theme="dark"] .pbm-card-info p { color: #e5e7eb; }

button.pbm-metric {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    color: inherit;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.pbm-stat { position: relative; }
.pbm-stat-icon {
    position: absolute;
    top: 16px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--soft);
    color: var(--primary);
}
.pbm-stat-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pbm-redeem { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--border); }
.pbm-redeem-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.pbm-redeem-head b { font-size: .95rem; }
.pbm-redeem-head span { font-size: .78rem; color: var(--text-light); }

.pbm-list { list-style: none; display: grid; gap: 8px; }

.pbm-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--soft);
    border-radius: 8px;
    border: 1px solid transparent;
    transition: .15s;
}

.pbm-list li:hover { border-color: var(--border); }

.pbm-list li.pbm-empty {
    color: var(--text-light);
    font-size: .86rem;
    justify-content: center;
}

.pbm-list-h li { justify-content: space-between; }

.pbm-list-main { flex: 1; min-width: 0; }
.pbm-list-main a { color: var(--text-body); text-decoration: none; font-weight: 600; word-break: break-all; }
.pbm-list-main a:hover { color: var(--primary); }
.pbm-list-main small { display: block; color: var(--text-light); font-size: .78rem; }

.pbm-list-ops { flex: none; }

.pbm-search { display: flex; gap: 8px; margin-bottom: 12px; }

.pbm-search input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    background: var(--soft);
    color: var(--text);
    font-size: .9rem;
    outline: none;
}

.pbm-search input:focus { border-color: var(--primary); }

.pbm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text-body);
    border-radius: var(--radius);
    padding: 7px 18px;
    font-size: .88rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    line-height: 1.5;
}

.pbm-btn:hover { border-color: var(--primary); color: var(--primary); }
.pbm-btn:disabled { opacity: .55; cursor: not-allowed; }

.pbm-btn-primary {
    background: var(--primary);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
}

.pbm-btn-primary:hover {
    background: var(--primary-hover, #222);
    border-color: transparent;
    color: #fff;
}

.pbm-btn-ghost { background: transparent; }
.pbm-btn-sm { padding: 4px 14px; font-size: .8rem; }
.pbm-btn-lg { padding: 11px 44px; font-size: 1rem; }

.pbm-btn-pass { border-color: var(--green); color: var(--green); }
.pbm-btn-reject { border-color: var(--red); color: var(--red); }

.pbm-quick { display: flex; gap: 10px; flex-wrap: wrap; }

.pbm-form label { display: block; font-size: .84rem; color: var(--text-light); margin: 12px 0 6px; }

.pbm-form input[type="text"],
.pbm-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 9px 12px;
    background: var(--soft);
    color: var(--text);
    font-size: .9rem;
    font-family: inherit;
    outline: none;
    resize: vertical;
}

.pbm-form input:focus, .pbm-form textarea:focus { border-color: var(--primary); }

.pbm-form .pbm-btn { margin-top: 14px; }

.pbm-switch-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    font-size: .9rem;
    color: var(--text-body);
    cursor: pointer;
}

.pbm-switch-row input { width: 16px; height: 16px; accent-color: var(--primary); }

.pbm-sign-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
}

.pbm-sign-main {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    text-align: center;
}

.pbm-sign-main h3 { justify-content: center; }
.pbm-sign-main h3::before { display: none; }
.pbm-sign-main p { color: var(--text-light); font-size: .9rem; margin: 10px 0 18px; }
.pbm-sign-main p b { color: var(--text); font-variant-numeric: tabular-nums; }

.pbm-sign-days {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px 20px;
}

.pbm-sign-days ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 6px;
    max-height: 220px;
    overflow: auto;
}

.pbm-sign-days li {
    text-align: center;
    font-size: .78rem;
    color: var(--text-body);
    background: var(--green-bg);
    border-radius: 6px;
    padding: 4px 0;
}

.pbm-sign-days li.pbm-empty { background: var(--soft); color: var(--text-light); grid-column: 1 / -1; padding: 12px; }

.pbm-cert-state {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    background: var(--soft);
    border: 1px dashed var(--border);
    flex-wrap: wrap;
}

.pbm-cert-state b { color: var(--text); }
.pbm-cert-state p { font-size: .86rem; color: var(--text-light); flex: 1; min-width: 200px; }

.pbm-cert-state.is-approved { background: var(--green-bg); border-color: var(--green); }
.pbm-cert-state.is-approved b { color: var(--green); }
.pbm-cert-state.is-pending { background: var(--blue-bg); border-color: var(--blue); }
.pbm-cert-state.is-pending b { color: var(--blue); }
.pbm-cert-state.is-rejected { background: var(--red-bg); border-color: var(--red); }
.pbm-cert-state.is-rejected b { color: var(--red); }

.pbm-cert-msg {
    font-size: .86rem;
    color: var(--text-body);
    background: var(--soft);
    border-radius: 6px;
    padding: 6px 10px;
    margin-top: 6px;
    word-break: break-all;
}

.pbm-admin { border-color: var(--purple); }

.pbm-cert-list { list-style: none; display: grid; gap: 10px; }

.pbm-cert-list li {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 14px;
    background: var(--soft);
}

.pbm-cert-row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pbm-cert-row-head b { color: var(--text); }
.pbm-cert-row-head span { font-size: .78rem; color: var(--text-light); }

.pbm-cert-ops { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

.pbm-reply-input {
    flex: 1;
    min-width: 180px;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 5px 10px;
    background: var(--card);
    color: var(--text);
    font-size: .84rem;
    outline: none;
}

.pbm-reply-input:focus { border-color: var(--primary); }

.pbm-upload {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.pbm-upload-preview {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--card, #fff);
    box-shadow: 0 0 0 1px var(--border), 0 2px 8px rgba(0, 0, 0, .06);
    background: var(--soft);
    flex: none;
}

.pbm-upload-side b { display: block; font-size: .92rem; margin-bottom: 4px; }
.pbm-upload-side p { font-size: .8rem; color: var(--text-light); margin: 0 0 10px; max-width: 420px; }
.pbm-upload-ops { display: flex; gap: 8px; flex-wrap: wrap; }

.pbm-pager { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }

.pbm-pager button {
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text-body);
    border-radius: 8px;
    padding: 5px 14px;
    font-size: .84rem;
    cursor: pointer;
}

.pbm-pager button:disabled { opacity: .45; cursor: not-allowed; }

.pbm-toast {
    position: fixed;
    left: 50%;
    
    top: calc(var(--header-height, 64px) + 14px);
    bottom: auto;
    transform: translateX(-50%);
    
    background: var(--tip-bg, #1f2937);
    color: var(--tip-fg, #ffffff);
    border-radius: 999px;
    padding: 10px 24px;
    font-size: .88rem;
    line-height: 1.5;
    text-align: center;
    overflow-wrap: anywhere; 
    box-shadow: var(--shadow-lg, 0 10px 25px rgba(0, 0, 0, .1));
    z-index: 99999; 
    max-width: 86vw;
    pointer-events: none; 
}

@keyframes pbmToastIn {
    from { opacity: 0; transform: translate(-50%, -8px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}
.pbm-toast:not([hidden]) {
    animation: pbmToastIn .22s ease-out both;
}
@media (prefers-reduced-motion: reduce) {
    .pbm-toast:not([hidden]) { animation: none; }
}

.pbm-footer {
    text-align: center;
    color: var(--text-light);
    font-size: .8rem;
    padding: 20px 16px 28px;
    border-top: 1px solid var(--border);
    background: var(--card);
}

.pbm-vip-card,
.pbm-vip-plan {
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.pbm-btn-ghost { background: transparent; }

.pbm-vip-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px 22px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    background: var(--amber-bg);
}

.pbm-vip-card.is-on { box-shadow: var(--shadow), 0 0 0 3px rgba(245, 158, 11, .18); }

.pbm-vip-card-main { display: flex; align-items: center; gap: 14px; }

.pbm-vip-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--amber);
}

.pbm-vip-card-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pbm-vip-card h3 { font-size: 1.06rem; color: var(--text); margin-bottom: 3px; }
.pbm-vip-card p { font-size: .84rem; color: var(--text-light); }
.pbm-vip-card p b { color: var(--text); font-variant-numeric: tabular-nums; }

.pbm-vip-balance { font-size: .82rem; color: var(--text-light); }
.pbm-vip-balance b { color: var(--amber); font-size: 1.1rem; font-variant-numeric: tabular-nums; }

.pbm-vip-plans {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.pbm-vip-plan {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 16px;
    border-radius: var(--radius);
}

.pbm-vip-plan.is-current { box-shadow: var(--shadow), 0 0 0 3px rgba(245, 158, 11, .18); }

.pbm-vip-plan header { display: flex; align-items: center; gap: 8px; }
.pbm-vip-plan header b { font-size: 1rem; color: var(--text); }

.pbm-vip-flag {
    font-size: .7rem;
    font-weight: 600;
    color: #fff;
    background: var(--amber);
    border-radius: var(--radius-pill);
    padding: 1px 9px;
}

.pbm-vip-price {
    font-size: 1.34rem;
    font-weight: 700;
    color: var(--amber);
    font-variant-numeric: tabular-nums;
}

.pbm-vip-price em { font-size: .52em; font-style: normal; font-weight: 500; color: var(--text-light); }

.pbm-vip-desc { font-size: .8rem; color: var(--text-light); line-height: 1.7; }

.pbm-vip-acts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.pbm-vip-acts .pbm-btn { flex: 1 1 116px; margin-top: 0; }

.pbm-vip-or { font-size: .5em; font-style: normal; font-weight: 500; color: var(--text-light); margin: 0 5px; }
.pbm-vip-cash { font-size: .8em; font-weight: 800; color: var(--primary); }

.pbm-vip-plan { position: relative; }
.pbm-vip-plan::before {
    content: "";
    position: absolute; left: 0; right: 0; top: 0; height: 3px;
    border-radius: var(--radius) var(--radius) 0 0;
    background: var(--pbm-vip-c, var(--primary));
    opacity: .85;
}
.pbm-vip-t2::before { height: 4px; opacity: 1; }
.pbm-vip-plan header b { color: var(--pbm-vip-c, var(--text)); }
.pbm-vip-plan .pbm-vip-price { color: var(--pbm-vip-c, var(--amber)); }
.pbm-vip-plan .pbm-vip-cash { font-size: 1em; color: var(--pbm-vip-c, var(--primary)); }

.pbm-vip-plan-icon {
    width: 28px; height: 28px; border-radius: 8px; flex: none;
    object-fit: contain; display: inline-block; vertical-align: middle;
}

.pbm-vip-intro {
    font-size: .78rem; color: var(--text-light); line-height: 1.55;
    margin: -2px 0 4px; padding-left: 2px;
}

.pbm-vip-benefits { list-style: none; display: grid; gap: 5px; margin: 2px 0 4px; }
.pbm-vip-benefits li {
    position: relative; padding-left: 15px;
    font-size: .82rem; color: var(--text-light); line-height: 1.65;
}
.pbm-vip-benefits li::before {
    content: "";
    position: absolute; left: 0; top: 8px;
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--pbm-vip-c, var(--primary));
}

.pbm-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.pbm-form-row > div { min-width: 0; }
.pbm-form select,
.pbm-form input[type="date"],
.pbm-form input[type="email"] {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--line, var(--border));
    border-radius: var(--radius-sm, 8px);
    background: var(--card);
    color: var(--text);
    font-size: .9rem;
    font-family: inherit;
}
.pbm-form select:focus,
.pbm-form input[type="date"]:focus,
.pbm-form input[type="email"]:focus {
    border-color: var(--primary);
    outline: none;
}
@media (max-width: 640px) { .pbm-form-row { grid-template-columns: 1fr; } }

.pbm-footer-copy { font-size: .8rem; color: var(--text-light); }

@media (max-width: 900px) {
    .pbm-shell { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .pbm-side { position: static; }
    .pbm-nav {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        padding: 8px;
        -webkit-overflow-scrolling: touch;
    }
    .pbm-tab { width: auto; flex: none; padding: 7px 13px; border-radius: 999px; }
    .pbm-tab svg { width: 15px; height: 15px; }
    .pbm-tab-dot { margin-left: 2px; }
    .pbm-side-home { justify-content: center; }
}

@media (max-width: 768px) {
    .pbm-nav-bar { display: none; }
    .pbm-top-inner { height: 56px; gap: 10px; }
    .pbm-sign-card { grid-template-columns: 1fr; }
    .pbm-id { padding: 16px; }
    .pbm-avatar { width: 68px; height: 68px; }
    .pbm-visitor { padding: 40px 20px; }
    .pbm-dash-head { padding: 15px 16px; }
    .pbm-metric { padding: 13px 13px 12px; }
    .pbm-metric-icon { width: 32px; height: 32px; border-radius: 9px; margin-bottom: 9px; }
    .pbm-metric-icon svg { width: 17px; height: 17px; }
    .pbm-metric-val { font-size: 1.46rem; }
    .pbm-dash-ops { padding: 12px 14px; }
}

.pbm-pay-channels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.pbm-pay-ch {
    appearance: none;
    border: 1px solid var(--line);
    background: var(--surface-2, #f9fafb);
    color: var(--text-body);
    font-size: .86rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
}

.pbm-pay-ch:hover { border-color: var(--primary); color: var(--primary); }

.pbm-pay-ch.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.pbm-plans {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 12px;
}

.pbm-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 14px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2, #f9fafb);
    text-align: center;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.pbm-plan:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 4px 12px rgba(0, 0, 0, .1));
}

.pbm-plan-tag {
    position: absolute;
    top: -9px;
    right: 10px;
    font-style: normal;
    font-size: .68rem;
    font-weight: 700;
    color: #fff;
    background: var(--amber);
    padding: 2px 9px;
    border-radius: var(--radius-pill);
}

.pbm-plan-coins {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--amber);
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.pbm-plan-coins small { font-size: .72rem; font-weight: 600; margin-left: 3px; }

.pbm-plan-price { font-size: .92rem; font-weight: 700; color: var(--text); }

.pbm-plan-bonus { font-size: .74rem; color: var(--green); }

.pbm-plan .pbm-btn { margin-top: 6px; width: 100%; }

.pbm-custom {
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: var(--surface-2, #f9fafb);
}

.pbm-custom-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.pbm-custom-head b { font-size: .95rem; color: var(--text); }
.pbm-custom-head span { font-size: .76rem; color: var(--text-light); }

.pbm-custom-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

.pbm-custom-input {
    display: flex; align-items: center; gap: 6px;
    flex: 1 1 190px; padding: 0 12px;
    border: 1px solid var(--line); border-radius: var(--radius-sm, 6px);
    background: var(--card);
    transition: var(--transition);
}
.pbm-custom-input:focus-within { border-color: var(--primary); }

.pbm-custom-input input {
    flex: 1; min-width: 0;
    padding: 10px 0; border: 0; background: transparent;
    font-size: 1rem; font-weight: 700; color: var(--text);
    font-variant-numeric: tabular-nums; outline: none;
}
.pbm-custom-input span { font-size: .82rem; color: var(--text-light); }

.pbm-custom-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.pbm-custom-quick button {
    padding: 6px 12px;
    border: 1px solid var(--line); border-radius: var(--radius-pill);
    background: transparent; cursor: pointer;
    font-size: .8rem; font-weight: 600; color: var(--text);
    font-variant-numeric: tabular-nums;
    transition: var(--transition);
}
.pbm-custom-quick button:hover { border-color: var(--primary); color: var(--primary); }

.pbm-custom-sum { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.pbm-custom-sum-label { font-size: .82rem; color: var(--text-light); }
.pbm-custom-sum b { font-size: 1.3rem; font-weight: 800; color: var(--amber); font-variant-numeric: tabular-nums; }
.pbm-custom-hint { font-size: .76rem; color: var(--text-light); }
.pbm-custom-hint.is-bad { color: var(--red); }

.pbm-custom .pbm-btn { width: 100%; }

.pbm-pay-ch.pbm-pay-wx.is-active {
    background: #07c160;
    border-color: #07c160;
}

.pbm-pay-ch.pbm-pay-ali.is-active {
    background: #1677ff;
    border-color: #1677ff;
}

.pbm-qr {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(15, 23, 42, .48);
}

.pbm-qr[hidden] { display: none; }

.pbm-qr-box {
    position: relative;
    width: 100%;
    max-width: 360px;
    padding: 24px 22px 20px;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg, 0 10px 25px rgba(0, 0, 0, .1));
    text-align: center;
    animation: pbmQrIn .22s ease-out;
}

@keyframes pbmQrIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .pbm-qr-box { animation: none; }
}

.pbm-qr-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.pbm-qr-close:hover { background: var(--soft); color: var(--text); }

.pbm-qr-box h4 { margin: 0 0 4px; font-size: 1.05rem; color: var(--text); }

.pbm-qr-tip { margin: 0 0 14px; font-size: .82rem; color: var(--text-light); }

.pbm-qr-imgwrap {
    position: relative;
    width: 212px;
    height: 212px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #fff;
    overflow: hidden;
}

.pbm-qr-imgwrap img { display: block; width: 212px; height: 212px; }

.pbm-qr-imgwrap img[hidden] { display: none; }

.pbm-qr-loading { padding: 0 18px; font-size: .8rem; color: var(--text-light); line-height: 1.6; }

.pbm-qr-meta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
    font-size: .78rem; color: var(--text-light); margin-bottom: 10px; }

.pbm-qr-meta b { color: var(--text); font-weight: 600; }

.pbm-qr-link { display: flex; gap: 8px; margin-bottom: 12px; }

.pbm-qr-link input {
    flex: 1;
    min-width: 0;
    padding: 7px 10px;
    font-size: .76rem;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--soft);
    color: var(--text-light);
}

.pbm-qr-link .pbm-btn { flex: none; }

.pbm-qr-ops { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.pbm-qr-ops .pbm-btn { flex: 1 1 auto; }

.pbm-qr-note { margin: 12px 0 0; font-size: .74rem; color: var(--text-light); line-height: 1.65; }

.pbm-ord {
    flex: none;
    font-size: .74rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.pbm-ord-pending { background: var(--amber-bg); color: var(--amber); }
.pbm-ord-paid    { background: var(--green-bg); color: var(--green); }
.pbm-ord-closed  { background: var(--red-bg);   color: var(--red); }

.pbm-coin-delta {
    flex: none;
    font-size: .92rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.pbm-coin-delta.is-up   { color: var(--green); }
.pbm-coin-delta.is-down { color: var(--red); }

.pbm-tip.is-warn {
    color: var(--amber);
    background: var(--amber-bg);
    border-radius: 10px;
    padding: 9px 12px;
}

.pbm-titles { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }

.pbm-title-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2, rgba(255, 255, 255, .55));
    transition: .16s;
}

.pbm-title-item.is-on {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.pbm-title-meta {
    flex: 1 1 auto;
    min-width: 0;
    font-size: .78rem;
    color: var(--text-light);
}

.pbm-title-item .pbm-btn { flex: none; }

.pbm-badges {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 10px;
}

.pbm-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 14px 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-2, rgba(255, 255, 255, .55));
    text-align: center;
    transition: .18s;
}

.pbm-badge-item:hover {
    transform: translateY(-2px);
    border-color: currentColor;
    box-shadow: var(--shadow-md, 0 4px 12px rgba(0, 0, 0, .1));
}

.pbm-badge-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: currentColor;
    color: inherit;
}

.pbm-badge-ico {
    background: var(--surface-3, rgba(148, 163, 184, .14));
}

.pbm-badge-ico svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.pbm-badge-ico img { width: 26px; height: 26px; object-fit: contain; border-radius: 50%; }

.pbm-badge-item b { font-size: .84rem; color: currentColor; }

.pbm-badge-src { font-size: .7rem; color: var(--text-light); }

.pbm-badges-lg { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pbm-badges-lg .pbm-badge-item { padding: 18px 12px; border-radius: var(--radius); }
.pbm-badges-lg .pbm-badge-ico { width: 48px; height: 48px; }
.pbm-badges-lg .pbm-badge-ico svg { width: 25px; height: 25px; }
.pbm-badges-lg .pbm-badge-ico img { width: 30px; height: 30px; }
.pbm-badges-lg .pbm-badge-item b { font-size: .9rem; }
.pbm-badges-lg .pbm-badge-src { font-size: .74rem; }

@media (max-width: 768px) {
    .pbm-plans { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .pbm-badges { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); }
    .pbm-title-item { align-items: flex-start; }
}

.pbm-wealth-hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pbm-wealth-card {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 20px; border-radius: var(--radius);
    background: var(--card); border: 1px solid var(--border);
}
.pbm-wealth-ico {
    flex: none; width: 46px; height: 46px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}
.pbm-wealth-ico svg {
    width: 24px; height: 24px; fill: none; stroke: #fff;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.pbm-wealth-card.is-points .pbm-wealth-ico { background: var(--blue); }
.pbm-wealth-card.is-coins .pbm-wealth-ico { background: var(--amber); }
.pbm-wealth-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pbm-wealth-info b { font-size: 1.45rem; line-height: 1.2; }
.pbm-wealth-info span { font-size: .78rem; color: var(--text-light); }
.pbm-wealth-info em {
    font-style: normal; display: flex; flex-wrap: wrap; gap: 6px;
    margin-top: 5px; font-size: .8rem; color: var(--text-muted);
}

.pbm-lvl-progress {
    height: 8px; border-radius: var(--radius-pill); overflow: hidden;
    background: var(--soft); margin: 4px 0 12px;
}
.pbm-lvl-progress i {
    display: block; height: 100%; border-radius: var(--radius-pill);
    background: var(--primary);
    transition: width .4s ease;
}

.pbm-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.pbm-duo .pbm-block { margin-bottom: 0; }

.pbm-wealth-hero-v2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pbm-wealth-card.is-level {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 12px 18px;
}
.pbm-wealth-card.is-level .pbm-wealth-ico { background: var(--purple); }
.pbm-wealth-card.is-level .pbm-wealth-info { flex: 1; min-width: 200px; }
.pbm-wealth-card.is-level .pbm-wealth-info b { font-size: 1.25rem; }
.pbm-wealth-progress { flex: 1 1 100%; display: flex; align-items: center; gap: 10px; }
.pbm-wealth-progress .pbm-lvl-progress { flex: 1; margin: 0; }
.pbm-wealth-progress > span { flex: none; font-size: .78rem; font-weight: 600; color: var(--text-muted); font-variant-numeric: tabular-nums; }

@media (max-width: 768px) {
    .pbm-wealth-hero { grid-template-columns: minmax(0, 1fr); }
    .pbm-duo { grid-template-columns: minmax(0, 1fr); }
    .pbm-wealth-card { padding: 14px 16px; }
    .pbm-wealth-progress { flex-basis: 100%; }
}

.pbm-oauth { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.pbm-oauth-title { margin: 0 0 10px; text-align: center; font-size: .76rem; color: var(--text-light, #8a94a6); letter-spacing: .06em; }
.pbm-oauth-list { display: flex; flex-direction: column; gap: 10px; }
.pbm-oauth-item {
    display: flex; align-items: center; gap: 12px; padding: 11px 14px;
    border-radius: var(--radius); text-decoration: none; color: #fff;
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.pbm-oauth-item:hover { color: #fff; opacity: .94; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(15, 23, 42, .16); }
.pbm-oauth-item:active { transform: none; box-shadow: none; }
.pbm-oauth-ico { flex: none; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.pbm-oauth-ico svg { width: 18px; height: 18px; fill: #fff; }
.pbm-oauth-zi { font-size: .95rem; font-weight: 700; line-height: 1; color: #fff; }
.pbm-oauth-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.pbm-oauth-meta b { font-size: .9rem; font-weight: 600; }
.pbm-oauth-meta i { font-style: normal; font-size: .73rem; opacity: .85; margin-top: 1px; }
.pbm-oauth-arrow { flex: none; width: 16px; height: 16px; fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pbm-oauth-item.is-qq  { background: linear-gradient(135deg, #12b7f5, #0f9fd8); }
.pbm-oauth-item.is-wx  { background: linear-gradient(135deg, #07c160, #059a4c); }
.pbm-oauth-item.is-zfb { background: linear-gradient(135deg, #1677ff, #125fd6); }

.pbm-bind-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.pbm-bind-card { background: var(--card, var(--surface, #fff)); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.pbm-bind-card.is-wide { grid-column: 1 / -1; }
.pbm-bind-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.pbm-bind-head b { font-size: .95rem; }
.pbm-bind-tag { font-size: .72rem; font-weight: 600; color: var(--text-muted); background: var(--surface-2, #f3f4f6); border-radius: var(--radius-pill, 999px); padding: 3px 10px; }
.pbm-bind-tag.is-on { color: #16a34a; background: rgba(34, 197, 94, .12); }
.pbm-bind-tag.is-off { color: #9ca3af; background: var(--surface-2, #f3f4f6); }
.pbm-bind-info { font-size: .82rem; color: var(--text-muted); line-height: 1.7; margin: 0 0 12px; }

.pbm-bind-mail { display: grid; gap: 12px; }
.pbm-bind-mail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.pbm-bind-field label { display: block; font-size: .8rem; color: var(--text-light); margin-bottom: 6px; }
.pbm-bind-field input[type="email"], .pbm-bind-field input[type="text"] {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 9px 12px;
    background: var(--soft);
    color: var(--text);
    font-size: .9rem;
    font-family: inherit;
    outline: none;
    transition: border-color .15s ease;
}
.pbm-bind-field input[type="email"]:focus, .pbm-bind-field input[type="text"]:focus { border-color: var(--primary); }
.pbm-bind-mail-code { display: flex; gap: 8px; }
.pbm-bind-mail-code input { flex: 1; min-width: 0; }
.pbm-bind-mail-code .pbm-btn { flex: none; white-space: nowrap; }
.pbm-bind-mail-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pbm-bind-mail-hint { font-size: .76rem; color: var(--text-light); margin: 0; }

@media (max-width: 768px) {
    .pbm-bind-grid { grid-template-columns: minmax(0, 1fr); }
    .pbm-bind-mail-grid { grid-template-columns: minmax(0, 1fr); }
}

.pbm-profile { display: flex; flex-direction: column; gap: 16px; }

.pbm-pr-ops {
    flex: none;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pbm-pr-ops .pbm-btn { padding: 8px 18px; font-size: .85rem; }

.pbm-pr-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.pbm-metric-val.is-text {
    font-size: 1.12rem;
    line-height: 1.5;
    letter-spacing: 0;
    font-variant-numeric: normal;
}

.pbm-pr-block { padding: 18px 20px 20px; }

.pbm-pr-h {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.pbm-pr-h small { font-size: .76rem; font-weight: 500; color: var(--text-light); }

.pbm-pr-wall {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 10px;
}

.pbm-pr-item {
    --tone: var(--text-body);
    --tone-bg: var(--surface-3);
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
    transition: border-color .16s ease, box-shadow .16s ease;
}

.pbm-pr-item.c-blue { --tone: var(--blue); --tone-bg: var(--blue-bg); }
.pbm-pr-item.c-cyan { --tone: var(--cyan); --tone-bg: var(--cyan-bg); }
.pbm-pr-item.c-teal { --tone: var(--teal); --tone-bg: var(--teal-bg); }
.pbm-pr-item.c-green { --tone: var(--green); --tone-bg: var(--green-bg); }
.pbm-pr-item.c-indigo { --tone: var(--indigo); --tone-bg: var(--indigo-bg); }
.pbm-pr-item.c-purple { --tone: var(--purple); --tone-bg: var(--purple-bg); }
.pbm-pr-item.c-pink { --tone: var(--pink); --tone-bg: var(--pink-bg); }
.pbm-pr-item.c-amber { --tone: var(--amber); --tone-bg: var(--amber-bg); }
.pbm-pr-item.c-orange { --tone: var(--orange); --tone-bg: var(--orange-bg); }
.pbm-pr-item.c-red { --tone: var(--red); --tone-bg: var(--red-bg); }

.pbm-pr-item.is-on {
    border-color: var(--tone);
    box-shadow: 0 0 0 3px var(--tone-bg);
}

.pbm-pr-item-name {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .86rem;
    font-weight: 700;
    color: var(--tone);
    word-break: break-word;
}

.pbm-pr-item-name img {
    height: 1.25em;
    width: auto;
    flex: none;
    border-radius: 4px;
    object-fit: contain;
}

.pbm-pr-item-meta { font-size: .72rem; color: var(--text-light); line-height: 1.6; }

.pbm-pr-worn {
    flex: none;
    margin-left: auto;
    padding: 1px 8px;
    border-radius: var(--radius-pill, 999px);
    background: var(--tone);
    color: #fff;
    font-size: .66rem;
    font-style: normal;
    font-weight: 700;
}

.pbm-pr-logs { list-style: none; }

.pbm-pr-logs li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 2px;
    border-bottom: 1px dashed var(--line);
}

.pbm-pr-logs li:last-child { border-bottom: none; }

.pbm-pr-logs a {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: .88rem;
    color: var(--text);
    text-decoration: none;
    transition: color .15s ease;
}

.pbm-pr-logs a:hover { color: var(--primary); }

.pbm-pr-log-date { flex: none; font-size: .74rem; color: var(--text-light); }

.pbm-pr-more { margin-top: 12px; font-size: .82rem; }
.pbm-pr-more a { color: var(--primary); text-decoration: none; font-weight: 600; }

.pbm-pr-empty { font-size: .85rem; color: var(--text-light); }

.pbm-pr-online { font-size: .8rem; color: var(--text-light); }

.pbm-pr-miss { padding: 52px 24px; text-align: center; }
.pbm-pr-miss h1 { margin-bottom: 6px; font-size: 1.4rem; color: var(--text); }
.pbm-pr-miss-sub { margin-bottom: 20px; font-size: .88rem; color: var(--text-light); }

@media (max-width: 900px) {
    .pbm-pr-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .pbm-profile { gap: 14px; }
    .pbm-pr-block { padding: 15px 15px 17px; }
    .pbm-pr-ops { width: 100%; margin-left: 0; }
    .pbm-pr-ops .pbm-btn { flex: 1; justify-content: center; text-align: center; }
    .pbm-pr-wall { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .pbm-pr-logs li { gap: 8px; }
}

:where(.pbm-app) a,
:where(.pbm-app) a:hover { color: inherit; text-decoration: none; }

.pbm-dash-cols { margin-bottom: 0; }
.pbm-dash-cols > .col-lg-8 { min-width: 0; }
.pbm-dash-cols > aside { min-width: 0; }

.pbm-dash-head .pbm-dash-ops {
    width: 100%;
    padding: 10px 0 0;
    margin: 2px 0 0;
    background: transparent;
    border: 0;
    border-top: 1px dashed var(--border);
    border-radius: 0;
    box-shadow: none;
}

button.pbm-side-card {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    color: inherit;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: block;
    padding: 16px 18px;
    
    background: var(--tip-bg, #fff);
    color: var(--tip-fg, var(--text));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
button.pbm-side-card:hover,
button.pbm-side-card:focus-visible {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md, 0 4px 12px rgba(0, 0, 0, .1));
    outline: none;
}

.pbm-side-label {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    color: var(--text-light);
    margin-bottom: 10px;
}

.pbm-side-level-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.pbm-side-level-top .pbm-metric-val { font-size: 1.22rem; }
.pbm-side-level-pct {
    font-size: .82rem;
    font-weight: 700;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
    background: var(--soft);
    border-radius: 999px;
    padding: 3px 9px;
}

.pbm-progress {
    --bs-progress-height: 8px;
    
    --bs-progress-bg: var(--tip-bg, #fff);
    --bs-progress-border-radius: 999px;
    --bs-progress-border-color: transparent;
    --bs-progress-bar-bg: var(--tone, var(--primary));
    display: block;
}
.pbm-progress-bar { transition: width .45s ease; }

.pbm-side-level-sub {
    display: block;
    margin-top: 9px;
    font-size: .76rem;
    color: var(--text-light);
}

.pbm-side-quick {
    
    --bs-list-group-bg: var(--tip-bg, #fff);
    --bs-list-group-border-color: var(--border);
    --bs-list-group-border-radius: var(--radius);
    --bs-list-group-color: var(--tip-fg, var(--text-body));
    --bs-list-group-hover-bg: var(--soft);
    --bs-list-group-action-hover-color: var(--tip-fg, var(--text));
    --bs-list-group-active-bg: var(--tip-bg, #fff);
    --bs-list-group-active-color: var(--tip-fg, var(--text));
    --bs-list-group-active-border-color: var(--border);
    --bs-list-group-item-padding-y: 12px;
    --bs-list-group-item-padding-x: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.pbm-side-quick-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: .88rem;
    font-weight: 600;
    transition: color .15s ease, background .15s ease, padding-left .15s ease;
}
.pbm-side-quick-item:hover { padding-left: 19px; }
.pbm-side-quick-arrow {
    font-style: normal;
    font-size: 1.05rem;
    line-height: 1;
    color: var(--text-light);
    transition: color .15s ease, transform .15s ease;
}
.pbm-side-quick-item:hover .pbm-side-quick-arrow {
    color: var(--primary);
    transform: translateX(2px);
}

@media (max-width: 991.98px) {
    .pbm-side-level { margin-bottom: 12px; }
    
    .pbm-side-level-top .pbm-metric-val { font-size: 1.3rem; }
}

.pbm-block .pbm-dash-head.is-plain {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .pbm-block .pbm-dash-head.is-plain { padding: 0; }
}

.pbm-metric-level .pbm-progress { margin-top: 4px; }
.pbm-metric-level .pbm-metric-sub { margin-top: 2px; }

.pbm-block .pbm-dash-recs { margin-bottom: 0; }
