      :root {
        color-scheme: dark;
        --ink: #fffdf6;
        --ink-soft: #f0eee2;
        --lime: #d9ed67;
        --coral: #ff8f7d;
        --green-dark: #10382e;
        --serif: Georgia, "Times New Roman", var(--ja, serif);
        font-family: "Trebuchet MS", Verdana, var(--ja, sans-serif);
      }

      html[lang="ja"] {
        --ja: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Yu Gothic", YuGothic, "Noto Sans JP", Meiryo, sans-serif;
        line-break: strict;
      }

      html[lang="ja"] :is(h1, h2, h3) {
        word-break: auto-phrase;
      }

      html[lang="ja"] :not(:lang(la)) {
        font-style: normal;
      }
      * { box-sizing: border-box; }
      html { min-width: 320px; }
      @media (prefers-reduced-motion: no-preference) {
        html { scroll-behavior: smooth; }
      }
      body {
        position: relative;
        isolation: isolate;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        min-height: 100svh;
        margin: 0;
        color: var(--ink);
        background: var(--green-dark);
        text-rendering: optimizeLegibility;
      }
      :focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }

      .art {
        position: fixed;
        z-index: -2;
        inset: 0;
        overflow: hidden;
      }
      .art picture { display: block; width: 100%; height: 100%; }
      .art img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: 45% 60%;
      }
      .art span {
        position: absolute;
        inset: 0;
        background:
          linear-gradient(90deg, transparent, rgb(10 29 25 / 35%) 30%, rgb(10 29 25 / 35%) 70%, transparent),
          radial-gradient(ellipse at 50% 45%, rgb(10 29 25 / 55%), rgb(10 29 25 / 85%) 85%),
          linear-gradient(0deg, rgb(10 29 25 / 65%), rgb(10 29 25 / 25%) 50%, rgb(10 29 25 / 55%) 100%);
      }
      .fireflies {
        position: fixed;
        z-index: -1;
        inset: 0;
        overflow: hidden;
        pointer-events: none;
      }
      .fireflies span {
        --x: calc(var(--i) * 12% + 5%);
        --dur: calc(9s + var(--i) * 1.1s);
        position: absolute;
        bottom: -10px;
        left: var(--x);
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #f4f9c4;
        box-shadow: 0 0 10px 3px rgb(217 237 103 / 60%);
        opacity: 0;
        animation: firefly-rise var(--dur) ease-in-out calc(var(--i) * -1.8s) infinite;
        will-change: transform, opacity;
      }
      @keyframes firefly-rise {
        0% { opacity: 0; transform: translate(0, 0); }
        20% { opacity: 0.85; }
        50% { opacity: 0.3; transform: translate(30px, -50vh); }
        80% { opacity: 0.8; }
        100% { opacity: 0; transform: translate(-20px, -105vh); }
      }

      header {
        width: min(100% - 48px, 1180px);
        margin-inline: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding-block: 12px;
      }
      .wordmark {
        display: inline-flex;
        align-items: center;
        min-height: 92px;
      }
      .wordmark-logo { width: auto; height: 92px; }
      .wordmark-logo--lat, .wordmark-logo--ja { height: 70px; }
      .header-left {
        display: inline-flex;
        align-items: center;
        gap: 20px;
      }

      .back-nav-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-width: 44px;
        min-height: 44px;
        padding: 0 4px;
        color: var(--ink);
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
        text-underline-offset: 4px;
      }
      .back-nav-link:hover {
        text-decoration: underline;
        text-decoration-color: rgb(217 237 103 / 70%);
      }
      .back-nav-link:focus-visible {
        outline: 3px solid var(--coral);
        outline-offset: 2px;
        border-radius: 6px;
      }

      .lang-switch {
        position: relative;
        z-index: 10;
      }
      .lang-switch summary {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 44px;
        padding: 0 14px;
        color: var(--ink);
        font-family: inherit;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: 0.08em;
        background: rgb(10 29 25 / 90%);
        border: 1px solid rgb(255 253 246 / 30%);
        border-radius: 999px;
        cursor: pointer;
        list-style: none;
        user-select: none;
        transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
      }
      .lang-switch summary::-webkit-details-marker,
      .lang-switch summary::marker {
        display: none;
      }
      .lang-switch summary:hover,
      .lang-switch[open] summary {
        border-color: var(--lime);
        box-shadow: 0 0 20px rgb(217 237 103 / 25%);
      }
      .lang-switch-globe {
        width: 16px;
        height: 16px;
        fill: none;
        stroke: var(--lime);
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.8;
      }
      .lang-switch-caret {
        width: 12px;
        height: 12px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 2;
        opacity: 0.7;
        transition: transform 200ms ease;
      }
      .lang-switch[open] .lang-switch-caret { transform: rotate(180deg); }
      .lang-switch-menu {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        display: flex;
        flex-direction: column;
        gap: 3px;
        min-width: 185px;
        padding: 6px;
        background: rgb(10 29 25 / 98%);
        border: 1px solid rgb(255 253 246 / 20%);
        border-radius: 16px;
        box-shadow: 0 16px 40px rgb(0 0 0 / 50%);
        animation: lang-menu-open 180ms ease-out;
      }
      @keyframes lang-menu-open {
        from { opacity: 0; transform: translateY(-6px) scale(0.97); }
      }
      .lang-switch-menu a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 44px;
        padding: 0 12px;
        border-radius: 10px;
        color: var(--ink-soft);
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        transition: background 150ms ease, color 150ms ease;
      }
      .lang-switch-menu a:hover {
        background: rgb(255 253 246 / 10%);
        color: var(--ink);
      }
      .lang-switch-menu a[aria-current="page"] {
        color: var(--lime);
        background: rgb(217 237 103 / 12%);
        font-weight: 800;
      }
      .lang-switch-menu small {
        color: rgb(255 253 246 / 50%);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.05em;
      }
      .lang-switch-menu a[aria-current="page"] small { color: var(--lime); }

      .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
      }
      .section-nav {
        display: flex;
        justify-content: center;
        margin: 28px 0 16px;
      }

      main {
        width: min(100% - 48px, 720px);
        margin: clamp(10px, 2.5vh, 28px) auto 32px;
        color: var(--ink-soft);
      }
      h1 {
        margin: 0 0 12px;
        color: var(--ink);
        font-family: var(--serif);
        font-size: clamp(28px, 4.4vw, 40px);
        font-weight: 500;
        line-height: 1.2;
        text-align: center;
        text-wrap: balance;
        text-shadow: 0 4px 24px rgb(0 0 0 / 75%);
        overflow-wrap: anywhere;
        hyphens: auto;
      }
      .effective {
        margin: 0 0 clamp(26px, 4vh, 40px);
        color: rgb(255 253 246 / 80%);
        font-size: 13px;
        font-style: italic;
        text-align: center;
      }
      main h2 {
        margin: 38px 0 10px;
        color: var(--lime);
        font-family: var(--serif);
        font-size: 21px;
        font-weight: 600;
        line-height: 1.25;
        text-shadow: 0 2px 12px rgb(0 0 0 / 80%);
        scroll-margin-top: 16px;
      }
      main h2:first-of-type { margin-top: 12px; }

      .toc {
        margin: 0 0 22px;
      }
      .toc-title {
        margin: 0 0 8px;
        color: var(--lime);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }
      .toc ol {
        margin: 0;
        padding-left: 1.6em;
        column-gap: 32px;
      }
      .toc li {
        margin: 0;
        padding-left: 2px;
        break-inside: avoid;
        font-size: 14px;
        line-height: 1.4;
      }
      .toc li::marker { color: rgb(255 253 246 / 70%); font-size: 13px; }
      .toc a {
        display: block;
        min-height: 32px;
        padding-block: 6px;
        font-weight: 600;
        color: var(--ink-soft);
        text-decoration: none;
        text-shadow: 0 1px 8px rgb(0 0 0 / 85%);
      }
      .toc a:hover {
        color: var(--lime);
        text-decoration: underline;
      }
      @media (max-width: 760px) {
        .toc a { min-height: 44px; padding-block: 12px; }
      }
      main p, main li {
        margin: 0 0 14px;
        color: var(--ink-soft);
        font-size: 16px;
        line-height: 1.7;
        text-shadow: 0 1px 10px rgb(0 0 0 / 80%), 0 1px 2px rgb(0 0 0 / 60%);
      }
      main > p:is(:lang(bg), :lang(ru)):not(.effective):not(:has(br)) { text-indent: 1.5em; }
      main strong { color: var(--ink); font-weight: 700; }
      main code {
        padding: 0.05em 0.35em;
        color: var(--ink);
        font-family: Consolas, "SFMono-Regular", Menlo, monospace;
        font-size: 0.9em;
        background: rgb(255 253 246 / 10%);
        border-radius: 6px;
      }
      main ul { margin: 0 0 16px; padding-left: 24px; }
      main li { margin-bottom: 8px; }
      a {
        color: #f0eee2;
        font-weight: inherit;
        text-decoration: underline;
        text-decoration-color: rgb(255 253 246 / 30%);
        text-underline-offset: 3px;
        transition: color 150ms ease, text-decoration-color 150ms ease;
      }
      a:hover {
        color: var(--lime);
        text-decoration-color: var(--lime);
      }

      @media (max-width: 760px) {
        header { width: calc(100% - 32px); }
        main { width: calc(100% - 32px); }
        .wordmark { min-height: 66px; }
        .wordmark-logo { height: 66px; }
        .wordmark-logo--lat, .wordmark-logo--ja { height: 52px; }
        main { margin: 12px auto 28px; }
        h1 { font-size: 28px; }
        main h2 { font-size: 19px; }
        main p, main li { font-size: 15px; }
      }
      @media (max-width: 480px) {
        header { gap: 8px; }
        .header-left { gap: 6px; }
        .wordmark { min-height: 52px; }
        .wordmark-logo { height: 48px; }
        .wordmark-logo--lat, .wordmark-logo--ja { height: 38px; }
        @media (max-width: 360px) { .wordmark-logo--ja { height: 30px; } }
        .back-text {
          position: absolute;
          width: 1px;
          height: 1px;
          overflow: hidden;
          clip-path: inset(50%);
          white-space: nowrap;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        .fireflies { display: none; }
        .art img { object-position: center; }
        .lang-switch-menu { animation: none; }
        .lang-switch summary,
        .lang-switch-caret,
        .lang-switch-menu a { transition: none; }
        a { transition: none; }
      }
      @media (max-width: 760px) {
        .art img { object-position: 24% 26%; }
        .art span {
          background:
            radial-gradient(ellipse at 50% 55%, rgb(10 29 25 / 62%), rgb(10 29 25 / 88%) 85%),
            linear-gradient(0deg, rgb(10 29 25 / 65%), rgb(10 29 25 / 35%) 50%, rgb(10 29 25 / 60%) 100%);
        }
      }

      .series-3-6 { --c: 217 237 103; }
      .series-7-12 { --c: 246 178 92; }
      .series-13 { --c: 232 236 246; }
      main.book-page, main.hub-page { width: min(100% - 48px, 1080px); }
      .nw { white-space: nowrap; }
      .crumbs ol {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 0;
        margin: 0 0 18px;
        padding: 0;
        list-style: none;
        font-size: 13px;
      }
      .crumbs li { margin: 0; color: rgb(255 253 246 / 80%); font-size: 13px; line-height: 1.5; }
      .crumbs li + li::before { content: "›"; margin: 0 8px; color: rgb(255 253 246 / 60%); }
      .crumbs a { color: rgb(255 253 246 / 85%); }
      .book {
        display: grid;
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
        gap: clamp(24px, 4vw, 56px);
        align-items: start;
      }
      .book-cover {
        position: relative;
        display: grid;
        overflow: hidden;
        aspect-ratio: 3 / 4;
        background: rgb(var(--c) / 10%);
        border-radius: 12px;
        box-shadow: 0 0 60px rgb(var(--c) / 0%), 0 30px 60px rgb(0 0 0 / 60%);
        transition: box-shadow 300ms ease;
      }
      .book-cover:has(.book-zoom:is(:hover, :focus-visible, :active)) { box-shadow: 0 0 60px rgb(var(--c) / 30%), 0 30px 60px rgb(0 0 0 / 60%); }
      .book-cover:has(.book-zoom:focus-visible) { outline: 2px solid rgb(var(--c)); outline-offset: 4px; }
      .book-zoom {
        display: block;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        color: inherit;
        font: inherit;
        background: none;
        border: 0;
        cursor: zoom-in;
        -webkit-tap-highlight-color: transparent;
      }
      .book-zoom:focus-visible { outline: none; }
      .book-zoom img { -webkit-user-select: none; user-select: none; }
      .series-3-6 .book-cover, .series-3-6 .hub-cover { aspect-ratio: 1; }
      .book-cover img, .hub-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
      .cover-none { display: grid; place-items: center; color: rgb(var(--c) / 42%); }
      .cover-none svg {
        width: 40%;
        height: auto;
        overflow: visible;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
      }
      .cover-none svg .fill { fill: currentColor; stroke: none; }
      .cover-none svg .chosen-path { stroke: #f2d38c; }
      .book-pictures ul {
        --w: min(26%, calc(100% / (1 + (var(--n) - 1) * 0.8)));
        display: flex;
        justify-content: center;
        margin: 30px 0 0;
        padding: 6px 0 12px;
        list-style: none;
      }
      .book-pictures li { position: relative; z-index: var(--i); flex: 0 0 var(--w); margin: 0; }
      .book-pictures li + li { margin-left: calc(var(--w) * -0.2); }
      .book-pictures li:is(:hover, :focus-within) { z-index: 19; }
      .book-pictures .book-zoom { rotate: var(--tilt); animation: book-breath var(--t) ease-in-out infinite alternate; }
      .book-pictures .book-zoom:is(:hover, :focus-visible) { animation-play-state: paused; }
      @keyframes book-breath { 50% { translate: 0 -4px; } }
      .book-pictures img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 4;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 0 34px rgb(var(--c) / 18%), 0 18px 40px rgb(0 0 0 / 55%);
        opacity: 0.92;
        transition: opacity 300ms ease, box-shadow 300ms ease;
      }
      .series-3-6 .book-pictures img { aspect-ratio: 1; }
      .book-pictures .book-zoom:is(:hover, :focus-visible) img { opacity: 1; box-shadow: 0 0 44px rgb(var(--c) / 40%), 0 18px 40px rgb(0 0 0 / 55%); }
      .book-pictures .book-zoom:focus-visible img { outline: 2px solid rgb(var(--c)); outline-offset: 4px; }
      html.viewer-open { overflow: hidden; }
      .book-viewer {
        position: fixed;
        inset: 0;
        width: 100%;
        max-width: none;
        height: 100%;
        max-height: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
        color: var(--ink, #fffdf6);
        background: rgb(3 8 12 / 90%);
        border: 0;
        touch-action: pinch-zoom;
      }
      .book-viewer::backdrop { background: transparent; }
      .book-viewer[open] { display: grid; place-items: center; animation: viewer-night 300ms ease-out; }
      @keyframes viewer-night { from { opacity: 0; } }
      .book-viewer button { margin: 0; padding: 0; color: inherit; font: inherit; background: none; border: 0; cursor: pointer; }
      .viewer-figure { display: grid; justify-items: center; gap: 10px; margin: 0; }
      .viewer-picture img {
        display: block;
        width: min(92vw, 760px, calc((100vh - 170px) * var(--r, 1)));
        width: min(92vw, 760px, calc((100dvh - 170px) * var(--r, 1)));
        height: auto;
        aspect-ratio: var(--r, 1);
        object-fit: contain;
        border-radius: 10px;
        box-shadow: 0 0 80px rgb(var(--c) / 30%), 0 30px 70px rgb(0 0 0 / 65%);
        cursor: zoom-out;
        -webkit-user-select: none;
        user-select: none;
      }
      .viewer-bar { display: flex; align-items: center; justify-content: center; gap: 4px; }
      .viewer-name {
        min-width: 13em;
        color: rgb(255 253 246 / 80%);
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-align: center;
        text-transform: uppercase;
      }
      .viewer-step, .viewer-close {
        display: grid;
        width: 46px;
        height: 46px;
        place-items: center;
        opacity: 0.85;
        transition: transform 200ms ease, opacity 200ms ease, color 200ms ease;
      }
      .viewer-step svg, .viewer-close svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
      .viewer-step[disabled] { visibility: hidden; }
      .viewer-close { position: fixed; z-index: 2; top: calc(18px + env(safe-area-inset-top, 0px)); right: 20px; }
      .viewer-close:focus-visible { opacity: 1; transform: rotate(90deg); }
      .viewer-step:focus-visible { opacity: 1; color: rgb(var(--c)); }
      .viewer-step[data-step="-1"]:focus-visible { transform: translateX(-3px); }
      .viewer-step[data-step="1"]:focus-visible { transform: translateX(3px); }
      @media (hover: hover) and (pointer: fine) {
        .viewer-close:hover { opacity: 1; transform: rotate(90deg); }
        .viewer-step:hover { opacity: 1; color: rgb(var(--c)); }
        .viewer-step[data-step="-1"]:hover { transform: translateX(-3px); }
        .viewer-step[data-step="1"]:hover { transform: translateX(3px); }
      }
      @media (prefers-reduced-motion: reduce) {
        .book-pictures .book-zoom { animation: none; }
        .book-viewer[open] { animation: none; }
        .viewer-close:is(:hover, :focus-visible), .viewer-step:is(:hover, :focus-visible) { transform: none; }
      }
      .book-kicker {
        margin: 0 0 6px;
        color: rgb(var(--c));
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.04em;
      }
      main.book-page h1, main.hub-page h1 { margin: 0 0 10px; text-align: left; }
      main.hub-page h1 { text-align: center; }
      main .book-source { color: rgb(255 253 246 / 85%); font-style: italic; }
      main .book-lead { color: var(--ink); font-size: 17px; }
      .book-buy { margin: 32px 0 8px; }
      .buys { display: grid; width: 320px; max-width: 100%; grid-template-columns: minmax(0, 1fr); gap: 10px; }
      .buy, .paper {
        position: relative;
        isolation: isolate;
        display: flex;
        box-sizing: border-box;
        min-width: 0;
        min-height: 56px;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin: 0;
        padding: 6px 18px;
        color: #fffdf6;
        text-align: left;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
        background: linear-gradient(rgb(var(--c) / 7%), rgb(var(--c) / 0%) 60%), rgb(6 10 12 / 90%);
        border: 1px solid rgb(var(--c));
        border-radius: 999px;
        box-shadow: 0 8px 24px rgb(0 0 0 / 45%), 0 0 28px rgb(var(--c) / 12%);
        transition: border-color 200ms ease, box-shadow 450ms ease, transform 200ms ease;
      }
      .buy:hover { color: #fffdf6; }
      .buy-price {
        display: flex;
        flex: none;
        flex-flow: row wrap;
        align-items: baseline;
        gap: 0 6px;
        color: rgb(var(--c));
        font-size: 22px;
        font-weight: 700;
        line-height: 24px;
        letter-spacing: 0.01em;
        white-space: nowrap;
      }
      .buy-price small { color: rgb(255 253 246 / 82%); font-size: 12px; font-weight: 400; line-height: 15px; letter-spacing: 0.02em; }
      .buy-words { flex: none; color: #fffdf6; font-size: 14px; font-weight: 600; line-height: 18px; letter-spacing: 0.02em; white-space: nowrap; }
      .is-reserve .buy-words { flex: 0 1 auto; min-width: 0; text-align: right; white-space: normal; }
      main .buy-small { margin: 4px 0 0; color: rgb(255 253 246 / 82%); font-size: 12px; line-height: 1.35; letter-spacing: 0.02em; }
      main .buy-note { justify-self: start; width: max-content; max-width: min(560px, 86vw); margin: 2px 0 0; color: rgb(255 253 246 / 84%); font-size: 13px; line-height: 17px; text-wrap: balance; }
      main .paper-soon {
        display: flex;
        width: fit-content;
        align-items: center;
        justify-self: start;
        gap: 10px;
        margin: 0;
        color: rgb(255 253 246 / 84%);
        font-size: 15px;
        font-weight: 600;
        line-height: 1.2;
        text-shadow: 0 1px 6px rgb(0 0 0 / 70%);
      }
      .paper-soon-words { display: inline-flex; align-items: baseline; gap: 9px; }
      main .paper-soon small { color: rgb(var(--c) / 90%); font-size: 12px; font-weight: 600; text-shadow: 0 1px 6px rgb(0 0 0 / 80%); }
      main .paper-label { margin: 2px 2px -6px; color: rgb(255 253 246 / 82%); font-size: 12px; line-height: 15px; letter-spacing: 0.02em; }
      .paper { justify-content: center; padding: 10px 20px; }
      .paper img { display: block; width: 0; min-width: 100%; height: 28px; object-fit: contain; }
      .paper span { color: rgb(255 253 246 / 94%); font-size: 15px; font-weight: 700; line-height: 28px; letter-spacing: 0.02em; white-space: nowrap; }
      main .amazon-note { max-width: 100%; margin: 8px 0 0; color: rgb(255 253 246 / 82%); font-size: 12px; line-height: 1.35; }
      main .amazon-note[hidden] { display: none; }
      main .buy-adds { display: flex; justify-self: start; margin: -10px 0 0 -8px; font-size: 13px; line-height: 16px; letter-spacing: 0.02em; }
      main .buy-adds[hidden] { display: none; }
      .buy-add {
        display: inline-flex;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        gap: 5px;
        margin: 0;
        padding: 0 8px;
        color: rgb(var(--c));
        font: inherit;
        letter-spacing: inherit;
        white-space: nowrap;
        cursor: pointer;
        background: none;
        border: 0;
        -webkit-tap-highlight-color: transparent;
      }
      .buy-add-words { text-decoration: underline; text-decoration-color: rgb(var(--c) / 30%); text-underline-offset: 3px; }
      .buy-add.is-in-basket .buy-add-words { text-decoration: none; }
      @media (hover: hover) and (pointer: fine) {
        .buy-add:hover .buy-add-words { text-decoration-color: currentColor; }
      }
      .buy-add:focus-visible { outline: 2px solid rgb(var(--c)); outline-offset: -2px; border-radius: 8px; }
      .buy-check { display: none; flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.6; }
      .buy-add.is-in-basket .buy-check { display: block; }
      main .buy-said { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
      main .buy-said.is-shown {
        position: static;
        width: auto;
        max-width: 320px;
        height: auto;
        margin: 8px 0 0;
        overflow: visible;
        clip-path: none;
        color: rgb(255 253 246 / 82%);
        font-size: 13.5px;
        line-height: 1.4;
        white-space: normal;
      }
      .buy:focus-visible, .paper:focus-visible { outline: 2px solid rgb(var(--c)); outline-offset: 4px; }
      @property --buy-r { syntax: "<length>"; inherits: false; initial-value: 0px; }
      .book-buy { --glow: 1; }
      .series-13 .book-buy { --glow: 0.6; }
      .buy::before {
        position: absolute;
        inset: 0;
        z-index: -1;
        content: "";
        background: radial-gradient(circle at 50% 50%, rgb(var(--c) / calc(var(--glow) * 24%)) 0,
          rgb(var(--c) / calc(var(--glow) * 13%)) calc(var(--buy-r) * 0.45), rgb(var(--c) / calc(var(--glow) * 5%)) calc(var(--buy-r) * 0.8), transparent var(--buy-r));
        border-radius: inherit;
        pointer-events: none;
        transition: --buy-r 300ms ease;
      }
      .buy-price { transition: text-shadow 400ms ease 120ms; }
      .buy-flies { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
      .buy-flies i { position: absolute; top: var(--t); left: var(--l); width: 0; height: 0; opacity: 0; transition: opacity 220ms ease; }
      .buy-flies i::before {
        position: absolute;
        top: -2.5px;
        left: -2.5px;
        width: 5px;
        height: 5px;
        content: "";
        background: #fffbe8;
        border-radius: 50%;
        box-shadow: 0 0 5px 1.5px rgb(var(--c) / 85%), 0 0 14px 5px rgb(var(--c) / 30%);
      }
      .buy-flies i:nth-child(1) { --l: 14%; --t: -0.5px; --dx: -40px; --dy: -30px; --dl: 120ms; }
      .buy-flies i:nth-child(2) { --g: 3.1s; --l: calc(100% + 0.5px); --t: 34%; --dx: 36px; --dy: -26px; --dl: 180ms; }
      .buy-flies i:nth-child(3) { --g: 1.9s; --l: 58%; --t: calc(100% + 0.5px); --dx: 22px; --dy: 34px; --dl: 240ms; }
      @keyframes buy-fly-across { from { translate: var(--dx) 0; } to { translate: 0 0; } }
      @keyframes buy-fly-down { from { translate: 0 var(--dy); } to { translate: 0 0; } }
      @keyframes buy-flicker { to { opacity: 0.55; } }
      .buy:is(:focus-visible, :active) {
        box-shadow: 0 8px 24px rgb(0 0 0 / 45%), 0 0 30px rgb(var(--c) / calc(var(--glow) * 26%)), inset 0 0 14px rgb(var(--c) / calc(var(--glow) * 12%));
      }
      .buy:is(:focus-visible, :active)::before { --buy-r: 280px; transition: --buy-r 560ms cubic-bezier(0.25, 0.7, 0.3, 1); }
      .buy:is(:focus-visible, :active) .buy-price { text-shadow: 0 0 12px rgb(var(--c) / 45%); }
      .buy:is(:focus-visible, :active) .buy-flies i { opacity: 1; transition: opacity 260ms ease var(--dl); animation: buy-fly-across 460ms cubic-bezier(0.2, 0.75, 0.3, 1) var(--dl) both; }
      .buy:is(:focus-visible, :active) .buy-flies i::before {
        animation: buy-fly-down 460ms cubic-bezier(0.55, 0, 0.35, 1) var(--dl) both, buy-flicker var(--g, 2.4s) ease-in-out calc(600ms + var(--dl)) infinite alternate;
      }
      @media (hover: hover) and (pointer: fine) {
        .buy:hover {
          box-shadow: 0 8px 24px rgb(0 0 0 / 45%), 0 0 30px rgb(var(--c) / calc(var(--glow) * 26%)), inset 0 0 14px rgb(var(--c) / calc(var(--glow) * 12%));
        }
        .buy:hover::before { --buy-r: 280px; transition: --buy-r 560ms cubic-bezier(0.25, 0.7, 0.3, 1); }
        .buy:hover .buy-price { text-shadow: 0 0 12px rgb(var(--c) / 45%); }
        .buy:hover .buy-flies i { opacity: 1; transition: opacity 260ms ease var(--dl); animation: buy-fly-across 460ms cubic-bezier(0.2, 0.75, 0.3, 1) var(--dl) both; }
        .buy:hover .buy-flies i::before {
          animation: buy-fly-down 460ms cubic-bezier(0.55, 0, 0.35, 1) var(--dl) both, buy-flicker var(--g, 2.4s) ease-in-out calc(600ms + var(--dl)) infinite alternate;
        }
        .paper:hover { box-shadow: 0 10px 28px rgb(0 0 0 / 50%), 0 0 36px rgb(var(--c) / 28%); transform: translateY(-1px); }
      }
      main .notify { margin: 14px 0 0; }
      .notify a {
        display: inline-flex;
        box-sizing: border-box;
        min-height: 44px;
        align-items: center;
        gap: 9px;
        padding: 10px 0;
        color: rgb(var(--c));
        font-size: 15px;
        font-weight: 700;
        text-decoration: none;
        transition: color 200ms ease;
      }
      .notify a:hover, .notify a:focus-visible {
        color: #fffdf6;
        text-decoration: underline;
        text-decoration-color: rgb(var(--c) / 55%);
        text-underline-offset: 4px;
      }
      .notify a:focus-visible { border-radius: 4px; outline: 2px solid rgb(var(--c)); outline-offset: 4px; }
      .notify svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
      main .lantern { display: flex; width: fit-content; align-items: center; gap: 10px; margin: 18px 0 0; color: rgb(var(--c)); font-size: 15px; }
      main .lantern span:last-child { font-weight: 700; white-space: nowrap; opacity: 0.85; }
      .lantern-flame {
        flex: none;
        width: 26px;
        height: 26px;
        background: radial-gradient(circle at 50% 55%, #fffdf6, rgb(var(--c)) 45%, rgb(var(--c) / 0%) 72%);
        border-radius: 50%;
        box-shadow: 0 0 34px 10px rgb(var(--c) / 45%);
        animation: lantern-flicker 1.6s ease-in-out infinite alternate;
      }
      @keyframes lantern-flicker { to { transform: scale(0.85); opacity: 0.8; } }
      main .book-hub { margin: 26px 0 0; }
      main .book-hub + .book-hub { margin-top: 2px; }
      .book-hub a {
        display: inline-flex;
        min-height: 44px;
        align-items: center;
        gap: 10px;
        color: var(--ink);
        font-family: var(--serif);
        font-size: 18px;
        font-style: italic;
        font-weight: 500;
        line-height: 1.3;
        text-decoration: none;
      }
      .book-hub a span {
        text-decoration: underline dotted;
        text-decoration-color: rgb(var(--c) / 60%);
        text-decoration-thickness: 1.5px;
        text-underline-offset: 5px;
        transition: color 200ms ease, text-decoration-color 200ms ease;
      }
      .hub-mark {
        flex: none;
        width: 30px;
        height: 30px;
        padding: 3px;
        box-sizing: border-box;
        overflow: visible;
        fill: none;
        stroke: rgb(var(--c));
        stroke-width: 1.6;
        stroke-linecap: round;
        stroke-linejoin: round;
        background: radial-gradient(circle, rgb(var(--c) / 20%), rgb(var(--c) / 0%) 68%);
        border-radius: 50%;
      }
      .hub-board { transition: transform 260ms cubic-bezier(0.3, 0.7, 0.3, 1.4); }
      .book-hub a:hover span, .book-hub a:focus-visible span {
        color: rgb(var(--c));
        text-decoration-style: solid;
        text-decoration-color: rgb(var(--c));
      }
      .book-hub a:hover .hub-board, .book-hub a:focus-visible .hub-board { transform: translateX(2.5px); }
      .book-hub a:focus-visible { border-radius: 4px; outline: 2px solid rgb(var(--c)); outline-offset: 4px; }
      @media (prefers-reduced-motion: reduce) {
        .buy, .buy::before, .buy-price, .buy-flies i, .buy-flies i::before, .paper, .lantern-flame, .hub-board, .hub-emblem, .hub-cover, .book-hub a span, .notify a {
          animation: none !important;
          transition: none !important;
        }
        .book-hub a:hover .hub-board, .book-hub a:focus-visible .hub-board, .paper:hover, .hub-series h2:hover .hub-emblem, .hub-emblem:hover { transform: none; }
      }
      .book-sections { width: min(100%, 760px); margin: clamp(40px, 7vh, 72px) 0 0; }
      .book-section + .book-section { margin-top: clamp(28px, 5vh, 44px); }
      main .book-section h2 { margin: 0 0 12px; color: rgb(var(--c)); text-wrap: balance; }
      .book-section p { text-wrap: pretty; }
      .book-section p:last-child { margin-bottom: 0; }
      .book-section:lang(ja) p { word-break: auto-phrase; }
      main .book-lead:not(:lang(ja)), .book-words > p:not([class]):not(:lang(ja)), .book-section p:not(:lang(ja)) {
        text-align: justify;
        text-align-last: auto;
        hyphens: auto;
        -webkit-hyphens: auto;
        hyphenate-limit-chars: 6 3 2;
      }
      main .book-coloring { margin: 18px 0 0; }
      .book-more { margin: clamp(32px, 6vh, 56px) 0 0; }
      .book-more ul, .hub-list { margin: 0; padding: 0; list-style: none; }
      .book-more ul { columns: 2 260px; column-gap: 32px; }
      .book-more li { margin: 0; break-inside: avoid; }
      .book-more a { display: inline-block; min-height: 32px; padding: 4px 0; }
      :root { --age-row: 900px; }
      .hub-intro { width: min(100%, var(--age-row)); margin: 0 auto clamp(40px, 7vh, 72px); text-align: center; }
      .hub-intro p {
        margin: 0 0 14px;
        color: var(--ink-soft);
        font-size: 16px;
        line-height: 1.7;
        text-shadow: 0 1px 10px rgb(0 0 0 / 80%), 0 1px 2px rgb(0 0 0 / 60%);
        text-wrap: pretty;
      }
      .hub-intro p:last-child { margin-bottom: 0; }
      .hub-intro:lang(ja) p { word-break: auto-phrase; text-wrap: balance; }
      main.hub-page:not(.series-page) .hub-intro p:not(:lang(ja)) {
        text-align: justify;
        text-align-last: auto;
        hyphens: auto;
        -webkit-hyphens: auto;
        hyphenate-limit-chars: 6 3 2;
      }
      main .hub-intro h2 {
        margin: 28px 0 10px;
        color: var(--lime);
        font-family: var(--serif);
        font-size: 19px;
        font-weight: 600;
        line-height: 1.3;
        text-shadow: 0 2px 12px rgb(0 0 0 / 80%);
        text-wrap: balance;
      }
      .hub-series + .hub-series { margin-top: clamp(56px, 9vh, 96px); }
      .hub-end { --c: 217 237 103; margin: clamp(56px, 9vh, 96px) 0 clamp(16px, 3vh, 32px); text-align: center; }
      main .hub-end .book-hub { margin: 0; }
      main .hub-series h2 {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 0 0 20px;
        color: rgb(var(--c));
      }
      .hub-emblem {
        flex: none;
        width: 44px;
        height: 44px;
        box-sizing: border-box;
        padding: 6px;
        overflow: visible;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.6;
        stroke-linecap: round;
        stroke-linejoin: round;
        background: radial-gradient(circle at 50% 50%, rgb(var(--c) / 24%), rgb(var(--c) / 8%) 45%, transparent 70%);
        border-radius: 50%;
        transition: box-shadow 220ms ease, transform 220ms ease;
      }
      @media (hover: hover) {
        .hub-series h2:hover .hub-emblem, .hub-emblem:hover {
          box-shadow: 0 0 16px 3px rgb(var(--c) / 55%), inset 0 0 12px rgb(var(--c) / 32%);
          transform: scale(1.08);
        }
      }
      .hub-emblem .fill { fill: currentColor; stroke: none; }
      .hub-emblem .chosen-path { stroke: #f2d38c; }
      .hub-series h2 small { margin-left: 6px; color: rgb(255 253 246 / 80%); font-family: "Trebuchet MS", Verdana, var(--ja, sans-serif); font-size: 13px; font-weight: 600; white-space: nowrap; }
      .hub-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 26px 22px; align-items: start; }
      main .hub-list li { margin: 0; font-size: 14px; line-height: 1.45; }
      .hub-book { display: flex; flex-direction: column; gap: 10px; color: var(--ink); font-weight: 700; text-decoration: none; }
      .hub-cover {
        display: grid;
        overflow: hidden;
        aspect-ratio: 3 / 4;
        background: rgb(var(--c) / 10%);
        border: 1px solid rgb(var(--c) / 28%);
        border-radius: 10px;
        box-shadow: 0 10px 28px rgb(0 0 0 / 45%);
        transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
      }
      .hub-book:hover .hub-cover, .hub-book:focus-visible .hub-cover {
        border-color: rgb(var(--c) / 75%);
        box-shadow: 0 0 26px rgb(var(--c) / 35%), 0 14px 32px rgb(0 0 0 / 50%);
        transform: translateY(-4px);
      }
      .hub-book:hover .hub-title, .hub-book:focus-visible .hub-title { color: rgb(var(--c)); }
      .hub-words { display: block; text-wrap: pretty; }
      .hub-tale { color: rgb(255 253 246 / 84%); font-weight: 400; }
      .hub-book:focus-visible { outline: none; }
      .hub-book:focus-visible .hub-cover { outline: 3px solid rgb(var(--c)); outline-offset: 3px; }
      @media (prefers-reduced-motion: reduce) {
        .hub-emblem, .hub-cover { transition: none; }
        .hub-book:hover .hub-cover, .hub-book:focus-visible .hub-cover, .hub-series h2:hover .hub-emblem, .hub-emblem:hover { transform: none; }
      }
      .hub-bio {
        --gap: clamp(24px, 4vw, 44px);
        display: flow-root;
        width: min(100%, var(--age-row));
        margin: 0 auto clamp(56px, 9vh, 96px);
      }
      .hub-photo { float: left; width: calc((100% - var(--gap)) * 5 / 12); margin: 6px var(--gap) 12px 0; }
      .hub-bio { --c: 242 211 140; }
      .hub-photo-frame {
        position: relative;
        display: block;
        overflow: hidden;
        border-radius: 12px;
        box-shadow: 0 18px 48px rgb(0 0 0 / 55%), 0 0 60px rgb(242 211 140 / 10%);
        transition: box-shadow 300ms ease;
      }
      .hub-photo .book-zoom:is(:hover, :focus-visible, :active) .hub-photo-frame { box-shadow: 0 18px 48px rgb(0 0 0 / 55%), 0 0 60px rgb(var(--c) / 30%); }
      .hub-photo .book-zoom:focus-visible .hub-photo-frame { outline: 2px solid rgb(var(--c)); outline-offset: 4px; }
      .hub-photo-frame img { display: block; width: 100%; height: auto; }
      .hub-photo-frame::after {
        position: absolute;
        inset: 0;
        content: "";
        background: radial-gradient(ellipse 80% 75% at 50% 42%, transparent 58%, rgb(6 14 12 / 45%));
        border-radius: inherit;
        box-shadow: inset 0 0 0 1px rgb(255 253 246 / 10%);
        pointer-events: none;
      }
      .hub-photo figcaption {
        margin: 10px 2px 0;
        color: rgb(255 253 246 / 82%);
        font-size: 12px;
        line-height: 1.4;
        letter-spacing: 0.02em;
        text-shadow: 0 1px 6px rgb(0 0 0 / 80%);
      }
      .hub-bio .viewer-picture img {
        width: min(92vw, 760px, calc((100vh - 200px) * var(--r, 1)));
        width: min(92vw, 760px, calc((100dvh - 200px) * var(--r, 1)));
      }
      .hub-bio .viewer-bar { flex-wrap: wrap; row-gap: 0; }
      .viewer-break { flex-basis: 100%; height: 0; }
      .viewer-credit {
        min-height: 30px;
        color: rgb(255 253 246 / 80%);
        font-size: 12px;
        letter-spacing: 0.02em;
        text-align: center;
      }
      main .hub-bio h2 { margin: 0 0 14px; font-size: 24px; }
      .hub-bio-words p { text-align: justify; text-align-last: auto; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 6 3 2; }
      html[lang="bg"] .hub-bio-words p,
      html[lang="ru"] .hub-bio-words p,
      html[lang="en"] .hub-bio-words p + p,
      html[lang="de"] .hub-bio-words p + p,
      html[lang="cs"] .hub-bio-words p + p { text-indent: 1.5em; }
      html[lang="ja"] .hub-bio-words p { text-indent: 1em; }
      .hub-bio-words p:last-child { margin-bottom: 0; }
      .hub-bio-words:lang(ja) p { word-break: auto-phrase; }
      main .hub-intro a, main .hub-bio a {
        color: var(--ink);
        text-decoration: underline;
        text-decoration-color: rgb(255 253 246 / 55%);
        text-decoration-thickness: 1px;
        text-underline-offset: 3px;
      }
      main .hub-intro a:focus-visible, main .hub-bio a:focus-visible {
        text-decoration-color: var(--lime);
        text-decoration-thickness: 2px;
      }
      @media (hover: hover) {
        main .hub-intro a:hover, main .hub-bio a:hover {
          text-decoration-color: var(--lime);
          text-decoration-thickness: 2px;
        }
      }
      @media (max-width: 760px) {
        .hub-bio { display: block; }
        .hub-photo { float: none; width: min(100%, 440px); margin: 0 auto 22px; }
        .hub-photo figcaption { text-align: center; }
        .hub-bio-words:lang(ja) p { text-align: left; hyphens: manual; -webkit-hyphens: manual; }
        main .hub-bio h2 { font-size: 21px; text-align: center; }
      }
      @media (prefers-reduced-motion: reduce) {
        .hub-photo-frame { transition: none; }
      }
      @media (max-width: 760px) {
        main.book-page, main.hub-page { width: calc(100% - 32px); }
        .book { grid-template-columns: minmax(0, 1fr); }
        .book-cover { width: min(100%, 360px); margin-inline: auto; }
        .book-pictures ul { margin-top: 22px; }
        .viewer-name { min-width: 0; flex: 1; }
        .viewer-bar { width: min(92vw, 420px); }
        .hub-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
        .hub-intro p { font-size: 15px; }
        .hub-series + .hub-series { margin-top: 56px; }
        .hub-emblem { width: 38px; height: 38px; padding: 5px; }
        .book-hub a { font-size: 17px; }
        .buys { width: 100%; }
      }

      .series-sign { display: grid; place-items: center; margin: 0 0 14px; color: rgb(var(--c)); text-indent: 0; }
      .series-sign .hub-emblem { width: 72px; height: 72px; padding: 10px; }
      main.series-page h1 { color: rgb(var(--c)); text-wrap: balance; }
      main.series-page h1 small {
        margin-left: 8px;
        color: rgb(255 253 246 / 80%);
        font-family: "Trebuchet MS", Verdana, var(--ja, sans-serif);
        font-size: 15px;
        font-weight: 600;
        white-space: nowrap;
      }
      .series-others {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 40px;
        margin: clamp(56px, 9vh, 96px) 0 0;
        text-indent: 0;
      }
      main .series-others a {
        display: inline-block;
        padding: 10px 0;
        color: rgb(var(--c));
        font-family: var(--serif);
        font-size: 19px;
        font-weight: 600;
        text-decoration: underline dotted;
        text-decoration-color: rgb(var(--c) / 60%);
        text-decoration-thickness: 1.5px;
        text-underline-offset: 5px;
      }
      .series-others small {
        display: inline-block;
        margin-left: 4px;
        color: rgb(255 253 246 / 80%);
        font-family: "Trebuchet MS", Verdana, var(--ja, sans-serif);
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
      }
      main .series-others a:focus-visible { text-decoration-style: solid; text-decoration-color: rgb(var(--c)); border-radius: 4px; outline: 2px solid rgb(var(--c)); outline-offset: 4px; }
      @media (hover: hover) {
        main .series-others a:hover { text-decoration-style: solid; text-decoration-color: rgb(var(--c)); }
      }
      main.series-page .hub-end { margin-top: clamp(28px, 5vh, 48px); }
      @media (max-width: 760px) {
        .series-sign .hub-emblem { width: 60px; height: 60px; padding: 8px; }
        .series-others { flex-direction: column; align-items: center; gap: 4px; }
        main .series-others a { font-size: 17px; }
      }
