/* =========================================================================
   子屏日历 · 独立模块样式（日历详情 / 闹钟设置 / 好友选择 / 来电铃声 / 来电响铃）
   作者注：本文件仅服务于 sub-screen-calendar.js，与 style.css 解耦。
   兼容目标：iPhone(Safari) / 华为·小米·OPPO·魅族·vivo·三星 安卓机
            浏览器：Safari / Via / Chrome / Edge / 搜狗 / 雨见 / 夸克
   说明：尽量避免 :has()、aspect-ratio 强依赖、container query 等新特性；
        所有毛玻璃均带 -webkit- 前缀并提供纯色兜底。
   ========================================================================= */

/* 子屏「24 小时时间显示区域」：唯一的日历/闹钟入口，标记为可点击并加轻微可交互态。
   入口收窄到时间翻牌本身，避免滑动返回主屏时误触。
   注意：不改变盒模型/布局（不加 padding/margin/align-self），保持星期/月日/时间原始尺寸。 */
.sub-screen-flips.ssc-clock-clickable {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.16s ease, opacity 0.16s ease;
    touch-action: manipulation;
}
.sub-screen-flips.ssc-clock-clickable:active {
    transform: scale(0.97);
    opacity: 0.92;
}
/* 兼容旧标记：若仍落在整块上，也保留交互态（不再绑定点击） */
.sub-screen-clock-block.ssc-clock-clickable {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    border-radius: 16px;
    transition: transform 0.16s ease, opacity 0.16s ease;
}
.sub-screen-clock-block.ssc-clock-clickable:active {
    transform: scale(0.985);
    opacity: 0.92;
}

/* 时钟上的闹钟小徽标（开启闹钟后出现） */
.ssc-clock-alarm-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    align-self: flex-start;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 600;
    color: #5b4b8a;
    background: rgba(157, 78, 221, 0.14);
    border: 1px solid rgba(157, 78, 221, 0.22);
    white-space: nowrap;
}
.ssc-clock-alarm-badge[hidden] { display: none !important; }
.ssc-clock-alarm-badge .ssc-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9d4edd;
    box-shadow: 0 0 0 3px rgba(157, 78, 221, 0.18);
}

/* ===================== 通用浮层骨架 ===================== */
.ssc-overlay {
    /* 关键：相对「小手机外壳 #app」绝对定位，浮层尺寸与手机屏幕一致，
       不再铺满整个浏览器窗口（与语音通话层 .voice-call-global-root 同款做法）。 */
    position: absolute;
    inset: 0;
    z-index: 100120;
    display: flex;
    flex-direction: column;
    background: rgba(20, 18, 30, 0.42);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
    -webkit-overflow-scrolling: touch;
}
.ssc-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* 面板：从底部滑入的卡片 */
.ssc-sheet {
    margin-top: auto;
    width: 100%;
    max-height: 92%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #f6f4fb 0%, #eef0f7 100%);
    border-radius: 26px 26px 0 0;
    box-shadow: 0 -14px 40px rgba(40, 30, 70, 0.28);
    transform: translateY(18px);
    transition: transform 0.26s cubic-bezier(0.22, 0.61, 0.36, 1);
    overflow: hidden;
    box-sizing: border-box;
}
.ssc-overlay.is-open .ssc-sheet { transform: translateY(0); }

/* 全屏型面板（闹钟编辑、来电） */
.ssc-overlay--full .ssc-sheet {
    margin-top: 0;
    max-height: 100%;
    height: 100%;
    border-radius: 0;
}

.ssc-sheet-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 16px 18px 10px;
}
.ssc-sheet-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c2740;
    letter-spacing: 0.5px;
}
.ssc-sheet-sub {
    font-size: 12px;
    color: rgba(60, 52, 88, 0.6);
    margin-top: 2px;
}
.ssc-icon-btn {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(120, 110, 160, 0.12);
    color: #4a4368;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.ssc-icon-btn:active { background: rgba(120, 110, 160, 0.22); }

.ssc-sheet-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 4px 16px 22px;
    box-sizing: border-box;
    /* 隐藏滚动条但保留滚动能力（Firefox / 旧 IE/Edge / 内核兼容） */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
/* WebKit / Blink 内核（Safari/Chrome/Edge/搜狗/夸克/Via/雨见 等）隐藏滚动条 */
.ssc-sheet-body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    background: transparent;
}

/* 主操作按钮 */
.ssc-primary-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 14px;
    padding: 14px 16px;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #9d4edd 0%, #7b5cff 100%);
    box-shadow: 0 10px 24px rgba(123, 92, 255, 0.32);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.ssc-primary-btn:active { transform: translateY(1px); }
.ssc-primary-btn[disabled] {
    opacity: 0.5;
    box-shadow: none;
    cursor: not-allowed;
}
.ssc-ghost-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
    padding: 12px 16px;
    border: 1px solid rgba(120, 110, 160, 0.26);
    border-radius: 16px;
    font-size: 15px;
    font-weight: 600;
    color: #5a5280;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.ssc-ghost-btn:active { background: rgba(120, 110, 160, 0.1); }

/* ===================== 日历详情面板 ===================== */
.ssc-alarm-entry {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.16) 0%, rgba(123, 92, 255, 0.12) 100%);
    border: 1px solid rgba(157, 78, 221, 0.2);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.ssc-alarm-entry:active { transform: scale(0.99); }
.ssc-alarm-entry-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #9d4edd, #7b5cff);
    color: #fff;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(123, 92, 255, 0.3);
}
.ssc-alarm-entry-main { flex: 1; min-width: 0; }
.ssc-alarm-entry-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c2740;
}
.ssc-alarm-entry-desc {
    margin-top: 3px;
    font-size: 12.5px;
    color: rgba(60, 52, 88, 0.7);
    line-height: 1.4;
    word-break: break-all;
}
.ssc-alarm-entry-arrow {
    flex-shrink: 0;
    font-size: 20px;
    color: rgba(90, 80, 130, 0.5);
}

/* 大日历 */
.ssc-cal {
    margin-top: 18px;
    background: #fff;
    border-radius: 20px;
    padding: 14px 14px 16px;
    box-shadow: 0 8px 22px rgba(80, 70, 120, 0.08);
}
.ssc-cal-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.ssc-cal-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c2740;
}
.ssc-cal-nav {
    display: flex;
    gap: 6px;
}
.ssc-cal-nav button {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 10px;
    background: rgba(120, 110, 160, 0.1);
    color: #4a4368;
    font-size: 16px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.ssc-cal-nav button:active { background: rgba(120, 110, 160, 0.2); }
.ssc-cal-head,
.ssc-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
}
.ssc-cal-head {
    font-size: 11px;
    color: rgba(60, 52, 88, 0.5);
    margin-bottom: 6px;
}
.ssc-cal-grid { gap: 4px 2px; }
.ssc-cal-cell {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #3a3550;
    border-radius: 12px;
}
.ssc-cal-cell.is-empty { visibility: hidden; }
.ssc-cal-cell.is-today {
    background: linear-gradient(135deg, #9d4edd, #7b5cff);
    color: #fff;
    font-weight: 700;
}

/* ===================== 闹钟编辑：时间轴 ===================== */
.ssc-time-picker {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    position: relative;
    height: 200px;
    margin: 10px 0 6px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 22px rgba(80, 70, 120, 0.08);
    overflow: hidden;
}
/* 中央选中高亮带 */
.ssc-time-picker::before {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    top: 50%;
    height: 46px;
    transform: translateY(-50%);
    border-radius: 14px;
    background: rgba(157, 78, 221, 0.1);
    pointer-events: none;
    z-index: 0;
}
.ssc-wheel {
    position: relative;
    z-index: 1;
    flex: 0 0 84px;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    text-align: center;
    /* 由 JS 接管拖拽：禁用浏览器默认触摸滚动手势，避免真机上被 #app 的
       橡皮筋/手势处理拦截导致「按不住、拖不动」。 */
    touch-action: none;
    overscroll-behavior: contain;
    cursor: grab;
}
.ssc-wheel.is-dragging { cursor: grabbing; }
.ssc-wheel::-webkit-scrollbar { display: none; width: 0; height: 0; }
.ssc-wheel-item {
    height: 46px;
    line-height: 46px;
    scroll-snap-align: center;
    font-size: 24px;
    font-weight: 600;
    color: rgba(60, 52, 88, 0.32);
    transition: color 0.15s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}
.ssc-wheel-item.is-active {
    color: #2c2740;
    transform: scale(1.06);
}
.ssc-time-colon {
    z-index: 1;
    align-self: center;
    font-size: 26px;
    font-weight: 700;
    color: #2c2740;
    padding: 0 2px;
}
.ssc-time-hint {
    text-align: center;
    font-size: 12px;
    color: rgba(60, 52, 88, 0.55);
    margin-bottom: 6px;
}

/* ===================== 配置行（好友 / 铃声 / 重复 / 开关） ===================== */
.ssc-section-label {
    font-size: 13px;
    font-weight: 700;
    color: rgba(60, 52, 88, 0.78);
    margin: 18px 4px 8px;
}
.ssc-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(80, 70, 120, 0.06);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}
.ssc-row + .ssc-row { margin-top: 8px; }
.ssc-row:active { background: #faf9ff; }
.ssc-row-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: rgba(157, 78, 221, 0.12);
    color: #7b5cff;
    overflow: hidden;
}
.ssc-row-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ssc-row-main { flex: 1; min-width: 0; }
.ssc-row-title {
    font-size: 15px;
    font-weight: 600;
    color: #2c2740;
}
.ssc-row-value {
    margin-top: 2px;
    font-size: 12.5px;
    color: rgba(60, 52, 88, 0.62);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ssc-row-value.is-placeholder { color: rgba(157, 78, 221, 0.85); }
.ssc-row-arrow {
    flex-shrink: 0;
    font-size: 18px;
    color: rgba(90, 80, 130, 0.45);
}

/* 开关 */
.ssc-switch {
    position: relative;
    flex-shrink: 0;
    width: 50px;
    height: 30px;
    border-radius: 999px;
    background: rgba(120, 110, 160, 0.3);
    transition: background 0.2s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.ssc-switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}
.ssc-switch.is-on { background: linear-gradient(135deg, #9d4edd, #7b5cff); }
.ssc-switch.is-on::after { transform: translateX(20px); }

/* 前置条件提示卡 */
.ssc-precond {
    margin: 14px 0 0;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 184, 77, 0.12);
    border: 1px solid rgba(255, 159, 28, 0.28);
}
.ssc-precond[hidden] { display: none !important; }
.ssc-precond-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #a85b00;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ssc-precond-list {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}
.ssc-precond-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b4a1a;
    padding: 5px 0;
    line-height: 1.4;
}
.ssc-precond-item .ssc-precond-state {
    flex-shrink: 0;
    width: 18px;
    text-align: center;
    font-weight: 700;
}
.ssc-precond-item.is-ok .ssc-precond-state { color: #2e9e5b; }
.ssc-precond-item.is-bad .ssc-precond-state { color: #d9534f; }
.ssc-precond-fix {
    margin-left: auto;
    flex-shrink: 0;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    border-radius: 999px;
    background: #ff9f1c;
    color: #fff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.ssc-precond-fix[hidden] { display: none !important; }

/* ===================== 好友选择面板 ===================== */
.ssc-friend-list { margin-top: 4px; }
.ssc-friend-empty {
    text-align: center;
    color: rgba(60, 52, 88, 0.5);
    font-size: 14px;
    padding: 40px 0;
}
.ssc-friend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.ssc-friend-item:active { background: #faf9ff; }
.ssc-friend-item.is-selected { background: rgba(157, 78, 221, 0.1); }
.ssc-friend-avatar {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #c7b8f0, #9d8ce0);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.ssc-friend-name {
    flex: 1;
    min-width: 0;
    font-size: 15.5px;
    font-weight: 600;
    color: #2c2740;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ssc-friend-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(120, 110, 160, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}
.ssc-friend-item.is-selected .ssc-friend-check {
    background: linear-gradient(135deg, #9d4edd, #7b5cff);
    border-color: transparent;
}

/* ===================== 铃声选择 ===================== */
.ssc-ring-list { margin-top: 4px; }
.ssc-ring-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(80, 70, 120, 0.06);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.ssc-ring-item + .ssc-ring-item { margin-top: 8px; }
.ssc-ring-item.is-selected { box-shadow: 0 0 0 2px #9d4edd inset, 0 6px 16px rgba(123, 92, 255, 0.18); }
.ssc-ring-play {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(157, 78, 221, 0.12);
    color: #7b5cff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.ssc-ring-play.is-playing {
    background: linear-gradient(135deg, #9d4edd, #7b5cff);
    color: #fff;
}
.ssc-ring-main { flex: 1; min-width: 0; }
.ssc-ring-name {
    font-size: 15px;
    font-weight: 600;
    color: #2c2740;
}
.ssc-ring-sub {
    margin-top: 2px;
    font-size: 12px;
    color: rgba(60, 52, 88, 0.55);
}
.ssc-ring-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(120, 110, 160, 0.3);
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ssc-ring-item.is-selected .ssc-ring-check {
    background: linear-gradient(135deg, #9d4edd, #7b5cff);
    border-color: transparent;
}

/* ===================== 来电响铃全屏 ===================== */
.ssc-ring-overlay {
    position: absolute;
    inset: 0;
    z-index: 100140;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    background: linear-gradient(160deg, #2a2540 0%, #4a3a72 55%, #6a4d9e 100%);
    padding: calc(env(safe-area-inset-top, 0px) + 56px) 24px calc(env(safe-area-inset-bottom, 0px) + 48px);
    box-sizing: border-box;
    text-align: center;
}
.ssc-ring-overlay.is-open { display: flex; }
.ssc-ring-top { width: 100%; }
.ssc-ring-label {
    font-size: 14px;
    letter-spacing: 2px;
    opacity: 0.8;
}
.ssc-ring-caller-name {
    margin-top: 12px;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
}
.ssc-ring-subtitle {
    margin-top: 8px;
    font-size: 14px;
    opacity: 0.78;
}
.ssc-ring-mid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.ssc-ring-avatar {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35);
    animation: ssc-ring-pulse 1.8s ease-out infinite;
}
@keyframes ssc-ring-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.34); }
    70%  { box-shadow: 0 0 0 26px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
.ssc-ring-actions {
    width: 100%;
    max-width: 320px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.ssc-ring-act {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.ssc-ring-act-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}
.ssc-ring-act-decline .ssc-ring-act-btn { background: #ff4b55; }
.ssc-ring-act-accept .ssc-ring-act-btn {
    background: #2ecc71;
    animation: ssc-ring-accept-bounce 1.4s ease-in-out infinite;
}
@keyframes ssc-ring-accept-bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}
.ssc-ring-act-label { font-size: 13px; opacity: 0.9; }

/* ===================== 暗色模式 ===================== */
html[data-appearance="dark"] .ssc-sheet {
    background: linear-gradient(180deg, #221f2e 0%, #1b1925 100%);
}
html[data-appearance="dark"] .ssc-sheet-title,
html[data-appearance="dark"] .ssc-alarm-entry-title,
html[data-appearance="dark"] .ssc-cal-title,
html[data-appearance="dark"] .ssc-row-title,
html[data-appearance="dark"] .ssc-friend-name,
html[data-appearance="dark"] .ssc-ring-name,
html[data-appearance="dark"] .ssc-wheel-item.is-active,
html[data-appearance="dark"] .ssc-time-colon {
    color: #ece8f5;
}
html[data-appearance="dark"] .ssc-sheet-sub,
html[data-appearance="dark"] .ssc-alarm-entry-desc,
html[data-appearance="dark"] .ssc-row-value,
html[data-appearance="dark"] .ssc-ring-sub,
html[data-appearance="dark"] .ssc-cal-cell {
    color: rgba(220, 214, 240, 0.7);
}
html[data-appearance="dark"] .ssc-cal,
html[data-appearance="dark"] .ssc-time-picker,
html[data-appearance="dark"] .ssc-row,
html[data-appearance="dark"] .ssc-ring-item {
    background: #2b2738;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
html[data-appearance="dark"] .ssc-row:active,
html[data-appearance="dark"] .ssc-friend-item:active { background: #332e45; }
html[data-appearance="dark"] .ssc-cal-cell { color: rgba(220, 214, 240, 0.85); }
html[data-appearance="dark"] .ssc-icon-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #d8d2ec;
}
html[data-appearance="dark"] .ssc-wheel-item { color: rgba(220, 214, 240, 0.3); }

/* ===================== 细窄屏 / 矮屏适配 ===================== */
@media (max-height: 680px) {
    .ssc-time-picker { height: 168px; }
    .ssc-ring-avatar { width: 104px; height: 104px; font-size: 40px; }
    .ssc-ring-caller-name { font-size: 26px; }
}
@media (max-width: 340px) {
    .ssc-wheel { flex-basis: 70px; }
    .ssc-wheel-item { font-size: 21px; }
    .ssc-sheet-title { font-size: 16px; }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
    .ssc-ring-avatar,
    .ssc-ring-act-accept .ssc-ring-act-btn { animation: none; }
    .ssc-overlay, .ssc-sheet { transition: none; }
}
