/* Public UI. SF Pro when the OS already has it. No font files are hosted. */

:root {
    --bg: #000000;
    --card: #2c2c2e;
    --hairline: #38383a;
    --primary: #f2f2f2;
    --secondary: #3a3a3c;
    --text: #ffffff;
    --muted: #8e8e93;
    --ok: #f2f2f2;
    --wait: #8e8e93;
    --bad: #5c5c60;
    --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif;
    --font-text: "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 34%, transparent 62%), rgba(44, 44, 46, 0.46);
    --glass-border: rgba(255, 255, 255, 0.24);
    --glass-shine: inset 0 1px 0 rgba(255, 255, 255, 0.42);
    --glass-blur: blur(22px) saturate(1.45);
    --font: var(--font-text);
    --bg-dark: var(--bg);
    --text-primary: var(--text);
    --text-secondary: var(--muted);
    --accent: var(--primary);
    --border-color: var(--hairline);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    background: var(--bg);
    color-scheme: dark;
    scrollbar-width: thin;
    scrollbar-color: #d1d1d6 #1c1c1e;
    -webkit-user-select: none;
    user-select: none;
}
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: #1c1c1e; }
*::-webkit-scrollbar-thumb {
    background: #d1d1d6;
    border: 2px solid #1c1c1e;
    border-radius: 999px;
}
*::-webkit-scrollbar-thumb:hover { background: #f2f2f2; }
*::-webkit-scrollbar-corner { background: #1c1c1e; }
input, textarea, #filePassDisplay, .password-box input {
    -webkit-user-select: text;
    user-select: text;
}
body {
    font-family: var(--font-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    color: var(--muted);
    padding-bottom: 0;
    overflow-x: hidden;
    background-color: transparent;
    background-image: none;
    isolation: isolate;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; font-size: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
::selection { background: #f2f2f2; color: #000000; }

h1, h2, h3, h4, .name, .section-title, .status-word {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}
h1, .name, .section-title { font-size: 28px; line-height: 1.15; text-align: center; }
h2 { font-size: 22px; line-height: 1.2; }
h3, h4 { font-size: 15px; line-height: 1.3; }
p { font-size: 14px; line-height: 1.45; }

.column, .modal-content, header, footer, .catalog-header, .section-title, .section-subtitle {
    text-transform: lowercase;
}
input, textarea, .real-input, .ghost-text, #filePassword, #filePassDisplay, .password-box input, .phone-wall, .phone-wall * {
    text-transform: none;
}

main { width: 100%; flex: 1 0 auto; }
.shell.wide { width: min(980px, calc(100% - 44px)); }
.shell {
    width: min(420px, calc(100% - 44px));
    margin: 0 auto;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px 0 calc(92px + env(safe-area-inset-bottom, 0px));
}
.column {
    width: min(420px, calc(100% - 44px));
    margin: 0 auto;
    padding: 22px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: rise .45s var(--ease) both;
}
#view-root.column {
    width: 100%;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
    min-height: 0;
    animation: none;
}
#view-root.view--leaving {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .28s var(--ease), transform .28s var(--ease);
    pointer-events: none;
}
#view-root.view--entering {
    animation: viewIn .32s var(--ease) both;
}
.column.home {
    min-height: 100dvh;
    gap: 0;
    justify-content: flex-start;
}
.column.page {
    min-height: 100dvh;
    padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px));
}
#view-root.column.home,
#view-root.column.page { min-height: 0; }
.column .container { max-width: none; width: auto; margin: 0; padding: 0; }
.stack {
    width: 100%;
    margin-top: auto;
    margin-bottom: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
}
.foot.dock {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    inset: auto 0 calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 200;
    width: 100%;
    margin: 0;
    padding: 0 16px;
    pointer-events: none;
    background: none;
    border: 0;
}
.foot:not(.dock) {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
}
.name { margin: 0; }
.domain {
    margin: -6px 0 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
}
.lede, .section-subtitle, .catalog-header p, .hero-line {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    max-width: none;
}
.status-line {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.3;
    text-align: center;
    font-weight: 400;
}

.quiet-nav, .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
}
.field {
    position: fixed;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.foot.dock .dock-pill,
footer.foot .quiet-nav {
    pointer-events: auto;
    transform-origin: 50% 100%;
    flex-wrap: nowrap;
    gap: 2px;
    padding: 5px 6px;
    border-radius: 999px;
    isolation: isolate;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05) 38%, transparent 70%),
        rgba(28, 28, 30, 0.55);
    border: 1px solid var(--glass-border);
    box-shadow:
        var(--glass-shine),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06),
        0 12px 48px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(26px) saturate(1.55);
    -webkit-backdrop-filter: blur(26px) saturate(1.55);
}
.foot.dock .dock-pill::before {
    content: "";
    position: absolute;
    inset: 0 0 45%;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent);
    pointer-events: none;
}
.foot.dock .dock-pill a,
footer.foot .quiet-nav a {
    position: relative;
    z-index: 1;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    transition: color .2s var(--ease), background .2s var(--ease);
}
.foot.dock .dock-pill a:hover,
footer.foot .quiet-nav a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}
.foot.dock .dock-pill a[aria-current="page"],
footer.foot .quiet-nav a[aria-current="page"] {
    color: var(--text);
    background: rgba(255, 255, 255, 0.12);
}
.quiet-nav a, .nav-links a, .breadcrumbs, .breadcrumbs a, .footer-col a, #vtLink {
    color: var(--muted);
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    margin: 0;
    letter-spacing: 0;
}
.quiet-nav a:hover, .nav-links a:hover, .breadcrumbs a:hover, .footer-col a:hover, #vtLink:hover { color: var(--text); }
.quiet-nav a[aria-current="page"] { color: var(--text); }

header, .topbar {
    position: static;
    top: auto;
    z-index: 1;
    width: min(420px, calc(100% - 44px));
    margin: 22px auto 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.nav-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: none;
    margin: 0;
    padding: 0;
}
.logo, .logo span, .logo span[style] {
    color: var(--text) !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: lowercase;
    text-decoration: none;
}
header .btn, header .btn-primary, header a.btn-primary { display: none; }

.btn, .btn-primary, .btn-secondary, .btn-ghost, button.btn-primary, a.btn-primary, .download-btn {
    width: 100%;
    height: 44px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f2f2f2;
    color: #111111;
    font-family: var(--font-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: lowercase;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -1px 0 rgba(0, 0, 0, 0.22);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: transform .32s var(--ease), filter .32s var(--ease), background-color .32s var(--ease), box-shadow .32s var(--ease);
}
.btn-secondary, .btn-ghost {
    background: #3a3a3c;
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.btn:hover, .btn-primary:hover {
    color: #111111;
    filter: brightness(0.94);
    transform: none;
}
.btn-secondary:hover, .btn-ghost:hover {
    color: var(--text);
    filter: brightness(1.08);
    transform: none;
}
.btn:active, .btn-primary:active, .btn-secondary:active, .btn-ghost:active { transform: scale(0.98); }
.btn:disabled, .btn-primary:disabled { opacity: .55; cursor: default; transform: none; }
.btn.is-locked,
.btn.is-locked:hover,
.btn.is-locked:active {
    background: #3a3a3c;
    color: var(--wait);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    filter: none;
    transform: none;
    opacity: 1;
    cursor: default;
}

.status-card {
    width: 100%;
    height: 88px;
    border-radius: 20px;
    background: var(--glass);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shine);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}
.status-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2px;
}
.status-word-wrap {
    position: relative;
    display: inline-block;
    text-align: center;
}
.status-dot {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--muted);
    transition: background-color .35s var(--ease);
}
.status-label {
    display: block;
    width: 100%;
    color: var(--muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
}
.status-word {
    display: block;
    min-height: 22px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--muted);
    white-space: nowrap;
    text-align: center;
    transition: color .35s var(--ease);
}
.status-word.ok { color: var(--ok); }
.status-word.wait { color: var(--wait); }
.status-word.bad { color: var(--bad); }
.status-dot.ok { background: var(--ok); }
.status-dot.wait { background: var(--wait); }
.status-dot.bad { background: var(--bad); }
.status-word.is-in { animation: statusIn .42s var(--ease) both; }

.section { padding: 0; position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; }
.catalog-header { text-align: center; padding: 0; display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
.catalog-header h1 { margin: 0; }
#game-mods { padding: 0; }
.logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.logo-tile {
    margin: 0;
    min-height: 108px;
    padding: 12px 10px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    border-radius: 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shine);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}
.logo-tile img {
    width: 100%;
    height: 48px;
    object-fit: contain;
    object-position: center;
}
.logo-tile figcaption {
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.25;
}
.logo-tile[hidden] { display: none; }
.search-wrapper { position: relative; width: 100%; margin: 0; }
.search-input, .form-input, .form-textarea, .password-box input, .real-input {
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--hairline);
    background: #000000;
    color: var(--text);
    outline: none;
    box-shadow: none;
    backdrop-filter: none;
}
.search-input, .form-input {
    height: 44px;
    padding: 0 14px 0 40px;
    font-weight: 400;
}
.form-input { padding-left: 14px; }
.search-input:focus, .form-input:focus, .form-textarea:focus { border-color: var(--primary); background: #000000; }
.search-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
    font-size: 13px;
}
.search-input:focus + i { color: var(--text); }
.cards-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.empty-note, .card, .info-card, .contents-box, .tutorial-section, .terms-content, .note-box, .password-box, #passwordRow, .info-list, .description {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shine);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}
.empty-note { text-align: center; color: var(--muted); padding: 22px 16px; }
.card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 16px;
    transition: transform .4s var(--ease), opacity .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-2px); }
.card.hidden { opacity: 0; transform: scale(.98); pointer-events: none; }
.card-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; filter: none; border-radius: 0; }
.card-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-title { font-size: 22px; margin: 0; text-align: left; }
.card-desc { margin: 0; color: var(--muted); font-size: 14px; font-weight: 400; flex: 1; overflow-wrap: anywhere; }
.card-stats {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    margin: 0;
    border-top: 1px solid var(--hairline);
    color: var(--muted);
    font-size: 13px;
    font-weight: 400;
}
.stat-item { display: flex; align-items: center; gap: 6px; }
.stat-item i, .info-list .fa-star, .stat-item .fa-star { color: var(--text); }

.contact-grid, .download-grid, .trust-bar, .testimonials-grid, .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
}
.info-card { padding: 16px; }
.info-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: var(--secondary);
    border: 0;
    color: var(--text);
}
.info-card h3 { margin-bottom: 6px; }
.info-card p, .info-card a { color: var(--muted); font-weight: 400; line-height: 1.45; }
.info-card a:hover, .terms-content a:hover, .tutorial-section a:hover, .contents-box a:hover { color: var(--text); }
.form-group { margin: 0 0 14px; text-align: left; }
.form-group label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 13px; font-weight: 400; }
.form-textarea { min-height: 120px; padding: 12px 14px; resize: vertical; font-weight: 400; }
.required { color: var(--text); }
.alert {
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--card);
    color: var(--text);
    border: 0;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
}
.alert.success { color: var(--ok); }
.alert.error { color: var(--wait); }

.breadcrumbs { padding: 0; text-align: center; overflow-wrap: anywhere; }
.breadcrumbs span { margin: 0 6px; }
.download-grid { position: relative; z-index: 1; }
.download-image img { width: 100%; border-radius: 20px; filter: none; background: var(--card); border: 1px solid var(--glass-border); }
.download-info { display: flex; flex-direction: column; gap: 16px; }
.download-info h1 { margin: 0; overflow-wrap: anywhere; }
.info-list { list-style: none; padding: 6px 16px; }
.info-list li:last-child { border-bottom: 0; }
.description { padding: 16px; }
.info-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--hairline);
    font-size: 14px;
}
.info-list li strong { color: var(--muted); font-weight: 400; }
.info-list li .value { color: var(--text); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.status-ok { color: var(--ok); }
.description h3 { margin: 0 0 6px; }
.description p, .terms-content p, .terms-content li, .tutorial-section > p, .step-content p {
    color: var(--muted);
    font-weight: 400;
    overflow-wrap: anywhere;
}
.password-box, #passwordRow {
    margin: 0;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
}
.password-box input {
    border: 0;
    background: transparent;
    padding: 0;
    height: auto;
    color: var(--text);
    font-weight: 700;
    min-width: 0;
}
.copy-btn {
    background: var(--secondary);
    border: 0;
    color: var(--text);
    border-radius: 10px;
    height: 32px;
    padding: 0 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
}
#dlHint, #dlMsg { color: var(--muted); font-size: 13px; font-weight: 400; text-align: center; line-height: 1.4; }
#vtLink { display: inline-block; margin-top: 4px; }

.contents-box, .tutorial-section, .terms-content { padding: 16px; margin: 0; position: relative; z-index: 1; }
.contents-box h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.contents-box ul { list-style: none; }
.contents-box a, .terms-content a, .tutorial-section a { color: var(--text); font-weight: 700; }
.contents-box li a {
    display: block;
    padding: 8px 0;
    color: var(--muted);
    font-weight: 400;
    border-bottom: 1px solid var(--hairline);
}
.tutorial-section { scroll-margin-top: 22px; }
.tutorial-section h2 { margin: 0 0 8px; }
.step-item { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0; }
.step-number-circle {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}
.step-content h4 { margin-bottom: 4px; }
.note-box { display: flex; gap: 10px; padding: 14px; margin-top: 14px; }
.terms-content h3 { margin: 18px 0 6px; }
.terms-content h3:first-child { margin-top: 0; }
.terms-content ul { margin: 8px 0 8px 18px; }
.terms-content { margin-bottom: 0; }

footer { width: min(420px, calc(100% - 44px)); margin: 0 auto; padding: 0 0 22px; position: relative; z-index: 1; }
.column footer:not(.foot) { width: 100%; margin: 0; padding: 0; }
footer.foot.dock { width: 100%; margin: 0; padding: 0 16px; }
footer.foot:not(.dock) { width: auto; margin: 0; padding: 0; }
.footer-col h4 {
    color: var(--text);
    margin-bottom: 8px;
    font-size: 13px;
    letter-spacing: 0;
    text-transform: lowercase;
    font-weight: 700;
}
.footer-col a { display: block; margin: 0 0 8px; }
.copyright { text-align: center; color: var(--muted); font-size: 13px; font-weight: 400; padding-top: 8px; }

.modal-wrap {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .36s var(--ease), visibility .36s var(--ease);
}
.modal-wrap.active { opacity: 1; visibility: visible; pointer-events: auto; }
.modal-content {
    width: min(420px, 100%);
    max-height: calc(100vh - 44px);
    overflow: auto;
    margin: 0;
    padding: 22px;
    border-radius: 20px;
    text-align: center;
    color: var(--muted);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shine), 0 18px 48px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(28px) saturate(1.5);
    -webkit-backdrop-filter: blur(28px) saturate(1.5);
    transform: translateY(12px) scale(.98);
    transition: transform .4s var(--ease);
}
.modal-wrap.active .modal-content { transform: none; }
.modal-content h2 { font-size: 22px; margin: 0 0 6px; color: var(--text); }
.modal-kicker, .access-label { color: var(--muted); font-size: 13px; font-weight: 400; letter-spacing: 0; margin: 0; }
.access-label { display: block; margin-top: 16px; }
.ghost-input-wrapper {
    position: relative;
    width: 100%;
    height: 72px;
    margin: 12px 0 0;
    border-radius: 16px;
    overflow: hidden;
    background: #000000;
    border: 1px solid var(--hairline);
    transition: border-color .24s ease;
}
.ghost-input-wrapper.success { border-color: var(--ok); box-shadow: none; }
.ghost-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 6px;
    color: rgba(255, 255, 255, .28);
    pointer-events: none;
}
.real-input {
    position: relative;
    z-index: 2;
    height: 100%;
    border: 0;
    background: transparent;
    text-align: center;
    letter-spacing: 6px;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    border-radius: 0;
}
.real-input:focus { outline: none; }
#finalLink { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
#passwordRow { text-align: left; }
#filePassDisplay { color: var(--text); font-weight: 700; text-transform: none; }

.phone-wall {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 28px 22px;
    text-align: center;
    background: #000000;
    color: #ffffff;
}
.phone-wall p {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    max-width: 18em;
    color: #ffffff;
    text-transform: none;
}
.phone-wall .phone-sub {
    margin-top: 14px;
    color: #8e8e93;
    font-family: var(--font-text);
    font-size: 14px;
    font-weight: 400;
}
html.is-phone body > *:not(.phone-wall) { display: none !important; }
html.is-phone .phone-wall { display: flex !important; flex-direction: column; }
html.is-phone, html.is-phone * { cursor: auto !important; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10001;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 1.5px solid #ffffff;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    will-change: transform;
    transition: width .28s var(--ease), height .28s var(--ease), margin .28s var(--ease), background-color .28s var(--ease), border-color .28s var(--ease), opacity .2s linear;
}
.cursor.is-on { opacity: 1; }
.cursor.is-hot {
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    background: rgba(255, 255, 255, 0.16);
    border-color: #f2f2f2;
}
.cursor.is-down {
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
}
body.phone-only {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    background: #000000;
    color: #ffffff;
}
body.phone-only .phone-wall { display: flex; flex-direction: column; position: static; background: #000000; }

@keyframes rise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}
@keyframes statusIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
@view-transition { navigation: auto; }
main.column { view-transition-name: tab-page; }
footer.dock { view-transition-name: tab-dock; }
html:active-view-transition main.column { animation: none; }
::view-transition-old(root),
::view-transition-new(root) { animation: none; }
::view-transition-old(tab-page) { animation: tab-out .24s var(--ease) both; }
::view-transition-new(tab-page) { animation: tab-in .32s var(--ease) both; }
main.column.tab-leave {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .22s var(--ease), transform .22s var(--ease);
}
@keyframes tab-out {
    to { opacity: 0; transform: translateY(10px); }
}
@keyframes tab-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}
@keyframes viewIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
    .logo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    html { scroll-behavior: auto; }
    ::view-transition-group(*),
    ::view-transition-old(*),
    ::view-transition-new(*) { animation-duration: 0s !important; }
}
