/* ============================================================
   taisho.day - Taisho Era Dark Academia
   Colors: #2C1810, #3D2B1F, #8B6914, #E8DCC8, #D4C4A8, #B84233, #2D4A3E, #1A1612
   Fonts: Libre Baskerville, Lora, Cormorant Garamond
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 18px;
    overflow-x: hidden;
}

body {
    font-family: 'Lora', serif;
    font-weight: 400;
    color: #3D2B1F;
    background-color: #2C1810;
    line-height: 1.72;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Ink-wash foxed-paper texture via layered gradients --- */
.chapter-two {
    background-color: #E8DCC8;
    background-image:
        radial-gradient(ellipse at 20% 30%, rgba(212, 196, 168, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 65%, rgba(139, 105, 20, 0.05) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 80%, rgba(61, 43, 31, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(212, 196, 168, 0.4) 0%, transparent 35%);
}

/* --- Chapter Navigation --- */
.chapter-nav {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.chapter-nav-link {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 300;
    color: #8B6914;
    opacity: 0.35;
    text-decoration: none;
    transition: opacity 0.5s ease, color 0.5s ease, text-shadow 0.5s ease;
    display: block;
    text-align: center;
    width: 32px;
    height: 32px;
    line-height: 32px;
}

.chapter-nav-link:hover,
.chapter-nav-link.active {
    opacity: 1;
    color: #8B6914;
    text-shadow: 0 0 8px rgba(139, 105, 20, 0.4);
}

/* --- Floating Paper Cranes --- */
.cranes-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 50;
    overflow: hidden;
}

.crane {
    position: absolute;
    color: #B84233;
    opacity: 0.6;
}

.crane-1 { width: 32px; top: 12%; left: -40px; animation: craneDrift1 18s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; }
.crane-2 { width: 24px; top: 28%; left: -30px; animation: craneDrift2 23s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; }
.crane-3 { width: 36px; top: 45%; left: -45px; animation: craneDrift3 31s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; }
.crane-4 { width: 28px; top: 62%; left: -35px; animation: craneDrift4 26s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; }
.crane-5 { width: 40px; top: 78%; left: -50px; animation: craneDrift5 20s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; }
.crane-6 { width: 26px; top: 8%; left: -35px; animation: craneDrift6 29s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; }
.crane-7 { width: 30px; top: 35%; left: -40px; animation: craneDrift7 22s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; }
.crane-8 { width: 22px; top: 55%; left: -30px; animation: craneDrift8 27s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; }
.crane-9 { width: 34px; top: 70%; left: -42px; animation: craneDrift9 19s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; }
.crane-10 { width: 28px; top: 88%; left: -36px; animation: craneDrift10 25s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; }

@keyframes craneDrift1 {
    0% { transform: translate(-40px, 0) rotate(-5deg); }
    25% { transform: translate(25vw, -15px) rotate(3deg); }
    50% { transform: translate(55vw, 10px) rotate(-2deg); }
    75% { transform: translate(80vw, -8px) rotate(5deg); }
    100% { transform: translate(110vw, 5px) rotate(-3deg); }
}
@keyframes craneDrift2 {
    0% { transform: translate(-30px, 0) rotate(3deg); }
    30% { transform: translate(30vw, 12px) rotate(-4deg); }
    60% { transform: translate(65vw, -18px) rotate(2deg); }
    100% { transform: translate(110vw, -5px) rotate(-5deg); }
}
@keyframes craneDrift3 {
    0% { transform: translate(-45px, 0) rotate(-2deg); }
    20% { transform: translate(20vw, 20px) rotate(4deg); }
    50% { transform: translate(50vw, -10px) rotate(-3deg); }
    80% { transform: translate(85vw, 15px) rotate(2deg); }
    100% { transform: translate(110vw, 0px) rotate(-4deg); }
}
@keyframes craneDrift4 {
    0% { transform: translate(-35px, 0) rotate(5deg); }
    35% { transform: translate(35vw, -20px) rotate(-3deg); }
    65% { transform: translate(70vw, 8px) rotate(4deg); }
    100% { transform: translate(110vw, -12px) rotate(-2deg); }
}
@keyframes craneDrift5 {
    0% { transform: translate(-50px, 0) rotate(-4deg); }
    25% { transform: translate(22vw, 16px) rotate(2deg); }
    55% { transform: translate(58vw, -14px) rotate(-5deg); }
    100% { transform: translate(110vw, 8px) rotate(3deg); }
}
@keyframes craneDrift6 {
    0% { transform: translate(-35px, 0) rotate(2deg); }
    40% { transform: translate(40vw, -10px) rotate(-3deg); }
    70% { transform: translate(75vw, 18px) rotate(4deg); }
    100% { transform: translate(110vw, -6px) rotate(-2deg); }
}
@keyframes craneDrift7 {
    0% { transform: translate(-40px, 0) rotate(-3deg); }
    30% { transform: translate(28vw, 14px) rotate(5deg); }
    60% { transform: translate(62vw, -12px) rotate(-4deg); }
    100% { transform: translate(110vw, 10px) rotate(2deg); }
}
@keyframes craneDrift8 {
    0% { transform: translate(-30px, 0) rotate(4deg); }
    25% { transform: translate(24vw, -16px) rotate(-2deg); }
    50% { transform: translate(52vw, 12px) rotate(3deg); }
    75% { transform: translate(78vw, -8px) rotate(-5deg); }
    100% { transform: translate(110vw, 4px) rotate(2deg); }
}
@keyframes craneDrift9 {
    0% { transform: translate(-42px, 0) rotate(-5deg); }
    35% { transform: translate(32vw, 18px) rotate(3deg); }
    70% { transform: translate(68vw, -15px) rotate(-2deg); }
    100% { transform: translate(110vw, 7px) rotate(4deg); }
}
@keyframes craneDrift10 {
    0% { transform: translate(-36px, 0) rotate(3deg); }
    20% { transform: translate(18vw, -12px) rotate(-4deg); }
    45% { transform: translate(42vw, 14px) rotate(2deg); }
    75% { transform: translate(82vw, -10px) rotate(-3deg); }
    100% { transform: translate(110vw, 6px) rotate(5deg); }
}

/* --- Pulse Attention Animation --- */
@keyframes pulseAttention {
    0% { transform: scale(1); box-shadow: 0 0 0 rgba(139, 105, 20, 0); }
    50% { transform: scale(1.02); box-shadow: 0 0 12px rgba(139, 105, 20, 0.3); }
    100% { transform: scale(1); box-shadow: 0 0 0 rgba(139, 105, 20, 0); }
}

@keyframes letterPulse {
    0% { opacity: 0; transform: scale(0.95); text-shadow: 0 0 0 rgba(139, 105, 20, 0); }
    40% { opacity: 1; transform: scale(1.02); text-shadow: 0 0 10px rgba(139, 105, 20, 0.4); }
    70% { transform: scale(0.98); text-shadow: 0 0 5px rgba(139, 105, 20, 0.2); }
    85% { transform: scale(1.01); text-shadow: 0 0 8px rgba(139, 105, 20, 0.3); }
    100% { opacity: 1; transform: scale(1); text-shadow: 0 0 0 rgba(139, 105, 20, 0); }
}

@keyframes rosetteSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* --- Chapter Base Styles --- */
.chapter {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.chapter-watermark {
    position: absolute;
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(6rem, 12vw, 14rem);
    font-weight: 700;
    color: #2C1810;
    opacity: 0.05;
    pointer-events: none;
    z-index: 1;
    user-select: none;
}

/* --- Chapter One: The Threshold --- */
.chapter-one {
    background-color: #2C1810;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
}

.chapter-one .chapter-watermark {
    top: 10%;
    right: 8%;
    color: #E8DCC8;
    opacity: 0.04;
}

.chapter-one-content {
    text-align: center;
    z-index: 10;
    position: relative;
}

.domain-title {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(2.4rem, 5.5vw, 4.8rem);
    font-weight: 700;
    color: #E8DCC8;
    letter-spacing: 0.02em;
    line-height: 1.12;
    text-transform: lowercase;
    font-variant: small-caps;
    border-bottom: 1px solid #8B6914;
    display: inline-block;
    padding-bottom: 12px;
    margin-bottom: 32px;
}

.letter {
    display: inline-block;
    opacity: 0;
    animation: letterPulse 0.6s ease-out forwards;
}

.chapter-one-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-style: italic;
    font-size: clamp(0.85rem, 1vw, 1.05rem);
    color: #8B6914;
    letter-spacing: 0.05em;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 1.2s forwards;
}

/* Chrysanthemum Rosette */
.chrysanthemum-rosette {
    position: absolute;
    bottom: 15%;
    right: 12%;
    width: 120px;
    height: 120px;
    z-index: 5;
    animation: rosetteSpin 60s linear infinite, pulseAttention 3s ease-in-out infinite;
}

.chrysanthemum-afterglow {
    bottom: auto;
    right: auto;
    top: 10%;
    left: 8%;
    width: 80px;
    height: 80px;
    opacity: 0.5;
}

/* Ink Divider */
.ink-divider {
    position: absolute;
    bottom: 0;
    left: -5vw;
    width: 110vw;
    height: 80px;
    z-index: 10;
}

/* Dot Constellations */
.dot-constellation {
    position: absolute;
    z-index: 5;
}

.ornament-dot {
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #8B6914;
    position: absolute;
}

.dot-constellation-1 {
    bottom: 25%;
    left: 10%;
}
.dot-constellation-1 .ornament-dot:nth-child(1) { top: 0; left: 0; }
.dot-constellation-1 .ornament-dot:nth-child(2) { top: -12px; left: 18px; width: 4px; height: 4px; }
.dot-constellation-1 .ornament-dot:nth-child(3) { top: 8px; left: 28px; }
.dot-constellation-1 .ornament-dot:nth-child(4) { top: -5px; left: 42px; width: 6px; height: 6px; }
.dot-constellation-1 .ornament-dot:nth-child(5) { top: 15px; left: 12px; width: 4px; height: 4px; }

.dot-constellation-2 {
    bottom: 10%;
    right: 8%;
}
.dot-constellation-2 .ornament-dot:nth-child(1) { top: 0; left: 0; }
.dot-constellation-2 .ornament-dot:nth-child(2) { top: -15px; left: 20px; width: 4px; height: 4px; }
.dot-constellation-2 .ornament-dot:nth-child(3) { top: 10px; left: 35px; }
.dot-constellation-2 .ornament-dot:nth-child(4) { top: -8px; left: 50px; width: 6px; height: 6px; }
.dot-constellation-2 .ornament-dot:nth-child(5) { top: 18px; left: 15px; width: 4px; height: 4px; }
.dot-constellation-2 .ornament-dot:nth-child(6) { top: -20px; left: 65px; }
.dot-constellation-2 .ornament-dot:nth-child(7) { top: 5px; left: 78px; width: 4px; height: 4px; }

.dot-constellation-3 {
    top: 15%;
    right: 5%;
}
.dot-constellation-3 .ornament-dot:nth-child(1) { top: 0; left: 0; width: 6px; height: 6px; }
.dot-constellation-3 .ornament-dot:nth-child(2) { top: 12px; left: 22px; width: 4px; height: 4px; }
.dot-constellation-3 .ornament-dot:nth-child(3) { top: -8px; left: 38px; }
.dot-constellation-3 .ornament-dot:nth-child(4) { top: 20px; left: 10px; width: 4px; height: 4px; }

.dot-constellation-4 {
    bottom: 20%;
    right: 15%;
}
.dot-constellation-4 .ornament-dot:nth-child(1) { top: 0; left: 0; width: 4px; height: 4px; opacity: 0.5; }
.dot-constellation-4 .ornament-dot:nth-child(2) { top: 10px; left: 20px; width: 4px; height: 4px; opacity: 0.3; }

/* --- Chapter Two: The Study --- */
.chapter-two {
    min-height: 120vh;
    padding: 10vh 0;
    position: relative;
    clip-path: polygon(0 0, 100% 2%, 100% 98%, 0 100%);
}

.chapter-two .chapter-watermark {
    top: 5%;
    left: 5%;
    color: #3D2B1F;
    opacity: 0.04;
}

.chapter-two-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8vh 24px;
    position: relative;
    z-index: 10;
}

.study-text-block {
    grid-column: 2 / 8;
    padding: 40px 0;
}

.chapter-heading {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(2.4rem, 5.5vw, 4.8rem);
    font-weight: 700;
    color: #2C1810;
    letter-spacing: 0.02em;
    line-height: 1.12;
    font-variant: small-caps;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.chapter-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 120%;
    height: 1px;
    background-color: #8B6914;
}

.chapter-heading-light {
    color: #E8DCC8;
}

.chapter-heading-light::after {
    background-color: #8B6914;
}

.body-text {
    font-family: 'Lora', serif;
    font-size: clamp(1rem, 1.1vw, 1.15rem);
    font-weight: 400;
    color: #3D2B1F;
    line-height: 1.72;
    margin-bottom: 1.618rem;
}

.deco-frame {
    grid-column: 6 / 12;
    grid-row: 1;
    position: relative;
    margin-top: 60px;
    transform: rotate(1.5deg);
    z-index: 5;
}

.deco-frame-border {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 1.5px solid #8B6914;
    pointer-events: none;
    z-index: 1;
}

.deco-corner {
    position: absolute;
    width: 40px;
    height: 40px;
}

.deco-corner-tl { top: -5px; left: -5px; }
.deco-corner-tr { top: -5px; right: -5px; }
.deco-corner-bl { bottom: -5px; left: -5px; }
.deco-corner-br { bottom: -5px; right: -5px; }

.deco-frame-content {
    background-color: #D4C4A8;
    padding: 40px 36px;
    position: relative;
    z-index: 2;
    box-shadow: 2px 3px 8px rgba(26, 22, 18, 0.15);
}

.deco-frame-text {
    font-family: 'Lora', serif;
    font-size: clamp(1rem, 1.1vw, 1.15rem);
    font-weight: 400;
    color: #3D2B1F;
    line-height: 1.72;
    margin-bottom: 1.618rem;
}

.pull-quote {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-style: italic;
    font-size: clamp(1.1rem, 1.3vw, 1.4rem);
    color: #8B6914;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.pull-quote-attr {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-style: italic;
    font-size: clamp(0.85rem, 1vw, 1.05rem);
    color: #8B6914;
    opacity: 0.7;
}

/* Seigaiha Wave Dividers */
.seigaiha-divider {
    position: absolute;
    left: -5vw;
    width: 110vw;
    height: 20px;
    z-index: 5;
    opacity: 0.6;
}

.seigaiha-top { top: 0; }
.seigaiha-bottom { bottom: 0; }

/* Vertical Decorative Text (Tategaki) */
.tategaki-decoration {
    position: absolute;
    writing-mode: vertical-rl;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.6rem;
    letter-spacing: 0.8em;
    opacity: 0.25;
    z-index: 2;
    user-select: none;
    pointer-events: none;
}

.tategaki-decoration span {
    display: block;
}

.tategaki-left {
    left: 3%;
    top: 30%;
    color: #3D2B1F;
}

.tategaki-right {
    right: 3%;
    top: 25%;
    color: #D4C4A8;
}

/* --- Chapter Three: The Collection --- */
.chapter-three {
    background-color: #3D2B1F;
    min-height: 140vh;
    padding: 10vh 24px;
    position: relative;
    clip-path: polygon(0 1%, 100% 0, 100% 100%, 0 99%);
}

.chapter-three .chapter-watermark {
    top: 3%;
    right: 5%;
    color: #E8DCC8;
    opacity: 0.04;
}

.chapter-three .chapter-heading {
    position: relative;
    z-index: 10;
    margin-left: 8%;
    margin-bottom: 60px;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.collection-card {
    background-color: rgba(232, 220, 200, 0.08);
    padding: 36px 32px;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    border: 1px solid rgba(139, 105, 20, 0.2);
}

.collection-card:hover {
    animation: pulseAttention 0.4s ease-in-out;
    border-color: #8B6914;
    box-shadow: 0 0 12px rgba(139, 105, 20, 0.2);
}

.collection-card .card-frame {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    pointer-events: none;
}

.collection-card .deco-corner {
    width: 30px;
    height: 30px;
}

.card-1 {
    grid-column: 2 / 7;
    grid-row: 1;
    transform: rotate(-1deg);
}

.card-2 {
    grid-column: 6 / 12;
    grid-row: 1;
    transform: rotate(1.2deg);
    margin-top: 40px;
}

.card-3 {
    grid-column: 1 / 6;
    grid-row: 2;
    transform: rotate(0.8deg);
    margin-top: -20px;
}

.card-4 {
    grid-column: 5 / 10;
    grid-row: 2;
    transform: rotate(-0.5deg);
}

.card-5 {
    grid-column: 8 / 13;
    grid-row: 2;
    transform: rotate(2deg);
    margin-top: 30px;
}

.card-title {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(1.2rem, 1.5vw, 1.6rem);
    font-weight: 700;
    color: #E8DCC8;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
    font-variant: small-caps;
    position: relative;
    display: inline-block;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 120%;
    height: 1px;
    background-color: #8B6914;
    opacity: 0.5;
}

.card-body {
    font-family: 'Lora', serif;
    font-size: clamp(0.9rem, 1vw, 1rem);
    font-weight: 400;
    color: #E8DCC8;
    line-height: 1.72;
    opacity: 0.85;
}

/* --- Chapter Four: The Afterglow --- */
.chapter-four {
    background-color: #2C1810;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10vh 24px;
    position: relative;
}

.chapter-four .chapter-watermark {
    top: 10%;
    left: 10%;
    color: #E8DCC8;
    opacity: 0.04;
}

.afterglow-content {
    max-width: 680px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.afterglow-text {
    font-family: 'Lora', serif;
    font-size: clamp(1rem, 1.1vw, 1.15rem);
    font-weight: 400;
    color: #E8DCC8;
    line-height: 1.72;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.afterglow-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.afterglow-meditation {
    margin-bottom: 3rem;
}

.closing-phrase {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 700;
    color: #E8DCC8;
    letter-spacing: 0.02em;
    line-height: 1.12;
    font-variant: small-caps;
    margin-bottom: 16px;
}

.closing-letter {
    display: inline-block;
    opacity: 0;
}

.closing-letter.animate {
    animation: letterPulse 0.6s ease-out forwards;
}

.closing-translation {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-style: italic;
    font-size: clamp(0.85rem, 1vw, 1.05rem);
    color: #8B6914;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 1s ease 0.5s, transform 1s ease 0.5s;
}

.closing-translation.visible {
    opacity: 1;
    transform: translateY(0);
}

.afterglow-coda {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-style: italic;
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    color: #8B6914;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.afterglow-coda.visible {
    opacity: 0.8;
    transform: translateY(0);
}

/* --- Responsive: Narrow Viewports --- */
@media (max-width: 768px) {
    .chapter-nav {
        left: 10px;
        gap: 18px;
    }

    .chapter-nav-link {
        font-size: 1.1rem;
        width: 28px;
        height: 28px;
        line-height: 28px;
    }

    /* Chapter Two */
    .chapter-two {
        clip-path: none;
        padding: 6vh 0;
    }

    .chapter-two-grid {
        display: flex;
        flex-direction: column;
        padding: 6vh 20px;
        gap: 40px;
    }

    .study-text-block {
        padding: 20px 0;
    }

    .deco-frame {
        transform: rotate(0.5deg);
        margin-top: 0;
    }

    .deco-frame-border {
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
    }

    /* Chapter Three */
    .chapter-three {
        clip-path: none;
        padding: 6vh 20px;
    }

    .chapter-three .chapter-heading {
        margin-left: 0;
    }

    .collection-grid {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .collection-card {
        transform: rotate(0deg) !important;
        margin-top: 0 !important;
    }

    .card-1, .card-2, .card-3, .card-4, .card-5 {
        transform: rotate(0deg);
    }

    .card-1 .collection-card,
    .card-2 .collection-card {
        margin-top: 0;
    }

    /* Tategaki */
    .tategaki-decoration {
        display: none;
    }

    /* Chrysanthemum */
    .chrysanthemum-rosette {
        width: 80px;
        height: 80px;
        right: 5%;
        bottom: 10%;
    }

    .chrysanthemum-afterglow {
        width: 60px;
        height: 60px;
    }

    /* Cranes - reduce */
    .crane-6, .crane-7, .crane-8, .crane-9, .crane-10 {
        display: none;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 16px;
    }

    .chapter-nav {
        left: 6px;
        gap: 14px;
    }

    .chapter-nav-link {
        font-size: 0.9rem;
        width: 24px;
        height: 24px;
        line-height: 24px;
    }

    .deco-frame-content {
        padding: 24px 20px;
    }

    .collection-card {
        padding: 24px 20px;
    }

    .crane-3, .crane-4, .crane-5 {
        display: none;
    }
}
