html, body.tram {
    margin: 0;
    min-height: 100%;
    background: #08080b;
    color: #f3f3f5;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
body.tram {
    padding:
        calc(18px + env(safe-area-inset-top, 0px))
        18px
        calc(28px + env(safe-area-inset-bottom, 0px));
}
.tram-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 720px;
    margin: 0 auto 28px;
}
.tram-brand { display: flex; align-items: center; }
.tram-brand__logo { height: 28px; width: auto; }
.tram-top__cta {
    color: #fff;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 8px 12px;
    border-radius: 999px;
    background: #ff385c;
}
.tram-main,
.tram-pitch {
    max-width: 560px;
    margin: 0 auto;
}
.tram-kicker {
    margin: 0 0 8px;
    color: #ffd27a;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.tram-main h1,
.tram-pitch h2 {
    margin: 0 0 10px;
    font-size: clamp(1.7rem, 6vw, 2.4rem);
    letter-spacing: -0.04em;
    line-height: 1.05;
}
.tram-lead,
.tram-pitch p {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.5;
}
.tram-privacy {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.86rem;
    font-weight: 650;
}
.tram-count {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.tram-handle {
    display: grid;
    gap: 6px;
    margin: 0 0 16px;
    font-size: 0.86rem;
    font-weight: 700;
}
.tram-handle input {
    width: 100%;
    box-sizing: border-box;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #101014;
    color: #fff;
    font: inherit;
}
.tram-handle em {
    font-style: normal;
    font-weight: 550;
    color: rgba(255, 255, 255, 0.42);
}
.tram-opts { margin: 0 0 18px; }
.tram-opts__label {
    margin: 0 0 8px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.48);
}
.tram-opts__row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 14px;
}
.tram-chip {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.78);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 750;
    cursor: pointer;
}
.tram-chip.is-on {
    background: #ff385c;
    border-color: transparent;
    color: #fff;
}
.tram-chip[data-tram-style="italic"] {
    font-family: "Instrument Serif", Georgia, serif;
    font-style: italic;
    font-weight: 400;
}
.tram-chip[data-tram-style="sans"] {
    font-family: "Instrument Sans", ui-sans-serif, sans-serif;
}
.tram-chip[data-tram-style="display"] {
    font-family: Syne, Impact, sans-serif;
    font-weight: 800;
}
.tram-chip[data-tram-style="mono"] {
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-weight: 600;
}
.tram-chip[data-tram-style="script"] {
    font-family: Caveat, "Palatino Linotype", cursive;
    font-size: 1.02rem;
    font-weight: 600;
}
.tram-drop {
    min-height: 240px;
    padding: 22px 18px;
    border-radius: 20px;
    border: 1px dashed rgba(255, 176, 32, 0.28);
    background:
        radial-gradient(80% 60% at 50% 0%, rgba(255, 176, 32, 0.14), transparent 60%),
        #101014;
    outline: none;
}
.tram-drop.is-over {
    border-color: #ffd27a;
    background: #16120c;
}
.tram-drop__idle,
.tram-drop__work,
.tram-drop__done {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}
.tram-drop__idle i,
.tram-drop__work i {
    font-size: 1.6rem;
    color: #ffd27a;
    margin-bottom: 4px;
}
.tram-drop [hidden] { display: none !important; }
.tram-preview {
    width: min(100%, 360px);
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    margin-bottom: 6px;
}
.tram-preview img,
.tram-preview video {
    display: block;
    width: 100%;
    height: auto;
}
.tram-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: #ff385c;
    color: #fff;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}
.tram-btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.tram-quota,
.tram-error,
.tram-foot {
    text-align: center;
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.82rem;
}
.tram-quota { margin: 12px 0 0; }
.tram-quota__login {
    color: #ffd27a;
    font-weight: 800;
    text-decoration: underline;
}
.tram-error { margin: 10px 0 0; color: #ff8a9a; }
.tram-pitch {
    margin-top: 48px;
    padding: 22px 20px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 56, 92, 0.14), rgba(255, 176, 32, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.tram-pitch p.tram-pitch__hook {
    margin: 0 0 12px;
    font-size: clamp(1.15rem, 4.2vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #ffd27a;
}
.tram-pitch__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tram-foot { margin: 28px 0 0; }
.tram-seo {
    max-width: 560px;
    margin: 40px auto 0;
}
.tram-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.42);
}
.tram-crumbs a { color: rgba(255, 255, 255, 0.58); text-decoration: none; }
.tram-seo h2 {
    margin: 0 0 10px;
    font-size: clamp(1.25rem, 4vw, 1.65rem);
    letter-spacing: -0.03em;
}
.tram-seo h3 {
    margin: 22px 0 10px;
    font-size: 1.05rem;
}
.tram-seo p {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.55;
}
.tram-faq details {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 0;
}
.tram-faq summary {
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}
.tram-faq summary::-webkit-details-marker { display: none; }
.tram-faq details p { margin: 8px 0 0; font-size: 0.92rem; }
