@charset "utf-8";

/* ======================== 字体 ======================== */
@font-face {
    font-family: "MiSans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../font/MiSans-Regular.subset.woff2') format('woff2');
}

@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');
}

/* ======================== 全局 ======================== */
html, body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    background: #1a1a2e;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'MiSans', 'HarmonyOS_Regular', -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

:root {
    --surface-strong: rgba(15, 23, 42, 0.62);
    --surface-soft: rgba(255, 255, 255, 0.06);
    --surface-hover: rgba(255, 255, 255, 0.1);
    --surface-border: rgba(255, 255, 255, 0.1);
    --surface-border-strong: rgba(255, 255, 255, 0.18);
    --text-main: #f8fafc;
    --text-muted: rgba(255, 255, 255, 0.68);
    --text-faint: rgba(255, 255, 255, 0.5);
    --accent-primary: #6366f1;
    --accent-secondary: #22d3ee;
    --accent-soft: #ddd6fe;
    --shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.16);
    --shadow-card: 0 18px 36px rgba(15, 23, 42, 0.18);
}

*, a, p {
    text-decoration: none;
    color: #efefef;
    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;
}

*, *::before, *::after { box-sizing: border-box; }
a:hover { color: #fff; }
button { font: inherit; cursor: pointer; }

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

/* ======================== 通用卡片 ======================== */
.cards {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cards:hover {
    transform: scale(1.02);
}

.cards:active {
    transform: scale(0.96);
}

/* ======================== 滚动条 ======================== */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background: transparent;
}

::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.18);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ======================== 加载动画 ======================== */
#loading-box {
    position: fixed;
    inset: 0;
    z-index: 999999;
}

#loading-box .loading-left-bg,
#loading-box .loading-right-bg {
    position: fixed;
    z-index: 999998;
    width: 50%;
    height: 100%;
    background: rgba(26, 26, 46, 0.92);
    backdrop-filter: blur(16px);
    transition: all 0.7s cubic-bezier(0.42, 0, 0, 1.01);
}

#loading-box .loading-right-bg { right: 0; }

#loading-box > .spinner-box {
    position: fixed;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

#loading-box .spinner-box .loading-word {
    position: absolute;
    color: #fff;
    font-size: 0.95rem;
    transform: translateY(64px);
    text-align: center;
}

.loading-title {
    font-size: 1.25rem;
    margin: 20px 10px 4px;
    font-weight: 600;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #a78bfa, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#loading-box.loaded {
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease 0.3s;
}

#loading-box.loaded .loading-left-bg { transform: translate(-100%, 0); }
#loading-box.loaded .loading-right-bg { transform: translate(100%, 0); }
#loading-box.loaded .spinner-box { display: none !important; }

.loader {
    position: absolute;
    top: calc(50% - 32px);
    left: calc(50% - 32px);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    perspective: 800px;
    transition: all 0.7s cubic-bezier(0.42, 0, 0, 1.01);
}

.inner {
    position: absolute;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.inner.one {
    left: 0; top: 0;
    animation: rotate-one 1s linear infinite;
    border-bottom: 3px solid #a78bfa;
}

.inner.two {
    right: 0; top: 0;
    animation: rotate-two 1s linear infinite;
    border-right: 3px solid #6366f1;
}

.inner.three {
    right: 0; bottom: 0;
    animation: rotate-three 1s linear infinite;
    border-top: 3px solid #818cf8;
}

@keyframes rotate-one {
    0% { transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg); }
    100% { transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg); }
}
@keyframes rotate-two {
    0% { transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg); }
    100% { transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg); }
}
@keyframes rotate-three {
    0% { transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg); }
    100% { transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg); }
}

/* ======================== 渐入动画 ======================== */
@keyframes fade-in {
    0% { opacity: 0; backdrop-filter: blur(0px); }
    100% { opacity: 1; backdrop-filter: blur(10px); }
}

@keyframes fade {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ======================== 鼠标指针 ======================== */
#g-pointer-1 { display: none; }

#g-pointer-2 {
    position: fixed;
    top: 0; left: 0;
    width: 18px;
    height: 18px;
    transition: 0.05s linear;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    z-index: 9999999;
    will-change: transform;
}

/* ======================== 背景 ======================== */
.bg-all {
    z-index: -1;
    position: absolute;
    inset: 0;
    transition: 0.25s;
}

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

img.error { display: none; }

.cover {
    opacity: 0;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.5) 100%),
                      radial-gradient(rgba(0, 0, 0, 0) 33%, rgba(0, 0, 0, 0.3) 166%);
    transition: 0.25s;
}

/* ======================== 页面框架 ======================== */
section {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    min-height: 100vh;
    transform: scale(1.10);
    transition: ease 1.25s;
    opacity: 0;
    filter: blur(10px);
}

main {
    flex: 1 0 auto;
    width: 100%;
    min-height: 0;
    background:
        radial-gradient(circle at top left, rgba(99, 102, 241, 0.16), transparent 32%),
        radial-gradient(circle at bottom right, rgba(34, 211, 238, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.22) 100%);
    display: flex;
    padding-bottom: 48px;
}

.container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.container > .row {
    --bs-gutter-x: 1.75rem !important;
    --bs-gutter-y: 0 !important;
}

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

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

.row.rightone {
    display: flex;
    align-items: center;
    justify-content: stretch;
}

/* ======================== 搜索框 ======================== */
.search-data {
    position: fixed;
    top: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
    height: 56px;
    width: min(540px, calc(100vw - 40px));
    display: flex;
    text-align: center;
    align-items: center;
    padding: 0 108px 0 22px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(8, 15, 34, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    opacity: 0;
    transform-origin: top center;
    transform: translateX(-50%) scaleX(0.78) scaleY(0.88) translateY(-10px);
    transition: opacity 0.36s ease, transform 0.58s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-data.active {
    opacity: 1;
    transform: translateX(-50%) scaleX(1) scaleY(1) translateY(0);
}

.search-data.closing {
    opacity: 0;
    transform: translateX(-50%) scaleX(0.86) scaleY(0.92) translateY(-6px);
}

.search-btn {
    z-index: 99;
    position: fixed;
    top: 36px;
    left: 50%;
    transform: translateX(-50%);
    height: 60px;
    width: 60px;
    line-height: 60px;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #22d3ee);
    box-shadow: 0 12px 36px rgba(99, 102, 241, 0.36);
    transition: all 0.48s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-btn.leaving {
    opacity: 0;
    transform: translateX(-50%) scale(0.72);
    pointer-events: none;
}

.search-btn:hover {
    transform: translateX(-50%) scale(1.08);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.5);
}

.search-btn span {
    z-index: 99;
    color: #fff;
    font-size: 22px;
    line-height: 60px;
}

.search-data input {
    z-index: 99;
    height: 100%;
    width: 100%;
    background: none;
    border: none;
    outline: none;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-main);
}

.search-line {
    z-index: 99;
    position: absolute;
    height: 3px;
    width: calc(100% - 32px);
    background: linear-gradient(90deg, #6366f1, #22d3ee);
    bottom: 8px;
    left: 16px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.68s 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
    pointer-events: none;
}

.search-line.active { transform: scaleX(1); }

.search-data label {
    z-index: 99;
    position: absolute;
    top: 50%;
    left: 22px;
    font-size: 0.96rem;
    transform: translateY(-50%);
    pointer-events: none;
    color: rgba(255, 255, 255, 0.42);
    transition: opacity 0.25s;
}

.search-data input:valid ~ label { opacity: 0; }

.search-data span {
    z-index: 99;
    color: #fff;
    position: absolute;
    width: 34px;
    font-size: 1.15rem;
    right: 16px;
    top: 0;
    line-height: 56px;
    cursor: pointer;
}

.close-btn {
    position: fixed;
    z-index: 98;
    right: 25px;
    top: 25px;
    font-size: 25px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.25s, opacity 0.3s ease, transform 0.38s ease;
    opacity: 0;
    transform: scale(0.86) rotate(-10deg);
}

.close-btn.visible {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.close-btn:hover { color: #fff; }

/* ======================== 搜索引擎选择器 ======================== */
.search-engine-bar {
    z-index: 99;
    position: fixed;
    top: 108px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
    transition: opacity 0.32s ease, transform 0.42s ease;
}

.search-engine-bar.leaving {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
    pointer-events: none;
}

.engine-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(8, 15, 34, 0.44);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    box-shadow: var(--shadow-soft);
}

.engine-badge:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.18);
    color: #fff;
}

.engine-favicon {
    width: 16px;
    height: 16px;
    border-radius: 2px;
}

.engine-favicon-icon,
.engine-favicon-small-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.engine-favicon-icon {
    width: 16px;
    height: 16px;
    font-size: 0.92rem;
}

.engine-name {
    white-space: nowrap;
}

.engine-favicon-small {
    width: 18px;
    height: 18px;
    border-radius: 2px;
    flex-shrink: 0;
}

.engine-favicon-small-icon {
    width: 18px;
    height: 18px;
    font-size: 0.98rem;
}

.search-engine-switch {
    z-index: 99;
    position: absolute;
    right: 58px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    cursor: pointer;
    transition: background 0.25s;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

.search-engine-switch:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.engine-menu {
    z-index: 100;
    position: fixed;
    top: 104px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    background: rgba(8, 15, 34, 0.9);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 24px 50px rgba(0,0,0,0.3);
    animation: fadeUp 0.2s ease;
}

.engine-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
}

.engine-menu-item:hover {
    background: rgba(255,255,255,0.08);
}

.engine-menu-item.active {
    background: rgba(99,102,241,0.15);
}

.engine-menu-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 4px 8px;
}

.engine-config-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
    font-size: 0.88rem;
}

.engine-config-item:hover {
    background: rgba(255,255,255,0.06);
}

.engine-config-item.active {
    background: rgba(99,102,241,0.12);
}

.engine-delete-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.35);
    cursor: pointer;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.2s;
    flex-shrink: 0;
    margin-left: auto;
}

.engine-delete-btn:hover {
    color: #ef4444;
    background: rgba(239,68,68,0.15);
}

@media (max-width: 600px) {
    .engine-menu {
        width: 85vw;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ======================== 头像 & 标题 ======================== */
.main-img {
    display: flex;
    align-items: center;
}

.main-img img {
    border-radius: 50%;
    width: 120px;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.main-img img:hover {
    transform: rotate(360deg);
}

.img-title {
    width: 100%;
    margin-left: 14px;
    transform: translateY(-8%);
}

.img-title-big {
    font-size: 3rem;
    font-family: 'Pacifico-Regular' !important;
    background: linear-gradient(135deg, #fff, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

span.img-text {
    font-size: 2rem;
    font-family: 'Pacifico-Regular' !important;
    color: rgba(255, 255, 255, 0.85);
}

/* ======================== 简介卡片 ======================== */
.message {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid var(--surface-border);
    padding: 1.2rem 1rem;
    border-radius: 20px;
    margin-top: 0;
    width: 100%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-card);
}

.message:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15), 0 0 0 1px rgba(99,102,241,0.1);
    transform: translateY(-2px);
}

.des {
    display: flex;
    justify-content: space-between;
}

.des-title {
    margin: 1rem;
    line-height: 2rem;
    margin-right: auto;
}

.fa-solid.fa-quote-right { align-self: flex-end; }

/* ======================== 社交链接 ======================== */
.social {
    margin-top: 0;
    display: flex;
    align-items: center;
    width: 100%;
    height: 44px;
    padding: 4px 8px;
    border-radius: 12px;
    transition: all 0.35s;
}

.link i {
    font-size: 1.45rem;
    margin: 2px 14px;
    transition: all 0.25s;
}

.link i:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.3));
}

/* ======================== 一言 ======================== */
.col.hitokotos { margin-right: 0.75rem; }

.hitokoto {
    width: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid var(--surface-border);
    padding: 20px;
    border-radius: 20px;
    height: 165px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-card);
}

.hitokoto:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.hitokoto-all {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
}

.hitokoto-text { font-size: 1.1rem; }

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

.hitokoto-from {
    margin-top: 10px;
    font-weight: 600;
    align-self: flex-end;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ======================== 打开音乐按钮 ======================== */
.open-music {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(168, 85, 247, 0.25));
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 5px 0;
    font-size: 0.9rem;
    border-radius: 0 0 12px 12px;
    animation: fadeUp 0.3s ease;
    color: #c4b5fd;
    transition: all 0.3s;
}

.open-music:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(168, 85, 247, 0.4));
    border-color: rgba(168, 85, 247, 0.5);
}

/* ======================== 时间卡片 ======================== */
.col.times { margin-left: 0.75rem; }

.time {
    width: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid var(--surface-border);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 165px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-card);
}

.time:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

span.time-text {
    font-size: 3.25rem;
    letter-spacing: 3px;
    font-family: 'UnidreamLED' !important;
    background: linear-gradient(135deg, #a78bfa, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.weekday {
    color: rgba(255, 255, 255, 0.55);
}

/* ======================== 分割线 ======================== */
.line {
    margin: 1.2rem 0.25rem;
    margin-top: 2.2rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
}

span.line-text {
    font-size: 1.15rem;
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.7);
}

/* ======================== 链接卡片 ======================== */
.link .row {
     --bs-gutter-x: 1.25rem !important;
     --bs-gutter-y: 1.25rem !important;
 }

.link-card {
    height: 100px;
    width: 100%;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.link-card i {
    margin-left: 0;
    font-size: 1.65rem;
}

.link-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(99,102,241,0.12);
}

span.link-name { font-size: 1.1rem; font-weight: 500; }

.link-card:hover span.link-name {
    font-size: 1.15rem;
    color: #fff;
}

/* ======================== 更多页面 ======================== */
.more {
    display: none;
    width: 46%;
    z-index: 999;
    position: fixed;
    height: 82%;
    right: 4%;
    background: rgba(8, 15, 34, 0.78);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    top: 7%;
    border-radius: 18px;
    padding: 30px;
    overflow-y: auto;
    box-shadow: 0 26px 60px rgba(0,0,0,0.26);
    opacity: 0;
    transform: translate3d(26px, 0, 0) scale(0.97);
}

.mores .more {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    transition: opacity 0.42s ease, transform 0.62s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.mores .more.opening {
    animation: panelSlideIn 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.more.closing {
    opacity: 0;
    transform: translate3d(34px, 0, 0) scale(0.97);
    transition: opacity 0.34s ease, transform 0.52s cubic-bezier(0.16, 1, 0.3, 1);
}

.more .row {
     --bs-gutter-x: 1rem !important;
     --bs-gutter-y: 1rem !important;
     width: 100%;
 }

.mores .col.right { display: none; }

.close {
    display: none;
    left: auto;
    top: 8px;
    right: 12px;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.25s;
}

.close:hover {
    color: #fff;
    transform: scale(1.15);
}

@keyframes panelSlideIn {
    from {
        opacity: 0;
        transform: translate3d(44px, 0, 0) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.more-reveal {
    opacity: 1;
    transform: translateY(0);
}

.mores .more.opening .more-reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: moreItemReveal 0.64s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mores .more.opening .more-reveal-1 { animation-delay: 0.08s; }
.mores .more.opening .more-reveal-2 { animation-delay: 0.16s; }
.mores .more.opening .more-reveal-3 { animation-delay: 0.24s; }
.mores .more.opening .more-reveal-4 { animation-delay: 0.32s; }
.mores .more.opening .more-reveal-5 { animation-delay: 0.4s; }
.mores .more.opening .more-reveal-6 { animation-delay: 0.48s; }

@keyframes moreItemReveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.more.closing .more-reveal {
    opacity: 1;
    transform: translateY(0);
    animation: moreItemHide 0.26s ease forwards;
}

.more.closing .more-reveal-1 { animation-delay: 0s; }
.more.closing .more-reveal-2 { animation-delay: 0.03s; }
.more.closing .more-reveal-3 { animation-delay: 0.06s; }
.more.closing .more-reveal-4 { animation-delay: 0.09s; }
.more.closing .more-reveal-5 { animation-delay: 0.12s; }
.more.closing .more-reveal-6 { animation-delay: 0.15s; }

@keyframes moreItemHide {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(10px);
    }
}

.mores .link-card { height: 48px !important; }

/* ======================== 时间胶囊 ======================== */
.progress {
    width: 100%;
    height: 22px;
    align-items: center;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(5px);
    border-radius: 12px;
    overflow: hidden;
}

.progress-bar {
    font-family: 'UnidreamLED' !important;
    background: linear-gradient(90deg, #6366f1, #a855f7) !important;
    color: #fff !important;
    font-size: 0.85rem;
    height: 22px;
    letter-spacing: 1px;
    transition: width 0.6s ease;
}

.date { width: 100%; }

.date-text {
    margin: 1rem 0 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ======================== Accordion ======================== */
.accordion-item {
    background: transparent !important;
    border: none !important;
}

.accordion-item:first-of-type .accordion-button {
    border-radius: 12px 12px 0 0;
}

.accordion-button {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.04);
    transition: 0.3s;
    font-weight: 500;
    border: none;
    border-radius: 12px;
}

.accordion-button:focus {
    border-color: rgba(255, 255, 255, 0.1) !important;
    outline: none !important;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: rgba(99, 102, 241, 0.15);
    font-weight: 600;
    border-radius: 12px 12px 0 0 !important;
}

.accordion-button::after {
    background-image: none !important;
    content: "+";
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
}

.accordion-button:not(.collapsed)::after {
    content: "-";
    color: #a78bfa;
}

.accordion-panel {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
}

.accordion-panel.show {
    grid-template-rows: 1fr;
    opacity: 1;
}

.accordion-body {
    min-height: 0;
    overflow: hidden;
    padding: 1rem 0 !important;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 0 12px 12px;
}

/* ======================== 壁纸设置 ======================== */
.set {
    display: flex;
    flex-direction: column;
    padding: 0 1.5rem;
}

#wallpaper, .wallpaper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.form-radio {
    flex: 1 1 0%;
    width: 31.3%;
    min-width: 31.3%;
    max-width: 31.3%;
    text-align: center;
    margin: 1%;
}

input[type="radio"] + label {
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: all 0.3s;
    border: 2px solid transparent;
    width: 100%;
    cursor: pointer;
    font-size: 0.88rem;
}

input[type="radio"]:checked + label {
    background: rgba(99, 102, 241, 0.2);
    border-color: #a78bfa;
    color: #c4b5fd;
}

/* ======================== 更新日志 ======================== */
.upnote {
    display: flex;
    flex-direction: column;
    padding: 0 1.5rem;
    height: 156px;
    overflow-y: auto;
}

.uptext {
    line-height: 32px;
    padding: 2px 8px;
    border-radius: 6px;
    transition: background 0.2s;
    font-size: 0.9rem;
}

.uptext:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* ======================== 页脚 ======================== */
footer {
    text-align: center;
    min-height: 46px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer.fixed-bottom {
    position: relative !important;
    inset: auto !important;
    width: 100%;
}

.power {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.82rem;
    animation: fadeUp 0.5s ease;
    padding: 12px 20px;
}

.power a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.25s;
}

.power a:hover { color: #a78bfa; }

#lrc {
    display: none;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    animation: fadeUp 0.4s ease;
    font-size: 0.82rem;
    padding: 0 20px 12px;
}

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

/* ======================== 菜单按钮 ======================== */
.menu {
    display: none;
}

.munu-button {
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    font-size: 1.25rem;
    transition: all 0.35s;
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.munu-button:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* ======================== 移动端 ======================== */
.menus .col.left { display: none; }
.menus .col.right {
    display: block !important;
    padding: 0 0.75rem;
}
.menus .col.hitokotos { display: block; }
.menus .col.times { display: none; }
.menus .row { --bs-gutter-x: 0rem; }
.menus .col.\32 { margin: 0 0.75rem; }
.menus .logo {
    display: inline !important;
    text-align: center;
    position: fixed;
    top: 8%;
    font-size: 1.75rem;
}

.logo-text {
    font-family: 'Pacifico-Regular' !important;
}

.logo, .line, .main-img, .social, .close,
.hitokoto, .time, .link-card, .message, #link-text {
    animation: fadeUp 0.4s ease;
}

.mobile .col.hitokotos { display: none; }
.mobile .col.times { display: block; }

/* ======================== iziToast ======================== */
.iziToast {
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-radius: 14px !important;
}

.iziToast > .iziToast-body .iziToast-title { font-size: 16px !important; }
.iziToast-body .iziToast-message { line-height: 18px !important; }
.iziToast > .iziToast-body .iziToast-message { margin: 6px 0 4px !important; }
.iziToast:after { box-shadow: none !important; }
.iziToast > .iziToast-body .iziToast-texts {
    margin: 6px !important;
    display: flex !important;
    align-items: center;
}
.iziToast > .iziToast-body i { margin-left: 6px; margin-top: 10px; }
.iziToast-message { word-break: break-all !important; }

/* ======================== 响应式 ======================== */

/* ---- 平板横屏 / 小桌面 (≤1200px) ---- */
@media (max-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm { max-width: 1000px !important; }
    .weekday { display: none; }
    .search-data { width: 360px; }
}

/* ---- 平板竖屏 (≤992px) ---- */
@media (max-width: 992px) {
    .container, .container-lg, .container-md, .container-sm { max-width: 720px !important; }
    .col.left { margin-right: 0.75rem; }
    .col.right { margin-left: 0.75rem; }
    .col.hitokotos { display: none; }
    .col.times { margin-left: 0; }
    .weekday { display: inline; }
    .main-img img { width: 100px; }
    span.link-name { display: none; }
    .link-card i { margin-left: 10px !important; margin-right: 10px !important; }
    .img-title-big { font-size: 2.4rem; }
    span.img-text { font-size: 1.6rem; }
    .search-data { width: 320px; }
    .more { width: 60%; right: 4%; height: 78%; top: 8%; padding: 24px; }
    .player-container { width: 92vw; height: 520px; }
    .player-cover-side { width: 260px; padding: 28px 12px; }
    .player-disc { width: 170px; height: 170px; }
    .player-main-side { padding: 24px 18px 16px 12px; }
}

/* ---- 小平板 / 大手机横屏 (≤768px) ---- */
@media (max-width: 768px) {
     .container { max-width: 100% !important; padding: 0 12px; }
    .menu { display: flex; justify-content: center; position: fixed; bottom: 6%; left: 0; right: 0; z-index: 99; }
   .search-btn { height: 50px; width: 50px; line-height: 50px; top: 24px; }
    .search-btn span { font-size: 18px; line-height: 50px; }
    .search-data { width: 280px; height: 42px; top: 24px; padding: 0 86px 0 16px; }
    .search-data input { font-size: 17px; }
    .search-data label { left: 16px; font-size: 15px; }
    .search-data span { right: 12px; line-height: 42px; width: 30px; }
    .search-engine-bar { top: 86px; }
    .engine-menu { top: 78px; width: 200px; }
    .search-engine-switch { right: 46px; width: 28px; height: 28px; font-size: 0.75rem; }
    .close-btn { right: 16px; top: 16px; font-size: 22px; }
    .main-left { transform: translateY(12px); }
    .main-img img { width: 86px; }
    .img-title-big { font-size: 2rem; }
    span.img-text { font-size: 1.3rem; }
    .col.right { display: block; }
    .col.left,
    .col.right,
    .link .col { display: block; }
    .social { max-width: 100%; justify-content: center; }
    .link i { margin: 0 16px; }
    .message { max-width: 100%; margin-top: 6px; padding: 0.9rem; border-radius: 16px; }
    .more {
        width: 100% !important;
        right: 0;
        height: 88%;
        top: 8%;
        border-radius: 18px 18px 0 0;
        padding: 20px 14px;
        transform: translate3d(0, 22px, 0) scale(0.98);
    }
    .mores .col.right { display: none; }
    .mores .more { display: flex !important; }
    .player-container {
        width: 96vw;
        height: 90vh;
        max-height: 90vh;
        flex-direction: column;
        border-radius: 16px;
    }
    .player-cover-side {
        width: 100%;
        padding: 20px 14px 8px;
        flex-shrink: 0;
        flex-direction: row;
        gap: 16px;
    }
    .player-disc { width: 100px; height: 100px; margin-bottom: 0; flex-shrink: 0; }
    .player-disc-center { width: 26px; height: 26px; }
    .player-cover-meta { text-align: left; flex: 1; min-width: 0; }
    .player-cover-title { max-width: 180px; font-size: 0.95rem; }
    .player-cover-artist { font-size: 0.75rem; }
    .player-main-side { padding: 8px 16px 14px; }
    .player-header { margin-bottom: 6px; }
    .player-controls { gap: 12px; margin-bottom: 10px; }
    .player-btn-play { width: 44px; height: 44px; font-size: 0.95rem; }
    .player-btn-skip { width: 34px; height: 34px; font-size: 0.85rem; }
    .player-volume-row { padding: 0 8px; margin-bottom: 10px; }
    .form-radio { width: 47%; min-width: 47%; max-width: 47%; }
    footer { min-height: auto; padding: 6px 12px; }
    .power { line-height: 1.5; font-size: 0.7rem; }
}

/* ---- 手机 (≤540px) ---- */
@media (max-width: 540px) {
    .search-btn { top: 20px; }
    .search-data { width: 240px; height: 38px; top: 20px; padding: 0 72px 0 12px; }
    .search-data input { font-size: 16px; }
    .search-data label { left: 12px; font-size: 13px; }
    .search-data span { font-size: 18px; width: 28px; line-height: 38px; right: 8px; }
    .search-engine-bar { top: 74px; }
    .engine-badge { padding: 5px 10px; font-size: 0.72rem; gap: 4px; }
    .engine-favicon { width: 14px; height: 14px; }
    .search-engine-switch { right: 38px; width: 24px; height: 24px; font-size: 0.72rem; }
    .engine-menu { width: 88vw; top: 68px; }
    .main-left { transform: translateY(6px); }
    .main-img img { width: 68px; }
    .img-title-big { font-size: 1.6rem; }
    span.img-text { font-size: 1.1rem; }
    .social { height: 38px; }
    .link i { font-size: 1.25rem; margin: 0 10px; }
    .engine-favicon-icon { width: 14px; height: 14px; font-size: 0.82rem; }
    .engine-favicon-small-icon { width: 16px; height: 16px; font-size: 0.88rem; }
    .message { margin-top: 4px; padding: 0.7rem; border-radius: 14px; }
    .des-title { margin: 0.5rem; line-height: 1.6rem; font-size: 0.9rem; }
    .hitokoto { height: auto; min-height: 120px; padding: 14px; border-radius: 10px; }
    .hitokoto-text { font-size: 0.92rem; }
    .hitokoto-from { font-size: 0.82rem; margin-top: 6px; }
    .time { height: auto; min-height: 120px; padding: 14px; border-radius: 10px; font-size: 0.92rem; }
    span.time-text { font-size: 2.4rem; letter-spacing: 2px; }
    .line { margin: 0.8rem 0; font-size: 0.9rem; }
    span.line-text { font-size: 0.95rem; }
    .link-card { height: 68px !important; border-radius: 14px; }
    .link-card i { font-size: 1.1rem; }
    span.link-name { font-size: 0.82rem; }
    .more { height: 92%; padding: 16px 10px; }
    .accordion-button { font-size: 0.85rem; padding: 10px 14px; }
    .date-text { font-size: 0.8rem; margin: 0.6rem 0 0.3rem; }
    .progress { height: 18px; }
    .progress-bar { font-size: 0.72rem; height: 18px; }
    .uptext { font-size: 0.78rem; line-height: 26px; }
    .player-disc { width: 80px; height: 80px; }
    .player-disc-center { width: 22px; height: 22px; }
    .player-cover-title { font-size: 0.85rem; }
    .player-song { padding: 8px 10px; gap: 8px; }
    .player-song-name { font-size: 0.78rem; }
    .player-song-artist { font-size: 0.68rem; }
    .engine-add-form input { min-width: 60px !important; font-size: 0.75rem !important; padding: 5px 8px !important; }
    .engine-add-form button { font-size: 0.75rem !important; padding: 5px 10px !important; }
    .form-radio { width: 100%; min-width: 100%; max-width: 100%; }
    input[type="radio"] + label { padding: 6px 8px; font-size: 0.8rem; }
    .col.left { margin-right: 0; }
    .col.right { margin-left: 0; padding: 0 4px; }
}

/* ---- 小手机 (≤380px) ---- */
@media (max-width: 380px) {
    .main-img img { width: 54px; }
    .img-title-big { font-size: 1.35rem; }
    span.img-text { display: none; }
    .search-btn { top: 16px; }
    .search-data { width: 200px; height: 34px; top: 16px; padding: 0 64px 0 10px; }
    .search-data input { font-size: 14px; }
    .search-data label { left: 10px; }
    .search-data span { width: 26px; line-height: 34px; right: 8px; }
    .search-engine-switch { right: 34px; width: 22px; height: 22px; }
    .hitokoto-text { font-size: 0.82rem; }
    span.time-text { font-size: 1.8rem; }
    .link i { margin: 0 8px; font-size: 1.1rem; }
    .player-disc { width: 64px; height: 64px; }
    .player-cover-title { font-size: 0.78rem; }
    .player-btn-play { width: 38px; height: 38px; font-size: 0.85rem; }
    .player-btn-skip { width: 30px; height: 30px; font-size: 0.75rem; }
    footer .power { font-size: 0.65rem; }
}

/* ---- 平板横屏 / 大屏 (>540px) 恢复桌面布局 ---- */
@media (min-width: 541px) {
    .menu { display: none !important; }
    .col.right { display: block; }
    .col.left { display: block; }
    .col.hitokotos { display: block; }
    .col.times { display: block; }
}

@media (min-width: 721px) {
    .menu { display: none !important; }
    .mores .col.right { display: none; }
}

@media (min-width: 993px) {
    span#win_text, span#win_speed { display: none; }
    .col.hitokotos { display: block; }
    .col.times { display: block; }
}

@media (min-width: 1400px) {
    span#win_text, span#win_speed { display: inline !important; }
}

/* ======================== Vue 页面美化 ======================== */
[v-cloak] {
    display: none;
}

main {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.ambient-layer,
.ambient-grid {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.ambient-layer-one {
    top: 8%;
    left: 7%;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.42) 0%, rgba(168, 85, 247, 0) 72%);
    filter: blur(12px);
}

.ambient-layer-two {
    right: 6%;
    bottom: 10%;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.24) 0%, rgba(34, 211, 238, 0) 72%);
    filter: blur(18px);
}

.ambient-grid {
    inset: 0;
    opacity: 0.15;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 85%);
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1320px !important;
    padding: 176px 40px 94px;
    align-items: stretch;
    gap: 28px;
}

.col.left {
    flex: 0 0 460px;
    max-width: 460px;
    display: flex;
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    transform-origin: left center;
    transition: opacity 0.52s ease, transform 1.02s cubic-bezier(0.16, 1, 0.3, 1), flex-basis 0.52s ease, max-width 0.52s ease;
}

.col.right {
    flex: 1 1 auto;
    max-width: calc(100% - 488px);
    display: flex;
    transition: max-width 0.58s cubic-bezier(0.16, 1, 0.3, 1), transform 0.42s ease;
}

.col.left.shifting {
    transform: translate3d(-42px, 0, 0) scale(0.985);
}

.main-left,
.main-right {
    width: 100%;
}

.main-left {
    transform: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

.main-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.profile-panel {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 22px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-card);
}

.main-img {
    width: 100%;
    display: flex;
    align-items: center;
    min-height: 112px;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

.hero-pill {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.hero-pill-muted {
    background: rgba(99, 102, 241, 0.16);
    color: #ddd6fe;
    border-color: rgba(167, 139, 250, 0.26);
}

.main-img img {
    width: 104px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.img-title {
    margin-left: 18px;
}

.img-title-big {
    font-size: 3.3rem;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.hero-kicker {
    color: #ddd6fe;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-subtitle {
    margin: 0;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.98rem;
}

.hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.search-preset-panel,
.quick-action,
.link-card {
    position: relative;
    overflow: hidden;
}

.search-preset-panel::before,
.quick-action::before,
.link-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 35%, transparent 70%, rgba(34, 211, 238, 0.08));
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.search-preset-panel:hover::before,
.quick-action:hover::before,
.link-card:hover::before {
    opacity: 1;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.92rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.action-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.18);
}

.action-btn i {
    color: inherit;
}

.action-btn-primary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.94), rgba(34, 211, 238, 0.9));
    border-color: rgba(125, 211, 252, 0.36);
    box-shadow: 0 18px 34px rgba(99, 102, 241, 0.25);
}

.action-btn-ghost {
    grid-column: 1 / -1;
}

.action-btn-secondary:hover,
.action-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
}

.search-preset-panel {
    width: 100%;
    padding: 20px 24px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow-card);
}

.search-preset-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.search-preset-kicker {
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.search-preset-meta {
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.16);
    border: 1px solid rgba(125, 211, 252, 0.2);
    color: var(--accent-soft);
    font-size: 0.75rem;
}

.search-preset-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-preset-chip {
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.search-preset-chip:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(125, 211, 252, 0.24);
}

.search-preset-chip i {
    color: #7dd3fc;
}

.message {
    width: 100%;
    margin-top: 0;
    padding: 20px 22px;
    border-radius: 20px;
}

.message-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.message-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.16);
    border: 1px solid rgba(125, 211, 252, 0.22);
    color: #dbeafe;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.message-top i {
    color: rgba(255, 255, 255, 0.66);
}

.des {
    justify-content: flex-start;
}

.des-title {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.message-title {
    font-size: 1.08rem;
    font-weight: 600;
}

.message-subtitle {
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.92rem;
}

.social {
    width: 100%;
    margin-top: 0;
    align-items: center;
    height: auto;
    min-height: 52px;
    padding: 8px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow-card);
}

.social.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.social-hint {
    flex: 1;
    text-align: right;
    margin-right: 0.75rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quick-action-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.96), rgba(34, 211, 238, 0.88));
    box-shadow: 0 16px 26px rgba(99, 102, 241, 0.24);
}

.quick-action-icon i {
    color: #fff;
}

.quick-action-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.quick-action-title {
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.quick-action-copy strong {
    color: #fff;
    font-size: 0.98rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quick-action-copy small {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.82rem;
    line-height: 1.55;
}

.row.rightone {
    margin: 0;
    gap: 18px;
}

.col.hitokotos,
.col.times {
    margin: 0 !important;
}

.hitokoto,
.time {
    min-height: 182px;
    height: 100%;
    border-radius: 20px;
}

.hitokoto {
    padding: 24px 22px;
    overflow: hidden;
}

.time {
    padding: 24px 22px;
}

.hitokoto-text {
    font-size: 1.14rem;
    line-height: 1.8;
}

.hitokoto-from {
    margin-top: 12px;
    font-size: 0.96rem;
}

.open-music {
    margin: -24px -22px 18px;
    border-radius: 20px 20px 14px 14px;
}

.timeshow {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.quick-action {
    width: 100%;
    min-height: 102px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
    box-shadow: var(--shadow-card);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-action:hover {
    transform: translateY(-3px);
    border-color: rgba(196, 181, 253, 0.24);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 32px rgba(15, 23, 42, 0.16);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: 2px;
    padding: 0 2px;
}

.section-title-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.section-kicker {
    font-size: 0.76rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.46);
}

.section-title {
    margin: 0;
    font-size: 1.42rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    color: #fff;
}

.section-title i {
    color: #a78bfa;
}

.section-meta {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
}

.link {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.link .row {
    margin: 0;
    --bs-gutter-x: 16px !important;
    --bs-gutter-y: 16px !important;
}

.link .col {
    display: flex;
    align-items: stretch;
}

.link a {
    display: block;
    width: 100%;
}

.link-card {
    width: 100%;
    height: 118px;
    padding: 18px;
    justify-content: flex-start;
    gap: 14px;
    border-radius: 18px;
    align-items: stretch;
    overflow: hidden;
}

.link-card-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), var(--card-accent, #818cf8));
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.16);
}

.link-card-icon i,
.link-arrow {
    margin: 0 !important;
}

.link-card-icon i {
    font-size: 1.26rem;
}

.link-card-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    overflow: hidden;
}

.link-card-side {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    align-self: stretch;
    gap: 10px;
}

.link-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    max-width: 100%;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-card .link-name {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.link-desc {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.84rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.link-arrow {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.95rem !important;
    transition: all 0.25s ease;
}

.link-card:hover .link-arrow {
    color: #fff;
    transform: translate(2px, -2px);
}

.more {
    width: min(46%, 640px);
    right: max(3%, 24px);
    top: 6.5%;
    height: 84%;
    border-radius: 24px;
}

@media (max-width: 1200px) {
    .container {
        padding: 170px 28px 92px;
        gap: 22px;
    }

    .col.left {
        flex-basis: 430px;
        max-width: 430px;
    }

    .col.right {
        max-width: calc(100% - 452px);
    }

    .img-title-big {
        font-size: 2.9rem;
    }

    .hero-subtitle {
        font-size: 0.94rem;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 160px 22px 88px;
    }

    .col.left {
        flex-basis: 390px;
        max-width: 390px;
    }

    .col.right {
        max-width: calc(100% - 412px);
    }

    .quick-action-grid {
        grid-template-columns: 1fr;
    }

    .link-card {
        height: 108px;
        padding: 16px;
    }

    .link-card .link-name {
        display: block !important;
    }

    .link-desc {
        font-size: 0.8rem;
    }

    .more {
        width: min(54%, 600px);
    }
}

@media (max-width: 768px) {
    .ambient-layer-one {
        width: 240px;
        height: 240px;
        left: -40px;
        top: 11%;
    }

    .ambient-layer-two {
        width: 280px;
        height: 280px;
        right: -60px;
        bottom: 12%;
    }

    .container {
        padding: 138px 16px 92px;
        gap: 20px;
    }

    .col.left,
    .col.right {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .main-left,
    .main-right {
        gap: 14px;
    }

    .main-left {
        width: 100%;
    }

    .profile-panel,
    .search-preset-panel {
        border-radius: 18px;
    }

    .hero-actions {
        gap: 10px;
    }

    .action-btn {
        flex: 1 1 calc(50% - 5px);
    }

    .action-btn-ghost {
        flex-basis: 100%;
    }

    .quick-action-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .hitokoto,
    .time {
        min-height: 152px;
        border-radius: 18px;
    }

    .link-card {
        height: auto !important;
        min-height: 92px;
    }

    .link-card-side {
        flex-shrink: 0;
        align-self: flex-start;
        margin-left: auto;
        gap: 12px;
    }

    .link .col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .more {
        width: 100% !important;
        right: 0;
        top: 8%;
        height: 88%;
        border-radius: 24px 24px 0 0;
    }
}

@media (max-width: 540px) {
    .container {
        padding: 126px 12px 88px;
    }

    .hero-pills {
        gap: 8px;
    }

    .hero-pill {
        font-size: 0.7rem;
        padding: 5px 10px;
    }

    .img-title {
        margin-left: 12px;
    }

    .img-title-big {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .profile-panel {
        padding: 18px 16px;
        gap: 14px;
        border-radius: 18px;
    }

    .action-btn {
        flex-basis: 100%;
        min-height: 42px;
        padding: 0 14px;
        font-size: 0.88rem;
    }

    .search-preset-panel {
        padding: 16px;
    }

    .search-preset-head {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 12px;
    }

    .search-preset-chip {
        width: 100%;
        justify-content: center;
    }

    .message,
    .quick-action {
        border-radius: 18px;
    }

    .hero-actions,
    .search-preset-panel,
    .message,
    .social {
        width: 100%;
    }

    .message {
        padding: 16px;
    }

    .social-hint {
        display: none;
    }

    .quick-action-icon {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .link-card {
        min-height: 84px;
        padding: 14px;
        border-radius: 16px;
        gap: 12px;
    }

    .link-card-icon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .link-card .link-name {
        font-size: 0.92rem;
    }

    .link-desc {
        font-size: 0.76rem;
    }

    .link-card-side {
        display: none;
    }
}

@media (max-width: 380px) {
    .hero-kicker {
        font-size: 0.78rem;
    }

    .message-subtitle,
    .quick-action-copy small {
        font-size: 0.76rem;
    }

    .link-desc {
        display: none;
    }

    .search-data { width: min(210px, calc(100vw - 34px)); }
    .container { padding-top: 118px; }
}
