/* Scoped addition: preserves existing raid sheets and the Abyss shell. */
.kg-book{min-width:0}.kg-header{display:flex;align-items:center;gap:20px;margin-bottom:20px}.kg-header>div{flex:1;min-width:0}.kg-header h3{margin:4px 0 6px;font-size:clamp(30px,4vw,52px);line-height:1.05}.kg-header p{margin:6px 0;color:#d1d9df}.kg-portrait{width:112px;height:112px;flex:none;overflow:hidden;border:1px solid #78614f;background:#0e1019;border-radius:5px}.kg-portrait img{width:100%;height:100%;object-fit:cover;object-position:center}.kg-portrait-credit{font-size:11px;color:#b4c2ce}.kg-phase{font-size:11px;line-height:1.5;letter-spacing:.08em;text-transform:uppercase;color:#c1a781}.kg-responsibilities{margin:18px 0 22px;padding:18px 20px;border-top:2px solid #b59a66;background:#131924}.kg-book h4{font-size:18px;line-height:1.3;margin:0 0 14px;color:#f2e7d3}.kg-roles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}.kg-role strong{font-size:13px;color:#e6c58c}.kg-role p{font-size:13px;line-height:1.55;margin:4px 0 0;color:#e1e5e8}.kg-view{display:flex;gap:6px;flex-wrap:wrap;margin:16px 0 12px}.kg-view button{border:1px solid #4b5362;background:#141a24;color:#d6e0e7;padding:9px 14px;font:600 12px inherit;min-height:40px;cursor:pointer;border-radius:3px}.kg-view button[aria-pressed=true]{background:#d4bc8d;border-color:#d4bc8d;color:#111824}.kg-view button:focus-visible,.kg-book a:focus-visible{outline:2px solid #aee5ff;outline-offset:4px}.kg-flow{border-left:2px solid #6b818f;padding:6px 12px;margin:0 0 24px;font-size:13px;color:#cdd7df;line-height:1.6}.kg-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0 0 24px}.kg-card{min-width:0;padding:18px;background:#141b25;border:1px solid #36414e;border-radius:5px;overflow:hidden}.kg-card h5,.kg-quick h5{font-size:20px;line-height:1.2;margin:7px 0 14px;color:#f3e6ce}.kg-card p{font-size:13px;line-height:1.55;margin:8px 0;color:#d2dce3}.kg-card .kg-action{font-size:15px;font-weight:700;color:#f1f5f7}.kg-change{display:block;color:#f7d48c;font-size:11px;font-weight:700;line-height:1.4;margin:5px 0}.kg-media{margin:15px -4px 8px}.kg-video-shell{position:relative;aspect-ratio:16/9;background:#080d13;display:grid;place-items:center}.kg-video-shell video{width:100%;height:100%;display:block;object-fit:contain}.kg-video-state{position:absolute;pointer-events:none;max-width:88%;padding:8px;color:#d9e0e6;background:#131a24e8;font-size:12px;line-height:1.5;text-align:center}.kg-video-state[hidden]{display:none}.kg-media figcaption{font-size:11px;line-height:1.6;color:#b9c6d1;margin-top:7px}.kg-book a{color:#a4d8f4;text-underline-offset:3px}.kg-spell{font-size:11px}.kg-no-footage{border-left:2px solid #7c6b4f;padding:7px 10px;background:#0e141c}.kg-inherited{margin:24px 0;border:1px solid #414d59;padding:0 16px}.kg-inherited>summary{padding:16px 0;color:#d7e1e8;font-size:15px;font-weight:700;cursor:pointer}.kg-inherited[open]>.kg-cards{margin-top:6px}.kg-sources{margin-top:28px}.kg-sources p{font-size:12px;line-height:1.65;color:#bccbd7}.kg-quick-list{display:block;border-top:1px solid #3b4654}.kg-quick{display:grid;grid-template-columns:170px minmax(0,1fr);gap:12px 20px;padding:15px 3px;border-bottom:1px solid #3b4654}.kg-quick h5{font-size:15px;margin:4px 0}.kg-quick p{font-size:13px;line-height:1.6;margin:0;color:#d8e1e7}.kg-quick p strong{color:#f1e8d9}.kg-quick>.kg-change{grid-column:2;margin-top:-8px}.kg-header .rs-drawer-toggle{flex:none}
.kg-video-shell iframe,.kg-youtube-mount{display:block;width:100%;height:100%;border:0}.kg-walkthrough{margin:0;padding:10px;border:1px solid #36414e;background:#0e151f}.kg-walkthrough .kg-video-shell{min-height:200px}.kg-media-scope{font-size:12px;line-height:1.6;color:#b9c6d1;margin:0 0 18px}
.kg-clip-play{margin:10px 0 0;border:1px solid #617487;padding:8px 13px;min-height:40px;background:#1c2a38;color:#e1edf6;font-size:12px;cursor:pointer}.kg-clip-play:focus-visible{outline:2px solid #aee5ff;outline-offset:3px}
@media(max-width:1200px){.kg-cards{grid-template-columns:1fr}.kg-roles{grid-template-columns:1fr 1fr}.kg-portrait{width:88px;height:88px}}
@media(max-width:650px){.kg-header{gap:12px;flex-wrap:wrap}.kg-header h3{font-size:34px}.kg-header p{font-size:12px;line-height:1.5}.kg-portrait{width:76px;height:76px}.kg-header .rs-drawer-toggle{order:3;margin-left:auto}.kg-roles{grid-template-columns:1fr;gap:14px}.kg-responsibilities{padding:15px}.kg-card{padding:15px}.kg-quick{grid-template-columns:1fr;gap:6px}.kg-quick>.kg-change{grid-column:1;margin:0}.kg-inherited{padding:0 10px}.kg-flow{font-size:12px}}
@media print{.kg-header .rs-drawer-toggle,.kg-view,.kg-media,.kg-no-footage,.kg-spell{display:none}.kg-cards{display:block}.kg-card,.kg-quick{break-inside:avoid;background:transparent;color:#000}.kg-inherited:not([open])>.kg-cards{display:block}.kg-card p,.kg-card .kg-action,.kg-quick p{color:#000}}

.kg-native-media .kg-video-shell{aspect-ratio:12/5;min-height:0;width:100%;max-width:100%;overflow:hidden}.kg-native-media video{min-width:0;max-width:100%;height:100%;object-fit:contain}.kg-native-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}.kg-native-controls .kg-clip-play{margin:8px 0}.kg-play-status{font-size:11px;color:#b9c6d1}.kg-native-controls button[hidden]{display:none}.kg-walkthroughs{margin-top:24px;border-top:1px solid #394958;padding-top:16px}.kg-walkthroughs>summary{cursor:pointer;color:#d9e5ee;font-size:15px;font-weight:700;padding:8px 0}.kg-walkthroughs li{margin:10px 0;font-size:13px}
