.twpd-card {
    --twpd-ink: #f9f4e5;
    --twpd-muted: #d8d5c7;
    --twpd-gold: #eec879;
    box-sizing: border-box;
    color: var(--twpd-ink);
    background: radial-gradient(ellipse at 0 0, #244039 0, transparent 62%), #132825;
    border: 1px solid #b59a5f;
    border-radius: 20px;
    padding: clamp(20px, 4vw, 34px);
    box-shadow: 0 14px 38px #0c201320;
    line-height: 1.55;
    text-align: left;
}
.twpd-card *, .twpd-card *::before, .twpd-card *::after { box-sizing: border-box; }
.twpd-card :is(h1, h2) {
    color: var(--twpd-ink);
    font-size: clamp(1.45rem, 3.9vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.13;
    margin: 0 0 .55rem;
}
.twpd-card h2 .twpd-platform { color: var(--twpd-gold); }
.twpd-card p {
    color: var(--twpd-muted);
    font-size: 1rem;
    line-height: 1.55;
    margin: 0 0 .75rem;
}
.twpd-card .twpd-kicker {
    color: var(--twpd-gold);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.twpd-banner {
    width: min(1120px, calc(100% - 32px));
    margin: clamp(22px, 4vw, 42px) auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px 30px;
    scroll-margin-top: 120px;
}
.twpd-banner p:last-child { margin-bottom: 0; }
.twpd-banner-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}
.twpd-banner-actions-feedback { flex: 0 1 auto; max-width: 53%; }
.twpd-card .twpd-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 46px;
    padding: 11px 19px;
    border-radius: 10px;
    border: 1px solid #ffe3aa;
    background: #f3d397;
    color: #192c24;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    cursor: pointer;
    text-align: center;
    text-transform: none;
}
.twpd-card .twpd-button:hover { background: #ffe2ac; color: #18261e; }
.twpd-card .twpd-button:disabled { opacity: .7; cursor: progress; }
.twpd-card :is(button, input, textarea, a, summary):focus-visible { outline: 2px solid #fef1cd; outline-offset: 3px; }
.twpd-card a { color: #ffdda4; text-decoration: underline; text-underline-offset: 3px; }
.twpd-card .twpd-button-secondary {
    background: transparent;
    border-color: #b59a5f;
    color: #ffe3aa;
    text-decoration: none;
}
.twpd-card .twpd-button-secondary:hover { background: #ffffff12; color: #fff1cf; }
.twpd-dialog {
    box-sizing: border-box;
    width: min(440px, calc(100% - 24px));
    max-width: none;
    max-height: calc(100% - 42px);
    max-height: calc(100dvh - 42px);
    margin: auto;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 20px;
    overflow: auto;
    overscroll-behavior: contain;
}
.twpd-dialog::backdrop { background: #0a1715b5; }
.twpd-dialog-inner { position: relative; padding: 22px clamp(16px, 5vw, 24px); }
.twpd-dialog h2 { padding-right: 36px; font-size: clamp(1.35rem, 4.7vw, 1.6rem); margin-bottom: .3rem; }
.twpd-dialog h2:focus { outline: none; }
.twpd-dialog .twpd-close {
    position: absolute;
    top: 8px;
    right: 8px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 12px;
    border: 0;
    color: #fff5db;
    background: transparent;
    font: 28px/1 Arial, sans-serif;
    cursor: pointer;
}
.twpd-dialog .twpd-close:hover { background: #ffffff14; }
.twpd-card .twpd-when { color: #ffdfa5; font-size: .88rem; margin-bottom: .8rem; }
.twpd-dialog form { display: grid; gap: .65rem; margin: 0; }
.twpd-field { display: grid; gap: .23rem; }
.twpd-dialog form label { color: #fff5e5; font-size: .92rem; font-weight: 700; }
.twpd-dialog :is(#twpd-email, #twpd-name, #twpd-feedback-code, #twpd-feedback-text) {
    width: 100%;
    min-height: 46px;
    color: #142520;
    background: #fbf7ed;
    border: 1px solid #bda879;
    border-radius: 9px;
    padding: 9px 12px;
    font: inherit;
    font-size: 16px;
}
#twpd-feedback-text { min-height: 125px; resize: vertical; }
.twpd-feedback-label { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; column-gap: .5rem; }
#twpd-feedback-count { color: var(--twpd-muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
#twpd-feedback-count.twpd-feedback-over-limit,
.twpd-dialog .twpd-feedback-limit { color: #ffbcb3; }
.twpd-dialog .twpd-feedback-limit { margin: 0; font-size: .85rem; }
.twpd-email-help {
    padding: 0 11px;
    border-left: 2px solid var(--twpd-gold);
    border-radius: 0 7px 7px 0;
    background: #fff3d00c;
    color: var(--twpd-muted);
    font-size: .86rem;
    line-height: 1.45;
}
.twpd-email-help summary { display: list-item; list-style: disclosure-closed inside; min-height: 38px; padding: 9px 0; color: var(--twpd-ink); font-weight: 700; cursor: pointer; }
.twpd-email-help[open] summary { list-style-type: disclosure-open; }
.twpd-email-help ol { display: block; list-style: decimal outside; margin: 0 0 .3rem; padding-left: 1.15rem; }
.twpd-email-help li { display: list-item; }
.twpd-dialog .twpd-email-help p { margin: 0; padding-bottom: 9px; font-size: inherit; line-height: inherit; }
.twpd-dialog .twpd-consent { display: flex; align-items: flex-start; gap: 8px; font-size: .82rem; font-weight: 500; line-height: 1.35; }
.twpd-consent input { width: 18px; height: 18px; flex: 0 0 18px; accent-color: #eec879; margin: 0; }
.twpd-dialog [hidden] { display: none !important; }
.twpd-card .twpd-small { margin: .22rem 0 0 26px; font-size: .82rem; }
.twpd-card .twpd-feedback-privacy { margin-left: 0; }
.twpd-saved p { margin: .55rem 0 0; font-size: .94rem; overflow-wrap: anywhere; }
.twpd-card .twpd-status:empty { display: none; }
.twpd-card .twpd-status:not(:empty) { margin: .65rem 0 0; font-size: .93rem; }
.twpd-status[data-state="error"] { color: #ffbcb3; }
.twpd-privacy-notice { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid #b59a5f80; scroll-margin-top: 120px; }
@media (min-width: 840px) and (pointer: fine) {
    #twpd-feedback-dialog { width: min(840px, calc(100% - 48px)); }
    #twpd-feedback-dialog .twpd-dialog-inner { padding: 30px 34px; }
    #twpd-feedback-dialog #twpd-feedback-text { min-height: clamp(190px, 32vh, 300px); }
}
/* Override the homepage's lazy layout only for the active fragment. */
:root:has(#tapworld-home-all .tw26-home > .tw26-section:target) { scroll-behavior: auto !important; }
#tapworld-home-all .tw26-home > .tw26-section:is(:target, :has(~ .tw26-section:target)) {
    content-visibility: visible !important;
}
@media (max-width: 620px) {
    .twpd-banner { flex-direction: column; align-items: stretch; }
    .twpd-banner-actions-feedback { max-width: none; }
    .twpd-banner-actions > .twpd-button { flex: 1 1 135px; }
}
