html, body { height: 100%; }
    body { margin: 0; background: #0f1115; color: #171a21; font-family: Roboto, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow: hidden; }
    * { box-sizing: border-box; }
    a { color: #c40000; text-decoration: none; } a:hover { color: #ff0000; text-decoration: underline; }
    .disp { font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif; font-weight: 400; letter-spacing: 0.012em; line-height: 0.96; }
    .eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #5c6066; }
    .eyebrow-d { color: #c4c8ce; }
    .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 11px 20px; border-radius: 10px; border: 1.5px solid #ff0000; background: #ff0000; color: #fff; font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif; font-size: 16px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; text-decoration: none; white-space: nowrap; }
    .btn:hover { background: #c40000; border-color: #c40000; color: #fff; text-decoration: none; }
    .btn-ghost { background: transparent; color: #171a21; border-color: #c4c8ce; }
    .btn-ghost:hover { background: #fff; border-color: #171a21; color: #171a21; }
    .btn-ghost-d { background: transparent; color: #f5f5f5; border-color: rgba(255,255,255,0.35); }
    .btn-ghost-d:hover { background: rgba(255,255,255,0.08); border-color: #f5f5f5; color: #f5f5f5; }
    .book { height: 100vh; display: flex; flex-direction: column; }
    .mast { flex: 0 0 64px; background: #0f1115; color: #f5f5f5; border-bottom: 1px solid #2b303a; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 24px; position: relative; z-index: 3; }
    .rail { flex: 0 0 56px; background: #0f1115; color: #c4c8ce; border-top: 1px solid #2b303a; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 20px; }
    .stage { flex: 1 1 auto; min-height: 0; overflow: auto; position: relative; }
    .page { min-height: 100%; padding: 56px 72px; display: flex; align-items: center; }
    .paper { background: #f5f5f5; color: #171a21; }
    .white { background: #fff; color: #171a21; }
    .dark { background: #0f1115; color: #f5f5f5; }
    .ink { background: #171a21; color: #f5f5f5; }
    .wrap { width: 100%; max-width: 1200px; margin: 0 auto; }
    .cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
    .g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    .g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
    .card { background: #fff; border: 1px solid #e5e5e5; border-radius: 10px; padding: 22px; }
    .card-i { background: #171a21; color: #f5f5f5; border-radius: 10px; padding: 22px; }
    .photo { width: 100%; height: auto; display: block; border-radius: 10px; object-fit: cover; }
    .h { margin: 0; font-size: 64px; }
    .lead { margin: 0; font-size: 18px; line-height: 1.5; }
    .sub { font-size: 13px; color: #5c6066; }
    .sub-d { color: #c4c8ce; }
    .num { font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif; font-size: 40px; line-height: 1; }
    .rating { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 12px 14px; background: #fff; border: 1px solid #e5e5e5; border-radius: 10px; }
    .rating .n { font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif; font-size: 30px; color: #c40000; line-height: 1; }
    .rating .t { font-size: 13px; } .rating .c { font-size: 11px; color: #5c6066; }
    .step { display: flex; gap: 14px; align-items: flex-start; }
    .k { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 999px; background: #ff0000; color: #fff; display: flex; align-items: center; justify-content: center; font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif; font-size: 17px; }
    .dots { display: flex; gap: 7px; align-items: center; }
    .dot { width: 7px; height: 7px; border-radius: 999px; background: #2b303a; border: 0; padding: 0; cursor: pointer; }
    .dot-on { background: #ff0000; }
    .count { font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif; font-size: 15px; letter-spacing: 0.15em; color: #c4c8ce; }
    .railbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 10px; border: 1.5px solid transparent; background: transparent; color: #c4c8ce; font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif; font-size: 15px; letter-spacing: 0.15em; text-transform: uppercase; cursor: pointer; }
    .railbtn:hover { color: #fff; }
    .railbtn-red { background: #ff0000; border-color: #ff0000; color: #fff; }
    .railbtn-red:hover { background: #c40000; border-color: #c40000; }
    .toc { position: absolute; top: 64px; right: 24px; z-index: 4; background: #fff; color: #171a21; border-radius: 10px; box-shadow: 0 12px 40px rgba(0,0,0,0.35); padding: 14px; display: flex; flex-direction: column; gap: 2px; width: 320px; max-height: 70vh; overflow: auto; }
    .tocitem { display: flex; gap: 12px; align-items: baseline; padding: 9px 10px; border-radius: 8px; background: transparent; border: 0; text-align: left; cursor: pointer; font-family: Roboto, system-ui, sans-serif; font-size: 14px; color: #171a21; }
    .tocitem:hover { background: #f5f5f5; }
    .tocitem .i { font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif; color: #c40000; font-size: 15px; letter-spacing: 0.1em; min-width: 22px; }
    .field { display: flex; flex-direction: column; gap: 6px; }
    .field label { font-size: 13px; font-weight: 500; }
    .hint { font-size: 12px; color: #5c6066; }
    .in { width: 100%; min-height: 44px; padding: 10px 13px; border: 1px solid #e5e5e5; border-radius: 10px; background: #fff; color: #171a21; font-family: Roboto, system-ui, sans-serif; font-size: 15px; }
    .in:focus { outline: 2px solid #ff0000; outline-offset: 1px; }
    textarea.in { min-height: 110px; resize: vertical; }
    .pills { display: flex; flex-wrap: wrap; gap: 8px; }
    .pill { min-height: 42px; padding: 9px 14px; border-radius: 999px; border: 1.5px solid #c4c8ce; background: #fff; color: #171a21; font-size: 14px; cursor: pointer; font-family: Roboto, system-ui, sans-serif; }
    .pill:hover { border-color: #171a21; }
    .pill-on { border-color: #ff0000; background: #ffe9e4; color: #c40000; font-weight: 500; }
    .f2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
    .req { color: #ff0000; }
    .only-m { display: none; }
    .err { color: #c40000; font-size: 14px; }
    @media (max-width: 820px) {
      .mast { flex-basis: 56px; padding: 0 14px; }
      .mast .tag { display: none !important; }
      .page { padding: 28px 20px; align-items: flex-start; }
      .cols, .g3, .g4, .f2 { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 20px; }
      .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .h { font-size: 44px; }
      .lead { font-size: 16px; }
      .rail { padding: 0 12px; }
      .railbtn { padding: 8px 12px; }
      .dots { display: none !important; }
      .toc { right: 12px; left: 12px; width: auto; }
      .hide-m { display: none !important; }
      .only-m { display: inline !important; }
      .h1 { font-size: 46px !important; }
      .ratings { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    }
