* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, sans-serif; user-select: none; }
body { background: #1a1a1a; display: flex; justify-content: center; align-items: center; height: 100vh; overflow: hidden; }

/* 手机外壳 */
.iphone { width: 100%; max-width: 390px; height: 100vh; background: #f7f5f0; position: relative; display: flex; flex-direction: column; overflow: hidden; border: 12px solid #111; border-radius: 55px; box-shadow: inset 0 0 0 2px #444, 0 20px 60px rgba(0,0,0,0.8); }
.island { width: 110px; height: 32px; background: #000; border-radius: 20px; position: absolute; top: 11px; left: 50%; transform: translateX(-50%); z-index: 100; }
.status-bar { height: 54px; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0 25px; font-size: 15px; font-weight: 600; color: #000; position: absolute; top: 0; left: 0; z-index: 99; pointer-events: none; }

/* 页面控制 */
.page { display: none; flex-direction: column; height: 100%; width: 100%; position: absolute; top: 0; left: 0; }
.page.active { display: flex; }

/* ====== 锁屏 ====== */
.lock-screen { 
    background: url('image/lock_bg.jpg') center/cover; 
    color: #fff; justify-content: space-between; padding: 80px 0 40px; align-items: center; 
}
.lock-icon { font-size: 24px; margin-bottom: 5px; }
.lock-time { font-size: 85px; font-weight: 300; letter-spacing: -3px; text-shadow: 0 4px 15px rgba(0,0,0,0.4);}
.lock-date { font-size: 18px; font-weight: 500; margin-top: -10px; text-shadow: 0 2px 10px rgba(0,0,0,0.4);}
.lock-swipe { font-size: 14px; opacity: 0.9; animation: bounce 2s infinite; margin-bottom: 20px;}
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ====== 设定 ====== */
.setup { padding: 60px 25px 20px; background: #F5F0EC; height: 100%; display: flex; flex-direction: column; }
.setup-header { margin-bottom: 30px; }
.setup-label { font-size: 13px; font-weight: 600; color: #5C3A2E; margin-bottom: 8px; }
.name-input { width: 100%; height: 54px; border: 1.5px solid rgba(216,160,160,0.5); border-radius: 14px; padding: 0 18px; font-size: 17px; outline: none; background: rgba(255,255,255,0.92); font-weight: 500; color: #1a1a1a; transition: border-color .2s, background .2s; }
.name-input::placeholder { color: #b5a8a2; }
.name-input:focus { border-color: #d4a3a3; background: rgba(255,255,255,0.9); }
.setup-hint { font-size: 13px; color: #888; margin-top: 10px; }
.role-title { font-size: 15px; font-weight: 700; color: #1a1a1a; margin-bottom: 15px; }
.role-grid { display: grid; gap: 15px; margin-bottom: 30px; }
.role-card { background: #fff; border-radius: 14px; padding: 8px; border: 1.5px solid #ece6e0; cursor: pointer; transition: border-color .2s, background .2s; position: relative; }
.role-card.target { border-color: #e89aae; background: #fff5f7; }
.role-card.ex { border-color: #e05a5a; background: #fff0f0; }
.role-card.target::after,
.role-card.ex::after {
    position: absolute; top: 10px; right: 10px;
    font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 8px; color: #fff;
}
.role-card.target::after { content: '攻略'; background: #e89aae; }
.role-card.ex::after { content: '前任'; background: #e05a5a; }
.role-card img { width: 100%; aspect-ratio: 1/1; border-radius: 10px; object-fit: cover; margin-bottom: 8px; display: block; }
.role-card span { font-size: 13px; font-weight: 600; color: #1a1a1a; display: block; text-align: left; padding: 0 4px; }
.start-btn { width: 100%; height: 52px; background: #C2BEB8; color: #fff; border-radius: 0; display: flex; justify-content: center; align-items: center; padding: 0 20px; font-size: 16px; font-weight: 600; margin-top: auto; cursor: pointer; transition: background .2s; }
.setup:has(.role-card.target):has(.role-card.ex) .start-btn { background: #1a1a1a; cursor: pointer; }

/* ====== 桌面 ====== */
.home {
    padding: 70px 18px 0;
    background: url('image/home_bg.jpg') center/cover;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.app-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 14px;
    padding: 0 6px;
}
.app {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    font-size: 11px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin-bottom: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.35);
    overflow: hidden;
}
/* 日历图标 */
.icon-cal { background: #fff; flex-direction: column; padding: 4px 0; }
.icon-cal .cal-top { font-size: 8px; color: #FF3B30; font-weight: 700; line-height: 1; }
.icon-cal .cal-num { font-size: 26px; color: #1c1c1e; font-weight: 700; line-height: 1.1; }
/* 时钟图标 */
.icon-clock { background: #fff; position: relative; }
.clock-face {
    width: 38px; height: 38px; border-radius: 50%;
    border: 2px solid #1c1c1e; position: relative;
}
.clock-face::before { content:''; position:absolute; left:50%; top:50%; width:2px; height:12px; background:#1c1c1e; transform-origin:bottom; transform:translate(-50%,-100%) rotate(0deg); }
.clock-face::after { content:''; position:absolute; left:50%; top:50%; width:2px; height:9px; background:#FF3B30; transform-origin:bottom; transform:translate(-50%,-100%) rotate(110deg); }
/* 设置图标 */
.icon-setting { background: #8E8E93; }
.icon-setting .badge {
    position: absolute; top: -4px; right: -4px;
    background: #FF3B30; color: #fff; font-size: 11px;
    min-width: 18px; height: 18px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; padding: 0 4px;
}
.icon-setting { position: relative; }
/* 备忘录图标 */
.icon-note { background: #fff; flex-direction: column; justify-content: flex-start; padding: 6px 8px; gap: 4px; }
.icon-note::before { content:''; width: 100%; height: 12px; background: #FFCC00; border-radius: 2px; }
.icon-note::after { content:''; width: 70%; height: 3px; background: #d1d1d6; border-radius: 2px; box-shadow: 0 7px 0 #d1d1d6, 0 14px 0 #d1d1d6; }
/* Instagram 图标 */
.icon-ig {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    position: relative;
}
.icon-ig::before {
    content:''; position:absolute; width:26px; height:26px; border:2.5px solid #fff; border-radius:8px;
}
.icon-ig::after {
    content:''; position:absolute; width:10px; height:10px; border:2.5px solid #fff; border-radius:50%;
}
/* 搜索按钮 */
.search-btn {
    align-self: center;
    background: rgba(118,118,128,0.5);
    color: #fff;
    font-size: 14px;
    padding: 9px 22px;
    border-radius: 20px;
    margin: 30px 0 18px;
}
/* Dock 栏 */
.dock {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding: 14px 16px;
    margin: 0 -4px 30px;
    background: rgba(255,255,255,0.35);
    border-radius: 28px;
}
.dock .app span { display: none; }
.dock .icon { margin-bottom: 0; }
/* 照片图标 */
.icon-photos {
    background: #fff;
    position: relative;
}
.icon-photos::before {
    content:''; position:absolute; inset:8px; border-radius:50%;
    background: conic-gradient(from 0deg, #FF3B30, #FF9500, #FFCC00, #34C759, #00C7BE, #007AFF, #AF52DE, #FF2D55, #FF3B30);
}
/* 联系人图标 */
.icon-contact { background: #C7C7CC; position: relative; }
.icon-contact::before {
    content:''; position:absolute; top:12px; left:50%; transform:translateX(-50%);
    width:18px; height:18px; border-radius:50%; background:#8E8E93;
}
.icon-contact::after {
    content:''; position:absolute; bottom:8px; left:50%; transform:translateX(-50%);
    width:30px; height:16px; border-radius:15px 15px 0 0; background:#8E8E93;
}

/* ====== 聊天 ====== */
.chat-container { background: #b2c7d9; height: 100%; display: flex; flex-direction: column;}
.nav { height: 54px; display: flex; align-items: center; padding: 0 15px; background: rgba(237, 237, 237, 0.9); border-bottom: 0.5px solid rgba(0,0,0,0.15); flex-shrink: 0;}
.back { font-size: 28px; color: #007aff; cursor: pointer; padding-right: 10px; }
.title { font-size: 17px; font-weight: 600; flex: 1; text-align: center; margin-right: 25px; color: #000; }
.chat-area { flex: 1; padding: 20px 15px 10px; display: flex; flex-direction: column; gap: 20px; overflow-y: auto; }
.msg-row { display: flex; align-items: flex-start; gap: 10px; max-width: 85%; }
.msg-row-right { align-self: flex-end; flex-direction: row-reverse; }

/* 聊天头像 */
.avatar { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; background: #ccc; }

.bubble { padding: 12px 16px; border-radius: 16px; font-size: 15px; line-height: 1.5; }
.bubble-left { background: #fff; color: #000; border-top-left-radius: 4px; }
.bubble-right { background: #fee500; color: #000; border-top-right-radius: 4px; }
.sys-msg { text-align: center; font-size: 12px; color: #666; background: #e0e0e0; padding: 6px 12px; border-radius: 10px; align-self: center; }
.options { padding: 10px 15px 30px; display: flex; flex-direction: column; gap: 10px; background: rgba(255,255,255,0.8); border-top: 1px solid #ddd; flex-shrink: 0;}
.opt { background: #fff; border: 1.5px solid #d4a3a3; color: #333; padding: 14px; border-radius: 20px; text-align: center; font-size: 15px; font-weight: 600; cursor: pointer; }

/* 推特与 Threads 占位 */
.app-head { height: 54px; display: flex; align-items: center; padding: 0 15px; border-bottom: 1px solid #eee; background: #fff; flex-shrink: 0; }

/* ====== X 推特（游戏内） ====== */
.x-page { background: #fff; color: #0f1419; padding-top: 54px; }
.x-page .xp-scroll::-webkit-scrollbar { width: 0; height: 0; }
.x-page .xp-scroll { scrollbar-width: none; }

.xp-topbar {
    height: 52px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 14px; background: #fff;
    border-bottom: 1px solid #eff3f4;
}
.xp-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: #cfd9de; }
.xp-logo { font-size: 23px; font-weight: 900; font-family: Arial, Helvetica, sans-serif; letter-spacing: -1px; }
.xp-plus { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.xp-plus svg { width: 22px; height: 22px; }

.xp-tabs { display: flex; flex-shrink: 0; border-bottom: 1px solid #eff3f4; background: #fff; }
.xp-tab { flex: 1; text-align: center; padding: 13px 0 11px; font-size: 14px; color: #536471; border-bottom: 2px solid transparent; }
.xp-tab.active { color: #0f1419; font-weight: 700; border-bottom-color: #0f1419; }

.xp-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }

.xp-tweet { padding: 13px 14px 6px; }
.xp-head { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.xp-tweet-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #cfd9de; flex-shrink: 0; }
.xp-name-row { display: flex; align-items: center; gap: 4px; }
.xp-name { font-size: 15px; font-weight: 700; line-height: 1.2; }
.xp-verified { width: 15px; height: 15px; flex-shrink: 0; }
.xp-meta { font-size: 12.5px; color: #536471; margin-top: 2px; }

.xp-text { font-size: 14.5px; line-height: 1.45; margin-bottom: 10px; word-break: break-word; }
.xp-tags { color: #1d9bf0; margin-top: 2px; }

.xp-img { width: 100%; display: block; border-radius: 16px; object-fit: cover; background: #cfd9de; }

.xp-actions { display: flex; justify-content: space-between; align-items: center; padding: 8px 2px 10px; color: #536471; font-size: 12.5px; }
.xp-action { display: flex; align-items: center; gap: 5px; padding: 6px 7px; border-radius: 999px; cursor: pointer; }
.xp-action svg { width: 17px; height: 17px; stroke: currentColor; fill: none; }
.xp-action.liked { color: #f91880; }
.xp-action.liked svg { fill: #f91880; stroke: #f91880; }

.xp-fab {
    position: absolute; right: 16px; bottom: 72px;
    width: 52px; height: 52px; border-radius: 50%;
    background: #1DA1F2; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px rgba(29, 161, 242, 0.4);
    z-index: 10;
}
.xp-fab svg { width: 22px; height: 22px; stroke-width: 2.2; }

.xp-nav {
    flex-shrink: 0; height: 56px;
    display: flex; align-items: center; justify-content: space-around;
    background: #fff; border-top: 1px solid #eff3f4;
}
.xp-nav-item { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; cursor: pointer; }
.xp-nav-item svg { width: 22px; height: 22px; stroke: #536471; fill: none; }
.xp-nav-item.active svg { stroke: #0f1419; }

/* ====== 密码页 ====== */
.password-page {
    background: #000;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 90px 40px 40px;
}
.pw-title {
    color: #fff;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 14px;
}
.pw-sub {
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 36px;
}
.pw-dots {
    display: flex;
    gap: 22px;
    margin-bottom: 40px;
}
.pw-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.6);
}
.pw-dot.filled {
    background: #fff;
    border-color: #fff;
}
.pw-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 28px;
    margin-bottom: 30px;
}
.pw-key {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #2C2C2E;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s;
}
.pw-key:active {
    background: #48484A;
}
.pw-key.pw-empty {
    background: transparent;
    cursor: default;
}
.pw-key.pw-del {
    background: transparent;
    color: #fff;
    font-size: 24px;
}
.pw-num {
    color: #fff;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
}
.pw-letters {
    color: rgba(255,255,255,0.7);
    font-size: 10px;
    letter-spacing: 1px;
    margin-top: 3px;
}
.pw-cancel {
    color: #fff;
    font-size: 15px;
    margin-top: 10px;
    cursor: pointer;
}

/* ====== Instagram 主页 ====== */
.ins-page { background: #fff; padding-top: 54px; color: #000; }
.ins-icon { display: block; }

/* 顶部导航 */
.ins-header {
    height: 46px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 14px; background: #fff;
    border-bottom: 0.5px solid #efefef;
}
.ins-logo {
    font-family: 'Segoe Script', 'Brush Script MT', 'Snell Roundhand', cursive;
    font-size: 25px; font-weight: 700; letter-spacing: -0.5px;
}
.ins-heart-wrap { position: relative; }
.ins-red-dot {
    position: absolute; top: -2px; right: -2px;
    width: 8px; height: 8px; border-radius: 50%; background: #ff3b30;
}

/* 滚动区 */
.ins-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* 快拍 */
.ins-stories {
    display: flex; gap: 14px;
    padding: 12px 12px 10px;
    overflow-x: auto; overflow-y: hidden;
    scrollbar-width: none;
}
.ins-stories::-webkit-scrollbar { display: none; }
.ins-story {
    flex: 0 0 auto; width: 68px;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.ins-ring {
    position: relative;
    width: 66px; height: 66px; border-radius: 50%; padding: 2.5px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    display: flex;
}
.ins-ring-me { background: #d1d1d6; }
.ins-avatar {
    width: 100%; height: 100%; border-radius: 50%;
    border: 2.5px solid #fff; background: #fff; overflow: hidden;
}
.ins-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.ins-add {
    position: absolute; right: 1px; bottom: 1px;
    width: 20px; height: 20px; border-radius: 50%;
    background: #0095f6; color: #fff; font-size: 14px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid #fff; line-height: 1;
}
.ins-story-name {
    font-size: 11px; color: #262626;
    max-width: 68px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* 帖子 */
.ins-post { border-bottom: 0.5px solid #efefef; }
.ins-post-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.ins-post-avatar {
    width: 34px; height: 34px; border-radius: 50%; overflow: hidden;
    background: linear-gradient(135deg, #0a0e27, #2b3a67);
    color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 1px;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #fff; outline: 1.5px solid #dc2743;
}
.ins-post-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.ins-username { font-size: 13.5px; font-weight: 700; }
.ins-bluev { flex-shrink: 0; margin-left: -2px; }
.ins-more { margin-left: auto; font-size: 13px; letter-spacing: 1px; font-weight: 700; }

.ins-post-img {
    width: 100%; aspect-ratio: 4 / 5; position: relative;
    background: #cfcfcf; overflow: hidden;
    -webkit-user-select: none; user-select: none;
}
.ins-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 双击点赞的大红心 */
.ins-big-heart {
    position: absolute; top: 50%; left: 50%;
    width: 108px; height: 108px; margin: -54px 0 0 -54px;
    opacity: 0; pointer-events: none; z-index: 3;
    transform: scale(0.2);
}
.ins-big-heart svg { width: 100%; height: 100%; fill: #ED4956; filter: drop-shadow(0 3px 12px rgba(0,0,0,0.25)); }
.ins-big-heart.show { animation: insHeartPop 0.9s ease-out forwards; }

@keyframes insHeartPop {
    0%   { transform: scale(0.2); opacity: 0; }
    15%  { transform: scale(1.25); opacity: 1; }
    30%  { transform: scale(0.95); opacity: 1; }
    45%  { transform: scale(1.05); opacity: 1; }
    65%  { transform: scale(1);    opacity: 1; }
    100% { transform: scale(0.7);  opacity: 0; }
}
.ins-img-badge {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    background: rgba(0, 0, 0, 0.6); color: #fff;
    font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 11px;
}

.ins-actions { display: flex; align-items: center; gap: 16px; padding: 10px 12px 4px; }
.ins-actions .ins-icon { cursor: pointer; }
.ins-save { margin-left: auto; }

.ins-likes { padding: 0 12px; font-size: 14px; font-weight: 700; }
.ins-caption { padding: 5px 12px 0; font-size: 13.5px; line-height: 1.45; }
.ins-caption b { font-weight: 700; }
.ins-tag { color: #2b52c4; }
.ins-comments { padding: 6px 12px 0; font-size: 13px; color: #8e8e8e; }
.ins-time { padding: 4px 12px 16px; font-size: 11px; color: #8e8e8e; }

/* 底部导航 */
.ins-bottom { flex-shrink: 0; background: #fff; border-top: 0.5px solid #efefef; }
.ins-nav {
    height: 52px; display: flex; align-items: center; justify-content: space-around;
    padding: 0 8px;
}
.ins-nav-item { display: flex; align-items: center; justify-content: center; cursor: pointer; }
.ins-nav-avatar {
    width: 26px; height: 26px; border-radius: 50%; overflow: hidden;
    border: 1.5px solid #000;
}
.ins-nav-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ins-homebar {
    height: 22px; display: flex; align-items: center; justify-content: center;
    padding-bottom: 6px;
}
.ins-homebar::after {
    content: ''; width: 134px; height: 5px; border-radius: 3px; background: #000;
}

/* ====== 天气 ====== */
.weather-page {
    padding-top: 54px;
    background: linear-gradient(180deg, #4A90E2 0%, #2F6FB8 55%, #1C4F8F 100%);
    color: #fff;
}
.weather-head {
    height: 50px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 14px;
}
.weather-back { width: 28px; font-size: 28px; color: #fff; cursor: pointer; }
.weather-head-title { font-size: 16px; font-weight: 600; }
.weather-body { flex: 1; overflow-y: auto; padding: 0 18px 24px; text-align: center; }
.weather-city { font-size: 26px; font-weight: 500; margin-top: 8px; }
.weather-temp { font-size: 72px; font-weight: 300; line-height: 1.1; letter-spacing: -2px; }
.weather-desc { font-size: 17px; opacity: 0.9; }
.weather-range { font-size: 13px; opacity: 0.75; margin-top: 4px; margin-bottom: 18px; }

.weather-hourly {
    display: flex; justify-content: space-between;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 16px; padding: 12px 6px; margin-bottom: 12px;
}
.w-hour { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: 11px; opacity: 0.95; }
.w-hour b { font-size: 14px; font-weight: 600; }

.weather-days {
    background: rgba(255, 255, 255, 0.14);
    border-radius: 16px; padding: 6px 14px; text-align: left;
}
.w-day {
    display: flex; align-items: center; justify-content: space-between;
    padding: 9px 0; font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.w-day:last-child { border-bottom: none; }
.w-day span:first-child { width: 68px; opacity: 0.9; }
.w-day span:nth-child(2) { flex: 1; opacity: 0.8; }
.w-day span:last-child { opacity: 0.9; }

/* ====== 时钟 ====== */
.clock-page { padding-top: 54px; background: #000; color: #fff; }
.clock-head {
    height: 50px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 14px;
}
.clock-back { width: 28px; font-size: 28px; color: #fff; cursor: pointer; }
.clock-head-title { font-size: 16px; font-weight: 600; }

.clock-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 40px; }
.clock-face-big {
    position: relative; width: 232px; height: 232px;
    border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.16);
    margin-bottom: 26px;
}
.clock-tick { position: absolute; width: 2px; height: 8px; background: rgba(255, 255, 255, 0.5); }
.t12 { top: 10px; left: 50%; transform: translateX(-50%); }
.t6  { bottom: 10px; left: 50%; transform: translateX(-50%); }
.t3  { right: 10px; top: 50%; transform: translateY(-50%) rotate(90deg); }
.t9  { left: 10px; top: 50%; transform: translateY(-50%) rotate(90deg); }

.clock-hand { position: absolute; left: 50%; bottom: 50%; transform-origin: bottom center; border-radius: 2px; }
.hour-hand   { width: 4px; height: 62px; margin-left: -2px; background: #fff; transform: rotate(305deg); }
.minute-hand { width: 3px; height: 92px; margin-left: -1.5px; background: #fff; transform: rotate(60deg); }
.second-hand { width: 1.5px; height: 100px; margin-left: -0.75px; background: #FF9F0A; transform: rotate(180deg); }
.clock-center {
    position: absolute; left: 50%; top: 50%;
    width: 8px; height: 8px; margin: -4px 0 0 -4px;
    border-radius: 50%; background: #fff;
}

.clock-digital { font-size: 42px; font-weight: 300; letter-spacing: 1px; }
.clock-date { font-size: 13px; color: rgba(255, 255, 255, 0.55); margin-top: 6px; }

/* ====== 备忘录 ====== */
.notes-page { padding-top: 54px; background: #f7f5f0; color: #1c1c1e; }
.notes-add { width: 28px; text-align: center; font-size: 24px; color: #c9a227; }
.notes-list { flex: 1; overflow-y: auto; padding: 12px 14px 24px; }
.note-card {
    background: #fff; border-radius: 14px;
    padding: 13px 15px; margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.note-title { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.note-preview {
    font-size: 13px; color: #6b6b70; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.note-date { font-size: 11px; color: #a0a0a5; margin-top: 7px; }

/* ====== Weverse ====== */
.wv-page { padding-top: 54px; background: #fff; color: #1c1c1e; }

.wv-hero {
    position: relative;
    height: 190px;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #33384f, #15171f);
}
.wv-hero-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.wv-hero-mask {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.82) 100%);
}
.wv-back {
    position: absolute; top: 10px; left: 12px;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: #fff; cursor: pointer; z-index: 2;
}
.wv-hero-text { position: absolute; left: 16px; bottom: 16px; color: #fff; z-index: 2; }
.wv-hero-title { font-size: 30px; font-weight: 800; letter-spacing: 2px; }
.wv-hero-sub { font-size: 12px; opacity: 0.85; margin-top: 2px; }

.wv-tabs { display: flex; flex-shrink: 0; border-bottom: 1px solid #eee; }
.wv-tab { flex: 1; text-align: center; padding: 12px 0 11px; font-size: 14px; color: #8a8a8e; }
.wv-tab.active { color: #111; font-weight: 700; border-bottom: 2px solid #111; }

.wv-list { flex: 1; overflow-y: auto; padding: 0 16px; }
.wv-item { padding: 14px 0; border-bottom: 1px solid #eee; }
.wv-item-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.wv-badge {
    font-size: 10px; font-weight: 700; color: #fff;
    background: #000; padding: 2px 6px; border-radius: 4px; letter-spacing: 0.5px;
}
.wv-badge-gray { background: #8a8a8e; }
.wv-date { font-size: 11px; color: #a0a0a5; }
.wv-item-title { font-size: 15px; font-weight: 600; line-height: 1.35; }
.wv-item-desc { font-size: 12.5px; color: #777; line-height: 1.45; margin-top: 4px; }

/* ====== 音乐播放器 ====== */
.music-page {
    background: linear-gradient(180deg, #eaf2fb 0%, #f2f6fb 45%, #fdeef3 100%);
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 54px 0 20px;
    overflow-y: auto;
}
.music-page::-webkit-scrollbar { width: 0; height: 0; }
.music-page { scrollbar-width: none; }

.music-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 46px;
    flex-shrink: 0;
}
.music-collapse { width: 30px; cursor: pointer; }
.music-collapse svg { width: 24px; height: 24px; stroke: #4a4d53; fill: none; stroke-width: 2; }

.music-pager { display: flex; gap: 5px; }
.music-pager i { display: block; width: 6px; height: 6px; border-radius: 50%; background: #d2d8e0; }
.music-pager i.on { background: #5d6470; }

.music-tools { display: flex; align-items: center; gap: 8px; }
.music-tool {
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; color: #5d6470;
}
.music-tool svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }
.music-tool-green { color: #3aa76d; font-weight: 700; }
.music-avatar {
    width: 30px; height: 30px; border-radius: 50%;
    background: linear-gradient(135deg, #7ed957, #3aa76d);
    color: #fff; font-size: 10px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}

/* 黑胶唱机卡片 */
.music-deck {
    position: relative;
    width: 84%;
    max-width: 330px;
    aspect-ratio: 1 / 1.02;
    margin: 12px auto 0;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(70, 100, 140, 0.16);
    flex-shrink: 0;
}
.music-vinyl {
    position: absolute;
    left: 7%;
    top: 6%;
    width: 76%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: repeating-radial-gradient(circle at 50% 50%, #c6d2df 0 2px, #aebccd 2px 5px);
    box-shadow: inset 0 0 30px rgba(40, 60, 80, 0.25), 0 8px 20px rgba(0, 0, 0, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
}
.music-cover {
    width: 58%;
    height: 58%;
    border-radius: 50%;
    object-fit: cover;
    animation: spinCover 20s linear infinite;
    animation-play-state: paused;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.35);
}
.music-cover.playing { animation-play-state: running; }
@keyframes spinCover { 100% { transform: rotate(360deg); } }

.music-arm {
    position: absolute;
    right: 5%;
    top: 2%;
    width: 58px;
    height: 74%;
    pointer-events: none;
}
.music-arm-top {
    position: absolute;
    right: 2px;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(180deg, #f4f6f8, #b7bfc9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.18);
}
.music-arm-rod {
    position: absolute;
    right: 10px;
    top: 14px;
    width: 3px;
    height: 66%;
    border-radius: 2px;
    background: linear-gradient(90deg, #cfd5dd, #8d97a3, #cfd5dd);
    transform: rotate(7deg);
    transform-origin: top center;
}
.music-arm-head {
    position: absolute;
    right: 0;
    bottom: 2%;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(180deg, #f2f4f6, #c2cad3);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

/* 歌曲信息 */
.music-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 24px 24px 0;
}
.music-title { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; }
.music-like { display: flex; align-items: center; gap: 5px; color: #8a8f98; font-size: 12px; }
.music-like svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; }

.music-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 24px 0;
}
.music-artist { font-size: 13px; color: #333; margin-right: 2px; }
.music-chip {
    font-size: 10.5px;
    color: #7b7f87;
    background: rgba(70, 90, 120, 0.07);
    padding: 3px 7px;
    border-radius: 6px;
}

.music-lyric { margin: 20px 24px 0; font-size: 16px; color: #3d3d3d; }

.music-subbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 32px 22px 0;
    color: #7c8087;
}
.music-sub { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; }
.music-sub svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; }

.music-progress { margin: 14px 22px 0; }
.music-track { position: relative; height: 3px; border-radius: 2px; background: #d9dde3; }
.music-fill { position: relative; width: 22%; height: 3px; border-radius: 2px; background: #1b1b1b; }
.music-knob {
    position: absolute; right: -5px; top: -3px;
    width: 9px; height: 9px; border-radius: 50%; background: #1b1b1b;
}
.music-knob2 {
    position: absolute; left: 33%; top: -1px;
    width: 5px; height: 5px; border-radius: 50%; background: #6f747c;
}
.music-times { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: #8b8f96; }

.music-transport {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 16px 26px 0;
}
.music-side { display: flex; align-items: center; justify-content: center; cursor: pointer; }
.music-side svg { width: 24px; height: 24px; stroke: #4a4d53; fill: none; stroke-width: 1.8; }

.music-play {
    width: 62px; height: 62px; border-radius: 50%;
    background: #111; color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; flex-shrink: 0;
    transition: transform 0.1s;
}
.music-play:active { transform: scale(0.94); }
.music-play svg { width: 26px; height: 26px; fill: #fff; }
.music-ico-pause { display: none; }
.music-play.playing .music-ico-play { display: none; }
.music-play.playing .music-ico-pause { display: block; }

.music-tip { margin-top: 14px; text-align: center; font-size: 11.5px; color: #9aa0a8; }
.music-tip b { color: #c8912f; font-weight: 600; }

/* ====== 桌面音乐小组件 ====== */
.home-widget {
    margin: 18px 16px 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    gap: 12px;
    cursor: pointer;
}
.widget-cover {
    width: 80px;
    height: 80px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
}
.widget-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.widget-info { display: flex; flex-direction: column; gap: 2px; }
.widget-title {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.widget-artist {
    font-size: 12px;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.widget-progress {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #888;
}
.widget-progress-track {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.12);
    overflow: hidden;
}
.widget-progress-bar {
    height: 100%;
    width: 0%;
    background: #111;
    border-radius: 2px;
    transition: width 0.2s linear;
}
.widget-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #111;
    font-size: 15px;
}
.widget-ctrl { cursor: pointer; user-select: none; }
.widget-play { font-size: 18px; }

/* ============ KKT 风格聊天样式（追加） ============ */

/* 系统旁白：居中灰色小字，无头像无气泡 */
.msg-system {
    text-align: center;
    color: #999;
    font-size: 12.5px;
    padding: 10px 20px;
    margin: 6px 0;
    line-height: 1.5;
    background: transparent;
}

/* 左侧 NPC 布局 */
.chat-left {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0;
}
.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.chat-left-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 75%;
}
.chat-name {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}
.bubble-npc {
    background: #fff;
    color: #111;
    border-radius: 16px;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    word-break: break-word;
}

/* 右侧玩家布局 */
.chat-right {
    display: flex;
    justify-content: flex-end;
    margin: 10px 0;
}
.bubble-player {
    background: #FEE500;
    color: #111;
    border-radius: 16px;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    max-width: 75%;
    word-break: break-word;
}

/* 选项按钮美化（KKT 输入框风格） */
.options-area {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
}
.options-area .opt {
    background: rgba(255,255,255,0.94);
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 13.5px;
    color: #333;
    cursor: pointer;
    transition: all 0.15s;
    border: 1px solid rgba(0,0,0,0.06);
    text-align: center;
}
.options-area .opt:hover {
    background: #FEE500;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ============ KKT 风格微调 ============ */

/* 聊天背景：浅灰蓝（更接近 KakaoTalk） */
#page-chat { background: #F2F3F5 !important; }
#chatArea { background: #F2F3F5; }

/* bubble-npc 更明显的阴影 */
.bubble-npc {
    background: #fff;
    color: #111;
    border-radius: 16px;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    word-break: break-word;
}

/* 选项按钮覆盖：去掉红色边框，白底+浅灰边框 */
.options-area .opt {
    background: rgba(255,255,255,0.95);
    border: 1px solid #E5E7EB;
    color: #333;
}
.options-area .opt:hover {
    background: #FEE500;
    border-color: #E5C800;
}

/* ============ 数值变动飘字 Toast ============ */
.stat-toast {
    position: fixed;
    left: 50%;
    bottom: 140px;
    transform: translateX(-50%) translateY(20px);
    background: rgba(30, 30, 30, 0.95);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 22px;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    white-space: nowrap;
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}
.stat-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ============ 好感度面板 page-status ============ */
.st-page {
    background: linear-gradient(180deg, #FFF5F7 0%, #FFFFFF 30%);
    color: #222;
    display: flex;
    flex-direction: column;
    padding: 60px 20px 40px;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.st-head {
    display: flex;
    align-items: center;
    padding: 10px 0 20px;
}
.st-back { font-size: 28px; cursor: pointer; font-weight: 300; line-height: 1; padding: 0 4px; }
.st-title { font-size: 17px; font-weight: 700; margin: 0 auto; transform: translateX(-10px); }
.st-spacer { width: 28px; }

.st-summary {
    background: rgba(255,255,255,0.94);
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.st-section-title {
    font-size: 12px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0 8px;
}

.st-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.st-row {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #fff;
    padding: 12px 14px;
    border-radius: 14px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}
.st-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.st-row-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.st-row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.st-row-name {
    font-size: 14px;
    font-weight: 600;
    color: #222;
}
.st-row-val {
    font-size: 13px;
    font-weight: 700;
    color: #FF6B81;
}
.st-bar-bg {
    height: 6px;
    background: #F0F0F0;
    border-radius: 3px;
    overflow: hidden;
}
.st-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}
.st-empty {
    text-align: center;
    color: #bbb;
    font-size: 12px;
    padding: 20px;
}

/* ============ 短信弹窗 ============ */
.hidden { display: none !important; }

#sms-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.25s ease;
}
#sms-modal.show {
    opacity: 1;
}
.sms-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    max-width: 340px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: smsPop 0.25s ease;
}
@keyframes smsPop {
    from { transform: scale(0.95) translateY(10px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}
.sms-header {
    font-size: 12px;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.sms-sender {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
}
.sms-content {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    padding: 16px;
    background: #F5F5F7;
    border-radius: 12px;
    margin-bottom: 20px;
}
.sms-replies {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sms-reply-btn {
    background: #FEE500;
    color: #111;
    padding: 12px 16px;
    border-radius: 14px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s ease;
    border: none;
}
.sms-reply-btn:last-child {
    background: #fff;
    border: 1px solid #E5E7EB;
    color: #333;
}
.sms-reply-btn:active {
    transform: scale(0.97);
}

/* ============ 刷新后「继续游戏 / 重新开始」弹窗 ============ */
#resume-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.25s ease;
}
#resume-modal.show {
    opacity: 1;
}
.resume-card {
    background: #fff;
    border-radius: 20px;
    padding: 26px 22px;
    max-width: 300px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: smsPop 0.25s ease;
}
.resume-badge {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 1px;
    color: #9a7b00;
    background: #FFF6CC;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.resume-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}
.resume-sub {
    font-size: 12px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 18px;
    word-break: break-all;
}
.resume-btn {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.1s ease;
}
.resume-btn.primary {
    background: #FEE500;
    color: #111;
    border: none;
}
.resume-btn.ghost {
    background: #fff;
    border: 1px solid #E5E7EB;
    color: #555;
}
.resume-btn:active {
    transform: scale(0.97);
}

/* ============ 周日剧情按钮（Ins 内） ============ */
.ins-story-next {
    position: absolute;
    left: 50%;
    bottom: 84px;
    transform: translateX(-50%);
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    z-index: 20;
    white-space: nowrap;
}

/* ============ 舆论文字帖（无图） ============ */
.ins-drama-body {
    padding: 8px 14px 12px;
}
.ins-drama-text {
    font-size: 14px;
    line-height: 1.7;
    color: #111;
    white-space: pre-wrap;
    word-break: break-word;
}
.ins-drama-tags {
    margin-top: 8px;
}

/* ============ 周日动态 Ins 帖子评论区 ============ */
.ins-dyn-comment {
    padding: 2px 14px;
    font-size: 12px;
    line-height: 1.6;
    color: #333;
}
.ins-dyn-comment b {
    font-weight: 600;
    margin-right: 4px;
}

/* ============ 桌面的 KakaoTalk 新消息通知 ============ */
.kkt-noti {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    z-index: 30;
    opacity: 0;
    transform: translateY(-120%);
    transition: transform 0.45s cubic-bezier(0.22, 1.2, 0.36, 1), opacity 0.3s ease;
}
.kkt-noti.show {
    opacity: 1;
    transform: translateY(0);
}
.kkt-noti-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 12px;
    background: #FEE500;
    color: #391B1B;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.kkt-noti-body {
    flex: 1;
    min-width: 0;
}
.kkt-noti-title {
    font-size: 11px;
    font-weight: 700;
    color: #6B6B6B;
    margin-bottom: 2px;
}
.kkt-noti-text {
    font-size: 13px;
    font-weight: 600;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============ Instagram 私信通知卡片 ============ */
.ins-dm-card {
    align-self: center;
    width: 88%;
    background: #fff;
    border: 1px solid #EFEFEF;
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
    animation: insSlideDown 0.5s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}
@keyframes insSlideDown {
    0%   { opacity: 0; transform: translateY(-36px) scale(0.96); }
    60%  { opacity: 1; transform: translateY(6px) scale(1); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
.ins-dm-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.ins-dm-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F58529 0%, #DD2A7B 45%, #8134AF 75%, #515BD4 100%);
}
.ins-dm-app {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #8E8E8E;
}
.ins-dm-sender {
    font-size: 12px;
    color: #8E8E8E;
    margin-bottom: 4px;
}
.ins-dm-content {
    font-size: 14px;
    line-height: 1.55;
    color: #111;
    word-break: break-word;
}
/* ============ 拟真打字机 ============ */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    margin: 0 0 10px 14px;
    padding: 7px 12px;
    background: #fff;
    border-radius: 14px;
    font-size: 12px;
    color: #8a8a8a;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    animation: fadeIn 0.2s ease;
}
.typing-dots { display: inline-flex; gap: 3px; }
.typing-dots i {
    width: 4px; height: 4px; border-radius: 50%;
    background: #b5b5b5;
    animation: typingBounce 1s infinite;
}
.typing-dots i:nth-child(2) { animation-delay: 0.15s; }
.typing-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-3px); opacity: 1; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============ 桌面 Ins 红点 ============ */
.app { position: relative; }
.app-red-dot {
    position: absolute;
    top: -2px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff3b30;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15);
}

/* ============ 内心 OS ============ */
.os-item {
    background: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.os-date {
    font-size: 12px;
    color: #b08d57;
    font-weight: 600;
    margin-bottom: 6px;
}
.os-text {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
}

/* ============ Ins 搜索 ============ */
.ins-search-bar {
    padding: 8px 12px;
    background: #fff;
    position: relative;
    z-index: 5;
}
.ins-search-input-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f2f2f2;
    border-radius: 10px;
    padding: 8px 10px;
}
.ins-search-ico { font-size: 14px; color: #888; }
.ins-search-input {
    flex: 1;
    border: 0;
    background: transparent;
    outline: none;
    font-size: 13px;
    color: #333;
}
.ins-search-cancel {
    font-size: 12px;
    color: #888;
    cursor: pointer;
    padding: 0 4px;
}
.ins-search-chips {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}
.ins-chip {
    padding: 5px 10px;
    background: #eef0f3;
    border-radius: 14px;
    font-size: 12px;
    color: #444;
    cursor: pointer;
}
.ins-search-results { padding: 16px 14px; }
.ins-search-result {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.ins-search-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.ins-search-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}
.ins-search-name { font-size: 14px; font-weight: 600; }
.ins-search-id { font-size: 12px; color: #888; }
.ins-search-caption { font-size: 14px; line-height: 1.7; color: #222; }
.ins-search-meta { margin-top: 10px; font-size: 11px; color: #999; }
.ins-search-empty {
    padding: 40px 0;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* ============ Weverse LIVE 标签 ============ */
.wv-live-badge {
    position: absolute;
    top: -5px;
    right: 4px;
    z-index: 2;
    padding: 2px 6px;
    border-radius: 8px;
    background: #ff2d55;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.3;
    box-shadow: 0 1px 4px rgba(255, 45, 85, 0.45);
    animation: liveBreath 1.6s ease-in-out infinite;
}
@keyframes liveBreath {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.94); }
}

/* ============ Weverse 直播间弹窗 ============ */
#live-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: #000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.2s ease;
}
#live-modal.show { opacity: 1; }
.live-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 18px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.live-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}
.live-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #ff2d55;
    animation: liveDotBlink 1.1s infinite;
}
@keyframes liveDotBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}
.live-tag {
    background: #ff2d55;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}
.live-close {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 20px;
    padding: 4px 8px;
    cursor: pointer;
}
.live-stage {
    position: relative;
    flex: 1;
    overflow: hidden;
}
.live-danmaku {
    position: absolute;
    left: 100%;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    animation-name: liveFly;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    will-change: transform;
}
@keyframes liveFly {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100vw - 100%)); }
}
.live-footer {
    padding: 12px 18px 22px;
    text-align: center;
    color: rgba(255,255,255,0.45);
    font-size: 11px;
}
