/* Existing DFP palette and controls, isolated DFC reader and content state. */
.dfc-reading-controls{display:flex;gap:4px;align-items:center;margin-left:auto;flex:none}.dfc-reading-controls>.dfc-text-controls{margin-left:0}.dfc-text-controls{display:flex;gap:4px;align-items:center;margin-left:auto}.dfc-text-controls button{min-width:44px}.dfc-text-controls select{width:64px;padding:8px 4px}.dfc-overview-lettering{position:absolute;pointer-events:none}.dfc-overview-lettering>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;user-select:none}.dfc-reader .dfc-text-controls+ .dfc-languages{flex:none}
.dfc-reader.immersive{padding:0;overflow:hidden;background:#000}.dfc-reader.immersive .dfc-reader-bar{position:static;height:0;min-height:0;padding:0}.dfc-reader.immersive .dfc-navigation,.dfc-reader.immersive .dfc-transcript,.dfc-reader.immersive .dfc-panel-note,.dfc-reader.immersive #dfc-panel-hint{display:none}.dfc-reader.immersive .dfc-panel,.dfc-reader.immersive .dfc-panel-stage{width:100%;height:100dvh;min-height:0;margin:0}.dfc-reader.immersive .dfc-status:not([hidden]){position:fixed;bottom:0;left:0;right:0;z-index:6;background:#091417e8}.dfc-panel-stage:focus-visible{outline:2px solid #e8b77b;outline-offset:-2px}
body[data-product="cartoons"] .hero,body[data-product="cartoons"] main>.tabs,body[data-product="cartoons"] #workspace,body[data-product="cartoons"] #comparison,body[data-product="cartoons"] #reference-gallery,body[data-product="cartoons"] main>footer,body[data-product="cartoons"] .delay-shortcut,body[data-product="cartoons"] #settings-open,body[data-product="cartoons"] #api-toggle,body[data-product="cartoons"] .privacy-chip {display:none!important}
.dfc-gallery{max-width:1120px;margin:0 auto;padding:28px 0 48px}.dfc-gallery-heading h1{font:500 clamp(26px,4vw,42px)/1.1 Georgia,serif;margin:8px 0 25px}.dfc-story-card{display:grid;grid-template-columns:minmax(180px,300px) 1fr;gap:clamp(24px,5vw,72px);align-items:center;border:1px solid var(--line,#2f4548);border-radius:20px;padding:24px;background:#102023}.dfc-cover{display:block;padding:0;border:0;background:#0b1112;border-radius:10px;overflow:hidden;cursor:pointer;width:100%;aspect-ratio:1024/1660}.dfc-cover img{display:block;width:100%;height:100%;object-fit:contain}.dfc-cover.cmarvel-cover{aspect-ratio:2/3;text-decoration:none}.dfc-cover.cmarvel-cover img{object-fit:cover}.dfc-story-copy h2{font:500 clamp(28px,4vw,48px)/1.08 Georgia,serif;margin:12px 0 20px}.dfc-story-copy p{line-height:1.65;max-width:520px}.dfc-story-meta{color:#e8b77b}.dfc-story-actions,.dfc-coming{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.dfc-story-actions button{min-height:44px}.dfc-story-actions [aria-pressed="true"]{border-color:#e8b77b;color:#efc087}.dfc-coming{padding:24px 0}.dfc-coming button:disabled{opacity:.55}.dfc-reading{overflow:hidden}
.dfc-reader{box-sizing:border-box;position:fixed;inset:0;margin:0;border:0;padding:0 max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));width:100%;max-width:none;height:100dvh;max-height:100dvh;background:#091417;color:#f2ece2;overflow:auto;overscroll-behavior:contain;font-family:inherit}.dfc-reader::backdrop{background:#091417}.dfc-reader button,.dfc-reader select{font:inherit;font-size:14px;color:inherit;background:#15282b;border:1px solid #385052;border-radius:9px;padding:9px 12px;min-height:44px;cursor:pointer}.dfc-reader button:disabled{opacity:.4;cursor:default}.dfc-reader button:focus-visible,.dfc-reader select:focus-visible{outline:3px solid #f0c385;outline-offset:2px}.dfc-reader [aria-pressed="true"]{border-color:#edbd80;color:#edbd80}.dfc-reader-bar{position:sticky;top:0;z-index:5;display:flex;gap:12px;align-items:center;justify-content:space-between;padding:calc(10px + env(safe-area-inset-top)) 66px 10px 0;background:#091417f8}.dfc-reader-bar>span{font-size:13px;text-align:center}.dfc-languages{display:flex;gap:4px}.dfc-languages button{padding:8px 10px}#dfc-close{position:fixed;z-index:10;width:44px;height:44px;padding:0;font-size:25px;transform-origin:top left;border-color:#e5ac6c;background:#122a2e}.dfc-navigation{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap;padding:5px 0 10px}.dfc-navigation label{display:flex;gap:6px;align-items:center;font-size:13px}.dfc-status{padding:10px;text-align:center;color:#e8bc84}.dfc-page-stage{position:relative;display:grid;place-items:center;height:max(240px,calc(100dvh - 240px));min-height:0;max-width:1000px;margin:auto;touch-action:pan-y pinch-zoom}.dfc-page-stage>img{width:100%;height:100%;object-fit:contain;display:block;min-height:0;user-select:none}.dfc-page-stage svg{position:absolute;pointer-events:none}.dfc-page-stage polygon{fill:transparent;stroke:transparent;stroke-width:2;vector-effect:non-scaling-stroke}.dfc-page-stage polygon.current{stroke:#e8b77b;fill:#e8b77b12}.dfc-hint{text-align:center;font-size:12px;color:#b1bfc0;margin:12px 0}.dfc-panel-list{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;padding-bottom:10px}.dfc-panel-list .current{border-color:#e8b77b}.dfc-panel-stage{display:flex;justify-content:center;align-items:center;width:100%;height:max(150px,calc(100dvh - 290px));overflow:hidden;touch-action:pan-y pinch-zoom}.dfc-panel-stage.zoomed{display:block;overflow:auto}.dfc-composition{position:relative;flex:none}.dfc-composition>img{display:block;width:100%;height:100%;object-fit:contain;user-select:none}.dfc-composition>.dfc-lettering{position:absolute;inset:0;pointer-events:none}.dfc-transcript{font-size:clamp(16px,2.2vw,21px);line-height:1.5;margin:12px auto 0;max-width:1000px;padding:0 10px}.dfc-transcript p{margin:7px 0}.dfc-transcript strong{color:#edbd80;font-size:.85em}.dfc-panel-note{font-size:12px;color:#a1b3b4;text-align:center;margin:12px 0}.dfc-reader [hidden]{display:none!important}
@media(max-width:600px){.dfc-story-card{grid-template-columns:1fr;gap:20px;padding:18px}.dfc-cover{width:min(240px,100%);margin:auto}.dfc-gallery{padding-top:20px}.dfc-story-copy h2{font-size:32px}.dfc-reader-bar{gap:5px;flex-wrap:wrap;padding-right:66px}.dfc-reader-bar #dfc-back{font-size:12px;padding:8px;max-width:160px}.dfc-reader-bar>span{font-size:11px}.dfc-languages button{min-width:44px;padding:8px}.dfc-navigation{gap:6px}.dfc-navigation button{font-size:13px;padding:8px}.dfc-navigation label>span{display:none}}
@media(orientation:landscape) and (max-height:520px){.dfc-reader-bar{padding-top:8px;padding-bottom:5px}.dfc-navigation{padding-bottom:5px}.dfc-page-stage{height:calc(100dvh - 180px);min-height:160px}.dfc-panel-stage{height:calc(100dvh - 210px);min-height:160px}.dfc-transcript{font-size:16px}.dfc-hint{margin:6px}.dfc-panel-note{margin:8px}}

/* Hybrid reader: artwork first, shared dock second. */
.dfc-reader.reader-ui{padding-bottom:0}.dfc-reader.reader-ui .reader-head{position:relative;padding-right:60px;background:#091417}.dfc-reader.reader-ui .dfc-reading-controls{margin:0}.dfc-reader.reader-ui .dfc-panel-list{padding:2px;flex-wrap:nowrap;justify-content:flex-start}.dfc-reader.reader-ui .dfc-page-stage{display:block;max-width:none}.dfc-reader.reader-ui .dfc-overview{margin:0}.dfc-reader.reader-ui .dfc-panel{margin:0}.dfc-reader.reader-ui .dfc-panel-stage{overflow:auto}.dfc-reader.reader-ui .reader-dock{background:#091417}.dfc-reader.reader-ui .reader-primary label{display:flex;gap:5px;align-items:center}.dfc-reader.reader-ui .dfc-transcript{max-width:1000px;font-size:calc(18px * var(--reader-font))}.dfc-number-hotspot{position:absolute;pointer-events:auto;background:#08151bd9!important;padding:3px!important}#dfc-hotspot-buttons{position:absolute;inset:0;pointer-events:none}.dfc-reader.reader-ui .dfc-panel-note,.dfc-reader.reader-ui .dfc-hint{display:none}.dfc-reader.reader-ui.immersive .reader-head{position:fixed;height:auto;min-height:44px}.dfc-reader.reader-ui.immersive .reader-head>.reader-heading,.dfc-reader.reader-ui.immersive .reader-head>.reader-prefs{display:flex}.dfc-reader.reader-ui.immersive .reader-dock{display:flex;background:#08151bec}.dfc-reader.reader-ui.immersive .dfc-panel{height:auto}.dfc-reader.reader-ui.immersive .reader-stage{height:100dvh}.dfc-reader.reader-ui.immersive .dfc-overview{display:flex}.dfc-reader.reader-ui.immersive .reader-stage[hidden]{display:none!important}
@media(max-width:650px){.dfc-reader.reader-ui .reader-heading{padding-right:0}.dfc-reader.reader-ui .reader-heading h1{font-size:22px}.dfc-reader.reader-ui .reader-heading #dfc-back{max-width:none}.dfc-reader.reader-ui .reader-head{padding-right:52px}.dfc-reader.reader-ui .reader-page-navigation label>span{display:none}.dfc-reader.reader-ui .reader-primary button{padding:7px 9px}}

@media(max-width:650px){.dfc-reader.reader-ui.immersive .reader-head>.reader-heading{display:none}}
