@charset "UTF-8";
/* ==========================================================================
   Hejinの主页 — Bento
   大小不一的方块拼贴：名片 2×2，数据 / 一言 / 站点各占其位，正好拼满
   ========================================================================== */

/* ==========================================================================
   1. 令牌
   ========================================================================== */

:root {
    --stage: 940px;
    --gap: 14px;
    --r: 20px;
    --r-sm: 12px;

    --ease: cubic-bezier(0.32, 0.72, 0, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    /* 拉丁与数字走系统无衬线，中文回落文楷 */
    --sans: ui-sans-serif, -apple-system, "Segoe UI", "Helvetica Neue", Arial,
            "LXGW WenKai", "霞鹜文楷", sans-serif;
    --cn: "LXGW WenKai", "霞鹜文楷", ui-sans-serif, "PingFang SC",
          "Microsoft YaHei", sans-serif;
}

[data-theme="dark"] {
    --bg:      #08080a;
    --tile:    #101014;
    --tile-up: #16161c;

    --ink:   #f2f2f5;
    --ink-2: #9d9da8;
    --ink-3: #6a6a76;
    --ink-4: #43434e;

    --edge:      rgba(255, 255, 255, 0.075);
    --edge-lit:  rgba(255, 255, 255, 0.16);
    --wash:      rgba(255, 255, 255, 0.04);

    --accent:     #7d97ff;
    --accent-2:   #64d2ff;
    --accent-rgb: 125, 151, 255;

    --lift: 0 1px 0 rgba(255, 255, 255, 0.045) inset,
            0 18px 40px -22px rgba(0, 0, 0, 0.9);
    --lift-up: 0 1px 0 rgba(255, 255, 255, 0.07) inset,
               0 26px 54px -20px rgba(0, 0, 0, 0.95);

    --halo: 0.13;
    --grain-a: 0.03;
    --ghost: 0.03;
    --ghost-up: 0.055;

    color-scheme: dark;
}

[data-theme="light"] {
    --bg:      #f1f1ef;
    --tile:    #ffffff;
    --tile-up: #ffffff;

    --ink:   #131317;
    --ink-2: #55555f;
    --ink-3: #86868f;
    --ink-4: #b4b4bd;

    --edge:      rgba(15, 15, 25, 0.075);
    --edge-lit:  rgba(15, 15, 25, 0.16);
    --wash:      rgba(15, 15, 25, 0.035);

    --accent:     #3d5bde;
    --accent-2:   #0f8fbf;
    --accent-rgb: 61, 91, 222;

    --lift: 0 1px 2px rgba(18, 20, 40, 0.05),
            0 10px 26px -18px rgba(18, 20, 40, 0.28);
    --lift-up: 0 2px 4px rgba(18, 20, 40, 0.06),
               0 22px 44px -18px rgba(18, 20, 40, 0.34);

    --halo: 0.08;
    --grain-a: 0.02;
    --ghost: 0.019;
    --ghost-up: 0.035;

    color-scheme: light;
}

/* ==========================================================================
   2. 基础
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    min-height: 100dvh;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--cn);
    font-size: 15.5px;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
    outline: 1.5px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

::selection { background: rgba(var(--accent-rgb), 0.24); }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: var(--ink-4);
    border: 3px solid transparent;
    border-radius: 99px;
    background-clip: content-box;
}

.num { font-family: var(--sans); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   3. 底衬
   ========================================================================== */

.halo {
    position: fixed;
    inset: -10%;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(64% 42% at 22% -6%, rgba(var(--accent-rgb), var(--halo)), transparent 70%),
        radial-gradient(52% 38% at 92% 4%, rgba(100, 210, 255, calc(var(--halo) * 0.6)), transparent 72%);
    animation: sway 22s var(--ease) infinite alternate;
}

@keyframes sway {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

.grain {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: var(--grain-a);
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   4. 载入发丝
   ========================================================================== */

.boot {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 1px;
    pointer-events: none;
}

.boot span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, transparent, var(--accent));
    transition: width 0.5s var(--ease-out), opacity 0.4s 0.25s linear;
}

.boot.is-loading span { width: 72%; }
.boot.is-done span { width: 100%; opacity: 0; }

/* ==========================================================================
   5. 主题切换
   ========================================================================== */

.mode {
    position: fixed;
    top: clamp(16px, 3.4vw, 26px);
    right: clamp(16px, 3.4vw, 26px);
    z-index: 90;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: var(--ink-3);
    background: var(--tile);
    border: 1px solid var(--edge);
    border-radius: 50%;
    box-shadow: var(--lift);
    transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.4s var(--ease);
}

.mode:hover {
    color: var(--ink);
    border-color: var(--edge-lit);
    transform: scale(1.06);
}

.mode i {
    position: absolute;
    font-size: 0.82rem;
    transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}

[data-theme="dark"]  .mode .fa-sun  { opacity: 1; transform: none; }
[data-theme="dark"]  .mode .fa-moon { opacity: 0; transform: rotate(-70deg) scale(0.5); }
[data-theme="light"] .mode .fa-sun  { opacity: 0; transform: rotate(70deg) scale(0.5); }
[data-theme="light"] .mode .fa-moon { opacity: 1; transform: none; }

/* ==========================================================================
   6. 舞台 + 网格
   ========================================================================== */

.stage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    width: 100%;
    max-width: var(--stage);
    min-height: 100dvh;
    margin-inline: auto;
    padding: clamp(56px, 11vh, 96px) clamp(14px, 3.4vw, 26px) 132px;
}

.bento {
    display: grid;
    gap: var(--gap);
}

/* ① 名片 2×2 + 三块数据，4 列 × 2 行正好填满 */
.bento--top {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(124px, auto);
}

/* ③ 网站列表：列数随宽度自适应，加减站点都不会留洞 */
.bento--links {
    grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
    grid-auto-rows: minmax(124px, auto);
}

/* 分组标题 */
.group { display: flex; flex-direction: column; gap: 10px; }

.label {
    display: flex;
    align-items: baseline;
    gap: 7px;
    padding-left: 4px;
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--ink-3);
    text-transform: uppercase;

    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.is-ready .label {
    opacity: 1;
    transform: none;
    transition-delay: calc(var(--d, 0) * 55ms + 60ms);
}

.label__n { font-size: 0.64rem; color: var(--ink-4); letter-spacing: 0.04em; }
.label__n::before { content: "("; }
.label__n::after  { content: ")"; }

/* ==========================================================================
   7. 方块本体
   ========================================================================== */

.tile {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: var(--tile);
    border: 1px solid var(--edge);
    border-radius: var(--r);
    box-shadow: var(--lift);
    overflow: hidden;
    isolation: isolate;

    /* 入场 */
    opacity: 0;
    transform: translateY(14px) scale(0.985);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out),
                border-color 0.4s var(--ease), box-shadow 0.45s var(--ease),
                background-color 0.45s var(--ease);
}

.is-ready .tile {
    opacity: 1;
    transform: none;
    transition-delay: calc(var(--d, 0) * 55ms + 60ms);
}

/* 跟随指针的渐变描边：1px 内圈用 mask 挖掉，只留一圈会亮的边 */
.tile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    padding: 1px;
    border-radius: inherit;
    background: radial-gradient(190px circle at var(--mx, 50%) var(--my, 50%),
                rgba(var(--accent-rgb), 0.85), transparent 62%);
    opacity: 0;
    pointer-events: none;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    transition: opacity 0.45s var(--ease);
}

.tile:hover::before { opacity: 1; }

/* 指针光斑 */
.tile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%),
                rgba(var(--accent-rgb), 0.13), transparent 60%);
    transition: opacity 0.4s var(--ease);
}

.tile:hover {
    background: var(--tile-up);
    border-color: var(--edge-lit);
    box-shadow: var(--lift-up);
}

.tile:hover::after { opacity: 1; }

/* 会跳转的方块才浮起来，并扫过一道光 */
.tile--go:hover { transform: translateY(-4px); }

.tile--go .sheen {
    position: absolute;
    top: 0;
    left: -60%;
    width: 45%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(100deg, transparent,
                rgba(255, 255, 255, 0.07) 45%, transparent);
    transform: skewX(-14deg);
}

[data-theme="light"] .tile--go .sheen {
    background: linear-gradient(100deg, transparent,
                rgba(var(--accent-rgb), 0.09) 45%, transparent);
}

.tile--go:hover .sheen { animation: sweep 0.9s var(--ease-out); }

@keyframes sweep {
    to { left: 130%; }
}

/* 角落里的巨大幽灵图标，只做质感，不能抢戏 */
.tile__ghost {
    position: absolute;
    right: -6px;
    bottom: -10px;
    z-index: -1;
    font-size: 3.4rem;
    line-height: 1;
    color: var(--ink);
    opacity: var(--ghost);
    pointer-events: none;
    transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
}

.tile:hover .tile__ghost {
    opacity: var(--ghost-up);
    transform: translate(-3px, -3px) rotate(-6deg);
}

/* ==========================================================================
   8. 名片 2×2
   ========================================================================== */

.tile--me {
    grid-column: span 2;
    grid-row: span 2;
    padding: 24px;
}

.me__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.me__avatar {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px var(--edge);
    transition: box-shadow 0.5s var(--ease), transform 0.6s var(--ease);
}

.tile--me:hover .me__avatar {
    transform: scale(1.05);
    box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.5),
                0 10px 26px -12px rgba(var(--accent-rgb), 0.55);
}

.me__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    font-family: var(--sans);
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    color: var(--ink-3);
    background: var(--wash);
    border: 1px solid var(--edge);
    border-radius: 99px;
}

.me__badge .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #3ddc84;
    box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6);
    animation: pulse 2.6s var(--ease) infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55); }
    70%  { box-shadow: 0 0 0 7px rgba(61, 220, 132, 0); }
    100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}

.me__name {
    margin-top: 18px;
    font-family: var(--cn);
    font-size: clamp(1.3rem, 3.4vw, 1.55rem);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.005em;
}

.me__tag {
    margin-top: 2px;
    font-size: 0.86rem;
    color: var(--ink-2);
    letter-spacing: 0.02em;
}

.me__about {
    margin-top: 14px;
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--ink-3);
}

.me__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    font-family: var(--sans);
    font-size: 0.76rem;
    color: var(--ink-2);
    background: var(--wash);
    border: 1px solid var(--edge);
    border-radius: 99px;
    transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
                background-color 0.3s var(--ease), transform 0.4s var(--ease);
}

.chip i { font-size: 0.78rem; }

.chip:hover {
    color: var(--ink);
    border-color: rgba(var(--accent-rgb), 0.45);
    background: rgba(var(--accent-rgb), 0.1);
    transform: translateY(-2px);
}

/* ==========================================================================
   9. 数据 1×1
   ========================================================================== */

.tile--stat { justify-content: space-between; }

/* 「已运行」占两格，把 4×2 补满 */
.tile--stat-wide { grid-column: span 2; }

.stat__k {
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    color: var(--ink-3);
    text-transform: uppercase;
}

.stat__v {
    margin-top: auto;
    font-size: clamp(1.45rem, 4.6vw, 1.9rem);
    font-weight: 450;
    line-height: 1.2;
    letter-spacing: -0.032em;
    color: var(--ink);
}

.stat__v em {
    margin-left: 3px;
    font-size: 0.68rem;
    font-style: normal;
    letter-spacing: 0;
    color: var(--ink-3);
}

/* ==========================================================================
   10. 一言 2×1
   ========================================================================== */

.tile--say {
    justify-content: center;
    min-height: 128px;
    padding-top: 48px;   /* 给绝对定位的「一言」标签让位 */
}

.say__k {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    color: var(--ink-3);
    text-transform: uppercase;
}

.say__text {
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--ink);
    transition: opacity 0.4s var(--ease), filter 0.4s var(--ease);
}

.say__from {
    margin-top: 6px;
    font-size: 0.76rem;
    color: var(--ink-3);
    transition: opacity 0.4s var(--ease);
}

.say__from:not(:empty)::before { content: "—— "; color: var(--ink-4); }

.tile--say.is-loading .say__text { opacity: 0.3; filter: blur(3px); }
.tile--say.is-loading .say__from { opacity: 0; }

.say__more {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    font-size: 0.72rem;
    color: var(--ink-4);
    border-radius: 50%;
    transition: color 0.3s var(--ease), background-color 0.3s var(--ease), transform 0.6s var(--ease);
}

.say__more:hover {
    color: var(--ink);
    background: var(--wash);
    transform: rotate(150deg);
}

.tile--say.is-loading .say__more {
    animation: spin 0.9s linear infinite;
    pointer-events: none;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   11. 站点 1×1
   ========================================================================== */

.tile--go { justify-content: space-between; }

/* 图标框是 <span>，图标本身是里面的 <i>。
   不要把 .fas 直接挂在框上 —— all.min.css 在本表之后加载，
   它的 display:inline-block 会盖掉这里的 grid 居中。 */
.go__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--ink-2);
    background: var(--wash);
    border: 1px solid var(--edge);
    border-radius: var(--r-sm);
    transition: color 0.35s var(--ease), background 0.4s var(--ease),
                border-color 0.35s var(--ease), transform 0.5s var(--ease);
}

.go__icon i { font-size: 0.94rem; line-height: 1; }

.tile--go:hover .go__icon {
    color: #fff;
    background: var(--accent);
    border-color: transparent;
    transform: rotate(-8deg) scale(1.06);
}

[data-theme="light"] .tile--go:hover .go__icon { color: #fff; }

.go__body {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    min-width: 0;
}

.go__name {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.go__desc {
    font-size: 0.74rem;
    line-height: 1.5;
    color: var(--ink-3);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.go__arrow {
    position: absolute;
    top: 24px;
    right: 20px;
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    line-height: 1;
    color: var(--ink-4);
    opacity: 0;
    transform: translate(-4px, 4px) rotate(-45deg);
    transition: opacity 0.4s var(--ease), transform 0.45s var(--ease), color 0.35s var(--ease);
}

.tile--go:hover .go__arrow {
    color: var(--accent);
    opacity: 1;
    transform: rotate(-45deg);
}

/* ==========================================================================
   12. 页脚
   ========================================================================== */

.foot {
    padding-inline: 4px;
    font-family: var(--sans);
    font-size: 0.73rem;
    line-height: 2;
    color: var(--ink-4);

    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.is-ready .foot {
    opacity: 1;
    transform: none;
    transition-delay: 0.5s;
}

.foot a { color: var(--ink-3); transition: color 0.3s var(--ease); }
.foot a:hover { color: var(--accent); }

.foot__beian { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   13. APlayer
   ========================================================================== */

.aplayer.aplayer-fixed { z-index: 80; }

.aplayer.aplayer-fixed .aplayer-body {
    background: var(--tile) !important;
    border: 1px solid var(--edge);
    border-left: 0;
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    box-shadow: var(--lift) !important;
    overflow: hidden;
}

.aplayer .aplayer-info { border-color: var(--edge) !important; }

.aplayer .aplayer-info .aplayer-music .aplayer-title,
.aplayer .aplayer-list ol li { color: var(--ink) !important; }

.aplayer .aplayer-info .aplayer-music .aplayer-author,
.aplayer .aplayer-info .aplayer-controller .aplayer-time { color: var(--ink-3) !important; }

.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar {
    background: var(--edge) !important;
}

.aplayer .aplayer-list {
    background: var(--tile) !important;
    border-top: 1px solid var(--edge);
}

.aplayer.aplayer-fixed .aplayer-miniswitcher {
    background: var(--tile) !important;
    border-left: 1px solid var(--edge);
}

.aplayer .aplayer-icon path { fill: var(--ink-3); }
.aplayer .aplayer-icon:hover path { fill: var(--ink) !important; }

.aplayer .aplayer-list ol li {
    background: transparent !important;
    border-color: var(--edge) !important;
}

.aplayer .aplayer-list ol li:hover,
.aplayer .aplayer-list ol li.aplayer-list-light {
    background: var(--wash) !important;
}

.aplayer.aplayer-fixed .aplayer-lrc {
    left: auto !important;
    right: 16px !important;
    width: min(340px, 44vw) !important;
    margin-right: 0 !important;
    text-align: right !important;
}

.aplayer.aplayer-fixed .aplayer-lrc p { color: var(--ink-4) !important; }
.aplayer.aplayer-fixed .aplayer-lrc p.aplayer-lrc-current { color: var(--ink-2) !important; }
.aplayer.aplayer-fixed .aplayer-lrc::before,
.aplayer.aplayer-fixed .aplayer-lrc::after { background: none !important; }

/* 播放器 API 失败时仍给出可见反馈，不依赖 APlayer 是否成功创建。 */
.music-status {
    position: fixed;
    left: 50%;
    bottom: 86px;
    z-index: 81;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: min(92vw, 420px);
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 10px;
    background: rgba(12, 14, 20, .92);
    color: #f4f7fb;
    font-size: .82rem;
    line-height: 1.4;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
    transform: translateX(-50%);
}

.music-status[hidden] { display: none; }
.music-status button {
    border: 0;
    border-radius: 6px;
    padding: 4px 8px;
    background: var(--accent, #4a9eff);
    color: #fff;
    font: inherit;
    cursor: pointer;
}

/* ==========================================================================
   14. 响应式
   ========================================================================== */

@media (max-width: 900px) {
    /* 名片占满整行；下面两块数据并排，「已运行」独占一行 */
    .bento--top {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(118px, auto);
    }

    .bento--links { grid-auto-rows: minmax(118px, auto); }

    .tile--me { grid-column: span 2; grid-row: span 2; }
}

@media (max-width: 520px) {
    :root { --gap: 11px; --r: 17px; }

    body { font-size: 15px; }

    .stage { gap: 20px; padding: clamp(44px, 9vh, 72px) 14px 150px; }

    .bento--top,
    .bento--links { grid-auto-rows: minmax(104px, auto); }

    /* 窄屏放宽下限，链接卡仍能排成两列，不至于变成一长条 */
    .bento--links { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

    .tile { padding: 16px; }
    .tile--me { padding: 19px; }

    .me__avatar { width: 56px; height: 56px; }
    .me__about { margin-top: 11px; font-size: 0.86rem; }
    .me__links { padding-top: 15px; }

    .go__arrow { top: 19px; right: 16px; }

    .aplayer.aplayer-fixed .aplayer-lrc { display: none !important; }
}

/* 触屏没有 hover，直接把细节显出来 */
@media (hover: none) {
    .go__arrow { opacity: 1; transform: rotate(-45deg); }
    .tile::after { display: none; }
}

/* ==========================================================================
   15. 主题切换的圆形扩散
   ========================================================================== */

::view-transition-old(root),
::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2; }

/* ==========================================================================
   16. 降级
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .tile, .foot { opacity: 1; transform: none; }
}

@media print {
    .halo, .grain, .boot, .mode, .say__more, .aplayer { display: none !important; }
    body { background: #fff; color: #000; }
    .tile, .foot { opacity: 1; transform: none; box-shadow: none; }
}
