/**
 * 我们的诗 · 极奢黑曜金天幕与雅集诗篇设计系统 (Poems Celestial Luxury Design System)
 * 严格遵循 ai-design-skills & AGENTS.md 规范：
 * - 黑曜石与流金奢华调色盘 (#08060c, #0d0a14, #e9c46a, #f3e5ab, #d4a373)
 * - 物理弹簧缓动动画 cubic-bezier(0.32, 0.72, 0, 1)
 * - 真实双层玻璃拟态 backdrop-filter: blur(24px) saturate(180%) 与 1px 细金边
 * - 嵌套圆角公式 (nested radius: inner = outer - gap)
 * - 严禁孤字排版 (text-wrap: balance / pretty)
 */

:root {
    --poems-gold-light: #fcedc5;
    --poems-gold-core: #e9c46a;
    --poems-gold-deep: #d4a373;
    --poems-bg-obsidian: #08060c;
    --poems-glass-surface: rgba(18, 13, 26, 0.75);
    --poems-glass-border: rgba(243, 229, 171, 0.22);
    --poems-glass-glow: rgba(233, 196, 106, 0.16);
    --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
}

.poems-page {
    background: #030611;
    color: #ffffff;
    font-family: var(--font-body, 'Montserrat', sans-serif);
    overflow-x: hidden;
    min-height: 100vh;
    min-height: 100dvh;
}

.poems-page [hidden],
[data-poems-entry][hidden] {
    display: none !important;
}

/* 全景深空画布层 */
.poems-universe {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 110px;
    padding-bottom: 80px;
    overflow: hidden;
    background: transparent !important;
}

.poems-sky {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 65% 55% at 50% 30%, rgba(20, 26, 62, 0.45) 0%, transparent 70%),
        radial-gradient(ellipse 55% 65% at 78% 65%, rgba(52, 26, 78, 0.35) 0%, transparent 65%),
        #030611;
}

.poems-night-canvas {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* 顶部奢华报头 */
.poems-heading {
    position: relative;
    text-align: center;
    padding: 30px 24px 20px;
    z-index: 3;
    max-width: 860px;
    margin: 0 auto;
}

.poems-heading .section-tag-wrap {
    margin-bottom: 1rem;
}

.poems-heading .section-tag {
    display: inline-block;
    padding: 0.45rem 1.4rem;
    border: 1px solid rgba(243, 229, 171, 0.35);
    border-radius: 40px;
    background: rgba(243, 229, 171, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--poems-gold-light);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 0 12px rgba(243, 229, 171, 0.1);
}

.poems-heading h1.section-title {
    font-family: var(--font-heading, 'Cormorant Garamond', serif);
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    font-weight: 600;
    letter-spacing: 6px;
    margin: 12px 0 16px;
    text-wrap: balance;
    background: linear-gradient(135deg, #ffffff 0%, #fcedc5 40%, #e9c46a 75%, #d4a373 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 28px rgba(233, 196, 106, 0.38));
}

.poems-heading .section-subtitle {
    font-family: var(--font-heading, 'Cormorant Garamond', serif);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: rgba(255, 248, 235, 0.85);
    letter-spacing: 2px;
    line-height: 1.8;
    margin-bottom: 24px;
    text-wrap: balance;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

/* 视图切换器 (星图罗盘 vs 雅集诗卡) */
.poems-view-switcher {
    display: inline-flex;
    align-items: center;
    background: rgba(14, 10, 22, 0.65);
    border: 1px solid rgba(243, 229, 171, 0.25);
    border-radius: 40px;
    padding: 4px;
    gap: 4px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(243, 229, 171, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    margin-bottom: 18px;
}

.poems-view-btn {
    border: none;
    background: transparent;
    color: rgba(255, 245, 230, 0.7);
    font-family: var(--font-body, 'Montserrat', sans-serif);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    padding: 8px 20px;
    border-radius: 36px; /* 40px - 4px = 36px (Nested Radius Formula) */
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.4s var(--ease-spring);
}

.poems-view-btn .icon {
    font-size: 0.85rem;
    color: var(--poems-gold-core);
    transition: transform 0.4s var(--ease-spring);
}

.poems-view-btn:hover {
    color: #ffffff;
    background: rgba(243, 229, 171, 0.08);
}

.poems-view-btn.active {
    color: #0b0713;
    background: linear-gradient(135deg, #fff2d4, #e9c46a);
    font-weight: 600;
    box-shadow: 0 4px 18px rgba(233, 196, 106, 0.45);
}

.poems-view-btn.active .icon {
    color: #0b0713;
    transform: scale(1.15) rotate(15deg);
}

.poems-hint {
    font-size: 0.82rem;
    letter-spacing: 2px;
    color: rgba(243, 229, 171, 0.75);
    margin: 8px auto 0;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.95);
    font-variant-numeric: tabular-nums;
}

/* 诗作主舞台容器 */
.poems-constellation {
    position: relative;
    max-width: 1260px;
    margin: 0 auto;
    padding: 20px 24px 60px;
    z-index: 2;
}

/* 星座连线 SVG 画布 */
.poems-constellation-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

.constellation-line {
    stroke: rgba(243, 229, 171, 0.24);
    stroke-width: 1.2px;
    stroke-dasharray: 4 6;
    animation: constellation-flow 35s linear infinite;
    filter: drop-shadow(0 0 6px rgba(233, 196, 106, 0.3));
}

@keyframes constellation-flow {
    to { stroke-dashoffset: -100; }
}

/* 视图 1：星图罗盘模式 (Interactive Constellation Map) */
.poems-star-map {
    position: relative;
    width: 100%;
    min-height: 620px;
    height: var(--sky-height, 620px);
}

/* 星图单个诗星按钮 (Poem Star Interactive Locus) */
.poem-star {
    position: absolute;
    left: var(--star-x, var(--star-mobile-x, 50%));
    top: var(--star-y, var(--star-mobile-y, 100px));
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    z-index: 2;
    transition: transform 0.55s var(--ease-spring), filter 0.55s var(--ease-spring);
    animation: poem-star-float 7s ease-in-out var(--float-delay, 0s) infinite;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

@keyframes poem-star-float {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, calc(-50% - 10px)); }
}

.poem-star:hover,
.poem-star[aria-pressed="true"] {
    animation-play-state: paused;
    transform: translate(-50%, -50%) scale(1.06);
    z-index: 10;
}

/* 璀璨星芒晶核 (Jeweled Core Glyph) */
.poem-star-glyph-wrap {
    position: relative;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 10px;
}

.poem-star-core-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px dashed rgba(243, 229, 171, 0.35);
    animation: poem-ring-spin 18s linear infinite;
}

@keyframes poem-ring-spin {
    to { transform: rotate(360deg); }
}

.poem-star-glyph {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff 0%, #fcedc5 35%, #e9c46a 70%, rgba(212, 163, 115, 0.4) 100%);
    box-shadow: 0 0 20px rgba(243, 229, 171, 0.7), 0 0 45px rgba(233, 196, 106, 0.4), 0 0 70px rgba(168, 85, 247, 0.25);
    display: grid;
    place-items: center;
    color: #1a1005;
    font-size: 1.1rem;
    font-weight: 700;
    transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-spring);
}

.poem-star:hover .poem-star-glyph {
    transform: scale(1.2) rotate(45deg);
    box-shadow: 0 0 28px #ffffff, 0 0 60px #e9c46a, 0 0 90px rgba(243, 229, 171, 0.6);
}

.poem-star-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 9px;
    background: rgba(14, 9, 22, 0.95);
    border: 1px solid rgba(243, 229, 171, 0.5);
    border-radius: 14px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--poems-gold-light);
    letter-spacing: 1.5px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}

/* 诗星悬浮黑曜金微卡 (Floating Glassmorphic Poetry Card) */
.poem-star-card {
    position: relative;
    width: 250px;
    padding: 16px 18px 14px;
    background: var(--poems-glass-surface);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--poems-glass-border);
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.65), inset 0 0 16px rgba(243, 229, 171, 0.06);
    transition: all 0.5s var(--ease-spring);
    overflow: hidden;
}

/* 四角金线微折角 */
.poem-star-card .card-corner {
    position: absolute;
    width: 9px;
    height: 9px;
    border-color: rgba(243, 229, 171, 0.45);
    border-style: solid;
    pointer-events: none;
    transition: border-color 0.4s var(--ease-spring);
}
.poem-star-card .top-left { top: 6px; left: 6px; border-width: 1px 0 0 1px; }
.poem-star-card .top-right { top: 6px; right: 6px; border-width: 1px 1px 0 0; }
.poem-star-card .bottom-left { bottom: 6px; left: 6px; border-width: 0 0 1px 1px; }
.poem-star-card .bottom-right { bottom: 6px; right: 6px; border-width: 0 1px 1px 0; }

.poem-star:hover .poem-star-card {
    border-color: rgba(243, 229, 171, 0.5);
    background: rgba(26, 18, 38, 0.85);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.8), 0 0 35px var(--poems-glass-glow);
}

.poem-star:hover .card-corner {
    border-color: var(--poems-gold-core);
}

.poem-star-title {
    font-family: var(--font-heading, 'Cormorant Garamond', serif);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    margin: 0 0 6px;
    color: #ffffff;
    text-shadow: 0 0 12px rgba(233, 196, 106, 0.3);
    transition: color 0.4s;
    text-wrap: balance;
    word-break: normal;
}

/* 诗作标题中人物姓名不折行保障 (Keep personal names on same line) */
.poem-name-keep {
    display: inline;
    white-space: nowrap;
    text-wrap: nowrap;
}

.poem-star-title .poem-name-keep {
    display: inline-block;
    white-space: nowrap;
    text-wrap: nowrap;
    vertical-align: baseline;
}

.poem-star:hover .poem-star-title {
    color: var(--poems-gold-light);
}

.poem-star-excerpt {
    font-family: var(--font-heading, 'Cormorant Garamond', serif);
    font-size: 0.86rem;
    line-height: 1.7;
    color: rgba(255, 245, 230, 0.78);
    margin: 0 0 10px;
    white-space: pre-line;
    text-wrap: pretty;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.poem-star-poet {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    letter-spacing: 1px;
    color: var(--poems-gold-deep);
    padding: 3px 10px;
    background: rgba(212, 163, 115, 0.1);
    border-radius: 20px;
}

.poem-star-action {
    display: block;
    margin-top: 8px;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    color: var(--poems-gold-core);
    opacity: 0.85;
    transition: transform 0.3s;
}

.poem-star:hover .poem-star-action {
    transform: translateY(1px);
    opacity: 1;
}

/* 视图 2：雅集诗卡模式 (Bento Grid View) */
.poems-grid-map {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    width: 100%;
    margin-top: 20px;
}

.poem-bento-card {
    position: relative;
    padding: 32px 28px 26px;
    background: var(--poems-glass-surface);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--poems-glass-border);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(243, 229, 171, 0.05);
    transition: all 0.5s var(--ease-spring);
    cursor: pointer;
    overflow: hidden;
    text-align: left;
}

.poem-bento-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(233, 196, 106, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transition: opacity 0.5s;
}

.poem-bento-card:hover {
    transform: translateY(-8px);
    border-color: rgba(243, 229, 171, 0.55);
    background: rgba(24, 16, 36, 0.88);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px var(--poems-glass-glow);
}

.bento-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.bento-star-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    letter-spacing: 2px;
    color: var(--poems-gold-light);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-transform: uppercase;
}

.bento-star-glyph {
    color: var(--poems-gold-core);
    font-size: 0.95rem;
}

.bento-poet-tag {
    font-size: 0.74rem;
    color: var(--poems-gold-deep);
    letter-spacing: 1px;
}

.bento-poem-title {
    font-family: var(--font-heading, 'Cormorant Garamond', serif);
    font-size: 1.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0 0 14px;
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff 0%, #fcedc5 70%, #e9c46a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bento-poem-quote {
    position: relative;
    font-family: var(--font-heading, 'Cormorant Garamond', serif);
    font-size: 1.05rem;
    line-height: 2.0;
    color: rgba(255, 245, 230, 0.85);
    margin: 0 0 24px;
    white-space: pre-line;
    padding-left: 14px;
    border-left: 2px solid rgba(243, 229, 171, 0.35);
}

.bento-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid rgba(243, 229, 171, 0.12);
}

.bento-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: var(--poems-gold-light);
    transition: transform 0.3s var(--ease-spring), color 0.3s;
}

.poem-bento-card:hover .bento-read-btn {
    color: #ffffff;
    transform: translateX(4px);
}

/* 诗作全景典雅阅读弹窗 (Celestial Letterpress Reading Card) */
.poems-reading {
    position: fixed;
    inset: 0;
    width: min(720px, calc(100% - 32px));
    max-height: calc(100svh - 48px);
    margin: auto;
    padding: 0;
    background: transparent;
    border: none;
    overflow: visible;
    z-index: 100;
}

.poems-reading:not([open]) {
    display: none !important;
}

.poems-reading[open] {
    display: block !important;
}

.poems-reading::backdrop {
    background: rgba(4, 3, 8, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.reading-card-inner {
    position: relative;
    padding: 32px clamp(20px, 4vw, 44px) 24px;
    background: rgba(14, 10, 22, 0.94);
    border: 1px solid rgba(243, 229, 171, 0.35);
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85), 0 0 50px rgba(233, 196, 106, 0.15), inset 0 0 30px rgba(243, 229, 171, 0.05);
    text-align: center;
    overflow-y: auto;
    max-height: calc(100svh - 40px);
    scrollbar-width: thin;
    scrollbar-color: var(--poems-gold-deep) rgba(20, 14, 30, 0.5);
}

/* 4 角古典烫金花角 */
.reading-card-inner .card-corner {
    position: absolute;
    width: 12px;
    height: 12px;
    border-color: rgba(243, 229, 171, 0.7);
    border-style: solid;
    pointer-events: none;
}
.reading-card-inner .top-left { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.reading-card-inner .top-right { top: 10px; right: 10px; border-width: 2px 2px 0 0; }
.reading-card-inner .bottom-left { bottom: 10px; left: 10px; border-width: 0 0 2px 2px; }
.reading-card-inner .bottom-right { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; }

.poem-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(243, 229, 171, 0.2);
    border-radius: 50%;
    background: rgba(243, 229, 171, 0.06);
    color: var(--poems-gold-light);
    font-size: 20px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.35s var(--ease-spring);
    z-index: 5;
}

.poem-close:hover {
    background: rgba(243, 229, 171, 0.2);
    transform: rotate(90deg) scale(1.08);
    color: #ffffff;
}

.poems-eyebrow {
    color: var(--poems-gold-core);
    font-size: 0.68rem;
    letter-spacing: 2px;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.reading-card-inner h2 {
    font-family: var(--font-heading, 'Cormorant Garamond', serif);
    font-size: clamp(1.4rem, 2.6vw, 1.85rem);
    font-weight: 600;
    letter-spacing: 2px;
    margin: 4px 0 6px;
    background: linear-gradient(135deg, #ffffff 0%, #fcedc5 50%, #e9c46a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-wrap: balance;
}

.poem-author {
    color: var(--poems-gold-deep);
    font-size: 0.76rem;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.poem-content {
    font-family: var(--font-heading, 'Cormorant Garamond', serif);
    font-size: clamp(0.95rem, 1.6vw, 1.05rem);
    line-height: 1.85;
    letter-spacing: 1.2px;
    color: #fff8e8;
    white-space: pre-line;
    margin: 0 auto;
    max-width: 480px;
    text-wrap: pretty;
}

.poet-about {
    margin-top: 16px;
    padding: 10px 14px;
    background: rgba(243, 229, 171, 0.05);
    border: 1px solid rgba(243, 229, 171, 0.15);
    border-radius: 10px;
    text-align: left;
}

.poet-about h3 {
    font-size: 0.72rem;
    letter-spacing: 1px;
    color: var(--poems-gold-core);
    margin: 0 0 4px;
    font-weight: 600;
}

.poet-about p {
    font-size: 0.76rem;
    line-height: 1.6;
    color: rgba(255, 245, 230, 0.75);
    margin: 0;
}

.poem-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(243, 229, 171, 0.15);
}

.poem-pagination button {
    background: rgba(243, 229, 171, 0.08);
    border: 1px solid rgba(243, 229, 171, 0.3);
    border-radius: 30px;
    color: var(--poems-gold-light);
    font-family: var(--font-body, 'Montserrat', sans-serif);
    font-size: 0.82rem;
    letter-spacing: 1px;
    padding: 9px 20px;
    cursor: pointer;
    transition: all 0.35s var(--ease-spring);
}

.poem-pagination button:hover:not(:disabled) {
    background: linear-gradient(135deg, #fff2d4, #e9c46a);
    color: #0b0713;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(233, 196, 106, 0.4);
}

.poem-pagination button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.1);
}

.poem-pagination span {
    color: var(--poems-gold-deep);
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-variant-numeric: tabular-nums;
}

/* 底部状态 */
.poems-empty {
    text-align: center;
    color: rgba(255, 245, 230, 0.65);
    font-size: 0.95rem;
    padding: 40px 20px 80px;
}

.poems-footer {
    position: relative;
    text-align: center;
    padding: 30px 20px 50px;
    color: rgba(255, 245, 230, 0.6);
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    background: #06040a;
    border-top: 1px solid rgba(243, 229, 171, 0.1);
    z-index: 2;
}

.poems-footer small {
    display: block;
    margin-top: 10px;
    font-size: 0.68rem;
    letter-spacing: 3px;
    color: var(--poems-gold-deep);
}

/* 响应式适配 */
@media (max-width: 768px) {
    .poems-universe {
        padding-top: 85px;
        padding-bottom: 60px;
    }

    .poems-heading {
        padding: 16px 16px 14px;
    }

    .poems-heading h1.section-title {
        font-size: 2.2rem;
        letter-spacing: 3px;
        margin: 8px 0 12px;
    }

    .poems-heading .section-subtitle {
        font-size: 0.92rem;
        line-height: 1.6;
        margin-bottom: 18px;
    }

    .poems-hint {
        font-size: 0.72rem;
        margin-top: 12px;
    }

    .poems-view-switcher {
        padding: 3px;
    }

    .poems-view-btn {
        padding: 6px 14px;
        font-size: 0.75rem;
    }

    .poems-constellation {
        padding: 10px 8px 40px;
    }

    .poems-star-map {
        min-height: 1100px;
        height: var(--sky-height, var(--sky-mobile-height, 1100px));
    }

    .poem-star {
        left: var(--star-x, var(--star-mobile-x, 50%));
        top: var(--star-y, var(--star-mobile-y, 100px));
    }

    .poem-star-glyph-wrap {
        width: 44px;
        height: 44px;
    }

    .poem-star-core-ring {
        width: 38px;
        height: 38px;
    }

    .poem-star-glyph {
        width: 30px;
        height: 30px;
        font-size: 0.95rem;
    }

    .poem-star-badge {
        font-size: 0.58rem;
        padding: 1px 6px;
        top: -10px;
    }

    .poem-star-card {
        width: clamp(146px, 43vw, 178px);
        padding: 9px 10px;
        border-radius: 12px;
    }

    .poem-star-title {
        font-size: 0.98rem;
        letter-spacing: 0.5px;
        line-height: 1.35;
        margin-bottom: 3px;
        text-wrap: balance;
        word-break: normal;
    }

    .poem-star-excerpt {
        font-size: 0.72rem;
        line-height: 1.45;
        margin-bottom: 5px;
    }

    .poem-star-poet {
        font-size: 0.62rem;
        padding: 2px 6px;
        margin-bottom: 4px;
    }

    .poem-star-action {
        font-size: 0.62rem;
        letter-spacing: 0.8px;
    }

    .poems-grid-map {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 4px;
    }

    .poem-bento-card {
        padding: 20px 16px 16px;
    }

    .bento-card-title {
        font-size: 1.35rem;
        letter-spacing: 1px;
    }

    .bento-card-excerpt {
        font-size: 0.88rem;
        line-height: 1.8;
    }

    .reading-card-inner {
        padding: 24px 16px 18px;
        border-radius: 16px;
    }

    .poem-close {
        top: 8px;
        right: 10px;
        width: 30px;
        height: 30px;
        font-size: 1.05rem;
    }

    .poems-eyebrow {
        font-size: 0.65rem;
        margin-bottom: 4px;
        letter-spacing: 1.5px;
    }

    #poem-title {
        font-size: 1.35rem;
        letter-spacing: 1.5px;
        margin: 4px 0 6px;
    }

    .poem-author {
        font-size: 0.72rem;
        margin-bottom: 12px;
    }

    .poem-content {
        font-size: 0.92rem;
        line-height: 1.8;
        letter-spacing: 1px;
    }

    .poet-about {
        margin-top: 14px;
        padding: 10px 12px;
        border-radius: 10px;
    }

    .poet-about h3 {
        font-size: 0.68rem;
        margin-bottom: 3px;
    }

    .poet-about p {
        font-size: 0.72rem;
        line-height: 1.55;
    }

    .poem-pagination {
        margin-top: 14px;
        padding-top: 10px;
    }

    .poem-pagination button {
        padding: 6px 14px;
        font-size: 0.76rem;
    }

    .poem-pagination span {
        font-size: 0.76rem;
    }
}
