:root {
      --main: #f472b6;
      --accent: #fbbf24;
      --bg: #fff5f7;
      --text: #4a2530;
      --ink: #2d0a12;
      --border-w: 3px;
      --shadow: 6px 6px 0 #4a2530;
    }

    * { box-sizing: border-box; }
    body {
      background-color: var(--bg);
      color: var(--text);
      font-family: 'Inter', system-ui, sans-serif;
      font-weight: 400;
      letter-spacing: 0.02em;
      margin: 0;
      padding: 0;
      line-height: 1.5;
    }

    h1, h2, h3, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
      font-family: 'Inter', sans-serif;
      font-weight: 900;
      color: var(--ink);
      letter-spacing: -0.02em;
    }

    /* 全直角 + 硬阴影 */
    .no-radius, .card, .navbar, .hero-box, .block-box, .accordion-item, .list-card, .flip-card-inner, .flip-card-back, .flip-card-front {
      border-radius: 0 !important;
    }

    .box-shadow-hard { box-shadow: var(--shadow); border: var(--border-w) solid var(--ink); }
    .border-thick { border: 3px solid var(--ink); }

    /* 导航 */
    .navbar-oj {
      background: #fffafc;
      border-bottom: 4px solid var(--ink);
      box-shadow: 0 6px 0 rgba(74, 37, 48, 0.2);
    }
    .navbar-brand { font-weight: 900; font-size: 1.9rem; color: var(--ink) !important; letter-spacing: -0.03em; }
    .navbar-brand i { color: var(--main); margin-right: 8px; }
    .nav-link { font-weight: 600; color: var(--ink) !important; margin: 0 0.2rem; border-bottom: 3px solid transparent; }
    .nav-link:hover { border-bottom-color: var(--accent); }

    /* Hero数字动画区 */
    .hero-stats {
      background: var(--bg);
      border-bottom: 3px solid var(--ink);
      padding: 2.5rem 0;
    }
    .stat-cell { font-family: 'Courier New', monospace; font-weight: 800; font-size: 3.5rem; color: var(--main); }
    .stat-label { font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.9rem; }

    /* 区块标题 */
    .section-title {
      display: inline-block;
      background: var(--ink);
      color: #fff;
      padding: 0.6rem 1.4rem;
      font-weight: 900;
      font-size: 1.8rem;
      border: 3px solid var(--ink);
      box-shadow: 4px 4px 0 var(--main);
      margin-bottom: 1.8rem;
    }

    /* 海报卡片 */
    .poster-card {
      background: white;
      border: 3px solid var(--ink);
      box-shadow: 4px 4px 0 var(--ink);
      transition: transform 0.15s, box-shadow 0.15s;
      overflow: hidden;
      cursor: pointer;
      position: relative;
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    .poster-card:hover {
      transform: scale(1.02) translate(-2px, -2px);
      box-shadow: 12px 12px 0 rgba(244, 114, 182, 0.5);
    }
    .poster-img-wrap {
      position: relative;
      overflow: hidden;
      aspect-ratio: 2 / 3;
      background: #ffe3ee;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .poster-img-wrap img {
      width: 100%; height: 100%; object-fit: cover;
      display: block;
      transition: transform 0.2s ease;
    }
    .poster-card:hover .poster-img-wrap img { transform: scale(1.08); }
    .quality-tag {
      position: absolute; top: 8px; right: 8px;
      background: var(--ink); color: white;
      font-weight: 800; font-size: 0.75rem;
      padding: 2px 8px;
      border: 2px solid var(--accent);
      z-index: 3;
    }
    .rating-tag {
      position: absolute; left: 8px; bottom: 8px;
      background: var(--accent); color: var(--ink);
      font-weight: 900; font-size: 1.2rem;
      padding: 0 8px;
      border: 2px solid var(--ink);
    }
    .poster-card .card-body {
      padding: 0.7rem;
      background: white;
      border-top: 3px solid var(--ink);
      flex-grow: 1;
    }
    .poster-card .card-body h5 { font-weight: 800; font-size: 1.1rem; margin-bottom: 0; }
    .poster-card .card-body .meta { font-size: 0.8rem; color: #7b4a5a; }

    /* 翻转卡片容器 */
    .flip-card {
      background-color: transparent;
      perspective: 1200px;
      height: 100%;
    }
    .flip-card-inner {
      position: relative;
      width: 100%; height: 100%;
      transition: transform 0.4s;
      transform-style: preserve-3d;
      border: none;
    }
    .flip-card:hover .flip-card-inner, .flip-card.flipped .flip-card-inner {
      transform: rotateY(180deg);
    }
    .flip-card-front, .flip-card-back {
      position: absolute;
      width: 100%; height: 100%;
      backface-visibility: hidden;
      border: 3px solid var(--ink);
      box-shadow: 4px 4px 0 var(--ink);
    }
    .flip-card-front { background: white; }
    .flip-card-back {
      background: #fff0f5;
      transform: rotateY(180deg);
      padding: 1rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      border: 3px solid var(--ink);
      overflow-y: auto;
    }
    .flip-card-back .detail-title { font-weight: 900; font-size: 1.2rem; }
    .flip-card-back p { margin-bottom: 0.3rem; font-size: 0.85rem; }

    /* 关闭按钮简易 */
    .close-detail {
      position: absolute; top: 5px; right: 10px;
      font-size: 2rem; line-height: 1;
      color: var(--ink); background: none; border: none; font-weight: 900;
      cursor: pointer;
      z-index: 20;
    }

    /* 折叠面板 */
    .accordion-button { font-weight: 700; background: #fff !important; border: 3px solid var(--ink) !important; box-shadow: none !important; border-radius: 0 !important; }
    .accordion-button:not(.collapsed) { background: var(--accent) !important; color: var(--ink); }
    .accordion-item { border: 3px solid var(--ink) !important; margin-bottom: 8px; box-shadow: 3px 3px 0 var(--ink); }

    /* 榜单行 */
    .rank-list { list-style: none; padding-left: 0; counter-reset: rank; }
    .rank-list li { counter-increment: rank; font-weight: 600; padding: 0.4rem 0; border-bottom: 2px dashed #d8a0b0; }
    .rank-list li::before { content: counter(rank) ". "; font-family: monospace; font-size: 1.5rem; font-weight: 900; color: var(--main); margin-right: 12px; }

    /* 图标列表 */
    .tip-list i { color: var(--main); width: 28px; }
    .footer-links a { color: var(--text); text-decoration: none; font-weight: 500; margin-right: 1.2rem; border-bottom: 2px dotted var(--main); }

    /* 随机推荐 */
    .recommend-box {
      background: white;
      border: 3px solid var(--ink);
      box-shadow: 6px 6px 0 var(--accent);
      padding: 1.8rem;
    }

    /* 杂项 */
    .mono { font-family: 'Courier New', monospace; }
    .btn-oj {
      background: var(--ink); color: white; border: 3px solid var(--ink);
      box-shadow: 4px 4px 0 var(--main); padding: 0.5rem 1.8rem;
      font-weight: 800; border-radius: 0; transition: all 0.1s;
    }
    .btn-oj:hover { background: var(--main); color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
    .backdrop-blur { background: rgba(255, 245, 247, 0.9); }

    /* 渐显占位 */
    img { background: linear-gradient(135deg, #fbcfe8, #f9a8d4); }

/* --- 子页面追加 --- */
/* 保证 about 页与首页完全一致的卡片风格，无需覆盖 Bootstrap 组件（仅用栅格） */
    .about-hero {
      padding: 3rem 0 2rem;
      border-bottom: var(--border-w) solid var(--ink);
      margin-bottom: 2.5rem;
    }
.about-hero h1 {
      font-size: 2.6rem;
      font-weight: 900;
      letter-spacing: -0.02em;
      display: inline-block;
      background: var(--accent);
      padding: 0.1em 0.5em;
      box-shadow: var(--shadow);
      border: var(--border-w) solid var(--ink);
      transform: rotate(-1deg);
      color: var(--ink);
    }
.about-section {
      margin-bottom: 3rem;
    }
.about-section h2 {
      font-weight: 800;
      font-size: 1.9rem;
      border-left: 8px solid var(--main);
      padding-left: 0.9rem;
      margin-bottom: 1.5rem;
      color: var(--ink);
      letter-spacing: -0.01em;
    }
.about-section p {
      font-size: 1.08rem;
      line-height: 1.8;
      color: var(--text);
      max-width: 65ch;
    }
.about-section .lead-custom {
      font-size: 1.15rem;
      font-weight: 500;
      color: var(--ink);
      border: var(--border-w) solid var(--ink);
      background: var(--main);
      padding: 1rem 1.5rem;
      box-shadow: var(--shadow);
      display: inline-block;
      margin-bottom: 1.2rem;
    }
.feature-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1.8rem;
      margin-top: 1rem;
    }
.feature-item {
      background: var(--bg);
      border: var(--border-w) solid var(--ink);
      box-shadow: var(--shadow);
      padding: 1.5rem 1.2rem;
      transition: transform 0.1s ease;
    }
.feature-item i {
      font-size: 2rem;
      color: var(--main);
      margin-bottom: 0.8rem;
    }
.feature-item h3 {
      font-weight: 700;
      font-size: 1.3rem;
      color: var(--ink);
      margin-bottom: 0.5rem;
    }
.feature-item p {
      font-size: 0.95rem;
      line-height: 1.6;
      margin-bottom: 0;
    }
.quote-block {
      background: var(--accent);
      border: var(--border-w) solid var(--ink);
      box-shadow: var(--shadow);
      padding: 2rem 2rem;
      margin: 2.5rem 0;
      text-align: center;
      font-weight: 600;
      font-size: 1.2rem;
      color: var(--ink);
    }
.quote-block i {
      color: var(--ink);
      margin-right: 0.3rem;
    }
.signature {
      font-family: 'Inter', monospace;
      font-weight: 700;
      letter-spacing: 1px;
    }

/* --- 子页面追加 --- */
/* 本页专属微调，不多打扰站点主样式 */
    .faq-hero { padding: 3rem 0 2rem; border-bottom: var(--border-w) solid var(--ink); background: var(--bg); }
.faq-hero h1 { font-weight: 900; font-size: 2.4rem; letter-spacing: -0.02em; }
.faq-hero .lead { color: var(--text); max-width: 720px; }
.guide-section { padding: 2.5rem 0; border-bottom: 2px dashed rgba(74,37,48,.25); }
.guide-section:last-of-type { border-bottom: none; }
.guide-section h2 { font-weight: 800; font-size: 1.7rem; margin-bottom: 1.2rem; }
.guide-section h2 i { color: var(--main); margin-right: .5rem; }
.guide-section h3 { font-weight: 700; font-size: 1.2rem; margin-top: 1.5rem; margin-bottom: .6rem; color: var(--ink); }
.guide-card { background: #fff; border: var(--border-w) solid var(--ink); box-shadow: var(--shadow); padding: 1.2rem 1.4rem; margin-bottom: 1rem; border-radius: 0; }
.guide-card p { margin-bottom: .4rem; color: var(--text); }
.guide-card .step-num { font-family: 'Inter', monospace; font-weight: 900; color: var(--accent); font-size: 1.3rem; margin-right: .4rem; }
.faq-item { margin-bottom: .8rem; }
.faq-item summary { cursor: pointer; font-weight: 600; color: var(--ink); background: var(--bg); border: 2px solid var(--ink); padding: .7rem 1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item .faq-body { background: #fff; border: 2px solid var(--ink); border-top: none; padding: 1rem 1.2rem; color: var(--text); }
.badge-tip { background: var(--accent); color: var(--ink); font-weight: 700; padding: .2rem .6rem; font-size: .75rem; border-radius: 0; display: inline-block; margin-right: .4rem; }
.table-wrap { overflow-x: auto; }
.table-custom { width: 100%; border-collapse: collapse; background: #fff; border: var(--border-w) solid var(--ink); }
.table-custom th { background: var(--main); color: #fff; font-weight: 700; padding: .6rem .8rem; border: 2px solid var(--ink); }
.table-custom td { padding: .6rem .8rem; border: 2px solid var(--ink); color: var(--text); }
.table-custom tr:nth-child(even) td { background: var(--bg); }

/* --- 子页面追加 --- */
/* 覆盖 Bootstrap 的卡片与表单默认白底，保证与站内深色/浅色风格一致 */
        .privacy-card, .privacy-card .card-body {
            background: var(--bg);
            color: var(--text);
            border: var(--border-w) solid var(--ink);
            border-radius: 0;
            box-shadow: var(--shadow);
        }
.privacy-card .card-title {
            color: var(--ink);
            font-weight: 700;
        }
.privacy-card .card-text, .privacy-card p, .privacy-card li {
            color: var(--text);
        }
.privacy-card a {
            color: var(--main);
            font-weight: 600;
            text-decoration: underline;
            text-underline-offset: 3px;
        }
/* 列表与表格微调 */
        .privacy-list-group {
            background: transparent;
        }
.privacy-list-group .list-group-item {
            background: var(--bg);
            color: var(--text);
            border: 2px solid var(--border-color, #f0c6d8);
            margin-bottom: 6px;
            border-radius: 0 !important;
        }
.privacy-list-group .list-group-item strong {
            color: var(--ink);
        }
/* 自定义标题符号 */
        .privacy-h2 {
            font-weight: 800;
            color: var(--ink);
            border-left: 6px solid var(--main);
            padding-left: 14px;
            margin-top: 2.5rem;
            margin-bottom: 1.2rem;
            font-size: 1.75rem;
        }
.privacy-h2 i {
            color: var(--accent);
            margin-right: 8px;
        }
/* 保证导航高亮当前页 */
        .navbar-oj .nav-link.active {
            font-weight: 800;
            color: var(--main);
            border-bottom: 3px solid var(--accent);
        }
.privacy-h2 { font-size: 1.4rem; }
.mono-badge {
            font-family: 'Inter', monospace;
            background: var(--accent);
            color: var(--ink);
            padding: 2px 10px;
            border: 2px solid var(--ink);
            font-weight: 600;
        }
.footer-links a:hover {
            border-bottom-color: var(--main);
        }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.accordion-body { background:transparent !important; color:#4a2530 !important; }
.accordion-header { background:transparent !important; }
