.tbpc-standalone-page,
.tbpc-standalone-page body,
body.tbpc-standalone-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: radial-gradient(circle at 14% 8%, #132544 0%, #070d1a 56%, #04070f 100%);
}

.tbpc-standalone-page #wpadminbar {
    display: none !important;
}

.tbpc-shell {
    --tbpc-bg-0: #070e1b;
    --tbpc-bg-1: #0d1b34;
    --tbpc-ink: #e7f0ff;
    --tbpc-muted: #97accf;
    --tbpc-line: rgba(122, 175, 255, 0.28);
    --tbpc-focus: #58b2ff;
    --tbpc-ok: #5cf0b1;
    --tbpc-warn: #ffd28a;
    --tbpc-err: #ff9bab;
    position: relative;
    width: min(960px, calc(100vw - 32px));
    margin: clamp(18px, 4vh, 42px) auto;
    padding: clamp(14px, 2.2vw, 28px);
    border-radius: 20px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(110% 90% at 8% 4%, rgba(89, 157, 255, 0.2), transparent 58%),
        radial-gradient(90% 80% at 94% 94%, rgba(0, 198, 255, 0.14), transparent 62%),
        linear-gradient(140deg, var(--tbpc-bg-1) 0%, var(--tbpc-bg-0) 72%);
    border: 1px solid rgba(111, 170, 255, 0.26);
    box-shadow: 0 22px 56px rgba(2, 7, 16, 0.6);
    color: var(--tbpc-ink);
    font-family: "Sora", "Segoe UI", sans-serif;
}

.tbpc-bg-orb {
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(34px);
    opacity: 0.34;
    z-index: -1;
}

.tbpc-bg-orb-a {
    width: 280px;
    height: 280px;
    top: -124px;
    right: -110px;
    background: #3188ff;
}

.tbpc-bg-orb-b {
    width: 220px;
    height: 220px;
    left: -90px;
    bottom: -120px;
    background: #00a7c8;
}

.tbpc-card {
    display: grid;
    gap: 16px;
    padding: clamp(16px, 2vw, 24px);
    border-radius: 16px;
    border: 1px solid var(--tbpc-line);
    background: rgba(8, 15, 29, 0.7);
    backdrop-filter: blur(6px);
}

.tbpc-hero {
    display: grid;
    gap: 8px;
}

.tbpc-kicker {
    margin: 0;
    color: #9ac8ff;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 12px;
    font-weight: 600;
}

.tbpc-hero h1 {
    margin: 0;
    font-family: "Chakra Petch", "Sora", sans-serif;
    font-size: clamp(27px, 3.6vw, 42px);
    line-height: 1.03;
    letter-spacing: 0.015em;
    color: #f2f7ff;
}

.tbpc-hero p {
    margin: 0;
    color: var(--tbpc-muted);
    max-width: 66ch;
    font-size: 14px;
    line-height: 1.5;
}

.tbpc-notice {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 600;
}

.tbpc-notice-ok {
    border-color: rgba(92, 240, 177, 0.45);
    background: rgba(25, 80, 60, 0.38);
    color: #b9f5d7;
}

.tbpc-notice-warn {
    border-color: rgba(255, 210, 138, 0.45);
    background: rgba(88, 64, 25, 0.35);
    color: #ffe0b1;
}

.tbpc-notice-err {
    border-color: rgba(255, 155, 171, 0.45);
    background: rgba(80, 28, 40, 0.35);
    color: #ffc5cf;
}

.tbpc-form {
    display: grid;
    gap: 14px;
}

.tbpc-confirmed-state {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(92, 240, 177, 0.38);
    background: rgba(25, 80, 60, 0.24);
    color: #c8f8de;
}

.tbpc-confirmed-state p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.tbpc-secondary-link {
    justify-self: start;
    text-decoration: none;
    color: #d8ebff;
    border: 1px solid rgba(126, 179, 255, 0.38);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.tbpc-secondary-link:hover {
    border-color: rgba(152, 199, 255, 0.6);
    background: rgba(19, 40, 72, 0.45);
}

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

.tbpc-field {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.tbpc-field > span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #9eb8df;
}

.tbpc-field input,
.tbpc-field textarea {
    width: 100%;
    box-sizing: border-box;
    border-radius: 10px;
    border: 1px solid var(--tbpc-line);
    background: rgba(10, 18, 34, 0.86);
    color: #eef5ff;
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.35;
    padding: 11px 12px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.tbpc-field input::placeholder,
.tbpc-field textarea::placeholder {
    color: #7e95b8;
}

.tbpc-field input:focus,
.tbpc-field textarea:focus {
    outline: none;
    border-color: var(--tbpc-focus);
    box-shadow: 0 0 0 3px rgba(88, 178, 255, 0.2);
    background: rgba(12, 22, 40, 0.95);
}

.tbpc-field textarea {
    resize: vertical;
    min-height: 146px;
}

.tbpc-captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tbpc-captcha-question {
    font-family: "Chakra Petch", "Sora", sans-serif;
    font-size: 17px;
    letter-spacing: 0.02em;
    color: #e9f3ff;
}

.tbpc-captcha-answer {
    max-width: 160px;
}

.tbpc-field-full {
    grid-column: 1 / -1;
}

.tbpc-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.tbpc-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #b8cae5;
}

.tbpc-consent input[type="checkbox"] {
    transform: translateY(1px);
}

.tbpc-submit {
    justify-self: start;
    border: 1px solid rgba(120, 187, 255, 0.42);
    border-radius: 11px;
    padding: 11px 16px;
    font-family: "Chakra Petch", "Sora", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #e8f3ff;
    background: linear-gradient(135deg, rgba(43, 108, 199, 0.95), rgba(29, 150, 201, 0.95));
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.tbpc-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(20, 84, 164, 0.36);
    filter: brightness(1.05);
}

.tbpc-submit:active {
    transform: translateY(0);
}

.tbpc-footnote {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: #9cb5d8;
}

@media (max-width: 820px) {
    .tbpc-grid {
        grid-template-columns: 1fr;
    }

    .tbpc-card {
        padding: 14px;
    }

    .tbpc-submit {
        width: 100%;
        justify-self: stretch;
    }
}
