:root {
    --ppb-bg-deep: #04050d;
    --ppb-bg-mid: #101831;
    --ppb-bg-soft: #1b2350;
    --ppb-white-08: rgba(255, 255, 255, 0.08);
    --ppb-white-14: rgba(255, 255, 255, 0.14);
    --ppb-white-22: rgba(255, 255, 255, 0.22);
    --ppb-accent: #f5cc5f;
    --ppb-font: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

.ppb-root {
    min-height: 100vh;
    color: #fff;
    font-family: var(--ppb-font);
    position: relative;
    overflow: hidden;
    padding: 1rem;
}

.ppb-bg-gradient {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 16% 10%, rgba(139, 92, 246, 0.28) 0%, transparent 40%),
        radial-gradient(circle at 84% 14%, rgba(14, 165, 233, 0.24) 0%, transparent 44%),
        radial-gradient(circle at 52% 85%, rgba(56, 189, 248, 0.14) 0%, transparent 48%),
        linear-gradient(180deg, #0a1230 0%, #070c21 42%, #04060f 100%);
    z-index: 0;
}

.ppb-stars {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.ppb-star {
    position: absolute;
    background: #fff;
    border-radius: 999px;
    animation: ppb-star-pulse 4s ease-in-out infinite alternate;
}

.ppb-flash {
    position: fixed;
    inset: 0;
    background: #fff;
    opacity: 0;
    z-index: 100;
    pointer-events: none;
    transition: opacity 700ms ease;
}

.ppb-topbar {
    position: relative;
    z-index: 12;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    padding: 0.9rem 1.1rem;
    border-radius: 1rem;
    background: rgba(8, 12, 28, 0.62);
    border: 1px solid var(--ppb-white-14);
    backdrop-filter: blur(10px);
}

.ppb-top-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ppb-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.ppb-brand-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffe8a4, #e1a600);
    color: #2e2301;
    font-size: 1rem;
}

.ppb-brand h1 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.ppb-brand p {
    margin: 0.1rem 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

.ppb-top-controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.ppb-mode-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.ppb-mode-tab {
    border: 1px solid var(--ppb-white-22);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.88);
    border-radius: 999px;
    padding: 0.55rem 1.1rem;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 170ms ease;
}

.ppb-mode-tab:hover {
    background: rgba(255, 255, 255, 0.1);
}

.ppb-mode-tab.is-active {
    border-color: rgba(252, 211, 77, 0.55);
    background: linear-gradient(135deg, rgba(252, 211, 77, 0.28), rgba(251, 191, 36, 0.38));
    color: #fff6d2;
    box-shadow: 0 0 20px rgba(252, 211, 77, 0.24);
}

.ppb-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
}

.ppb-toggle input {
    accent-color: #c59aff;
}

.ppb-screen {
    position: relative;
    z-index: 10;
    min-height: calc(100vh - 7.2rem);
    padding-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ppb-screen.is-hidden {
    display: none;
}

.ppb-mode-view.is-hidden {
    display: none;
}

.ppb-setup-shell {
    width: min(1600px, 100%);
    display: grid;
    grid-template-columns: 1.05fr 1.3fr;
    gap: 1rem;
}

.ppb-panel {
    border-radius: 1.2rem;
    background: rgba(8, 12, 30, 0.72);
    border: 1px solid var(--ppb-white-14);
    backdrop-filter: blur(12px);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
}

.ppb-panel-info {
    padding: 1.2rem;
}

.ppb-panel-info h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    font-weight: 800;
}

.ppb-muted {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.55;
}

.ppb-btn-row {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.ppb-soft-btn,
.ppb-ghost-btn {
    border: 1px solid var(--ppb-white-22);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    border-radius: 0.75rem;
    padding: 0.62rem 0.8rem;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 170ms ease;
}

.ppb-soft-btn:hover,
.ppb-ghost-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.ppb-stats-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.ppb-stat-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--ppb-white-14);
    border-radius: 0.8rem;
    padding: 0.75rem;
    min-height: 5.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ppb-stat-label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
}

.ppb-stat-card strong {
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    line-height: 1;
}

.ppb-message {
    margin-top: 0.9rem;
    min-height: 2.7rem;
    padding: 0.6rem 0.75rem;
    border-radius: 0.8rem;
    border: 1px dashed transparent;
    font-size: 0.9rem;
    line-height: 1.45;
}

.ppb-message.warn {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.45);
    color: #fde68a;
}

.ppb-message.info {
    background: rgba(148, 163, 184, 0.17);
    border-color: rgba(148, 163, 184, 0.45);
    color: #e2e8f0;
}

.ppb-primary-btn {
    width: 100%;
    margin-top: 0.9rem;
    border: 0;
    border-radius: 0.85rem;
    padding: 0.9rem 1rem;
    background: linear-gradient(135deg, #fee587, #f5c746);
    color: #1f2937;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 180ms ease, filter 180ms ease;
}

.ppb-primary-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.ppb-primary-btn:active {
    transform: translateY(0);
}

.ppb-primary-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.ppb-panel-input {
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.ppb-panel-input label {
    font-weight: 800;
    margin-bottom: 0.45rem;
    font-size: 1rem;
}

.ppb-textarea {
    width: 100%;
    min-height: 420px;
    border-radius: 0.95rem;
    border: 1px solid var(--ppb-white-22);
    background: rgba(2, 4, 12, 0.62);
    color: #fff;
    font-size: 1.06rem;
    line-height: 1.65;
    padding: 0.95rem;
    resize: none;
}

.ppb-textarea:focus {
    outline: none;
    border-color: #d8b4fe;
    box-shadow: 0 0 0 3px rgba(216, 180, 254, 0.25);
}

.ppb-input-hint {
    margin: 0.45rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
}

.ppb-universe-shell {
    width: min(1660px, 100%);
    min-height: 76vh;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1rem;
}

.ppb-universe-main,
.ppb-history-panel,
.ppb-history-inline,
.ppb-history-box {
    border-radius: 1.1rem;
    background: rgba(8, 12, 30, 0.72);
    border: 1px solid var(--ppb-white-14);
    backdrop-filter: blur(12px);
}

.ppb-universe-main {
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.ppb-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ppb-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    border: 1px solid var(--ppb-white-22);
    border-radius: 999px;
    padding: 0.35rem 0.72rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.86rem;
}

.ppb-universe-title {
    margin: 0.75rem 0 0;
    text-align: center;
    font-size: clamp(1.5rem, 3.8vw, 2.6rem);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.ppb-progress-wrap {
    margin-top: 0.62rem;
}

.ppb-progress-label {
    margin: 0;
    color: rgba(226, 232, 240, 0.9);
    font-size: 0.84rem;
    font-weight: 700;
}

.ppb-progress-track {
    margin-top: 0.36rem;
    width: 100%;
    height: 0.58rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.28);
    overflow: hidden;
}

.ppb-progress-bar {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #22d3ee, #facc15);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.42);
    transition: width 220ms ease;
}

.ppb-picked-card {
    margin: 0.72rem auto 0;
    width: min(760px, 100%);
    padding: 0.82rem 0.9rem 0.88rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.42);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.58), rgba(15, 23, 42, 0.34));
    text-align: center;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.ppb-picked-card.is-picked {
    border-color: rgba(251, 191, 36, 0.7);
    box-shadow: 0 0 18px rgba(251, 191, 36, 0.24);
}

.ppb-picked-label {
    margin: 0;
    color: rgba(253, 230, 138, 0.96);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.ppb-picked-name {
    margin: 0.35rem 0 0;
    font-size: clamp(1.55rem, 3.7vw, 2.35rem);
    line-height: 1.08;
    font-weight: 900;
    color: #f8fafc;
}

.ppb-result-modal {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(5px);
}

.ppb-result-modal.is-hidden {
    display: none;
}

.ppb-result-panel {
    width: min(980px, 100%);
    border-radius: 1.25rem;
    border: 1px solid rgba(251, 191, 36, 0.6);
    background:
        radial-gradient(circle at 50% 0%, rgba(251, 191, 36, 0.22), transparent 60%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.85));
    box-shadow: 0 0 42px rgba(251, 191, 36, 0.2);
    padding: clamp(1.1rem, 2.5vw, 2rem);
    text-align: center;
}

.ppb-result-label {
    margin: 0;
    color: rgba(253, 230, 138, 0.96);
    font-size: clamp(0.78rem, 1.35vw, 0.95rem);
    font-weight: 900;
    letter-spacing: 0.16em;
}

.ppb-result-name {
    margin: 0.55rem 0 0;
    font-size: clamp(2.3rem, 8vw, 6rem);
    line-height: 1.06;
    font-weight: 900;
    color: #f8fafc;
    text-shadow: 0 0 24px rgba(250, 204, 21, 0.28);
    word-break: keep-all;
}

.ppb-result-meta {
    margin: 0.6rem 0 0;
    color: rgba(226, 232, 240, 0.94);
    font-size: clamp(1rem, 1.9vw, 1.45rem);
    font-weight: 700;
}

.ppb-result-next-btn {
    margin: 1.1rem auto 0;
    min-width: min(360px, 88%);
    font-size: clamp(1rem, 1.7vw, 1.2rem);
    padding-top: 0.82rem;
    padding-bottom: 0.82rem;
}

.ppb-orb-grid {
    margin-top: 0.6rem;
    min-height: clamp(420px, 58vh, 760px);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 0.85rem;
    border-radius: 1.45rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background:
        radial-gradient(circle at 18% 16%, rgba(125, 211, 252, 0.18), transparent 30%),
        radial-gradient(circle at 78% 22%, rgba(251, 191, 36, 0.14), transparent 26%),
        radial-gradient(circle at 52% 74%, rgba(167, 139, 250, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.04));
}

.ppb-orb {
    position: absolute;
    left: var(--orb-left);
    top: var(--orb-top);
    width: var(--orb-size);
    height: var(--orb-size);
    transform: translate(-50%, -50%) rotate(var(--orb-rotation)) scale(var(--orb-scale));
    transform-origin: center;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    z-index: 2;
    background: transparent;
    box-shadow:
        0 0 18px 2px var(--orb-glow),
        0 0 34px 5px var(--orb-glow);
    transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
    animation: var(--orb-float) var(--orb-duration, 4.6s) ease-in-out infinite;
    animation-delay: var(--orb-delay);
    will-change: transform, opacity;
    clip-path: polygon(
        50% 3%,
        61% 33%,
        95% 35%,
        68% 54%,
        78% 87%,
        50% 68%,
        22% 87%,
        32% 54%,
        5% 35%,
        39% 33%
    );
}

.ppb-orb:hover {
    transform: translate(-50%, calc(-50% - 9px)) rotate(var(--orb-rotation)) scale(var(--orb-hover-scale));
}

.ppb-orb:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: 3px;
}

.ppb-orb::before {
    content: "";
    position: absolute;
    inset: 0;
    clip-path: inherit;
    background: radial-gradient(circle at 50% 34%, #fff 12%, var(--orb-core) 56%, rgba(255, 255, 255, 0.1) 100%);
    box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.66);
}

.ppb-orb::after {
    content: "";
    position: absolute;
    inset: -7px;
    clip-path: inherit;
    background: var(--orb-core);
    filter: blur(11px);
    opacity: 0.48;
    z-index: -1;
}

.ppb-orb-core {
    position: absolute;
    width: 34%;
    height: 34%;
    top: 33%;
    left: 33%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow:
        0 0 12px rgba(255, 255, 255, 0.92),
        0 0 26px rgba(255, 255, 255, 0.68);
}

.ppb-orb.is-picked {
    pointer-events: none;
    animation: ppb-picked 400ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ppb-orb-empty {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(520px, calc(100% - 2rem));
    max-width: 520px;
    text-align: center;
    padding: 1rem 1.2rem;
    border-radius: 0.95rem;
    border: 1px dashed rgba(226, 232, 240, 0.44);
    background: rgba(15, 23, 42, 0.52);
    color: rgba(226, 232, 240, 0.92);
    font-size: 1rem;
    line-height: 1.45;
    transform: translate(-50%, -50%);
}
.ppb-bottom-actions {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.ppb-history-panel {
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.ppb-live-card {
    border-radius: 0.95rem;
    border: 1px solid rgba(253, 224, 71, 0.4);
    background: radial-gradient(circle at 50% 0%, rgba(251, 191, 36, 0.22), transparent 60%), rgba(4, 10, 28, 0.86);
    padding: 0.85rem;
    min-height: 8.8rem;
}

.ppb-live-card.is-selected {
    border-color: rgba(251, 191, 36, 0.68);
    box-shadow: 0 0 22px rgba(251, 191, 36, 0.28);
}

.ppb-live-label {
    margin: 0;
    color: rgba(253, 230, 138, 0.96);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.ppb-live-name {
    margin: 0.45rem 0 0;
    font-size: clamp(1.35rem, 2.35vw, 2rem);
    line-height: 1.08;
    font-weight: 900;
}

.ppb-live-meta {
    margin: 0.42rem 0 0;
    color: rgba(226, 232, 240, 0.92);
    font-size: 0.9rem;
    line-height: 1.4;
}

.ppb-side-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.ppb-shortcut-hint {
    margin: -0.05rem 0 0.15rem;
    color: rgba(203, 213, 225, 0.88);
    font-size: 0.82rem;
    line-height: 1.45;
}

.ppb-shortcut-hint kbd {
    display: inline-block;
    padding: 0.06rem 0.35rem;
    border-radius: 0.36rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.78);
    color: #f8fafc;
    font-size: 0.76rem;
    font-weight: 700;
}

.ppb-history-box {
    padding: 0.9rem;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.ppb-history-panel h3,
.ppb-history-inline h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}

.ppb-history-list {
    margin: 0.7rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-height: 63vh;
    overflow: auto;
}

.ppb-history-list li {
    border-radius: 0.7rem;
    border: 1px solid var(--ppb-white-14);
    background: rgba(255, 255, 255, 0.06);
    padding: 0.48rem 0.58rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.ppb-history-round {
    color: #c7d2fe;
    font-size: 0.78rem;
    font-weight: 700;
}

.ppb-history-name {
    font-size: 0.95rem;
    font-weight: 800;
}

.ppb-reveal-bg {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(16px);
    z-index: 2;
}

.ppb-particles {
    position: fixed;
    inset: 0;
    z-index: 18;
    pointer-events: none;
}

.ppb-particle {
    position: absolute;
    bottom: -10%;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #fcd34d;
    box-shadow: 0 0 10px rgba(252, 211, 77, 0.95);
    animation: ppb-particle-drift linear infinite;
}

.ppb-reveal-shell {
    position: relative;
    z-index: 4;
    width: min(980px, 100%);
    text-align: center;
}

.ppb-reveal-label {
    margin: 0;
    color: rgba(255, 235, 164, 0.92);
    font-weight: 700;
    letter-spacing: 0.18em;
}

.ppb-selected-wrap {
    position: relative;
    margin: 0.9rem 0 0.7rem;
}

.ppb-selected-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(22rem, 65vw);
    height: min(22rem, 65vw);
    border-radius: 999px;
    background: rgba(234, 179, 8, 0.24);
    filter: blur(80px);
}

.ppb-selected-name {
    position: relative;
    margin: 0;
    font-size: clamp(3rem, 12vw, 8rem);
    line-height: 1.05;
    font-weight: 900;
    text-shadow:
        0 0 24px rgba(253, 224, 71, 0.48),
        0 0 44px rgba(253, 224, 71, 0.27),
        0 0 74px rgba(255, 255, 255, 0.16);
}

.ppb-reveal-meta {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
}

.ppb-reveal-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.ppb-reveal-actions .ppb-primary-btn {
    width: auto;
    min-width: 180px;
    margin-top: 0;
}

.ppb-reveal-actions .ppb-ghost-btn {
    min-width: 180px;
}

.ppb-history-inline {
    margin-top: 1rem;
    padding: 0.9rem;
}

.ppb-history-inline .ppb-history-list {
    max-height: 220px;
}

.ppb-editor-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(6px);
    z-index: 45;
}

.ppb-editor-overlay.is-hidden {
    display: none;
}

.ppb-editor-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(560px, 95vw);
    background: rgba(4, 10, 28, 0.96);
    border-left: 1px solid var(--ppb-white-14);
    box-shadow: -14px 0 46px rgba(0, 0, 0, 0.42);
    padding: 1rem;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.ppb-editor-drawer.is-hidden {
    display: none;
}

.ppb-editor-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.ppb-editor-head h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 900;
}

.ppb-editor-help {
    margin: 0;
    color: rgba(226, 232, 240, 0.88);
    font-size: 0.9rem;
}

.ppb-editor-textarea {
    min-height: 0;
    height: 44vh;
    flex: 1 1 auto;
}

.ppb-editor-summary {
    margin: 0;
    color: rgba(253, 230, 138, 0.95);
    font-weight: 700;
    font-size: 0.9rem;
}

.ppb-editor-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.ppb-editor-actions {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0.55rem;
}

.ppb-editor-actions .ppb-primary-btn {
    margin-top: 0;
}

.pbl-setup-shell {
    width: min(1700px, 100%);
    display: grid;
    grid-template-columns: 1.05fr 1.45fr;
    gap: 1rem;
}

.pbl-role-switch {
    margin: 0.75rem 0 0;
    border: 1px solid var(--ppb-white-14);
    border-radius: 0.9rem;
    padding: 0.68rem;
    background: rgba(255, 255, 255, 0.04);
}

.pbl-role-switch legend {
    font-weight: 800;
    font-size: 0.84rem;
    color: #fef3c7;
    padding: 0 0.25rem;
}

.pbl-radio {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.94);
    margin: 0.24rem 0;
}

.pbl-radio input {
    accent-color: #fbbf24;
}

.pbl-role-wrap {
    margin-top: 0.75rem;
    border: 1px solid var(--ppb-white-14);
    border-radius: 0.9rem;
    padding: 0.62rem;
    background: rgba(255, 255, 255, 0.04);
}

.pbl-role-wrap.is-disabled {
    opacity: 0.52;
    filter: grayscale(0.22);
}

.pbl-role-wrap[hidden] {
    display: none;
}

.pbl-role-wrap label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.pbl-textarea-names {
    min-height: 250px;
}

.pbl-textarea-roles {
    min-height: 148px;
}

.pbl-stage-shell {
    width: min(1780px, 100%);
    min-height: 78vh;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1rem;
}

.pbl-stage-main,
.pbl-side-panel {
    border-radius: 1.15rem;
    background: rgba(8, 12, 30, 0.72);
    border: 1px solid var(--ppb-white-14);
    backdrop-filter: blur(12px);
}

.pbl-stage-main {
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.pbl-stage-title {
    margin-bottom: 0.35rem;
}

.pbl-stage-guide {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    text-align: center;
    font-size: 0.95rem;
}

.pbl-board-wrap {
    margin-top: 0.58rem;
    border-radius: 1rem;
    border: 1px solid var(--ppb-white-14);
    background: linear-gradient(180deg, rgba(5, 8, 22, 0.95), rgba(12, 19, 39, 0.96));
    padding: 0.72rem;
}

.pbl-top-row,
.pbl-bottom-row {
    display: grid;
    gap: 0.38rem;
    width: 100%;
}

.pbl-top-row {
    margin-bottom: 0.5rem;
}

.pbl-bottom-row {
    margin-top: 0.5rem;
}

.pbl-top-node {
    border-radius: 0.85rem;
    border: 1px solid rgba(147, 197, 253, 0.45);
    background: rgba(30, 64, 175, 0.18);
    color: #dbeafe;
    min-height: 2.72rem;
    padding: 0.3rem 0.24rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.08rem;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.pbl-top-node:hover {
    transform: translateY(-1px);
    border-color: rgba(253, 224, 71, 0.55);
    background: rgba(251, 191, 36, 0.17);
}

.pbl-top-node.is-revealed {
    border-color: rgba(74, 222, 128, 0.65);
    background: rgba(22, 163, 74, 0.2);
    color: #dcfce7;
}

.pbl-node-index {
    font-size: 0.68rem;
    opacity: 0.82;
}

.pbl-node-name {
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pbl-svg-wrap {
    border-radius: 0.95rem;
    border: 1px solid var(--ppb-white-14);
    background: radial-gradient(circle at 50% -10%, rgba(56, 189, 248, 0.08), transparent 55%), rgba(2, 6, 23, 0.82);
    min-height: 408px;
    overflow: hidden;
}

.pbl-svg {
    width: 100%;
    height: 408px;
    display: block;
}

.pbl-line-v {
    stroke: rgba(125, 211, 252, 0.68);
    stroke-width: 5;
    stroke-linecap: round;
}

.pbl-line-h {
    stroke: rgba(244, 114, 182, 0.75);
    stroke-width: 6.5;
    stroke-linecap: round;
}

.pbl-path-active {
    stroke: #fde047;
    stroke-width: 10;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    filter: drop-shadow(0 0 8px rgba(253, 224, 71, 0.9)) drop-shadow(0 0 18px rgba(251, 191, 36, 0.6));
}

.pbl-bottom-node {
    border-radius: 0.85rem;
    border: 1px solid rgba(196, 181, 253, 0.42);
    background: rgba(91, 33, 182, 0.2);
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.35rem;
    font-weight: 800;
    color: #ede9fe;
    transition: all 180ms ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pbl-top-row.is-compact,
.pbl-bottom-row.is-compact {
    gap: 0.35rem;
}

.pbl-top-row.is-compact .pbl-top-node,
.pbl-bottom-row.is-compact .pbl-bottom-node {
    min-height: 2.6rem;
    padding: 0.3rem 0.2rem;
}

.pbl-top-row.is-compact .pbl-node-index {
    font-size: 0.62rem;
}

.pbl-top-row.is-compact .pbl-node-name,
.pbl-bottom-row.is-compact .pbl-bottom-node {
    font-size: 0.78rem;
}

.pbl-top-row.is-dense,
.pbl-bottom-row.is-dense {
    gap: 0.25rem;
}

.pbl-top-row.is-dense .pbl-top-node,
.pbl-bottom-row.is-dense .pbl-bottom-node {
    min-height: 1.95rem;
    padding: 0.16rem 0.1rem;
    border-radius: 0.6rem;
}

.pbl-top-row.is-dense .pbl-node-index {
    display: none;
}

.pbl-top-row.is-dense .pbl-node-name,
.pbl-bottom-row.is-dense .pbl-bottom-node {
    font-size: 0.62rem;
}

.pbl-bottom-node.is-hidden-result {
    color: transparent;
    text-shadow: 0 0 10px rgba(226, 232, 240, 0.6);
    user-select: none;
}

.pbl-bottom-node.is-revealed {
    border-color: rgba(250, 204, 21, 0.65);
    background: rgba(113, 63, 18, 0.28);
    color: #fef3c7;
}

.pbl-bottom-node.is-prize {
    border-color: rgba(74, 222, 128, 0.7);
    background: rgba(22, 163, 74, 0.25);
    color: #dcfce7;
}

.pbl-stage-message {
    margin-top: 0.62rem;
    min-height: 1.8rem;
}

.pbl-bottom-actions {
    margin-top: 0.62rem;
    justify-content: space-between;
    gap: 0.55rem;
}

.pbl-bottom-actions .ppb-soft-btn,
.pbl-bottom-actions .ppb-ghost-btn {
    flex: 1 1 33%;
}

.pbl-side-panel {
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pbl-live-card {
    position: relative;
    border-radius: 0.95rem;
    border: 1px solid rgba(251, 191, 36, 0.36);
    background: radial-gradient(circle at 50% 0%, rgba(250, 204, 21, 0.18), transparent 58%), rgba(5, 12, 32, 0.85);
    padding: 0.85rem;
    min-height: 9.6rem;
    overflow: hidden;
}

.pbl-live-label {
    margin: 0;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    font-weight: 800;
    color: rgba(252, 211, 77, 0.95);
}

.pbl-live-name {
    margin: 0.45rem 0 0;
    font-size: clamp(1.35rem, 2.3vw, 1.95rem);
    line-height: 1.1;
    font-weight: 900;
}

.pbl-live-role {
    margin: 0.4rem 0 0;
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.86);
}

.pbl-live-card.is-winner {
    border-color: rgba(74, 222, 128, 0.62);
    box-shadow: 0 0 24px rgba(74, 222, 128, 0.35);
}

.pbl-live-sparks {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.pbl-live-sparks span {
    position: absolute;
    width: 0.36rem;
    height: 0.36rem;
    border-radius: 999px;
    background: #fde047;
    box-shadow: 0 0 8px rgba(253, 224, 71, 0.9);
    animation: pbl-spark-rise 850ms ease-out forwards;
}

.pbl-history-box {
    border-radius: 0.95rem;
    border: 1px solid var(--ppb-white-14);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.pbl-history-box h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}

.pbl-reveal-list {
    list-style: none;
    margin: 0.7rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
    max-height: 56vh;
    overflow-y: auto;
}

.pbl-reveal-list li {
    border-radius: 0.75rem;
    border: 1px solid var(--ppb-white-14);
    background: rgba(255, 255, 255, 0.07);
    padding: 0.45rem 0.55rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    animation: pbl-reveal-enter 260ms ease-out;
}

.pbl-reveal-step {
    color: #c4b5fd;
    font-size: 0.72rem;
    font-weight: 700;
}

.pbl-reveal-main {
    color: #f8fafc;
    font-size: 0.9rem;
    font-weight: 800;
}

.pbl-reveal-outcome {
    color: #fde68a;
    font-size: 0.82rem;
    font-weight: 700;
}

.ppb-root.ppb-reduce-motion .ppb-orb,
.ppb-root.ppb-reduce-motion .ppb-star,
.ppb-root.ppb-reduce-motion .ppb-particle,
.ppb-root.ppb-reduce-motion .pbl-live-sparks span {
    animation: none !important;
}

.ppb-root.ppb-reduce-motion .ppb-flash,
.ppb-root.ppb-reduce-motion .ppb-orb,
.ppb-root.ppb-reduce-motion .ppb-progress-bar,
.ppb-root.ppb-reduce-motion .ppb-primary-btn,
.ppb-root.ppb-reduce-motion .ppb-soft-btn,
.ppb-root.ppb-reduce-motion .ppb-ghost-btn,
.ppb-root.ppb-reduce-motion .pbl-top-node,
.ppb-root.ppb-reduce-motion .pbl-bottom-node {
    transition-duration: 90ms !important;
}

@media (max-width: 1200px) {
    .ppb-setup-shell {
        grid-template-columns: 1fr;
    }

    .pbl-setup-shell {
        grid-template-columns: 1fr;
    }

    .ppb-textarea {
        min-height: 360px;
    }

    .ppb-universe-shell {
        grid-template-columns: 1fr;
    }

    .pbl-stage-shell {
        grid-template-columns: 1fr;
    }

    .ppb-history-panel .ppb-history-list {
        max-height: 180px;
    }

    .ppb-editor-drawer {
        width: min(620px, 100vw);
    }

    .pbl-reveal-list {
        max-height: 240px;
    }
}

@media (max-width: 860px) {
    .ppb-root {
        padding: 0.65rem;
    }

    .ppb-top-main {
        flex-direction: column;
        align-items: flex-start;
    }

    .ppb-top-controls {
        width: 100%;
        justify-content: space-between;
    }

    .ppb-btn-row,
    .ppb-stats-grid {
        grid-template-columns: 1fr;
    }

    .ppb-mode-tabs {
        width: 100%;
    }

    .ppb-mode-tab {
        flex: 1 1 auto;
        text-align: center;
    }

    .ppb-universe-title {
        letter-spacing: 0.04em;
    }

    .ppb-bottom-actions {
        justify-content: stretch;
    }

    .ppb-bottom-actions .ppb-soft-btn,
    .ppb-bottom-actions .ppb-ghost-btn {
        width: 100%;
    }

    .ppb-side-actions {
        grid-template-columns: 1fr;
    }

    .ppb-editor-drawer {
        width: 100vw;
        padding: 0.85rem;
    }

    .ppb-editor-actions {
        grid-template-columns: 1fr;
    }

    .pbl-svg-wrap,
    .pbl-svg {
        min-height: 360px;
        height: 360px;
    }

    .pbl-bottom-actions {
        flex-direction: column;
    }

    .pbl-bottom-actions .ppb-soft-btn,
    .pbl-bottom-actions .ppb-ghost-btn {
        width: 100%;
    }
}

@keyframes pbl-spark-rise {
    0% {
        transform: translateY(12px) scale(0.4);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translateY(-44px) scale(1);
        opacity: 0;
    }
}

@keyframes pbl-reveal-enter {
    from {
        transform: translateY(6px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes ppb-star-pulse {
    from {
        opacity: 0.2;
    }
    to {
        opacity: 0.85;
    }
}

@keyframes ppb-float {
    0%,
    100% {
        transform: translate(-50%, -50%) rotate(var(--orb-rotation)) scale(var(--orb-scale));
    }
    50% {
        transform: translate(-50%, calc(-50% - 13px)) rotate(var(--orb-rotation)) scale(var(--orb-float-scale));
    }
}

@keyframes ppb-float-reverse {
    0%,
    100% {
        transform: translate(-50%, -50%) rotate(var(--orb-rotation)) scale(var(--orb-scale));
    }
    50% {
        transform: translate(-50%, calc(-50% + 13px)) rotate(var(--orb-rotation)) scale(var(--orb-float-scale));
    }
}

@keyframes ppb-particle-drift {
    0% {
        transform: translateY(110vh) translateX(0) scale(0);
        opacity: 0;
    }
    20% {
        opacity: 0.82;
    }
    80% {
        opacity: 0.52;
    }
    100% {
        transform: translateY(-25vh) translateX(60px) scale(1);
        opacity: 0;
    }
}

@keyframes ppb-picked {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(var(--orb-rotation)) scale(var(--orb-scale));
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(var(--orb-rotation)) scale(0.12);
    }
}
@media (max-width: 1200px) {
    .ppr-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .ppb-result-actions,
    .ppb-fortune-actions,
    .ppr-bottom-actions {
        flex-direction: column;
    }

    .ppb-result-actions .ppb-primary-btn,
    .ppb-result-actions .ppb-soft-btn,
    .ppb-fortune-actions .ppb-primary-btn,
    .ppb-fortune-actions .ppb-soft-btn,
    .ppr-bottom-actions .ppb-soft-btn,
    .ppr-bottom-actions .ppb-ghost-btn {
        width: 100%;
    }

    .ppr-head {
        flex-direction: column;
    }

    .ppr-classroom-badge {
        align-self: flex-start;
    }

    .ppr-card-grid {
        grid-template-columns: 1fr;
    }
}

.ppb-result-next-btn {
    margin: 0;
    min-width: min(320px, 100%);
}

.ppb-result-actions {
    margin-top: 1.1rem;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ppb-result-fortune-btn {
    min-width: min(280px, 100%);
    font-size: 0.98rem;
}

.ppb-fortune-modal {
    position: fixed;
    inset: 0;
    z-index: 240;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem;
    background: rgba(2, 6, 23, 0.78);
    backdrop-filter: blur(5px);
}

.ppb-fortune-modal.is-hidden {
    display: none;
}

.ppb-fortune-panel {
    width: min(760px, 100%);
    border-radius: 1.25rem;
    border: 1px solid rgba(147, 197, 253, 0.45);
    background:
        radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.18), transparent 58%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.88));
    box-shadow: 0 0 42px rgba(96, 165, 250, 0.18);
    padding: clamp(1rem, 2.4vw, 1.7rem);
}

.ppb-fortune-label {
    margin: 0;
    color: #bfdbfe;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.ppb-fortune-target {
    margin: 0.45rem 0 0;
    font-size: clamp(1.7rem, 4vw, 2.7rem);
    line-height: 1.08;
    font-weight: 900;
    color: #f8fafc;
}

.ppb-fortune-category {
    margin: 0.4rem 0 0;
    color: #fde68a;
    font-weight: 800;
    font-size: 0.95rem;
}

.ppb-fortune-line {
    margin: 1rem 0 0;
    padding: 1rem 1.05rem;
    border-radius: 1rem;
    border: 1px solid rgba(191, 219, 254, 0.28);
    background: rgba(30, 41, 59, 0.7);
    color: #eff6ff;
    font-size: clamp(1.25rem, 2.6vw, 1.9rem);
    font-weight: 900;
    line-height: 1.4;
}

.ppb-fortune-meaning {
    margin: 0.85rem 0 0;
    color: rgba(226, 232, 240, 0.95);
    font-size: 1rem;
    line-height: 1.65;
}

.ppb-fortune-step-card {
    margin-top: 0.95rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(253, 224, 71, 0.25);
    background: rgba(234, 179, 8, 0.08);
}

.ppb-fortune-step-label {
    margin: 0;
    color: #fde68a;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.ppb-fortune-step {
    margin: 0.35rem 0 0;
    color: #f8fafc;
    font-size: 1rem;
    font-weight: 700;
}

.ppb-fortune-note-wrap {
    margin-top: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: rgba(226, 232, 240, 0.92);
    font-size: 0.9rem;
    font-weight: 700;
}

.ppb-fortune-note {
    width: 100%;
    min-height: 96px;
    border-radius: 0.95rem;
    border: 1px solid rgba(191, 219, 254, 0.26);
    background: rgba(15, 23, 42, 0.78);
    color: #fff;
    font-size: 0.98rem;
    line-height: 1.6;
    padding: 0.85rem 0.95rem;
    resize: vertical;
}

.ppb-fortune-note:focus {
    outline: none;
    border-color: rgba(147, 197, 253, 0.75);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.16);
}

.ppb-fortune-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.ppb-fortune-actions .ppb-soft-btn,
.ppb-fortune-close-btn {
    flex: 1 1 180px;
}

.ppr-shell {
    width: min(1780px, 100%);
    min-height: 78vh;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1rem;
}

.ppr-main,
.ppr-side-panel {
    border-radius: 1.15rem;
    background: rgba(8, 12, 30, 0.72);
    border: 1px solid var(--ppb-white-14);
    backdrop-filter: blur(12px);
}

.ppr-main {
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.ppr-head {
    margin-top: 0.15rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.ppr-title {
    margin-bottom: 0.3rem;
}

.ppr-guide {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
}

.ppr-classroom-badge {
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    background: rgba(96, 165, 250, 0.18);
    border: 1px solid rgba(147, 197, 253, 0.38);
    color: #dbeafe;
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.ppr-card-grid {
    margin-top: 0.8rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem;
    align-items: stretch;
}

.ppr-empty {
    padding: 1.2rem;
    border-radius: 1rem;
    border: 1px dashed rgba(191, 219, 254, 0.35);
    background: rgba(15, 23, 42, 0.52);
    color: rgba(226, 232, 240, 0.92);
    text-align: center;
    line-height: 1.6;
}

.ppr-card {
    border: 0;
    background: transparent;
    padding: 0;
    display: block;
    width: 100%;
    min-width: 0;
    text-align: left;
    cursor: pointer;
    perspective: 1200px;
}

.ppr-card:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.94);
    outline-offset: 4px;
}

.ppr-card.is-static {
    cursor: default;
}

.ppr-card-inner {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 220px;
    transform-style: preserve-3d;
    transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ppr-card.is-revealed .ppr-card-inner {
    transform: rotateY(180deg);
}

.ppr-card-face {
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.8rem;
    backface-visibility: hidden;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(2, 6, 23, 0.28);
}

.ppr-card-front {
    border: 1px solid rgba(147, 197, 253, 0.28);
    background:
        radial-gradient(circle at 50% 0%, rgba(96, 165, 250, 0.18), transparent 55%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.84));
}

.ppr-card-back {
    transform: rotateY(180deg);
    border: 1px solid rgba(253, 224, 71, 0.34);
    background:
        radial-gradient(circle at 50% 0%, rgba(250, 204, 21, 0.18), transparent 58%),
        linear-gradient(180deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.9));
}

.ppr-card.is-completed .ppr-card-back {
    border-color: rgba(74, 222, 128, 0.45);
    background:
        radial-gradient(circle at 50% 0%, rgba(74, 222, 128, 0.18), transparent 58%),
        linear-gradient(180deg, rgba(22, 101, 52, 0.92), rgba(15, 23, 42, 0.9));
}

.ppr-card.is-unassigned .ppr-card-back {
    border-color: rgba(251, 191, 36, 0.4);
}

.ppr-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.8rem;
}

.ppr-card-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    font-size: 1.2rem;
}

.ppr-card-slot {
    margin: 0;
    color: rgba(191, 219, 254, 0.94);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.ppr-card-title {
    margin: 0.3rem 0 0;
    color: #f8fafc;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.2;
}

.ppr-card-hint {
    margin: 0;
    color: rgba(226, 232, 240, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

.ppr-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.ppr-card-number {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.76rem;
    font-weight: 800;
}

.ppr-card-cta {
    color: #fde68a;
    font-size: 0.84rem;
    font-weight: 800;
}

.ppr-card-back-label {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.ppr-card-assignee {
    margin: 0.35rem 0 0;
    color: #fef3c7;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.2;
    word-break: keep-all;
}

.ppr-card-desc {
    margin: 0.55rem 0 0;
    color: rgba(226, 232, 240, 0.92);
    font-size: 0.92rem;
    line-height: 1.55;
}

.ppr-card-status {
    margin: 0;
    color: rgba(191, 219, 254, 0.96);
    font-size: 0.86rem;
    font-weight: 800;
}

.ppr-side-panel {
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.ppr-live-card,
.ppr-history-box {
    border-radius: 1rem;
    border: 1px solid rgba(147, 197, 253, 0.28);
    background: rgba(4, 10, 28, 0.86);
    padding: 0.95rem;
}

.ppr-live-label {
    margin: 0;
    color: rgba(191, 219, 254, 0.88);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.ppr-live-role-name {
    margin: 0.4rem 0 0;
    color: #f8fafc;
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.18;
}

.ppr-live-assignee {
    margin: 0.5rem 0 0;
    color: rgba(226, 232, 240, 0.92);
    font-size: 0.98rem;
    line-height: 1.55;
}

.ppr-fortune-btn {
    width: 100%;
    margin-top: 0.95rem;
}

.ppr-history-box h3 {
    margin: 0 0 0.7rem;
    font-size: 1rem;
    font-weight: 900;
}

.ppr-history-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
    max-height: 52vh;
    overflow: auto;
}

.ppr-history-list li {
    border-radius: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.66);
    padding: 0.7rem 0.8rem;
    display: grid;
    gap: 0.15rem;
}

.ppr-history-step {
    color: rgba(191, 219, 254, 0.78);
    font-size: 0.74rem;
    font-weight: 800;
}

.ppr-history-main {
    color: #f8fafc;
    font-size: 0.95rem;
    font-weight: 800;
}

.ppr-history-role {
    color: #fde68a;
    font-size: 0.82rem;
    font-weight: 700;
}

.ppb-root.ppb-reduce-motion .ppr-card-inner {
    transition-duration: 90ms !important;
}


.pps-textarea {
    min-height: 340px;
}

.pps-stage-shell {
    width: min(1780px, 100%);
    min-height: 78vh;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1rem;
}

.pps-stage-main,
.pps-side-panel {
    border-radius: 1.15rem;
    background: rgba(8, 12, 30, 0.72);
    border: 1px solid var(--ppb-white-14);
    backdrop-filter: blur(12px);
}

.pps-stage-main {
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.pps-head {
    margin-top: 0.15rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.pps-stage-title {
    margin-bottom: 0.3rem;
}

.pps-stage-guide {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
}

.pps-stage-message {
    margin-top: 0.85rem;
}

.pps-order-grid {
    margin-top: 0.8rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.85rem;
}

.pps-empty {
    padding: 1.2rem;
    border-radius: 1rem;
    border: 1px dashed rgba(191, 219, 254, 0.35);
    background: rgba(15, 23, 42, 0.52);
    color: rgba(226, 232, 240, 0.92);
    text-align: center;
    line-height: 1.6;
}

.pps-order-card {
    min-height: 164px;
    border-radius: 1rem;
    border: 1px solid rgba(147, 197, 253, 0.2);
    background:
        radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.12), transparent 54%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.72));
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.45rem;
    box-shadow: 0 18px 36px rgba(2, 6, 23, 0.24);
    transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.pps-order-card.is-next {
    transform: translateY(-4px);
    border-color: rgba(250, 204, 21, 0.45);
    box-shadow: 0 20px 44px rgba(250, 204, 21, 0.12);
}

.pps-order-card.is-revealed {
    border-color: rgba(125, 211, 252, 0.4);
    background:
        radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.16), transparent 56%),
        linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(15, 23, 42, 0.84));
}

.pps-order-card.is-current {
    border-color: rgba(253, 224, 71, 0.58);
    background:
        radial-gradient(circle at 50% 0%, rgba(250, 204, 21, 0.18), transparent 58%),
        linear-gradient(180deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.9));
}

.pps-order-index {
    color: rgba(191, 219, 254, 0.84);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.pps-order-name {
    color: #f8fafc;
    font-size: 1.34rem;
    font-weight: 900;
    line-height: 1.22;
    word-break: keep-all;
}

.pps-order-card:not(.is-revealed) .pps-order-name {
    color: rgba(226, 232, 240, 0.72);
}

.pps-order-meta {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    font-weight: 700;
}

.pps-side-panel {
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.pps-live-card,
.pps-history-box {
    border-radius: 1rem;
    border: 1px solid rgba(147, 197, 253, 0.28);
    background: rgba(4, 10, 28, 0.86);
    padding: 0.95rem;
}

.pps-live-label {
    margin: 0;
    color: rgba(191, 219, 254, 0.88);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.pps-live-index {
    margin: 0.45rem 0 0;
    color: #fde68a;
    font-size: 0.88rem;
    font-weight: 800;
}

.pps-live-name {
    margin: 0.25rem 0 0;
    color: #f8fafc;
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.18;
}

.pps-live-meta {
    margin: 0.5rem 0 0;
    color: rgba(226, 232, 240, 0.92);
    font-size: 0.98rem;
    line-height: 1.55;
}

.pps-fortune-btn {
    width: 100%;
    margin-top: 0.95rem;
}

.pps-history-box h3 {
    margin: 0 0 0.7rem;
    font-size: 1rem;
    font-weight: 900;
}

.pps-history-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
    max-height: 52vh;
    overflow: auto;
}

.pps-history-list li {
    border-radius: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.66);
    padding: 0.7rem 0.8rem;
    display: grid;
    gap: 0.15rem;
}

.pps-history-step {
    color: rgba(191, 219, 254, 0.78);
    font-size: 0.74rem;
    font-weight: 800;
}

.pps-history-main {
    color: #f8fafc;
    font-size: 0.95rem;
    font-weight: 800;
}

.pps-history-order {
    color: #fde68a;
    font-size: 0.82rem;
    font-weight: 700;
}

.ppb-root.ppb-reduce-motion .pps-order-card {
    transition-duration: 90ms !important;
}

@media (max-width: 1200px) {
    .pps-stage-shell {
        grid-template-columns: 1fr;
    }

    .pps-history-list {
        max-height: 240px;
    }
}

@media (max-width: 860px) {
    .pps-bottom-actions {
        flex-direction: column;
    }

    .pps-bottom-actions .ppb-primary-btn,
    .pps-bottom-actions .ppb-soft-btn,
    .pps-bottom-actions .ppb-ghost-btn {
        width: 100%;
    }

    .pps-order-grid {
        grid-template-columns: 1fr;
    }
}

.ppt-textarea {
    min-height: 340px;
}

.ppt-option-card {
    margin-top: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.42);
    padding: 0.9rem 1rem;
}

.ppt-option-card label {
    display: block;
    margin: 0;
    color: #e2e8f0;
    font-size: 0.92rem;
    font-weight: 800;
}

.ppt-team-select {
    width: 100%;
    margin-top: 0.6rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.32);
    background: rgba(8, 12, 30, 0.92);
    color: #f8fafc;
    padding: 0.8rem 0.9rem;
    font: inherit;
}

.ppt-balance-note {
    margin: 0.7rem 0 0;
    color: rgba(191, 219, 254, 0.88);
    font-size: 0.9rem;
    line-height: 1.5;
}

.ppt-stage-shell {
    width: min(1780px, 100%);
    min-height: 78vh;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1rem;
}

.ppt-stage-main,
.ppt-side-panel {
    border-radius: 1.15rem;
    background: rgba(8, 12, 30, 0.72);
    border: 1px solid var(--ppb-white-14);
    backdrop-filter: blur(12px);
}

.ppt-stage-main {
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.ppt-head {
    margin-top: 0.15rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.ppt-stage-title {
    margin-bottom: 0.3rem;
}

.ppt-stage-guide {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
}

.ppt-stage-message {
    margin-top: 0.85rem;
}

.ppt-team-grid {
    margin-top: 0.8rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.85rem;
}

.ppt-empty {
    padding: 1.2rem;
    border-radius: 1rem;
    border: 1px dashed rgba(191, 219, 254, 0.35);
    background: rgba(15, 23, 42, 0.52);
    color: rgba(226, 232, 240, 0.92);
    text-align: center;
    line-height: 1.6;
}

.ppt-team-card {
    border-radius: 1rem;
    border: 1px solid rgba(147, 197, 253, 0.22);
    background:
        radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.1), transparent 54%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.72));
    padding: 1rem;
    display: grid;
    gap: 0.85rem;
    box-shadow: 0 18px 36px rgba(2, 6, 23, 0.24);
}

.ppt-team-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.ppt-team-title {
    margin: 0;
    color: #f8fafc;
    font-size: 1.24rem;
    font-weight: 900;
}

.ppt-team-size {
    margin: 0.25rem 0 0;
    color: rgba(191, 219, 254, 0.84);
    font-size: 0.84rem;
    font-weight: 700;
}

.ppt-member-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.ppt-member-chip {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 999px;
    background: rgba(30, 41, 59, 0.88);
    color: #e2e8f0;
    padding: 0.5rem 0.85rem;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.ppt-member-chip:hover,
.ppt-member-chip:focus-visible {
    border-color: rgba(125, 211, 252, 0.58);
    transform: translateY(-1px);
    outline: none;
}

.ppt-member-chip.is-recent {
    border-color: rgba(253, 224, 71, 0.52);
    background: rgba(120, 53, 15, 0.9);
    color: #fef3c7;
}

.ppt-member-chip.is-selected {
    border-color: rgba(125, 211, 252, 0.62);
    background: rgba(12, 74, 110, 0.92);
    color: #e0f2fe;
}

.ppt-member-empty {
    color: rgba(148, 163, 184, 0.92);
    font-size: 0.9rem;
    line-height: 1.5;
}

.ppt-side-panel {
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.ppt-live-card,
.ppt-history-box {
    border-radius: 1rem;
    border: 1px solid rgba(147, 197, 253, 0.28);
    background: rgba(4, 10, 28, 0.86);
    padding: 0.95rem;
}

.ppt-live-label {
    margin: 0;
    color: rgba(191, 219, 254, 0.88);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.ppt-live-team {
    margin: 0.45rem 0 0;
    color: #fde68a;
    font-size: 0.88rem;
    font-weight: 800;
}

.ppt-live-name {
    margin: 0.25rem 0 0;
    color: #f8fafc;
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.18;
}

.ppt-live-meta {
    margin: 0.5rem 0 0;
    color: rgba(226, 232, 240, 0.92);
    font-size: 0.98rem;
    line-height: 1.55;
}

.ppt-fortune-btn {
    width: 100%;
    margin-top: 0.95rem;
}

.ppt-history-box h3 {
    margin: 0 0 0.7rem;
    font-size: 1rem;
    font-weight: 900;
}

.ppt-history-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
    max-height: 52vh;
    overflow: auto;
}

.ppt-history-list li {
    border-radius: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.66);
    padding: 0.7rem 0.8rem;
    display: grid;
    gap: 0.15rem;
}

.ppt-history-step {
    color: rgba(191, 219, 254, 0.78);
    font-size: 0.74rem;
    font-weight: 800;
}

.ppt-history-main {
    color: #f8fafc;
    font-size: 0.95rem;
    font-weight: 800;
}

.ppt-history-team {
    color: #fde68a;
    font-size: 0.82rem;
    font-weight: 700;
}

.ppb-root.ppb-reduce-motion .ppt-member-chip {
    transition-duration: 90ms !important;
}

@media (max-width: 1200px) {
    .ppt-stage-shell {
        grid-template-columns: 1fr;
    }

    .ppt-history-list {
        max-height: 240px;
    }
}

@media (max-width: 860px) {
    .ppt-bottom-actions {
        flex-direction: column;
    }

    .ppt-bottom-actions .ppb-primary-btn,
    .ppt-bottom-actions .ppb-soft-btn,
    .ppt-bottom-actions .ppb-ghost-btn {
        width: 100%;
    }

    .ppt-team-grid {
        grid-template-columns: 1fr;
    }
}

.ppm-textarea {
    min-height: 22rem;
}

.ppm-stage-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.95fr) 320px;
    gap: 1rem;
    align-items: start;
}

.ppm-stage-main {
    padding: 1rem;
    border-radius: 1.18rem;
    border: 1px solid rgba(125, 211, 252, 0.18);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(2, 6, 23, 0.78));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 20px 44px rgba(2, 6, 23, 0.26);
}

.ppm-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.ppm-stage-title {
    margin: 0;
}

.ppm-stage-guide {
    margin: 0.35rem 0 0;
    color: rgba(191, 219, 254, 0.86);
    font-size: 0.96rem;
    line-height: 1.6;
}

.ppm-stage-message {
    margin-top: 0.85rem;
}

.ppm-sky {
    position: relative;
    margin-top: 0.8rem;
    min-height: 460px;
    overflow: hidden;
    border-radius: 1.2rem;
    border: 1px solid rgba(125, 211, 252, 0.18);
    background:
        radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.16), transparent 38%),
        radial-gradient(circle at 14% 20%, rgba(250, 204, 21, 0.1), transparent 24%),
        linear-gradient(180deg, rgba(3, 7, 18, 0.96), rgba(15, 23, 42, 0.84));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 36px rgba(2, 6, 23, 0.28);
    isolation: isolate;
}

.ppm-sky::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 1.1px, transparent 1.2px),
        radial-gradient(circle, rgba(191, 219, 254, 0.78) 0 1px, transparent 1.2px),
        radial-gradient(circle, rgba(253, 230, 138, 0.74) 0 1px, transparent 1.2px);
    background-size: 140px 140px, 184px 184px, 228px 228px;
    background-position: 0 0, 38px 56px, 104px 20px;
    opacity: 0.58;
}

.ppm-sky::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(251, 191, 36, 0.26), transparent 44%);
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 180ms ease, transform 220ms ease;
}

.ppm-sky.is-burst::after {
    opacity: 1;
    transform: scale(1.08);
}

.ppm-empty {
    margin: 1.1rem;
    min-height: 360px;
    border-radius: 1rem;
    border: 1px dashed rgba(125, 211, 252, 0.24);
    background: rgba(15, 23, 42, 0.48);
    color: rgba(226, 232, 240, 0.92);
    display: grid;
    place-items: center;
    text-align: center;
    line-height: 1.7;
    padding: 1.35rem;
}

.ppm-empty.is-complete {
    border-color: rgba(250, 204, 21, 0.28);
    background: rgba(120, 53, 15, 0.22);
    color: #fef3c7;
}

.ppm-meteor {
    --ppm-left: 50%;
    --ppm-top: 50%;
    --ppm-scale: 1;
    --ppm-tilt: -24deg;
    --ppm-duration: 5.4s;
    --ppm-delay: 0s;
    position: absolute;
    left: var(--ppm-left);
    top: var(--ppm-top);
    width: 148px;
    height: 46px;
    transform: translate(-50%, -50%) scale(var(--ppm-scale)) rotate(var(--ppm-tilt));
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    filter: drop-shadow(0 0 12px rgba(125, 211, 252, 0.22));
    transition: transform 180ms ease, filter 180ms ease;
}

.ppm-meteor:hover,
.ppm-meteor:focus-visible {
    transform: translate(-50%, -50%) scale(calc(var(--ppm-scale) + 0.08)) rotate(var(--ppm-tilt));
    filter: drop-shadow(0 0 18px rgba(125, 211, 252, 0.42));
    outline: none;
}

.ppm-meteor-core,
.ppm-meteor-tail,
.ppm-meteor-hint {
    pointer-events: none;
}

.ppm-meteor-core {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    transform: translateY(-50%);
    background: radial-gradient(circle at 28% 30%, #fff, #fef08a 36%, #38bdf8 76%, rgba(56, 189, 248, 0.12) 100%);
    box-shadow: 0 0 20px rgba(125, 211, 252, 0.86), 0 0 42px rgba(56, 189, 248, 0.38);
    animation: ppmMeteorPulse var(--ppm-duration) ease-in-out var(--ppm-delay) infinite;
}

.ppm-meteor-tail {
    position: absolute;
    top: 50%;
    left: 10px;
    width: 108px;
    height: 4px;
    border-radius: 999px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, rgba(125, 211, 252, 0), rgba(125, 211, 252, 0.42) 30%, rgba(253, 224, 71, 0.88) 100%);
    box-shadow: 0 0 18px rgba(125, 211, 252, 0.34);
    animation: ppmMeteorPulse var(--ppm-duration) ease-in-out var(--ppm-delay) infinite;
}

.ppm-meteor-hint {
    position: absolute;
    left: 4px;
    bottom: -2px;
    color: rgba(226, 232, 240, 0.82);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

@keyframes ppmMeteorPulse {
    0% {
        opacity: 0.68;
        filter: saturate(0.94);
    }

    100% {
        opacity: 1;
        filter: saturate(1.12);
    }
}

.ppm-side-panel {
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.ppm-live-card,
.ppm-history-box {
    border-radius: 1rem;
    border: 1px solid rgba(125, 211, 252, 0.22);
    background: rgba(4, 10, 28, 0.88);
    padding: 0.95rem;
}

.ppm-live-label {
    margin: 0;
    color: rgba(191, 219, 254, 0.88);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.ppm-live-order {
    margin: 0.45rem 0 0;
    color: #93c5fd;
    font-size: 0.88rem;
    font-weight: 800;
}

.ppm-live-name {
    margin: 0.25rem 0 0;
    color: #f8fafc;
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.18;
}

.ppm-live-meta {
    margin: 0.5rem 0 0;
    color: rgba(226, 232, 240, 0.92);
    font-size: 0.98rem;
    line-height: 1.55;
}

.ppm-fortune-btn {
    width: 100%;
    margin-top: 0.95rem;
}

.ppm-history-box h3 {
    margin: 0 0 0.7rem;
    font-size: 1rem;
    font-weight: 900;
}

.ppm-history-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
    max-height: 52vh;
    overflow: auto;
}

.ppm-history-list li {
    border-radius: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.66);
    padding: 0.7rem 0.8rem;
    display: grid;
    gap: 0.15rem;
}

.ppm-history-step {
    color: rgba(191, 219, 254, 0.78);
    font-size: 0.74rem;
    font-weight: 800;
}

.ppm-history-main {
    color: #f8fafc;
    font-size: 0.95rem;
    font-weight: 800;
}

.ppm-history-order {
    color: #fde68a;
    font-size: 0.82rem;
    font-weight: 700;
}

.ppb-root.ppb-reduce-motion .ppm-meteor-core,
.ppb-root.ppb-reduce-motion .ppm-meteor-tail,
.ppb-root.ppb-reduce-motion .ppm-sky::after {
    animation-duration: 0.01ms !important;
    transition-duration: 90ms !important;
}

@media (max-width: 1200px) {
    .ppm-stage-shell {
        grid-template-columns: 1fr;
    }

    .ppm-history-list {
        max-height: 240px;
    }
}

@media (max-width: 860px) {
    .ppm-bottom-actions {
        flex-direction: column;
    }

    .ppm-bottom-actions .ppb-primary-btn,
    .ppm-bottom-actions .ppb-soft-btn,
    .ppm-bottom-actions .ppb-ghost-btn {
        width: 100%;
    }

    .ppm-sky {
        min-height: 380px;
    }

    .ppm-meteor {
        width: 132px;
    }

    .ppm-live-card,
    .ppm-history-box {
        padding: 0.9rem;
    }
}
