@import url('https://fonts.loli.net/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400;1,500&family=Noto+Serif+SC:wght@400;500;600&display=swap');

.fcj,.fcj *{box-sizing:border-box}
.fcj.fcj-hint{
  --fcj-ink:#e7e0d3;--fcj-gold:#c8b38c;--fcj-muted:#b9b1a5;--fcj-line:rgba(200,179,140,.35);
  --fcj-swag:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 42' fill='none' stroke='%23c8b38c' stroke-width='.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M60 35V16M60 24C47 17 51 8 56 15L60 24M60 24C73 17 69 8 64 15L60 24M60 16C53 9 60 3 60 3C60 3 67 9 60 16ZM53 29H67M56 32H64M50 31C40 32 35 21 26 22C17 23 22 31 26 28C29 25 23 23 22 26M70 31C80 32 85 21 94 22C103 23 98 31 94 28C91 25 97 23 98 26M35 27C30 25 29 13 22 13C24 21 29 25 35 27M85 27C90 25 91 13 98 13C96 21 91 25 85 27M39 32C29 38 14 34 6 26M81 32C91 38 106 34 114 26'/%3E%3Ccircle cx='3' cy='23' r='1.1'/%3E%3Ccircle cx='117' cy='23' r='1.1'/%3E%3Cpath d='M12 25C8 20 14 16 17 20M108 25C112 20 106 16 103 20'/%3E%3C/svg%3E");
  --fcj-crest:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 64' fill='none' stroke='%23c8b38c' stroke-width='.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M30 5C25 2 23 7 27 9L30 12L33 9C37 7 35 2 30 5ZM30 12C44 12 49 22 48 32C47 44 42 50 30 56C18 50 13 44 12 32C11 22 16 12 30 12Z'/%3E%3Cpath d='M24 12L30 16L36 12M20 48L16 53L22 52M40 48L44 53L38 52M14 20C8 20 8 28 12 29M46 20C52 20 52 28 48 29M14 39C8 36 7 43 15 45M46 39C52 36 53 43 45 45'/%3E%3Ccircle cx='30' cy='59' r='1.5'/%3E%3Ccircle cx='8' cy='32' r='1'/%3E%3Ccircle cx='52' cy='32' r='1'/%3E%3C/svg%3E");
  --fcj-chain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 190 28' fill='none' stroke='%23c8b38c' stroke-width='.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8C27 26 57 26 78 11M112 11C133 26 163 26 185 8M80 14C84 5 90 9 95 4C100 9 106 5 110 14C106 23 100 18 95 24C90 18 84 23 80 14Z'/%3E%3Cpath d='M89 14C85 11 92 7 95 12C98 7 105 11 101 14C105 17 98 21 95 16C92 21 85 17 89 14Z'/%3E%3Ccircle cx='16' cy='15' r='1.4'/%3E%3Ccircle cx='29' cy='20' r='1.4'/%3E%3Ccircle cx='44' cy='22' r='1.4'/%3E%3Ccircle cx='60' cy='20' r='1.4'/%3E%3Ccircle cx='72' cy='15' r='1.4'/%3E%3Ccircle cx='118' cy='15' r='1.4'/%3E%3Ccircle cx='130' cy='20' r='1.4'/%3E%3Ccircle cx='146' cy='22' r='1.4'/%3E%3Ccircle cx='161' cy='20' r='1.4'/%3E%3Ccircle cx='174' cy='15' r='1.4'/%3E%3C/svg%3E");
  --fcj-portrait:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 36' fill='none' stroke='%23c8b38c' stroke-width='.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 32C7 26 11 25 14 23V20C10 18 9 15 10 10C10 4 21 3 23 9C26 15 22 19 19 20V23C24 25 27 27 27 32M10 11C14 12 16 8 16 8C17 12 21 13 24 12M14 23L17 27L19 23M10 27L17 32L24 27M5 33H29'/%3E%3C/svg%3E");
  --fcj-quill:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 42' fill='none' stroke='%23c8b38c' stroke-width='.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 37C9 28 16 16 26 4M10 28C6 17 14 5 26 4C27 16 22 26 10 28ZM10 28L17 24M13 23L21 19M17 17L24 12M13 23L11 16M17 17L16 11M2 40C9 35 19 41 26 36'/%3E%3C/svg%3E");
  position:relative;isolation:isolate;container-type:inline-size;align-self:center;width:100%;max-width:620px;margin:10px auto 16px;padding:16px 20px 14px;color:var(--fcj-ink);background:rgba(31,30,29,.82);border:1px solid rgba(200,179,140,.2);border-radius:14px;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 10px 28px rgba(0,0,0,.32);font-family:"Noto Serif SC","Songti SC","STSong","SimSun",serif;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;
}
.fcj p,.fcj h4,.fcj blockquote{margin:0}
.fcj .fcj-cap{display:flex;align-items:center;justify-content:center;gap:12px;padding:2px 10px 12px;text-align:center}
.fcj .fcj-swag{width:75px;height:31px;flex-shrink:0;background:var(--fcj-swag) center/contain no-repeat;opacity:.9}
.fcj .fcj-cap>div{min-width:0}
.fcj .fcj-cap em{display:block;font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-size:25px;font-weight:400;line-height:1.2;letter-spacing:.035em;color:var(--fcj-gold)}
.fcj .fcj-cap p{padding-top:5px;font-size:10px;letter-spacing:.35em;color:var(--fcj-ink)}
.fcj .fcj-leaf{position:relative;margin:0;padding:0;background:transparent;border:0}
.fcj .fcj-leaf::after{content:'';position:absolute;bottom:0;left:7px;right:7px;height:1px;pointer-events:none;background:linear-gradient(90deg,transparent,var(--fcj-line) 12%,var(--fcj-line) 88%,transparent)}
.fcj .fcj-leaf>summary{display:flex;align-items:center;gap:9px;min-height:60px;position:relative;margin:0;padding:6px 4px;color:var(--fcj-ink);background:transparent;border:0;font-family:inherit;list-style:none;cursor:pointer;touch-action:manipulation}
.fcj .fcj-leaf>summary::-webkit-details-marker{display:none}.fcj .fcj-leaf>summary::marker{content:''}
.fcj .fcj-symbol{position:relative;display:block;flex-shrink:0;width:30px;height:36px;color:var(--fcj-gold);transition:transform .3s}
.fcj .fcj-symbol::before,.fcj .fcj-symbol::after{content:'';position:absolute;inset:0;background:var(--fcj-crest) center/contain no-repeat;pointer-events:none}
.fcj .fcj-symbol::after{inset:24% 23% 20%;background:var(--fcj-glyph) center/contain no-repeat}
.fcj .fcj-symbol-state{--fcj-glyph:var(--fcj-portrait)}.fcj .fcj-symbol-extra{--fcj-glyph:var(--fcj-quill)}
.fcj .fcj-titles{display:block;min-width:0}.fcj .fcj-name{display:block;font-size:14px;font-weight:500;line-height:1.5;letter-spacing:.15em}
.fcj .fcj-sub{display:block;margin-top:1px;color:var(--fcj-gold);font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-size:15px;font-weight:400;line-height:1.2;letter-spacing:.035em}
.fcj .fcj-tail{flex:1;min-width:9px;height:1px;background:linear-gradient(90deg,var(--fcj-line),transparent);position:relative;margin:0 3px 0 7px}
.fcj .fcj-tail::before{content:'';position:absolute;left:-3px;top:-2px;width:4px;height:4px;border:1px solid var(--fcj-gold);transform:rotate(45deg)}
.fcj .fcj-fold{display:flex;align-items:center;gap:6px;flex-shrink:0;color:var(--fcj-gold);font-size:10px;letter-spacing:.13em}
.fcj .fcj-fold::before{content:'展开'}.fcj .fcj-fold::after{content:'';width:6px;height:6px;border-right:1px solid var(--fcj-gold);border-bottom:1px solid var(--fcj-gold);transform:rotate(45deg);transition:transform .3s}
.fcj .fcj-leaf[open] .fcj-fold::before{content:'合页'}.fcj .fcj-leaf[open] .fcj-fold::after{transform:rotate(225deg)}
.fcj .fcj-leaf>summary:focus-visible{outline:1px solid var(--fcj-gold);outline-offset:2px}
.fcj .fcj-body{max-height:360px;overflow-y:auto;padding:8px 14px 18px 17px;margin:0 4px 0 15px;border-left:1px solid var(--fcj-line);scrollbar-width:thin!important;scrollbar-color:var(--fcj-line) transparent!important}
.fcj .fcj-body p{font-family:inherit;font-size:13px;font-weight:400;line-height:1.85;letter-spacing:.04em;color:var(--fcj-ink);overflow-wrap:anywhere}
.fcj .fcj-body strong{color:var(--fcj-gold);font-weight:600}.fcj .fcj-body em{color:var(--fcj-muted);font-style:italic}
.fcj .fcj-quote{position:relative;padding:2px 0 0 26px}
.fcj .fcj-quote::before{content:'“';position:absolute;left:-1px;top:-10px;color:var(--fcj-gold);font-family:'Cormorant Garamond',Georgia,serif;font-size:46px;line-height:1;opacity:.6}
.fcj .fcj-bottom{height:30px;margin:10px auto 0;max-width:205px;background:var(--fcj-chain) center/contain no-repeat;pointer-events:none}

@media(hover:hover){.fcj .fcj-leaf>summary:hover .fcj-symbol{transform:translateY(-2px)}}
@media(max-width:480px){.fcj.fcj-hint{padding:12px 12px 10px}.fcj .fcj-cap{gap:8px;padding-bottom:8px}.fcj .fcj-swag{width:48px;height:29px}.fcj .fcj-cap em{font-size:21px}.fcj .fcj-leaf>summary{gap:8px;min-height:54px}.fcj .fcj-body{padding-right:8px;padding-left:12px;margin-left:12px}.fcj .fcj-name{font-size:13px}}

/* 故事基础卡片 · 浅金色书卷风 */
.story-intro-card{position:relative;box-sizing:border-box;margin:8px 0 24px;padding:22px 26px 24px;overflow:hidden;color:#ddd4c4;font-family:"Noto Serif SC","Songti SC","STSong","SimSun",serif;background:radial-gradient(ellipse at 50% 0%,rgba(197,164,104,.12),transparent 66%),linear-gradient(145deg,rgba(84,69,47,.26),rgba(32,27,20,.62) 55%,rgba(96,77,49,.16));border:1px solid rgba(199,169,112,.2);border-radius:4px;box-shadow:inset 0 1px 0 rgba(236,211,164,.06),0 12px 32px rgba(9,7,4,.22);backdrop-filter:blur(10px) saturate(.92);-webkit-backdrop-filter:blur(10px) saturate(.92)}
.story-intro-card::before,.story-intro-card::after{content:"";position:absolute;width:18px;height:18px;pointer-events:none;opacity:.65}
.story-intro-card::before{top:6px;left:6px;border-top:1px solid rgba(222,193,139,.48);border-left:1px solid rgba(222,193,139,.48)}
.story-intro-card::after{right:6px;bottom:6px;border-right:1px solid rgba(222,193,139,.48);border-bottom:1px solid rgba(222,193,139,.48)}
.story-intro-kicker{text-align:center;margin-bottom:2px;color:rgba(214,195,159,.56);font-family:"Cormorant Garamond",Georgia,serif;font-size:11px;font-style:italic;letter-spacing:.24em}
.story-intro-crest{position:relative;display:grid;grid-template-columns:minmax(0,100%);place-items:center;min-height:52px;margin:0 auto 10px}
.story-intro-script{grid-area:1/1;z-index:0;color:rgba(194,164,108,.24);font-family:"Cormorant Garamond",Georgia,serif;font-size:clamp(34px,5vw,48px);font-style:italic;font-weight:400;line-height:.9;letter-spacing:.04em;transform:translateY(4px) rotate(-2deg);user-select:none;pointer-events:none;white-space:nowrap}
.story-intro-title{grid-area:1/1;z-index:1;margin:0;color:#efe2c4;font-size:clamp(16px,2.2vw,20px);font-weight:500;line-height:1.4;letter-spacing:.26em;text-indent:.26em;text-align:center;text-shadow:0 1px 3px rgba(10,7,4,.6),0 0 14px rgba(201,169,110,.16)}
.story-intro-title::before,.story-intro-title::after{content:"✦";display:inline-block;margin:0 .65em;color:rgba(217,198,158,.5);font-size:.6em;vertical-align:.15em}
.story-intro-divider{display:flex;align-items:center;justify-content:center;gap:12px;margin:0 auto 14px;color:rgba(217,198,158,.68);font-size:12px;letter-spacing:.12em}
.story-intro-divider::before,.story-intro-divider::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,rgba(221,193,139,.38))}
.story-intro-divider::after{background:linear-gradient(90deg,rgba(221,193,139,.38),transparent)}
.story-intro-body{color:#ece6db;font-size:14px;line-height:1.95;letter-spacing:.03em;text-shadow:0 1px 2px rgba(13,10,7,.35);white-space:pre-wrap}

/* 强制统一故事背景与女主提示的字体和字号 */
.story-intro-card,.fcj.fcj-hint{font-family:"Noto Serif SC","Songti SC","STSong","SimSun",serif!important}
.story-intro-body,.fcj .fcj-body,.fcj .fcj-body p,.fcj .fcj-body blockquote{font-family:inherit!important;font-size:14px!important;font-weight:400;line-height:1.95;letter-spacing:.03em;color:#ece6db;text-shadow:0 1px 2px rgba(13,10,7,.35)}
.fcj .fcj-name{font-size:15px!important}