/*
 * Public/auth/dashboard page CSS
 *
 * Ownership: docs/architecture/css-ownership.md
 * Loaded after shared components and before game/chat surfaces.
 */

/* ------------------------------ HERO ------------------------------ */

.hero {
    position: relative;
    padding: 160px 0 120px;
}

.hero.hero-compact {
    padding: 140px 0 80px;
}

.hero.hero-home {
    background: radial-gradient(circle at top right, rgba(73, 107, 229, 0.25), transparent 55%),
                radial-gradient(circle at 20% 30%, rgba(255, 81, 98, 0.25), transparent 60%),
                linear-gradient(140deg, rgba(6, 8, 24, 0.85) 0%, rgba(9, 12, 35, 0.62) 100%);
}

.hero .container-xl {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1 1 480px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    font-size: 0.75rem;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.6rem, 5vw, 3.6rem);
    line-height: 1.1;
    margin: 24px 0;
    text-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
}

.hero-description {
    max-width: 580px;
    color: var(--color-text-secondary);
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 32px;
}

.hero-figure {
    flex: 1 1 340px;
    min-height: 360px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-orb {
    position: absolute;
    inset: 0;
    border-radius: 32px;
    background: linear-gradient(160deg, rgba(73,107,229,0.95), rgba(255,81,98,0.75));
    filter: blur(0);
    box-shadow: 0 45px 60px rgba(0,0,0,0.45);
    opacity: 0.9;
}

.hero-stats-panel {
    position: relative;
    z-index: 2;
    width: min(360px, 100%);
    border-radius: 28px;
    padding: 32px 32px 28px;
    background: linear-gradient(150deg, rgba(21, 26, 54, 0.92), rgba(37, 13, 47, 0.88));
    border: 1px solid rgba(73, 107, 229, 0.35);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-stats-panel header .panel-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-text-secondary);
}

.hero-stats-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.hero-stats-panel li {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-stats-panel .panel-value {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
}

.hero-stats-panel .panel-label {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.hero-stat-bar {
    margin-top: 48px;
    padding: 18px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    background: rgba(12, 14, 29, 0.78);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(73, 107, 229, 0.28);
    box-shadow: var(--shadow-card);
}

.hero-stat {
    flex: 1 1 180px;
}

.hero-stat strong {
    display: block;
    font-size: 1.6rem;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}

.hero-stat span {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* ------------------------------ FEATURE GRID ------------------------------ */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.feature-card {
    background: var(--color-surface-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(120, 132, 220, 0.18);
    padding: 28px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-medium), border-color var(--transition-fast);
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: -60% -40% auto;
    height: 140px;
    background: radial-gradient(circle, rgba(73,107,229,0.35), transparent 70%);
    z-index: 0;
}

.feature-icon {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(73, 107, 229, 0.18);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
    font-size: 1.4rem;
}

.feature-card h3 {
    position: relative;
    z-index: 1;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    position: relative;
    z-index: 1;
    color: var(--color-text-secondary);
    font-size: 0.98rem;
    line-height: 1.65;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(73, 107, 229, 0.45);
}

/* ------------------------------ TIMELINE SECTION ------------------------------ */

.timeline {
    display: grid;
    gap: 24px;
    position: relative;
}

.timeline-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    background: rgba(20, 23, 44, 0.72);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(73,107,229,0.2);
    padding: 20px 24px;
    align-items: start;
}

.timeline-index {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(73, 107, 229, 0.2);
    border: 1px solid rgba(73, 107, 229, 0.5);
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.timeline-content h4 {
    margin: 0;
    font-size: 1.15rem;
    font-family: 'Montserrat', sans-serif;
}

.timeline-content p {
    margin-top: 8px;
    color: var(--color-text-secondary);
}

/* ------------------------------ CTA SECTION ------------------------------ */

.cta-panel {
    padding: 48px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(12, 14, 29, 0.96), rgba(30, 33, 64, 0.82));
    border: 1px solid rgba(73, 107, 229, 0.25);
    box-shadow: var(--shadow-card);
    text-align: center;
}

.cta-panel h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.cta-panel p {
    color: var(--color-text-secondary);
    max-width: 640px;
    margin: 0 auto var(--spacing-lg);
}

/* ------------------------------ GENERIC CARDS ------------------------------ */

.dm-card {
    background: var(--color-surface-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(120, 132, 220, 0.22);
    box-shadow: var(--shadow-card);
    padding: 28px;
}

.dm-card h2,
.dm-card h3 {
    font-family: 'Montserrat', sans-serif;
}

.dm-grid {
    display: grid;
    gap: 24px;
}

.dm-grid.two-columns {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.dm-grid.three-columns {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* ------------------------------ DASHBOARD / CAMPANHAS ------------------------------ */

.dashboard-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 32px;
}

.campaign-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    align-items: start;
}

.campaign-card {
    background: linear-gradient(145deg, rgba(18, 20, 38, 0.96), rgba(28, 31, 52, 0.78));
    border-radius: 24px;
    border: 1px solid rgba(120, 132, 220, 0.2);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.campaign-card::after {
    content: "";
    position: absolute;
    inset: auto -40% -60% -40%;
    height: 60%;
    background: radial-gradient(circle, rgba(73,107,229,0.32), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.campaign-card:hover::after {
    opacity: 1;
}

.campaign-card h3 {
    font-size: 1.25rem;
    font-family: 'Montserrat', sans-serif;
}

.campaign-visibility {
    margin-top: 8px;
}

.campaign-description {
    color: var(--color-text-secondary);
    flex: 1 1 auto;
}

.campaign-stats {
    display: flex;
    gap: 18px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.campaign-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.campaign-card-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.campaign-sharing {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.campaign-share-form {
    display: inline-flex;
}

.campaign-party-card {
    border: 1px solid rgba(120, 132, 220, 0.18);
    border-radius: 18px;
    padding: 18px 20px;
    background: rgba(12, 14, 29, 0.72);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.campaign-party-header {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
}

.campaign-party-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.campaign-party-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(120, 132, 220, 0.16);
    border-radius: 14px;
    background: rgba(18, 20, 38, 0.6);
}

.campaign-party-empty {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.campaign-party-subtitle {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.campaign-party-invite {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.campaign-party-invite label {
    font-size: 0.82rem;
    color: var(--color-text-secondary);
}

.campaign-party-invite__row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.campaign-party-invite input[type="text"] {
    flex: 1 1 220px;
    min-width: 200px;
    background: rgba(10, 12, 25, 0.85);
    border: 1px solid rgba(120, 132, 220, 0.3);
    border-radius: 14px;
    padding: 10px 14px;
    color: var(--color-text-primary);
}

.campaign-party-invite input[type="text"]::placeholder {
    color: rgba(199, 208, 255, 0.66);
}

.campaign-party-invite.is-sending {
    opacity: 0.78;
}

.campaign-party-feedback {
    margin: 0;
    min-height: 18px;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    opacity: 0;
    transition: opacity 0.16s ease;
}

.campaign-party-feedback.is-visible {
    opacity: 1;
}

.campaign-party-feedback[data-state="success"] {
    color: var(--color-success);
}

.campaign-party-feedback[data-state="warning"] {
    color: var(--color-warning);
}

.campaign-party-feedback[data-state="error"] {
    color: var(--color-danger);
}

.dashboard-node-feedback {
    position: sticky;
    top: 74px;
    z-index: 9;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    pointer-events: none;
}

.dashboard-node-feedback__item {
    border-radius: 12px;
    border: 1px solid var(--color-border);
    background: rgba(12, 14, 29, 0.92);
    color: var(--color-text-primary);
    padding: 10px 12px;
    font-size: 0.84rem;
    box-shadow: 0 8px 20px rgba(6, 7, 13, 0.35);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.dashboard-node-feedback__item[data-tone="success"] {
    border-color: rgba(56, 224, 168, 0.45);
    color: var(--color-success);
}

.dashboard-node-feedback__item[data-tone="error"] {
    border-color: rgba(255, 81, 98, 0.45);
    color: var(--color-danger);
}

.dashboard-node-feedback__item[data-tone="warning"] {
    border-color: rgba(255, 198, 88, 0.45);
    color: var(--color-warning);
}

.dashboard-node-feedback__item.is-leaving {
    opacity: 0;
    transform: translateY(-4px);
}

.campaign-party-info {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.campaign-party-pending {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.party-inline-form {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0;
}

.party-member-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    min-width: 0;
    flex: 1 1 auto;
    flex-wrap: wrap;
}

.party-member-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.party-tag {
    background: rgba(73,107,229,0.22);
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 0.7rem;
    color: rgba(193, 201, 255, 0.92);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.party-tag--me {
    background: rgba(34, 197, 94, 0.18);
    color: #9fffb4;
}

/* ---- Redesigned campaign card layout ---- */
.campaign-card {
    padding: 24px;
    gap: 20px;
    border-radius: 22px;
}

.campaign-card__head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.campaign-card__title {
    min-width: 0;
    flex: 1 1 auto;
}

.campaign-card__title h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 6px;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.campaign-card__title p {
    margin: 0;
    color: var(--color-text-secondary);
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.campaign-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
    min-width: 0;
    max-width: 48%;
}

.campaign-card__tags .badge-soft {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.campaign-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

.campaign-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(120, 132, 220, 0.2);
    background: rgba(10, 12, 24, 0.46);
}

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

.campaign-card__cta--triple .btn:nth-child(3) {
    grid-column: 1 / -1;
}

.campaign-card__cta .btn {
    min-height: 44px;
    padding: 9px 12px;
    font-size: 0.86rem;
    line-height: 1.2;
    white-space: nowrap;
}

.campaign-card__panel {
    border: 1px solid rgba(120, 132, 220, 0.16);
    border-radius: 18px;
    background: rgba(12, 14, 29, 0.65);
    padding: 0;
    overflow: hidden;
}

.campaign-card__panel > summary {
    list-style: none;
    cursor: pointer;
    padding: 13px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    user-select: none;
    transition: background var(--transition-fast);
}

.campaign-card__panel > summary:hover,
.campaign-card__panel > summary:focus-visible {
    background: rgba(73, 107, 229, 0.1);
}

.campaign-card__panel > summary span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.campaign-card__panel > summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.72rem;
    color: var(--color-text-muted);
    transition: transform var(--transition-fast), color var(--transition-fast);
}

.campaign-card__panel > summary::-webkit-details-marker {
    display: none;
}

.campaign-card__panel[open] > summary {
    border-bottom: 1px solid rgba(120, 132, 220, 0.16);
}

.campaign-card__panel[open] > summary::after {
    transform: rotate(180deg);
    color: var(--color-text-primary);
}

.campaign-card__panel-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 18px;
}

.campaign-card__panel-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.campaign-card__section-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
}

.campaign-party-helper {
    margin: -6px 0 2px;
    font-size: 0.76rem;
    color: var(--color-text-muted);
}

.campaign-card__form,
.campaign-card__panel-section form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.campaign-card__panel .btn {
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.empty-state {
    text-align: center;
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    background: rgba(18, 20, 38, 0.72);
    border: 1px dashed rgba(120, 132, 220, 0.32);
    color: var(--color-text-secondary);
}

.community-public-wrapper {
    margin-top: 48px;
}

.community-discovery-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin: 0 0 16px;
}

.community-discovery-card {
    border: 1px solid rgba(120, 132, 220, 0.2);
    border-radius: 18px;
    background: rgba(10, 12, 24, 0.62);
    padding: 16px 18px;
    display: grid;
    gap: 10px;
}

.community-discovery-card h3 {
    margin: 0;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.community-discovery-card p {
    margin: 0;
    color: var(--color-text-secondary);
    line-height: 1.45;
}

.community-discovery-card ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
    color: var(--color-text-secondary);
    font-size: 0.92rem;
}

.community-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 32px;
}

.community-card {
    background: linear-gradient(160deg, rgba(22, 24, 42, 0.92), rgba(33, 36, 58, 0.78));
    border: 1px solid rgba(120, 132, 220, 0.2);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--shadow-card);
}

.community-card h4 {
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
}

.community-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.community-card__snippet {
    color: var(--color-text-secondary);
    flex: 1 1 auto;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 6em;
}

.community-card .btn {
    align-self: flex-start;
}

.community-card__footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.community-card__actions {
    display: grid;
    gap: 8px;
}

.community-card__footer span {
    font-size: 0.76rem;
    color: var(--color-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.community-card__footer .btn {
    align-self: stretch;
    justify-content: center;
}

.community-public-wrapper .dashboard-kpis {
    margin-top: 18px;
}

.community-public-wrapper .dashboard-toolbar {
    margin-top: 16px;
}

.community-empty {
    background: transparent;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    padding: 24px;
    border-radius: 16px;
    margin-top: 24px;
}

.community-public-header {
    text-align: center;
    margin-bottom: 32px;
}

.community-chat-log {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.community-message {
    border-radius: 20px;
    padding: 20px 24px;
    border: 1px solid rgba(120, 132, 220, 0.2);
    background: linear-gradient(160deg, rgba(18, 20, 38, 0.92), rgba(28, 31, 52, 0.78));
    box-shadow: var(--shadow-card);
}

.community-message--player {
    border-left: 4px solid rgba(73, 107, 229, 0.75);
}

.community-message--ai {
    border-left: 4px solid rgba(177, 116, 255, 0.75);
}

.community-message__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.community-message__content p {
    margin: 0 0 10px;
    line-height: 1.65;
    max-width: 78ch;
}

.community-message__content p:last-child {
    margin-bottom: 0;
}

.community-message__content--preview {
    padding-bottom: 2px;
}

.community-message__details {
    margin-top: 8px;
    border-top: 1px dashed rgba(120, 132, 220, 0.28);
    padding-top: 8px;
}

.community-message__details > summary {
    cursor: pointer;
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-secondary);
    font-size: 0.84rem;
    user-select: none;
}

.community-message__details > summary::-webkit-details-marker {
    display: none;
}

.community-message__details > summary i {
    transition: transform var(--transition-fast);
}

.community-message__details[open] > summary i {
    transform: rotate(180deg);
}

.community-message__details > .community-message__content {
    margin-top: 10px;
}

.community-message__figure {
    margin: 0 0 12px;
    border-radius: 16px;
    overflow: hidden;
}

.community-message__figure img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.community-message__choices {
    margin-top: 12px;
    padding-left: 18px;
    color: var(--color-text-secondary);
}

.community-message__choices li {
    margin-bottom: 6px;
}

.community-public-layout {
    display: grid;
    gap: 32px;
    margin-top: 32px;
    align-items: flex-start;
}

.community-public-main {
    min-width: 0;
    max-width: 980px;
}

.community-comments {
    background: linear-gradient(160deg, rgba(14, 16, 33, 0.92), rgba(26, 28, 48, 0.88));
    border: 1px solid rgba(120, 132, 220, 0.22);
    border-radius: 24px;
    padding: 20px 22px;
    box-shadow: var(--shadow-card);
    position: sticky;
    top: 112px;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 148px);
    overflow: hidden;
}

.section-badge--soft {
    background: rgba(73, 107, 229, 0.12);
    border: 1px solid rgba(73, 107, 229, 0.25);
    color: rgba(193, 201, 255, 0.9);
}

.community-comments__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.community-comments__title {
    margin: 12px 0 0;
    font-size: 1.35rem;
    font-family: 'Montserrat', sans-serif;
}

.community-comments__toggle {
    border: 1px solid rgba(120, 132, 220, 0.28);
    border-radius: 16px;
    padding: 8px 14px;
    background: rgba(16, 18, 35, 0.72);
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: var(--transition-medium);
}

.community-comments__toggle i {
    font-size: 0.75rem;
}

.community-comments__toggle:hover {
    border-color: rgba(73, 107, 229, 0.65);
    color: #fff;
}

.community-comments__toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
    transition: transform var(--transition-fast);
}

.community-comments__toggle[aria-expanded="false"] i {
    transform: rotate(0deg);
    transition: transform var(--transition-fast);
}

.community-comments__panel {
    margin-top: 18px;
    display: none;
    flex: 1 1 auto;
    overflow-y: auto;
    padding-right: 6px;
}

.community-comments__panel.is-open {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.community-comments__panel::-webkit-scrollbar {
    width: 6px;
}

.community-comments__panel::-webkit-scrollbar-thumb {
    background: rgba(120, 132, 220, 0.35);
    border-radius: 999px;
}

.community-comments__panel::-webkit-scrollbar-track {
    background: transparent;
}

.community-comment-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(12, 14, 28, 0.72);
    border: 1px solid rgba(120, 132, 220, 0.18);
    border-radius: 18px;
    padding: 16px 18px;
    position: sticky;
    top: 0;
    z-index: 1;
}

.community-comment-form--reply {
    margin-top: 14px;
    background: rgba(18, 20, 38, 0.7);
}

.community-comment-form__label {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.community-comment-form__input {
    background: rgba(8, 10, 24, 0.9);
    border: 1px solid rgba(120, 132, 220, 0.3);
    border-radius: 14px;
    padding: 12px 14px;
    color: var(--color-text-primary);
    resize: vertical;
    min-height: 110px;
}

.community-comment-form__input:focus {
    outline: none;
    border-color: rgba(73, 107, 229, 0.7);
    box-shadow: 0 0 0 1px rgba(73, 107, 229, 0.35);
}

.community-comment-form__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.community-comment-form__actions {
    display: flex;
    gap: 10px;
}

.community-comment-form__counter {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.community-comment-form__counter.is-warning {
    color: #ffbe5b;
}

.community-comment-feedback {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    min-height: 18px;
}

.community-comment-feedback[data-state="error"] {
    color: #ff7d7d;
}

.community-comment-feedback[data-state="success"] {
    color: #8ce48f;
}

.community-comment-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1 1 auto;
}

.community-comment {
    border-radius: 18px;
    border: 1px solid rgba(120, 132, 220, 0.22);
    background: linear-gradient(160deg, rgba(15, 16, 30, 0.95), rgba(22, 24, 40, 0.78));
    padding: 16px 18px;
    box-shadow: var(--shadow-card);
}

.community-comment__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.community-comment__author {
    font-weight: 600;
    color: var(--color-text-primary);
}

.community-comment__meta time {
    font-size: 0.8rem;
}

.community-comment__content {
    margin: 10px 0 0;
    line-height: 1.6;
    color: var(--color-text-secondary);
    white-space: pre-line;
}

.community-comment__actions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
}

.community-comment__reply-btn {
    border: 1px solid rgba(73, 107, 229, 0.45);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.85rem;
    background: rgba(73, 107, 229, 0.18);
    color: rgba(193, 201, 255, 0.92);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.community-comment__reply-btn.is-active,
.community-comment__reply-btn:hover {
    background: rgba(73, 107, 229, 0.32);
    color: #fff;
}

.community-comment__reply-host {
    margin-top: 10px;
}

.community-comment__replies {
    margin-top: 16px;
    padding-left: 18px;
    border-left: 2px solid rgba(73, 107, 229, 0.25);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.community-comment-empty {
    text-align: center;
    padding: 20px;
    border-radius: 16px;
    border: 1px dashed rgba(120, 132, 220, 0.26);
    background: rgba(12, 13, 26, 0.72);
    color: var(--color-text-secondary);
}

.community-comment-auth {
    background: rgba(15, 16, 30, 0.82);
    border: 1px solid rgba(120, 132, 220, 0.24);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: var(--color-text-secondary);
}

.community-comment-auth__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.community-comments-floating {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 98;
    display: none;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid rgba(120, 132, 220, 0.28);
    background: rgba(12, 14, 32, 0.9);
    color: var(--color-text-primary);
    padding: 12px 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.community-comments-floating:focus-visible,
.community-comments-floating:hover {
    border-color: rgba(73, 107, 229, 0.55);
    background: rgba(73, 107, 229, 0.24);
    color: #fff;
}

.community-comments-floating[aria-expanded="true"] {
    border-color: rgba(73, 107, 229, 0.65);
    background: rgba(73, 107, 229, 0.34);
    color: #fff;
    box-shadow: 0 20px 42px rgba(18, 24, 60, 0.42);
}

.community-comments-overlay {
    display: none;
}

.community-comment-form.is-submitting {
    opacity: 0.8;
    pointer-events: none;
}

.community-comment-form--reply.is-submitting {
    opacity: 0.75;
}

.chat-community-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-community-card .chat-card-header {
    margin-bottom: 0;
}

.chat-community-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-community-panel .community-comment-list {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
}

.chat-community-panel .community-comment-list::-webkit-scrollbar {
    width: 6px;
}

.chat-community-panel .community-comment-list::-webkit-scrollbar-thumb {
    background: rgba(120, 132, 220, 0.35);
    border-radius: 999px;
}

.chat-community-panel .community-comment-list::-webkit-scrollbar-track {
    background: transparent;
}

.chat-community-panel .community-comment {
    margin: 0;
}

.chat-community-panel .community-comment + .community-comment {
    margin-top: 12px;
}

.chat-community-panel .community-comment__replies {
    margin-top: 12px;
}

.chat-community-panel .community-comment-empty {
    margin: 0;
}

.chat-community-panel .community-comment-form__input {
    min-height: 80px;
}

.chat-comments-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.chat-community-card.is-highlighted {
    box-shadow: 0 0 0 2px rgba(73, 107, 229, 0.45), 0 12px 32px rgba(0, 0, 0, 0.35);
    transition: box-shadow var(--transition-medium);
}

@media (min-width: 992px) {
    .community-public-layout {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
        align-items: flex-start;
    }

    .community-comments__toggle {
        display: none;
    }

    .community-comments__panel {
        display: flex !important;
        margin-top: 24px;
        flex-direction: column;
    }
}

@media (max-width: 991px) {
    .community-comments {
        margin: 0 -4px;
        position: relative;
        top: auto;
        max-height: none;
        overflow: visible;
    }

    .community-comment-form__input {
        min-height: 90px;
    }

    .community-comments-floating {
        display: inline-flex;
    }

    .community-comments__panel {
        padding-right: 0;
    }

    .community-comment-form {
        position: static;
    }

    .campaign-party-card {
        padding: 16px;
    }

    .campaign-party-list li {
        flex-direction: column;
        align-items: flex-start;
    }

    .party-inline-form {
        width: 100%;
        justify-content: flex-end;
    }

    .campaign-card {
        padding: 20px;
    }

    .campaign-card__head {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .campaign-card__tags {
        justify-content: flex-start;
        max-width: 100%;
    }

    .campaign-card__cta {
        grid-template-columns: 1fr;
    }

    .campaign-card__cta .btn {
        white-space: normal;
    }

    .campaign-party-invite__row {
        flex-direction: column;
        align-items: stretch;
    }

    .campaign-party-invite input[type="text"] {
        width: 100%;
    }

    .community-public-layout.comments-open {
        position: relative;
    }

    .community-public-layout.comments-open .community-comments {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0;
        max-height: 80vh;
        border-radius: 32px 32px 0 0;
        padding: 24px 24px 32px;
        box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.55);
        z-index: 99;
    }

    .community-public-layout.comments-open .community-comments__panel {
        display: flex;
    }

    .community-comments-overlay {
        position: fixed;
        inset: 0;
        background: rgba(6, 7, 16, 0.74);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition-medium);
        z-index: 96;
        display: block;
    }

    .community-comments-overlay.is-open {
        opacity: 1;
        pointer-events: auto;
    }

    .community-comments-floating {
        bottom: 18px;
    }
}

.chat-share-card__body {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.chat-share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* ------------------------------ PLANOS ------------------------------ */

.plans-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.plans-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
}

.plans-header .plans-subtitle {
    color: var(--color-text-secondary);
    max-width: 620px;
    margin: 12px auto 0;
}

.plans-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.plan-card {
    background: rgba(14, 16, 33, 0.95);
    border-radius: 28px;
    border: 1px solid rgba(120,132,220,0.18);
    padding: 32px 28px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.plan-card.is-current {
    border-color: rgba(88, 214, 141, 0.55);
    box-shadow: 0 24px 44px rgba(13, 56, 31, 0.3);
}

.plan-header {
    text-align: center;
}

.price-value {
    margin-top: 8px;
    font-size: 2rem;
    font-weight: 800;
    color: #f6f7ff;
    line-height: 1.15;
}

.plan-billing-label {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #d9e2ff;
}

.plan-billing-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.82rem;
    line-height: 1.35;
    color: #b4c0ef;
}

.plan-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
}

.plan-price {
    margin-top: 6px;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.plan-body {
    color: var(--color-text-secondary);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 12px;
}

.plan-features li {
    display: flex;
    gap: 12px;
    align-items: center;
}

.plan-features i {
    color: var(--color-accent);
}

.plan-footer {
    margin-top: auto;
}

.checkout-trust {
    margin-top: 28px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(120, 132, 220, 0.26);
    background: rgba(15, 18, 36, 0.78);
    display: grid;
    gap: 10px;
}

.checkout-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d3daf7;
    font-size: 0.92rem;
}

.checkout-trust-item i {
    color: #9fb2ff;
}

/* ------------------------------ SUPORTE ------------------------------ */

.support-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.support-grid {
    gap: var(--spacing-lg);
}

.support-card {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.support-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
}

.support-text {
    color: var(--color-text-secondary);
    margin: 0 0 var(--spacing-sm);
}

.support-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    color: var(--color-text-secondary);
}

.support-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.support-list li i {
    color: var(--color-accent);
    margin-top: 4px;
}

.support-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

/* ------------------------------ PERFIL ------------------------------ */

.profile-header {
    text-align: center;
    margin-bottom: 42px;
}

.profile-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.profile-card {
    background: rgba(18, 20, 38, 0.92);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(120, 132, 220, 0.2);
    padding: 28px;
    box-shadow: var(--shadow-card);
}

.profile-info {
    display: grid;
    gap: 14px;
}

.info-item {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--color-text-secondary);
}

.info-item i {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    background: rgba(73,107,229,0.18);
    border-radius: 10px;
    color: var(--color-text-primary);
}

.plan-limits-list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
    color: var(--color-text-secondary);
}

.plan-limits-list li {
    display: flex;
    gap: 10px;
    align-items: center;
}

.dm-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.dm-table thead {
    background: rgba(73,107,229,0.18);
}

.dm-table th,
.dm-table td {
    padding: 14px 18px;
    text-align: left;
    color: var(--color-text-secondary);
    border-bottom: 1px solid rgba(120, 132, 220, 0.12);
}

.dm-table tbody tr:hover {
    background: rgba(73,107,229,0.08);
}

/* ------------------------------ FORMULÁRIOS ------------------------------ */

.auth-layout,
.form-layout {
    display: flex;
    justify-content: center;
    padding: 40px 20px 80px;
}

.form-layout--centered {
    align-items: center;
    min-height: calc(100vh - 160px);
    padding-bottom: 40px;
}

.auth-card,
.form-card {
    width: min(480px, 100%);
    background: rgba(18, 20, 38, 0.9);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(120,132,220,0.2);
    padding: 36px;
    box-shadow: var(--shadow-card);
}

.form-card--campaign .auth-header {
    display: grid;
    gap: calc(var(--spacing-sm) + 2px);
    justify-items: center;
    margin-top: 4px;
    margin-bottom: calc(var(--spacing-lg) + 6px);
}

.form-card--campaign .section-badge {
    margin-top: 4px;
    margin-bottom: 10px;
}

.form-card--campaign .campaign-flow-stepper-panel {
    width: 100%;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
}

.form-card--campaign h2 {
    margin: 0;
}

.campaign-create-header p {
    max-width: 46ch;
    margin-left: auto;
    margin-right: auto;
}

.campaign-flow-stepper-panel {
    border: 1px solid rgba(120,132,220,0.18);
    border-radius: var(--radius-md);
    background: rgba(10, 12, 24, 0.52);
    padding: 14px;
    margin-bottom: 18px;
}

.campaign-flow-stepper {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.campaign-flow-stepper__item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    border-radius: 14px;
    border: 1px solid rgba(120, 132, 220, 0.24);
    background: rgba(12, 14, 29, 0.68);
    padding: 11px 12px 10px;
    min-height: 74px;
    color: var(--color-text-muted);
}

.campaign-flow-stepper__index {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(120, 132, 220, 0.35);
    background: rgba(18, 20, 38, 0.92);
    margin-top: 1px;
    flex: 0 0 24px;
}

.campaign-flow-stepper__copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    width: 0;
    min-width: 0;
}

.campaign-flow-stepper__copy strong {
    font-size: 0.82rem;
    line-height: 1.18;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    min-height: 2.3em;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.campaign-flow-stepper__copy small {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    line-height: 1.2;
    margin-top: 1px;
    min-height: 2.4em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    overflow-wrap: anywhere;
}

.campaign-flow-stepper__item.is-done {
    border-color: rgba(56, 224, 168, 0.42);
    background: rgba(56, 224, 168, 0.12);
}

.campaign-flow-stepper__item.is-done .campaign-flow-stepper__index {
    border-color: rgba(56, 224, 168, 0.52);
    background: rgba(56, 224, 168, 0.2);
    color: #c8ffea;
}

.campaign-flow-stepper__item.is-done .campaign-flow-stepper__copy strong {
    color: #d4ffef;
}

.campaign-flow-stepper__item.is-active {
    border-color: rgba(73, 107, 229, 0.6);
    background: rgba(73, 107, 229, 0.18);
}

.campaign-flow-stepper__item.is-active .campaign-flow-stepper__index {
    border-color: rgba(73, 107, 229, 0.6);
    background: rgba(73, 107, 229, 0.25);
    color: #eef2ff;
}

.campaign-flow-stepper__item.is-active .campaign-flow-stepper__copy strong {
    color: #f1f4ff;
}

.campaign-flow-stepper--compact {
    margin-bottom: 0;
}

.campaign-flow-stepper--compact.campaign-flow-stepper {
    gap: 10px;
}

.campaign-flow-stepper--compact .campaign-flow-stepper__item {
    align-items: center;
    justify-content: flex-start;
    min-height: 54px;
    padding: 8px 10px;
    overflow: hidden;
}

.campaign-flow-stepper--compact .campaign-flow-stepper__index {
    margin-top: 0;
}

.campaign-flow-stepper--compact .campaign-flow-stepper__copy strong {
    min-height: auto;
    font-size: clamp(0.62rem, 1.5vw, 0.76rem);
    line-height: 1.08;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    text-wrap: balance;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: clip;
    text-align: left;
}

.campaign-flow-stepper--compact .campaign-flow-stepper__copy small {
    display: none;
}

@media (max-width: 760px) {
    .form-card--campaign .campaign-flow-stepper-panel {
        max-width: 100%;
        overflow-x: visible;
    }

    .campaign-flow-stepper--compact.campaign-flow-stepper {
        grid-template-columns: repeat(3, minmax(88px, 1fr));
        gap: 8px;
        min-width: 0;
    }

    .campaign-flow-stepper--compact .campaign-flow-stepper__item {
        padding: 7px 6px;
        min-height: 58px;
    }

    .campaign-flow-stepper--compact .campaign-flow-stepper__copy strong {
        font-size: 0.62rem;
        line-height: 1.08;
        overflow-wrap: break-word;
        word-break: normal;
    }
}

@media (max-width: 560px) {
    .campaign-flow-stepper--compact.campaign-flow-stepper {
        gap: 6px;
    }

    .campaign-flow-stepper--compact .campaign-flow-stepper__item {
        padding: 7px 5px;
    }

    .campaign-flow-stepper--compact .campaign-flow-stepper__index {
        width: 21px;
        height: 21px;
        flex-basis: 21px;
        font-size: 0.67rem;
    }

    .campaign-flow-stepper--compact .campaign-flow-stepper__copy strong {
        font-size: 0.6rem;
    }
}

@media (max-width: 920px) {
    .campaign-flow-stepper:not(.campaign-flow-stepper--compact) {
        grid-template-columns: 1fr;
    }

    .campaign-flow-stepper:not(.campaign-flow-stepper--compact) .campaign-flow-stepper__item {
        padding: 9px 11px;
    }
}

.dashboard-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.dashboard-kpi {
    border: 1px solid rgba(120, 132, 220, 0.18);
    border-radius: 14px;
    background: rgba(10, 12, 24, 0.58);
    padding: 12px 14px;
    display: grid;
    gap: 4px;
}

.dashboard-kpi strong {
    font-family: "Montserrat", sans-serif;
    font-size: 1.15rem;
    line-height: 1.1;
    color: var(--color-text-primary);
}

.dashboard-kpi span {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.dashboard-toolbar {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.dashboard-toolbar__search {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(120, 132, 220, 0.22);
    border-radius: 12px;
    background: rgba(12, 14, 29, 0.62);
    padding: 2px 12px;
}

.dashboard-toolbar__search i {
    color: var(--color-text-muted);
}

.dashboard-toolbar__search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--color-text-primary);
    font-size: 0.9rem;
    min-height: 44px;
}

.dashboard-toolbar__search input::placeholder {
    color: rgba(200, 207, 235, 0.55);
}

.dashboard-toolbar__filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.dashboard-toolbar__sort {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
}

.dashboard-toolbar__sort label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.dashboard-toolbar__sort select {
    min-width: 210px;
    border: 1px solid rgba(120, 132, 220, 0.24);
    border-radius: 10px;
    background: rgba(12, 14, 29, 0.78);
    color: var(--color-text-primary);
    font-size: 0.84rem;
    padding: 8px 10px;
    min-height: 44px;
}

.dashboard-toolbar__sort select:focus-visible {
    outline: 2px solid rgba(73, 107, 229, 0.52);
    outline-offset: 2px;
}

.dashboard-chip {
    border: 1px solid rgba(120, 132, 220, 0.26);
    border-radius: 999px;
    background: rgba(16, 18, 34, 0.72);
    color: var(--color-text-secondary);
    padding: 7px 12px;
    font-size: 0.79rem;
    line-height: 1;
    transition: var(--transition-fast);
    min-height: 44px;
}

.dashboard-chip:hover,
.dashboard-chip:focus-visible {
    border-color: rgba(73, 107, 229, 0.58);
    color: var(--color-text-primary);
}

.dashboard-chip.is-active {
    border-color: rgba(73, 107, 229, 0.64);
    background: rgba(73, 107, 229, 0.22);
    color: #eef2ff;
}

.dashboard-empty-filter {
    text-align: center;
    padding: 26px 18px;
    border-radius: 16px;
    border: 1px dashed rgba(120, 132, 220, 0.32);
    background: rgba(10, 12, 24, 0.52);
    color: var(--color-text-secondary);
}

.dashboard-empty-filter h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.dashboard-empty-filter p {
    margin: 0;
}

@media (max-width: 1100px) {
    .dashboard-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .dashboard-kpis {
        grid-template-columns: 1fr;
    }

    .dashboard-toolbar__sort {
        width: 100%;
        justify-content: space-between;
    }

    .dashboard-toolbar__sort select {
        min-width: 0;
        width: 100%;
    }
}

@media (min-width: 980px) {
    .dashboard-toolbar {
        grid-template-columns: minmax(280px, 420px) minmax(0, 1fr) auto;
        align-items: center;
    }
}

.error-message {
    color: var(--color-danger);
    font-size: 0.85rem;
}

/* ------------------------------ PAGAMENTO ------------------------------ */

.payment-card {
    width: min(720px, 100%);
}

.payment-card .auth-header {
    text-align: center;
}

.payment-summary {
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(12, 18, 38, 0.95), rgba(21, 30, 52, 0.82));
    border: 1px solid rgba(73, 107, 229, 0.35);
    display: grid;
    gap: var(--spacing-sm);
}

.payment-summary .plan-limits-list {
    margin-top: var(--spacing-md);
}

.plan-brief h3 {
    margin: 0 0 6px;
    font-family: 'Montserrat', sans-serif;
}

.plan-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-highlight {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: #fff;
}

.price-period {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.payment-form {
    display: grid;
    gap: var(--spacing-md);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.flex-fill {
    flex: 1 1 min(220px, 100%);
}

.payment-card .card-input,
.payment-card .StripeElement {
    background: rgba(12, 14, 29, 0.85);
    border: 1px solid rgba(120, 132, 220, 0.22);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    color: var(--color-text-primary);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    width: 100%;
}

.payment-card .StripeElement--focus,
.payment-card .card-input.is-focused {
    border-color: rgba(73, 107, 229, 0.65);
    box-shadow: 0 0 0 3px rgba(73, 107, 229, 0.25);
}

.payment-card .StripeElement--invalid {
    border-color: rgba(255, 81, 98, 0.8);
    box-shadow: 0 0 0 3px rgba(255, 81, 98, 0.18);
}

.payment-card .error-message {
    text-align: center;
    display: none;
}

/* ------------------------------ WEB PAGE MEDIA QUERIES ------------------------------ */

/* ------------------------------ MESA DA LANTERNA / LANDING ------------------------------ */

/* ------------------------------ MESA DA LANTERNA / AUTH AND ACCOUNT ------------------------------ */

.auth-layout--lantern {
    width: calc(100% + 40px);
    min-height: calc(100svh - 68px);
    margin: -24px -20px -80px;
    align-items: center;
    padding: 112px 20px 72px;
    position: relative;
    isolation: isolate;
    background: url("../images/fundo_main.jpg") center 48% / cover no-repeat;
}

.auth-layout--lantern::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(5, 12, 14, 0.68);
    box-shadow: inset 0 -120px 120px rgba(7, 16, 19, 0.72);
}

.auth-layout--lantern .auth-card {
    width: min(520px, 100%);
    padding: 38px;
    border: 1px solid rgba(118, 174, 164, 0.26);
    border-radius: 6px;
    background: rgba(10, 25, 27, 0.94);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
}

.auth-layout--lantern .auth-header {
    display: grid;
    justify-items: center;
    margin-bottom: 28px;
    text-align: center;
}

.auth-layout--lantern .auth-emblem {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border: 1px solid rgba(218, 146, 88, 0.4);
    border-radius: 50%;
    color: #da9258;
    background: #15282a;
}

.auth-layout--lantern .auth-eyebrow {
    color: #da9258;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.auth-layout--lantern .auth-header h1 {
    margin: 8px 0 6px;
    color: #edf2ec;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2rem, 5vw, 2.6rem);
    font-weight: 600;
    line-height: 1.1;
}

.auth-layout--lantern .auth-header p {
    max-width: 38ch;
    margin: 0;
    color: #9eb0ad;
}

.auth-layout--lantern .auth-form {
    display: grid;
    gap: 4px;
}

.auth-layout--lantern .form-label {
    color: #c7d1ce;
    font-size: 0.82rem;
    font-weight: 700;
}

.auth-layout--lantern .form-control {
    min-height: 48px;
    border: 1px solid rgba(118, 174, 164, 0.26);
    border-radius: 6px;
    background: #071013;
    color: #edf2ec;
}

.auth-layout--lantern .form-control:focus {
    border-color: #da9258;
    background: #071013;
    color: #edf2ec;
    box-shadow: 0 0 0 3px rgba(218, 146, 88, 0.16);
}

.auth-layout--lantern .btn-cta {
    min-height: 48px;
    border-color: #da9258;
    border-radius: 6px;
    background: #da9258;
    color: #071013;
    box-shadow: none;
}

.auth-layout--lantern .btn-cta:hover,
.auth-layout--lantern .btn-cta:focus {
    border-color: #edac76;
    background: #edac76;
    color: #071013;
    box-shadow: none;
    transform: translateY(-1px);
}

.auth-layout--lantern .auth-links {
    display: grid;
    gap: 6px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(118, 174, 164, 0.16);
    color: #9eb0ad;
    text-align: center;
}

.auth-layout--lantern .auth-links p {
    margin: 0;
}

.auth-layout--lantern .auth-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #edf2ec;
    text-decoration: underline;
    text-decoration-color: rgba(218, 146, 88, 0.45);
    text-underline-offset: 3px;
}

.auth-layout--lantern .error-message {
    margin: 6px 0 0 !important;
    padding: 10px 12px;
    border: 1px solid currentColor;
    border-radius: 4px;
    background: rgba(7, 16, 19, 0.62);
    font-size: 0.82rem;
}

.profile-page {
    max-width: 1180px;
    margin: 0 auto;
}

.profile-page__header {
    max-width: 760px;
    margin-bottom: 40px;
}

.profile-page__header .section-badge {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #da9258;
    letter-spacing: 0;
}

.profile-page__header .section-title {
    margin: 12px 0 8px;
    color: #edf2ec;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: 0;
}

.profile-page__header .section-subtitle {
    margin: 0;
    color: #9eb0ad;
}

.profile-page__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.profile-page__nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid rgba(118, 174, 164, 0.24);
    border-radius: 4px;
    color: #c7d1ce;
    font-size: 0.8rem;
    font-weight: 700;
}

.profile-page__nav a:hover,
.profile-page__nav a:focus {
    border-color: rgba(218, 146, 88, 0.5);
    background: #15282a;
    color: #edf2ec;
}

.profile-page .profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(118, 174, 164, 0.18);
    border-radius: 6px;
    background: #0e1b1e;
}

.profile-page .profile-grid--overview {
    border-top-color: rgba(218, 146, 88, 0.7);
}

.profile-page .profile-card {
    min-width: 0;
    padding: 26px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.profile-page .profile-card + .profile-card {
    border-left: 1px solid rgba(118, 174, 164, 0.16);
}

.profile-page [id] {
    scroll-margin-top: 6rem;
}

.profile-page .profile-card h2 {
    margin: 0;
    color: #edf2ec;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.35rem;
}

.profile-page .profile-card__subheading {
    margin: 22px 0 0;
    color: #edf2ec;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.profile-page .profile-plan-summary {
    display: grid;
    gap: 7px;
}

.profile-page .profile-plan-status {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #63aaa0;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.profile-page .profile-plan-price {
    margin: 0;
    color: #edf2ec;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.08rem;
}

.profile-page .profile-plan-description {
    max-width: 46ch;
    margin: 0;
    color: #c7d3cf;
    line-height: 1.55;
}

.profile-page .info-item {
    min-width: 0;
    align-items: flex-start;
    color: #c7d3cf;
}

.profile-page .info-item > div {
    min-width: 0;
}

.profile-page .info-item i {
    flex: 0 0 32px;
    border: 1px solid rgba(118, 174, 164, 0.18);
    border-radius: 50%;
    background: transparent;
    color: #63aaa0;
}

.profile-page .info-label {
    color: #aebcb8;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.profile-page .info-value {
    overflow-wrap: anywhere;
    color: #edf2ec;
}

.profile-page .form-control {
    min-height: 46px;
    border-color: rgba(118, 174, 164, 0.24);
    border-radius: 6px;
    background: #071013;
    color: #edf2ec;
}

.profile-page .form-control:focus {
    border-color: #da9258;
    background: #071013;
    color: #edf2ec;
    box-shadow: 0 0 0 3px rgba(218, 146, 88, 0.14);
}

.profile-page .btn {
    border-radius: 6px;
}

.profile-page .btn-cta {
    border-color: #da9258;
    background: #da9258;
    color: #071013;
    box-shadow: none;
}

.profile-page .profile-usage-progress {
    height: 8px;
    overflow: hidden;
    border-radius: 4px;
    background: #071013;
}

.profile-page .profile-usage-progress .progress-bar {
    width: var(--usage-progress, 0%);
    background: #63aaa0;
}

.profile-page .profile-usage-progress + .form-text.text-muted {
    color: #d5ded9 !important;
}

.profile-page .dm-table {
    border-radius: 4px;
}

.profile-page .dm-table thead {
    background: #15282a;
}

.profile-page .dm-table th,
.profile-page .dm-table td {
    border-bottom-color: rgba(118, 174, 164, 0.14);
    color: #d5ded9;
}

.profile-page .dm-table th {
    color: #edf2ec;
}

.profile-page .plan-limits-list {
    color: #d5ded9;
}

.profile-page .plan-limits-list i {
    color: #63aaa0;
}

.profile-page .error-message {
    margin: 10px 0 0 !important;
    padding: 9px 11px;
    border: 1px solid currentColor;
    border-radius: 4px;
    background: #071013;
    font-size: 0.82rem;
}

.profile-empty-state {
    max-width: 620px;
    display: grid;
    justify-items: start;
    gap: 14px;
    margin: 72px auto;
    padding: 36px;
    border: 1px solid rgba(118, 174, 164, 0.2);
    border-radius: 6px;
    background: #0e1b1e;
    text-align: left;
}

.profile-empty-state .auth-emblem {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(218, 146, 88, 0.4);
    border-radius: 50%;
    color: #da9258;
    background: #15282a;
}

.profile-empty-state h1 {
    margin: 0;
    color: #edf2ec;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2rem;
}

.profile-empty-state p {
    margin: 0;
    color: #9eb0ad;
}

.landing-wrapper {
    width: calc(100% + 40px);
    margin: -24px -20px -80px;
    background: #071013;
}

.landing-wrapper .hero-home {
    min-height: min(820px, calc(100svh - 64px));
    display: flex;
    align-items: flex-end;
    padding: 156px 0 126px;
    isolation: isolate;
    background: url("../images/fundo_main.jpg") center 42% / cover no-repeat;
}

.landing-wrapper .hero-home::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(5, 12, 14, 0.55);
    box-shadow: inset 0 -180px 140px rgba(7, 16, 19, 0.92);
}

.landing-wrapper .hero-home .container-xl {
    width: 100%;
    display: block;
}

.landing-wrapper .hero-content {
    max-width: 760px;
}

.landing-wrapper .hero-eyebrow {
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #d7a275;
    letter-spacing: 0;
}

.landing-wrapper .hero-title {
    max-width: none;
    margin: 18px 0 8px;
    color: #f2f4ef;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(3.4rem, 8vw, 6.8rem);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: 0;
    text-shadow: 0 8px 38px rgba(0, 0, 0, 0.72);
}

.landing-wrapper .hero-offer {
    max-width: 680px;
    margin: 22px 0 0;
    color: #edf2ec;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.35rem, 2.2vw, 1.78rem);
    line-height: 1.35;
}

.landing-wrapper .hero-description {
    max-width: 650px;
    margin-top: 16px;
    color: #c2cfcb;
    font-size: 1rem;
    line-height: 1.7;
}

.landing-wrapper .hero-actions {
    gap: 12px;
    margin-top: 28px;
}

.landing-wrapper .btn-cta,
.landing-wrapper .btn-ghost {
    min-height: 48px;
    padding: 11px 18px;
    border-radius: 6px;
    box-shadow: none;
}

.landing-wrapper .btn-cta {
    border-color: #da9258;
    background: #da9258;
    color: #071013;
}

.landing-wrapper .btn-cta:hover {
    border-color: #edac76;
    background: #edac76;
    color: #071013;
    transform: translateY(-1px);
    box-shadow: none;
}

.landing-wrapper .btn-ghost {
    border-color: rgba(237, 242, 236, 0.34);
    background: rgba(7, 16, 19, 0.28);
    color: #edf2ec;
}

.landing-wrapper .hero-figure {
    position: absolute;
    right: max(24px, calc((100vw - 1320px) / 2));
    bottom: 34px;
    min-height: 0;
    margin: 0;
}

.landing-wrapper .hero-stats-panel {
    width: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.landing-wrapper .hero-stats-panel header {
    display: none;
}

.landing-wrapper .hero-stats-panel ul {
    display: flex;
    gap: 24px;
}

.landing-wrapper .hero-stats-panel li {
    min-width: 112px;
    gap: 0;
}

.landing-wrapper .hero-stats-panel .panel-value {
    color: #edf2ec;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.15rem;
}

.landing-wrapper .hero-stats-panel .panel-label {
    color: #9eb0ad;
    font-size: 0.72rem;
}

.landing-wrapper .dm-section {
    border-top: 1px solid rgba(118, 174, 164, 0.12);
    background: #071013;
}

.landing-wrapper .dm-section:nth-of-type(3) {
    background: #0b1719;
}

.landing-wrapper .section-header {
    max-width: 820px;
    margin-right: auto;
    margin-left: auto;
}

.landing-wrapper .section-badge {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #da9258;
    letter-spacing: 0;
}

.landing-wrapper .section-title {
    color: #edf2ec;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0;
}

.landing-wrapper .section-subtitle {
    color: #9eb0ad;
}

.landing-wrapper .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(118, 174, 164, 0.18);
    border-bottom: 1px solid rgba(118, 174, 164, 0.18);
}

.landing-wrapper .feature-card {
    min-height: 330px;
    padding: 36px 32px;
    border: 0;
    border-right: 1px solid rgba(118, 174, 164, 0.18);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.landing-wrapper .feature-card:last-child {
    border-right: 0;
}

.landing-wrapper .feature-card::after {
    display: none;
}

.landing-wrapper .feature-card:hover {
    border-color: rgba(118, 174, 164, 0.18);
    background: #0e1b1e;
    transform: none;
}

.landing-wrapper .feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 42px;
    border: 1px solid rgba(218, 146, 88, 0.35);
    border-radius: 50%;
    background: transparent;
    color: #da9258;
    font-size: 1rem;
}

.landing-wrapper .feature-index {
    display: block;
    margin-bottom: 12px;
    color: #63aaa0;
    font-size: 0.72rem;
    font-weight: 700;
}

.landing-wrapper .feature-card h3 {
    color: #edf2ec;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.45rem;
}

.landing-wrapper .feature-card p {
    color: #9eb0ad;
}

.landing-wrapper .timeline {
    max-width: 980px;
    margin: 0 auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.landing-wrapper .timeline-step {
    min-width: 0;
    grid-template-columns: 1fr;
    padding: 28px;
    border-top: 1px solid rgba(118, 174, 164, 0.18);
    background: transparent;
}

.landing-wrapper .timeline-index {
    width: auto;
    height: auto;
    display: block;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #da9258;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2rem;
}

.landing-wrapper .timeline-content h4 {
    color: #edf2ec;
    font-family: Georgia, 'Times New Roman', serif;
}

.landing-wrapper .timeline-content p {
    color: #9eb0ad;
}

.landing-wrapper .community-card {
    border-color: rgba(118, 174, 164, 0.18);
    border-radius: 6px;
    background: #0e1b1e;
    box-shadow: none;
}

.landing-wrapper .cta-panel {
    padding: 70px 24px;
    border: 1px solid rgba(118, 174, 164, 0.18);
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.landing-wrapper .cta-panel__eyebrow {
    color: #da9258;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.landing-wrapper .cta-panel h3 {
    color: #edf2ec;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.landing-wrapper .cta-panel .hero-actions {
    justify-content: center;
}

@media (max-width: 991px) {
    .hero {
        padding: 120px 0 100px;
    }

    .hero-figure {
        margin-top: 32px;
    }

    .hero-stats-card {
        width: 100%;
    }

    .hero-title {
        font-size: clamp(2.4rem, 7vw, 3.2rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .landing-wrapper .hero-home {
        min-height: 720px;
        align-items: center;
        padding: 130px 0 170px;
        background-position: 62% center;
    }

    .landing-wrapper .hero-figure {
        right: 24px;
        bottom: 32px;
    }

    .landing-wrapper .feature-grid,
    .landing-wrapper .timeline {
        grid-template-columns: 1fr;
    }

    .landing-wrapper .feature-card {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(118, 174, 164, 0.18);
    }

    .landing-wrapper .feature-card:last-child {
        border-bottom: 0;
    }

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

    .campaign-stats {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-row {
        flex-direction: column;
    }

    .support-actions .btn {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .auth-layout--lantern {
        width: calc(100% + 24px);
        min-height: calc(100svh - 58px);
        margin-right: -12px;
        margin-left: -12px;
        padding: 92px 12px 48px;
        background-position: 64% center;
    }

    .auth-layout--lantern .auth-card {
        padding: 28px 20px;
    }

    .auth-layout--lantern .auth-header {
        margin-bottom: 24px;
    }

    .profile-page__header {
        margin-bottom: 30px;
    }

    .profile-page__header .section-title {
        font-size: 2.35rem;
    }

    .profile-page__nav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .profile-page__nav a {
        min-width: 0;
        justify-content: center;
        padding: 8px 6px;
        font-size: 0.7rem;
    }

    .profile-page .profile-card {
        padding: 20px 16px;
    }

    .profile-page .profile-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .profile-page .profile-card + .profile-card {
        border-top: 1px solid rgba(118, 174, 164, 0.16);
        border-left: 0;
    }

    .profile-page .form-actions {
        align-items: stretch;
    }

    .profile-page .form-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .landing-wrapper {
        width: calc(100% + 24px);
        margin-right: -12px;
        margin-left: -12px;
    }

    .landing-wrapper .hero-home {
        min-height: 650px;
        padding: 112px 0 72px;
        background-position: 66% center;
    }

    .landing-wrapper .hero-title {
        font-size: clamp(3rem, 16vw, 4.4rem);
    }

    .landing-wrapper .hero-offer {
        font-size: 1.2rem;
    }

    .landing-wrapper .hero-description {
        font-size: 0.92rem;
    }

    .landing-wrapper .hero-actions {
        width: 100%;
        align-items: stretch;
    }

    .landing-wrapper .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .landing-wrapper .hero-figure {
        display: none;
    }

    .landing-wrapper .hero-stats-panel ul {
        justify-content: space-between;
        gap: 8px;
    }

    .landing-wrapper .hero-stats-panel li {
        min-width: 0;
    }

    .landing-wrapper .hero-stats-panel .panel-label {
        max-width: 92px;
        font-size: 0.62rem;
        line-height: 1.25;
    }

    .landing-wrapper .feature-card {
        padding: 30px 20px;
    }

    .landing-wrapper .feature-icon {
        margin-bottom: 28px;
    }

    .landing-wrapper .cta-panel {
        padding: 52px 4px;
    }

    .hero-stat {
        flex: 1 1 100%;
    }

    .hero-stat strong {
        font-size: 1.4rem;
    }

    .dm-card,
    .auth-card,
    .form-card {
        padding: 24px;
    }
}

.profile-alert {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    border: 1px solid rgba(120, 132, 220, 0.2);
    background: rgba(17, 21, 44, 0.8);
}

.profile-alert--warning {
    border-color: rgba(255, 196, 97, 0.38);
    background: rgba(68, 49, 16, 0.35);
    color: #ffe6af;
}

.profile-alert--success {
    border-color: rgba(88, 214, 141, 0.32);
    background: rgba(20, 66, 41, 0.38);
    color: #c7f5d8;
}

.campaign-delete-form {
    display: flex;
}

.campaign-delete-trigger {
    padding: 2px 0;
    line-height: 1.3;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
}

.campaign-delete-trigger:hover,
.campaign-delete-trigger:focus-visible {
    text-decoration-color: currentColor;
}

/* ------------------------------ MESA DA LANTERNA / CAMPAIGN ADMIN ------------------------------ */

.campaign-library,
.campaign-admin-summary,
.campaign-create-page {
    width: min(100%, 1320px);
    margin-inline: auto;
}

.campaign-library__header {
    align-items: flex-end;
    margin-bottom: 22px;
}

.campaign-library__header .section-title,
.campaign-admin-summary__header .section-title {
    margin: 10px 0 6px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.35rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: 0;
}

.campaign-library__header .section-subtitle,
.campaign-admin-summary__header .section-subtitle {
    max-width: 680px;
    margin: 0;
    color: rgba(238, 235, 224, 0.76);
}

.campaign-library__header .btn-cta {
    flex: 0 0 auto;
}

.campaign-library .section-badge,
.campaign-admin-summary .section-badge,
.campaign-create-page .section-badge {
    border-color: rgba(217, 155, 104, 0.28);
    background: rgba(217, 155, 104, 0.08);
    color: #e8b184;
}

.campaign-library .btn-cta,
.campaign-admin-summary .btn-cta,
.campaign-create-page .btn-cta {
    border-color: #da9258;
    background: #da9258;
    color: #101416;
    box-shadow: none;
}

.campaign-library .btn-cta:hover,
.campaign-library .btn-cta:focus,
.campaign-admin-summary .btn-cta:hover,
.campaign-admin-summary .btn-cta:focus,
.campaign-create-page .btn-cta:hover,
.campaign-create-page .btn-cta:focus {
    border-color: #efb17e;
    background: #efb17e;
    color: #101416;
}

.campaign-library .dashboard-toolbar {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 0 0 14px;
    border-bottom: 1px solid rgba(207, 151, 99, 0.16);
    box-shadow: none;
}

.campaign-library .dashboard-toolbar__search,
.campaign-library .dashboard-toolbar__sort select {
    border-color: rgba(238, 235, 224, 0.16);
    border-radius: 4px;
    background: rgba(5, 11, 13, 0.82);
}

.campaign-library .dashboard-toolbar__search:focus-within,
.campaign-library .dashboard-toolbar__sort select:focus-visible {
    border-color: rgba(217, 155, 104, 0.72);
    box-shadow: 0 0 0 3px rgba(217, 155, 104, 0.12);
}

.campaign-library .dashboard-toolbar__search i,
.campaign-library .dashboard-toolbar__sort label {
    color: #d99b68;
}

.campaign-library .dashboard-toolbar__filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
}

.campaign-library .dashboard-chip {
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: rgba(238, 235, 224, 0.62);
}

.campaign-library .dashboard-chip:hover,
.campaign-library .dashboard-chip:focus-visible,
.campaign-library .dashboard-chip.is-active {
    border-bottom-color: #d99b68;
    background: rgba(217, 155, 104, 0.08);
    color: #f5eee5;
}

.campaign-library .campaign-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    gap: 14px;
}

.campaign-library .campaign-card {
    gap: 15px;
    padding: 22px;
    overflow: visible;
    border: 1px solid rgba(207, 151, 99, 0.22);
    border-radius: 6px;
    background: rgba(9, 19, 20, 0.93);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.campaign-library .campaign-card::after {
    display: none;
}

.campaign-library .campaign-card:hover {
    border-color: rgba(217, 155, 104, 0.48);
    transform: translateY(-1px);
}

.campaign-library .campaign-card__title h3 {
    margin: 0 0 5px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.65rem;
    line-height: 1.05;
    letter-spacing: 0;
}

.campaign-library .campaign-card__title p {
    color: rgba(238, 235, 224, 0.68);
    font-size: 0.92rem;
}

.campaign-library .campaign-card__tags {
    max-width: 42%;
}

.campaign-library .badge-soft {
    padding: 4px 7px;
    border-color: rgba(238, 235, 224, 0.14);
    border-radius: 3px;
    background: rgba(238, 235, 224, 0.05);
    color: rgba(238, 235, 224, 0.68);
    font-size: 0.62rem;
}

.campaign-library .badge-soft--accent {
    border-color: rgba(217, 155, 104, 0.3);
    background: rgba(217, 155, 104, 0.08);
    color: #e8b184;
}

.campaign-library .campaign-card__meta {
    gap: 6px 12px;
    padding-block: 10px;
    border-top: 1px solid rgba(238, 235, 224, 0.08);
    border-bottom: 1px solid rgba(238, 235, 224, 0.08);
    color: rgba(238, 235, 224, 0.58);
    font-size: 0.78rem;
}

.campaign-library .campaign-card__meta span {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.campaign-library .campaign-card__meta i {
    color: rgba(217, 155, 104, 0.72);
}

.campaign-library .campaign-card__cta {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
}

.campaign-library .campaign-card__cta .btn {
    min-height: 42px;
    border-radius: 4px;
}

.campaign-library .campaign-card__panel {
    border-color: rgba(238, 235, 224, 0.12);
    border-radius: 4px;
    background: rgba(5, 11, 13, 0.62);
}

.campaign-library .campaign-card__panel > summary {
    min-height: 42px;
    padding: 10px 12px;
    color: rgba(238, 235, 224, 0.62);
    font-size: 0.72rem;
}

.campaign-library .campaign-card__panel > summary:hover,
.campaign-library .campaign-card__panel > summary:focus-visible,
.campaign-library .campaign-card__panel[open] > summary {
    background: rgba(217, 155, 104, 0.08);
    color: #f5eee5;
}

.campaign-library .campaign-card__panel-content {
    border-top-color: rgba(217, 155, 104, 0.16);
}

.campaign-library .campaign-party-list li,
.campaign-library .campaign-party-invite input[type="text"] {
    border-radius: 4px;
    border-color: rgba(238, 235, 224, 0.14);
    background: rgba(4, 10, 11, 0.74);
}

.campaign-create-page {
    min-height: calc(100vh - 170px);
    align-items: center;
}

.campaign-create-page .form-card--campaign {
    width: min(100%, 680px);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(207, 151, 99, 0.3);
    border-radius: 6px;
    background: rgba(9, 19, 20, 0.94);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.32);
}

.campaign-create-page .campaign-flow-stepper-panel {
    margin: 0;
    padding: 16px 26px;
    border-bottom: 1px solid rgba(217, 155, 104, 0.18);
    border-radius: 0;
    background: rgba(5, 11, 13, 0.74);
}

.campaign-create-page .campaign-flow-stepper__item {
    border-color: rgba(238, 235, 224, 0.14);
    border-radius: 4px;
    background: rgba(238, 235, 224, 0.03);
}

.campaign-create-page .campaign-flow-stepper__item.is-active {
    border-color: rgba(217, 155, 104, 0.56);
    background: rgba(217, 155, 104, 0.1);
}

.campaign-create-page .campaign-flow-stepper__item.is-active .campaign-flow-stepper__index {
    border-color: #da9258;
    background: #da9258;
    color: #101416;
}

.campaign-create-page .campaign-flow-stepper__item.is-active .campaign-flow-stepper__copy strong {
    color: #f5eee5;
}

.campaign-create-page .auth-header,
.campaign-create-page form {
    padding-inline: clamp(24px, 7vw, 54px);
}

.campaign-create-page .auth-header {
    padding-top: 38px;
}

.campaign-create-page form {
    padding-bottom: 44px;
}

.campaign-create-page .auth-header h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.2rem, 7vw, 3.4rem);
    letter-spacing: 0;
}

.campaign-create-page .form-control {
    min-height: 50px;
    border-color: rgba(238, 235, 224, 0.18);
    border-radius: 4px;
    background: rgba(4, 10, 11, 0.8);
}

.campaign-create-page .form-control:focus {
    border-color: rgba(217, 155, 104, 0.72);
    box-shadow: 0 0 0 3px rgba(217, 155, 104, 0.12);
}

.campaign-create-page .campaign-create-limit-action {
    display: flex;
    width: fit-content;
    margin-top: var(--space-3);
}

.campaign-admin-summary {
    padding-block: clamp(30px, 6vw, 70px);
}

.campaign-admin-summary__header {
    max-width: 820px;
    margin-bottom: 30px;
}

.campaign-admin-summary__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: 14px;
}

.campaign-admin-summary__card {
    padding: 24px;
    border: 1px solid rgba(207, 151, 99, 0.22);
    border-radius: 6px;
    background: rgba(9, 19, 20, 0.92);
}

.campaign-admin-summary__label {
    display: block;
    margin-bottom: 14px;
    color: #d99b68;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.campaign-admin-summary__card p {
    color: rgba(238, 235, 224, 0.78);
}

.campaign-admin-summary__card dl {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
}

.campaign-admin-summary__card dl > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 10px;
    border-top: 1px solid rgba(238, 235, 224, 0.1);
}

.campaign-admin-summary__card dt {
    color: rgba(238, 235, 224, 0.56);
}

.campaign-admin-summary__card dd {
    margin: 0;
    color: #f5eee5;
    font-weight: 700;
    text-align: right;
}

.campaign-admin-summary__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

@media (max-width: 1100px) {
    .campaign-library .dashboard-toolbar {
        grid-template-columns: minmax(240px, 1fr) auto;
    }

    .campaign-library .dashboard-toolbar__filters {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (max-width: 700px) {
    .campaign-library__header {
        align-items: stretch;
    }

    .campaign-library__header .btn-cta {
        width: 100%;
    }

    .campaign-library .dashboard-toolbar {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .campaign-library .dashboard-toolbar__filters,
    .campaign-library .dashboard-toolbar__sort {
        grid-column: auto;
        grid-row: auto;
    }

    .campaign-library .dashboard-toolbar__filters {
        flex-wrap: nowrap;
        width: 100%;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 3px;
    }

    .campaign-library .dashboard-chip {
        flex: 0 0 auto;
    }

    .campaign-library .dashboard-toolbar__sort {
        width: 100%;
    }

    .campaign-library .dashboard-toolbar__sort select {
        width: 100%;
    }

    .campaign-library .campaign-card {
        padding: 18px;
    }

    .campaign-library .campaign-card__head {
        gap: 10px;
    }

    .campaign-library .campaign-card__tags {
        max-width: 100%;
    }

    .campaign-library .campaign-card__cta {
        grid-template-columns: 1fr;
    }

    .campaign-admin-summary__grid {
        grid-template-columns: 1fr;
    }

    .campaign-admin-summary__actions {
        display: grid;
    }

    .campaign-create-page {
        min-height: auto;
        align-items: flex-start;
    }

    .campaign-create-page .campaign-flow-stepper-panel {
        padding-inline: 14px;
    }
}

/* ------------------------------ MESA DA LANTERNA / COMMERCE + COMMUNITY ------------------------------ */

.commerce-page,
.support-page,
.community-page {
    width: min(100%, 1180px);
    margin-inline: auto;
}

.commerce-page__header,
.support-page__header,
.community-page .community-public-header {
    display: grid;
    justify-items: center;
    gap: 8px;
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

.commerce-page__header .section-title,
.support-page__header .section-title,
.community-page .community-public-header .section-title {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2.55rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.05;
    color: #f4ecdc;
}

.commerce-page__header .section-subtitle,
.support-page__header .section-subtitle,
.community-page .community-public-header .section-subtitle {
    max-width: 660px;
    margin: 0;
    color: rgba(226, 220, 207, 0.72);
    line-height: 1.55;
}

.commerce-page .section-badge,
.support-page .section-badge {
    color: #d2a476;
    border-color: rgba(198, 138, 80, 0.3);
    background: rgba(143, 87, 46, 0.12);
}

.commerce-page .btn-cta,
.support-page .btn-cta,
.community-page .btn-cta {
    border-color: #c68a50;
    background: #b87947;
    color: #fff8ed;
}

.commerce-page .btn-cta:hover,
.commerce-page .btn-cta:focus-visible,
.support-page .btn-cta:hover,
.support-page .btn-cta:focus-visible,
.community-page .btn-cta:hover,
.community-page .btn-cta:focus-visible {
    border-color: #d8a16d;
    background: #c98a50;
    color: #fff;
}

.commerce-page--plans .plans-grid {
    align-items: stretch;
    gap: 14px;
}

.commerce-page--plans .plan-card {
    min-width: 0;
    padding: 24px;
    gap: 18px;
    border: 1px solid rgba(184, 126, 73, 0.22);
    border-radius: 6px;
    background: rgba(14, 18, 20, 0.9);
    box-shadow: none;
}

.commerce-page--plans .plan-card.is-current {
    border-color: rgba(119, 134, 107, 0.62);
    box-shadow: inset 0 3px 0 rgba(119, 134, 107, 0.72);
}

.commerce-page--plans .plan-header {
    text-align: left;
}

.commerce-page--plans .plan-header .section-badge {
    margin-bottom: 10px;
}

.commerce-page--plans .price-value {
    margin-top: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2.6rem;
    font-weight: 600;
    color: #f4ecdc;
}

.commerce-page--plans .plan-billing-label {
    color: rgba(244, 236, 220, 0.82);
    font-size: 0.74rem;
}

.commerce-page--plans .plan-billing-hint,
.commerce-page--plans .plan-card > p {
    color: rgba(244, 236, 220, 0.8);
}

.commerce-page--plans .plan-limits-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 16px 0;
    border-top: 1px solid rgba(226, 220, 207, 0.1);
    border-bottom: 1px solid rgba(226, 220, 207, 0.1);
}

.commerce-page--plans .plan-limits-list i,
.checkout-trust-item i {
    color: #d2a476;
}

.commerce-page--plans .plan-card .btn {
    margin-top: auto;
    border-radius: 4px;
}

.commerce-page--plans .checkout-trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 0;
    overflow: hidden;
    border-color: rgba(184, 126, 73, 0.2);
    border-radius: 6px;
    background: rgba(12, 16, 18, 0.8);
}

.commerce-page--plans .checkout-trust-item {
    min-height: 64px;
    padding: 14px 18px;
    color: rgba(244, 236, 220, 0.82);
}

.commerce-page--plans .checkout-trust-item + .checkout-trust-item {
    border-left: 1px solid rgba(226, 220, 207, 0.1);
}

.commerce-page--checkout {
    min-height: auto;
    align-items: flex-start;
    justify-content: center;
    padding-block: 24px 48px;
}

.payment-card--lantern {
    padding: 28px;
    border: 1px solid rgba(184, 126, 73, 0.26);
    border-radius: 6px;
    background: rgba(13, 17, 19, 0.94);
    box-shadow: none;
}

.payment-card--lantern .auth-header h1 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: 0;
    color: #f4ecdc;
}

.payment-card--lantern .auth-header p {
    color: #e5ded3;
    font-weight: 600;
}

.payment-card--lantern .payment-summary {
    padding: 20px;
    border-color: rgba(184, 126, 73, 0.24);
    border-radius: 6px;
    background:
        linear-gradient(135deg, rgba(80, 48, 35, 0.24), rgba(30, 24, 22, 0.88)),
        rgba(12, 14, 15, 0.9);
}

.payment-card--lantern .payment-summary h3,
.payment-card--lantern .price-highlight {
    font-family: "Cormorant Garamond", Georgia, serif;
    color: #f4ecdc;
}

.payment-card--lantern .payment-summary p,
.payment-card--lantern .payment-summary .plan-limits-list,
.payment-card--lantern .payment-summary .plan-limits-list li {
    color: #e7dfd1;
}

.payment-card--lantern .payment-summary .plan-limits-list i {
    color: #d2a476;
}

.payment-card--lantern .form-label {
    color: #f4ecdc;
    font-weight: 700;
}

.payment-card--lantern .form-control,
.payment-card--lantern .card-input,
.payment-card--lantern .StripeElement {
    border-color: rgba(226, 220, 207, 0.2);
    border-radius: 4px;
    background: rgba(7, 9, 11, 0.6);
    color: #f4ecdc;
}

.payment-card--lantern .form-control::placeholder {
    color: #9ea89f;
    opacity: 1;
}

.payment-card--lantern .form-control:focus,
.payment-card--lantern .StripeElement--focus,
.payment-card--lantern .card-input.is-focused {
    border-color: #c68a50;
    box-shadow: 0 0 0 3px rgba(184, 126, 73, 0.14);
}

.payment-card--lantern .StripeElement--invalid {
    border-color: rgba(255, 81, 98, 0.8);
    box-shadow: 0 0 0 3px rgba(255, 81, 98, 0.18);
}

.checkout-promotion {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(126, 199, 185, 0.34);
    border-radius: 6px;
    background:
        linear-gradient(135deg, rgba(42, 75, 70, 0.22), rgba(34, 27, 21, 0.22)),
        rgba(8, 19, 19, 0.86);
}

.checkout-promotion__header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.checkout-promotion__header .form-label {
    margin-bottom: 2px;
    color: #f4ecdc;
}

.checkout-promotion__header p {
    margin: 0;
    color: #e7dfd1;
    font-size: 0.9rem;
    line-height: 1.45;
}

.checkout-promotion__icon {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(126, 199, 185, 0.36);
    border-radius: 8px;
    color: var(--dm-mint);
    background: rgba(126, 199, 185, 0.1);
}

.checkout-promotion__controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.checkout-promotion__controls .btn {
    min-width: 104px;
}

.checkout-promotion__controls .btn:disabled {
    border-color: rgba(226, 220, 207, 0.18);
    background: rgba(132, 144, 145, 0.32);
    color: #f4ecdc;
    opacity: 1;
}

.checkout-promotion__feedback {
    min-height: 1.2em;
    margin: 0;
    color: #e7dfd1;
    font-size: 0.85rem;
}

.checkout-promotion__feedback.is-success {
    color: #b9efc7;
    font-weight: 700;
}

.checkout-promotion__feedback.is-error {
    color: #ff8792;
    font-weight: 700;
}

.checkout-promotion__note {
    margin: 0;
    color: #f4ecdc;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.45;
}

.checkout-promotion__rules {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #d8d1c5;
    font-size: 0.78rem;
    line-height: 1.35;
}

.checkout-promotion__rules li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    align-items: baseline;
}

.checkout-promotion__rules i {
    color: var(--dm-mint);
}

.checkout-payment-method {
    display: grid;
    gap: 0;
}

.checkout-payment-method.is-hidden {
    display: none;
}

.support-page {
    padding-block: 24px 56px;
}

.support-page .support-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    align-items: start;
    gap: 14px;
}

.support-page .support-card {
    min-width: 0;
    padding: 24px;
    border: 1px solid rgba(184, 126, 73, 0.2);
    border-radius: 6px;
    background: rgba(13, 17, 19, 0.9);
}

.support-page .support-title {
    margin: 0 0 16px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.55rem;
    color: #eee5d5;
}

.support-page .support-title i {
    color: #d2a476;
    font-size: 0.9rem;
}

.support-page .form-control {
    border-color: rgba(226, 220, 207, 0.18);
    border-radius: 4px;
    background: rgba(7, 9, 11, 0.58);
    color: #f4ecdc;
}

.support-page .form-control:focus {
    border-color: #c68a50;
    box-shadow: 0 0 0 3px rgba(184, 126, 73, 0.14);
}

.support-page .support-card--form .btn {
    align-self: flex-start;
    border-radius: 4px;
}

.support-ticket {
    display: grid;
    gap: 8px;
    padding: 14px 0;
    border-top: 1px solid rgba(226, 220, 207, 0.1);
}

.support-ticket h3,
.support-ticket p,
.support-ticket time {
    margin: 0;
}

.support-ticket h3 {
    font-size: 1rem;
    color: #eee5d5;
}

.support-ticket p {
    color: rgba(226, 220, 207, 0.7);
    line-height: 1.5;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.support-ticket time {
    color: rgba(226, 220, 207, 0.48);
    font-size: 0.78rem;
}

.support-page .empty-state {
    padding: 30px 20px;
    border-radius: 4px;
    background: transparent;
}

.community-page {
    padding-block: 24px 56px;
}

.community-page .section-badge {
    color: #8fc5bc;
    border-color: rgba(99, 170, 160, 0.32);
    background: rgba(99, 170, 160, 0.1);
}

.community-page .community-discovery-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.community-page .community-discovery-card,
.community-page .community-card,
.community-page .community-comments,
.community-page .community-campaign-context,
.community-page .community-message,
.community-page .community-comment,
.community-page .community-comment-form,
.community-page .community-comment-auth,
.community-page .community-comment-empty {
    border-color: rgba(99, 170, 160, 0.2);
    border-radius: 6px;
    background: rgba(12, 18, 20, 0.88);
    box-shadow: none;
}

.community-page .community-discovery-card {
    padding: 18px;
}

.community-page .community-discovery-card h3,
.community-page .community-card h4,
.community-page .community-comments__title,
.community-page .community-campaign-context h3 {
    font-family: "Cormorant Garamond", Georgia, serif;
    letter-spacing: 0;
    color: #eef0e8;
}

.community-page .community-discovery-card h3,
.community-page .community-comments__title,
.community-page .community-campaign-context h3 {
    font-size: 1.4rem;
}

.community-proof-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 18px 0;
    border-top: 1px solid rgba(99, 170, 160, 0.18);
    border-bottom: 1px solid rgba(99, 170, 160, 0.18);
}

.community-proof {
    display: grid;
    gap: 3px;
    padding: 14px 16px;
}

.community-proof + .community-proof {
    border-left: 1px solid rgba(99, 170, 160, 0.14);
}

.community-proof strong {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.6rem;
    color: #eef0e8;
}

.community-proof span {
    color: rgba(226, 220, 207, 0.54);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
}

.community-search {
    display: flex;
    margin-top: 18px;
}

.community-search__field {
    width: min(100%, 520px);
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(99, 170, 160, 0.22);
    border-radius: 4px;
    background: rgba(8, 13, 15, 0.84);
    color: rgba(226, 220, 207, 0.56);
}

.community-search__field input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #eef0e8;
    min-height: 44px;
}

.community-page .community-grid {
    gap: 14px;
    margin-top: 18px;
}

.community-page .community-card {
    padding: 20px;
    gap: 14px;
}

.community-page .community-card h4 {
    font-size: 1.45rem;
}

.community-page .community-card .btn,
.community-page .community-comment-form .btn,
.community-page .community-comment-auth .btn {
    border-radius: 4px;
}

.community-page--campaign .community-public-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 18px;
}

.community-page .community-campaign-context {
    margin-bottom: 18px;
    padding: 20px;
}

.community-page .community-campaign-context h3 {
    margin: 0 0 8px;
}

.community-page .community-chat-log {
    gap: 14px;
}

.community-page .community-message {
    padding: 18px 20px;
}

.community-page .community-message--player {
    border-left-color: rgba(99, 170, 160, 0.72);
}

.community-page .community-message--ai {
    border-left-color: rgba(198, 138, 80, 0.78);
}

.community-page .community-message__figure {
    border-radius: 4px;
}

.community-page .community-comments {
    top: 92px;
    padding: 18px;
}

.community-page .community-comment-form__input {
    border-color: rgba(99, 170, 160, 0.24);
    border-radius: 4px;
    background: rgba(7, 12, 14, 0.82);
}

.community-page .community-comment-form__input:focus {
    border-color: #63aaa0;
    box-shadow: 0 0 0 3px rgba(99, 170, 160, 0.14);
}

.community-page .community-comment__reply-btn {
    border-color: rgba(99, 170, 160, 0.4);
    border-radius: 4px;
    background: rgba(99, 170, 160, 0.12);
    color: #a8d3cc;
}

@media (max-width: 900px) {
    .support-page .support-grid,
    .community-page--campaign .community-public-layout {
        grid-template-columns: 1fr;
    }

    .community-page .community-comments {
        position: static;
        max-height: none;
    }
}

@media (max-width: 700px) {
    .campaign-library .btn,
    .campaign-library .campaign-card__cta .btn,
    .campaign-library .campaign-card__panel > summary,
    .campaign-library .campaign-delete-trigger,
    .profile-page .btn,
    .commerce-page .btn,
    .support-page .btn,
    .community-page .btn {
        min-height: 44px;
    }

    .campaign-library .campaign-delete-trigger {
        display: inline-flex;
        align-items: center;
    }

    .commerce-page,
    .support-page,
    .community-page {
        padding-block: 10px 32px;
    }

    .commerce-page__header,
    .support-page__header,
    .community-page .community-public-header {
        margin-bottom: 20px;
    }

    .commerce-page__header .section-title,
    .support-page__header .section-title,
    .community-page .community-public-header .section-title {
        font-size: 2.05rem;
    }

    .commerce-page--plans .plans-grid,
    .community-page .community-discovery-strip {
        grid-template-columns: 1fr;
    }

    .commerce-page--plans .plan-card,
    .payment-card--lantern,
    .support-page .support-card,
    .community-page .community-card {
        padding: 18px;
    }

    .commerce-page--plans .checkout-trust {
        grid-template-columns: 1fr;
    }

    .commerce-page--plans .checkout-trust-item + .checkout-trust-item {
        border-left: 0;
        border-top: 1px solid rgba(226, 220, 207, 0.1);
    }

    .checkout-promotion__controls {
        grid-template-columns: 1fr;
    }

    .checkout-promotion__controls .btn {
        width: 100%;
    }

    .community-proof-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .community-proof:nth-child(3) {
        border-left: 0;
    }

    .community-proof:nth-child(n + 3) {
        border-top: 1px solid rgba(99, 170, 160, 0.14);
    }

    .community-search__field {
        width: 100%;
    }
}
