@charset "utf-8";

@font-face {
    font-family: "Pacifico-Regular";
    src: url('../font/Pacifico-Regular.ttf') format('truetype');
}

@font-face {
    font-family: "UnidreamLED";
    src: url('../font/UnidreamLED.ttf') format('truetype');
}

:root {
    --ink: #f4f2ed;
    --ink-soft: rgba(244, 242, 237, 0.68);
    --ink-faint: rgba(244, 242, 237, 0.42);
    --panel: rgba(14, 16, 20, 0.46);
    --panel-2: rgba(14, 16, 20, 0.34);
    --line: rgba(255, 255, 255, 0.11);
    --line-strong: rgba(255, 255, 255, 0.22);
    --warm: #d9b48a;
    --blur: blur(18px);
    --r: 28px;
    --r-sm: 18px;
    --r-pill: 999px;
    --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: #14161c;
    overflow: hidden;
    font-family: 'HarmonyOS_Regular', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--ink);
}

*,
a,
p {
    text-decoration: none;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, opacity 0.25s ease, transform 0.25s var(--ease);
    color: var(--ink);
    user-select: none;
    cursor: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' width='10px' height='10px'><circle cx='4' cy='4' r='4' fill='white' /></svg>") 4 4, auto !important;
}

a:hover {
    color: #fff;
}

.noscript {
    z-index: 999999;
    font-size: 0.95rem;
    text-align: center;
    margin: 14px 0;
}

#g-pointer-1 {
    display: none;
}

#g-pointer-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 14px;
    height: 14px;
    transition: 0.05s linear;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    z-index: 9999999;
}

.bg-all {
    z-index: -1;
    position: absolute;
    inset: 0;
}

#bg {
    transform: scale(1.08);
    filter: blur(8px);
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s, transform .25s, filter .25s;
    backface-visibility: hidden;
}

img.error {
    display: none;
}

.cover {
    opacity: 0;
    position: fixed;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(8, 10, 14, 0.55) 0%, rgba(8, 10, 14, 0.18) 48%, rgba(8, 10, 14, 0.42) 100%),
        radial-gradient(ellipse at 70% 40%, transparent 0%, rgba(0, 0, 0, 0.35) 100%);
    transition: .25s;
}

section {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    min-height: 600px;
    transform: scale(1.08);
    transition: ease 1.15s;
    opacity: 0;
    filter: blur(8px);
}

main {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 1.5vh 0 52px;
    box-sizing: border-box;
    overflow-y: auto;
}

.container {
    width: 100%;
    max-width: 1180px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1.5rem;
}

.row {
    width: 100%;
    --bs-gutter-x: 0 !important;
    align-items: stretch;
    justify-content: center;
}

.home-stage {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.75rem 2.5rem;
}

.col.\32 {
    margin: 0 0.75rem;
}

/* ===== 左侧品牌 ===== */
.home-brand {
    flex: 1 1 340px;
    max-width: 400px;
    display: flex;
    align-items: flex-start;
    padding-top: 0.35rem;
}

.main-left {
    width: 100%;
}

.main-img {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.main-img img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: contain;
    background: rgba(10, 12, 16, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
}

.main-img img:hover {
    transform: rotate(360deg);
    transition: transform 0.9s var(--ease);
}

.img-title {
    line-height: 1;
}

.img-title-big {
    font-size: 3.15rem;
    font-family: 'Pacifico-Regular' !important;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

span.img-text {
    font-size: 1.35rem;
    font-family: 'Pacifico-Regular' !important;
    opacity: 0.82;
}

.message {
    margin-top: 1.6rem;
    max-width: 420px;
    cursor: pointer;
    padding: 0;
    background: none;
    border: none;
}

.des-title {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding-left: 0.85rem;
    border-left: 2px solid rgba(217, 180, 138, 0.55);
}

span#change {
    font-family: 'Pacifico-Regular' !important;
    font-size: 1.35rem;
    color: #fff;
}

span#change1 {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--ink-soft);
    max-width: 22em;
}

.main-cta {
    margin-top: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-width: 220px;
    max-width: 280px;
    padding: 0.85rem 1.25rem;
    border-radius: var(--r-pill);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.main-cta:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(217, 180, 138, 0.55);
    color: #fff;
}

.main-cta:hover .main-cta__arrow {
    transform: translateX(4px);
    color: var(--warm);
}

.main-cta__text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.main-cta__name {
    font-size: 1rem;
    color: #fff;
    letter-spacing: 0.04em;
}

.main-cta__desc {
    font-size: 0.75rem;
    color: var(--ink-faint);
}

.main-cta__arrow {
    font-size: 0.9rem;
    color: var(--ink-soft);
    transition: transform 0.25s ease, color 0.25s ease;
}

.brand-tags {
    margin-top: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.brand-tags span {
    font-size: 0.75rem;
    color: var(--ink-soft);
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

.brand-stats {
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    max-width: 360px;
}

.brand-stat {
    padding: 0.75rem 0.55rem;
    border-radius: var(--r-sm);
    border: 1px solid var(--line);
    background: rgba(14, 16, 20, 0.38);
    backdrop-filter: blur(12px);
    text-align: center;
}

.brand-stat__num {
    font-size: 1.05rem;
    color: #fff;
    line-height: 1.2;
    font-family: 'UnidreamLED', 'HarmonyOS_Regular', sans-serif;
    letter-spacing: 0.5px;
}

.brand-stat__label {
    margin-top: 0.28rem;
    font-size: 0.68rem;
    color: var(--ink-faint);
}

.left-card {
    margin-top: 0.75rem;
    max-width: 360px;
    padding: 0.85rem 0.95rem;
    border-radius: var(--r);
    border: 1px solid var(--line);
    background: var(--panel-2);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
}

.left-card__kicker {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    color: var(--warm);
    margin-bottom: 0.45rem;
}

.fortune-card__main {
    font-size: 0.92rem;
    color: #fff;
    line-height: 1.5;
}

.fortune-card__sub {
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: var(--ink-faint);
}

.week-dots {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.week-dot {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    color: var(--ink-soft);
}

.week-dot.is-today {
    background: rgba(217, 180, 138, 0.22);
    border-color: rgba(217, 180, 138, 0.65);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(217, 180, 138, 0.2);
}

.week-dot.is-past {
    opacity: 0.55;
}

.week-card__tip {
    margin-top: 0.55rem;
    font-size: 0.78rem;
    color: var(--ink-faint);
}

.social {
    margin-top: 1.35rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 40px;
}

.social .link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
}

.social .link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.social .link i {
    font-size: 1.05rem;
    margin: 0;
}

#link-text {
    margin-left: 0.55rem;
    font-size: 0.82rem;
    color: var(--ink-faint);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

/* ===== 右侧面板 ===== */
.home-panel {
    flex: 1 1 480px;
    max-width: 620px;
    display: flex;
}

.main-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.panel-top {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 0.75rem;
}

.time,
.hitokoto,
.music {
    background: var(--panel-2);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 1rem 1.1rem;
    min-height: 118px;
}

.time {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    font-size: 0.82rem;
    color: var(--ink-soft);
    position: relative;
    overflow: hidden;
}

.time::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(217, 180, 138, 0.8), transparent 70%);
}

.time-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.time-badge {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(217, 180, 138, 0.16);
    color: var(--warm);
    font-size: 0.85rem;
}

.time-refresh-hint {
    font-size: 0.68rem;
    color: var(--ink-faint);
}

span.time-text {
    display: block;
    margin-top: 0.2rem;
    font-size: 2.15rem;
    letter-spacing: 2px;
    font-family: 'UnidreamLED' !important;
    color: #fff;
    line-height: 1.15;
}

.weather {
    margin-top: 0.45rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.45rem;
    font-size: 0.8rem;
    color: var(--ink-faint);
}

.weather.is-error #wea_text {
    opacity: 0.7;
}

.hitokoto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
}

.hitokoto-all {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    gap: 0.45rem;
}

.hitokoto-label {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    color: var(--warm);
}

.hitokoto-text {
    font-size: 0.95rem;
    line-height: 1.55;
}

#hitokoto_text {
    word-break: break-all;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hitokoto-from {
    align-self: flex-end;
    font-size: 0.8rem;
    color: var(--ink-faint);
}

.open-music {
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 0;
    font-size: 0.9rem;
}

#music {
    display: none;
}

.music {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.music-all {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    height: 100%;
    gap: 0.35rem;
}

.music-button {
    display: flex;
    align-items: center;
}

.music-control {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
}

.music-menu {
    height: 24px;
    display: flex;
    align-items: center;
}

.fa-solid.fa-play,
.fa-solid.fa-pause {
    font-size: 1.75rem;
    padding: 2px;
}

#play {
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

#play:hover,
#last:hover,
#next:hover {
    background: rgba(255, 255, 255, 0.12);
}

#last,
#next {
    font-size: 1.35rem;
    border-radius: 10px;
    padding: 6px 10px;
}

.music-text {
    font-size: 0.92rem;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#music-open,
#music-close {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 10px;
    border-radius: 999px;
    margin: 0 5px;
    font-size: 0.78rem;
}

.music-volume {
    display: flex;
    align-items: center;
}

#volume-ico {
    margin-right: 8px;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    border-radius: 10px;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 12px;
    width: 12px;
    background: #fff;
    border-radius: 50%;
}

input[type=range]:focus {
    outline: none;
}

/* ===== 时间胶囊 ===== */
.capsule-card {
    background: var(--panel);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 0.85rem 1rem 0.95rem;
}

.capsule-card__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    color: var(--warm);
    margin-bottom: 0.65rem;
}

.capsule-card__hint {
    letter-spacing: 0;
    font-size: 0.72rem;
    color: var(--ink-faint);
}

.capsule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem 0.9rem;
}

.capsule-row__label {
    font-size: 0.76rem;
    color: var(--ink-soft);
    margin-bottom: 0.28rem;
}

.capsule-card .progress {
    height: 12px;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 999px;
    overflow: hidden;
}

.capsule-card .progress-bar {
    height: 12px;
    font-size: 0.62rem;
    line-height: 12px;
    background: linear-gradient(90deg, rgba(217, 180, 138, 0.85), rgba(255, 255, 255, 0.78)) !important;
    color: #2a241c !important;
}

/* ===== 此刻 / 便签 / 角落 ===== */
.panel-mid,
.panel-extra,
.panel-bottom {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0.7rem;
}

.status-card,
.memo-card,
.note-card,
.interest-card,
.trace-card,
.stack-card,
.action-card {
    background: var(--panel-2);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 0.85rem 0.95rem;
    min-height: 118px;
}

.status-card__kicker,
.memo-card__kicker,
.note-card__kicker,
.interest-card__kicker,
.trace-card__kicker,
.stack-card__kicker,
.action-card__kicker {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    color: var(--warm);
    margin-bottom: 0.5rem;
}

.trace-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.trace-list li {
    display: grid;
    grid-template-columns: 10px 42px 1fr;
    gap: 0.45rem;
    align-items: start;
    font-size: 0.82rem;
    color: var(--ink-soft);
    line-height: 1.4;
}

.trace-dot {
    width: 8px;
    height: 8px;
    margin-top: 0.35rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
}

.trace-dot.is-now {
    background: var(--warm);
    box-shadow: 0 0 10px rgba(217, 180, 138, 0.45);
}

.trace-year {
    color: #fff;
    font-size: 0.78rem;
}

.stack-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.stack-list span {
    font-size: 0.74rem;
    padding: 0.28rem 0.55rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--ink-soft);
}

.stack-card__note {
    margin: 0.65rem 0 0;
    font-size: 0.75rem;
    color: var(--ink-faint);
}

.action-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.action-btn {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-radius: 999px;
    padding: 0.38rem 0.8rem;
    font-size: 0.78rem;
    cursor: pointer;
}

.action-btn:hover {
    border-color: rgba(217, 180, 138, 0.55);
    background: rgba(217, 180, 138, 0.16);
}

.action-card__tip {
    margin: 0.65rem 0 0;
    font-size: 0.72rem;
    color: var(--ink-faint);
}

.status-card__text,
.memo-card__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--ink);
}

.status-card__meta {
    margin-top: 0.75rem;
    font-size: 0.72rem;
    color: var(--ink-faint);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.28rem;
}

.memo-card__foot {
    margin-top: 0.7rem;
    font-size: 0.72rem;
    color: var(--ink-faint);
    text-align: right;
}

.interest-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.interest-list span {
    font-size: 0.74rem;
    color: var(--ink-soft);
    padding: 0.28rem 0.55rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.note-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.note-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.4rem 0.3rem;
    border-radius: 10px;
    color: var(--ink-soft);
}

.note-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.note-link i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.8rem;
    margin: 0;
    flex-shrink: 0;
}

.note-link span {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
    min-width: 0;
}

.note-link .link-name {
    font-size: 0.88rem;
    color: #fff;
}

.note-link small {
    font-size: 0.72rem;
    color: var(--ink-faint);
}

.more-tip {
    width: 100%;
    margin: 0 0 1rem;
    font-size: 0.88rem;
    color: var(--ink-faint);
    text-align: center;
}

.time,
.hitokoto,
.music {
    min-height: 108px;
}

/* 旧 link-card（更多面板） */
.link-card {
    height: 48px;
    width: 100%;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-card:hover {
    background: rgba(255, 255, 255, 0.12);
}

.link-row-2 {
    margin-top: 0.75rem !important;
}

.more-links .col.\32 {
    margin: 0 0.5rem;
}

/* 更多 / 设置弹层 */
.more {
    display: none !important;
    width: 46%;
    z-index: 999;
    position: fixed;
    height: 82%;
    right: 4%;
    top: 7%;
    background: rgba(12, 14, 18, 0.72);
    backdrop-filter: blur(18px);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 28px;
}

.mores .more {
    display: flex !important;
    justify-content: space-evenly;
    flex-direction: column;
    align-items: center;
}

.mores .col.right,
.mores .home-panel {
    display: none;
}

.line {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

span.line-text {
    font-size: 0.95rem;
}

.close {
    display: none;
    left: auto;
    top: 4px;
    right: 8px;
    font-size: 1.35rem;
}

.close:hover,
.closebox:hover {
    color: var(--warm);
}

.progress {
    width: 100%;
    height: 18px;
    background: transparent !important;
}

.progress-bar {
    font-family: 'UnidreamLED' !important;
    background-color: #efefef !important;
    color: #564d59 !important;
    font-size: 0.85rem;
    height: 18px;
    border-radius: 999px;
}

.date {
    width: 100%;
}

.date-text {
    margin: 0.85rem 0 0.4rem;
}

.box {
    position: fixed;
    inset: 0;
    z-index: 1996;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(18px);
}

.box-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: rgba(18, 20, 26, 0.72);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 36px;
    display: flex;
    justify-content: space-between;
}

.box-left {
    flex: 0 44%;
    min-width: 360px;
}

.box-ver {
    font-size: 1rem !important;
}

#accordion {
    min-width: 320px;
    margin: 18px 36px 0 8px;
    border-radius: 12px;
}

.accordion-item {
    background: transparent !important;
    border: none !important;
}

.accordion-button {
    color: white !important;
    background: transparent;
}

.accordion-button:focus {
    box-shadow: none !important;
    border-color: transparent !important;
}

.accordion-button:not(.collapsed) {
    background: rgba(255, 255, 255, 0.1);
    font-weight: bold;
}

.accordion-button::after {
    background-image: none !important;
}

.accordion-body {
    padding: 1rem 0 !important;
    background: rgba(255, 255, 255, 0.05);
}

.closebox {
    left: auto;
    top: 10px;
    right: 16px;
    font-size: 1.4rem;
}

.set {
    display: flex;
    flex-direction: column;
    padding: 0 1.25rem;
}

#wallpaper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.form-radio {
    width: auto;
    min-width: 0;
    max-width: none;
    flex: 1 1 calc(50% - 8px);
    text-align: center;
    margin: 0;
}

input[type="radio"]+label {
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--r-pill);
    border: 1px solid rgba(255, 255, 255, 0.12);
    width: 100%;
    display: block;
    font-size: 0.86rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

input[type="radio"]+label:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}

input[type="radio"]:checked+label {
    border-color: var(--warm);
    background: rgba(217, 180, 138, 0.22);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(217, 180, 138, 0.35);
}

.upnote {
    display: flex;
    flex-direction: column;
    padding: 0 1.25rem;
    max-height: 160px;
    overflow-y: auto;
}

.uptext {
    line-height: 1.9;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.box-right {
    flex: 0 54%;
    max-width: 54%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aplayer-fallback {
    color: var(--ink-faint);
    font-size: 0.9rem;
}

.aplayer {
    background: transparent !important;
    width: 100%;
    margin-right: 12px;
    font-family: 'HarmonyOS_Regular', sans-serif !important;
}

.aplayer.aplayer-withlrc .aplayer-pic {
    display: none;
}

.aplayer.aplayer-withlrc .aplayer-info {
    margin-left: 0 !important;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.aplayer .aplayer-info .aplayer-controller {
    display: none !important;
}

.aplayer .aplayer-list ol li {
    border-top: 1px solid transparent !important;
}

.aplayer .aplayer-list ol li.aplayer-list-light,
.aplayer .aplayer-list ol li:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
}

.aplayer.aplayer-withlist .aplayer-info {
    border-bottom: 1px solid transparent !important;
}

.aplayer-list-cur {
    background-color: #eee !important;
}

.aplayer .aplayer-lrc {
    margin: 4px 0 0 5px !important;
    height: 34px !important;
    text-align: left !important;
}

.aplayer .aplayer-lrc:after,
.aplayer .aplayer-lrc:before {
    background: transparent !important;
}

.aplayer .aplayer-info .aplayer-music .aplayer-title,
.aplayer .aplayer-info .aplayer-music .aplayer-author,
.aplayer .aplayer-lrc p,
span.aplayer-list-title,
span.aplayer-list-author,
span.aplayer-list-index {
    color: white !important;
}

footer {
    text-align: center;
    height: 46px;
    background: rgba(0, 0, 0, 0.22);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.power {
    line-height: 46px;
    color: var(--ink-faint);
    font-size: 0.82rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.power a {
    color: var(--ink-faint);
}

.power a:hover {
    color: var(--warm);
}

#beian {
    font-size: 0.78rem;
    opacity: 0.85;
}

#lrc {
    display: none;
    line-height: 46px;
}

.lrc-show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.iziToast {
    backdrop-filter: blur(12px) !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.iziToast>.iziToast-body .iziToast-title {
    font-size: 14px !important;
}

.iziToast:after {
    box-shadow: none !important;
}

.iziToast>.iziToast-close {
    background: url(https://cdn.jsdelivr.net/gh/imsyy/file/pic/close.png) no-repeat 50% 50% !important;
    background-size: 8px !important;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: rgba(238, 238, 238, 0.4);
}

/* 兼容旧 cards 类名（若残留） */
.cards {
    border: none;
    box-shadow: none;
}

/* ---------- 胶囊化卡片统一 ---------- */
.home-panel,
.panel-top,
.panel-mid,
.panel-extra,
.panel-bottom,
.capsule-card,
.trace-card,
.stack-card,
.memo-card,
.quote-card,
.status-card,
.interest-card,
.action-card,
.week-card,
.omen-card,
.time-card,
.img-box,
.setting-box,
.accordion-item {
    border-radius: var(--r) !important;
}

.action-btn,
.stack-list span,
.interest-card span,
.brand-tags span {
    border-radius: var(--r-pill) !important;
}

.trace-list li,
.memo-card,
.quote-card,
.status-card {
    border-radius: var(--r-sm);
}

.brand-stat,
.week-day,
.capsule-card .progress {
    border-radius: var(--r-pill) !important;
}

.main-cta,
.panel-top,
.capsule-card,
.home-panel > * {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
}
