@font-face {
    font-family: "VT323";
    src: url("assets/fonts/VT323-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* VT323 is included under the SIL Open Font License 1.1.
   See licenses/VT323-OFL.txt for attribution and license text. */

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --cover-blue: #74aee1;
    --cover-blue-soft: #b8d4ee;
    --white: #ffffff;
    --ink: #111111;
    --panel: rgba(255, 255, 255, 0.92);
    --line: rgba(17, 17, 17, 0.16);
    --shadow: rgba(10, 24, 40, 0.12);
    --ui-font: "VT323", monospace;
    --body-font: "VT323", monospace;
    --hud-message-top: 52px;
    --hud-message-top-bumped: 68px;
    --hud-message-width: min(calc(100% - 20px), 420px);
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: var(--cover-blue);
    color: var(--ink);
    font-family: var(--body-font);
}

body {
    display: flex;
    justify-content: center;
    padding: 14px;
}

.page-shell {
    width: min(100%, 1200px);
    display: grid;
    gap: 14px;
}


.browser-gate {
    width: min(100%, 760px);
    min-height: calc(100vh - 28px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.browser-gate-card {
    width: min(100%, 540px);
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 40px rgba(10, 24, 40, 0.16);
    text-align: center;
}

.browser-gate-card h1 {
    margin: 0 0 12px;
    font-family: var(--ui-font);
    font-size: clamp(2rem, 2vw + 1.1rem, 2.8rem);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.browser-gate-card p {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.25;
}

.browser-gate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel);
    color: var(--ink);
    box-shadow: 0 8px 20px var(--shadow);
    font-family: var(--ui-font);
    font-size: 1.08rem;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.browser-gate-btn:hover {
    transform: translateY(-1px);
}

body.safari-gated {
    align-items: stretch;
}

.page-header {
    text-align: center;
    font-family: var(--ui-font);
}

.page-header h1 {
    margin: 0;
    font-size: clamp(2rem, 2vw + 1.2rem, 3rem);
    font-weight: 400;
    letter-spacing: 0.03em;
}

.page-subtitle {
    margin: 6px 0 0;
    color: rgba(17, 17, 17, 0.66);
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.experience-shell {
    display: flex;
    justify-content: center;
}

.phone-stage {
    position: relative;
    width: min(100%, 600px);
    aspect-ratio: 1152 / 2048;
    transition: width 0.45s ease, transform 0.45s ease, filter 0.3s ease, opacity 0.24s ease;
}

@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
    .phone-stage.is-engaged {
        width: min(100%, 760px);
        transform: translateY(-2px);
    }
}

.phone-art-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.phone-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
}

.screen-mask {
    position: absolute;
    inset: 10.2539% 23.6111% 37.0117% 25.1736%;
    overflow: hidden;
    border-radius: 2px;
    background: #f2f2f2;
    z-index: 3;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
    touch-action: none;
}


@media (hover: hover) and (pointer: fine) {
    .screen-mask {
        top: calc(10.2539% - 5px);
        right: 23.6111%;
        bottom: 37.0117%;
        left: 25.1736%;
    }
}

#gameCanvas {
    display: block;
    width: 100%;
    height: 100%;
    background: #f2f2f2;
    touch-action: none;
}

.hud {
    position: absolute;
    z-index: 6;
    display: flex;
    gap: 8px;
    pointer-events: none;
    font-family: var(--ui-font);
}

.hud.hidden {
    display: none;
}

.hud-top-left {
    top: 10px;
    left: 10px;
    max-width: 58%;
}

.hud-top-right {
    top: 10px;
    right: 10px;
    max-width: 38%;
    justify-content: flex-end;
}

.hud-top-left .hud-chip,
.hud-top-right .hud-chip {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hud-bottom {
    left: 50%;
    right: auto;
    top: var(--hud-message-top);
    bottom: auto;
    transform: translateX(-50%);
    justify-content: center;
    transition: top 0.18s ease;
    width: min(calc(100% - 20px), 420px);
}

.hud-bottom.bumped {
    top: var(--hud-message-top-bumped);
}

.hud-progress {
    left: 14px;
    right: 14px;
    bottom: 6px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: bottom 0.18s ease, top 0.18s ease;
}

.hud-chip,
.message-box,
.action-btn,
.touch-btn,
.track-progress-wrap,
.track-time-label {
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--ink);
    box-shadow: 0 8px 20px var(--shadow);
    font-family: var(--ui-font);
}

.hud-chip,
.action-btn,
.track-time-label {
    border-radius: 999px;
}

.hud-chip {
    padding: 8px 12px;
    font-size: 1rem;
    letter-spacing: 0.015em;
}

.hidden {
    display: none !important;
}

.message-box {
    width: min(100%, 336px);
    min-height: 44px;
    border-radius: 18px;
    padding: 12px 15px;
    font-size: 0.97rem;
    line-height: 1.28;
    letter-spacing: 0.01em;
    text-align: left;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.24s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
    max-height: min(72vh, 680px);
    overflow-y: auto;
    pointer-events: auto;
}


.message-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.message-box.fading {
    transition: opacity var(--message-fade-duration, 0.82s) ease-out, transform var(--message-fade-duration, 0.82s) ease-out;
    opacity: 0;
    transform: translateY(0);
}

.track-time-label {
    letter-spacing: 0.06em;
    font-size: 1rem;
    padding: 2px 10px;
}

.track-progress-wrap {
    width: calc(100% - 8px);
    height: 14px;
    border-radius: 999px;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.2s ease;
    pointer-events: auto;
    cursor: pointer;
}

.track-time-label.hidden,
.track-progress-wrap.hidden {
    opacity: 0;
}

.track-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, rgba(116, 174, 225, 0.78), rgba(17, 17, 17, 0.55));
    transition: width 0.12s linear;
}

.control-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-family: var(--ui-font);
}

.action-btn {
    padding: 11px 16px;
    font-size: 1rem;
    cursor: pointer;
    letter-spacing: 0.02em;
}

.controls-note {
    text-align: center;
    color: rgba(17, 17, 17, 0.78);
    font-size: 1rem;
    line-height: 1.25;
    letter-spacing: 0.01em;
    font-family: var(--ui-font);
}

.controls-note p {
    margin: 0.25rem 0;
}

.touch-controls {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -78px;
    z-index: 7;
    display: none;
    justify-content: center;
    gap: 10px;
    pointer-events: none;
    flex-wrap: nowrap;
    width: max-content;
    max-width: calc(100% - 12px);
}

.touch-btn {
    pointer-events: auto;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    cursor: pointer;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.touch-action {
    width: 56px;
    height: 56px;
    border-radius: 16px;
}

.touch-btn {
    transition: transform 0.16s ease, box-shadow 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
    will-change: transform;
}

.touch-btn:active {
    transform: translateY(1px) scale(0.97);
    box-shadow: 0 5px 14px rgba(10, 24, 40, 0.16);
}



.bonus-play-arrow {
    position: absolute;
    left: 50%;
    bottom: 56px;
    transform: translateX(calc(-50% - 150px));
    z-index: 8;
    display: none;
    font-family: var(--ui-font);
    font-size: 3rem;
    line-height: 1;
    color: rgba(220, 34, 34, 0.96);
    text-shadow: 0 3px 10px rgba(220, 34, 34, 0.28);
    pointer-events: none;
    animation: bonus-play-arrow-blink 0.7s steps(1, end) infinite;
}

.bonus-play-arrow.visible {
    display: block;
}

@keyframes bonus-play-arrow-blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.15; }
}
@media (hover: none), (pointer: coarse) {
    .bonus-play-arrow {
        bottom: 96px;
    }

    .phone-stage.is-fullscreen .bonus-play-arrow,
    .phone-stage.is-pseudo-fullscreen .bonus-play-arrow {
        bottom: calc(max(18px, env(safe-area-inset-bottom)) + 78px);
    }
}
@media (hover: none), (pointer: coarse) {
    .touch-controls {
        display: flex;
    }
}

@media (hover: none), (pointer: coarse) {
    .phone-stage.is-fullscreen .screen-mask,
    .phone-stage.is-pseudo-fullscreen .screen-mask {
        inset: 0;
        left: 0;
        top: 0;
        transform: none;
        width: 100vw;
        height: 100dvh;
    }

    .phone-stage.is-fullscreen .hud-top-left,
    .phone-stage.is-pseudo-fullscreen .hud-top-left {
        left: max(10px, env(safe-area-inset-left));
    }

    .phone-stage.is-fullscreen .hud-top-right,
    .phone-stage.is-pseudo-fullscreen .hud-top-right {
        right: max(10px, env(safe-area-inset-right));
    }

    .phone-stage.is-fullscreen .hud-progress,
    .phone-stage.is-pseudo-fullscreen .hud-progress {
        left: max(14px, env(safe-area-inset-left));
        right: max(14px, env(safe-area-inset-right));
    }

    .phone-stage.is-fullscreen .touch-controls,
    .phone-stage.is-pseudo-fullscreen .touch-controls {
        bottom: max(10px, env(safe-area-inset-bottom));
    }
}

@media (max-width: 560px) {
    body {
        padding: 8px;
    }

    .phone-stage {
        width: min(100%, 540px);
    }

    .hud-chip,
    .message-box,
    .controls-note,
    .action-btn {
        font-size: 0.88rem;
    }

    .touch-btn {
        width: 48px;
        height: 48px;
    }

    .touch-action {
        width: 52px;
        height: 52px;
    }

    .touch-controls {
        bottom: -72px;
        gap: 6px;
    }
}

.touch-controls .touch-action[data-touch-action="enterfs"],
.touch-controls .touch-action[data-touch-action="exitfs"] {
    font-size: 1rem;
}

.phone-stage.is-fullscreen,
.phone-stage.is-pseudo-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    width: 100vw;
    height: 100dvh;
    max-width: none;
    aspect-ratio: auto;
    background: #000;
}

.phone-stage.is-fullscreen .phone-art-wrap,
.phone-stage.is-pseudo-fullscreen .phone-art-wrap {
    display: none;
}

.phone-stage.is-fullscreen .screen-mask,
.phone-stage.is-pseudo-fullscreen .screen-mask {
    position: absolute;
    inset: 0;
    left: 0;
    top: 0;
    transform: none;
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    border-radius: 0;
    background: #f2f2f2;
    box-shadow: none;
    overflow: hidden;
}

.phone-stage.is-fullscreen #gameCanvas,
.phone-stage.is-pseudo-fullscreen #gameCanvas {
    position: absolute;
    left: 50%;
    top: 50%;
    width: auto;
    height: auto;
    min-width: 100vw;
    min-height: 100dvh;
    transform: translate(-50%, -50%);
    aspect-ratio: 540 / 960;
}

.touch-controls.in-play-area,
.phone-stage.is-fullscreen .touch-controls,
.phone-stage.is-pseudo-fullscreen .touch-controls {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: max(10px, env(safe-area-inset-bottom));
    gap: 8px;
}

.touch-controls.in-play-area .touch-btn,
.phone-stage.is-fullscreen .touch-btn,
.phone-stage.is-pseudo-fullscreen .touch-btn {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    font-size: 1.2rem;
}

.touch-controls.in-play-area .touch-action,
.phone-stage.is-fullscreen .touch-action,
.phone-stage.is-pseudo-fullscreen .touch-action {
    width: 58px;
    height: 58px;
}

.phone-stage.is-fullscreen .hud-bottom,
.phone-stage.is-pseudo-fullscreen .hud-bottom {
    --hud-message-top: max(18px, calc(env(safe-area-inset-top) + 2px));
    --hud-message-top-bumped: max(34px, calc(env(safe-area-inset-top) + 16px));
    --hud-message-width: min(calc(100vw - 20px), 440px);
}

.phone-stage.is-fullscreen .hud-chip,
.phone-stage.is-fullscreen .message-box,
.phone-stage.is-fullscreen .track-time-label,
.phone-stage.is-pseudo-fullscreen .hud-chip,
.phone-stage.is-pseudo-fullscreen .message-box,
.phone-stage.is-pseudo-fullscreen .track-time-label {
    font-size: 1.08rem;
}

.phone-stage.is-fullscreen .message-box,
.phone-stage.is-pseudo-fullscreen .message-box {
    width: min(calc(100vw - 24px), 440px);
}

@media (hover: none), (pointer: coarse) {
    .touch-controls.in-play-area ~ .hud-progress,
    .phone-stage.is-fullscreen .hud-progress,
    .phone-stage.is-pseudo-fullscreen .hud-progress {
        bottom: calc(max(10px, env(safe-area-inset-bottom)) + 76px);
    }
}

.touch-controls .touch-action[data-touch-action="enterfs"] {
    display: inline-flex;
}

.touch-controls .touch-action[data-touch-action="exitfs"] {
    display: none;
}

.phone-stage.is-fullscreen .touch-action[data-touch-action="enterfs"],
.phone-stage.is-pseudo-fullscreen .touch-action[data-touch-action="enterfs"] {
    display: none;
}

.phone-stage.is-fullscreen .touch-action[data-touch-action="exitfs"],
.phone-stage.is-pseudo-fullscreen .touch-action[data-touch-action="exitfs"] {
    display: inline-flex;
}

@media (hover: none), (pointer: coarse) {
    .phone-stage.is-fullscreen {
        margin-bottom: 0;
    }

    .hud-bottom {
        --hud-message-top: max(22px, calc(env(safe-area-inset-top) + 2px));
        --hud-message-top-bumped: max(38px, calc(env(safe-area-inset-top) + 16px));
        --hud-message-width: min(calc(100% - 24px), 380px);
    }
}

@media (max-width: 560px) {
    .phone-stage.is-fullscreen .hud-chip,
    .phone-stage.is-fullscreen .message-box,
    .phone-stage.is-fullscreen .track-time-label,
    .phone-stage.is-pseudo-fullscreen .hud-chip,
    .phone-stage.is-pseudo-fullscreen .message-box,
    .phone-stage.is-pseudo-fullscreen .track-time-label,
    .touch-controls.in-play-area .hud-chip,
    .touch-controls.in-play-area .message-box,
    .touch-controls.in-play-area .track-time-label {
        font-size: 1.14rem;
    }

    .phone-stage.is-fullscreen .touch-btn,
    .phone-stage.is-pseudo-fullscreen .touch-btn,
    .touch-controls.in-play-area .touch-btn {
        width: 60px;
        height: 60px;
    }

    .phone-stage.is-fullscreen .touch-action,
    .phone-stage.is-pseudo-fullscreen .touch-action,
    .touch-controls.in-play-area .touch-action {
        width: 60px;
        height: 60px;
    }
}


.message-box.hidden-text {
    opacity: 0;
}

.phone-stage.desktop-engaged {
    width: min(100%, 720px);
    transition: width 0.42s ease;
}


.message-box p {
    margin: 0 0 0.95rem;
}

.message-box p:last-child {
    margin-bottom: 0;
}


.message-box.credits-mode {
    width: min(calc(100% - 20px), 392px);
    max-height: min(62vh, 560px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(116, 174, 225, 0.82) transparent;
    scrollbar-gutter: stable;
    padding-right: 12px;
    padding-bottom: 12px;
    border-radius: 22px;
    background-clip: padding-box;
    scrollbar-gutter: stable both-edges;
    clip-path: inset(0 round 22px);
}

.message-box.credits-mode::-webkit-scrollbar {
    width: 6px;
}

.message-box.credits-mode::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 999px;
    margin: 18px 4px 18px 0;
}

.message-box.credits-mode::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(116, 174, 225, 0.82), rgba(96, 142, 182, 0.92));
    border-radius: 999px;
    border: 0;
}

.message-box.credits-mode::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(126, 184, 235, 0.9), rgba(96, 142, 182, 0.98));
}

@media (hover: hover) and (pointer: fine) {
    .message-box.credits-mode {
        width: min(calc(100% - 24px), 408px);
        max-height: min(58vh, 540px);
        padding: 14px 18px;
    }

    .hud-progress {
        bottom: 10px;
    }
}

.message-box a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.12em;
    pointer-events: auto;
}

.typing-caret {
    display: inline-block;
    margin-left: 1px;
    animation: typingBlink 0.9s steps(1, end) infinite;
}

@keyframes typingBlink {
    0%, 45% { opacity: 1; }
    46%, 100% { opacity: 0; }
}


.credits-restart-hint {
    margin-top: 8px;
    padding: 4px 10px 0;
    text-align: center;
    font-family: var(--ui-font);
    font-size: 0.92rem;
    color: rgba(17,17,17,0.78);
    text-shadow: 0 1px 0 rgba(255,255,255,0.4);
    opacity: 0;
    transform: translateY(2px);
    transition: opacity 0.32s ease, transform 0.32s ease;
    pointer-events: none;
}

.credits-restart-hint.visible {
    opacity: 1;
    transform: translateY(0);
    animation: creditsRestartBlink 1.5s steps(1, end) infinite;
}

@keyframes creditsRestartBlink {
    0%, 54% { opacity: 1; }
    55%, 100% { opacity: 0.18; }
}


@media (hover: none), (pointer: coarse) {
    .message-box {
        width: min(calc(100% - 12px), 372px);
        max-height: min(74vh, 760px);
        padding: 14px 16px;
        line-height: 1.18;
    }

    .message-box p {
        margin: 0 0 0.72rem;
    }
}

.phone-stage.is-fullscreen .message-box,
.phone-stage.is-pseudo-fullscreen .message-box {
    max-height: min(76vh, 820px);
}


@media (hover: none), (pointer: coarse) {
    .phone-stage.is-fullscreen #gameCanvas,
    .phone-stage.is-pseudo-fullscreen #gameCanvas {
        min-width: 100vw;
        min-height: 100dvh;
        width: 100vw;
        height: 100dvh;
        object-fit: cover;
    }

    .phone-stage.is-fullscreen .hud-bottom,
    .phone-stage.is-pseudo-fullscreen .hud-bottom {
        width: min(calc(100vw - 18px), 460px);
    }

    .phone-stage.is-fullscreen .message-box,
    .phone-stage.is-pseudo-fullscreen .message-box {
        width: min(calc(100vw - 18px), 460px);
        max-height: min(72dvh, 760px);
        padding: 14px 16px 18px;
    }

    .phone-stage.is-fullscreen .touch-controls,
    .phone-stage.is-pseudo-fullscreen .touch-controls {
        gap: 10px;
        bottom: max(12px, env(safe-area-inset-bottom));
    }

    .phone-stage.is-fullscreen .hud-progress,
    .phone-stage.is-pseudo-fullscreen .hud-progress {
        bottom: calc(max(12px, env(safe-area-inset-bottom)) + 82px);
    }
}


.touch-controls.show-touch-labels .touch-btn::before {
    content: attr(data-label);
    position: absolute;
    left: 50%;
    bottom: var(--touch-label-lift, calc(100% + 8px));
    transform: translateX(-50%);
    min-width: max-content;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(17, 17, 17, 0.14);
    box-shadow: 0 6px 16px rgba(10, 24, 40, 0.14);
    color: rgba(17, 17, 17, 0.94);
    font-family: var(--ui-font);
    font-size: 0.8rem;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
    animation: touchLabelPulse 1.05s ease-in-out infinite alternate;
}

.touch-controls.show-touch-labels .touch-btn {
    position: relative;
}

@keyframes touchLabelPulse {
    from {
        opacity: 0.28;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(-3px);
    }
}


.touch-controls.touch-labels-fading .touch-btn::before {
    animation: touchLabelFadeOut 1.8s ease-out forwards;
}

@keyframes touchLabelFadeOut {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(-3px);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-1px);
    }
}



@media (hover: none), (pointer: coarse) {
    .touch-controls.in-play-area {
        --touch-label-lift: calc(100% + 8px);
    }

    .phone-stage.is-fullscreen .touch-controls,
    .phone-stage.is-pseudo-fullscreen .touch-controls {
        --touch-label-lift: calc(100% + 10px);
    }
}

#progressChip {
    white-space: normal;
    text-align: right;
    line-height: 1.1;
}

#progressChip .progress-main,
#progressChip .progress-sub {
    display: block;
}

#progressChip .progress-sub {
    margin-top: 3px;
    font-size: 0.84em;
    opacity: 0.82;
}


.page-footer-note {
    text-align: center;
    color: rgba(17, 17, 17, 0.68);
    font-size: 0.95rem;
    line-height: 1.2;
    letter-spacing: 0.02em;
    font-family: var(--ui-font);
    margin-top: -4px;
}

.page-footer-note p {
    margin: 0;
}

@media (hover: none) and (pointer: coarse) and (min-width: 700px) {
    .phone-stage.is-fullscreen #gameCanvas,
    .phone-stage.is-pseudo-fullscreen #gameCanvas {
        min-width: 0;
        min-height: 0;
        width: auto;
        height: 100dvh;
        max-width: 100vw;
        max-height: 100dvh;
    }

    .phone-stage.is-fullscreen .hud-progress,
    .phone-stage.is-pseudo-fullscreen .hud-progress {
        left: max(22px, env(safe-area-inset-left));
        right: max(22px, env(safe-area-inset-right));
    }

    .phone-stage.is-fullscreen .touch-controls,
    .phone-stage.is-pseudo-fullscreen .touch-controls {
        gap: 10px;
        bottom: max(14px, env(safe-area-inset-bottom));
    }
}
