.app-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    min-width: 3rem;
    height: 3rem;
    min-height: 3rem;
    padding: 0;
    border: 0;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 28px rgba(24, 39, 48, 0.12);
    color: #ff715e;
    font: inherit;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .app-back-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 18px 30px rgba(24, 39, 48, 0.16);
    }
}

.app-back-button:focus-visible {
    outline: 2.5px solid #ff715e;
    outline-offset: 3px;
}

.app-back-button:active {
    transform: translateY(0);
    box-shadow: 0 10px 18px rgba(24, 39, 48, 0.12);
}

.app-back-region {
    position: relative;
}

.app-back-strip {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
}

.app-back-strip-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.app-back-copy {
    min-width: 0;
    display: grid;
    gap: 0.14rem;
}

.app-back-kicker {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(26, 39, 48, 0.56);
}

.app-back-title {
    font-size: 1.06rem;
    font-weight: 800;
    line-height: 1.15;
    color: inherit;
}

.app-back-subtitle {
    font-size: 0.8rem;
    line-height: 1.35;
    color: rgba(26, 39, 48, 0.68);
}

.app-back-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.app-back-spacer {
    width: 3rem;
    min-width: 3rem;
    height: 3rem;
}

.app-back-floating {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 4;
}

/* ── Touch optimizations ── */
.app-back-button { touch-action: manipulation; }

@media (max-width: 640px) {
    .app-back-button {
        width: 2.85rem;
        min-width: 2.85rem;
        height: 2.85rem;
        min-height: 2.85rem;
        border-radius: 0.95rem;
        font-size: 1.25rem;
    }

    .app-back-floating {
        top: 0.85rem;
        left: 0.85rem;
    }

    .app-back-strip {
        gap: 0.7rem;
    }

    .app-back-strip-main {
        gap: 0.7rem;
    }

    .app-back-title {
        font-size: 1rem;
    }

    .app-back-subtitle {
        font-size: 0.76rem;
    }

    .app-back-spacer {
        width: 2.85rem;
        min-width: 2.85rem;
        height: 2.85rem;
    }
}
