/* =========================================================
   KIREZI CANJE
   Brand: deep plum + hot pink. One accent, used on purpose:
   the pink gradient marks what you can act on (buttons, your
   own messages, the played part of a voice message).
   ========================================================= */

:root {
    --ink: #1B0A17;
    --plum: #2D1226;
    --magenta: #FF2E93;
    --coral: #FF7A59;
    --gold: #FFC76B;
    --blush: #FFF1F6;
    --paper: #FFF8FB;
    --line: #F3E1EA;
    --mist: #8E7284;
    --danger: #E5484D;
    --brand: linear-gradient(135deg, #FF2E93, #FF7A59);
    --display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
    --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --nav-h: 72px;
    --safe-t: env(safe-area-inset-top, 0px);
    --safe-b: env(safe-area-inset-bottom, 0px);
}

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

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: var(--body);
    font-size: 16px;
    color: var(--ink);
    background-image: linear-gradient(rgba(27, 10, 23, .74), rgba(27, 10, 23, .94)), url("/IMG_0375.jpeg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body button {
    border: none;
    padding: 0;
    font-family: inherit;
    background-color: transparent;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    transition: transform .15s ease, opacity .2s ease;
}

button:active { transform: scale(.94); }

/* ---------- notification (toast) ---------- */
.notification {
    position: fixed;
    z-index: 1000000000;
    top: calc(12px + var(--safe-t));
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 420px;
    display: none;
    flex-direction: column;
    justify-content: center;
    padding: 12px 16px 12px 22px;
    background: rgba(27, 10, 23, .94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    overflow: hidden;
    animation: toastin .25s ease-out;
}
.notification::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--brand);
}
.notification p {
    margin: 0;
    white-space: pre-line;
    overflow-wrap: anywhere;
}
@keyframes toastin {
    from { opacity: 0; transform: translate(-50%, -12px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}

/* ---------- page loader (small, centered) ---------- */
.loading {
    position: fixed;
    z-index: 1000000000;
    top: 50%;
    left: 50%;
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(27, 10, 23, .88);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    color: transparent;
    font-size: 0;
}
.loading::after {
    content: "";
    width: 26px;
    height: 26px;
    border: 3px solid rgba(255, 255, 255, .22);
    border-top-color: var(--magenta);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   LOGIN / SIGN UP
   ========================================================= */
.brand_couple {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86%;
    max-width: 360px;
    height: 150px;
    margin: calc(28px + var(--safe-t)) auto 22px;
    border-radius: 28px;
    background-image: linear-gradient(rgba(27, 10, 23, .35), rgba(27, 10, 23, .6)), url("/4ac9877c-f3a4-4ead-aafe-b9cee36a5276.jpeg");
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 0 2px rgba(255, 46, 147, .85), 0 22px 50px rgba(255, 46, 147, .3);
}
.brand_couple h1 {
    margin: 0;
    font-family: var(--display);
    font-weight: 800;
    font-size: 26px;
    letter-spacing: 1px;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 16px rgba(255, 46, 147, .9);
}

.loginpage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.forlog,
.forcreate {
    width: 86%;
    max-width: 360px;
    height: 54px;
    align-items: center;
    gap: 4px;
    padding: 0 14px 0 6px;
    background: rgba(255, 255, 255, .97);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    transition: box-shadow .2s ease;
}
.forlog { display: flex; }
.forcreate { display: none; }
.forlog:focus-within,
.forcreate:focus-within {
    box-shadow: 0 0 0 2px var(--magenta), 0 8px 24px rgba(0, 0, 0, .25);
}

.loginpage input,
.loginpage select {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--body);
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
}
.loginpage input::placeholder { color: var(--mist); font-weight: 400; }

.loginpage .forlog button,
.loginpage .forcreate button {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-size: 70%;
    cursor: default;
}
.callicon   { background-image: url("/IMG_0374.jpeg"); }
.sexicon    { background-image: url("/IMG_0376.jpeg"); }
.igihugubut { background-image: url("/IMG_0379.jpeg"); }
.imyakabut  { background-image: url("/IMG_0380.jpeg"); }
.namebut    { background-image: url("/IMG_0381.jpeg"); }
.passbut::before { content: "🔒"; font-size: 20px; }

/* profile picture picker */
.forpic {
    height: auto;
    padding: 0;
    justify-content: center;
    background: transparent !important;
    box-shadow: none !important;
}
.profilepic { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.piclabel {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .7);
    cursor: pointer;
}
#profilepic {
    flex: none;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #fff url("/IMG_0377.jpeg") center / cover no-repeat;
    color: transparent;
    font-size: 0;
    cursor: pointer;
    box-shadow: 0 0 0 3px var(--magenta), 0 10px 28px rgba(255, 46, 147, .35);
}
#profilepic::file-selector-button { display: none; }

.cre {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 86%;
    max-width: 360px;
    margin: 20px auto calc(40px + var(--safe-b));
}
.cre > div { width: 100%; display: flex; }
.create {
    width: 100%;
    height: 54px;
    border-radius: 16px;
    background-image: var(--brand);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 14px 34px rgba(255, 46, 147, .45);
}
.creat {
    width: 100%;
    height: 50px;
    border-radius: 16px;
    border: 1.5px solid rgba(255, 255, 255, .35);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

/* =========================================================
   BOTTOM NAVIGATION
   ========================================================= */
.navigation {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(var(--nav-h) + var(--safe-b));
    display: none;
    z-index: 2;
}
.bottomnav {
    position: absolute;
    inset: 0;
    background: rgba(204, 204, 204, 0.95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 22px 22px 0 0;
    border-top: 1px solid rgba(255, 46, 147, .4);
    box-shadow: 0 -8px 30px rgba(27, 10, 23, .25);
}
.divi {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: var(--nav-h);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 8px;
}
.navigation button {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-size: 62%;
    opacity: .55;
}
.navigation button.active {
    opacity: 1;
    background-color: rgba(227, 44, 133, 0.58);
}
.messages    { background-image: url("/pixellab_2026-10-17T14-22-02Z.png"); }
.search      { background-image: url("/pixellab_2026-10-17T14-16-15Z.png"); }
.status      { background-image: url("/pixellab_2026-10-18T08-00-37Z.png"); }
.profile     { background-image: url("/pixellab_2026-10-17T14-46-31Z.png"); }
.navigation .peekyourfav {
    width: 58px;
    height: 58px;
    margin-top: -24px;
    opacity: 1;
    background-image: url("/pixellab_2026-10-17T14-19-58Z.png");
    background-size: 62%;
    background-color: var(--plum);
    box-shadow: 0 0 0 4px rgba(27, 10, 23, .95), 0 8px 22px rgba(255, 46, 147, .55);
}
.navigation .peekyourfav.active { background-color: var(--plum); box-shadow: 0 0 0 4px rgba(27, 10, 23, .95), 0 0 0 6px var(--magenta), 0 8px 22px rgba(255, 46, 147, .55); }

/* =========================================================
   PAGES (feed, messages, profile)
   ========================================================= */
#allofthem,
.messenger,
.userJournal {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    min-height: 100vh;
    background: var(--paper);
    z-index: 1;
    padding-bottom: calc(var(--nav-h) + var(--safe-b) + 24px);
}
#allofthem { display: none; flex-direction: column; }
.messenger { display: none; flex-direction: column; }

.pagebar,
.messbrand {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    padding: calc(14px + var(--safe-t)) 20px 12px;
    background: rgba(255, 248, 251, .94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.pagebar h3,
.messbrand h3 {
    margin: 0;
    font-family: var(--display);
    font-weight: 800;
    font-size: 26px;
    letter-spacing: -.5px;
    color: var(--ink);
}
.pagebar h3.brandtitle {
    background: var(--brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 80px 32px;
    text-align: center;
}
.empty p { margin: 0; font-family: var(--display); font-weight: 800; font-size: 20px; }
.empty span { color: var(--mist); font-size: 15px; }

/* ---------- avatar ---------- */
.avatar,
.profilepicturee {
    flex: none;
    border-radius: 50%;
    background-color: var(--line);
    background-image: url("/IMG_0396.jpeg");
    background-size: cover;
    background-position: center;
}
.avatar {
    width: 54px;
    height: 54px;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px rgba(255, 46, 147, .6);
}

/* ---------- feed ---------- */
.post {
    margin: 14px 14px 0;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 6px 24px rgba(27, 10, 23, .08);
    overflow: hidden;
}
.userinfos {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
}
.post .avatar { width: 44px; height: 44px; }
.who { min-width: 0; cursor: pointer; }
.username {
    margin: 0;
    font-family: var(--display);
    font-weight: 800;
    font-size: 16px;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.adresse {
    margin: 2px 0 0;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--mist);
}
.cover {
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 520px;
    background-color: var(--line);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}
.post-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px 14px;
}
.likebtn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-image: url("/pixellab_2026-10-18T10-06-38Z.png");
    background-size: 75%;
}
.msgbtn {
    height: 44px;
    padding: 0 26px;
    border-radius: 22px;
    background-image: var(--brand);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(255, 46, 147, .35);
}

/* ---------- messages list ---------- */
.user {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    position: relative;
    cursor: pointer;
}
.user:active { background: var(--blush); }
.user::after {
    content: "";
    position: absolute;
    left: 88px;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--line);
}
.umid { flex: 1; min-width: 0; }
.hisname {
    margin: 0;
    font-family: var(--display);
    font-weight: 800;
    font-size: 16px;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lastmessage {
    margin: 3px 0 0;
    font-size: 14px;
    color: var(--mist);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lastmessage .you { color: var(--ink); opacity: .7; }
.utime {
    align-self: flex-start;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--mist);
}

/* =========================================================
   CHAT (inbox)
   ========================================================= */
.inbox {
    display: none;
    position: fixed;
    inset: 0;
    flex-direction: column;
    z-index: 6;
    background-image: linear-gradient(rgba(255, 241, 246, .72), rgba(255, 241, 246, .9)), url("/IMG_0589.jpeg");
    background-size: cover;
    background-position: center;
}

.hisinfos {
    flex: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: calc(10px + var(--safe-t)) 14px 10px 8px;
    background: var(--ink);
    box-shadow: 0 4px 18px rgba(27, 10, 23, .25);
}
.back {
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-image: url("/pixellab_2026-10-19T15-39-06Z.png");
    background-size: 100%;
}
.profilepicturee {
    width: 42px;
    height: 42px;
    box-shadow: 0 0 0 2px var(--ink), 0 0 0 3.5px var(--magenta);
}
.hisnamee {
    margin: 0;
    min-width: 0;
    flex: 1;
    font-family: var(--display);
    font-weight: 800;
    font-size: 18px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.messagesp2p {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 12px 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.receivedmessage { display: flex; width: 100%; }
.sentmessage { display: flex; flex-direction: row-reverse; width: 100%; }

.receimessinfos,
.sentmessinfos {
    width: fit-content;
    max-width: 80%;
    min-width: 0;
    padding: 6px 10px 4px;
}
.receimessinfos {
    background: #fff;
    border-radius: 18px 18px 18px 4px;
    box-shadow: 0 3px 12px rgba(27, 10, 23, .08);
}
.sentmessinfos {
    background-color: var(--magenta);
    background-image: var(--brand);
    border-radius: 18px 18px 4px 18px;
    box-shadow: 0 6px 18px rgba(255, 46, 147, .28);
    color: #fff;
}
.messagesp2p p {
    margin: 0;
    padding: 2px;
    font-size: 15px;
    line-height: 1.4;
    color: var(--ink);
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}
.sentmessinfos p { color: #fff; }
.msgtime {
    display: block;
    margin-top: 1px;
    text-align: right;
    font-size: 10px;
    font-weight: 500;
    opacity: .6;
}

/* input bar */
.divFor {
    flex: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px calc(8px + var(--safe-b));
    background: #fff;
    border-top: 1px solid var(--line);
}
.divFor button {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.divFor input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 16px;
    border: none;
    outline: none;
    border-radius: 22px;
    background: var(--blush);
    font-family: var(--body);
    font-size: 16px;
    color: var(--ink);
}
.divFor input:focus { box-shadow: 0 0 0 2px var(--magenta); }
.otherToSent { background-image: url("/pixellab_2026-10-20T09-18-40Z.png"); background-size: 100%; }
.sent {
    display: none !important;
    background-image: url("/pixellab_2026-10-20T09-08-14Z.png");
    background-size: 100%;
}
.mic {
    background-image: var(--brand);
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(255, 46, 147, .35);
}
.divFor.typing .sent { display: flex !important; }
.divFor.typing .mic { display: none; }

/* recording */
.recbar {
    display: none;
    flex: 1;
    min-width: 0;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 8px 0 16px;
    border-radius: 22px;
    background: var(--blush);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}
.recdot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--danger);
    animation: recblink 1s ease-in-out infinite alternate;
}
@keyframes recblink { to { opacity: .25; } }
.rectext { flex: 1; color: var(--mist); font-weight: 500; }
.recbar .reccancel {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .08);
    color: var(--ink);
    font-size: 14px;
}
.mic.recording { background-image: none; background-color: var(--danger); animation: micpulse 1s infinite alternate; }
@keyframes micpulse { to { transform: scale(1.12); } }
.divFor.rec .wordsTo,
.divFor.rec .otherToSent { display: none; }
.divFor.rec .recbar { display: flex; }
.divFor.rec .sent { display: none !important; }
.divFor.rec .mic { display: flex; }

/* =========================================================
   PROFILE
   ========================================================= */
.userJournal {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: calc(24px + var(--safe-t)) 24px calc(var(--nav-h) + var(--safe-b) + 24px);
    background-image: radial-gradient(circle at 50% 22%, rgba(255, 46, 147, .16), transparent 55%);
    background-color: var(--paper);
}
.profil {
    width: 190px;
    height: 190px;
    margin-bottom: 8px;
    border-radius: 50%;
    border: 6px solid #fff;
    background-color: var(--line);
    background-image: url("/IMG_0492.jpeg");
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 0 4px var(--magenta), 0 24px 56px rgba(255, 46, 147, .38);
    cursor: default;
}
.pname {
    margin: 6px 0 0;
    font-family: var(--display);
    font-weight: 800;
    font-size: 32px;
    letter-spacing: -.8px;
    text-align: center;
}
.pplace { margin: 0; color: var(--mist); font-size: 15px; font-weight: 500; }
.allI {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}
.allI button {
    height: 46px;
    padding: 0 24px;
    border-radius: 23px;
    background: var(--blush);
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
}
.allI .messag {
    background-image: var(--brand);
    background-color: var(--magenta);
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 46, 147, .35);
}
.allI .logout {
    background: #fff;
    color: var(--danger);
    border: 1.5px solid #F3C7CB;
}

/* =========================================================
   STATUS
   ========================================================= */
.statusPage {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: #000;
    transform: scale(0);
}
.statusPic {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(62px + var(--safe-t));
    bottom: calc(var(--nav-h) + var(--safe-b));
    background-image: url("/IMG_0393.jpeg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.time {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 5px 12px;
    border-radius: 14px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}
.timeUntilNext {
    position: absolute;
    right: 12px;
    top: 10px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px solid var(--magenta);
    background: rgba(0, 0, 0, .35);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}

/* =========================================================
   VOICE MESSAGE PLAYER
   (class names avoid ".loading", which is the page loader)
   ========================================================= */
.vp {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 232px;
    max-width: 100%;
    padding: 2px 0 0;
    color: var(--ink);
}
.sentmessinfos .vp { color: #fff; }

.vp-play {
    position: relative;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: inherit;
}
/* not downloaded / downloading: round grey button like WhatsApp */
.vp.idle .vp-play,
.vp.downloading .vp-play { background: rgba(0, 0, 0, .08); }
.sentmessinfos .vp.idle .vp-play,
.sentmessinfos .vp.downloading .vp-play { background: rgba(255, 255, 255, .25); }

.vp-play svg { display: none; fill: currentColor; }
.vp-play .ic-play,
.vp-play .ic-pause { width: 28px; height: 28px; }

/* download arrow */
.vp-play .ic-dl {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.vp.idle .ic-dl { display: block; }

/* downloading: progress ring around a small X (tap to cancel) */
.vp-play .ic-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: none;
    transform: rotate(-90deg);
}
.ring-bg { fill: none; stroke: rgba(0, 0, 0, .12); stroke-width: 3; }
.ring-fg {
    fill: none;
    stroke: var(--magenta);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dashoffset .2s linear;
}
.sentmessinfos .ring-bg { stroke: rgba(255, 255, 255, .3); }
.sentmessinfos .ring-fg { stroke: #fff; }
.vp-play .ic-ring.spin { animation: vpspin 1s linear infinite; }
@keyframes vpspin { to { transform: rotate(270deg); } }

.vp-play .ic-x {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
}
.vp.downloading .ic-ring,
.vp.downloading .ic-x { display: block; }

/* downloaded: play / pause */
.vp.ready .ic-play { display: block; }
.vp.ready.playing .ic-play { display: none; }
.vp.ready.playing .ic-pause { display: block; }

.vp-main { flex: 1; min-width: 0; }

.vp-wave {
    position: relative;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
    cursor: pointer;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}
.vp-wave i {
    flex: 1;
    min-width: 2px;
    max-width: 3px;
    border-radius: 2px;
    background: #C9BFC6;
}
.vp-wave i.on { background: var(--magenta); }
.sentmessinfos .vp-wave i { background: rgba(255, 255, 255, .5); }
.sentmessinfos .vp-wave i.on { background: #fff; }

.vp-dot {
    display: none;
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
    border-radius: 50%;
    background: var(--magenta);
}
.vp.ready .vp-dot { display: block; }
.sentmessinfos .vp-dot { background: #fff; }

.vp-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2px;
}
.vp-time {
    font-size: 11px;
    font-weight: 600;
    opacity: .75;
}
.vp-speed {
    display: none;
    height: 20px;
    padding: 0 8px;
    border-radius: 10px;
    background: rgba(0, 0, 0, .12);
    color: inherit;
    font-size: 11px;
    font-weight: 700;
}
.sentmessinfos .vp-speed { background: rgba(255, 255, 255, .3); }
.vp.playing .vp-speed { display: block; }

/* =========================================================
   FILES & PHOTOS IN CHAT
   ========================================================= */
.attachmenu {
    display: none;
    position: absolute;
    left: 10px;
    bottom: calc(64px + var(--safe-b));
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(27, 10, 23, .25);
    z-index: 7;
}
.attachmenu button {
    width: auto;
    height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    text-align: left;
}
.attachmenu button:active { background: var(--blush); }

.chatimg {
    display: block;
    width: 220px;
    max-width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
}
.filecard {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 220px;
    max-width: 100%;
    padding: 6px 2px;
    color: inherit;
    text-decoration: none;
}
.fileic { font-size: 28px; }
.fileinfo { min-width: 0; display: flex; flex-direction: column; }
.fileinfo b {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fileinfo small { font-size: 11px; opacity: .7; }
/* =========================================================
   POSTS, STATUS, LIKES  (add after style.css in index.html)
   ========================================================= */

.pagebar { justify-content: space-between; }
.addpost {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-image: var(--brand);
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(255, 46, 147, .35);
}

.postmedia {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    background: var(--line);
}
.postcaption {
    margin: 0;
    padding: 0 16px 12px;
    font-size: 15px;
    line-height: 1.4;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}
.post-actions { gap: 8px; }
.likewrap { display: flex; align-items: center; gap: 4px; }
.likebtn { opacity: .45; transition: transform .15s ease, opacity .2s ease; }
.likebtn.liked { opacity: 1; transform: scale(1.1); filter: drop-shadow(0 4px 8px rgba(255, 46, 147, .5)); }
.likecount {
    height: 36px;
    padding: 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}
.ptime { margin-left: auto; margin-right: 8px; font-size: 12px; color: var(--mist); }

/* status page (dark) */
.statusPage {
    background: var(--ink);
    overflow-y: auto;
    padding-bottom: calc(var(--nav-h) + var(--safe-b) + 24px);
    z-index: 1;
}
.statusPage .pagebar { background: rgba(27, 10, 23, .94); border-bottom-color: rgba(255, 255, 255, .1); }
.statusPage .pagebar h3 { color: #fff; }
.statusPage .empty p { color: #fff; }

/* modals */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 20;
    align-items: flex-end;
    justify-content: center;
    background: rgba(27, 10, 23, .6);
}
.sheet {
    width: 100%;
    max-width: 480px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 20px 18px calc(20px + var(--safe-b));
    background: #fff;
    border-radius: 24px 24px 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sheet h4 { margin: 0; font-family: var(--display); font-size: 20px; font-weight: 800; }
.sheet input[type=file] { font-family: var(--body); font-size: 14px; }
.sheet textarea {
    width: 100%;
    min-height: 70px;
    padding: 12px;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    outline: none;
    font-family: var(--body);
    font-size: 16px;
    resize: none;
}
.sheet textarea:focus { border-color: var(--magenta); }
.kindrow { display: flex; gap: 10px; }
.kindrow label {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
}
.kindrow input { accent-color: #FF2E93; }
.sheetbtns { display: flex; gap: 10px; }
.sheetbtns button { flex: 1; height: 48px; border-radius: 16px; font-size: 15px; font-weight: 700; }
.btn-pub { background-image: var(--brand); color: #fff; }
.btn-cancel { background: var(--blush); color: var(--ink); }

.liker { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.liker .avatar { width: 44px; height: 44px; }
.liker p { margin: 0; font-weight: 700; }



/* =========================================================
   PASSWORD EYE
   ========================================================= */
.loginpage .forlog button.eyebtn {
    cursor: pointer;
    background-size: 60%;
    opacity: .75;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E7284' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}
.loginpage .forlog button.eyebtn.on {
    opacity: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF2E93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E");
}

/* =========================================================
   STATUS LIST + VIEWER (WhatsApp style)
   ========================================================= */
.slabel {
    margin: 0;
    padding: 16px 18px 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}
.srow {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 18px;
    color: #fff;
    cursor: pointer;
}
.srow:active { background: rgba(255, 255, 255, .06); }
.sring {
    flex: none;
    width: 60px;
    height: 60px;
    padding: 3px;
    border-radius: 50%;
    background: var(--brand);
}
.sring.seen { background: rgba(255, 255, 255, .3); }
.sring.none { background: transparent; border: 2px dashed rgba(255, 255, 255, .35); padding: 2px; }
.sring .sav {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--ink);
    background-color: #4a3342;
    background-size: cover;
    background-position: center;
}
.srow-mid { min-width: 0; }
.srow-mid p { margin: 0; }
.srow-name { font-family: var(--display); font-weight: 800; font-size: 16px; }
.srow-sub { margin-top: 2px !important; font-size: 13px; color: rgba(255, 255, 255, .6); }

.sviewer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 60;
    background: #000;
    color: #fff;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}
.sv-stage {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sv-stage img,
.sv-stage video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.sv-hit { position: absolute; inset: 0; z-index: 1; }
.sv-head {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding-top: var(--safe-t);
    background: linear-gradient(rgba(0, 0, 0, .65), transparent);
}
.sv-bars { display: flex; gap: 4px; padding: 10px 10px 0; }
.sv-bars span {
    flex: 1;
    height: 3px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .3);
    overflow: hidden;
}
.sv-bars i { display: block; height: 100%; width: 0; background: #fff; }
.sv-top { display: flex; align-items: center; gap: 10px; padding: 10px 12px 14px; }
.sv-avatar {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #4a3342;
    background-size: cover;
    background-position: center;
}
.sv-who { display: flex; flex-direction: column; min-width: 0; }
.sv-who b { font-family: var(--display); font-size: 16px; }
.sv-who small { font-size: 12px; opacity: .75; }
.sv-close { margin-left: auto; width: 40px; height: 40px; color: #fff; font-size: 22px; }
.sv-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    margin: 0;
    padding: 56px 22px calc(26px + var(--safe-b));
    text-align: center;
    font-size: 17px;
    line-height: 1.4;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    background: linear-gradient(transparent, rgba(0, 0, 0, .75));
    pointer-events: none;
}
.sv-caption:empty { display: none; }
