@font-face {
    font-family: "Godo";
    src: url("../fonts/normal.otf") format("opentype");
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
}

@font-face {
    font-family: "Godo";
    src: url("../fonts/bold.otf") format("opentype");
    font-style: normal;
    font-weight: 700 900;
    font-display: swap;
}

:root {
    --bg: #111214;
    --surface: #1c1e22;
    --surface-raised: #2c3035;
    --surface-soft: #2e3238;
    --line: #30343d;
    --text: #f6f7f9;
    --muted: #898d99;
    --primary: #fa1155;
    --primary-hover: #d90e49;
    --blue: #60a5fa;
    --pink: #fa1155;
    --green: #14f698;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Godo";
    letter-spacing: 0;
}

body {
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
    font: inherit;
    letter-spacing: 0;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

a {
    color: inherit;
}

img,
video {
    display: block;
    max-width: 100%;
}

[hidden] {
    display: none !important;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
    padding: 10px 14px;
    border-radius: 6px;
    background: var(--primary);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.icon {
    width: 24px;
    height: 24px;
    pointer-events: none;
}

.icon-button {
    position: relative;
    display: inline-grid;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    background: transparent;
    color: var(--white);
    place-items: center;
    cursor: pointer;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.icon-button:hover,
.icon-button:focus-visible {
    color: var(--primary);
}

.primary-button {
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    padding: 0 24px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.primary-button.compact {
    min-height: 42px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff42;
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .75s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.toast {
    position: fixed;
    z-index: 300;
    left: 50%;
    bottom: calc(92px + var(--safe-bottom));
    max-width: calc(100vw - 32px);
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #292d35f2;
    color: var(--text);
    text-align: center;
    transform: translateX(-50%);
    box-shadow: 0 10px 30px #0008;
}

/* Landing */
.landing-page {
    overflow-x: hidden;
    background: #101114;
}

.landing-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.landing-header {
    position: sticky;
    z-index: 200;
    top: 0;
    border-bottom: 1px solid #2d3037;
    background: #101114f5;
    backdrop-filter: blur(18px);
}

.landing-header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.landing-brand,
.landing-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 22px;
    font-weight: 900;
    text-decoration: none;
}

.landing-brand img,
.landing-footer-brand img {
    width: 34px;
    height: 34px;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    color: #abb0ba;
    font-size: 14px;
}

.landing-nav a {
    padding: 10px 0;
    text-decoration: none;
}

.landing-nav a:hover,
.landing-nav a:focus-visible,
.landing-login-link:hover,
.landing-login-link:focus-visible {
    color: var(--primary);
}

.landing-header-actions,
.landing-hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.landing-login-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    color: #d6d9df;
    font-weight: 700;
    text-decoration: none;
}

.landing-button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.landing-button-primary {
    background: var(--primary);
    color: #fff;
}

.landing-button-primary:hover,
.landing-button-primary:focus-visible {
    background: var(--primary-hover);
}

.landing-store-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.landing-store-button {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #555b66;
    border-radius: 8px;
    background: #15171b;
    color: #eef0f4;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.landing-store-button:hover,
.landing-store-button:focus-visible {
    border-color: var(--primary);
    background: #20232a;
    color: #fff;
}

.landing-store-mark {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    object-fit: contain;
}

.landing-button-secondary {
    border-color: #555b66;
    background: #15171b;
    color: #eef0f4;
}

.landing-button-secondary:hover,
.landing-button-secondary:focus-visible {
    border-color: #8a919d;
    background: #20232a;
}

.landing-header-join {
    min-height: 42px;
    padding: 0 18px;
}

.landing-hero {
    position: relative;
    min-height: min(760px, calc(100svh - 136px));
    overflow: hidden;
    border-bottom: 1px solid #2d3037;
    background: #1d1f24;
}

.landing-hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: var(--pink);
    content: "";
    opacity: .55;
}

.landing-hero-art {
    position: absolute;
    top: 50%;
    right: max(-80px, calc((100vw - 1380px) / 2));
    width: min(62vw, 760px);
    height: min(62vw, 760px);
    object-fit: contain;
    transform: translateY(-50%);
}

.landing-hero-inner {
    position: relative;
    z-index: 1;
    min-height: inherit;
    display: flex;
    align-items: center;
    padding: 72px 0 76px;
}

.landing-hero-copy {
    width: min(600px, 55%);
}

.landing-kicker {
    margin: 0 0 16px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
}

.landing-hero h1 {
    margin: 0;
    font-size: 96px;
    line-height: .98;
}

.landing-hero-heading {
    max-width: 580px;
    margin: 26px 0 12px;
    color: #f5f6f8;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.28;
}

.landing-hero-description {
    max-width: 560px;
    margin: 0;
    color: #b5bac4;
    font-size: 17px;
    line-height: 1.7;
}

.landing-hero-actions {
    margin-top: 34px;
}

.landing-service-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 44px;
    color: #d9dce2;
    font-size: 13px;
}

.landing-service-signals span {
    position: relative;
    padding-left: 13px;
}

.landing-service-signals span::before {
    position: absolute;
    top: .48em;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--pink);
    content: "";
}

.landing-service-signals span:nth-child(2)::before {
    background: var(--blue);
}

.landing-service-signals span:nth-child(3)::before {
    background: var(--green);
}

.landing-service-signals span:nth-child(4)::before {
    background: #f1b84b;
}

.landing-band {
    padding: 110px 0;
}

.landing-experience {
    background: #101114;
}

.landing-section-heading {
    max-width: 720px;
}

.landing-section-heading h2 {
    margin: 0;
    font-size: 52px;
    line-height: 1.14;
}

.landing-section-heading > p:last-child {
    margin: 24px 0 0;
    color: #9da3af;
    font-size: 17px;
    line-height: 1.7;
}

.landing-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    margin-top: 72px;
}

.landing-feature-item {
    min-width: 0;
    padding-top: 24px;
    border-top: 2px solid #3a3e47;
}

.landing-feature-item:nth-child(1) {
    border-color: var(--blue);
}

.landing-feature-item:nth-child(2) {
    border-color: var(--green);
}

.landing-feature-item:nth-child(3) {
    border-color: var(--pink);
}

.landing-feature-item:nth-child(4) {
    border-color: #f1b84b;
}

.landing-feature-icon {
    width: 44px;
    height: 44px;
    display: grid;
    color: var(--blue);
    place-items: center;
}

.landing-feature-item:nth-child(2) .landing-feature-icon {
    color: var(--green);
}

.landing-feature-item:nth-child(3) .landing-feature-icon {
    color: var(--pink);
}

.landing-feature-item:nth-child(4) .landing-feature-icon {
    color: #f1b84b;
}

.landing-feature-icon .icon {
    width: 30px;
    height: 30px;
}

.landing-feature-item h3 {
    margin: 18px 0 10px;
    font-size: 21px;
}

.landing-feature-item p {
    margin: 0;
    color: #949aa6;
    font-size: 15px;
    line-height: 1.65;
}

.landing-connection {
    border-top: 1px solid #30343d;
    border-bottom: 1px solid #30343d;
    background: #191b20;
}

.landing-connection-layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    gap: 96px;
    align-items: start;
}

.landing-connection-heading {
    position: sticky;
    top: 120px;
}

.landing-connection-steps {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}

.landing-connection-steps li {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 24px;
    padding: 30px 0;
    border-top: 1px solid #3b3f48;
}

.landing-connection-steps li:last-child {
    border-bottom: 1px solid #3b3f48;
}

.landing-connection-steps > li > span {
    color: var(--blue);
    font-size: 15px;
    font-weight: 900;
}

.landing-connection-steps h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.landing-connection-steps p {
    margin: 0;
    color: #989fab;
    line-height: 1.65;
}

.landing-privacy {
    background: #11141a;
}

.landing-privacy-layout {
    display: grid;
    grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
    gap: 100px;
    align-items: center;
}

.landing-privacy-visual {
    position: relative;
    width: min(100%, 450px);
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid #33445c;
    border-radius: 50%;
    background: #151a22;
}

.landing-privacy-visual::before,
.landing-privacy-visual::after {
    position: absolute;
    background: #33445c;
    content: "";
}

.landing-privacy-visual::before {
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
}

.landing-privacy-visual::after {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
}

.landing-radar-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid #33445c;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.landing-radar-ring-one {
    width: 66%;
    height: 66%;
}

.landing-radar-ring-two {
    width: 34%;
    height: 34%;
}

.landing-radar-line {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: 44%;
    height: 2px;
    background: var(--blue);
    transform-origin: left center;
    animation: landing-radar 5s linear infinite;
}

.landing-privacy-visual img {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: 62px;
    height: 62px;
    padding: 12px;
    border: 1px solid #46668f;
    border-radius: 50%;
    background: #151a22;
    transform: translate(-50%, -50%);
}

@keyframes landing-radar {
    to { transform: rotate(360deg); }
}

.landing-privacy-note {
    padding-left: 16px;
    border-left: 3px solid var(--green);
    color: #d1d5dc !important;
    font-weight: 700;
}

.landing-final {
    padding: 64px 0;
    border-top: 1px solid #31353d;
    border-bottom: 1px solid #31353d;
    background: #20232a;
}

.landing-final-inner {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 26px;
    align-items: center;
}

.landing-final-inner > img {
    width: 64px;
    height: 64px;
}

.landing-final h2 {
    margin: 0;
    font-size: 34px;
}

.landing-final p {
    margin: 8px 0 0;
    color: #a5abb6;
    line-height: 1.55;
}

.landing-final-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.landing-footer {
    padding: 46px 0 max(46px, env(safe-area-inset-bottom));
    background: #0c0d10;
}

.landing-footer-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
}

.landing-footer-inner > p {
    margin: 0;
    color: #737a87;
    font-size: 13px;
}

.landing-footer nav {
    display: flex;
    gap: 18px;
    color: #9ca2ad;
    font-size: 13px;
}

.landing-footer a {
    text-underline-offset: 3px;
}

@media (max-width: 900px) {
    .landing-nav {
        display: none;
    }

    .landing-header-actions .landing-store-button {
        display: none;
    }

    .landing-hero-art {
        right: -180px;
        width: 720px;
        height: 720px;
        opacity: .34;
    }

    .landing-hero-copy {
        width: min(630px, 78%);
    }

    .landing-hero h1 {
        font-size: 80px;
    }

    .landing-hero-heading {
        font-size: 32px;
    }

    .landing-section-heading h2 {
        font-size: 44px;
    }

    .landing-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 54px;
    }

    .landing-connection-layout,
    .landing-privacy-layout {
        grid-template-columns: 1fr;
        gap: 58px;
    }

    .landing-connection-heading {
        position: static;
    }

    .landing-privacy-visual {
        width: min(80vw, 430px);
        margin: 0 auto;
    }

    .landing-footer-inner {
        grid-template-columns: 1fr auto;
    }

    .landing-footer-inner > p {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (max-width: 600px) {
    .landing-container {
        width: min(100% - 32px, 1180px);
    }

    .landing-header-inner {
        min-height: 64px;
        gap: 10px;
    }

    .landing-brand {
        font-size: 19px;
    }

    .landing-brand img {
        width: 30px;
        height: 30px;
    }

    .landing-header-actions {
        gap: 2px;
    }

    .landing-login-link {
        min-height: 42px;
        padding: 0 10px;
        font-size: 14px;
    }

    .landing-header-join {
        display: none;
    }

    .landing-hero {
        min-height: min(650px, calc(100svh - 190px));
    }

    .landing-hero-inner {
        align-items: flex-start;
        padding: 58px 0 48px;
    }

    .landing-hero-copy {
        width: 100%;
    }

    .landing-hero-art {
        top: auto;
        right: -110px;
        bottom: -135px;
        width: 520px;
        height: 520px;
        opacity: .3;
        transform: none;
    }

    .landing-hero h1 {
        font-size: 62px;
    }

    .landing-hero-heading {
        max-width: 500px;
        margin-top: 22px;
        font-size: 25px;
    }

    .landing-hero-description {
        max-width: 470px;
        font-size: 15px;
    }

    .landing-hero-actions {
        align-items: center;
        flex-direction: row;
        margin-top: 28px;
    }

    .landing-hero-actions .landing-button {
        flex: 1 1 auto;
        padding: 0 14px;
    }

    .landing-hero-actions .landing-store-actions {
        display: flex;
    }

    .landing-hero-actions .landing-store-button {
        width: 50px;
        padding: 0;
    }

    .landing-service-signals {
        max-width: 320px;
        margin-top: 30px;
    }

    .landing-band {
        padding: 78px 0;
    }

    .landing-section-heading h2 {
        font-size: 36px;
    }

    .landing-section-heading > p:last-child {
        margin-top: 18px;
        font-size: 15px;
    }

    .landing-feature-grid {
        grid-template-columns: 1fr;
        gap: 38px;
        margin-top: 52px;
    }

    .landing-connection-steps li {
        grid-template-columns: 46px 1fr;
        gap: 14px;
        padding: 24px 0;
    }

    .landing-privacy-layout {
        gap: 44px;
    }

    .landing-privacy-visual {
        width: min(86vw, 360px);
    }

    .landing-final {
        padding: 48px 0;
    }

    .landing-final-inner {
        grid-template-columns: 48px 1fr;
        gap: 18px;
    }

    .landing-final-inner > img {
        width: 48px;
        height: 48px;
    }

    .landing-final .landing-button {
        margin-top: 0;
    }

    .landing-final-actions {
        grid-column: 1 / -1;
        align-items: center;
    }

    .landing-final-actions .landing-store-actions {
        display: flex;
    }

    .landing-final-actions .landing-store-button {
        width: 50px;
        padding: 0;
    }

    .landing-footer-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .landing-footer-inner > p {
        grid-column: auto;
        grid-row: auto;
    }
}

/* Login */
.login-page {
    overflow-x: hidden;
}

.login-shell {
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
    background: #191b20;
}

.login-panel {
    width: min(100%, 520px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-lockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.login-logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
}

.brand-lockup h1 {
    margin: 18px 0 4px;
    font-size: 36px;
    line-height: 1.25;
}

.brand-lockup p {
    margin: 0;
    color: #c8cbd1;
    font-size: 15px;
    line-height: 1.5;
}

.social-actions {
    width: 100%;
    display: grid;
    gap: 12px;
    margin-top: 32px;
}

.social-button {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 16px;
    font-weight: 700;
    cursor: pointer;
}

.social-button img {
    width: 20px;
    height: 20px;
}

.social-button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.google-button {
    border: 1px solid #fff;
    background: #fff;
    color: #16171a;
}

.apple-button {
    border: 1px solid #757b87;
    background: transparent;
    color: #fff;
}

.apple-button img {
    color: #fff;
}

.login-caption {
    margin: 18px 0 8px;
    color: #777e8a;
    font-size: 14px;
    text-align: center;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    color: #777e8a;
    font-size: 13px;
}

.legal-links a {
    text-underline-offset: 3px;
}

.notice {
    width: 100%;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface-raised);
    color: #b4bac5;
    text-align: center;
}

.notice-error {
    border-color: #7d2b43;
    color: #ff9ab7;
}

.login-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    color: #c8cbd1;
}

/* Sign up */
.signup-page {
    overflow-x: hidden;
    background: #090a0c;
}

.signup-page.signup-modal-open {
    overflow: hidden;
}

.signup-shell {
    min-height: 100dvh;
    padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px);
    background: #090a0c;
}

.signup-panel {
    width: min(100%, 600px);
    margin: 0 auto;
    padding: 0 24px 48px;
}

.signup-topbar {
    min-height: 76px;
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
}

.signup-topbar h1 {
    margin: 0;
    font-size: 22px;
    line-height: 1.3;
    text-align: center;
}

.signup-back {
    width: 48px;
    height: 48px;
    display: grid;
    color: #c9cdd4;
    text-decoration: none;
    place-items: center;
}

.signup-back .icon {
    width: 30px;
    height: 30px;
}

.signup-form {
    display: grid;
    gap: 26px;
}

.signup-profile-field {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 8px 0 10px;
}

.signup-profile-button {
    position: relative;
    width: 112px;
    height: 112px;
    padding: 0;
    border: 1px solid #252932;
    border-radius: 50%;
    background: #17191d;
    cursor: pointer;
}

.signup-profile-placeholder,
.signup-profile-preview {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.signup-profile-placeholder {
    padding: 29px;
    object-fit: contain;
    opacity: .6;
}

.signup-camera-badge {
    position: absolute;
    right: -2px;
    bottom: 2px;
    width: 34px;
    height: 34px;
    display: grid;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    place-items: center;
}

.signup-camera-badge .icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    color: #ffffff;
}

.signup-profile-label {
    min-height: 40px;
    padding: 6px 14px;
    border: 0;
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
}

.signup-field {
    min-width: 0;
    margin: 0;
}

.signup-fieldset {
    padding: 0;
    border: 0;
}

.signup-label {
    display: block;
    margin: 0 0 9px;
    color: #b7bbc4;
    font-size: 15px;
    font-weight: 700;
}

.signup-control {
    width: 100%;
    height: 56px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    outline: 0;
    background: #15171b;
    color: var(--text);
    caret-color: var(--blue);
}

.signup-control::placeholder {
    color: #545a66;
}

.signup-control:focus {
    border-color: var(--blue);
}

.signup-date {
    color-scheme: dark;
}

.signup-nickname-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 10px;
}

.signup-check-button {
    min-height: 56px;
    padding: 0 14px;
    border: 1px solid #303540;
    border-radius: 8px;
    background: #1d2025;
    color: #c8cbd2;
    font-weight: 700;
    cursor: pointer;
}

.signup-check-button:disabled,
.signup-submit:disabled {
    cursor: not-allowed;
    opacity: .4;
}

.signup-field-meta {
    min-height: 22px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 6px 0;
    color: #5f6571;
    font-size: 12px;
    line-height: 1.4;
}

.signup-field-meta-end {
    justify-content: flex-end;
}

.signup-field-meta .is-available {
    color: var(--green);
}

.signup-field-meta .is-error,
.signup-field-error {
    color: #ff789d;
}

.signup-field-error {
    display: block;
    padding: 7px 6px 0;
    font-size: 12px;
}

.signup-gender-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.signup-gender-option {
    position: relative;
    min-height: 56px;
    display: grid;
    cursor: pointer;
}

.signup-gender-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.signup-gender-option span {
    display: grid;
    border: 1px solid #303540;
    border-radius: 8px;
    background: #15171b;
    color: #9ba0aa;
    font-weight: 700;
    place-items: center;
}

.signup-gender-option input:checked + span {
    border-color: var(--primary);
    background: var(--primary);
    color: #ffffff;
}

.signup-gender-option input:focus-visible + span {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.signup-introduction {
    min-height: 118px;
    padding-top: 16px;
    padding-bottom: 16px;
    line-height: 1.55;
    resize: vertical;
}

.signup-form-error {
    margin-top: -8px;
}

.signup-submit {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    border: 0;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.signup-overlay {
    position: fixed;
    z-index: 500;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}

.signup-overlay-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: #000a;
}

.signup-bottom-sheet {
    position: relative;
    z-index: 1;
    width: min(100%, 600px);
    padding: 12px 24px calc(18px + env(safe-area-inset-bottom, 0px));
    border-radius: 8px 8px 0 0;
    background: #1b1d21;
}

.signup-sheet-handle {
    width: 48px;
    height: 5px;
    display: block;
    margin: 0 auto 16px;
    border-radius: 3px;
    background: #3c414a;
}

.signup-bottom-sheet h2 {
    margin: 0 0 10px;
    font-size: 17px;
    text-align: center;
}

.signup-bottom-sheet button {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-bottom: 1px solid #2c3037;
    background: transparent;
    color: #d3d6dc;
    font-weight: 700;
    cursor: pointer;
}

.signup-bottom-sheet .signup-sheet-cancel {
    margin-top: 8px;
    border-bottom: 0;
    border-radius: 8px;
    background: #292c32;
}

.signup-crop-overlay {
    align-items: center;
    padding: max(24px, env(safe-area-inset-top, 0px)) 20px max(24px, env(safe-area-inset-bottom, 0px));
    background: #090a0cf5;
}

.signup-crop-dialog {
    width: min(100%, 480px);
    max-height: 100%;
    overflow-y: auto;
    padding: 24px;
    border: 1px solid #30343d;
    border-radius: 8px;
    background: #181a1f;
}

.signup-crop-dialog h2 {
    margin: 0;
    font-size: 21px;
}

.signup-crop-dialog header p {
    margin: 8px 0 20px;
    color: #9297a2;
    font-size: 13px;
    line-height: 1.5;
}

.signup-crop-viewport {
    position: relative;
    width: min(100%, 360px);
    aspect-ratio: 1;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 50%;
    background: #090a0c;
    touch-action: none;
    cursor: grab;
}

.signup-crop-viewport:active {
    cursor: grabbing;
}

.signup-crop-viewport img {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: none;
    user-select: none;
    pointer-events: none;
    will-change: transform;
}

.signup-zoom-control {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    color: #c6cad2;
    font-size: 14px;
}

.signup-zoom-control input {
    width: 100%;
    accent-color: var(--blue);
}

.signup-crop-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.signup-crop-actions button {
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    background: #292d33;
    font-weight: 700;
    cursor: pointer;
}

.signup-crop-actions .primary-button {
    background: var(--primary);
}

.signup-keyboard-dismiss {
    position: fixed;
    z-index: 450;
    right: 14px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    min-width: 64px;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid #4b515d;
    border-radius: 8px;
    background: #292d34;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 24px #0008;
    cursor: pointer;
}

@media (max-width: 420px) {
    .signup-panel {
        padding-right: 20px;
        padding-left: 20px;
    }

    .signup-nickname-row {
        grid-template-columns: minmax(0, 1fr) 96px;
        gap: 8px;
    }
}

/* Application shell */
.app-shell {
    min-height: 100dvh;
    background: var(--bg);
}

.desktop-rail {
    display: none;
}

.feed-column {
    width: 100%;
    min-width: 0;
    padding-bottom: calc(84px + var(--safe-bottom));
}

.home-topbar {
    position: sticky;
    z-index: 120;
    top: 0;
    min-height: calc(60px + env(safe-area-inset-top, 0px));
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 14px 8px;
    border-bottom: 1px solid #20232a;
    background: var(--bg);
}

.wordmark {
    padding: 9px 4px;
    color: var(--primary);
    font-size: 26px;
    font-weight: 900;
    text-decoration: none;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 2px;
}

.point-balance {
    min-width: 50px;
    color: #d7d9de;
    font-size: 14px;
    font-weight: 700;
    text-align: right;
}

.topbar-actions .accent {
    color: var(--primary);
}

.badge {
    position: absolute;
    top: 1px;
    right: 0;
    min-width: 18px;
    height: 18px;
    display: grid;
    padding: 0 5px;
    border-radius: 10px;
    background: var(--pink);
    color: #fff;
    font-size: 11px;
    place-items: center;
}

.desktop-only {
    display: none;
}

.feed-content {
    width: 100%;
    min-width: 0;
}

.story-rail {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 18px 16px;
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
}

.story-rail::-webkit-scrollbar {
    display: none;
}

.story-item {
    flex: 0 0 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #e1e3e8;
    font-size: 12px;
    cursor: pointer;
}

.story-item > span:last-child {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.story-avatar,
.avatar {
    position: relative;
    display: grid;
    overflow: hidden;
    border-radius: 50%;
    background: var(--surface-soft);
    color: var(--blue);
    place-items: center;
}

.story-avatar-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.story-avatar {
    width: 68px;
    height: 68px;
    border: 3px solid #4a4f59;
}

.story-avatar.has-new {
    border-color: var(--pink);
    box-shadow: inset 0 0 0 2px var(--bg), 0 0 0 2px #f19b38;
}

.story-avatar.my-story {
    border-color: #f1f3f6;
    color: var(--primary);
    font-weight: 700;
    box-shadow: 0 0 12px #ffffff38;
}

.story-avatar img,
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-add {
    position: absolute;
    right: 0px;
    bottom: 0px;
    width: 22px;
    height: 22px;
    display: grid;
    border: 2px solid var(--bg);
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    place-items: center;
    z-index: 2;
}

.post-more-btn {
    color: var(--white);
    transition: color 0.2s ease;
}

.post-more-btn:hover,
.post-more-btn:focus-visible {
    color: var(--primary);
}

.state-panel {
    min-height: 48dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    color: var(--muted);
    text-align: center;
}

.state-icon {
    width: 44px;
    height: 44px;
    color: #616977;
}

.state-panel h1 {
    margin: 18px 0 6px;
    color: var(--text);
    font-size: 19px;
}

.state-panel p {
    max-width: 360px;
    margin: 0 0 20px;
    line-height: 1.55;
}

.post-list {
    display: grid;
}

.post-card {
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
}

.post-header {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px 10px 14px;
}

.post-author {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.avatar.small {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid #424752;
}

.author-copy {
    min-width: 0;
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 2px 5px;
}

.author-copy strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.author-copy small {
    grid-column: 1 / -1;
    color: var(--muted);
}

.verified {
    width: 16px;
    height: 16px;
    display: grid;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    place-items: center;
}

.media-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #000000;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.media-track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
}

.media-track::-webkit-scrollbar {
    display: none;
}

.media-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    margin: 0;
    padding: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: hidden;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-slide-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
}

.video-slide-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.2s ease, opacity 0.25s ease, background-color 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.video-play-overlay:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translate(-50%, -50%) scale(1.08);
}

.video-play-overlay .play-icon {
    width: 28px;
    height: 28px;
    margin-left: 3px;
    display: block;
}

.video-play-overlay .pause-icon {
    width: 28px;
    height: 28px;
    display: none;
}

.video-slide-wrap.playing .video-play-overlay {
    opacity: 0;
    pointer-events: none;
}

.video-slide-wrap.playing:hover .video-play-overlay,
.video-slide-wrap.playing.show-controls .video-play-overlay {
    opacity: 1;
    pointer-events: auto;
}

.video-slide-wrap.playing .video-play-overlay .play-icon {
    display: none;
}

.video-slide-wrap.playing .video-play-overlay .pause-icon {
    display: block;
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border: none;
    color: #121212;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 12;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
    opacity: 0.85;
}

.carousel-nav-btn:hover {
    background: #ffffff;
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn.prev {
    left: 10px;
}

.carousel-nav-btn.next {
    right: 10px;
}

.carousel-nav-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

.carousel-nav-btn .icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    display: block;
}

@media (max-width: 679px), (hover: none) {
    .carousel-nav-btn {
        display: none !important;
    }
}

.media-counter {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #07080bcc;
    font-size: 12px;
}

.media-dots {
    position: absolute;
    left: 50%;
    bottom: 10px;
    display: flex;
    gap: 5px;
    transform: translateX(-50%);
}

.media-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff5c;
}

.media-dots span.active {
    background: var(--primary);
}

.post-body {
    padding: 0;
}

.post-actions-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 4px;
    margin: 0;
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.action-btn:hover {
    opacity: 0.8;
}

.action-btn .action-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: block;
    fill: currentColor;
    color: currentColor;
}

.action-btn.active,
.action-btn.active .action-icon {
    color: var(--primary) !important;
}

.action-count {
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.action-row-spacer {
    flex: 1;
}

.post-content-meta {
    padding: 4px 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.post-caption {
    font-size: 13px;
    line-height: 1.45;
    color: var(--text);
    margin: 0;
}

.post-caption .author-name {
    font-weight: 700;
    color: var(--gray89);
    margin-right: 6px;
}

.post-time {
    font-size: 11px;
    color: var(--gray66);
}

.mobile-bottom-nav {
    position: fixed;
    z-index: 100;
    right: 0;
    bottom: 0;
    left: 0;
    height: calc(68px + var(--safe-bottom));
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 4px 8px var(--safe-bottom);
    border-top: 1px solid var(--line);
    background: #1a1c21f7;
    backdrop-filter: blur(18px);
}

.bottom-nav-item {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: #737b89;
    font-size: 11px;
    cursor: pointer;
}

.bottom-nav-item .icon {
    width: 24px;
    height: 24px;
}

.bottom-nav-item.active {
    color: var(--primary);
}

@media (min-width: 680px) {
    .feed-column {
        width: 620px;
        margin: 0 auto;
        border-right: 1px solid var(--line);
        border-left: 1px solid var(--line);
    }

    .media-slide {
        max-height: 620px;
    }
}

@media (min-width: 1024px) {
    .app-shell {
        width: min(1180px, 100%);
        display: grid;
        grid-template-columns: 240px 620px 1fr;
        gap: 0;
        margin: 0 auto;
    }

    .desktop-rail {
        position: sticky;
        top: 0;
        height: 100dvh;
        display: flex;
        flex-direction: column;
        padding: 30px 18px;
        border-right: 1px solid var(--line);
    }

    .desktop-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0 12px 28px;
        color: var(--primary);
        font-size: 24px;
        font-weight: 900;
        text-decoration: none;
    }

    .desktop-brand img {
        width: 34px;
        height: 34px;
    }

    .desktop-nav {
        display: grid;
        gap: 6px;
    }

    .rail-item {
        width: 100%;
        min-height: 52px;
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 0 14px;
        border: 0;
        border-radius: 8px;
        background: transparent;
        color: #a2a8b3;
        cursor: pointer;
    }

    .rail-item:hover,
    .rail-item.active {
        background: var(--surface-raised);
        color: var(--text);
    }

    .rail-item.active .icon {
        color: var(--primary);
    }

    .logout-form {
        margin-top: auto;
    }

    .feed-column {
        width: 620px;
        margin: 0;
        padding-bottom: 0;
        border-right: 1px solid var(--line);
        border-left: 0;
    }

    .mobile-bottom-nav {
        display: none;
    }

    .desktop-only {
        display: inline-grid;
    }

    .home-topbar {
        min-height: 70px;
        padding-top: 10px;
    }

    .toast {
        bottom: 32px;
    }
}

@media (max-width: 380px) {
    .wordmark {
        font-size: 22px;
    }

    .point-balance {
        display: none;
    }

    .topbar-actions .icon-button {
        width: 40px;
        height: 40px;
        padding: 9px;
    }

    .story-rail {
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* Modal Dialog System */
.web-modal-dialog {
    border: none;
    padding: 0;
    background: transparent;
    max-width: 100vw;
    max-height: 100vh;
}

.web-modal-dialog::backdrop {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.modal-card {
    background: var(--surface);
    color: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    width: min(90vw, 440px);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--gray89);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
}

.modal-close:hover {
    color: var(--white);
}

/* Comments Bottom Sheet Modal (Matching Android CommentBottomSheet) */
.comments-card {
    width: min(92vw, 480px);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    background: #000000;
    border-radius: 22px 22px 0 0;
}

.post-caption-preview {
    display: flex;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(46, 46, 46, 0.7);
    background: #000;
}

.post-caption-preview .preview-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 35px;
    background: var(--surface-raised);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
}

.post-caption-preview .preview-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-caption-preview .preview-text {
    flex: 1;
    min-width: 0;
    font-size: 12px;
    line-height: 1.4;
}

.post-caption-preview .author-name {
    font-weight: 700;
    color: var(--white);
    margin-right: 6px;
}

.post-caption-preview .caption-body {
    color: var(--gray89);
}

.post-caption-preview .preview-time {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    color: var(--gray66);
}

.comments-modal-body {
    flex: 1;
    max-height: 380px;
    min-height: 200px;
    overflow-y: auto;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comments-loading, .comments-empty {
    text-align: center;
    color: var(--gray89);
    padding: 24px 0;
    font-size: 14px;
}

.comment-item-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 6px 0;
}

.comment-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 35px;
    background: var(--surface-raised);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content-area {
    flex: 1;
    min-width: 0;
}

.comment-header-line {
    font-size: 12px;
    line-height: 1.4;
    color: var(--white);
}

.comment-header-line .comment-author {
    font-weight: 700;
    color: var(--white);
    margin-right: 6px;
}

.comment-header-line .comment-text {
    color: var(--gray89);
}

.comment-sub-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 7px;
    font-size: 11px;
    color: var(--gray66);
}

.comment-reply-btn {
    background: transparent;
    border: none;
    padding: 0;
    color: var(--gray66);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.comment-reply-btn:hover {
    color: var(--primary);
}

.comment-like-icon-btn {
    background: transparent;
    border: none;
    padding: 4px;
    color: var(--gray89);
    cursor: pointer;
    display: flex;
    align-items: center;
}

.comment-like-icon-btn.active {
    color: var(--primary);
}

.comment-replies-list {
    padding-left: 45px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reply-target-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background: #000;
    border-top: 1px solid var(--line);
    font-size: 11px;
    color: var(--gray89);
}

.reply-cancel-btn {
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.comment-input-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #000000;
    border-top: 1px solid var(--line);
}

.comment-user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 35px;
    background: var(--surface-raised);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
}

.comment-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-input-bar input {
    flex: 1;
    background: var(--bg);
    border: 1px solid var(--outline);
    border-radius: 10px;
    padding: 10px 14px;
    color: var(--white);
    font-size: 12px;
    outline: none;
}

.comment-input-bar input:focus {
    border-color: var(--primary);
}

.comment-send-btn {
    background: transparent;
    border: none;
    color: var(--primary);
    padding: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.15s ease;
}

.comment-send-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed !important;
    pointer-events: none;
}

.comment-send-btn .icon {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.comment-send-btn .spinner-icon {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 107, 107, 0.25);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: commentSpin 0.7s linear infinite;
    display: inline-block;
}

@keyframes commentSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Bookmarked Posts Screen Modal (Matching Android BookmarkedPostsScreen) */
.bookmarks-modal-dialog {
    padding: 0;
}

.bookmarks-card {
    width: min(100vw, 560px);
    height: min(94vh, 840px);
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.bookmarks-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    height: 56px;
    background: #000;
    border-bottom: 1px solid var(--line);
}

.bookmarks-topbar h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    flex: 1;
}

.bookmarks-topbar .header-spacer {
    width: 32px;
    height: 32px;
}

.bookmarks-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: var(--bg);
}

.bookmarks-loading, .bookmarks-empty {
    text-align: center;
    color: var(--gray89);
    padding: 48px 16px;
    font-size: 14px;
    margin: auto 0;
}

/* Page Screen Transitions (Tab Navigation Parity) */
.page-screen {
    width: 100%;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.2s ease-out;
}

.page-screen[hidden] {
    display: none !important;
}

#user-profile-screen {
    background: var(--bg);
    min-height: 100vh;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* User Profile Screen (Matching Android ProfileScreen.kt) */
.profile-modal-body {
    flex: 1;
    overflow-y: auto;
    background: var(--bg);
    display: flex;
    flex-direction: column;
}

.profile-header-container {
    padding: 16px;
    background: #000000;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid var(--line);
}

.profile-avatar-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-avatar-wrap {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid var(--primary);
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-initial {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
}

.profile-stats-row {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.profile-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.profile-stat-item .stat-num {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
}

.profile-stat-item .stat-label {
    font-size: 12px;
    color: var(--gray89);
}

.profile-stat-item.clickable {
    cursor: pointer;
}

.profile-stat-item.clickable:hover .stat-num {
    color: var(--primary);
}

.profile-info-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-nickname-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-nickname {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
}

.profile-vip-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(255, 107, 107, 0.18);
    border: 1px solid rgba(255, 107, 107, 0.65);
    border-radius: 999px;
    padding: 2px 8px;
}

.profile-bio {
    margin: 0;
    font-size: 13px;
    color: var(--gray89);
    white-space: pre-wrap;
    line-height: 1.4;
}

.profile-vphone {
    margin: 2px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

.profile-checkin-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 16px;
    margin-top: 12px;
}

.checkin-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.checkin-desc {
    margin: 2px 0;
    font-size: 12px;
    color: var(--gray89);
}

.checkin-point {
    margin: 2px 0 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
}

.profile-checkin-btn {
    height: 36px;
    padding: 0 16px;
    border-radius: 20px;
    background: var(--primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease;
}

.profile-checkin-btn.checked,
.profile-checkin-btn:disabled {
    background: rgba(255, 255, 255, 0.12);
    color: var(--gray89);
    cursor: default;
}

.profile-actions-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.profile-btn {
    flex: 1;
    height: 38px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: background 0.15s ease;
}

.profile-btn.primary {
    background: var(--primary);
    color: #ffffff;
}

.profile-btn.primary:hover {
    opacity: 0.9;
}

.profile-btn.secondary {
    background: #262626;
    color: var(--white);
    border: 1px solid var(--line);
}

.profile-btn.secondary:hover {
    background: #333333;
}

.profile-btn:disabled,
.profile-btn.loading,
.follow-compact-btn:disabled,
.follow-compact-btn.loading {
    opacity: 0.65 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

.profile-btn.icon-only {
    flex: 0 0 38px;
    width: 38px;
    padding: 0;
}

.profile-btn.icon-only .icon {
    width: 18px;
    height: 18px;
}

.profile-tab-bar {
    display: flex;
    height: 48px;
    background: #000000;
    border-bottom: 1px solid var(--line);
}

.profile-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--gray89);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.profile-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.profile-tab .icon {
    width: 22px;
    height: 22px;
}

.profile-grid-container {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 2px;
    background: var(--bg);
    overflow-y: auto;
}

.profile-grid-item {
    aspect-ratio: 1 / 1;
    position: relative;
    background: #1a1a1a;
    cursor: pointer;
    overflow: hidden;
}

.profile-grid-item img, .profile-grid-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-grid-item .grid-video-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.profile-grid-empty {
    grid-column: span 3;
    padding: 60px 16px;
    text-align: center;
    color: var(--gray89);
    font-size: 14px;
}

/* Post Detail Reels Fullscreen View (Matching Android PostDetailView.kt) */
.feed-column:has(#post-detail-screen:not([hidden])) {
    padding-bottom: 0 !important;
}

#post-detail-screen {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #000000;
    overflow: hidden;
}

.post-detail-reels-container {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    background: #000000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.reels-gradient-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.reels-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 280px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.reels-top-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    z-index: 10;
}

.reels-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.reels-media-pager {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
}

.reels-media-pager .media-carousel {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    aspect-ratio: unset !important;
}

.reels-media-pager .media-track {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
}

.reels-media-pager .media-slide {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    aspect-ratio: unset !important;
}

.reels-media-pager .video-slide-wrap {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
}

.reels-media-pager img,
.reels-media-pager video {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    background: #000000;
}

.reels-media-pager .media-counter {
    position: absolute;
    top: 64px;
    right: 16px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 20px;
    padding: 4px 12px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
}

.reels-right-actions {
    position: absolute;
    right: 16px;
    bottom: 120px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.reels-action-item {
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    gap: 4px;
}

.reels-action-icon {
    width: 28px;
    height: 28px;
    color: #ffffff;
}

.reels-action-item.active .reels-action-icon {
    color: var(--primary);
}

.reels-action-label {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
}

.reels-bottom-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reels-author-row {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.reels-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
}

.reels-author-name {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.reels-caption {
    font-size: 13px;
    color: #ffffff;
    line-height: 1.4;
    max-height: 60px;
    overflow-y: auto;
}

.reels-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.72);
}

.reels-comment-trigger-pill {
    width: 100%;
    height: 46px;
    background: rgba(17, 24, 32, 0.92);
    border-radius: 24px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    margin-top: 6px;
    cursor: pointer;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.reels-comment-trigger-pill:hover {
    background: rgba(25, 34, 45, 0.95);
}

/* Options Modal */
.options-list {
    display: flex;
    flex-direction: column;
}

.option-item {
    width: 100%;
    padding: 16px 20px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: color 0.2s ease, background 0.2s ease;
}

.option-item:last-child {
    border-bottom: none;
}

.option-item:hover,
.option-item:focus-visible {
    background: var(--surface-raised);
    color: var(--primary);
}

/* Story Modal */
.story-modal-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.story-modal-body {
    padding: 40px 20px;
    text-align: center;
}

.story-modal-placeholder p {
    font-size: 16px;
    color: var(--gray89);
}

/* Report, Edit, Delete Modals */
.report-form, .dialog-body-form {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.report-reasons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--white);
    cursor: pointer;
    padding: 6px 0;
}

.radio-item input[type="radio"] {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.report-form textarea, .dialog-body-form textarea {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--outline);
    border-radius: 12px;
    padding: 12px 14px;
    color: var(--white);
    font-size: 14px;
    resize: none;
    outline: none;
}

.report-form textarea:focus, .dialog-body-form textarea:focus {
    border-color: var(--primary);
}

.delete-modal-body {
    padding: 24px 20px;
    text-align: center;
    color: var(--text);
    font-size: 15px;
    line-height: 1.5;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 8px;
}

.secondary-button {
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0 18px;
    background: transparent;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.secondary-button:hover {
    background: var(--surface-raised);
}

.primary-button.danger {
    background: #ff453a;
    color: #fff;
}

.primary-button.danger:hover {
    background: #e03b31;
}

.text-muted {
    color: var(--gray89);
    font-size: 13px;
    font-weight: normal;
}

/* Post Creation & Editing Styles */
.create-post-card {
    max-width: 520px;
    width: 95vw;
}

.post-type-tabs {
    display: flex;
    gap: 8px;
    background: var(--bg);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid var(--line);
}

.type-tab-item {
    flex: 1;
    text-align: center;
    cursor: pointer;
}

.type-tab-item input[type="radio"] {
    display: none;
}

.type-tab-item span {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray89);
    transition: background 0.2s ease, color 0.2s ease;
}

.type-tab-item input[type="radio"]:checked + span {
    background: var(--surface-raised);
    color: var(--primary);
}

.select-input {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--outline);
    border-radius: 10px;
    padding: 10px 14px;
    color: var(--white);
    font-size: 14px;
    outline: none;
    cursor: pointer;
}

.select-input:focus {
    border-color: var(--primary);
}

.media-picker-buttons {
    display: flex;
    gap: 10px;
}

.btn-text-mobile {
    display: none;
}

.btn-text-desktop {
    display: inline;
}

.camera-select-btn {
    display: none !important;
}

@media (max-width: 679px) {
    .btn-text-mobile {
        display: inline;
    }
    .btn-text-desktop {
        display: none;
    }
    .camera-select-btn {
        display: flex !important;
    }
}

.media-select-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border-radius: 10px;
    background: var(--surface-raised);
    border: 1px solid var(--outline);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.media-select-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.media-select-btn.secondary {
    background: transparent;
}

.media-preview-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 8px 0;
    scrollbar-width: none;
}

.media-preview-item {
    position: relative;
    width: 84px;
    height: 84px;
    flex: 0 0 84px;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--line);
}

.media-preview-item img,
.media-preview-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-preview-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.caption-input-wrap {
    position: relative;
}

.char-count {
    position: absolute;
    bottom: 10px;
    right: 12px;
    font-size: 12px;
    color: var(--gray89);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Settings & Follow List Modal Styles */
.settings-list {
    display: flex;
    flex-direction: column;
}

.settings-item {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 20px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease;
}

.settings-item:hover {
    background: var(--surface-raised);
}

.settings-item.danger {
    color: var(--primary);
}

.settings-item .icon {
    width: 22px;
    height: 22px;
    color: var(--gray89);
}

.settings-item.danger .icon {
    color: var(--primary);
}

.settings-item .icon-chevron {
    width: 18px;
    height: 18px;
    margin-left: auto;
    color: var(--gray89);
}

.follow-tabs-header {
    display: flex;
    gap: 16px;
}

.follow-tab-btn {
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: var(--gray89);
    cursor: pointer;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
}

.follow-tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.follow-list-body {
    max-height: 400px;
    overflow-y: auto;
    padding: 8px 0;
}

.follow-user-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.follow-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.follow-user-name {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.profile-btn.small {
    height: 32px;
    padding: 0 14px;
    font-size: 12px;
}

/* Full Screen Follow List Screen Styles (Matching Android FollowListView) */
#follow-list-screen {
    background: var(--surface-background);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.follow-screen-tabrow {
    display: flex;
    height: 46px;
    background: var(--surface-background);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.follow-screen-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 700;
    color: var(--gray89);
    cursor: pointer;
    position: relative;
    transition: color 0.15s ease;
}

.follow-screen-tab.active {
    color: #ffffff;
}

.follow-screen-tab .tab-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background 0.15s ease;
}

.follow-screen-tab.active .tab-indicator {
    background: var(--primary);
}

.follow-screen-list-body {
    flex: 1;
    overflow-y: auto;
    padding: 2px 0 20px;
}

.follow-user-row {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: background 0.15s ease;
}

.follow-user-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.follow-avatar-box {
    position: relative;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
}

.follow-avatar-wrap {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: var(--surface-raised);
    display: flex;
    align-items: center;
    justify-content: center;
}

.follow-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.follow-avatar-initial {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.presence-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--surface-background);
}

.presence-dot.online {
    background: #4CAF50;
}

.presence-dot.in_call {
    background: #FFB300;
}

.presence-dot.offline {
    background: #898989;
}

.follow-user-meta {
    flex: 1;
    min-width: 0;
    margin-left: 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.follow-nickname-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.follow-nickname {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.close-friend-star {
    width: 14px;
    height: 14px;
    color: var(--primary);
    flex-shrink: 0;
}

.follow-subtitle {
    font-size: 12px;
    color: var(--gray89);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.follow-subtitle.presence-online {
    color: #4CAF50;
    font-weight: 600;
}

.follow-subtitle.presence-incall {
    color: #FFB300;
    font-weight: 600;
}

.follow-subtitle.presence-offline {
    color: var(--gray89);
}

.follow-actions-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 12px;
    flex-shrink: 0;
}

.close-friend-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease;
}

.close-friend-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.close-friend-btn .icon {
    width: 22px;
    height: 22px;
}

.follow-compact-btn {
    height: 32px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.follow-compact-btn.primary {
    background: var(--primary);
    color: #ffffff;
}

.follow-compact-btn.secondary {
    background: transparent;
    border: 1px solid var(--gray89);
    color: #ffffff;
}

.follow-screen-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: var(--gray89);
    font-size: 14px;
}
