.module-nav{grid-template-columns:repeat(8,minmax(0,1fr))}
.module-tab{padding:14px 9px}
.module-tab strong{font-size:12px}
.module-tab small{font-size:9px}
#module-poetry{--poem-accent:#f5c887}
.poem-heading{background:radial-gradient(circle at 80% 20%,rgba(237,169,113,.17),transparent 48%),linear-gradient(115deg,rgba(34,30,48,.9),rgba(22,29,55,.76))}
.poem-heading .advanced-kicker{color:#f7c98d}
.poem-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:13px 17px;border-top:1px solid var(--line);background:rgba(6,11,25,.38)}
.poem-tab{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;padding:12px 13px;border:1px solid rgba(176,189,222,.15);border-radius:10px;background:rgba(255,255,255,.025);color:#cdd8e8;text-align:left;cursor:pointer;transition:background .2s,border-color .2s,transform .2s}
.poem-tab:hover{transform:translateY(-2px);background:rgba(255,255,255,.07)}
.poem-tab.active{border-color:color-mix(in srgb,var(--poem-accent) 55%,transparent);background:color-mix(in srgb,var(--poem-accent) 12%,#171c32)}
.poem-tab span{color:#8192ab;font:9px 'DM Mono',monospace;letter-spacing:.09em}.poem-tab.active span{color:var(--poem-accent)}
.poem-tab strong{font-size:15px}.poem-tab small{color:#8796ad;font-size:10px}
.poem-body{display:grid;grid-template-columns:minmax(0,1fr) 350px;border-top:1px solid var(--line)}
.poem-visual{min-width:0;padding:23px 24px 15px;border-right:1px solid var(--line)}
.poem-stage{position:relative;height:525px;overflow:hidden;border:1px solid rgba(190,204,240,.21);border-radius:16px;background:#101829}
.poem-stage canvas{display:block;width:100%;height:100%}
.poem-stamp{position:absolute;left:16px;top:16px;display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid rgba(234,242,255,.15);border-radius:7px;background:rgba(6,12,25,.56);color:#d3e0ed;font:10px 'DM Mono',monospace;letter-spacing:.11em;pointer-events:none;backdrop-filter:blur(8px)}
.poem-stamp i{width:6px;height:6px;border-radius:50%;background:var(--poem-accent);box-shadow:0 0 12px var(--poem-accent)}
.poem-stage-equation{position:absolute;right:17px;top:17px;max-width:45%;padding:7px 9px;border-radius:6px;background:rgba(5,10,23,.45);color:var(--poem-accent);font:500 11px 'DM Mono','Noto Sans SC',monospace;text-align:right;pointer-events:none}
.poem-stage-footer{display:flex;justify-content:space-between;gap:16px;margin:11px 2px 0;color:#8b9bb4;font-size:10px;line-height:1.5}.poem-stage-footer span:last-child{color:#6f829b;white-space:nowrap}
.poem-story{min-width:0;padding:27px 23px 24px;background:linear-gradient(155deg,rgba(255,255,255,.025),rgba(255,255,255,.006))}
.poem-overline{margin:0 0 13px;color:var(--poem-accent);font:500 10px 'DM Mono',monospace;letter-spacing:.14em}
.poem-story h3{position:relative;min-height:42px;margin:0;padding-right:62px;color:#f3f8ff;font-size:31px;letter-spacing:-.04em;line-height:1.25}.poem-story h3 span{position:absolute;top:0;right:0;color:color-mix(in srgb,var(--poem-accent) 55%,transparent);font-family:'DM Mono',monospace;font-size:34px;font-weight:500}
#module-poetry[data-scene="asymptote"] .poem-story h3{font-size:24px;line-height:1.45}
.poem-quote{min-height:74px;margin:15px 0 18px;color:#c6d3e5;font-size:17px;line-height:1.65}
.poem-formula{display:flex;flex-direction:column;gap:9px;padding:15px 16px;border:1px solid color-mix(in srgb,var(--poem-accent) 24%,transparent);border-radius:11px;background:color-mix(in srgb,var(--poem-accent) 8%,#12182b)}
.poem-formula span{color:#899db3;font-size:10px}.poem-formula strong{color:#f5fafb;font:500 16px 'DM Mono','Noto Sans SC',monospace;line-height:1.5;overflow-wrap:anywhere}
.poem-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:15px 0 24px}.poem-values>div{min-width:0;padding:12px;border:1px solid rgba(165,183,222,.14);border-radius:10px;background:#111a2d}.poem-values span{display:block;color:#8295af;font-size:10px}.poem-values strong{display:block;margin-top:7px;color:var(--poem-accent);font:500 22px 'DM Mono','Noto Sans SC',monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#module-poetry .poem-slider{--slider-color:var(--poem-accent);margin-bottom:18px}
.poem-actions{display:flex;gap:8px}.poem-actions button{flex:1;padding:10px 8px;border:1px solid rgba(167,185,218,.21);border-radius:8px;background:rgba(255,255,255,.035);color:#d3dfec;font-size:11px;font-weight:700;cursor:pointer}.poem-actions button:hover{background:rgba(255,255,255,.09)}.poem-actions button:last-child{border-color:color-mix(in srgb,var(--poem-accent) 32%,transparent);color:var(--poem-accent)}
.poem-precision{margin-top:24px;padding:15px 16px;border-left:2px solid var(--poem-accent);border-radius:0 9px 9px 0;background:color-mix(in srgb,var(--poem-accent) 8%,#101a2b)}.poem-precision span{color:var(--poem-accent);font-size:10px}.poem-precision p{margin:6px 0 0;color:#9baac0;font-size:11px;line-height:1.7}
@media(max-width:1130px){.module-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.module-tab:last-child{grid-column:auto}.module-tab strong{font-size:14px}.module-tab small{font-size:10px}}
@media(max-width:950px){.poem-body{grid-template-columns:minmax(0,1fr) 310px}.poem-visual{padding:18px}.poem-story{padding:22px 18px}}
@media(max-width:900px){.poem-body{display:block}.poem-visual{border-right:0;border-bottom:1px solid var(--line)}.poem-stage{height:470px}.poem-story{padding:24px}.poem-quote{min-height:0}.poem-values{max-width:450px}}
@media(max-width:620px){.module-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.module-tab:last-child{grid-column:auto}.poem-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:9px}.poem-tab{padding:9px 10px}.poem-tab:last-child{grid-column:1/-1}.poem-tab strong{font-size:13px}.poem-tab small{font-size:9px}.poem-visual{padding:12px}.poem-stage{height:395px}.poem-stamp{left:10px;top:10px;font-size:8px}.poem-stage-equation{right:10px;top:11px;font-size:9px}.poem-stage-footer span:last-child{display:none}.poem-story{padding:23px 17px}.poem-story h3{font-size:27px}.poem-quote{font-size:15px}.poem-formula strong{font-size:14px}}
@media(max-width:390px){.poem-stage{height:365px}.poem-tab strong{font-size:12px}.poem-values strong{font-size:18px}}
@media(prefers-reduced-motion:reduce){.poem-tab{transition:none}}
