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

html {
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
}

body {
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    color: #fff;
    line-height: 1.5;
    background: linear-gradient(120deg, #1eda9f, #1a73e8, #6c5ce7, #1a73e8);
    background-size: 300% 300%;
    animation: gradientShift 20s ease-in-out infinite 3s;
}

@keyframes gradientShift {

    0%,
    25% {
        background-position: 0% 50%;
    }

    37.5% {
        background-position: 50% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    62.5% {
        background-position: 100% 50%;
    }

    75% {
        background-position: 50% 50%;
    }

    75%,
    100% {
        background-position: 0% 50%;
    }
}

.navbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem 1.5rem;
    padding: max(clamp(0.75rem, 2.5vw, 1rem), env(safe-area-inset-top, 0px)) clamp(1rem, 4vw, 2rem) clamp(0.75rem, 2.5vw, 1rem);
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    position: relative;
    z-index: 100;
    flex-shrink: 0;
    overflow: visible;
}

.nav-menu {
    overflow: visible;
}

.navbar .logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.96);
    flex-shrink: 0;
}

.navbar .logo__mark-link {
    display: inline-flex;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.navbar .logo__mark-link:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.navbar .logo__mark-link:focus-visible {
    outline: 2px solid #ffe500;
    outline-offset: 3px;
    border-radius: 12px;
}

.navbar .logo__mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #03121a;
    background: linear-gradient(135deg, #e8fdff 0%, #34e3f4 40%, #25b8ff 70%, #1e6bff 100%);
    box-shadow: 0 0 20px rgba(52, 227, 244, 0.28);
}

/* 外框不变，仅内部表格图形 2×（与 favicon 同形，占满方标约 1:1 可视区） */
.navbar .logo__mark__icon {
    width: 1.05rem;
    height: 1.05rem;
    display: block;
    transform: scale(2);
    transform-origin: center;
}

.navbar .logo__text {
    font-family: "Ranchers", cursive;
    font-size: clamp(1.25rem, 3.8vw, 1.45rem);
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.nav-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem 1rem;
    list-style: none;
    margin-left: auto;
}

/* 浮动语言切换：独立于 nav，固定右下角 */
.rc-lang-float {
    position: fixed;
    right: max(clamp(1rem, 3vw, 1.5rem), env(safe-area-inset-right, 0px));
    bottom: max(clamp(1rem, 3vw, 1.35rem), env(safe-area-inset-bottom, 0px));
    z-index: 220;
    display: inline-flex;
    align-items: center;
    gap: 0.12rem;
    padding: 0.28rem 0.38rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(8, 28, 72, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(37, 184, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rc-lang-float__btn {
    min-width: 2.35rem;
    min-height: 2.35rem;
    padding: 0;
    border: none;
    border-radius: 999px;
    font-family: ui-monospace, Consolas, monospace;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1;
    color: rgba(255, 255, 255, 0.95);
    background: transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.rc-lang-float__btn:hover:not(.is-active) {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.rc-lang-float__btn.is-active {
    color: #03121a;
    background: #34e3f4;
    box-shadow: 0 0 14px rgba(52, 227, 244, 0.45);
}

.rc-lang-float__btn:focus-visible {
    outline: 2px solid #34e3f4;
    outline-offset: 2px;
}

.rc-lang-float__sep {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.38);
    user-select: none;
    padding: 0 0.05rem;
}

.nav-menu a {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    opacity: 0.92;
    min-height: 2.5rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 0.35rem 0.5rem;
    color: #fff;
    font-size: clamp(0.95rem, 2.8vw, 1.15rem);
    transition: color 0.35s ease, opacity 0.2s;
}

.nav-menu a:hover {
    color: #b8fff7;
}

.nav-menu > li {
    position: relative;
}

.nav-main-link {
    position: relative;
    gap: 0.35rem;
}

/* 与全站 pill / 状态标签一致；显示在 Main 下方 */
.nav-main-link__tip {
    position: absolute;
    left: 50%;
    top: calc(100% + 0.45rem);
    bottom: auto;
    transform: translateX(-50%) translateY(-4px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.04em;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(52, 227, 244, 0.28);
    background: rgba(52, 227, 244, 0.1);
    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.28),
        0 0 18px rgba(37, 184, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)), visibility 0.2s ease;
    z-index: 120;
}

.nav-main-link__tip::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: rgba(52, 227, 244, 0.22);
}

.nav-main-link:hover .nav-main-link__tip,
.nav-main-link:focus-visible .nav-main-link__tip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.container {
    flex: 1 1 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 8vw, 150px);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 0;
    padding: 0 clamp(1rem, 4vw, 2rem);
    box-sizing: border-box;
}

.left-box {
    flex: 1 1 min(100%, 24rem);
    width: min(100%, 44rem);
    margin-top: 0;
    padding: clamp(1rem, 3vw, 2rem) 0;
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: clamp(1.1rem, 2.8vw, 1.65rem);
    color: #fff;
}

.left-box .slogan-text {
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    line-height: 1.35;
    color: #fff;
}

.left-box .slogan-text:first-of-type {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin-bottom: 0.75rem;
}

.left-box .slogan-text:last-of-type {
    font-size: clamp(1.2rem, 3.8vw, 2rem);
    margin-bottom: 0;
}

/* 下载 / 介绍 / 指引 / 赞助：专注与叙事强调 — 加粗黑体（统一样式） */
.rc-section--download .slogan-text strong,
.rc-section--download .download-audience strong,
.describe-brutal__lede strong,
.describe-brutal__p strong,
.describe-mini__t strong,
.guide-brutal__bridge strong,
.sponsor-intro-card__strong {
    font-family: "PingFang SC", "Microsoft YaHei", "Heiti SC", "Segoe UI", system-ui, sans-serif;
    font-weight: 800;
    color: #0a1628;
    background: none;
    padding: 0;
    border: none;
    box-shadow: none;
    text-shadow: none;
    -webkit-text-stroke: 0;
}

/* 下载首屏：与周围同色白字，加粗 + 阴影区分 */
.rc-section--download .slogan-text strong,
.rc-section--download .download-audience strong {
    color: #fff;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.5),
        0 4px 14px rgba(0, 0, 0, 0.35);
}

.left-box .download-audience {
    margin: 0.85rem 0 0;
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: clamp(0.9rem, 2.3vw, 1.05rem);
    font-weight: 500;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    max-width: 28rem;
}

.download-section {
    margin-top: clamp(1.75rem, 4vw, 3rem);
}

.download-section .download-botton {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    font-size: clamp(0.95rem, 2.5vw, 1.125rem);
    font-weight: 500;
    color: #fff;
    margin-bottom: 0;
}

.download-botton a {
    text-decoration: none;
    margin-left: 0;
    min-width: 8rem;
    min-height: 2.5rem;
    padding: 0 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fff;
    color: #333;
    font-size: clamp(0.95rem, 2.4vw, 1.125rem);
    transition: transform 0.2s, box-shadow 0.25s;
    cursor: pointer;
    box-sizing: border-box;
}

.download-botton a:hover {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
    transform: translateY(-3px);
}

.download-botton a:active {
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.download-section .github-link {
    font-family: "Segoe UI", system-ui, sans-serif;
    margin-top: 1.25rem;
    font-size: clamp(0.9rem, 2.4vw, 1rem);
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.download-section .github-link a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 700;
    transition: opacity 0.2s;
}

.download-section .github-link a:hover {
    opacity: 0.85;
}

.Tkinter-section {
    margin-top: clamp(1.75rem, 4vw, 3rem);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.Tkinter-section .Tkinter-info {
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: clamp(0.95rem, 2.5vw, 1.125rem);
    margin-bottom: 1rem;
    font-weight: 500;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.95);
}

.right-box {
    flex: 1 1 16rem;
    max-width: min(100%, 32rem);
    margin: 0 auto;
    padding-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.right-box img {
    width: 100%;
    max-width: min(28rem, 90vw);
    height: auto;
    margin-right: 0;
    display: block;
}

@media (max-width: 768px) {
    .container {
        margin-top: 0;
        flex-direction: column;
        align-items: stretch;
        gap: clamp(0.75rem, 3vw, 1.25rem);
    }

    .right-box {
        order: -1;
        padding-top: 0;
        max-width: 100%;
    }

    .right-box img {
        max-width: min(100%, 20rem);
        max-height: min(40vh, 14rem);
        width: auto;
        margin-inline: auto;
        object-fit: contain;
    }

    .left-box {
        width: 100%;
        margin-top: 0;
        padding: clamp(0.5rem, 2vw, 1rem) 0;
        text-align: left;
    }

    .left-box .slogan-text:first-of-type {
        font-size: clamp(1.25rem, 5.5vw, 1.85rem);
    }

    .left-box .slogan-text:last-of-type {
        font-size: clamp(1.05rem, 4vw, 1.45rem);
    }

    .download-section {
        margin-top: clamp(1rem, 3vw, 1.5rem);
    }

    .Tkinter-section {
        margin-top: clamp(1rem, 3vw, 1.5rem);
        padding-top: 1rem;
    }

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

    .download-botton a {
        width: 100%;
        max-width: 20rem;
    }
}

@media (min-width: 769px) {
    .container {
        flex-wrap: nowrap;
        align-items: center;
    }

    .left-box {
        padding-right: clamp(1rem, 3vw, 2rem);
    }
}

/* —— 分页：Download / Describe —— */
.nav-tab {
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: clamp(0.95rem, 2.8vw, 1.15rem);
    color: #fff;
    opacity: 0.92;
    background: transparent;
    border: none;
    padding: 0.35rem 0.5rem 0.5rem;
    min-height: 2.5rem;
    cursor: pointer;
    transition: color 0.2s ease, opacity 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.nav-tab::after {
    content: "";
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0;
    height: 3px;
    background: #34e3f4;
    border-radius: 2px;
    opacity: 0;
    transform: scaleX(0.35);
    transition: none;
    pointer-events: none;
}

.nav-tab:hover {
    color: #b8fff7;
    opacity: 1;
}

.nav-tab.is-active {
    opacity: 1;
    color: #fff;
}

.nav-tab.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

/* —— 垂直滚动主内容 —— */
.rc-main {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

.rc-section {
    width: 100%;
    box-sizing: border-box;
    scroll-margin-top: 0;
}

.rc-section--download {
    min-height: min(100dvh, 100vh);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rc-section--download > .container {
    flex: 0 1 auto;
    width: 100%;
    padding-top: clamp(1rem, 3vw, 2rem);
    padding-bottom: clamp(1.5rem, 4vw, 3rem);
}

.rc-section--describe {
    min-height: min(100dvh, 100vh);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.rc-section--guide {
    min-height: min(100dvh, 100vh);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.rc-section--guide > .guide-shell {
    flex: 0 1 auto;
    width: 100%;
    padding-top: clamp(1.25rem, 3vw, 2rem);
    padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.rc-section--sponsor {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    box-sizing: border-box;
}

.rc-section--sponsor > .sponsor-shell {
    flex: 0 1 auto;
    width: 100%;
    max-width: 1400px;
    margin: auto;
    padding-top: clamp(1.25rem, 3vw, 2rem);
    padding-bottom: clamp(2rem, 5vw, 3.5rem);
    box-sizing: border-box;
}

.rc-section--describe > .describe-shell {
    flex: 0 1 auto;
    width: 100%;
    padding-top: clamp(1.25rem, 3vw, 2rem);
    padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

/* Describe：Neo-Brutalism + ReportCraft 色点 */
.describe-shell {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: clamp(1rem, 3vw, 2rem);
    padding-right: clamp(1rem, 3vw, 2rem);
    box-sizing: border-box;
}

.describe-brutal {
    width: 100%;
    background: #f8f8f4;
    color: #1a1a1a;
    border: 3px solid #0a1628;
    box-shadow: 10px 10px 0 rgba(3, 18, 26, 0.88);
    padding: clamp(1.35rem, 3.2vw, 2.25rem);
    border-radius: 0;
}

.describe-brutal__head {
    border-bottom: 3px solid #0a1628;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.describe-brutal__label {
    display: inline-block;
    background: #0a1628;
    color: #e8fdff;
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.35rem 0.55rem;
    margin-bottom: 0.65rem;
}

.describe-brutal__title {
    font-family: "Ranchers", cursive;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    letter-spacing: 0.04em;
    color: #03121a;
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.describe-brutal__lede {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: #444;
    max-width: 62ch;
    line-height: 1.5;
}

.describe-brutal__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.35rem, 3.2vw, 2.25rem);
    align-items: start;
}

@media (max-width: 820px) {
    .describe-brutal__grid {
        grid-template-columns: 1fr;
    }
}

.describe-brutal__p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1rem;
}

.describe-brutal__chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.describe-brutal__chips li {
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35rem 0.6rem;
    border: 2px solid #0a1628;
    background: #ffe500;
    box-shadow: 3px 3px 0 #0a1628;
}

.describe-brutal__cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 1rem;
}

.describe-mini {
    background: #fff;
    border: 2px solid #0a1628;
    box-shadow: 6px 6px 0 rgba(26, 115, 232, 0.35);
    padding: 1.25rem 1.35rem;
    min-height: 0;
    border-radius: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.describe-mini:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 rgba(30, 219, 159, 0.45);
}

.describe-mini__tag {
    display: inline-block;
    font-family: ui-monospace, monospace;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    background: #1a73e8;
    border: 2px solid #0a1628;
    padding: 0.2rem 0.45rem;
    margin-bottom: 0.45rem;
}

.describe-mini__h {
    font-family: "Inter", system-ui, sans-serif;
    font-size: clamp(1rem, 1.6vw, 1.1rem);
    font-weight: 800;
    margin-bottom: 0.45rem;
    color: #03121a;
}

.describe-mini__t {
    font-size: clamp(0.84rem, 1.35vw, 0.92rem);
    color: #555;
    line-height: 1.58;
}

.describe-terminal {
    border: 3px solid #0a1628;
    background: #fff;
    box-shadow: 8px 8px 0 #0a1628;
    overflow: hidden;
}

.describe-terminal__bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.75rem;
    background: linear-gradient(90deg, #34e3f4 0%, #1a73e8 100%);
    border-bottom: 3px solid #0a1628;
}

.describe-terminal__dot {
    width: 11px;
    height: 11px;
    border: 2px solid #0a1628;
    background: #f8f8f4;
    flex-shrink: 0;
}

.describe-terminal__dot--rc {
    background: #1eda9f;
}

.describe-terminal__dot--rc2 {
    background: #6c5ce7;
}

.describe-terminal__title {
    margin-left: 0.25rem;
    font-family: ui-monospace, monospace;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #03121a;
}

.describe-terminal__body {
    padding: 1rem 1rem 1.15rem;
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 0.78rem;
    line-height: 1.65;
}

.describe-terminal__line {
    margin-bottom: 0.35rem;
}

.describe-terminal__p {
    color: #1a73e8;
    font-weight: 800;
    margin-right: 0.25rem;
}

.describe-terminal__c {
    font-weight: 700;
    color: #111;
}

.describe-terminal__line--muted {
    color: #666;
    padding-left: 1rem;
}

.describe-terminal__line--ok {
    color: #0b7a55;
    font-weight: 800;
    padding-left: 0.15rem;
}

.describe-brutal__note {
    margin-top: 0.75rem;
    font-size: 0.72rem;
    color: #666;
    line-height: 1.45;
}

/* Guide：Neo-Brutalism 分步 + 界面标注 */
.guide-shell {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: clamp(1rem, 3vw, 2rem);
    padding-right: clamp(1rem, 3vw, 2rem);
    box-sizing: border-box;
}

.guide-brutal {
    width: 100%;
    background: #f8f8f4;
    color: #1a1a1a;
    border: 3px solid #0a1628;
    box-shadow: 10px 10px 0 rgba(3, 18, 26, 0.88);
    padding: clamp(1.35rem, 3.2vw, 2.25rem);
    border-radius: 0;
}

.guide-brutal__head {
    text-align: center;
    border-bottom: 3px solid #0a1628;
    padding-bottom: 1.1rem;
    margin-bottom: 1.5rem;
}

.guide-brutal__label {
    display: inline-block;
    background: #0a1628;
    color: #ffe500;
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.35rem 0.55rem;
    margin-bottom: 0.65rem;
}

.guide-brutal__title {
    font-family: "Inter", system-ui, sans-serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #03121a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    line-height: 1.15;
}

.guide-brutal__title i {
    color: #1a73e8;
}

.guide-brutal__sub {
    display: inline-block;
    margin-top: 0.55rem;
    font-family: ui-monospace, monospace;
    font-size: 0.78rem;
    font-weight: 700;
    color: #03121a;
    background: #ffe500;
    border: 2px solid #0a1628;
    padding: 0.3rem 0.85rem;
    box-shadow: 3px 3px 0 #0a1628;
}

.guide-brutal__bridge {
    margin: 0.85rem auto 0;
    width: max-content;
    max-width: 100%;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #334155;
    white-space: nowrap;
}

.guide-brutal__bridge.rc-i18n-smooth--block {
    display: block;
}

.guide-brutal__bridge .rc-i18n-smooth__zh,
.guide-brutal__bridge .rc-i18n-smooth__en {
    white-space: nowrap;
}

.guide-brutal__bridge.rc-i18n-smooth--block .rc-i18n-smooth__en {
    width: max-content;
    max-width: none;
}

@media (max-width: 900px) {
    .guide-brutal__bridge {
        width: 100%;
        max-width: 100%;
        white-space: normal;
        text-align: center;
        font-size: clamp(0.72rem, 2.8vw, 0.88rem);
        line-height: 1.6;
    }

    .guide-brutal__bridge .rc-i18n-smooth__zh,
    .guide-brutal__bridge .rc-i18n-smooth__en {
        white-space: normal;
        width: 100%;
        max-width: 100%;
    }

    .guide-brutal__bridge.rc-i18n-smooth--block .rc-i18n-smooth__zh,
    .guide-brutal__bridge.rc-i18n-smooth--block .rc-i18n-smooth__en {
        position: relative;
        width: 100%;
        max-width: 100%;
    }

    body.rc-lang-en .guide-brutal__bridge.rc-i18n-smooth--block .rc-i18n-smooth__zh {
        position: absolute;
        left: 0;
        top: 0;
    }

    body.rc-lang-en .guide-brutal__bridge.rc-i18n-smooth--block .rc-i18n-smooth__en {
        position: relative;
    }
}

.guide-block {
    margin-bottom: 2rem;
}

.guide-block:last-child {
    margin-bottom: 0;
}

.guide-block__label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: ui-monospace, monospace;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #03121a;
    margin-bottom: 1rem;
    padding-left: 0.65rem;
    border-left: 4px solid #1a73e8;
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
}

@media (max-width: 1100px) {
    .guide-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .guide-steps {
        grid-template-columns: 1fr;
    }
}

.guide-step {
    background: #fff;
    border: 3px solid #0a1628;
    box-shadow: 6px 6px 0 #0a1628;
    padding: 1.15rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.guide-step:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 #0a1628;
}

.guide-step--yellow {
    background: #fef3c7;
}

.guide-step--mint {
    background: #d1fae5;
}

.guide-step--lavender {
    background: #ede9fe;
}

.guide-step--coral {
    background: #ffe4e6;
}

.guide-step--sky {
    background: #e0f2fe;
}

.guide-step__shot {
    width: 100%;
    margin: 0;
    border: 2px solid #0a1628;
    background: #fff;
    box-shadow: 3px 3px 0 rgba(26, 115, 232, 0.35);
}

.guide-step__shot img {
    display: block;
    width: 100%;
    height: auto;
}

.guide-block--manual {
    margin-top: 0.25rem;
}

.guide-manual-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 3px solid #0a1628;
    box-shadow: 8px 8px 0 #0a1628;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.guide-manual-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 11px 11px 0 #0a1628;
    background: #fffbeb;
}

.guide-manual-card__icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #03121a;
    background: #ffe500;
    border: 2px solid #0a1628;
    box-shadow: 3px 3px 0 #0a1628;
}

.guide-manual-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    text-align: left;
}

.guide-manual-card__title {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #03121a;
}

.guide-manual-card__desc {
    font-size: 0.78rem;
    line-height: 1.45;
    font-weight: 500;
    color: #555;
}

.guide-manual-card__arrow {
    flex-shrink: 0;
    font-size: 1rem;
    color: #1a73e8;
    transition: transform 0.15s ease;
}

.guide-manual-card:hover .guide-manual-card__arrow {
    transform: translateX(4px);
}

@media (max-width: 520px) {
    .guide-manual-card {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .guide-manual-card__body {
        align-items: center;
        text-align: center;
        flex: 1 1 100%;
    }
}

.guide-step__num {
    font-family: ui-monospace, monospace;
    font-size: 2rem;
    font-weight: 900;
    color: #0a1628;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.guide-step__icon {
    font-size: 1.5rem;
    color: #1a73e8;
    margin-bottom: 0.35rem;
}

.guide-step__title {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #03121a;
    margin-bottom: 0.65rem;
}

.guide-fake {
    width: 100%;
    border: 2px solid #0a1628;
    background: #fff;
    padding: 0.55rem;
    box-shadow: 3px 3px 0 rgba(26, 115, 232, 0.25);
}

.guide-fake__row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #1a1a1a;
}

.guide-fake__input {
    flex: 1;
    text-align: left;
    background: #f0f4ff;
    border: 2px solid #0a1628;
    padding: 0.25rem 0.4rem;
    font-family: ui-monospace, monospace;
    font-size: 0.68rem;
}

.guide-fake__btn {
    background: #ffe500;
    border: 2px solid #0a1628;
    padding: 0.2rem 0.5rem;
    font-family: ui-monospace, monospace;
    font-size: 0.65rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 2px 2px 0 #0a1628;
}

.guide-fake__trow {
    display: flex;
    justify-content: space-between;
    gap: 0.25rem;
    background: #fff;
    border: 1px solid #0a1628;
    padding: 0.22rem 0.35rem;
    margin-bottom: 0.2rem;
    font-family: ui-monospace, monospace;
    font-size: 0.62rem;
    font-weight: 600;
}

.guide-fake__note {
    display: block;
    margin-top: 0.35rem;
    font-family: ui-monospace, monospace;
    font-size: 0.62rem;
    font-weight: 700;
    color: #555;
}

.guide-fake__cta {
    display: inline-block;
    background: #0a1628;
    color: #ffe500;
    border: 2px solid #0a1628;
    padding: 0.35rem 0.75rem;
    font-family: ui-monospace, monospace;
    font-size: 0.72rem;
    font-weight: 800;
    box-shadow: 4px 4px 0 #1a73e8;
}

.guide-mock-wrap {
    border: 3px solid #0a1628;
    background: #fff;
    box-shadow: 8px 8px 0 #0a1628;
    padding: 1rem;
}

.guide-mock {
    position: relative;
    background: #f8f8f4;
    border: 2px solid #0a1628;
    padding: 1rem 0.85rem;
    box-shadow: 4px 4px 0 rgba(30, 219, 159, 0.35);
}

.guide-mock__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #0a1628;
}

.guide-mock__logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: "Ranchers", cursive;
    font-size: 1.1rem;
    color: #03121a;
}

.guide-mock__ver {
    font-family: ui-monospace, monospace;
    font-size: 0.65rem;
    font-weight: 700;
    background: #ffe500;
    border: 2px solid #0a1628;
    padding: 0.15rem 0.4rem;
}

.guide-mock__body {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.guide-mock__panel {
    flex: 1 1 9rem;
    min-width: 8.5rem;
    background: #fff;
    border: 2px solid #0a1628;
    padding: 0.65rem;
    box-shadow: 3px 3px 0 #0a1628;
}

.guide-mock__panel--wide {
    flex: 1.4 1 11rem;
}

.guide-mock__panel-title {
    font-family: ui-monospace, monospace;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.guide-mock__path-row {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.35rem;
    font-size: 0.65rem;
}

.guide-mock__path-val {
    flex: 1;
    font-family: ui-monospace, monospace;
    font-weight: 600;
    font-size: 0.62rem;
}

.guide-mock__table {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.guide-mock__thead,
.guide-mock__trow {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 0.7fr 0.5fr;
    gap: 0.2rem;
    font-family: ui-monospace, monospace;
    font-size: 0.58rem;
    font-weight: 600;
    padding: 0.25rem 0.3rem;
    border: 1px solid #0a1628;
}

.guide-mock__thead {
    background: #ffe500;
    font-weight: 800;
}

.guide-mock__trow {
    background: #fff;
}

.guide-mock__add {
    display: block;
    margin-top: 0.35rem;
    font-family: ui-monospace, monospace;
    font-size: 0.62rem;
    font-weight: 700;
    color: #1a73e8;
}

.guide-mock__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.65rem;
}

.guide-mock__gen {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #0a1628;
    color: #fff;
    border: 2px solid #0a1628;
    padding: 0.35rem 0.85rem;
    font-family: ui-monospace, monospace;
    font-size: 0.68rem;
    font-weight: 800;
    box-shadow: 4px 4px 0 #ff3366;
}

.guide-hotspot {
    position: absolute;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%);
    z-index: 10;
    border: 3px solid #0a1628;
    background: #ff3366;
    color: #fff;
    font-family: ui-monospace, monospace;
    font-size: 0.8rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 4px 4px 0 #0a1628;
    transition: transform 0.12s ease;
    animation: guideHotspotPulse 1.4s step-end infinite;
}

.guide-hotspot:hover,
.guide-hotspot:focus-visible {
    transform: translate(-50%, -50%) translate(-2px, -2px);
    box-shadow: 6px 6px 0 #0a1628;
    outline: none;
}

@keyframes guideHotspotPulse {
    50% {
        background: #ffe500;
        color: #0a1628;
    }
}

.guide-hotspot-label {
    position: absolute;
    z-index: 20;
    background: #0a1628;
    color: #ffe500;
    border: 2px solid #0a1628;
    padding: 0.35rem 0.65rem;
    font-family: ui-monospace, monospace;
    font-size: 0.68rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 4px 4px 0 #ff3366;
    pointer-events: none;
    transform: translate(-50%, 0);
}

.guide-annotations {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1rem;
    padding: 0;
}

.guide-ann {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: ui-monospace, monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: #03121a;
    background: #fff;
    border: 2px solid #0a1628;
    padding: 0.35rem 0.75rem;
    box-shadow: 3px 3px 0 #0a1628;
}

.guide-ann__dot {
    width: 10px;
    height: 10px;
    background: #ff3366;
    border: 2px solid #0a1628;
    flex-shrink: 0;
}

.guide-hint {
    text-align: center;
    margin-top: 0.75rem;
    font-family: ui-monospace, monospace;
    font-size: 0.68rem;
    font-weight: 600;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

/* Sponsor：Neo-Brutalism 双栏 + 终端动画 */
.sponsor-shell {
    width: 100%;
    padding-left: clamp(1rem, 3vw, 2rem);
    padding-right: clamp(1rem, 3vw, 2rem);
    box-sizing: border-box;
}

.sponsor-brutal {
    width: 100%;
    background: #fffbeb;
    color: #1a1a2e;
    border: 3px solid #0a1628;
    box-shadow: 10px 10px 0 rgba(3, 18, 26, 0.88);
    padding: clamp(1.35rem, 3.2vw, 2.25rem);
    border-radius: 0;
}

.sponsor-brutal__head {
    border-bottom: 3px solid #0a1628;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.sponsor-brutal__label {
    display: inline-block;
    background: #0a1628;
    color: #fbbf24;
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.35rem 0.55rem;
    margin-bottom: 0.65rem;
}

.sponsor-brutal__title {
    font-family: "Inter", system-ui, sans-serif;
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #1a1a2e;
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.sponsor-brutal__highlight {
    display: inline-block;
    background: #fbbf24;
    padding: 0 0.35rem;
    border: 3px solid #0a1628;
    box-shadow: 4px 4px 0 #0a1628;
    margin-left: 0.25rem;
}

.sponsor-brutal__lede {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: #4a4a5e;
    border-left: 4px solid #0a1628;
    padding-left: 0.85rem;
    max-width: 62ch;
    line-height: 1.5;
}

.sponsor-brutal__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.85rem;
    padding: 0.4rem 0.75rem;
    border: 2px solid #0a1628;
    background: #fef3c7;
    font-family: ui-monospace, monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: #1a1a2e;
    box-shadow: 3px 3px 0 #0a1628;
}

.sponsor-brutal__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.35rem, 3.2vw, 2.25rem);
    align-items: stretch;
}

.sponsor-brutal__col {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.sponsor-brutal__col--main {
    gap: 0.85rem;
}

.sponsor-brutal__col--side .sponsor-terminal {
    flex: 0 0 auto;
    align-self: stretch;
    width: 100%;
}

@media (max-width: 900px) {
    .sponsor-brutal__grid {
        grid-template-columns: 1fr;
    }

    .sponsor-brutal__col--side {
        order: -1;
    }

    .sponsor-brutal__col--side .sponsor-terminal {
        min-height: 12.5rem;
    }
}

.sponsor-intro-card {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    border: 3px solid #0a1628;
    padding: 1.1rem 1.15rem;
    margin-bottom: 0;
    box-shadow: 6px 6px 0 #0a1628;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    flex: 1;
    min-height: 0;
}

.sponsor-brutal__col--main .sponsor-intro-card:last-child {
    margin-bottom: 0;
}

.sponsor-intro-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 #0a1628;
}

.sponsor-intro-card--yellow {
    background: #fef3c7;
}

.sponsor-intro-card--mint {
    background: #d1fae5;
}

.sponsor-intro-card__icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0a1628;
    background: #fff;
    font-size: 0.95rem;
    color: #0a1628;
}

.sponsor-intro-card__strong {
    font-size: 0.92rem;
    margin-bottom: 0.35rem;
}

.sponsor-intro-card__strong.rc-i18n-smooth--block,
.sponsor-intro-card__text.rc-i18n-smooth--block {
    display: block;
}

.sponsor-intro-card__text {
    font-size: 0.84rem;
    line-height: 1.55;
    color: #4a4a5e;
    font-weight: 500;
}

.sponsor-coffee-box {
    margin-top: clamp(1.35rem, 3.2vw, 2.25rem);
    border: 3px solid #0a1628;
    background: #fff;
    box-shadow: 6px 6px 0 #0a1628;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.sponsor-coffee-box.is-open {
    box-shadow: 8px 8px 0 #0a1628;
}

.sponsor-coffee-box__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-bottom: 3px solid transparent;
    background: #ffe500;
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: background 0.15s ease, transform 0.15s ease;
}

.sponsor-coffee-box__head:hover {
    background: #fff3a8;
}

.sponsor-coffee-box__head:active {
    transform: translate(1px, 1px);
}

.sponsor-coffee-box.is-open .sponsor-coffee-box__head {
    border-bottom-color: #0a1628;
}

.sponsor-coffee-box__head-left {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.sponsor-coffee-box__icon {
    flex-shrink: 0;
    font-size: 0.95rem;
    color: #0a1628;
}

.sponsor-coffee-box__label {
    font-family: ui-monospace, monospace;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #0a1628;
    text-transform: uppercase;
}

.sponsor-coffee-box__chev {
    flex-shrink: 0;
    font-size: 0.85rem;
    color: #0a1628;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.sponsor-coffee-box.is-open .sponsor-coffee-box__chev {
    transform: rotate(180deg);
}

/* slide-fade 展开 */
.sponsor-coffee-box__panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.45s ease;
}

.sponsor-coffee-box.is-open .sponsor-coffee-box__panel {
    max-height: var(--sponsor-coffee-panel-max, 56rem);
}

.sponsor-coffee-box__panel-inner {
    transition: transform 0.45s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.4s ease;
    transform: translateY(-12px);
    opacity: 0;
}

.sponsor-coffee-box.is-open .sponsor-coffee-box__panel-inner {
    transform: translateY(0);
    opacity: 1;
}

.sponsor-coffee-box .sponsor-coffee {
    margin-top: 0;
    border: none;
    box-shadow: none;
}

.sponsor-coffee {
    margin-top: 0.5rem;
    padding: 1.35rem 1.15rem 1.15rem;
    border: 3px solid #0a1628;
    background: #fff;
    box-shadow: 8px 8px 0 #0a1628;
    text-align: center;
}

.sponsor-coffee__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: ui-monospace, monospace;
    font-size: 0.68rem;
    font-weight: 700;
    color: #4a4a5e;
    background: #fef3c7;
    border: 2px solid #0a1628;
    padding: 0.28rem 0.75rem;
    box-shadow: 3px 3px 0 #0a1628;
    margin-bottom: 0.75rem;
}

.sponsor-coffee__icon {
    display: block;
    font-size: 2.75rem;
    line-height: 1;
    margin-bottom: 0.5rem;
    animation: sponsorCoffeeSteam 3s ease-in-out infinite;
}

@keyframes sponsorCoffeeSteam {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

.sponsor-coffee__title {
    font-family: "Inter", system-ui, sans-serif;
    font-size: clamp(1.15rem, 3vw, 1.45rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #03121a;
    margin-bottom: 0.45rem;
}

.sponsor-coffee__sub {
    font-size: 0.84rem;
    line-height: 1.55;
    color: #444;
    font-weight: 500;
    max-width: 28rem;
    margin: 0 auto 1.1rem;
}

.sponsor-coffee__qr-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 0.75rem;
}

.sponsor-qr-card {
    flex: 0 1 auto;
    margin: 0;
    padding: 0;
    border: 3px solid #0a1628;
    background: #fff;
    box-shadow: 5px 5px 0 #0a1628;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sponsor-qr-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 #0a1628;
}

.sponsor-qr-card img {
    display: block;
    width: clamp(7.5rem, 22vw, 9.5rem);
    height: auto;
    border-bottom: 3px solid #0a1628;
}

.sponsor-qr-card figcaption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.45rem 0.55rem;
    font-family: ui-monospace, monospace;
    font-size: 0.72rem;
    font-weight: 800;
    color: #1a1a2e;
}

.sponsor-qr-card--wechat figcaption {
    color: #07c160;
}

.sponsor-qr-card--alipay figcaption {
    color: #1677ff;
}

.sponsor-coffee__qr-hint {
    font-family: ui-monospace, monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: #555;
    text-align: center;
    margin-bottom: 1.1rem;
}

.sponsor-coffee__thanks {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 2px solid #0a1628;
}

.sponsor-coffee__thanks-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.55rem 0.75rem;
    margin-bottom: 0.5rem;
}

.sponsor-coffee__thanks-line {
    font-family: ui-monospace, monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    white-space: nowrap;
}

.sponsor-coffee__avatars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 0;
}

.sponsor-coffee__avatar {
    width: 1.65rem;
    height: 1.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    border: 2px solid #0a1628;
    background: #fef3c7;
    box-shadow: 2px 2px 0 #0a1628;
}

.sponsor-coffee__avatar-more {
    font-family: ui-monospace, monospace;
    font-size: 0.62rem;
    font-weight: 800;
    color: #666;
}

.sponsor-coffee__thanks-close {
    font-size: 0.75rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 0.5rem;
}

.sponsor-coffee__tag {
    font-family: ui-monospace, monospace;
    font-size: 0.68rem;
    font-weight: 700;
    color: #1a1a2e;
}

.sponsor-terminal {
    border: 3px solid #0a1628;
    background: #1a1a2e;
    box-shadow: 8px 8px 0 #fbbf24;
    display: flex;
    flex-direction: column;
    position: relative;
    height: auto;
    min-height: 12.5rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: default;
}

.sponsor-terminal:hover {
    transform: translate(-2px, -2px);
    box-shadow: 12px 12px 0 #fbbf24;
}

.sponsor-terminal__bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    background: #2d2d44;
    border-bottom: 3px solid #0a1628;
    flex-shrink: 0;
}

.sponsor-terminal__dot {
    width: 12px;
    height: 12px;
    border: 2px solid #0a1628;
    border-radius: 50%;
    flex-shrink: 0;
}

.sponsor-terminal__dot--r {
    background: #ff5f56;
}

.sponsor-terminal__dot--y {
    background: #ffbd2e;
}

.sponsor-terminal__dot--g {
    background: #27c93f;
}

.sponsor-terminal__title {
    margin-left: 0.35rem;
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 0.68rem;
    font-weight: 800;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sponsor-terminal__body {
    padding: 1rem 0.85rem;
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 0.76rem;
    line-height: 1.85;
    color: #e2e8f0;
    background: #1a1a2e;
    flex: 0 0 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.2rem;
    overflow-y: auto;
    box-sizing: border-box;
}

.sponsor-terminal__body--measure {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: visible;
    flex: none;
    height: auto;
    z-index: -1;
}

.sponsor-term-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    word-break: break-word;
}

.sponsor-term-prompt {
    color: #fbbf24;
    font-weight: 700;
    margin-right: 0.35rem;
    flex-shrink: 0;
}

.sponsor-term-cmd {
    color: #fff;
    font-weight: 500;
}

.sponsor-term-out {
    color: #34d399;
}

.sponsor-term-info {
    color: #94a3b8;
}

.sponsor-cursor-blink {
    display: inline-block;
    width: 8px;
    height: 1.1em;
    background: #fbbf24;
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: sponsorCursorBlink 1s step-end infinite;
}

@keyframes sponsorCursorBlink {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* —— 小屏幕：导航横滑、安全区已作用于 body / controls；内容紧缩 —— */
@media (max-width: 640px) {
    .navbar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.55rem;
    }

    .navbar .logo__mark {
        width: 32px;
        height: 32px;
    }

    .navbar .logo__mark__icon {
        width: 0.95rem;
        height: 0.95rem;
        transform: scale(2);
    }

    .nav-menu {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0.35rem 0.6rem;
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
        margin-inline: -0.35rem;
        padding-inline: 0.35rem;
        margin-left: 0;
    }

    .rc-lang-float {
        right: max(0.75rem, env(safe-area-inset-right, 0px));
        bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
        padding: 0.24rem 0.32rem;
    }

    .rc-lang-float__btn {
        min-width: 2.15rem;
        min-height: 2.15rem;
        font-size: 0.76rem;
    }

    .nav-menu::-webkit-scrollbar {
        display: none;
    }

    .nav-menu a,
    .nav-tab {
        flex-shrink: 0;
        font-size: clamp(0.8rem, 3.2vw, 0.92rem);
        padding: 0.3rem 0.4rem 0.45rem;
    }

    .nav-main-link__tip {
        font-size: 0.68rem;
        padding: 0.3rem 0.65rem;
    }

    .nav-tab::after {
        left: 0.4rem;
        right: 0.4rem;
        height: 2px;
    }

    .describe-shell {
        padding-left: clamp(0.45rem, 2.2vw, 0.85rem);
        padding-right: clamp(0.45rem, 2.2vw, 0.85rem);
    }

    .describe-brutal {
        box-shadow: 6px 6px 0 rgba(3, 18, 26, 0.88);
        padding: clamp(0.8rem, 2.4vw, 1.15rem);
    }

    .describe-brutal__head {
        padding-bottom: 0.75rem;
        margin-bottom: 1rem;
    }

    .describe-mini {
        padding: 0.95rem 1rem;
    }

    .describe-brutal__chips li {
        font-size: 0.65rem;
        padding: 0.28rem 0.5rem;
    }

    .guide-shell {
        padding-left: clamp(0.45rem, 2.2vw, 0.85rem);
        padding-right: clamp(0.45rem, 2.2vw, 0.85rem);
    }

    .guide-brutal {
        box-shadow: 6px 6px 0 rgba(3, 18, 26, 0.88);
        padding: clamp(0.8rem, 2.4vw, 1.15rem);
    }

    .guide-mock__thead,
    .guide-mock__trow {
        font-size: 0.52rem;
    }

    .sponsor-shell {
        padding-left: clamp(0.45rem, 2.2vw, 0.85rem);
        padding-right: clamp(0.45rem, 2.2vw, 0.85rem);
    }

    .sponsor-brutal {
        box-shadow: 6px 6px 0 rgba(3, 18, 26, 0.88);
        padding: clamp(0.8rem, 2.4vw, 1.15rem);
    }

    .sponsor-coffee {
        padding: 1rem 0.85rem;
        box-shadow: 6px 6px 0 #0a1628;
    }

    .sponsor-coffee__qr-row {
        gap: 0.85rem;
    }

    .sponsor-qr-card img {
        width: clamp(6.5rem, 28vw, 8rem);
    }

    .sponsor-terminal__body {
        font-size: 0.66rem;
        padding: 0.75rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .describe-terminal__bar {
        padding: 0.45rem 0.55rem;
        gap: 0.35rem;
    }

    .describe-terminal__title {
        font-size: 0.55rem;
        letter-spacing: 0.03em;
        min-width: 0;
        flex: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .describe-terminal__body {
        font-size: 0.66rem;
        line-height: 1.55;
        padding: 0.7rem 0.55rem 0.85rem;
        overflow-x: auto;
        word-break: break-word;
    }

    .describe-brutal__p {
        font-size: 0.86rem;
        margin-bottom: 0.85rem;
    }

    .describe-mini__h {
        font-size: 0.9rem;
    }

    .describe-mini__t {
        font-size: 0.76rem;
    }

    .describe-brutal__note {
        font-size: 0.68rem;
    }

}

/* 矮视口（横屏手机等）：压缩首屏插画与标题占用 */
@media (max-width: 768px) and (max-height: 520px) {
    .right-box img {
        max-height: min(28vh, 10rem);
    }

    .left-box .slogan-text:first-of-type {
        margin-bottom: 0.35rem;
    }

    .download-section {
        margin-top: 0.65rem;
    }

    .Tkinter-section {
        margin-top: 0.65rem;
        padding-top: 0.65rem;
    }
}

/* 中英文交叉淡变（initSmoothI18n 包裹后由 body.rc-lang-en 驱动） */
.rc-i18n-smooth {
    display: inline-grid;
    vertical-align: baseline;
}

.rc-i18n-smooth__zh,
.rc-i18n-smooth__en {
    grid-area: 1 / 1 / 1 / 1;
    transition: opacity 0.28s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.rc-i18n-smooth__zh {
    opacity: 1;
}

.rc-i18n-smooth__en {
    opacity: 0;
    pointer-events: none;
}

body.rc-lang-en .rc-i18n-smooth__zh {
    opacity: 0;
    pointer-events: none;
}

body.rc-lang-en .rc-i18n-smooth__en {
    opacity: 1;
    pointer-events: auto;
}

.rc-i18n-smooth--block {
    display: block;
    position: relative;
}

.rc-i18n-smooth--block .rc-i18n-smooth__zh,
.rc-i18n-smooth--block .rc-i18n-smooth__en {
    display: block;
    line-height: inherit;
}

.rc-i18n-smooth--block .rc-i18n-smooth__zh {
    opacity: 1;
    position: relative;
}

.rc-i18n-smooth--block .rc-i18n-smooth__en {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}

body.rc-lang-en .rc-i18n-smooth--block .rc-i18n-smooth__zh {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

body.rc-lang-en .rc-i18n-smooth--block .rc-i18n-smooth__en {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

/* nav 短标签：叠层单行，宽度取二者较大值 */
.nav-tab.rc-i18n-smooth,
.nav-main-link > .rc-i18n-smooth {
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    body {
        animation: none;
    }

    .guide-hotspot {
        animation: none;
    }

    .sponsor-coffee__icon {
        animation: none;
    }

    .sponsor-coffee-box__panel,
    .sponsor-coffee-box__panel-inner,
    .sponsor-coffee-box__chev,
    .sponsor-coffee-box__head {
        transition: none;
    }

    .sponsor-coffee-box:not(.is-open) .sponsor-coffee-box__panel {
        display: none;
    }

    .sponsor-coffee-box.is-open .sponsor-coffee-box__panel-inner {
        transform: none;
        opacity: 1;
    }

    .rc-i18n-smooth__zh,
    .rc-i18n-smooth__en {
        transition: none;
    }
}