:root {
    --echoes-bg: #071018;
    --echoes-bg-strong: #050c12;
    --echoes-surface: rgba(13, 24, 36, 0.68);
    --echoes-surface-strong: rgba(10, 18, 29, 0.82);
    --echoes-surface-soft: rgba(255, 255, 255, 0.08);
    --echoes-foreground: #f8fbff;
    --echoes-muted-foreground: rgba(219, 231, 243, 0.78);
    --echoes-border: rgba(255, 255, 255, 0.14);
    --echoes-border-strong: rgba(255, 255, 255, 0.24);
    --echoes-primary: #e43f39;
    --echoes-secondary: #1f67ff;
    --echoes-accent: #0fb36f;
    --echoes-gold: #f3c64f;
    --echoes-danger: #c92a2a;
    --echoes-shadow-soft: 0 28px 60px rgba(0, 0, 0, 0.28);
    --echoes-shadow-glow: 0 0 32px rgba(31, 103, 255, 0.22), 0 0 70px rgba(228, 63, 57, 0.12);
    --echoes-glass-blur: 22px;
    --echoes-radius: 1.5rem;
    --echoes-radius-xl: 2rem;
    --echoes-font-display: "Orbitron", sans-serif;
    --echoes-font-body: "Montserrat", sans-serif;
    --echoes-safe-margin: clamp(20px, 4vw, 56px);
    --echoes-btn-bg: linear-gradient(135deg, #e43f39, #ff6a3d);
    --echoes-bg-opacity: 0.3;
}

.hide {
    display: none !important;
}

.echoes-front,
.echoes-front * {
    box-sizing: border-box;
}

.echoes-front {
    background: var(--echoes-bg);
    color: var(--echoes-foreground);
    overflow: hidden;
}

.echoes-front #background,
.echoes-front header,
.echoes-front footer {
    display: none !important;
}

.echoes-front .outer-container,
.echoes-front main {
    height: 100vh;
    width: 100%;
    max-width: none;
    padding: 0;
}

.echoes-front button,
.echoes-front input {
    font-family: var(--echoes-font-body);
}

.echoes-front button {
    text-transform: none;
}

.echoes-kiosk {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.worldcup-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.worldcup-bg__photo,
.worldcup-bg__photo img,
.worldcup-bg__overlay,
.worldcup-bg__field-lines,
.worldcup-bg__noise {
    position: absolute;
    inset: 0;
}

.worldcup-bg__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: var(--echoes-bg-opacity);
}

.worldcup-bg__overlay {
    background:
        radial-gradient(circle at 50% 108%, rgba(15, 179, 111, 0.18), transparent 32%),
        radial-gradient(circle at 15% 15%, rgba(31, 103, 255, 0.12), transparent 28%),
        radial-gradient(circle at 82% 20%, rgba(228, 63, 57, 0.14), transparent 25%),
        linear-gradient(180deg, rgba(4, 9, 15, 0.52), rgba(4, 9, 15, 0.86) 55%, rgba(2, 8, 14, 0.96));
}

.worldcup-bg__glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(110px);
    opacity: 0.75;
    animation: pulse-glow 8s ease-in-out infinite;
}

.worldcup-bg__glow--blue {
    top: 16%;
    left: 16%;
    width: min(36vw, 430px);
    height: min(36vw, 430px);
    background: rgba(31, 103, 255, 0.18);
}

.worldcup-bg__glow--red {
    top: 18%;
    right: 12%;
    width: min(30vw, 360px);
    height: min(30vw, 360px);
    background: rgba(228, 63, 57, 0.16);
    animation-delay: 1.8s;
}

.worldcup-bg__glow--green {
    bottom: 10%;
    left: 42%;
    width: min(26vw, 320px);
    height: min(26vw, 320px);
    background: rgba(15, 179, 111, 0.12);
    animation-delay: 3.2s;
}

.worldcup-bg__field-lines::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 88%, rgba(255, 255, 255, 0.06) 0, transparent 15%),
        linear-gradient(180deg, transparent 70%, rgba(255, 255, 255, 0.04) 70.2%, rgba(255, 255, 255, 0.04) 70.6%, transparent 70.8%);
}

.worldcup-bg__particles span {
    position: absolute;
    bottom: -4%;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    animation: float-particle linear infinite;
}

.worldcup-bg__particles span:nth-child(1) { left: 6%; animation-duration: 9s; animation-delay: 0.5s; }
.worldcup-bg__particles span:nth-child(2) { left: 14%; animation-duration: 13s; animation-delay: 1.1s; }
.worldcup-bg__particles span:nth-child(3) { left: 22%; animation-duration: 11s; animation-delay: 3.5s; }
.worldcup-bg__particles span:nth-child(4) { left: 31%; animation-duration: 15s; animation-delay: 0.2s; }
.worldcup-bg__particles span:nth-child(5) { left: 43%; animation-duration: 12s; animation-delay: 1.7s; }
.worldcup-bg__particles span:nth-child(6) { left: 51%; animation-duration: 10s; animation-delay: 4.2s; }
.worldcup-bg__particles span:nth-child(7) { left: 60%; animation-duration: 16s; animation-delay: 2.4s; }
.worldcup-bg__particles span:nth-child(8) { left: 68%; animation-duration: 14s; animation-delay: 0.9s; }
.worldcup-bg__particles span:nth-child(9) { left: 77%; animation-duration: 12s; animation-delay: 3.8s; }
.worldcup-bg__particles span:nth-child(10) { left: 84%; animation-duration: 15s; animation-delay: 2.1s; }
.worldcup-bg__particles span:nth-child(11) { left: 91%; animation-duration: 11s; animation-delay: 4.6s; }
.worldcup-bg__particles span:nth-child(12) { left: 97%; animation-duration: 13s; animation-delay: 1.4s; }

.worldcup-bg__noise {
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.worldcup-brand {
    position: absolute;
    inset: clamp(18px, 3vw, 28px) clamp(18px, 3vw, 28px) auto clamp(18px, 3vw, 28px);
    z-index: 12;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    pointer-events: none;
}

.worldcup-brand__copy {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.worldcup-brand__copy strong,
.wc-kicker,
.echoes-touch,
.wc-processing-percent,
.wc-tip-chip {
    font-family: var(--echoes-font-display);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.worldcup-brand__copy strong {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    font-weight: 800;
}

.worldcup-brand__eyebrow,
.wc-kicker {
    color: rgba(243, 198, 79, 0.98);
    font-size: 0.78rem;
    font-weight: 700;
}

.echoes-logo {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.echoes-logo img {
    max-width: 160px;
    max-height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.3));
}

.echoes-screen {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--echoes-safe-margin) + 44px) var(--echoes-safe-margin) var(--echoes-safe-margin);
    animation: slide-up-fade 0.45s ease-out;
}

.echoes-screen--hidden {
    display: none !important;
}

.echoes-stage {
    position: relative;
    z-index: 1;
    width: min(100%, 1180px);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.echoes-stage--center {
    align-items: center;
    justify-content: center;
}

.echoes-stage--column {
    min-height: 100%;
    justify-content: space-between;
}

.wc-shell {
    width: min(100%, 1180px);
}

.wc-shell--narrow {
    width: min(100%, 880px);
}

.echoes-stack {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.wc-hero,
.echoes-stack--prompt,
.echoes-stack--question,
.echoes-stack--prep,
.echoes-stack--camera,
.echoes-stack--loading,
.echoes-stack--result {
    width: min(100%, 900px);
    margin: 0 auto;
}

.wc-screen-head,
.echoes-heading--center {
    text-align: center;
}

.wc-screen-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    max-width: 780px;
    margin: 0 auto;
}

.wc-screen-head--compact {
    gap: 0.5rem;
}

.echoes-heading h1,
.echoes-heading h2,
.wc-screen-head h2,
.echoes-question-title {
    margin: 0;
    color: var(--echoes-foreground);
    font-family: var(--echoes-font-display);
    font-weight: 800;
    line-height: 1.08;
}

.echoes-heading h1 {
    font-size: clamp(2.9rem, 6vw, 5rem);
}

.echoes-heading h2,
.wc-screen-head h2,
.echoes-question-title {
    font-size: clamp(1.9rem, 4vw, 3.35rem);
}

.echoes-heading p,
.wc-screen-head p,
.echoes-progress-label,
.echoes-glass-note,
.echoes-choice-card-copy span,
.echoes-empty-state {
    margin: 0;
    font-family: var(--echoes-font-body);
    color: var(--echoes-muted-foreground);
    line-height: 1.58;
}

.echoes-heading p,
.wc-screen-head p {
    font-size: clamp(0.98rem, 1.5vw, 1.15rem);
}

.wc-panel,
.wc-progress-card,
.echoes-choice-card,
.echoes-input-card,
.echoes-glass-note,
.echoes-qr-card,
.echoes-chip,
.echoes-context-pill,
.wc-processing-step,
.wc-camera-module,
.echoes-camera-shell,
.echoes-result-frame,
.echoes-empty-state {
    background: linear-gradient(180deg, rgba(18, 30, 44, 0.72), rgba(8, 15, 25, 0.86));
    backdrop-filter: blur(var(--echoes-glass-blur));
    -webkit-backdrop-filter: blur(var(--echoes-glass-blur));
    border: 1px solid var(--echoes-border);
    box-shadow: var(--echoes-shadow-soft);
}

.wc-panel,
.wc-progress-card,
.echoes-input-card,
.echoes-glass-note,
.echoes-empty-state {
    border-radius: var(--echoes-radius-xl);
}

.wc-panel {
    padding: clamp(1.3rem, 3vw, 2rem);
}

.wc-progress-card {
    width: min(100%, 780px);
    margin: 0 auto;
    padding: 1rem 1.2rem;
}

.echoes-progress-block {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.echoes-progress-track {
    width: 100%;
    height: 0.68rem;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.echoes-progress-fill {
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--echoes-primary), var(--echoes-secondary), var(--echoes-accent));
    box-shadow: 0 0 24px rgba(31, 103, 255, 0.35);
    transition: width 0.5s ease-out;
    position: relative;
}

.echoes-progress-fill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
}

.echoes-progress-label {
    font-size: 0.92rem;
    text-align: center;
}

.echoes-context-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.75rem 1.2rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
}

.echoes-choice-grid {
    width: 100%;
    display: grid;
    gap: 1rem;
}

.echoes-choice-grid--prompts {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

#questionOptions {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.echoes-choice-card {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 1.35rem;
    padding: 1.15rem 1.2rem;
    color: var(--echoes-foreground);
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.echoes-choice-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.08) 50%, transparent 65%);
    background-size: 220% 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.echoes-choice-card:hover,
.echoes-choice-card.is-selected {
    transform: translateY(-3px) scale(1.01);
    border-color: rgba(31, 103, 255, 0.48);
    box-shadow: var(--echoes-shadow-glow);
}

.echoes-choice-card:hover::before,
.echoes-choice-card.is-selected::before {
    opacity: 1;
    animation: shimmer 1.7s linear infinite;
}

#promptCards .echoes-choice-card {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    min-height: 19rem;
    padding: 1rem;
    gap: 1rem;
}

#questionOptions .echoes-choice-card {
    justify-content: center;
    min-height: 5.5rem;
    text-align: center;
    padding-inline: 1.4rem;
}

#questionOptions .echoes-choice-card-copy,
#questionOptions .echoes-choice-card-copy strong {
    align-items: center;
    justify-content: center;
}

.echoes-choice-card-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.echoes-choice-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.echoes-choice-card-icon {
    width: 4rem;
    height: 4rem;
    flex: 0 0 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(31, 103, 255, 0.15), rgba(228, 63, 57, 0.18));
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--echoes-foreground);
    font-size: 1.4rem;
    font-weight: 700;
}

.echoes-choice-card-copy {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.echoes-choice-card-copy strong {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--echoes-font-display);
    font-size: clamp(1rem, 1.4vw, 1.22rem);
    font-weight: 700;
    color: var(--echoes-foreground);
}

.echoes-choice-card-copy span {
    font-size: 0.92rem;
}

.echoes-input-card {
    width: 100%;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.echoes-input-card label {
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
}

.echoes-option-input,
.echoes-input-card input {
    width: 100%;
    min-height: 4.2rem;
    padding: 0 1rem;
    border-radius: 1rem;
    border: 1px solid var(--echoes-border-strong);
    background: rgba(255, 255, 255, 0.06);
    color: var(--echoes-foreground);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.echoes-option-input:focus,
.echoes-input-card input:focus {
    border-color: rgba(31, 103, 255, 0.62);
    box-shadow: 0 0 0 4px rgba(31, 103, 255, 0.12);
    background: rgba(255, 255, 255, 0.09);
}

.echoes-option-input::placeholder,
.echoes-input-card input::placeholder {
    color: rgba(219, 231, 243, 0.45);
}

.wc-note-card,
.echoes-glass-note {
    width: 100%;
    padding: 1.1rem 1.25rem;
    font-size: 0.96rem;
}

.wc-actions,
.echoes-button-stack,
.echoes-bottom-actions {
    width: min(100%, 780px);
    margin: 0 auto;
    display: flex;
    gap: 1rem;
}

.wc-actions--stack,
.echoes-button-stack,
.echoes-bottom-actions {
    flex-direction: column;
}

.echoes-bottom-actions--split {
    flex-direction: row;
    align-items: stretch;
}

.echoes-bottom-actions--split > * {
    flex: 1 1 0;
}

.echoes-touch {
    position: relative;
    appearance: none;
    border: 1px solid transparent;
    width: 100%;
    min-height: 4.25rem;
    padding: 1rem 1.4rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.92rem;
    font-weight: 800;
    color: #ffffff;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, opacity 0.22s ease;
}

.echoes-touch::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, 0.18) 50%, transparent 62%);
    background-size: 200% 100%;
    opacity: 0;
}

.echoes-touch:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.01);
}

.echoes-touch:hover:not(:disabled)::after {
    opacity: 1;
    animation: shimmer 1.4s linear infinite;
}

.echoes-touch:active:not(:disabled) {
    transform: scale(0.98);
}

.echoes-touch:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.echoes-touch--primary {
    background: var(--echoes-btn-bg);
    box-shadow: 0 0 28px rgba(228, 63, 57, 0.2);
}

.echoes-touch--muted {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border-color: var(--echoes-border);
    color: var(--echoes-foreground);
}

.echoes-touch--danger {
    background: linear-gradient(135deg, rgba(201, 42, 42, 0.95), rgba(132, 15, 15, 0.95));
    box-shadow: 0 0 28px rgba(201, 42, 42, 0.2);
}

.wc-camera-module,
.echoes-camera-shell {
    width: min(100%, 540px);
}

.echoes-camera-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(6, 11, 18, 0.96);
}

.echoes-camera-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.echoes-camera-live {
    transform: scaleX(-1);
}

.wc-camera-guide {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.wc-camera-guide__corner {
    position: absolute;
    width: 3.4rem;
    height: 3.4rem;
    border-color: rgba(228, 63, 57, 0.72);
    border-style: solid;
}

.wc-camera-guide__corner--tl {
    top: 1.2rem;
    left: 1.2rem;
    border-width: 3px 0 0 3px;
    border-radius: 1rem 0 0 0;
}

.wc-camera-guide__corner--tr {
    top: 1.2rem;
    right: 1.2rem;
    border-width: 3px 3px 0 0;
    border-radius: 0 1rem 0 0;
}

.wc-camera-guide__corner--bl {
    bottom: 1.2rem;
    left: 1.2rem;
    border-width: 0 0 3px 3px;
    border-radius: 0 0 0 1rem;
}

.wc-camera-guide__corner--br {
    bottom: 1.2rem;
    right: 1.2rem;
    border-width: 0 3px 3px 0;
    border-radius: 0 0 1rem 0;
}

.wc-camera-guide__head {
    position: absolute;
    top: 13%;
    left: 50%;
    transform: translateX(-50%);
    width: 8.5rem;
    height: 8.5rem;
    border-radius: 999px;
    border: 2px dashed rgba(15, 179, 111, 0.56);
}

.wc-camera-guide__shoulders {
    position: absolute;
    top: 43%;
    left: 16%;
    right: 16%;
    border-top: 1px dashed rgba(31, 103, 255, 0.4);
}

.wc-camera-guide__centerline {
    position: absolute;
    top: 6%;
    bottom: 9%;
    left: 50%;
    border-left: 1px dashed rgba(255, 255, 255, 0.12);
}

.wc-camera-guide__hint {
    position: absolute;
    left: 50%;
    bottom: 1.2rem;
    transform: translateX(-50%);
    min-width: 240px;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(5, 12, 18, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    font-size: 0.74rem;
    font-weight: 600;
}

#echoesCapturedPreview:not(.echoes-screen--hidden) ~ .wc-camera-guide {
    opacity: 0;
}

.echoes-camera-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(5, 12, 18, 0.92);
    color: var(--echoes-muted-foreground);
    text-align: center;
    line-height: 1.6;
}

.echoes-countdown {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 12, 18, 0.38);
    color: #ffffff;
    font-family: var(--echoes-font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
}

.wc-tip-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.wc-tip-chip {
    padding: 0.6rem 0.85rem;
    border-radius: 999px;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wc-processing-shell {
    gap: 1.5rem;
}

.echoes-loading-media {
    width: min(100%, 380px);
    border-radius: 1.4rem;
    overflow: hidden;
}

.echoes-loading-media img,
.echoes-loading-media video {
    display: block;
    width: 100%;
    height: auto;
}

.wc-processing-ring {
    --loading-progress: 0%;
    position: relative;
    width: clamp(130px, 18vw, 170px);
    height: clamp(130px, 18vw, 170px);
    padding: 10px;
    border-radius: 999px;
    background:
        conic-gradient(
            from -90deg,
            var(--echoes-primary) 0%,
            var(--echoes-secondary) calc(var(--loading-progress) * 0.65),
            var(--echoes-accent) var(--loading-progress),
            rgba(255, 255, 255, 0.08) var(--loading-progress),
            rgba(255, 255, 255, 0.08) 100%
        );
    box-shadow: 0 0 36px rgba(31, 103, 255, 0.22);
}

.wc-processing-ring::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 38px rgba(255, 255, 255, 0.08);
    animation: pulse-glow 2.8s ease-in-out infinite;
}

.wc-processing-ring__inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 35%, rgba(31, 103, 255, 0.14), rgba(7, 16, 24, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.wc-processing-percent {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 800;
}

.echoes-loading-copy {
    max-width: 650px;
    margin: 0;
    text-align: center;
    font-family: var(--echoes-font-display);
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    line-height: 1.45;
    color: var(--echoes-foreground);
}

.wc-processing-steps {
    width: min(100%, 520px);
    display: grid;
    gap: 0.75rem;
}

.wc-processing-step {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    border-radius: 1.1rem;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.wc-processing-step__badge {
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-family: var(--echoes-font-display);
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.74);
    background: rgba(255, 255, 255, 0.08);
}

.wc-processing-step span:last-child {
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.72);
}

.wc-processing-step.is-active,
.wc-processing-step.is-complete {
    border-color: rgba(31, 103, 255, 0.34);
}

.wc-processing-step.is-active {
    transform: translateY(-1px);
    box-shadow: 0 0 24px rgba(228, 63, 57, 0.15);
}

.wc-processing-step.is-active .wc-processing-step__badge {
    background: linear-gradient(135deg, var(--echoes-primary), var(--echoes-secondary));
    color: #ffffff;
}

.wc-processing-step.is-complete .wc-processing-step__badge {
    background: linear-gradient(135deg, rgba(15, 179, 111, 0.92), rgba(34, 197, 94, 0.92));
    color: #ffffff;
}

.wc-processing-step.is-active span:last-child,
.wc-processing-step.is-complete span:last-child {
    color: rgba(255, 255, 255, 0.92);
}

.echoes-loading-dots {
    display: flex;
    gap: 0.65rem;
    justify-content: center;
}

.echoes-loading-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    transition: transform 0.25s ease, background 0.25s ease;
}

.echoes-loading-dot.is-active {
    transform: scale(1.1);
    background: var(--echoes-primary);
}

.wc-result-card,
.echoes-result-frame {
    position: relative;
    overflow: hidden;
    width: min(100%, 520px);
    border-radius: 1.7rem;
}

.wc-result-card::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(228, 63, 57, 0.22), rgba(31, 103, 255, 0.22), rgba(15, 179, 111, 0.18));
    filter: blur(28px);
    opacity: 0.92;
}

.wc-result-card img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
}

.echoes-chip-list {
    width: min(100%, 720px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
}

.echoes-chip {
    min-height: 2.8rem;
    padding: 0.68rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
}

.echoes-qr-card {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
}

#qr-code {
    padding: 0.8rem;
    border-radius: 1rem;
    background: #ffffff;
    line-height: 0;
}

#qr-code img,
#qr-code canvas {
    display: block;
}

.echoes-cta-wrap,
.echoes-cta-wrap img,
.echoes-cta-wrap video {
    width: 100%;
    height: 100%;
}

.echoes-cta-wrap img,
.echoes-cta-wrap video {
    object-fit: cover;
}

.echoes-empty-state {
    width: 100%;
    padding: 2rem;
    text-align: center;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-105vh) translateX(18px);
        opacity: 0;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.55;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.04);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes slide-up-fade {
    0% {
        opacity: 0;
        transform: translateY(28px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 960px) {
    .echoes-screen {
        padding-top: calc(var(--echoes-safe-margin) + 64px);
    }

    .worldcup-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .echoes-logo img {
        max-width: 132px;
        max-height: 46px;
    }

    #promptCards .echoes-choice-card {
        min-height: 16rem;
    }
}

@media (max-width: 720px) {
    :root {
        --echoes-safe-margin: 18px;
    }

    .echoes-screen {
        padding-top: 96px;
        padding-bottom: 24px;
    }

    .echoes-stage {
        gap: 1rem;
    }

    .echoes-bottom-actions--split {
        flex-direction: column;
    }

    #questionOptions {
        grid-template-columns: 1fr;
    }

    .wc-camera-guide__head {
        width: 7rem;
        height: 7rem;
    }

    .wc-camera-guide__hint {
        min-width: 200px;
        font-size: 0.68rem;
    }
}
