    /* ================================================
       ROOKERY ISLES CHARACTER CREATION WIZARD
       A guided journey from idea to application
       ================================================ */

    body {
        background: url("/sl/assets/images/parchment-texture.jpg") center/cover fixed;
        position: relative;
    }

    body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at center,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(20, 0, 0, 0.85) 50%,
            rgba(0, 0, 0, 0.95) 100%
        );
        z-index: -1;
    }

    /* Hide all steps by default */
    .wizard-step { display: none; }
    .wizard-step.active { display: block; }

    /* ---- PROGRESS TRACKER ---- */
    .wizard-progress {
        max-width: 1100px;
        margin: 0 auto 2rem auto;
        padding: 1.5rem 2rem;
        background: rgba(0, 0, 0, 0.6);
        border: 1px solid #8b0000;
        border-radius: 4px;
        position: sticky;
        top: 0;
        z-index: 50;
        backdrop-filter: blur(10px);
    }

    .progress-phases {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.25rem;
        margin-bottom: 0.75rem;
    }

    .phase-marker {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.4rem;
        flex: 1;
        position: relative;
        cursor: default;
    }

    .phase-dot {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: rgba(40, 20, 20, 0.9);
        border: 2px solid #555;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: "Cinzel", serif;
        font-size: 0.75rem;
        color: #777;
        transition: all 0.4s ease;
        position: relative;
        z-index: 2;
    }

    .phase-marker.completed .phase-dot {
        background: #8b0000;
        border-color: #ffd700;
        color: #ffd700;
    }

    .phase-marker.current .phase-dot {
        background: rgba(139, 0, 0, 0.6);
        border-color: #ffd700;
        color: #ffd700;
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
        animation: pulse-dot 2s ease-in-out infinite;
    }

    @keyframes pulse-dot {
        0%, 100% { box-shadow: 0 0 15px rgba(255, 215, 0, 0.4); }
        50% { box-shadow: 0 0 25px rgba(255, 215, 0, 0.7); }
    }

    .phase-label {
        font-family: "Cinzel", serif;
        font-size: 0.65rem;
        color: #666;
        text-align: center;
        transition: color 0.3s ease;
        white-space: nowrap;
    }

    .phase-marker.completed .phase-label,
    .phase-marker.current .phase-label {
        color: #d4af37;
    }

    .progress-bar-track {
        width: 100%;
        height: 4px;
        background: rgba(60, 30, 30, 0.8);
        border-radius: 2px;
        overflow: hidden;
    }

    .progress-bar-fill {
        height: 100%;
        background: linear-gradient(90deg, #8b0000, #ffd700);
        border-radius: 2px;
        transition: width 0.6s ease;
        width: 0%;
    }

    /* ---- WIZARD CONTAINER ---- */
    .wizard-container {
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 2rem 2rem 2rem;
    }

    /* ---- STEP HEADER ---- */
    .step-header {
        text-align: center;
        padding: 2.5rem 2rem;
        margin-bottom: 2rem;
        background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.65));
        border: 2px solid #8b0000;
        box-shadow: 0 0 30px rgba(139, 0, 0, 0.3);
        position: relative;
    }

    .step-header::before,
    .step-header::after {
        content: "\29EB";
        position: absolute;
        color: #8b0000;
        font-size: 2.5rem;
        top: 50%;
        transform: translateY(-50%);
    }
    .step-header::before { left: 1.5rem; }
    .step-header::after { right: 1.5rem; }

    .step-title {
        font-family: "Cinzel", serif;
        font-size: 2.2rem;
        color: #ffd700;
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.5),
                     2px 2px 4px rgba(0, 0, 0, 0.8);
        margin: 0 0 0.5rem 0;
        letter-spacing: 0.08em;
    }

    .step-subtitle {
        font-family: "Crimson Text", serif;
        font-size: 1.15rem;
        color: #d4af37;
        font-style: italic;
        margin: 0;
    }

    /* ---- CONTENT PANELS ---- */
    .content-panel {
        background: linear-gradient(135deg,
            rgba(20, 12, 12, 0.97) 0%,
            rgba(32, 16, 16, 0.95) 100%
        );
        border: 1px solid #8b0000;
        padding: 2rem;
        margin-bottom: 1.5rem;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    }

    .content-panel h3 {
        font-family: "Cinzel", serif;
        font-size: 1.4rem;
        color: #ffd700;
        margin: 0 0 1rem 0;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid rgba(139, 0, 0, 0.4);
    }

    .content-panel p,
    .content-panel li {
        font-family: "Crimson Text", serif;
        color: #c0b090;
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .content-panel a {
        color: #ffd700;
        text-decoration: underline;
    }

    /* ---- QUESTION CARDS ---- */
    .question-card {
        background: rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(139, 0, 0, 0.3);
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        transition: border-color 0.3s ease;
    }

    .question-card.answered {
        border-color: rgba(255, 215, 0, 0.3);
    }

    .question-text {
        font-family: "Cinzel", serif;
        font-size: 1.1rem;
        color: #d4af37;
        margin: 0 0 1rem 0;
    }

    .question-flavor {
        font-family: "Crimson Text", serif;
        font-size: 0.95rem;
        color: #998870;
        font-style: italic;
        margin: 0 0 1rem 0;
    }

    /* ---- CHOICE OPTIONS ---- */
    .choices-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .choices-grid.single-col {
        grid-template-columns: 1fr;
    }

    .choice-option {
        background: rgba(20, 12, 12, 0.8);
        border: 2px solid #444;
        padding: 1rem 1.25rem;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
    }

    .choice-option:hover {
        border-color: #8b0000;
        background: rgba(139, 0, 0, 0.15);
    }

    .choice-option.selected {
        border-color: #ffd700;
        background: rgba(139, 0, 0, 0.25);
        box-shadow: 0 0 12px rgba(255, 215, 0, 0.15);
    }

    .choice-option .choice-label {
        font-family: "Cinzel", serif;
        font-size: 0.95rem;
        color: #d4c4b9;
        display: block;
        margin-bottom: 0.25rem;
    }

    .choice-option.selected .choice-label {
        color: #ffd700;
    }

    .choice-option .choice-desc {
        font-family: "Crimson Text", serif;
        font-size: 0.85rem;
        color: #888;
        display: block;
    }

    /* ---- HOUSE RESULT CARDS ---- */
    .house-results {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .house-result-card {
        background: rgba(0, 0, 0, 0.5);
        border: 2px solid #555;
        padding: 1.5rem;
        display: flex;
        gap: 1.5rem;
        align-items: flex-start;
        position: relative;
        overflow: hidden;
        cursor: pointer;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .house-result-card:hover {
        border-color: #998870;
        box-shadow: 0 0 12px rgba(153,136,112,0.2);
    }

    .house-result-card.selected {
        border-color: #27ae60;
        box-shadow: 0 0 20px rgba(39,174,96,0.25);
    }

    .house-result-card.selected::after {
        content: "✓ SELECTED";
        position: absolute;
        bottom: 0;
        right: 0;
        background: #27ae60;
        color: #fff;
        font-family: "Cinzel", serif;
        font-size: 0.7rem;
        padding: 0.3rem 1rem;
        letter-spacing: 0.1em;
    }

    .house-result-card.top-match {
        border-color: #ffd700;
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
    }

    .house-result-card.top-match::before {
        content: "BEST MATCH";
        position: absolute;
        top: 0;
        right: 0;
        background: linear-gradient(135deg, #8b0000, #a00);
        color: #ffd700;
        font-family: "Cinzel", serif;
        font-size: 0.7rem;
        padding: 0.3rem 1rem;
        letter-spacing: 0.1em;
    }

    .house-score-bar {
        width: 60px;
        min-width: 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .score-circle {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 3px solid #555;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: "Cinzel", serif;
        font-size: 1.1rem;
        color: #d4c4b9;
        transition: all 0.5s ease;
    }

    .house-result-card.top-match .score-circle {
        border-color: #ffd700;
        color: #ffd700;
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    }

    .house-result-info h4 {
        font-family: "Cinzel", serif;
        font-size: 1.2rem;
        color: #ffd700;
        margin: 0 0 0.25rem 0;
    }

    .house-result-info .house-motto {
        font-family: "Crimson Text", serif;
        font-size: 0.9rem;
        color: #998870;
        font-style: italic;
        margin: 0 0 0.5rem 0;
    }

    .house-result-info .house-why {
        font-family: "Crimson Text", serif;
        font-size: 0.95rem;
        color: #c0b090;
        line-height: 1.6;
    }

    /* ---- FORM FIELDS ---- */
    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group label {
        display: block;
        font-family: "Cinzel", serif;
        font-size: 0.95rem;
        color: #d4af37;
        margin-bottom: 0.5rem;
    }

    .form-group .label-note {
        font-family: "Crimson Text", serif;
        font-size: 0.85rem;
        color: #888;
        font-style: italic;
        display: block;
        margin-bottom: 0.5rem;
    }

    .form-input,
    .form-select,
    .form-textarea {
        width: 100%;
        padding: 0.75rem 1rem;
        background: rgba(0, 0, 0, 0.5);
        border: 1px solid #555;
        color: #d4c4b9;
        font-family: "Crimson Text", serif;
        font-size: 1rem;
        transition: border-color 0.3s ease;
        box-sizing: border-box;
    }

    .form-input:focus,
    .form-select:focus,
    .form-textarea:focus {
        outline: none;
        border-color: #ffd700;
        box-shadow: 0 0 8px rgba(255, 215, 0, 0.15);
    }

    .form-textarea {
        min-height: 120px;
        resize: vertical;
        line-height: 1.6;
    }

    .form-select {
        cursor: pointer;
    }

    .form-select option {
        background: #1a0f0f;
        color: #d4c4b9;
    }

    .char-count {
        font-family: "Crimson Text", serif;
        font-size: 0.8rem;
        color: #666;
        text-align: right;
        margin-top: 0.25rem;
    }

    .char-count.warning { color: #d4af37; }
    .char-count.danger { color: #8b0000; }

    /* ---- NAVIGATION BUTTONS ---- */
    .wizard-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 2rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(139, 0, 0, 0.3);
    }

    .btn-wizard {
        font-family: "Cinzel", serif;
        font-size: 0.95rem;
        padding: 0.75rem 2rem;
        border: 2px solid #8b0000;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .btn-prev {
        background: transparent;
        color: #d4c4b9;
    }

    .btn-prev:hover {
        background: rgba(139, 0, 0, 0.2);
        color: #ffd700;
    }

    .btn-next {
        background: linear-gradient(135deg, #8b0000, #a00);
        color: #ffd700;
    }

    .btn-next:hover {
        background: linear-gradient(135deg, #a00, #c00);
        box-shadow: 0 0 15px rgba(139, 0, 0, 0.4);
    }

    .btn-next:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

    .btn-submit {
        background: linear-gradient(135deg, #2a5e1e, #3a7e2e);
        color: #ffd700;
        border-color: #3a7e2e;
        font-size: 1.1rem;
        padding: 1rem 3rem;
    }

    .btn-submit:hover {
        background: linear-gradient(135deg, #3a7e2e, #4a9e3e);
        box-shadow: 0 0 20px rgba(58, 126, 46, 0.4);
    }

    /* ---- WELCOME / INTRO SCREEN ---- */
    .welcome-splash {
        text-align: center;
        padding: 3rem 2rem;
    }

    .welcome-splash h2 {
        font-family: "Cinzel", serif;
        font-size: 2.5rem;
        color: #ffd700;
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
        margin: 0 0 1rem 0;
    }

    .welcome-splash .tagline {
        font-family: "Crimson Text", serif;
        font-size: 1.3rem;
        color: #d4af37;
        font-style: italic;
        margin-bottom: 2rem;
    }

    .welcome-splash p {
        font-family: "Crimson Text", serif;
        font-size: 1.1rem;
        color: #c0b090;
        line-height: 1.8;
        max-width: 800px;
        margin: 0 auto 1rem auto;
    }

    .journey-steps {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        margin: 2.5rem 0;
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

    .journey-step {
        text-align: center;
        padding: 1.5rem 1rem;
        background: rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(139, 0, 0, 0.3);
    }

    .journey-step .step-icon {
        font-size: 2rem;
        color: #8b0000;
        margin-bottom: 0.75rem;
    }

    .journey-step h4 {
        font-family: "Cinzel", serif;
        font-size: 0.85rem;
        color: #ffd700;
        margin: 0 0 0.5rem 0;
    }

    .journey-step p {
        font-family: "Crimson Text", serif;
        font-size: 0.85rem;
        color: #998870;
        margin: 0;
        line-height: 1.4;
    }

    .btn-begin {
        display: inline-block;
        font-family: "Cinzel", serif;
        font-size: 1.2rem;
        padding: 1rem 3.5rem;
        background: linear-gradient(135deg, #8b0000, #a00);
        color: #ffd700;
        border: 2px solid #8b0000;
        cursor: pointer;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        transition: all 0.3s ease;
        margin-top: 1rem;
    }

    .btn-begin:hover {
        background: linear-gradient(135deg, #a00, #c00);
        box-shadow: 0 0 25px rgba(139, 0, 0, 0.5);
        transform: translateY(-2px);
    }

    .btn-discord-login {
        display: inline-flex;
        align-items: center;
        gap: 0.6rem;
        font-family: "Cinzel", serif;
        font-size: 1rem;
        padding: 0.85rem 2rem;
        background: #5865F2;
        color: #fff;
        border: 2px solid #4752c4;
        cursor: pointer;
        letter-spacing: 0.05em;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .btn-discord-login:hover {
        background: #4752c4;
        box-shadow: 0 0 20px rgba(88, 101, 242, 0.5);
        transform: translateY(-2px);
        color: #fff;
        text-decoration: none;
    }

    /* ---- REVIEW / APPLICATION OUTPUT ---- */
    .application-output {
        background: rgba(0, 0, 0, 0.6);
        border: 2px solid #8b0000;
        padding: 2.5rem;
        font-family: "Crimson Text", serif;
    }

    .app-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgba(139, 0, 0, 0.2);
    }

    .app-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    /* Validation checklist */
    .check-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.6rem 1rem;
        margin-bottom: 0.3rem;
        border-radius: 4px;
        font-family: "Crimson Text", serif;
        font-size: 1rem;
    }
    .check-item.pass {
        background: rgba(46, 125, 50, 0.1);
        color: #81c784;
    }
    .check-item.fail {
        background: rgba(139, 0, 0, 0.15);
        color: #ef9a9a;
    }
    .check-icon {
        font-size: 1.2rem;
        flex-shrink: 0;
        width: 24px;
        text-align: center;
    }
    .check-label { flex: 1; }
    .check-fix {
        font-size: 0.85rem;
        color: #d4af37;
        font-style: italic;
    }
    .validation-summary {
        text-align: center;
        padding: 1rem;
        margin-top: 1rem;
        font-family: "Cinzel", serif;
        font-size: 1.1rem;
    }
    .validation-summary.all-pass {
        color: #81c784;
        border: 1px solid rgba(46, 125, 50, 0.3);
        background: rgba(46, 125, 50, 0.08);
    }
    .validation-summary.has-errors {
        color: #ef9a9a;
        border: 1px solid rgba(139, 0, 0, 0.3);
        background: rgba(139, 0, 0, 0.08);
    }

    .app-label {
        font-family: "Cinzel", serif;
        font-size: 0.8rem;
        color: #8b0000;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        margin-bottom: 0.25rem;
    }

    .app-value {
        font-size: 1.1rem;
        color: #d4c4b9;
        line-height: 1.6;
    }

    /* ---- CONFIRMATION SCREEN ---- */
    .confirmation-screen {
        text-align: center;
        padding: 3rem;
    }

    .confirmation-icon {
        font-size: 4rem;
        color: #ffd700;
        margin-bottom: 1rem;
    }

    .confirmation-screen h2 {
        font-family: "Cinzel", serif;
        font-size: 2rem;
        color: #ffd700;
        margin-bottom: 1rem;
    }

    /* ---- SORTING ANIMATION ---- */
    .sorting-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0, 0, 0, 0.95);
        z-index: 1000;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .sorting-overlay.active {
        display: flex;
    }

    .sorting-text {
        font-family: "Cinzel", serif;
        font-size: 1.5rem;
        color: #ffd700;
        text-align: center;
        animation: flicker 1.5s ease-in-out infinite;
    }

    @keyframes flicker {
        0%, 100% { opacity: 1; text-shadow: 0 0 20px rgba(255, 215, 0, 0.5); }
        50% { opacity: 0.7; text-shadow: 0 0 5px rgba(255, 215, 0, 0.2); }
    }

    .sorting-sigil {
        width: 120px;
        height: 120px;
        border: 3px solid #8b0000;
        border-radius: 50%;
        margin-bottom: 2rem;
        animation: spin-slow 4s linear infinite;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sorting-sigil i {
        font-size: 3rem;
        color: #ffd700;
    }

    @keyframes spin-slow {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

    /* ---- HOUSE SELECTION OVERRIDE ---- */
    .house-override {
        margin-top: 1.5rem;
        padding: 1.5rem;
        background: rgba(0, 0, 0, 0.3);
        border: 1px dashed rgba(139, 0, 0, 0.4);
    }

    .house-override p {
        font-family: "Crimson Text", serif;
        font-size: 0.95rem;
        color: #998870;
        margin: 0 0 0.75rem 0;
    }

    /* ---- VALIDATION ---- */
    .field-error {
        font-family: "Crimson Text", serif;
        font-size: 0.85rem;
        color: #cc4444;
        margin-top: 0.25rem;
        display: none;
    }

    .form-group.has-error .field-error { display: block; }
    .form-group.has-error .form-input,
    .form-group.has-error .form-textarea,
    .form-group.has-error .form-select {
        border-color: #cc4444;
    }

    /* ---- RESPONSIVE ---- */

    /* Tablet */
    @media (max-width: 900px) {
        .wizard-container { padding: 0 1rem 1.5rem 1rem; }
        .wizard-progress { padding: 1rem 1rem; margin-bottom: 1.5rem; }
        .content-panel { padding: 1.5rem; }
        .step-header { padding: 2rem 1.5rem; }
        .journey-steps { grid-template-columns: 1fr 1fr; }
        .application-output { padding: 1.5rem; }
    }

    /* Phone */
    @media (max-width: 768px) {
        /* Progress tracker - compact for mobile */
        .wizard-progress {
            padding: 0.75rem 0.5rem;
            margin-bottom: 1rem;
            position: sticky;
            top: 0;
        }
        .phase-label { font-size: 0.5rem; white-space: normal; text-align: center; line-height: 1.2; }
        .phase-dot { width: 24px; height: 24px; font-size: 0.6rem; }
        .progress-phases { gap: 0.1rem; }

        /* Step headers */
        .step-header { padding: 1.5rem 1rem; margin-bottom: 1rem; }
        .step-header::before, .step-header::after { display: none; }
        .step-title { font-size: 1.4rem; letter-spacing: 0.03em; }
        .step-subtitle { font-size: 1rem; }

        /* Content panels */
        .wizard-container { padding: 0 0.5rem 1rem 0.5rem; }
        .content-panel { padding: 1rem; margin-bottom: 1rem; }
        .content-panel h3 { font-size: 1.15rem; }
        .content-panel p { font-size: 0.95rem; }

        /* Question cards */
        .question-card { padding: 1rem; margin-bottom: 1rem; }
        .question-text { font-size: 1rem; }
        .choices-grid { grid-template-columns: 1fr; gap: 0.5rem; }
        .choice-option { padding: 0.85rem 1rem; }
        .choice-option .choice-label { font-size: 0.9rem; }
        .choice-option .choice-desc { font-size: 0.8rem; }

        /* House result cards */
        .house-result-card { flex-direction: column; padding: 1rem; gap: 0.75rem; }
        .house-score-bar { flex-direction: row; width: 100%; min-width: unset; justify-content: flex-start; gap: 0.75rem; }
        .score-circle { width: 42px; height: 42px; font-size: 0.95rem; }
        .house-result-info h4 { font-size: 1rem; }
        .house-result-info .house-why { font-size: 0.9rem; }

        /* Forms */
        .form-input, .form-select, .form-textarea { font-size: 16px; padding: 0.65rem 0.75rem; }
        .form-group label { font-size: 0.9rem; }
        .form-group .label-note { font-size: 0.8rem; }

        /* Navigation buttons */
        .wizard-nav { flex-direction: column; gap: 0.75rem; }
        .btn-wizard { width: 100%; text-align: center; padding: 0.85rem 1.5rem; }

        /* Welcome screen */
        .welcome-splash { padding: 1.5rem 0.5rem; }
        .welcome-splash h2 { font-size: 1.6rem; }
        .welcome-splash p { font-size: 0.95rem; line-height: 1.6; }
        .journey-steps { grid-template-columns: 1fr 1fr; gap: 0.5rem; margin: 1.5rem 0; }
        .journey-step { padding: 1rem 0.5rem; }
        .journey-step .step-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
        .journey-step h4 { font-size: 0.75rem; }
        .journey-step p { font-size: 0.75rem; }
        .btn-begin { font-size: 1rem; padding: 0.85rem 2rem; width: 100%; box-sizing: border-box; }

        /* Review / Application output */
        .application-output { padding: 1rem; }
        .app-label { font-size: 0.75rem; }
        .app-value { font-size: 0.95rem; }
        .app-section { margin-bottom: 1rem; padding-bottom: 1rem; }

        /* Confirmation screen */
        .confirmation-screen { padding: 1.5rem 0.5rem; }
        .confirmation-screen h2 { font-size: 1.4rem; }
        .confirmation-icon { font-size: 3rem; }

        /* Submit button */
        .btn-submit { width: 100%; box-sizing: border-box; font-size: 1rem; padding: 0.85rem 1.5rem; }

        /* Sorting animation */
        .sorting-text { font-size: 1.1rem; padding: 0 1rem; }
        .sorting-sigil { width: 80px; height: 80px; margin-bottom: 1.5rem; }
        .sorting-sigil i { font-size: 2rem; }

        /* House override section */
        .house-override { padding: 1rem; }

        /* Fix inline inputs on welcome screen */
        .content-panel .form-input[style*="max-width"] {
            max-width: 100% !important;
            width: 100% !important;
        }
    }

    /* Small phone */
    @media (max-width: 400px) {
        .step-title { font-size: 1.2rem; }
        .journey-steps { grid-template-columns: 1fr; }
        .phase-label { display: none; }
        .phase-dot { width: 22px; height: 22px; font-size: 0.55rem; }
        .wizard-progress { padding: 0.5rem; }
        .content-panel { padding: 0.75rem; }
        .question-card { padding: 0.75rem; }
    }
