/* Hackathon three-stage prototype parity. Older modules provide data only. */
body[data-page="app"] :is(
    .prototype-upload-intro,
    .prototype-upload-back-papers,
    .prototype-upload-carousel,
    .prototype-upload-paper-badge,
    .prototype-upload-sample
) {
    display: none;
}

body[data-page="app"] .prototype-upload-crayon span { display: none; }

html[data-hackathon-mode="true"] body[data-page="app"] {
    --journey-berry: #a82f59;
    --journey-deep: #7c2346;
    --journey-green: #075f4d;
    --journey-ink: #12332a;
    --journey-paper: #fffdf4;
    --journey-coral: #f45b50;
    --journey-coral-deep: #c83f36;
    --journey-sun: #ffd84f;
    --journey-blue: #5aa4e8;
    --journey-purple: #8f63d6;
    min-width: 320px;
    color: #fff;
    background: linear-gradient(145deg, #c13b37 0%, var(--journey-berry) 42%, #7741aa 100%);
    font-family: "Arial Rounded MT Bold", ui-rounded, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    letter-spacing: 0;
}

html[data-hackathon-mode="true"],
html[data-hackathon-mode="true"] body[data-page="app"] {
    overflow-x: clip;
}

html[data-hackathon-mode="true"] body[data-page="app"] button,
html[data-hackathon-mode="true"] body[data-page="app"] input,
html[data-hackathon-mode="true"] body[data-page="app"] textarea {
    font: inherit;
    letter-spacing: 0;
}

html[data-hackathon-mode="true"] body[data-page="app"] :is(button, a, input, textarea, summary):focus-visible {
    outline: 4px solid var(--journey-sun);
    outline-offset: 4px;
}

html[data-hackathon-mode="true"] body[data-page="app"] .app-sticky-shell,
html[data-hackathon-mode="true"] body[data-page="app"] .glass-nav {
    display: none !important;
}

html[data-hackathon-mode="true"] body[data-page="app"] .glass-nav {
    min-height: 64px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html[data-hackathon-mode="true"] body[data-page="app"] .glass-nav > .container {
    max-width: 1180px;
    height: 100%;
    padding: 10px 24px;
}

html[data-hackathon-mode="true"] body[data-page="app"] .app-nav-grid { height: 44px; }
html[data-hackathon-mode="true"] body[data-page="app"] :is(.app-brand, .app-brand h1, .upload-first-nav-links a, .result-studio-reset-top) { color: #fff; }
html[data-hackathon-mode="true"] body[data-page="app"] .app-brand h1 { text-shadow: 0 3px 10px rgba(67,14,38,.4); }
html[data-hackathon-mode="true"] body[data-page="app"] .app-brand .logo-icon { color: var(--journey-sun); background: transparent; box-shadow: none; }
html[data-hackathon-mode="true"] body[data-page="app"] :is(.upload-first-nav-links, .result-studio-reset-top) { display: flex; }
html[data-hackathon-mode="true"] body[data-page="app"] :is(.upload-first-nav-links a, .result-studio-reset-top) {
    min-height: 44px;
    align-items: center;
    border: 0;
    background: transparent;
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
}

html[data-hackathon-mode="true"] body[data-page="app"] .result-studio-reset-top,
html[data-hackathon-mode="true"] body[data-page="app"] .upload-first-nav-links a:first-child {
    display: none !important;
}

html[data-hackathon-mode="true"] body[data-page="app"] :is(
    .result-studio-nav-note, .app-nav-tabs, .lang-selector, .nav-sign-in,
    .session-status, .step-indicator-container, .footer
) { display: none !important; }

html[data-hackathon-mode="true"] body[data-page="app"] .main-content {
    min-height: 100dvh;
    padding: 0 !important;
}

html[data-hackathon-mode="true"] body[data-page="app"] .main-content > .container {
    width: 100%;
    max-width: none;
    padding: 0;
}

html[data-hackathon-mode="true"] body[data-page="app"] .step-section {
    margin: 0;
    animation: none !important;
    transform: none !important;
}

html[data-hackathon-mode="true"] body[data-page="app"] :is(#step-upload, #step-processing, #step-result) {
    position: relative;
    isolation: isolate;
    min-height: calc(100dvh - 64px);
    color: #fff;
    background:
        radial-gradient(circle at 5% 18%, rgba(255,255,255,.85) 0 2px, transparent 3px),
        radial-gradient(circle at 12% 72%, rgba(255,255,255,.55) 0 3px, transparent 4px),
        radial-gradient(circle at 72% 14%, rgba(255,255,255,.7) 0 2px, transparent 3px),
        radial-gradient(circle at 91% 62%, rgba(255,255,255,.55) 0 3px, transparent 4px),
        linear-gradient(145deg, #c13b37 0%, var(--journey-berry) 42%, #7741aa 100%);
}

html[data-hackathon-mode="true"] body[data-page="app"] :is(#step-upload, #step-processing, #step-result)::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 24% 12%, rgba(255,255,255,.42) 0 2px, transparent 3px),
        radial-gradient(circle at 82% 84%, rgba(255,255,255,.5) 0 2px, transparent 3px),
        radial-gradient(circle at 43% 88%, rgba(255,216,79,.55) 0 2px, transparent 3px);
    content: "";
    animation: journey-twinkle 3.8s ease-in-out infinite;
}

@keyframes journey-twinkle { 50% { opacity: .35; } }

/* Upload: one centered giant paper, with four local line-art sheets behind it. */
html[data-hackathon-mode="true"] body[data-page="app"] #step-upload {
    height: 100dvh;
    min-height: 600px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    justify-items: center;
    overflow: hidden;
    padding: 26px 24px 24px;
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-intro {
    position: relative;
    z-index: 10;
    display: block;
    padding: 0 16px 14px;
    text-align: center;
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-intro h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1;
    text-shadow: 0 4px 14px rgba(67,14,38,.42);
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-intro p {
    margin: 10px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 15px;
    font-weight: 700;
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-back-papers {
    position: absolute;
    inset: 96px max(0px, calc((100% - 1120px) / 2)) 0;
    z-index: 2;
    display: block;
    pointer-events: none;
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-back-paper {
    position: absolute;
    top: 50%;
    width: clamp(220px, 25vw, 350px);
    aspect-ratio: .83;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    overflow: hidden;
    border: 10px solid rgba(255,253,244,.94);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(66,13,37,.42);
    pointer-events: auto;
    animation: prototype-paper-drift var(--drift-duration) ease-in-out infinite;
    transition: filter 180ms ease, opacity 280ms ease, scale 280ms ease;
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-back-paper img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    backface-visibility: hidden;
    transform: translate3d(0,0,0);
    transition: opacity 280ms cubic-bezier(.22,.72,.22,1),
        transform 280ms cubic-bezier(.22,.72,.22,1);
    will-change: opacity, transform;
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-back-paper img.is-leaving {
    opacity: .18;
    transform: translate3d(var(--sample-exit-x, -10px),0,0) scale(.985);
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-back-paper__incoming {
    opacity: 0;
    transform: translate3d(var(--sample-enter-x, 14px),0,0) scale(.985);
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-back-paper__incoming.is-visible {
    opacity: 1;
    transform: translate3d(0,0,0) scale(1);
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-back-paper span {
    position: absolute;
    inset: auto 10px 10px;
    padding: 7px 9px;
    overflow: hidden;
    border-radius: 10px;
    color: #fff;
    background: rgba(6,38,31,.86);
    font-size: 11px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-back-paper:is(:hover, :focus-visible) { filter: brightness(1.08); }
html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-back-paper--left-far {
    left: -5%; z-index: 1; opacity: .56; scale: .8;
    transform: translateY(-48%) rotate(-11deg); --drift-lift: -7px; --drift-duration: 5.8s;
}
html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-back-paper--left-near {
    left: 5%; z-index: 2; transform: translateY(-48%) rotate(-7deg);
    --drift-lift: -10px; --drift-duration: 5.4s;
}
html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-back-paper--right-near {
    right: 5%; z-index: 2; transform: translateY(-48%) rotate(7deg);
    --drift-lift: -13px; --drift-duration: 4.8s;
}
html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-back-paper--right-far {
    right: -5%; z-index: 1; opacity: .56; scale: .8;
    transform: translateY(-48%) rotate(11deg); --drift-lift: -8px; --drift-duration: 5.6s;
}

@keyframes prototype-paper-drift {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 var(--drift-lift); }
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-carousel {
    position: absolute;
    inset: 96px max(0px, calc((100% - 1180px) / 2)) 0;
    z-index: 8;
    display: block;
    pointer-events: none;
}

html[data-hackathon-mode="true"] body[data-page="app"] :is(
    #prototypeUploadPrevious, #prototypeUploadNext
) {
    position: absolute;
    top: 50%;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 2px solid rgba(255,255,255,.42);
    border-radius: 50%;
    color: #fff;
    background: rgba(69,20,47,.78);
    box-shadow: 0 10px 24px rgba(66,13,37,.25);
    font-size: 28px;
    line-height: 1;
    pointer-events: auto;
    transform: translateY(-50%);
    transition: background 180ms ease, scale 180ms ease;
}

html[data-hackathon-mode="true"] body[data-page="app"] #prototypeUploadPrevious { left: 0; }
html[data-hackathon-mode="true"] body[data-page="app"] #prototypeUploadNext { right: 0; }
html[data-hackathon-mode="true"] body[data-page="app"] :is(
    #prototypeUploadPrevious, #prototypeUploadNext
):is(:hover, :focus-visible) {
    background: rgba(69,20,47,.96);
    scale: 1.05;
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-dots {
    position: absolute;
    left: 50%;
    bottom: 0;
    display: flex;
    transform: translateX(-50%);
    pointer-events: auto;
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-dots button {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-dots button::after {
    width: 7px;
    height: 7px;
    display: block;
    margin: auto;
    border-radius: 50%;
    background: rgba(255,255,255,.44);
    content: "";
    transition: width 180ms ease, background 180ms ease;
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-dots button.is-active::after {
    width: 22px;
    border-radius: 6px;
    background: var(--journey-sun);
}

html[data-hackathon-mode="true"] body[data-page="app"] .upload-first-workspace {
    position: relative;
    z-index: 5;
    width: min(1120px, 100%);
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    gap: 0;
    perspective: 1400px;
    pointer-events: none;
}

html[data-hackathon-mode="true"] body[data-page="app"] .upload-first-action {
    position: relative;
    z-index: 5;
    width: clamp(420px, 42vw, 600px);
    height: min(74vh, 690px);
    min-width: 0;
    min-height: 520px;
    margin: 0;
    padding: 18px;
    overflow: hidden auto;
    border: 0;
    border-radius: 34px;
    color: var(--journey-ink);
    background: var(--journey-paper);
    box-shadow: 0 20px 56px rgba(66,13,37,.55), 0 7px 0 #dccb94;
    transform: rotate(-.7deg);
    animation: prototype-upload-float 4.2s ease-in-out infinite;
    scrollbar-width: thin;
    pointer-events: auto;
}

html[data-hackathon-mode="true"] body[data-page="app"] .upload-first-action::before {
    position: absolute;
    inset: 13px;
    z-index: -1;
    border: 2px dashed #c6c4af;
    border-radius: 23px;
    content: "";
}

html[data-hackathon-mode="true"] body[data-page="app"] .upload-first-action::after {
    display: none;
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-paper-badge {
    position: absolute;
    z-index: 9;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 7px 15px rgba(67,14,38,.22);
    font-size: 25px;
    line-height: 1;
    pointer-events: none;
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-paper-badge--star {
    top: 30px;
    left: 30px;
    background: var(--journey-blue);
    transform: rotate(-12deg);
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-paper-badge--ring {
    top: 32px;
    right: 30px;
    background: var(--journey-sun);
    transform: rotate(10deg);
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-paper-badge--ring::before {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--journey-paper);
    content: "";
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-paper-badge--arrow {
    right: 32px;
    bottom: 31px;
    background: var(--journey-green);
    transform: rotate(-8deg);
}

@keyframes prototype-upload-float {
    0%, 100% { translate: 0 0; rotate: -.7deg; }
    50% { translate: 0 -9px; rotate: .7deg; }
}

html[data-hackathon-mode="true"] body[data-page="app"] :is(
    .hackathon-upload-intro, .upload-first-action > .text-center, .features-grid,
    #uploadFirstPreview, .playful-stage-decor, .upload-floating-icons,
    .living-only, .upload-format-hint, .hackathon-demo-picker
) { display: none !important; }

html[data-hackathon-mode="true"] body[data-page="app"] :is(
    #livingUploadStage, .upload-card-wrapper, .upload-flow-border, #uploadArea
) {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none !important;
}

html[data-hackathon-mode="true"] body[data-page="app"] #livingUploadStage { display: block; }
html[data-hackathon-mode="true"] body[data-page="app"] :is(.upload-card-wrapper, .upload-flow-border, #uploadArea) {
    border: 0;
    border-radius: 23px;
    background: transparent;
    box-shadow: none;
}

html[data-hackathon-mode="true"] body[data-page="app"] #uploadArea {
    position: relative;
    display: grid;
    place-items: center;
    padding: 66px 30px 54px;
    cursor: pointer;
}

html[data-hackathon-mode="true"] body[data-page="app"] #uploadArea.drag-over {
    background: #fff6ca;
    box-shadow: inset 0 0 0 7px rgba(255,216,79,.58);
}

html[data-hackathon-mode="true"] body[data-page="app"] .upload-content {
    width: 100%;
    display: grid;
    justify-items: center;
    text-align: center;
}

html[data-hackathon-mode="true"] body[data-page="app"] .upload-icon-wrapper {
    width: auto;
    height: auto;
    margin: 0 0 17px;
    color: inherit;
    background: transparent;
    box-shadow: none;
    transform: rotate(-12deg);
    display: grid !important;
    place-items: center;
}

html[data-hackathon-mode="true"] body[data-page="app"] .upload-icon-wrapper i { display: none; }
html[data-hackathon-mode="true"] body[data-page="app"] .upload-icon-wrapper::before,
html[data-hackathon-mode="true"] body[data-page="app"] .upload-icon-wrapper::after { display: none; }
html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-crayon span {
    display: block;
    font-size: clamp(84px, 8vw, 122px);
    line-height: .9;
    filter: drop-shadow(0 8px 10px rgba(63,32,25,.22));
}

html[data-hackathon-mode="true"] body[data-page="app"] .upload-title {
    margin: 0;
    color: var(--journey-ink);
    font-size: clamp(29px, 3vw, 42px);
    font-weight: 900;
    line-height: 1.12;
}

html[data-hackathon-mode="true"] body[data-page="app"] .upload-subtitle {
    max-width: 360px;
    margin: 9px 0 0;
    color: #68736f;
    font-size: 13px;
    line-height: 1.45;
}

html[data-hackathon-mode="true"] body[data-page="app"] .upload-subtitle + .upload-subtitle { display: none; }

html[data-hackathon-mode="true"] body[data-page="app"] :is(.upload-btn-primary, .upload-selected-primary) {
    min-width: 190px;
    min-height: 58px;
    margin-top: 22px;
    padding: 0 22px;
    border: 0;
    border-radius: 18px;
    color: #fff;
    background: var(--journey-coral);
    box-shadow: 0 7px 0 var(--journey-coral-deep), 0 13px 22px rgba(200,63,54,.25);
    font-size: 17px;
    font-weight: 900;
}

html[data-hackathon-mode="true"] body[data-page="app"] .upload-btn-primary i { display: none; }
html[data-hackathon-mode="true"] body[data-page="app"] :is(.upload-btn-primary, .upload-selected-primary):active {
    translate: 0 5px;
    box-shadow: 0 2px 0 var(--journey-coral-deep);
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-sample {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    margin-top: 17px;
    padding: 0 10px;
    border: 0;
    color: var(--journey-ink);
    background: transparent;
    font-size: 13px;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 5px;
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-sample:hover {
    color: var(--journey-coral-deep);
}

html[data-hackathon-mode="true"] body[data-page="app"] .upload-safe-hint { display: none; }

html[data-hackathon-mode="true"] body[data-page="app"] .upload-selected-state:not(.hidden) {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: block;
    overflow: hidden;
    border-radius: 23px;
    background: #ecefeb;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
}

html[data-hackathon-mode="true"] body[data-page="app"] .upload-selected-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #e7ece9;
}

html[data-hackathon-mode="true"] body[data-page="app"] .upload-selected-topbar {
    position: absolute;
    top: 14px;
    right: 14px;
    left: 14px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: #fff;
}

html[data-hackathon-mode="true"] body[data-page="app"] :is(.upload-selected-badge, .upload-selected-file) {
    max-width: 60%;
    padding: 7px 10px;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(7,95,77,.88);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html[data-hackathon-mode="true"] body[data-page="app"] .upload-selected-footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 142px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    color: #fff;
    background: rgba(7,95,77,.94);
}

html[data-hackathon-mode="true"] body[data-page="app"] .upload-selected-hint {
    max-width: 240px;
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
}

html[data-hackathon-mode="true"] body[data-page="app"] .upload-selected-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

html[data-hackathon-mode="true"] body[data-page="app"] .upload-selected-secondary {
    min-height: 44px;
    padding: 0 12px;
    border: 2px solid rgba(255,255,255,.55);
    border-radius: 12px;
    color: #fff;
    background: transparent;
    font-size: 11px;
    font-weight: 900;
}

html[data-hackathon-mode="true"] body[data-page="app"] .upload-selected-primary {
    min-width: 130px;
    min-height: 44px;
    margin: 0;
    border-radius: 12px;
    font-size: 11px;
}

html[data-hackathon-mode="true"] body[data-page="app"] .upload-first-action:has(#livingUploadStage[data-state="selected"]) #livingUploadStage {
    height: 100%;
    min-height: 430px;
}

html[data-hackathon-mode="true"] body[data-page="app"] :is(#ageGroupSection, #parentGoalSection) {
    display: none !important;
}

html[data-hackathon-mode="true"] body[data-page="app"] :is(#ageGroupSection .age-group-label, #parentGoalSection legend) {
    margin: 0 0 6px;
    color: var(--journey-ink);
    font-size: 12px;
    font-weight: 900;
}

html[data-hackathon-mode="true"] body[data-page="app"] .age-group-cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
}

html[data-hackathon-mode="true"] body[data-page="app"] :is(.age-group-card, .hackathon-goal-control button) {
    min-height: 44px;
    padding: 6px 7px;
    border: 1px solid #d7d3bd;
    border-radius: 10px;
    color: var(--journey-ink);
    background: rgba(255,255,255,.75);
    font-size: 10px;
}

html[data-hackathon-mode="true"] body[data-page="app"] :is(.age-group-card-subtitle, .age-group-hint, #parentGoalSection > p) { display: none; }
html[data-hackathon-mode="true"] body[data-page="app"] :is(.age-group-card.selected, .hackathon-goal-control button.is-selected) {
    border-color: var(--journey-green);
    color: #fff;
    background: var(--journey-green);
}
html[data-hackathon-mode="true"] body[data-page="app"] .hackathon-goal-control {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

/* Processing: one central artwork, state effects, and the prototype journey rail. */
html[data-hackathon-mode="true"] body[data-page="app"] #step-processing {
    height: calc(100dvh - 64px);
    min-height: 650px;
    overflow: visible;
}

html[data-hackathon-mode="true"] body[data-page="app"] .processing-container {
    height: 100%;
    min-height: 0;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-processing {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: 76px minmax(0, 1fr) 140px;
    padding: 0 24px 20px;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-processing__copy {
    display: grid;
    justify-items: center;
    align-content: start;
    padding-top: 2px;
    text-align: center;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-kicker { display: none; }

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-processing__copy h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.05;
    text-shadow: 0 4px 14px rgba(67,14,38,.42);
}

html[data-hackathon-mode="true"] body[data-page="app"] #playfulProcessingStatus {
    margin: 8px 0 0;
    color: rgba(255,255,255,.8);
    font-size: 12px;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-processing__artwork {
    position: relative;
    width: min(1100px, 100%);
    min-height: 0;
    margin: 0 auto;
    display: grid;
    place-items: center;
}

html[data-hackathon-mode="true"] body[data-page="app"] :is(
    .prototype-processing-notes,
    .prototype-processing-fx
) {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

html[data-hackathon-mode="true"] body[data-page="app"] .hackathon-processing-artwork {
    position: relative;
    z-index: 4;
    width: clamp(330px, 31vw, 430px);
    height: min(86%, 440px);
    min-height: 350px;
    margin: 0;
    padding: 11px 11px 47px;
    border-radius: 27px;
    color: var(--journey-ink);
    background: var(--journey-paper);
    box-shadow: 0 20px 52px rgba(64,14,36,.46), 0 7px 0 #dccb94;
    transform: rotate(-3deg);
    animation: prototype-processing-sway 4.4s ease-in-out infinite;
}

html[data-hackathon-mode="true"] body[data-page="app"] .living-processing-frame {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 17px;
    background: #e7ece9;
}

html[data-hackathon-mode="true"] body[data-page="app"] #hackathonProcessingArtwork {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #e7ece9;
}

html[data-hackathon-mode="true"] body[data-page="app"] .hackathon-processing-artwork figcaption {
    position: absolute;
    right: 20px;
    bottom: 13px;
    color: var(--journey-ink);
    font-size: 12px;
    font-weight: 900;
}

html[data-hackathon-mode="true"] body[data-page="app"] .living-processing-effect { display: none; }

@keyframes prototype-processing-sway {
    0%, 100% { translate: 0 0; rotate: -1deg; }
    50% { translate: -7px -7px; rotate: 1deg; }
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-scan {
    position: absolute;
    z-index: 5;
    top: calc(50% - min(43%, 220px));
    left: 50%;
    width: clamp(300px, 29vw, 406px);
    height: 5px;
    border-radius: 50%;
    background: linear-gradient(90deg, transparent, rgba(255,216,79,.92), transparent);
    box-shadow: 0 0 20px rgba(255,216,79,.85);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%);
}

html[data-hackathon-mode="true"] body[data-page="app"] [data-stage="received"] .prototype-processing-scan {
    opacity: 1;
    animation: prototype-scan 2.5s ease-in-out infinite;
}

@keyframes prototype-scan {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 370px; }
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-orbit {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: min(54vw, 680px);
    aspect-ratio: 1;
    border: 2px dashed rgba(255,216,79,.72);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(.78);
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-orbit::before,
html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-orbit::after {
    position: absolute;
    border-radius: inherit;
    content: "";
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-orbit::before {
    inset: 11%;
    border: 1px solid rgba(255,255,255,.34);
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-orbit::after {
    inset: 26%;
    border: 1px solid rgba(104,172,235,.64);
}

html[data-hackathon-mode="true"] body[data-page="app"] [data-stage="seeing"] .prototype-processing-orbit {
    opacity: 1;
    animation: prototype-orbit 4.2s linear infinite;
}

@keyframes prototype-orbit {
    from { transform: translate(-50%, -50%) rotate(0deg) scale(.78); }
    50% { transform: translate(-50%, -50%) rotate(180deg) scale(1); }
    to { transform: translate(-50%, -50%) rotate(360deg) scale(.78); }
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-note {
    position: absolute;
    z-index: 3;
    width: clamp(142px, 15vw, 170px);
    min-height: 76px;
    padding: 12px 14px;
    border-radius: 18px;
    color: var(--journey-ink);
    background: var(--journey-paper);
    box-shadow: 0 13px 30px rgba(64,14,36,.3), 0 5px 0 rgba(220,203,148,.8);
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px) scale(.86) rotate(var(--note-angle));
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-note b {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-note b > span:first-child {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: #fff;
    background: var(--journey-coral);
    font-size: 11px;
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-note p {
    margin: 8px 0 0;
    color: #63706a;
    font-size: 10px;
    line-height: 1.45;
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-note--one { top: 5%; left: 12%; --note-angle: -5deg; }
html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-note--two { top: 38%; right: 12%; --note-angle: 5deg; }
html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-note--three { bottom: 5%; left: 12%; --note-angle: 3deg; }

html[data-hackathon-mode="true"] body[data-page="app"] [data-stage="scored"] .prototype-processing-note.has-content {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(var(--note-angle));
    transition: opacity .36s ease, transform .46s cubic-bezier(.2,1.4,.5,1);
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-score-burst {
    position: absolute;
    z-index: 8;
    top: 50%;
    left: max(6px, calc(50% - 535px));
    width: 150px;
    height: 150px;
    display: grid;
    place-items: center;
    border: 8px solid var(--journey-paper);
    border-radius: 50%;
    color: #fff;
    background: rgba(7,95,77,.94);
    box-shadow: 0 20px 44px rgba(26,17,22,.4), inset 0 0 0 3px rgba(255,216,79,.75);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) rotate(-8deg) scale(.35);
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-score-burst strong {
    font-size: 48px;
    line-height: .9;
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-score-burst small {
    display: block;
    margin-top: 5px;
    font-size: 10px;
}

html[data-hackathon-mode="true"] body[data-page="app"] [data-stage="scored"] .prototype-processing-score-burst {
    opacity: 1;
    transform: translateY(-50%) rotate(3deg) scale(1);
    transition: opacity .25s ease, transform .62s cubic-bezier(.2,1.5,.5,1);
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-score-chip {
    position: absolute;
    min-width: 70px;
    padding: 7px 9px;
    border: 3px solid #fff;
    border-radius: 12px;
    color: var(--journey-ink);
    background: var(--journey-sun);
    box-shadow: 0 6px 13px rgba(31,16,24,.24);
    font-size: 9px;
    font-style: normal;
    font-weight: 900;
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-score-chip--one { top: -32px; left: 51px; }
html[data-hackathon-mode="true"] body[data-page="app"] .prototype-score-chip--two { top: 18px; right: -63px; background: #eef8ff; }
html[data-hackathon-mode="true"] body[data-page="app"] .prototype-score-chip--three { right: -54px; bottom: 3px; background: #f4edff; }
html[data-hackathon-mode="true"] body[data-page="app"] .prototype-score-chip--four { bottom: -36px; left: 52px; background: #ffe6df; }
html[data-hackathon-mode="true"] body[data-page="app"] .prototype-score-chip--five { bottom: 5px; left: -61px; background: #e6f7ef; }

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-story-paper {
    position: absolute;
    z-index: 8;
    top: 50%;
    right: max(6px, calc(50% - 535px));
    width: clamp(250px, 22vw, 300px);
    min-height: 150px;
    padding: 31px 25px 20px;
    border-radius: 12px 12px 30px 12px;
    color: var(--journey-ink);
    background: var(--journey-paper);
    box-shadow: 0 18px 42px rgba(31,16,24,.38), 0 7px 0 #dccb94;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) rotate(-2deg) scale(.3,.08);
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-story-paper::before {
    position: absolute;
    top: -11px;
    left: 36px;
    width: 70px;
    height: 22px;
    background: rgba(104,172,235,.78);
    content: "";
    transform: rotate(-4deg);
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-story-paper small {
    color: var(--journey-coral);
    font-size: 9px;
    font-weight: 900;
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-story-paper strong {
    display: block;
    margin-top: 7px;
    font-family: "Songti SC", "STSong", serif;
    font-size: 20px;
}

html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-story-paper p {
    margin: 8px 0 0;
    color: #5e6964;
    font-family: "Songti SC", "STSong", serif;
    font-size: 12px;
    line-height: 1.55;
}

html[data-hackathon-mode="true"] body[data-page="app"] [data-stage="ready"] .hackathon-processing-artwork {
    translate: 0 0;
    scale: 1;
}

html[data-hackathon-mode="true"] body[data-page="app"] [data-stage="ready"] .prototype-processing-story-paper {
    opacity: 1;
    translate: 0 0;
    transform: translateY(-50%) rotate(2deg) scale(1);
    transition: opacity .55s ease, transform .72s cubic-bezier(.2,1.25,.5,1), translate .72s ease;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-processing__stages {
    position: relative;
    align-self: end;
    width: min(930px, 86%);
    height: 126px;
    margin: 0 auto;
    padding: 17px 24px 13px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    border-radius: 26px;
    color: var(--journey-ink);
    background: rgba(255,253,244,.97);
    box-shadow: 0 12px 0 rgba(90,24,53,.28), 0 22px 42px rgba(64,14,36,.24);
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-processing__stages::before,
html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-processing__stages::after {
    position: absolute;
    top: 34px;
    left: 92px;
    height: 5px;
    border-radius: 4px;
    content: "";
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-processing__stages::before {
    right: 92px;
    background: #dedac7;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-processing__stages::after {
    width: var(--journey-progress, 0%);
    max-width: calc(100% - 184px);
    background: var(--journey-coral);
    transition: width .55s ease;
}

html[data-hackathon-mode="true"] body[data-page="app"] [data-stage="seeing"] .playful-journey-processing__stages { --journey-progress: calc((100% - 184px) / 3); }
html[data-hackathon-mode="true"] body[data-page="app"] [data-stage="scored"] .playful-journey-processing__stages { --journey-progress: calc((100% - 184px) * 2 / 3); }
html[data-hackathon-mode="true"] body[data-page="app"] [data-stage="ready"] .playful-journey-processing__stages { --journey-progress: calc(100% - 184px); }

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-processing__stages li {
    position: relative;
    z-index: 2;
    min-width: 0;
    display: grid;
    justify-items: center;
    align-content: start;
    color: #89918d;
    text-align: center;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-processing__stages li > span {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    margin: 0 0 7px;
    border: 4px solid #dedac7;
    border-radius: 50%;
    color: inherit;
    background: var(--journey-paper);
    font-size: 10px;
    font-weight: 900;
    transition: border-color .3s ease, color .3s ease, background .3s ease, scale .3s ease;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-processing__stages li strong {
    color: inherit;
    font-size: 11px;
    line-height: 1.15;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-processing__stages li small {
    max-width: 150px;
    margin-top: 4px;
    color: #89918d;
    font-size: 9px;
    line-height: 1.2;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-processing__stages li:is(.is-active, .is-complete) { color: var(--journey-ink); }
html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-processing__stages li.is-active > span {
    position: relative;
    border-color: var(--journey-sun);
    background: var(--journey-sun);
    scale: 1.16;
}
html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-processing__stages li.is-active > span::after {
    position: absolute;
    inset: -9px;
    border: 2px solid rgba(244,91,80,.52);
    border-radius: 50%;
    content: "";
    animation: prototype-step-wave 1.15s ease-out infinite;
}
html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-processing__stages li.is-complete > span {
    border-color: var(--journey-coral);
    color: #fff;
    background: var(--journey-coral);
}

@keyframes prototype-step-wave {
    to { opacity: 0; scale: 1.65; }
}

html[data-hackathon-mode="true"] body[data-page="app"] :is(.processing-bg, .processing-content, .hackathon-ai-disclosure--processing) {
    display: none !important;
}

html[data-hackathon-mode="true"] body[data-page="app"] #recoverableErrorActions:not(.hidden) {
    position: absolute;
    z-index: 20;
    right: 24px;
    bottom: 164px;
    width: min(360px, calc(100% - 48px));
    padding: 16px;
    border-radius: 18px;
    color: var(--journey-ink);
    background: var(--journey-paper);
    box-shadow: 0 14px 34px rgba(64,14,36,.35);
}

/* Result: two physical papers above three distinct discovery toys. */
html[data-hackathon-mode="true"] body[data-page="app"] #step-result {
    min-height: calc(100dvh - 64px);
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-result {
    position: relative;
    z-index: 4;
    width: 100%;
    height: calc(100dvh - 64px);
    min-height: 660px;
    display: grid;
    grid-template-rows: 50px minmax(0, 55%) minmax(0, 45%);
    padding: 0 24px 24px;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-result__header {
    position: relative;
    width: min(1180px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-result__header:not(.result-bridge-topbar) > div:first-child {
    position: absolute;
    left: 50%;
    width: min(620px, calc(100% - 380px));
    text-align: center;
    transform: translateX(-50%);
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-result__header h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(22px, 2.3vw, 34px);
    line-height: 1;
    text-shadow: 0 4px 14px rgba(67,14,38,.42);
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-result__summary {
    min-width: 184px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0 8px;
}

html[data-hackathon-mode="true"] body[data-page="app"] #playfulJourneyScore {
    grid-row: 1 / span 2;
    color: #fff;
    font-size: 27px;
    font-weight: 900;
    line-height: 1;
}

html[data-hackathon-mode="true"] body[data-page="app"] #playfulJourneyScoreLabel {
    color: rgba(255,255,255,.72);
    font-size: 9px;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-result__summary button {
    min-height: 44px;
    padding: 0;
    border: 0;
    color: rgba(255,255,255,.82);
    background: transparent;
    font-size: 11px;
    font-weight: 900;
    text-align: left;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-art-garden {
    position: relative;
    width: min(920px, 100%);
    min-height: 0;
    margin-inline: auto;
    padding-top: 34px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(24px, 3vw, 40px);
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-art-garden::before {
    position: absolute;
    top: 0;
    left: 50%;
    color: rgba(255,255,255,.78);
    content: "原作一直在这里，AI 参考只是另一种想象";
    font-size: 11px;
    transform: translateX(-50%);
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-paper {
    position: relative;
    width: 100%;
    height: clamp(280px, 39vh, 370px);
    min-height: 270px;
    margin: 0;
    padding: 11px 11px 47px;
    overflow: visible;
    border: 0;
    border-radius: 27px;
    color: var(--journey-ink);
    background: var(--journey-paper);
    box-shadow: 0 20px 52px rgba(64,14,36,.46), 0 7px 0 #dccb94;
    box-shadow: 0 18px 38px rgba(64,14,36,.32), 0 7px 0 #dccb94;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-paper--original {
    left: auto;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-paper--enhanced {
    right: auto;
}

@keyframes prototype-result-sway-left {
    0%, 100% { translate: 0 0; rotate: -1deg; }
    50% { translate: -8px -8px; rotate: 1.2deg; }
}

@keyframes prototype-result-sway-right {
    0%, 100% { translate: 0 -2px; rotate: .5deg; }
    50% { translate: 9px -11px; rotate: -1.2deg; }
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-paper__media {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
    border-radius: 17px;
    background: #e7ece9;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-paper__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #e7ece9;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-paper__label {
    position: absolute;
    right: 20px;
    bottom: 13px;
    font-size: 13px;
    font-weight: 900;
}

html[data-hackathon-mode="true"] body[data-page="app"] :is(.playful-journey-paper--original, .playful-journey-paper--enhanced)::after {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 8;
    padding: 6px 9px;
    border-radius: 9px;
    color: #fff;
    background: rgba(7,95,77,.88);
    font-size: 10px;
    font-weight: 900;
}
html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-paper--original::after { content: "孩子原作"; }
html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-paper--enhanced::after { content: "AI 参考"; }

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-paper__status {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    padding: 30px;
    color: #65706b;
    background: #eef0eb;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-paper__media > img[hidden],
html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-paper__status[hidden] {
    display: none !important;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-paper-connector {
    position: absolute;
    z-index: 7;
    top: 48%;
    left: 50%;
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border: 6px solid var(--journey-paper);
    border-radius: 50%;
    color: var(--journey-ink);
    background: var(--journey-sun);
    box-shadow: 0 10px 22px rgba(64,14,36,.34);
    font-size: 27px;
    font-weight: 900;
    transform: translate(-50%, -50%) rotate(-4deg);
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-markers {
    position: absolute;
    inset: 0;
    z-index: 7;
    pointer-events: none;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-markers button {
    position: absolute;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 7px solid transparent;
    border-radius: 50%;
    color: #fff;
    background: var(--journey-coral) padding-box;
    box-shadow: 0 5px 12px rgba(38,22,28,.34);
    font-size: 12px;
    font-weight: 900;
    pointer-events: auto;
    transform: translate(-50%, -50%);
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-markers button.is-selected {
    background: var(--journey-green) padding-box;
    scale: 1.12;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-cards {
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-top: 7px;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-card {
    position: relative;
    min-width: 0;
    min-height: 0;
    padding: 18px 20px;
    overflow: hidden;
    border: 0;
    border-radius: 28px;
    color: var(--journey-ink);
    box-shadow: 0 10px 0 rgba(90,24,53,.32), 0 18px 32px rgba(64,14,36,.23);
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-card::after {
    position: absolute;
    top: 16px;
    right: 18px;
    color: #d8d2ba;
    font-size: 13px;
    font-weight: 900;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-card--see { background: #eef8ff; }
html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-card--see::after { content: "01"; }
html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-card--story { background: #fff6c9; }
html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-card--story::after { content: "02"; }
html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-card--talk { background: #f4edff; }
html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-card--talk::after { content: "03"; }

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-card__number {
    margin: 0 0 4px;
    color: var(--journey-coral);
    font-size: 10px;
    font-weight: 900;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-card h2 {
    position: relative;
    z-index: 2;
    margin: 0 0 10px;
    color: var(--journey-ink);
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-card--see::before {
    position: absolute;
    right: -18px;
    bottom: -34px;
    width: 134px;
    height: 134px;
    border: 16px solid var(--journey-blue);
    border-radius: 50%;
    background: rgba(255,255,255,.68);
    opacity: .18;
    content: "";
    transform: rotate(-13deg);
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-evidence-list {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-evidence-list button {
    width: 100%;
    min-height: 53px;
    display: grid;
    grid-template-columns: 31px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 7px 10px 7px 7px;
    border: 1px solid rgba(90,164,232,.28);
    border-radius: 13px;
    color: var(--journey-ink);
    background: rgba(255,255,255,.72);
    text-align: left;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-evidence-list button > span:first-child {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--journey-blue);
    font-size: 11px;
    font-weight: 900;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-evidence-list button strong { display: block; font-size: 12px; }
html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-evidence-list button small {
    display: block;
    margin-top: 2px;
    overflow: hidden;
    color: #61716b;
    font-size: 10px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-evidence-list button.is-selected {
    border-color: var(--journey-green);
    background: #fff;
    box-shadow: inset 4px 0 0 var(--journey-green);
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-empty {
    color: #61716b;
    font-size: 11px;
    line-height: 1.45;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-story-slot {
    position: relative;
    z-index: 2;
    max-height: 155px;
    overflow: hidden auto;
    padding: 9px 12px;
    border-radius: 8px 8px 22px 8px;
    color: var(--journey-ink);
    background: #fff;
    box-shadow: 0 7px 0 #e7d991;
    transform: none;
    rotate: none;
    scrollbar-width: thin;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-story-slot::before {
    position: absolute;
    top: -5px;
    left: 24px;
    width: 54px;
    height: 16px;
    background: rgba(104,172,235,.68);
    content: "";
    transform: rotate(-3deg);
}

html[data-hackathon-mode="true"] body[data-page="app"] #enhancedStoryRegion {
    min-height: 0;
    display: block;
    padding: 0;
    border: 0;
    color: var(--journey-ink);
    background: transparent;
    box-shadow: none;
    transform: none;
    rotate: none;
}

html[data-hackathon-mode="true"] body[data-page="app"] #enhancedStoryRegion .enhanced-story-copy {
    display: grid;
    gap: 6px;
    padding-top: 8px;
}

html[data-hackathon-mode="true"] body[data-page="app"] :is(
    #enhancedStoryRegion .hackathon-eyebrow, #enhancedStoryRegion .enhanced-story-copy h2,
    #enhancedStoryIntro, #enhancedStoryAgeContext, #enhancedStoryMedia, #enhancedStoryReadNote,
    #storyReturnArtwork, #storyActRegion, #storyChatRegion
) { display: none !important; }

html[data-hackathon-mode="true"] body[data-page="app"] #enhancedStoryStatus {
    margin: 0;
    color: #66716b;
    font-size: 11px;
    line-height: 1.4;
}

html[data-hackathon-mode="true"] body[data-page="app"] :is(#enhancedStoryAction, #enhancedStoryShowAll) {
    min-height: 44px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: var(--journey-green);
    font-size: 11px;
    font-weight: 900;
}

html[data-hackathon-mode="true"] body[data-page="app"] #enhancedStoryContent { padding-top: 5px; }
html[data-hackathon-mode="true"] body[data-page="app"] #enhancedStoryGeneratedTitle {
    margin: 0 0 6px;
    font-family: "Songti SC", "STSong", serif;
    font-size: 16px;
}

html[data-hackathon-mode="true"] body[data-page="app"] #enhancedStoryViewport {
    height: 94px;
    overflow: auto;
    border: 0;
    outline-offset: 2px;
    scrollbar-width: thin;
    transform: none;
    rotate: none;
}

html[data-hackathon-mode="true"] body[data-page="app"] :is(
    #enhancedStoryContent, #enhancedStoryGeneratedTitle, #enhancedStoryBody
) {
    transform: none;
    rotate: none;
}

html[data-hackathon-mode="true"] body[data-page="app"] #enhancedStoryBody {
    color: #5f655e;
    font-family: "Songti SC", "STSong", serif;
    font-size: 12px;
    line-height: 1.55;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-story-direction {
    position: relative;
    z-index: 3;
    margin-top: 10px;
}

html[data-hackathon-mode="true"] body[data-page="app"] :is(.playful-story-direction label, .playful-story-direction > small) { display: none; }
html[data-hackathon-mode="true"] body[data-page="app"] .playful-story-direction > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
}

html[data-hackathon-mode="true"] body[data-page="app"] #playfulStoryDirection {
    min-width: 0;
    height: 44px;
    padding: 0 11px;
    border: 2px solid #e4d381;
    border-radius: 11px;
    color: var(--journey-ink);
    background: rgba(255,255,255,.88);
    font-size: 11px;
}

html[data-hackathon-mode="true"] body[data-page="app"] #playfulStoryDirectionSubmit {
    min-width: 82px;
    min-height: 44px;
    padding: 0 10px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: var(--journey-green);
    font-size: 11px;
    font-weight: 900;
}

html[data-hackathon-mode="true"] body[data-page="app"] #playfulStoryDirectionStatus {
    margin: 5px 0 0;
    color: #666e68;
    font-size: 10px;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-card--talk::before {
    position: absolute;
    right: -34px;
    bottom: -26px;
    width: 150px;
    height: 100px;
    border-radius: 50%;
    background: rgba(143,99,214,.12);
    content: "";
    transform: rotate(-11deg);
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-question {
    position: relative;
    z-index: 2;
    max-width: 82%;
    margin: 22px 0 0;
    padding: 13px 15px;
    border-radius: 18px 18px 18px 5px;
    color: #fff;
    background: var(--journey-purple);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

html[data-hackathon-mode="true"] body[data-page="app"] #playfulJourneyQuestionNext {
    position: relative;
    z-index: 2;
    min-height: 44px;
    margin-top: 10px;
    padding: 0 13px;
    border: 0;
    border-radius: 11px;
    color: var(--journey-ink);
    background: var(--journey-sun);
    font-size: 11px;
    font-weight: 900;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-card--talk > small {
    position: relative;
    z-index: 2;
    display: block;
    margin-top: 9px;
    color: #65706b;
    font-size: 10px;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-details {
    position: absolute;
    right: 24px;
    bottom: 12px;
    z-index: 12;
    color: var(--journey-ink);
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-details > summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 11px;
    color: var(--journey-ink);
    background: rgba(255,253,244,.94);
    font-size: 10px;
    font-weight: 900;
    cursor: pointer;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-details[open] {
    top: 60px;
    bottom: 24px;
    width: min(520px, calc(100% - 48px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 14px;
    border-radius: 18px;
    color: #17372f;
    background: var(--journey-paper);
    box-shadow: 0 18px 44px rgba(64,14,36,.42);
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-details__body {
    min-width: 0;
    min-height: 0;
    flex: 1 1 auto;
    margin-top: 10px;
    overflow-y: auto;
    overflow-x: clip;
    overscroll-behavior: contain;
    touch-action: pan-y;
    scrollbar-width: thin;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-details :is(
    .detail-scores-section, .detail-scores-list, .detail-score-item,
    .detail-score-summary, .detail-score-label, .detail-score-value,
    .detail-score-explainability, .detail-score-explainability-title,
    .detail-score-explainability-text, .detail-score-age-reference-range,
    .detail-score-explainability-empty
) {
    color: #17372f;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-details .detail-scores-section {
    margin: 0;
    padding: 12px;
    border: 1px solid rgba(23,55,47,.14);
    border-radius: 14px;
    background: #fffdf4;
    box-shadow: none;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-details .detail-scores-section > .section-title {
    display: none;
}

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-details .detail-score-summary {
    min-height: 52px;
}

html[data-hackathon-mode="true"] body[data-page="app"] :is(
    .hackathon-result-primary, #playfulResultStage, .result-first-screen,
    .result-actions, .hackathon-ai-disclosure--result
) { display: none !important; }

html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-result.is-unscorable .playful-journey-result__summary {
    min-width: 150px;
}

@media (max-width: 900px) {
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-orbit {
        width: min(72vw, 560px);
    }
    html[data-hackathon-mode="true"] body[data-page="app"] #step-processing {
        height: auto;
        min-height: calc(100dvh - 64px);
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .processing-container { height: auto; }
    html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-processing {
        min-height: calc(100dvh - 64px);
        grid-template-rows: 76px minmax(550px, 1fr) 140px;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-processing__artwork {
        min-height: 550px;
        align-items: start;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .hackathon-processing-artwork {
        width: min(72vw, 360px);
        height: 340px;
        min-height: 340px;
        align-self: start;
        margin-top: 8px;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-note {
        top: 350px;
        bottom: auto;
        width: min(30%, 132px);
        min-height: 60px;
        padding: 8px;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-note p,
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-score-chip { display: none; }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-note--one { left: 0; }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-note--two {
        right: auto;
        left: 50%;
        transform: translateX(-50%) rotate(var(--note-angle));
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-note--three {
        right: 0;
        left: auto;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] [data-stage="scored"] .prototype-processing-note--two.has-content {
        transform: translateX(-50%) rotate(var(--note-angle));
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-score-burst {
        top: 430px;
        left: 50%;
        width: 118px;
        height: 118px;
        transform: translateX(-50%) rotate(-8deg) scale(.35);
    }
    html[data-hackathon-mode="true"] body[data-page="app"] [data-stage="scored"] .prototype-processing-score-burst {
        transform: translateX(-50%) rotate(3deg) scale(1);
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-score-burst strong { font-size: 36px; }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-story-paper {
        top: 404px;
        right: auto;
        left: 50%;
        width: min(76vw, 360px);
        min-height: 126px;
        transform: translateX(-50%) rotate(-2deg) scale(.3,.08);
    }
    html[data-hackathon-mode="true"] body[data-page="app"] [data-stage="ready"] .hackathon-processing-artwork {
        translate: 0 0;
        scale: 1;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] [data-stage="ready"] .prototype-processing-story-paper {
        translate: 0 0;
        transform: translateX(-50%) rotate(2deg) scale(1);
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-back-papers { inset-inline: 0; }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-back-paper { width: min(45vw, 280px); }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-back-paper--left-far { left: -18%; }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-back-paper--left-near { left: -10%; }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-back-paper--right-near { right: -10%; }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-back-paper--right-far { right: -18%; }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-carousel { inset-inline: 0; }
}

@media (max-width: 680px) {
    html[data-hackathon-mode="true"] body[data-page="app"] :is(.app-sticky-shell, .glass-nav) {
        height: 58px;
        min-height: 58px;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .glass-nav > .container { padding-inline: 14px; }
    html[data-hackathon-mode="true"] body[data-page="app"] :is(#step-upload, #step-processing, #step-result, .main-content) {
        min-height: 100dvh;
    }

    html[data-hackathon-mode="true"] body[data-page="app"] #step-upload {
        height: 100dvh;
        min-height: 560px;
        padding: 14px 10px 12px;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-intro { padding: 0 10px 9px; }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-intro h1 { font-size: clamp(25px, 8vw, 34px); }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-intro p {
        max-width: 310px;
        margin-inline: auto;
        font-size: 11px;
        line-height: 1.35;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-back-papers { inset: 74px 0 0; }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-back-paper {
        top: 52%;
        width: 47vw;
        border-width: 7px;
        border-radius: 22px;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-back-paper--left-far { left: -30%; }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-back-paper--left-near { left: -24%; }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-back-paper--right-near { right: -24%; }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-back-paper--right-far { right: -30%; }
    html[data-hackathon-mode="true"] body[data-page="app"] :is(#prototypeUploadPrevious, #prototypeUploadNext) {
        top: 52%;
        width: 46px;
        height: 46px;
        font-size: 22px;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] #prototypeUploadPrevious { left: -4px; }
    html[data-hackathon-mode="true"] body[data-page="app"] #prototypeUploadNext { right: -4px; }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-dots { bottom: -2px; }
    html[data-hackathon-mode="true"] body[data-page="app"] .upload-first-action {
        width: min(88vw, 520px);
        height: min(72vh, 610px);
        min-height: 430px;
        padding: 13px;
        border-radius: 28px;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .upload-first-action::before { inset: 10px; border-radius: 20px; }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-paper-badge {
        width: 44px;
        height: 44px;
        font-size: 21px;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-paper-badge--star { top: 20px; left: 20px; }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-paper-badge--ring { top: 21px; right: 20px; }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-paper-badge--ring::before { width: 18px; height: 18px; }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-paper-badge--arrow { right: 21px; bottom: 20px; }
    html[data-hackathon-mode="true"] body[data-page="app"] #uploadArea { padding: 54px 17px 45px; }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-crayon span { font-size: clamp(68px, 24vw, 96px); }
    html[data-hackathon-mode="true"] body[data-page="app"] .upload-title { font-size: clamp(26px, 8.3vw, 36px); }
    html[data-hackathon-mode="true"] body[data-page="app"] .upload-subtitle { margin-top: 7px; font-size: 12px; }
    html[data-hackathon-mode="true"] body[data-page="app"] :is(.upload-btn-primary, .upload-selected-primary) {
        min-height: 54px;
        margin-top: 17px;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-sample { margin-top: 12px; }
    html[data-hackathon-mode="true"] body[data-page="app"] .upload-selected-footer {
        min-height: 156px;
        display: grid;
        padding: 15px;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .upload-selected-hint { max-width: none; font-size: 11px; }
    html[data-hackathon-mode="true"] body[data-page="app"] .upload-selected-actions { width: 100%; }
    html[data-hackathon-mode="true"] body[data-page="app"] .upload-selected-actions > button { flex: 1; }
    html[data-hackathon-mode="true"] body[data-page="app"] .age-group-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    html[data-hackathon-mode="true"] body[data-page="app"] #step-processing {
        height: auto;
        min-height: max(780px, calc(100dvh - 58px));
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-processing {
        min-height: max(780px, calc(100dvh - 58px));
        grid-template-rows: 82px minmax(550px, 1fr) 132px;
        padding: 0 10px 13px;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-processing__copy h1 {
        max-width: 340px;
        font-size: 26px;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .hackathon-processing-artwork {
        width: min(82vw, 330px);
        height: 320px;
        min-height: 320px;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-orbit {
        width: min(125vw, 500px);
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-note {
        width: min(30%, 106px);
        min-height: 60px;
        padding: 8px;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-note p { display: none; }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-note--one { top: 350px; left: 0; }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-note--two { top: 350px; right: auto; left: 50%; }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-note--three { top: 350px; right: 0; bottom: auto; left: auto; }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-score-burst { top: 430px; width: 118px; height: 118px; }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-processing-story-paper {
        top: 404px;
        width: min(86vw, 330px);
        min-height: 126px;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] [data-stage="ready"] .hackathon-processing-artwork {
        translate: 0 0;
        scale: 1;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] [data-stage="ready"] .prototype-processing-story-paper { translate: 0 0; }
    html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-processing__stages {
        width: 100%;
        height: 118px;
        padding: 15px 8px 10px;
        border-radius: 20px;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-processing__stages::before,
    html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-processing__stages::after { right: 50px; left: 50px; }
    html[data-hackathon-mode="true"] body[data-page="app"] [data-stage="seeing"] .playful-journey-processing__stages { --journey-progress: calc((100% - 100px) / 3); }
    html[data-hackathon-mode="true"] body[data-page="app"] [data-stage="scored"] .playful-journey-processing__stages { --journey-progress: calc((100% - 100px) * 2 / 3); }
    html[data-hackathon-mode="true"] body[data-page="app"] [data-stage="ready"] .playful-journey-processing__stages { --journey-progress: calc(100% - 100px); }
    html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-processing__stages li strong { font-size: 9px; }
    html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-processing__stages li small { display: none; }

    html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-result {
        z-index: 50;
        height: auto;
        min-height: calc(100dvh - 58px);
        display: block;
        padding: 0 12px 28px;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-result__header {
        min-height: 68px;
        justify-content: center;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-result__header:not(.result-bridge-topbar) > div:first-child {
        width: min(340px, 100%);
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-result__header h1 {
        max-width: none;
        font-size: clamp(20px, 5.8vw, 23px);
        line-height: 1.08;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-result__header:not(.result-bridge-topbar) .playful-journey-result__summary {
        position: absolute;
        top: -54px;
        right: 0;
        min-width: 118px;
        height: 52px;
        z-index: 2;
    }
    html[data-hackathon-mode="true"][data-playful-stage="result"] body[data-page="app"] .upload-first-nav-links {
        display: none !important;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-art-garden {
        width: min(100%, 340px);
        height: auto;
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 32px;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-art-garden::before {
        top: 3px;
        width: max-content;
        max-width: 82%;
        overflow: hidden;
        font-size: 9px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-paper {
        top: auto;
        width: 100%;
        height: 310px;
        min-height: 0;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-cards {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-top: 12px;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-card { min-height: 255px; }
    html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-story-slot { max-height: 220px; }
    html[data-hackathon-mode="true"] body[data-page="app"] #enhancedStoryViewport { height: 144px; }
    html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-details {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 18px;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-details[open] {
        top: auto;
        bottom: auto;
        width: 100%;
        max-height: 70vh;
    }
}

@media (max-width: 680px) and (max-height: 640px) {
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-intro p { display: none; }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-back-papers,
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-carousel { top: 54px; }
    html[data-hackathon-mode="true"] body[data-page="app"] .upload-first-action {
        height: calc(100dvh - 92px);
        min-height: 430px;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .prototype-upload-crayon span { font-size: 68px; }
}

@media (max-height: 760px) and (min-width: 681px) {
    html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-paper { min-height: 270px; }
    html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-card {
        padding: 14px 16px;
        border-radius: 23px;
    }
    html[data-hackathon-mode="true"] body[data-page="app"] .playful-journey-processing {
        grid-template-rows: 68px minmax(0, 1fr) 132px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html[data-hackathon-mode="true"] body[data-page="app"] *,
    html[data-hackathon-mode="true"] body[data-page="app"] *::before,
    html[data-hackathon-mode="true"] body[data-page="app"] *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition-duration: .01ms !important;
    }
}

html[data-hackathon-mode="true"] body[data-page="app"][data-journey-paused="true"] :is(
    .hackathon-processing-artwork, .prototype-processing-scan,
    .prototype-processing-orbit, .playful-journey-paper
) {
    animation-play-state: paused !important;
}
