/* ============================================================
   Auto cast + fish struggle
   ============================================================ */
.cast-tools { display: flex; align-items: center; justify-content: center; gap: 7px; pointer-events: auto; }
.auto-cast {
    display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px;
    border: 1px solid var(--line); border-radius: 20px; background: rgba(4, 23, 30, 0.62);
    color: var(--muted); font-size: 7px; font-weight: 700; cursor: pointer;
    backdrop-filter: blur(8px); transition: 0.2s;
}
.auto-cast:hover { border-color: var(--line-strong); color: var(--ink); }
.auto-cast .auto-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted-2); transition: 0.2s; }
.auto-cast.is-on { color: #06282c; background: var(--mint); border-color: transparent; box-shadow: 0 0 18px rgba(101, 232, 201, 0.25); }
.auto-cast.is-on .auto-dot { background: #063d3b; box-shadow: 0 0 0 4px rgba(6, 61, 59, 0.14); }

.fight-overlay {
    position: absolute; inset: 0; z-index: 78; display: grid; place-items: center;
    padding: 16px; background: radial-gradient(circle at 50% 45%, rgba(4, 24, 30, 0.28), rgba(2, 12, 16, 0.78));
    backdrop-filter: blur(3px);
}
.fight-card {
    position: relative; width: min(540px, 100%); max-height: calc(100dvh - 30px); overflow-y: auto;
    padding: 20px; border: 1px solid rgba(246, 201, 106, 0.3); border-radius: 22px;
    background: linear-gradient(155deg, rgba(16, 52, 62, 0.98), rgba(5, 25, 33, 0.98));
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: modalIn 0.25s var(--ease);
}
.fight-card.is-hit { animation: fightHit 0.22s ease; }
.fight-card.is-miss { animation: fightMiss 0.22s ease; }
@keyframes fightHit { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px) rotate(-0.4deg); } 70% { transform: translateX(5px) rotate(0.4deg); } }
@keyframes fightMiss { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(7px); } 65% { transform: translateX(-7px); } }
.fight-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.fight-top .strike-badge { background: rgba(255, 150, 124, 0.12); border-color: rgba(255, 150, 124, 0.3); color: #ffd1c2; }
.fight-top #fightFishName { color: var(--muted); font-size: 8px; text-align: right; }
.fight-card h2 { margin: 0 0 4px; font-family: var(--display); font-size: 32px; font-weight: 550; letter-spacing: -0.02em; }
.fight-card > p { margin: 0 0 13px; color: var(--muted); font-size: 9px; line-height: 1.55; }
.fight-rope-wrap { padding: 9px 4px 6px; }
.fight-rope {
    position: relative; height: 44px; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.16));
    overflow: hidden;
}
.fight-rope::before {
    content: ""; position: absolute; left: 5%; right: 5%; top: 50%; height: 2px;
    background: repeating-linear-gradient(90deg, rgba(244, 222, 180, 0.8) 0 8px, rgba(244, 222, 180, 0.2) 8px 12px);
    transform: translateY(-50%); opacity: 0.7;
}
.fight-zone {
    position: absolute; left: 38%; width: 24%; top: 0; bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(101, 232, 201, 0.18) 18%, rgba(101, 232, 201, 0.24) 50%, rgba(101, 232, 201, 0.18) 82%, transparent);
    border-left: 1px solid rgba(101, 232, 201, 0.45); border-right: 1px solid rgba(101, 232, 201, 0.45);
}
.fight-fish {
    position: absolute; top: 50%; left: 50%; z-index: 2; display: grid; place-items: center;
    width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%;
    font-size: 25px; line-height: 1; filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.35));
    transition: left 0.04s linear; will-change: left;
}
.fight-fish::after {
    content: ""; position: absolute; inset: -3px; border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.28); animation: spin 3s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.fight-meters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 13px; }
.fight-meter { padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; background: rgba(3, 20, 26, 0.45); }
.fight-meter span { display: flex; justify-content: space-between; color: var(--muted-2); font-size: 7px; margin-bottom: 4px; }
.fight-meter i { display: block; height: 5px; overflow: hidden; border-radius: 4px; background: rgba(255, 255, 255, 0.08); }
.fight-meter i b { display: block; width: 0%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint), #b5ffe9); transition: width 0.16s ease; }
.fight-meter.is-danger i b { background: linear-gradient(90deg, #ff967c, #ffd28b); }
.fight-bottom { display: flex; align-items: center; gap: 18px; }
.fight-status { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.fight-status b { color: var(--gold); font-size: 20px; font-variant-numeric: tabular-nums; }
.fight-status span { color: var(--muted); font-size: 8px; line-height: 1.5; }
.fight-tap {
    position: relative; flex: 0 0 auto; width: 126px; height: 126px; border-radius: 50%;
    display: grid; place-items: center; align-content: center; gap: 1px;
    border: 2px solid rgba(255, 222, 139, 0.75); color: #062a2d;
    background: radial-gradient(circle at 38% 30%, #fff0b5, #f4c75f 55%, #c28d26);
    box-shadow: 0 0 0 9px rgba(246, 201, 106, 0.08), 0 0 28px rgba(246, 201, 106, 0.42), inset 0 3px 10px rgba(255, 255, 255, 0.32);
    cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation;
    transition: transform 0.08s ease, filter 0.12s ease;
}
.fight-tap:active { transform: scale(0.94); filter: brightness(1.15); }
.fight-tap.is-cooldown { cursor: wait; }
.fight-tap.is-cooldown .fight-tap-icon { opacity: 0.45; transform: scale(0.9); }
.fight-tap.is-cooldown .fight-tap-ring { opacity: 0.35; animation: none; }
.fight-tap.is-zapping {
    animation: tapZap 0.65s ease;
    filter: brightness(1.18) saturate(1.25);
    box-shadow: 0 0 0 12px rgba(101, 232, 201, 0.12), 0 0 62px rgba(150, 255, 235, 0.8), 0 0 0 2px rgba(255, 255, 255, 0.55), inset 0 0 40px rgba(255, 255, 255, 0.45);
}
.fight-tap.is-zapping::before {
    content: ""; position: absolute; inset: -9px; border-radius: 50%; pointer-events: none;
    background: conic-gradient(from 20deg, transparent 0 15%, rgba(184, 255, 245, 0.95) 18%, transparent 24%, transparent 42%, rgba(255, 244, 175, 0.95) 48%, transparent 56%, transparent 78%, rgba(150, 255, 235, 0.9) 84%, transparent 92%);
    filter: blur(1px); animation: fightArc 0.65s linear;
}
.fight-tap.is-zapping::after {
    content: "⚡"; position: absolute; inset: 0; display: grid; place-items: center;
    color: rgba(255, 255, 245, 1); font-size: 82px; line-height: 1;
    text-shadow: 0 0 12px #fff, 0 0 28px #8ffff1, 0 0 58px #ffe277;
    animation: fightBolt 0.65s ease-out; pointer-events: none;
}
@keyframes fightArc { from { transform: rotate(0deg) scale(0.8); opacity: 1; } to { transform: rotate(160deg) scale(1.2); opacity: 0.35; } }
@keyframes fightBolt { 0% { opacity: 0; transform: scale(0.55); } 18% { opacity: 1; } 100% { opacity: 0.35; transform: scale(1.06); } }
@keyframes tapZap {
    0% { box-shadow: 0 0 0 8px rgba(101, 232, 201, 0.18), 0 0 34px rgba(101, 232, 201, 0.8), inset 0 0 0 rgba(255,255,255,.4); filter: brightness(1.4); }
    45% { box-shadow: 0 0 0 18px rgba(101, 232, 201, 0.05), 0 0 60px rgba(255, 235, 150, 0.95), inset 0 0 24px rgba(255,255,255,.4); }
    100% { box-shadow: 0 0 0 9px rgba(246, 201, 106, 0.08), 0 0 28px rgba(246, 201, 106, 0.42), inset 0 3px 10px rgba(255, 255, 255, 0.32); }
}
.fight-tap-ring { position: absolute; inset: -12px; border-radius: 50%; border: 1px solid rgba(246, 201, 106, 0.24); pointer-events: none; box-shadow: 0 0 18px rgba(102, 255, 231, 0.1); animation: tapIdle 1.9s ease-in-out infinite; }
@keyframes tapIdle { 50% { box-shadow: 0 0 22px rgba(102, 255, 231, 0.32), 0 0 4px rgba(246, 201, 106, 0.45); } }
.fight-tap.is-zapping .fight-tap-ring { animation: tapRing 0.55s ease-out; }
@keyframes tapRing { to { transform: scale(1.55); opacity: 0; } }
.fight-tap-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(6, 42, 45, 0.12); }
.fight-tap-icon .icon { width: 22px; height: 22px; }
.fight-tap b { font-size: 16px; letter-spacing: 0.08em; }
.fight-tap-sparks { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.fight-tap-sparks i {
    position: absolute; left: 50%; top: 50%; width: 4px; height: 22px; margin: -11px 0 0 -2px;
    border-radius: 3px; background: #f4ffff; box-shadow: 0 0 10px #b8fff0, 0 0 22px #ffe38a;
    animation: sparkFly 0.62s ease-out forwards;
}
@keyframes sparkFly { to { transform: translate(var(--sx), var(--sy)) scale(0.3) rotate(180deg); opacity: 0; } }
.fight-hint { display: block; margin-top: 11px; color: var(--muted-2); font-size: 7px; line-height: 1.5; text-align: center; }

@media (max-width: 760px) {
    .fight-card { padding: 15px; border-radius: 17px; }
    .fight-card h2 { font-size: 27px; }
    .fight-bottom { gap: 10px; }
    .fight-tap { width: 108px; height: 108px; }
    .fight-tap b { font-size: 14px; }
    .fight-tap-icon { width: 29px; height: 29px; }
    .fight-tap-icon .icon { width: 19px; height: 19px; }
    .fight-status b { font-size: 17px; }
    .fight-meters { grid-template-columns: 1fr; gap: 5px; }
    .fight-overlay { padding: 8px; }
}

/* ============================================================
   Auto tarik, camera step buttons, sleep
   ============================================================ */
.auto-cast.auto-tarik { border-color: rgba(246, 201, 106, 0.28); }
.auto-cast.auto-tarik.is-on { color: #2e1d02; background: var(--gold); border-color: transparent; box-shadow: 0 0 18px rgba(246, 201, 106, 0.28); }
.auto-cast.auto-tarik.is-on .auto-dot { background: #3d2603; }
.auto-cast em { display: grid; place-items: center; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 8px; background: rgba(255, 255, 255, 0.09); color: var(--muted); font-size: 7px; font-style: normal; }
.auto-cast.is-on em { background: rgba(0, 0, 0, 0.14); color: inherit; }

.sleep-overlay {
    position: absolute; inset: 0; z-index: 86; display: grid; place-items: center; padding: 18px;
    background: radial-gradient(circle at 50% 40%, rgba(4, 15, 29, 0.5), rgba(1, 8, 16, 0.9));
    backdrop-filter: blur(5px);
}
.sleep-card {
    width: min(410px, 100%); padding: 27px 24px 22px; text-align: center;
    border: 1px solid rgba(127, 194, 255, 0.26); border-radius: 22px;
    background: linear-gradient(160deg, rgba(12, 37, 55, 0.98), rgba(4, 16, 29, 0.99));
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    animation: modalIn 0.25s var(--ease);
}
.sleep-moon { display: block; font-size: 48px; line-height: 1; margin-bottom: 12px; filter: drop-shadow(0 0 22px rgba(127, 194, 255, 0.35)); }
.sleep-card small { color: #9fc9ef; font-size: 7px; letter-spacing: 0.11em; }
.sleep-card h2 { margin: 7px 0 5px; font-family: var(--display); font-size: 31px; font-weight: 550; }
.sleep-card p { margin: 0 auto 14px; max-width: 310px; color: var(--muted); font-size: 9px; line-height: 1.6; }
.sleep-countdown { margin: 12px 0 16px; font-size: 34px; font-weight: 750; letter-spacing: 0.04em; color: #b9ddff; font-variant-numeric: tabular-nums; }
.sleep-actions { display: flex; justify-content: center; gap: 8px; }
.sleep-actions .btn { flex: 1; }

.bait-count small { color: var(--muted-2); font-size: 7px; }
.catch-auto { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 9px; color: var(--muted-2); font-size: 7px; }
.catch-auto .icon { width: 11px; height: 11px; }
.profile-wallet {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin: 9px 0; padding: 13px 15px; border: 1px solid rgba(246, 201, 106, 0.2);
    border-radius: 11px; background: linear-gradient(100deg, rgba(246, 201, 106, 0.08), rgba(4, 24, 31, 0.6));
}
.profile-wallet small { display: flex; align-items: center; gap: 4px; color: var(--gold); font-size: 7px; letter-spacing: 0.08em; }
.profile-wallet .icon { width: 12px; height: 12px; }
.profile-wallet b { display: block; margin: 2px 0 1px; font-size: 21px; color: var(--ink); line-height: 1.1; }
.profile-wallet span { color: var(--muted); font-size: 8px; }
.profile-wallet .btn { flex: 0 0 auto; }
.account-card {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin: 9px 0; padding: 12px 14px; border: 1px solid rgba(127, 194, 255, 0.2);
    border-radius: 11px; background: linear-gradient(100deg, rgba(127, 194, 255, 0.07), rgba(4, 24, 31, 0.6));
}
.account-card small { display: flex; align-items: center; gap: 4px; color: #9fc9ef; font-size: 7px; letter-spacing: 0.08em; }
.account-card .icon { width: 12px; height: 12px; }
.account-card b { display: block; margin: 2px 0 1px; font-size: 17px; color: var(--ink); line-height: 1.15; }
.account-card span { color: var(--muted); font-size: 8px; line-height: 1.5; }
.account-card-actions { display: flex; flex: 0 0 auto; gap: 5px; }
.account-card-actions .btn { white-space: nowrap; }
@media (max-width: 760px) {
    .account-card { flex-direction: column; align-items: stretch; }
    .account-card-actions { width: 100%; }
    .account-card-actions .btn { flex: 1; }
}
@media (max-width: 760px) {
    .profile-wallet { flex-direction: column; align-items: stretch; }
    .profile-wallet .btn { width: 100%; }
}

/* ============================================================
   Account: login / register
   ============================================================ */
.landing-top-right { display: flex; align-items: center; gap: 7px; }
.auth-pill {
    display: inline-flex; align-items: center; gap: 5px; height: 27px; padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 20px;
    color: #d8eeea; background: rgba(3, 22, 28, 0.35); font-size: 7px; font-weight: 700;
    backdrop-filter: blur(8px); cursor: pointer; transition: 0.2s; pointer-events: auto;
}
.auth-pill:hover { border-color: var(--mint); color: var(--mint); }
.auth-pill .icon { width: 12px; height: 12px; }
.auth-pill.is-account { color: var(--mint); border-color: rgba(101, 232, 201, 0.35); }

.auth-overlay {
    position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: 16px;
    background: radial-gradient(circle at 50% 35%, rgba(5, 26, 34, 0.6), rgba(1, 8, 14, 0.91));
    backdrop-filter: blur(6px);
}
.auth-card {
    position: relative; width: min(410px, 100%); max-height: calc(100dvh - 24px); overflow-y: auto;
    padding: 24px; border: 1px solid rgba(101, 232, 201, 0.22); border-radius: 22px;
    background: linear-gradient(160deg, rgba(13, 47, 57, 0.99), rgba(4, 18, 27, 0.99));
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    animation: modalIn 0.25s var(--ease);
}
.auth-close { position: absolute; top: 12px; right: 12px; width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: rgba(255, 255, 255, 0.04); cursor: pointer; }
.auth-close .icon { width: 13px; height: 13px; }
.auth-kicker { display: block; color: var(--mint); font-size: 7px; font-weight: 800; letter-spacing: 0.13em; margin-bottom: 8px; }
.auth-card h2 { margin: 0 0 4px; font-family: var(--display); font-size: 31px; font-weight: 550; letter-spacing: -0.02em; }
.auth-card > p { margin: 0 0 14px; color: var(--muted); font-size: 9px; line-height: 1.55; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 3px; margin-bottom: 13px; border: 1px solid var(--line); border-radius: 9px; background: rgba(2, 15, 21, 0.5); }
.auth-tabs button { padding: 7px; border: 0; border-radius: 6px; color: var(--muted); background: transparent; font-size: 8px; font-weight: 700; cursor: pointer; }
.auth-tabs button.is-active { background: rgba(101, 232, 201, 0.12); color: var(--mint); }
.auth-field { display: grid; gap: 4px; margin-bottom: 9px; }
.auth-field.is-hidden { display: none !important; }
.auth-field input { visibility: visible !important; }
.auth-field span { color: var(--muted); font-size: 7px; font-weight: 700; }
.auth-field span small { color: var(--muted-2); font-weight: 500; }
.auth-field input {
    width: 100%; height: 35px; padding: 0 10px; border: 1px solid var(--line-strong);
    border-radius: 8px; color: var(--ink); background: rgba(2, 15, 21, 0.55);
    font: 500 11px var(--sans); outline: none; transition: 0.18s;
}
.auth-field input::placeholder { color: var(--muted-2); }
.auth-field input:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(101, 232, 201, 0.08); }
.auth-error { min-height: 0; margin: 2px 0 6px; color: #ffb39e; font-size: 8px; line-height: 1.45; }
.auth-error:not(:empty) { padding: 7px 8px; border: 1px solid rgba(255, 150, 124, 0.22); border-radius: 6px; background: rgba(255, 150, 124, 0.06); }
.auth-submit { width: 100%; justify-content: center; margin-top: 2px; }
.auth-submit:disabled { opacity: 0.65; cursor: wait; }
.auth-foot { display: flex; flex-direction: column; gap: 8px; margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--line); }
.auth-guest { align-self: center; padding: 0; border: 0; background: none; color: var(--muted); font-size: 8px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.auth-foot small { color: var(--muted-2); font-size: 7px; line-height: 1.5; text-align: center; }
.auth-card.is-busy { pointer-events: none; opacity: 0.82; }

@media (max-width: 760px) {
    .landing-top { gap: 5px; }
    .landing-top-right { gap: 4px; }
    .landing-top .demo-ribbon { display: none; }
    .auth-pill { height: 25px; font-size: 6.5px; padding: 0 8px; }
    .auth-card { padding: 20px 16px 16px; border-radius: 18px; }
    .auth-card h2 { font-size: 27px; }
}
.auto-tarik-card {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    margin-top: 9px; padding: 12px 15px; border: 1px solid rgba(246, 201, 106, 0.22);
    border-radius: 11px; background: linear-gradient(100deg, rgba(246, 201, 106, 0.07), rgba(4, 24, 31, 0.6));
}
.auto-tarik-card h4 { margin: 3px 0 2px; font-size: 10px; font-weight: 700; }
.auto-tarik-card p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.5; }
.auto-tarik-side { flex: 0 0 auto; display: grid; justify-items: end; gap: 2px; }
.auto-tarik-side small { color: var(--muted-2); font-size: 7px; }
.auto-tarik-side b { color: var(--gold); font-size: 18px; line-height: 1.1; }
.auto-tarik-side .btn { margin-top: 4px; white-space: nowrap; }
@media (max-width: 760px) {
    .auto-tarik-card { flex-direction: column; align-items: stretch; gap: 9px; }
    .auto-tarik-side { justify-items: stretch; grid-template-columns: auto 1fr; align-items: center; }
    .auto-tarik-side .btn { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 760px) {
    .sleep-card { padding: 22px 17px 17px; }
    .sleep-card h2 { font-size: 27px; }
    .sleep-countdown { font-size: 29px; }
}

/* ============================================================
   Live chat feed (read-only, blur over the sea)
   ============================================================ */
.live-feed {
    position: absolute; left: 22px; top: 292px; z-index: 36; width: min(272px, 44vw);
    padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    pointer-events: none; transition: opacity 0.3s var(--ease), visibility 0.3s;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 0 8px rgba(0, 0, 0, 0.65);
}
.live-feed-head { display: flex; align-items: center; gap: 5px; padding: 0 1px 6px; border-bottom: 0; }
.live-feed-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(101, 232, 201, 0.1), 0 0 8px rgba(101, 232, 201, 0.6); }
.live-feed-head b { color: #ffffff; font-size: 8px; font-weight: 750; letter-spacing: 0.03em; }
.live-feed-head small { margin-left: auto; color: rgba(232, 250, 245, 0.72); font-size: 6.5px; }
.live-feed-messages { display: flex; flex-direction: column; gap: 6px; max-height: 230px; overflow-y: auto; padding-top: 6px; pointer-events: auto; }
.live-msg { display: flex; gap: 5px; min-width: 0; animation: liveMsgIn 0.25s var(--ease); }
@keyframes liveMsgIn { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.live-dot { flex: 0 0 auto; width: 5px; height: 5px; margin-top: 5px; border-radius: 50%; background: var(--c, var(--mint)); box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.28), 0 0 7px var(--c, var(--mint)); }
.live-msg-copy { min-width: 0; }
.live-msg-top { display: flex; align-items: baseline; gap: 5px; line-height: 1.2; }
.live-msg-top b { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #ffffff; font-size: 8px; font-weight: 800; }
.live-msg-top time { flex: 0 0 auto; color: rgba(232, 250, 245, 0.68); font-size: 6.5px; }
.live-msg p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 1px 0 0; color: rgba(255, 255, 255, 0.96); font-size: 8px; line-height: 1.4; overflow-wrap: anywhere; }
.live-msg.is-ai p { display: block; -webkit-line-clamp: unset; overflow: visible; }
.live-msg.is-mine .live-msg-top b { color: var(--mint); }
.live-feed-empty { padding: 5px 1px 4px; color: rgba(255, 255, 255, 0.78); font-size: 7px; line-height: 1.45; }
@media (max-width: 760px) {
    .live-feed { left: 12px; top: calc(87px + var(--safe)); width: min(238px, 64vw); }
    .live-feed-messages { max-height: 200px; gap: 5px; }
    .live-msg-top b { max-width: 120px; font-size: 8px; }
    .live-msg p { font-size: 7.5px; }
    .live-feed-head small { display: none; }
}
