.points-lottery-widget {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 12px;
    background: #fff;
    color: #111827;
    font-size: 14px;
}

.points-lottery-widget strong {
    display: block;
    margin-bottom: 6px;
}

.pl-route-shell {
    max-width: 1120px;
    min-height: 480px;
    margin: 36px auto 64px;
    padding: 0 16px;
}

.pl-route-page > .container[hidden] {
    display: none !important;
}

.pl-home-entry {
    position: relative;
    flex: 0 0 auto;
    margin-left: 10px;
}

.pl-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid #2563eb;
    border-radius: 6px;
    background: #2563eb;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.pl-button-secondary {
    border-color: #d1d5db;
    background: #ffffff;
    color: #111827;
}

.pl-entry-button {
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: #f2b53d;
    color: #24384c;
    font-size: 21px;
    cursor: pointer;
}

.pl-entry-button:hover,
.pl-entry-button:focus {
    background: #ffc95b;
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 2px;
}

.pl-entry-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 10000;
    display: none;
    width: 168px;
    overflow: hidden;
    border: 1px solid #d8dee6;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.2);
}

.pl-home-entry.is-open .pl-entry-menu {
    display: block;
}

.pl-entry-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    color: #263a4f;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.pl-entry-menu a:hover {
    background: #f3f6f9;
    color: #1b6ec2;
}

.pl-entry-menu a + a {
    border-top: 1px solid #e7ebef;
}

.pl-entry-menu i {
    width: 16px;
    color: #d89a1b;
    text-align: center;
}

.pl-profile-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.pl-profile-heading .section-title {
    margin-bottom: 0;
}

.pl-profile-heading a {
    color: #1b6ec2;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.pl-profile-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.pl-profile-stat-grid > div {
    min-height: 82px;
    padding: 14px 16px;
    border: 1px solid #e1e6eb;
    border-radius: 6px;
    background: #f7f9fb;
}

.pl-profile-stat-grid span,
.pl-profile-stat-grid strong {
    display: block;
}

.pl-profile-stat-grid span {
    margin-bottom: 7px;
    color: #6b7785;
    font-size: 13px;
}

.pl-profile-stat-grid strong {
    color: #263a4f;
    font-size: 24px;
    line-height: 1.2;
}

.pl-panel {
    margin: 16px 0;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
}

.pl-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.pl-panel h2,
.pl-panel h3,
.pl-panel p {
    margin-top: 0;
}

.pl-panel h2 {
    margin-bottom: 6px;
    font-size: 24px;
    line-height: 1.25;
}

.pl-panel h3 {
    margin-bottom: 0;
    font-size: 18px;
}

.pl-panel p {
    margin-bottom: 0;
    color: #4b5563;
}

.pl-stat-grid,
.pl-rule-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.pl-rule-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pl-stat-card,
.pl-rule-card {
    min-height: 92px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
}

.pl-stat-card span,
.pl-rule-card span {
    display: block;
    margin-bottom: 8px;
    color: #6b7280;
    font-size: 13px;
}

.pl-stat-card strong,
.pl-rule-card strong {
    display: block;
    color: #111827;
    font-size: 24px;
    line-height: 1.2;
}

.pl-rule-card strong {
    font-size: 16px;
}

.pl-board {
    margin-top: 18px;
}

.pl-board-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.pl-board-title span {
    color: #6b7280;
    font-size: 14px;
}

.pl-table-wrap {
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.pl-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 14px;
}

.pl-table th,
.pl-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.pl-table th {
    background: #f9fafb;
    color: #374151;
    font-weight: 700;
}

.pl-table tr:last-child td {
    border-bottom: 0;
}

.pl-phase2 {
    margin-top: 24px;
}

.pl-phase2-loading {
    padding: 24px;
    color: #6b7280;
    text-align: center;
}

.pl-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.pl-feature-section {
    margin-top: 14px;
    padding: 18px;
    border-top: 3px solid #d99a23;
    background: #f7f9fb;
}

.pl-feature-grid .pl-feature-section {
    margin-top: 0;
}

.pl-feature-title,
.pl-task-item,
.pl-product-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.pl-feature-title {
    margin-bottom: 14px;
}

.pl-feature-title h3,
.pl-product-card h4,
.pl-shipping-fields h4 {
    margin: 0;
}

.pl-feature-title i {
    color: #d99a23;
    font-size: 20px;
}

.pl-streak-value {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.pl-streak-value strong {
    color: #263a4f;
    font-size: 38px;
    line-height: 1;
}

.pl-feature-section p,
.pl-task-item span,
.pl-product-card p {
    margin: 7px 0 0;
    color: #667382;
    font-size: 13px;
}

.pl-invite-code {
    margin: 6px 0 10px;
    padding: 9px 12px;
    border: 1px dashed #9aa7b4;
    background: #fff;
    color: #263a4f;
    font-family: monospace;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0;
}

.pl-inline-form,
.pl-shipping-fields {
    display: grid;
    gap: 8px;
}

.pl-inline-form {
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 12px;
}

.pl-inline-form input,
.pl-shipping-fields input {
    width: 100%;
    min-width: 0;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #cfd6de;
    border-radius: 4px;
    background: #fff;
    color: #263a4f;
}

.pl-small-button {
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid #2673b8;
    border-radius: 4px;
    background: #2673b8;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.pl-small-button:disabled {
    border-color: #c7cdd4;
    background: #e1e5e9;
    color: #75808c;
    cursor: default;
}

.pl-task-list {
    border-top: 1px solid #dfe4e9;
}

.pl-task-item {
    min-height: 66px;
    padding: 10px 0;
    border-bottom: 1px solid #dfe4e9;
}

.pl-task-item strong,
.pl-task-item span {
    display: block;
}

.pl-shipping-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 16px;
}

.pl-shipping-fields h4 {
    grid-column: 1 / -1;
    font-size: 15px;
}

.pl-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.pl-product-card {
    min-height: 108px;
    padding: 14px;
    border: 1px solid #dfe4e9;
    background: #fff;
}

.pl-product-type {
    color: #8a651c;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.pl-product-card h4 {
    margin-top: 5px;
    color: #263a4f;
    font-size: 16px;
}

.pl-risk-alert {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    padding: 12px 14px;
    border-left: 4px solid #b42318;
    background: #fff1f0;
    color: #8f1d14;
    font-weight: 700;
}

.pl-prize-shipping {
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) minmax(0, 2fr) auto;
    align-items: end;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #dfe4e9;
}

.pl-prize-shipping .pl-shipping-fields {
    margin-bottom: 0;
}

.pl-prize-shipping p {
    margin: 4px 0 0;
}

@media (max-width: 720px) {
    .pl-panel {
        padding: 16px;
    }

    .pl-panel-header,
    .pl-board-title {
        display: block;
    }

    .pl-panel-header .pl-button {
        margin-top: 12px;
    }

    .pl-stat-grid,
    .pl-rule-grid {
        grid-template-columns: 1fr;
    }

    .pl-home-entry {
        margin: 8px 0 8px 10px;
    }

    .pl-entry-button {
        width: 42px;
        height: 42px;
    }

    .pl-profile-stat-grid {
        grid-template-columns: 1fr;
    }

    .pl-feature-grid,
    .pl-product-grid,
    .pl-shipping-fields {
        grid-template-columns: 1fr;
    }

    .pl-shipping-fields h4 {
        grid-column: auto;
    }

    .pl-product-card {
        align-items: flex-end;
    }

    .pl-inline-form {
        grid-template-columns: 1fr;
    }

    .pl-prize-shipping {
        grid-template-columns: 1fr;
    }
}
