:root {
    --toka-orange: #F4500A;
    --toka-black: #0D0D0D;
    --toka-gold: #F7B731;
    --toka-lime: #C6F135;
    --toka-white: #FAF7F2;
    --surface: #1A1A1A;
    --surface-raised: #2E2E2E;
    --text-primary: #FAF7F2;
    --text-muted: #888888;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --nav-height: 78px;
    --checkbox-accent: #FF6B00;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at top left, rgba(244, 80, 10, 0.18), transparent 28%), radial-gradient(circle at top right, rgba(247, 183, 49, 0.12), transparent 24%), var(--toka-black);
    color: var(--text-primary);
    font-family: 'DM Sans', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

body,
button,
input,
select,
textarea {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    border: 0;
    background: none;
    color: inherit;
}

.event-cover-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.02);
}

.event-emoji.is-thumb,
.detail-hero-emoji.is-thumb {
    font-size: 2.2rem;
    background: rgba(13, 13, 13, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 8px 10px;
}

.event-cal-indicator {
    margin-left: 6px;
    font-size: 0.78rem;
    white-space: nowrap;
}

.event-cal-indicator.with-ticket {
    color: var(--toka-lime);
}

.event-cal-indicator.without-ticket {
    color: #b5b5b5;
}

.detail-footer-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.trending-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
}

.trending-row::-webkit-scrollbar {
    display: none;
}

.trending-card {
    min-width: 280px;
    max-width: 320px;
    border-radius: 18px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid rgba(244, 80, 10, 0.16);
    box-shadow: var(--shadow);
}

.trending-thumb-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--card-gradient, linear-gradient(135deg, #2E2E2E, #F4500A));
}

.trending-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.06) contrast(1.03);
}

.trending-thumb-fallback {
    display: grid;
    place-items: center;
    height: 100%;
    font-size: 3rem;
}

.trending-badge {
    position: absolute;
    top: 10px;
    left: 10px;
}

.trending-body {
    padding: 1.5rem;
}

.trending-body h4 {
    margin: 0 0 8px;
    font-size: 1.02rem;
}

.trending-bottom {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.upload-zone {
    border: 1px dashed rgba(244, 80, 10, 0.35);
    border-radius: 14px;
    padding: 18px;
    background: rgba(244, 80, 10, 0.05);
    cursor: pointer;
}

.upload-zone.dragging {
    border-color: var(--toka-orange);
    background: rgba(244, 80, 10, 0.12);
}

.upload-preview {
    margin-top: 10px;
    display: grid;
    gap: 10px;
}

.upload-preview img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.calendar-layout {
    display: grid;
    gap: 14px;
}

.calendar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
}

.calendar-head h3 {
    margin: 0;
}

.calendar-weekdays,
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.calendar-weekdays span {
    font-size: 0.76rem;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: center;
}

.calendar-day {
    min-height: 110px;
    border-radius: 12px;
    padding: 8px;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 8px;
    align-content: start;
}

.calendar-day.empty {
    background: transparent;
    border-color: transparent;
}

.calendar-day.today {
    border-color: rgba(244, 80, 10, 0.5);
}

.calendar-day-number {
    font-weight: 700;
    font-size: 0.85rem;
}

.calendar-day-events {
    display: grid;
    gap: 5px;
}

.calendar-marker {
    width: 100%;
    text-align: left;
    border-radius: 8px;
    padding: 4px 6px;
    font-size: 0.72rem;
    border: 1px solid transparent;
    cursor: pointer;
    color: var(--text-primary);
}

.calendar-marker.holiday {
    background: rgba(247, 183, 49, 0.12);
    border-color: rgba(247, 183, 49, 0.35);
}

.calendar-marker.ghost {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.18);
    border-style: dashed;
    color: #c9c9c9;
}

.calendar-marker.ticket {
    background: rgba(198, 241, 53, 0.12);
    border-color: rgba(198, 241, 53, 0.42);
}

.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    padding: 12px;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.legend-dot.holiday {
    background: var(--toka-gold);
}

.legend-dot.event-no-ticket {
    background: transparent;
    border-style: dashed;
}

.legend-dot.event-ticket {
    background: var(--toka-lime);
}

.calendar-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
}

.calendar-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.calendar-modal-card {
    position: relative;
    z-index: 1;
    width: min(100vw - 2rem, 560px);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    margin: 1rem auto 0;
}

input[type="checkbox"],
input[type="radio"] {
    flex-shrink: 0;
    width: 1.125rem;
    height: 1.125rem;
    margin: 0;
    cursor: pointer;
    accent-color: var(--checkbox-accent);
    vertical-align: middle;
}

.checkbox-row,
.radio-row {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    cursor: pointer;
}

.checkbox-row.single-line,
.radio-row.single-line {
    align-items: center;
}

.checkbox-row label,
.radio-row label,
.checkbox-row span,
.radio-row span {
    flex: 1;
    line-height: 1.4;
    cursor: pointer;
    user-select: none;
}

.radio-card span {
    flex: 1;
    line-height: 1.4;
}

.radio-card strong {
    display: block;
}

.radio-card small {
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

.radio-card input {
    width: 1.125rem;
    margin-top: 0.15rem;
}

.calendar-close {
    margin-left: auto;
}

.calendar-modal-thumb {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 12px;
}

.calendar-modal-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.host-dashboard-layout,
.host-dashboard-content {
    display: grid;
    gap: 16px;
}

.dashboard-card {
    display: grid;
    gap: 14px;
}

.dashboard-top {
    display: flex;
    gap: 12px;
    align-items: center;
}

.dashboard-thumb,
.dashboard-thumb-fallback {
    width: 78px;
    height: 78px;
    border-radius: 12px;
    flex: 0 0 auto;
}

.dashboard-thumb {
    object-fit: cover;
}

.dashboard-thumb-fallback {
    display: grid;
    place-items: center;
    font-size: 2rem;
    background: var(--surface-raised);
}

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

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

.dashboard-title-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.dashboard-pill {
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.dashboard-pill.is-today {
    color: #1f3a00;
    background: rgba(198, 241, 53, 0.85);
    border-color: rgba(198, 241, 53, 0.95);
}

.dashboard-pill.is-soon,
.dashboard-pill.is-upcoming {
    color: #fff0dc;
    background: rgba(244, 80, 10, 0.2);
    border-color: rgba(244, 80, 10, 0.45);
}

.dashboard-pill.is-past {
    color: #c8c8c8;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.dashboard-event-meta {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.86rem;
}

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

.dashboard-chart-wrap {
    height: 220px;
    border-radius: 14px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

button,
.chip,
.nav-item,
.ticket-card-header,
.settings-item {
    transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

button:active,
.chip:active,
.nav-item:active,
.ticket-card-header:active,
.settings-item:active {
    transform: scale(0.97);
}

.app-shell {
    width: 100%;
    min-height: 100vh;
    padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom));
    overflow-x: hidden;
}

.app-header {
    position: sticky;
    top: 8px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    margin: 0 12px 10px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(244, 80, 10, 0.14), rgba(26, 26, 26, 0.8));
    backdrop-filter: blur(14px);
    border: 1px solid rgba(244, 80, 10, 0.18);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.app-header .eyebrow {
    margin-bottom: 0;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0;
    text-align: left;
    min-width: 0;
    flex: 1;
}

.brand-lockup .brand-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.brand-lockup .brand-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    line-height: 1.1;
}

.brand-mark {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
}

.auth-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.auth-status {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.auth-email {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 46vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-sign-in,
.auth-sign-out {
    white-space: nowrap;
}

.auth-sign-in {
    background: #FF6B00;
    border-color: transparent;
}

.auth-modal,
.calendar-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
}

.auth-modal-backdrop,
.calendar-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
}

.auth-modal-card {
    position: relative;
    z-index: 1;
    width: min(100vw - 2rem, 480px);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    margin: 1rem auto;
    padding: 1.5rem;
}

.auth-modal-card h2 {
    margin-bottom: 8px;
    font-size: clamp(1.5rem, 5vw, 2rem);
}

.auth-close {
    margin-left: auto;
}

.auth-actions {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.auth-feedback {
    min-height: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.auth-feedback.success {
    color: var(--toka-lime);
}

.auth-feedback.error {
    color: #ff8d68;
}

.auth-feedback.info {
    color: var(--text-muted);
}

.screen {
    display: none;
    min-height: 100vh;
    padding: 20px 16px 32px;
    animation: fadeUp 0.3s ease both;
}

.screen.active {
    display: block;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.hidden {
    display: none !important;
}

.eyebrow,
.text-muted,
.event-meta,
.help-text,
.field-help,
.setting-note {
    color: var(--text-muted);
}

.eyebrow {
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
}

h1,
h2,
h3,
.brand-title,
.toka-mark {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(3rem, 10vw, 4.8rem);
    line-height: 0.95;
    margin-bottom: 16px;
}

h2 {
    font-size: clamp(2rem, 7vw, 2.8rem);
    margin-bottom: 14px;
}

h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

p {
    line-height: 1.55;
}

.brand-title {
    margin: 0;
    font-size: 1.2rem;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.topbar-left,
.topbar-right,
.inline-row,
.event-card-topline,
.event-card-bottom,
.register-summary,
.info-row,
.share-link-row,
.ticket-summary,
.onboarding-actions,
.step-actions,
.detail-organiser,
.payment-option span,
.settings-item {
    display: flex;
    align-items: center;
}

.topbar-left,
.inline-row,
.event-card-topline,
.event-card-bottom,
.info-row,
.share-link-row,
.ticket-summary,
.detail-organiser,
.payment-option span,
.settings-item {
    gap: 10px;
}

.topbar-right {
    gap: 8px;
}

.card {
    background: var(--surface);
    border: 1px solid rgba(244, 80, 10, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.button,
.chip,
.nav-item,
.ticket-card-header,
.settings-item {
    cursor: pointer;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.button-small {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 0.95rem;
}

.button-primary {
    background: var(--toka-orange);
    color: var(--toka-white);
}

.button-secondary {
    background: transparent;
    color: var(--toka-orange);
    border: 1px solid var(--toka-orange);
}

.button-ghost {
    background: transparent;
    color: var(--text-muted);
}

.button-block {
    width: 100%;
}

.button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(244, 80, 10, 0.15);
    color: var(--toka-orange);
    border: 1px solid transparent;
    white-space: nowrap;
    min-height: 44px;
}

.chip.active {
    background: var(--toka-orange);
    color: var(--toka-white);
}

.chip-row,
.chip-grid,
.chip-strip {
    display: flex;
    gap: 10px;
}

.chip-row,
.chip-strip {
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.chip-row::-webkit-scrollbar,
.chip-strip::-webkit-scrollbar {
    display: none;
}

.chip-grid {
    flex-wrap: wrap;
}

.hero-card {
    display: grid;
    gap: 24px;
    align-items: end;
    min-height: 70vh;
    padding: 24px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(244, 80, 10, 0.18), rgba(13, 13, 13, 0.5)), linear-gradient(160deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
    border: 1px solid rgba(244, 80, 10, 0.18);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
}

.hero-copy {
    max-width: 640px;
}

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

.hero-actions .button {
    flex: 1 1 180px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 12px;
    margin: 28px 0 14px;
}

.section-head h2,
.section-head h3,
.section-head p {
    margin-bottom: 0;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 14px;
    min-height: 56px;
}

.search-bar input {
    width: 100%;
    background: transparent;
    border: 0;
    color: var(--text-primary);
    outline: none;
    padding: 12px 0;
}

.grid {
    display: grid;
    gap: 16px;
}

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

.event-card {
    background: var(--surface);
    border: 1px solid rgba(244, 80, 10, 0.15);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-width: 0;
}

.event-cover {
    position: relative;
    aspect-ratio: 16 / 9;
    height: auto;
    background: var(--card-gradient, linear-gradient(135deg, #2E2E2E, #F4500A));
    display: grid;
    place-items: center;
    overflow: hidden;
}

.event-cover-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 25%), radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.2), transparent 30%);
}

.event-emoji {
    position: relative;
    z-index: 1;
    font-size: 4rem;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

.event-card-body {
    padding: 1.5rem;
}

.event-card-topline {
    justify-content: space-between;
}

.event-title {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.event-meta {
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.event-card-bottom {
    justify-content: space-between;
    margin-top: 16px;
}

.event-price,
.ticket-code-badge,
.register-summary-price {
    font-weight: 700;
    color: var(--toka-white);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 99px;
    background: rgba(244, 80, 10, 0.15);
    color: var(--toka-orange);
    font-size: 0.75rem;
    font-weight: 700;
}

.avatar,
.avatar.initials,
.toka-mark,
.ticket-code-badge,
.qr-mark {
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    font-weight: 700;
}

.avatar {
    width: 42px;
    height: 42px;
    background: var(--toka-orange);
    color: var(--toka-white);
    flex: 0 0 auto;
}

.avatar.initials {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
}

.avatar-stack {
    display: flex;
    align-items: center;
}

.avatar-stack .avatar {
    margin-right: -10px;
    border: 2px solid var(--surface);
}

.avatar-more {
    font-size: 0.78rem;
    background: var(--surface-raised);
}

.section-card {
    margin-top: 16px;
}

.detail-hero,
.onboarding-mark,
.confirm-mark {
    position: relative;
    overflow: hidden;
}

.detail-hero {
    min-height: 280px;
    border-radius: 28px;
    background: var(--card-gradient, linear-gradient(135deg, #2E2E2E, #F4500A));
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding: 24px;
    margin-bottom: 18px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.detail-hero-emoji {
    position: relative;
    z-index: 1;
    font-size: clamp(4rem, 20vw, 7rem);
}

.detail-content {
    display: grid;
    gap: 18px;
}

.detail-title {
    margin-bottom: 8px;
    font-size: clamp(2rem, 7vw, 3.2rem);
}

.detail-meta-grid {
    display: grid;
    gap: 10px;
}

.info-row {
    padding: 14px 16px;
    background: var(--surface);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-icon {
    width: 28px;
}

.detail-footer {
    position: sticky;
    bottom: calc(var(--nav-height) + 16px);
    margin-top: 8px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(244, 80, 10, 0.16);
    box-shadow: var(--shadow);
}

.detail-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.avatar-stack-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.register-layout,
.host-layout,
.profile-layout,
.confirm-layout,
.onboarding-layout {
    display: grid;
    gap: 16px;
}

.form-stack {
    display: grid;
    gap: 12px;
}

.field-group,
.form-group {
    display: grid;
    gap: 8px;
}

label,
.form-label {
    font-weight: 600;
}

input,
select,
textarea {
    background: var(--surface-raised);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: var(--text-primary);
    padding: 14px 16px;
    outline: none;
    width: 100%;
    font-size: 16px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--toka-orange);
    box-shadow: 0 0 0 3px rgba(244, 80, 10, 0.15);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.input-prefix {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface-raised);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 0 14px;
}

.input-prefix span {
    color: var(--text-muted);
    font-weight: 600;
}

.input-prefix input {
    border: 0;
    box-shadow: none !important;
    padding-left: 0;
}

.radio-group {
    display: grid;
    gap: 12px;
}

.radio-card {
    display: flex;
    align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: var(--surface);
    padding: 16px;
}

.radio-card.active {
    border-color: rgba(244, 80, 10, 0.35);
    background: rgba(244, 80, 10, 0.08);
}

.radio-card input {
    width: 1.125rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.payment-option span {
    display: grid;
    align-items: start;
    gap: 2px;
}

.radio-card small {
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

.summary-card,
.preview-panel,
.success-panel,
.empty-state,
.profile-card,
.settings-card,
.ticket-card,
.stat-card,
.onboarding-slide {
    background: var(--surface);
    border: 1px solid rgba(244, 80, 10, 0.15);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.summary-card,
.preview-panel,
.success-panel,
.profile-card,
.settings-card,
.ticket-card,
.onboarding-slide {
    padding: 1.5rem;
}

.ticket-card {
    overflow: hidden;
}

.ticket-card-header {
    width: 100%;
    justify-content: space-between;
    text-align: left;
    padding: 20px 24px;
    background: transparent;
}

.ticket-card-body {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 24px 24px;
}

.ticket-code-badge {
    background: rgba(244, 80, 10, 0.15);
    color: var(--toka-orange);
    padding: 8px 12px;
    border-radius: 999px;
}

.ticket-empty-art {
    position: relative;
    width: 140px;
    height: 100px;
    border: 2px dashed rgba(244, 80, 10, 0.4);
    border-radius: 18px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(244, 80, 10, 0.08), rgba(255, 255, 255, 0.02));
}

.ticket-empty-art::before,
.ticket-empty-art::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 14px;
    height: 14px;
    background: var(--toka-black);
    border: 2px solid rgba(244, 80, 10, 0.4);
    border-radius: 50%;
    transform: translateY(-50%);
}

.ticket-empty-art::before {
    left: -7px;
}

.ticket-empty-art::after {
    right: -7px;
}

.ticket-empty-art .ticket-line {
    position: absolute;
    left: 18px;
    right: 18px;
    height: 2px;
    background: rgba(244, 80, 10, 0.25);
}

.ticket-empty-art .ticket-line.one {
    top: 26px;
}

.ticket-empty-art .ticket-line.two {
    top: 50px;
}

.ticket-empty-art .ticket-line.three {
    top: 74px;
}

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

.stat-card {
    padding: 18px;
    text-align: center;
}

.stat-card strong {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.settings-list {
    display: grid;
    gap: 10px;
}

.settings-item {
    justify-content: space-between;
    width: 100%;
    text-align: left;
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.settings-item.danger {
    color: #ff8d68;
}

.static-item {
    cursor: default;
}

.onboarding-screen {
    padding-top: 12px;
}

.onboarding-layout {
    min-height: 100vh;
    align-content: center;
}

.onboarding-shell {
    display: grid;
    gap: 16px;
    align-content: center;
    min-height: calc(100vh - 80px);
}

.onboarding-slide {
    display: none;
    min-height: 430px;
    align-content: center;
    text-align: left;
}

.onboarding-slide.active {
    display: grid;
    gap: 18px;
}

.toka-mark {
    width: 92px;
    height: 92px;
    background: var(--toka-orange);
    color: white;
    font-size: 2.4rem;
    margin-bottom: 8px;
}

.dot-row {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.dot.active {
    background: var(--toka-orange);
}

.onboarding-actions,
.step-actions {
    justify-content: space-between;
    gap: 12px;
}

.confirm-layout {
    min-height: calc(100vh - 40px);
    place-items: center;
    text-align: center;
}

.confirm-card {
    width: 100%;
    max-width: 620px;
    display: grid;
    gap: 18px;
    justify-items: center;
}

.confirm-mark {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 4px solid rgba(198, 241, 53, 0.35);
    background: rgba(198, 241, 53, 0.12);
    display: grid;
    place-items: center;
    position: relative;
    animation: popIn 0.5s ease both;
}

.confirm-mark::before {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    border: 4px solid #C6F135;
    border-top-color: transparent;
    border-right-color: transparent;
    animation: drawCircle 1s ease forwards;
}

.confirm-mark::after {
    content: '✓';
    position: relative;
    color: #C6F135;
    font-size: 2rem;
    font-weight: 800;
    animation: drawCheck 0.7s ease 0.45s both;
}

.confirm-ticket-code {
    font-size: clamp(1.4rem, 5vw, 2rem);
    letter-spacing: 0.08em;
    font-family: 'Space Grotesk', sans-serif;
}

.qr-box {
    width: 160px;
    height: 160px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(244, 80, 10, 0.2), rgba(247, 183, 49, 0.12));
    border: 1px solid rgba(244, 80, 10, 0.22);
    display: grid;
    place-items: center;
}

.qr-mark {
    width: 94px;
    height: 94px;
    border-radius: 20px;
    background: var(--toka-black);
    color: var(--toka-orange);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
}

.share-link-row code,
.confirm-link code {
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--surface-raised);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.confirm-link,
.share-link-row {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    background: rgba(13, 13, 13, 0.94);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    min-height: var(--nav-height);
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav.hidden {
    display: none;
}

.nav-item {
    display: grid;
    place-items: center;
    gap: 4px;
    padding: 10px 6px 8px;
    color: var(--text-muted);
}

.nav-item.active {
    color: var(--toka-orange);
}

.nav-icon {
    font-size: 1.2rem;
}

.nav-label {
    font-size: 0.72rem;
    font-weight: 600;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: calc(var(--nav-height) + 20px);
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    background: rgba(26, 26, 26, 0.96);
    color: var(--text-primary);
    border: 1px solid rgba(244, 80, 10, 0.2);
    border-radius: 999px;
    padding: 12px 18px;
    box-shadow: var(--shadow);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 60;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.skeleton-card {
    overflow: hidden;
}

.skeleton-line {
    height: 14px;
    border-radius: 99px;
    margin: 18px 20px 12px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05));
    background-size: 200% 100%;
}

.skeleton-line.short {
    width: 45%;
}

.skeleton-line.tiny {
    width: 28%;
}

.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    animation: shimmer 1.4s infinite;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    to {
        transform: translateX(100%);
    }
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes drawCircle {
    0% {
        transform: rotate(0deg) scale(0.6);
        opacity: 0;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 1;
    }
}

@keyframes drawCheck {
    0% {
        opacity: 0;
        transform: scale(0.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media (min-width: 720px) {
    .screen {
        padding: 28px 24px 36px;
    }
    .hero-card {
        padding: 40px;
    }
    .event-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .profile-top,
    .register-two-col,
    .host-two-col,
    .detail-two-col {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
    .onboarding-shell,
    .confirm-card {
        max-width: 760px;
        margin: 0 auto;
    }
}

@media (min-width: 980px) {
    .screen {
        padding-left: 32px;
        padding-right: 32px;
    }
    .dashboard-summary-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .hero-card {
        min-height: 78vh;
        grid-template-columns: 1.25fr 0.75fr;
        align-items: center;
    }
    .event-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .bottom-nav {
        max-width: 560px;
        margin: 0 auto 0;
        left: 50%;
        right: auto;
        width: calc(100% - 32px);
        transform: translateX(-50%);
        border-radius: 22px 22px 0 0;
    }
}

@media (max-width: 719px) {
    .screen {
        padding: 1rem 1rem 5rem;
    }
    .app-header {
        top: 6px;
        padding: 10px 12px;
        gap: 8px;
        margin: 0 8px 8px;
        border-radius: 14px;
    }
    .brand-lockup {
        gap: 10px;
    }
    .brand-lockup .eyebrow {
        display: none;
    }
    .brand-lockup .brand-copy {
        display: block;
    }
    .brand-lockup .brand-title {
        display: block;
        font-size: 0.82rem;
        line-height: 1.2;
        letter-spacing: 0;
    }
    .auth-header-actions {
        gap: 8px;
    }
    .auth-email {
        max-width: 34vw;
    }
    .card,
    .summary-card,
    .preview-panel,
    .success-panel,
    .profile-card,
    .settings-card,
    .ticket-card,
    .onboarding-slide,
    .auth-modal-card,
    .calendar-modal-card {
        padding: 1rem;
    }
    .event-card-body,
    .trending-body {
        padding: 1rem;
    }
    .detail-footer {
        padding: 1rem;
    }
    h1 {
        font-size: clamp(1.75rem, 8vw, 2rem);
    }
    h2 {
        font-size: clamp(1.5rem, 6vw, 1.75rem);
    }
    h3 {
        font-size: 1.25rem;
    }
    .hero-actions,
    .step-actions,
    .onboarding-actions,
    .detail-footer-actions,
    .calendar-modal-actions,
    .auth-actions {
        flex-direction: column;
    }
    .hero-actions .button,
    .step-actions .button,
    .onboarding-actions .button,
    .detail-footer-actions .button,
    .calendar-modal-actions .button,
    .auth-actions .button,
    .button-block {
        width: 100%;
    }
    .button {
        padding: 12px 16px;
    }
    .button-small {
        padding: 10px 12px;
    }
    .topbar .button,
    .app-header .button,
    .chip {
        width: auto;
    }
    .hero-card {
        min-height: auto;
        padding: 1rem;
        gap: 12px;
    }
    .hero-card>.card:last-child {
        display: none;
    }
    .detail-footer-inner {
        flex-direction: column;
        align-items: stretch;
    }
    .detail-footer-actions {
        width: 100%;
    }
    .detail-footer-actions .button {
        width: 100%;
    }
    .hero-actions .button {
        flex: 0 0 auto;
        min-height: 44px;
    }
    .detail-footer {
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: calc(var(--nav-height) + 12px);
    }
    .stat-row {
        grid-template-columns: 1fr;
    }
    .chip-grid {
        gap: 8px;
    }
    .detail-hero {
        min-height: 220px;
    }
    .calendar-grid {
        gap: 6px;
    }
    .calendar-day {
        min-height: 92px;
        padding: 6px;
    }
    .calendar-marker {
        font-size: 0.68rem;
        padding: 3px 5px;
    }
    .dashboard-metrics {
        grid-template-columns: 1fr;
    }
}


/* ======================================================
   TOKA - EVENT ENGAGEMENT (Comments + Updates)
   Append to bottom of style.css
====================================================== */


/* -- SECTION WRAPPER ----------------------------------- */

.event-section {
    padding: 20px 16px 0;
    max-width: 660px;
    margin: 0 auto;
    width: 100%;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.section-icon {
    font-size: 1.1rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1;
    letter-spacing: 0.02em;
}

.comment-count {
    background: rgba(244, 80, 10, 0.15);
    color: var(--toka-orange);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 99px;
    border: 1px solid rgba(244, 80, 10, 0.2);
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(244, 80, 10, 0.15), transparent);
    margin: 24px 16px;
    max-width: 628px;
    margin-left: auto;
    margin-right: auto;
}


/* -- ORGANISER UPDATES --------------------------------- */

.updates-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.update-card {
    border-radius: var(--radius);
    padding: 14px 16px;
    border-left: 3px solid;
    animation: fadeUp 0.3s ease both;
}

.update-info {
    background: rgba(58, 123, 213, 0.08);
    border-color: #3A7BD5;
}

.update-warning {
    background: rgba(244, 80, 10, 0.08);
    border-color: var(--toka-orange);
}

.update-exciting {
    background: rgba(198, 241, 53, 0.08);
    border-color: var(--toka-lime);
}

.update-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.update-icon {
    font-size: 0.9rem;
}

.update-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    flex: 1;
}

.update-time {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.update-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-primary);
}


/* -- EMPTY STATES -------------------------------------- */

.empty-updates,
.empty-comments {
    text-align: center;
    padding: 20px 16px;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.empty-sub {
    font-size: 0.78rem;
    margin-top: 4px;
    opacity: 0.7;
}


/* -- COMMENTS LIST ------------------------------------- */

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--surface-raised) transparent;
}

.comment-item {
    display: flex;
    gap: 10px;
    animation: fadeUp 0.25s ease both;
}

.comment-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--toka-black);
    flex-shrink: 0;
    font-family: 'Space Grotesk', sans-serif;
}

.comment-body {
    flex: 1;
    background: var(--surface);
    border-radius: 0 var(--radius) var(--radius) var(--radius);
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.own-comment .comment-body {
    background: rgba(244, 80, 10, 0.08);
    border-color: rgba(244, 80, 10, 0.15);
    border-radius: var(--radius) 0 var(--radius) var(--radius);
}


/* Own comments align to the right */

.own-comment {
    flex-direction: row-reverse;
}

.own-comment .comment-body {
    text-align: left;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.comment-author {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-primary);
}

.you-badge {
    background: rgba(244, 80, 10, 0.2);
    color: var(--toka-orange);
    font-size: 0.65rem;
    padding: 1px 5px;
    border-radius: 4px;
    font-weight: 600;
}

.comment-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-left: auto;
}

.comment-text {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-primary);
    word-break: break-word;
}

.comment-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.like-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    transition: transform 0.15s;
}

.like-btn.liked {
    color: var(--toka-orange);
}

.like-btn:active {
    transform: scale(0.9);
}


/* -- COMMENT COMPOSER ---------------------------------- */

.comment-composer {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.commenter-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--toka-black);
    flex-shrink: 0;
    font-family: 'Space Grotesk', sans-serif;
    background: var(--toka-orange);
}

.composer-right {
    flex: 1;
}


/* -- SHARED TEXTAREA ----------------------------------- */

.toka-textarea {
    width: 100%;
    background: var(--surface-raised);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    padding: 12px 14px;
    resize: none;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    line-height: 1.5;
}

.toka-textarea:focus {
    border-color: var(--toka-orange);
    box-shadow: 0 0 0 3px rgba(244, 80, 10, 0.12);
}

.toka-textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}


/* -- FORM FOOTER --------------------------------------- */

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.char-count {
    font-size: 0.72rem;
    color: var(--text-muted);
}


/* -- ACTION BUTTONS ------------------------------------ */

.btn-post-comment,
.btn-post-update {
    background: var(--toka-orange);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, background 0.2s, box-shadow 0.15s;
    letter-spacing: 0.02em;
}

.btn-post-comment:hover,
.btn-post-update:hover {
    box-shadow: 0 4px 16px rgba(244, 80, 10, 0.35);
    transform: translateY(-1px);
}

.btn-post-comment:active,
.btn-post-update:active {
    transform: scale(0.96);
}


/* -- NO TICKET PROMPT ---------------------------------- */

.no-ticket-prompt {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 14px 16px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.no-ticket-prompt span {
    font-size: 1.2rem;
}

.no-ticket-prompt p {
    font-size: 0.85rem;
    color: var(--text-muted);
}


/* -- POST UPDATE FORM ---------------------------------- */

.post-update-form {
    background: rgba(244, 80, 10, 0.05);
    border: 1px solid rgba(244, 80, 10, 0.2);
    border-radius: var(--radius);
    padding: 14px;
    margin-top: 12px;
}


/* -- SHAKE ANIMATION (validation) ---------------------- */

@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    20% {
        transform: translateX(-6px);
    }
    40% {
        transform: translateX(6px);
    }
    60% {
        transform: translateX(-4px);
    }
    80% {
        transform: translateX(4px);
    }
}


/* -- MOBILE PADDING (space above bottom nav) ----------- */

#comments-section {
    padding-bottom: 100px;
}