@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700&family=Noto+Serif:wght@600;700&display=swap");

html {
    scroll-padding-top: 88px;
}

.ptv-header,
.ptv-footer {
    font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.ptv-header {
    position: sticky;
    top: 0;
    z-index: 900;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background:
        radial-gradient(1200px 80px at 15% -40%, rgba(232, 196, 122, 0.22), transparent 55%),
        linear-gradient(180deg, #5c1018 0%, #3c0c12 100%);
    color: #f8efe2;
    box-shadow: 0 10px 28px rgba(48, 8, 12, 0.28);
}

.ptv-header-rule {
    height: 3px;
    background: linear-gradient(90deg, #6a4a16 0%, #f0d48a 18%, #fff6d8 50%, #f0d48a 82%, #6a4a16 100%);
}

.ptv-header-inner {
    max-width: 1070px;
    margin: 0 auto;
    min-height: 78px;
    padding: 10px 22px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.ptv-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.ptv-seal {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(145deg, #fff4cc, #c6a15b 45%, #8a6420);
    box-shadow: 0 0 0 1px rgba(255, 236, 190, 0.35), 0 6px 14px rgba(0, 0, 0, 0.28);
}

.ptv-seal img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #1a1a1a;
}

.ptv-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.ptv-brand-text strong {
    font-family: "Noto Serif", "Times New Roman", serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff8ea;
}

.ptv-brand-text span {
    margin-top: 3px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #e7c98a;
}

.ptv-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.ptv-nav a {
    color: #f6ead6;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 999px;
}

.ptv-nav a:hover,
.ptv-nav a.is-active {
    color: #fff;
    background: rgba(255, 244, 214, 0.12);
}

.ptv-cta {
    flex: 0 0 auto;
    text-decoration: none;
    color: #4a2208;
    background: linear-gradient(180deg, #ffe7a8 0%, #e2b85a 100%);
    border: 1px solid #f8e7b4;
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.ptv-cta:hover {
    color: #3a1804;
    filter: brightness(1.05);
}

.ptv-menu {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(240, 212, 138, 0.45);
    background: rgba(255, 255, 255, 0.06);
    color: #f8efe2;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.ptv-footer {
    margin-top: 36px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    color: #f6ead8;
    background:
        radial-gradient(900px 180px at 90% 0%, rgba(232, 196, 122, 0.12), transparent 50%),
        linear-gradient(180deg, #4a121a 0%, #241014 100%);
}

.ptv-footer-rule {
    height: 3px;
    background: linear-gradient(90deg, #6a4a16 0%, #f0d48a 18%, #fff6d8 50%, #f0d48a 82%, #6a4a16 100%);
}

.ptv-footer-inner {
    max-width: 1070px;
    margin: 0 auto;
    padding: 36px 22px 18px;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr;
    gap: 28px;
}

.ptv-footer h3,
.ptv-footer h4 {
    font-family: "Noto Serif", "Times New Roman", serif;
    color: #fff6df;
    margin: 0 0 12px;
    font-weight: 700;
}

.ptv-footer h3 {
    font-size: 22px;
}

.ptv-footer h4 {
    font-size: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(231, 201, 138, 0.35);
}

.ptv-footer p,
.ptv-footer li {
    color: #e7d7c4;
    font-size: 14px;
    line-height: 1.65;
}

.ptv-footer p {
    margin: 0;
}

.ptv-footer-brand {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.ptv-footer-brand img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    flex: 0 0 64px;
    box-shadow: 0 0 0 2px #e2b85a;
}

.ptv-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ptv-footer a {
    color: #f3e2c4;
    text-decoration: none;
}

.ptv-footer a:hover {
    color: #ffe7a8;
}

.ptv-footer li + li {
    margin-top: 8px;
}

.ptv-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.ptv-pills span {
    border: 1px solid rgba(231, 201, 138, 0.45);
    color: #f0d48a;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 12px;
    letter-spacing: 0.04em;
}

.ptv-footer-bottom {
    max-width: 1070px;
    margin: 0 auto;
    padding: 14px 22px 18px;
    border-top: 1px solid rgba(255, 236, 196, 0.12);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #cbb89a;
    font-size: 13px;
}

@media (max-width: 980px) {
    .ptv-footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .ptv-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 860px) {
    .ptv-menu {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .ptv-cta {
        display: none;
    }

    .ptv-nav {
        display: none;
        position: absolute;
        left: 12px;
        right: 12px;
        top: calc(100% - 2px);
        margin: 0;
        padding: 10px;
        flex-direction: column;
        align-items: stretch;
        background: #3c0c12;
        border: 1px solid rgba(240, 212, 138, 0.35);
        border-radius: 14px;
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
    }

    .ptv-header.is-open .ptv-nav {
        display: flex;
    }

    .ptv-nav a {
        padding: 12px 14px;
    }

    .ptv-header {
        position: sticky;
    }

    .ptv-header-inner {
        position: relative;
    }
}

.ptv-account {
    position: relative;
    flex: 0 0 auto;
    margin-left: auto;
}

.ptv-nav + .ptv-account {
    margin-left: 0;
}

.ptv-lock {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    min-height: calc(100vh - 88px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    background:
        radial-gradient(700px 240px at 50% 0%, rgba(232, 196, 122, 0.2), transparent 55%),
        #f6efe4;
    font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
}

.ptv-lock-card {
    width: min(460px, 100%);
    text-align: center;
    background: #fffaf2;
    border-top: 3px solid #e2b85a;
    border-radius: 18px;
    padding: 32px 28px;
    box-shadow: 0 18px 40px rgba(92, 16, 24, 0.08);
}

.ptv-lock-card img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #e2b85a;
}

.ptv-lock-card h2 {
    font-family: "Noto Serif", "Times New Roman", serif;
    color: #5c1018;
    margin: 8px 0 10px;
}

.ptv-lock-card p {
    color: #6d5344;
    line-height: 1.6;
    margin: 0 0 18px;
}

.ptv-account-btn,
.ptv-btn,
.ptv-account-menu button,
.ptv-row-actions button,
.ptv-choice button,
.ptv-gate button {
    font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
}

.ptv-account-btn {
    border: 1px solid rgba(240, 212, 138, 0.55);
    background: rgba(255, 255, 255, 0.06);
    color: #fff6df;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ptv-account-btn:hover {
    background: rgba(255, 244, 214, 0.14);
}

.ptv-account-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 180px;
    padding: 8px;
    border-radius: 14px;
    background: #3c0c12;
    border: 1px solid rgba(240, 212, 138, 0.4);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
    z-index: 5;
}

.ptv-account-menu button {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    color: #f6ead6;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    cursor: pointer;
}

.ptv-account-menu button:hover {
    background: rgba(255, 244, 214, 0.12);
}

.ptv-gate {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 8px 22px 10px;
    background: rgba(0, 0, 0, 0.18);
    color: #f6ead6;
    font-size: 13.5px;
}

.ptv-gate button {
    border: 0;
    border-radius: 999px;
    padding: 5px 12px;
    background: #e7c98a;
    color: #4a2208;
    font-weight: 700;
    cursor: pointer;
}

.ptv-modal,
.ptv-admin {
    position: fixed;
    inset: 0;
    z-index: 1200;
    font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
}

.ptv-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(28, 8, 10, 0.62);
}

.ptv-dialog,
.ptv-card,
.ptv-admin {
    color: #3c2416;
}

.ptv-dialog {
    width: min(440px, 100%);
    background: #fffaf2;
    border-radius: 18px;
    padding: 26px 26px 22px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    border-top: 3px solid #e2b85a;
}

.ptv-kicker {
    margin: 0 0 6px;
    color: #a3262d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ptv-dialog h2,
.ptv-admin h2,
.ptv-card h3 {
    font-family: "Noto Serif", "Times New Roman", serif;
    margin: 0 0 8px;
    color: #5c1018;
}

.ptv-dialog h2,
.ptv-admin h2 {
    font-size: 28px;
}

.ptv-dialog-lead,
.ptv-card p {
    margin: 0 0 16px;
    color: #6d5344;
    line-height: 1.55;
    font-size: 14.5px;
}

.ptv-dialog label,
.ptv-create label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #5c3b2e;
}

.ptv-dialog input,
.ptv-dialog select,
.ptv-create input,
.ptv-create select {
    border: 1px solid #e4d3b4;
    background: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    color: #3c2416;
}

.ptv-dialog input:focus,
.ptv-dialog select:focus,
.ptv-create input:focus,
.ptv-create select:focus {
    outline: 2px solid rgba(194, 40, 46, 0.25);
    border-color: #c1282e;
}

.ptv-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
}

.ptv-btn {
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.ptv-btn-gold {
    border: 1px solid #f8e7b4;
    color: #4a2208;
    background: linear-gradient(180deg, #ffe7a8 0%, #e2b85a 100%);
}

.ptv-btn-ghost {
    border: 1px solid #e4d3b4;
    background: transparent;
    color: #5c1018;
}

.ptv-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.ptv-alert,
.ptv-note {
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    margin: 0 0 14px;
}

.ptv-alert {
    background: #fff1f0;
    color: #9d1c28;
}

.ptv-note {
    background: #f8f1df;
    color: #6a4a16;
}

.ptv-admin {
    overflow: auto;
    background:
        radial-gradient(900px 240px at 10% 0%, rgba(232, 196, 122, 0.16), transparent 50%),
        #f6efe4;
    padding: 28px 22px 48px;
}

.ptv-admin-top,
.ptv-admin-body {
    max-width: 1070px;
    margin: 0 auto;
}

.ptv-admin-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 18px;
}

.ptv-admin-body {
    display: grid;
    gap: 16px;
}

.ptv-card {
    background: #fffaf2;
    border: 1px solid rgba(198, 161, 91, 0.35);
    border-radius: 16px;
    padding: 18px 18px 8px;
    box-shadow: 0 10px 24px rgba(92, 16, 24, 0.05);
}

.ptv-card h3 {
    font-size: 20px;
}

.ptv-choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}

.ptv-choice button {
    text-align: left;
    border: 1px solid #e4d3b4;
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    cursor: pointer;
}

.ptv-choice button strong,
.ptv-choice button span {
    display: block;
}

.ptv-choice button strong {
    color: #5c1018;
    margin-bottom: 4px;
}

.ptv-choice button span {
    color: #6d5344;
    font-size: 13.5px;
    font-weight: 500;
}

.ptv-choice button.is-on {
    border-color: #c1282e;
    background: #fff6f4;
    box-shadow: inset 0 0 0 1px #c1282e;
}

.ptv-create {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr 1fr 0.8fr auto;
    gap: 10px;
    align-items: end;
    margin-bottom: 8px;
}

.ptv-create .ptv-btn {
    margin-bottom: 12px;
}

.ptv-table-wrap {
    overflow-x: auto;
    margin-bottom: 10px;
}

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

.ptv-table th,
.ptv-table td {
    text-align: left;
    padding: 10px 8px;
    border-bottom: 1px solid #f0e4d0;
    white-space: nowrap;
}

.ptv-table th {
    color: #8a6420;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ptv-row-actions {
    display: flex;
    gap: 6px;
}

.ptv-row-actions button {
    border: 1px solid #e4d3b4;
    background: #fff;
    color: #5c1018;
    border-radius: 999px;
    padding: 5px 10px;
    cursor: pointer;
}

.ptv-row-actions button.is-danger {
    color: #9d1c28;
    border-color: #f0c2c4;
}

@media (max-width: 860px) {
    .ptv-account-menu {
        right: 0;
    }

    .ptv-choice,
    .ptv-create {
        grid-template-columns: 1fr;
    }

    .ptv-gate {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .ptv-brand-text strong {
        font-size: 18px;
    }

    .ptv-brand-text span {
        letter-spacing: 0.08em;
        font-size: 11px;
    }

    .ptv-footer-inner,
    .ptv-footer-bottom {
        grid-template-columns: 1fr;
        display: grid;
    }

    .ptv-footer-bottom {
        text-align: left;
    }
}
