/* The poster stays separate from the activity DOM and its state. */
.anchor-trigger{min-width:0;white-space:normal;line-height:1.35}.anchor-trigger small{display:block;font-size:.875rem;font-weight:500;margin-top:3px}.anchor-trigger:disabled{opacity:1;background:#edf1f7;color:#4a5568;cursor:default}.anchor-unavailable{max-width:32rem;font-size:.8rem!important}.anchor-hint{box-shadow:0 0 0 3px #ffd453}.anchor-dialog{box-sizing:border-box;width:min(94vw,1040px);max-width:98vw;height:94dvh;max-height:96dvh;padding:0;border:2px solid #173254;border-radius:18px;background:#eef2f8;color:#172b49;overflow:hidden;box-shadow:0 20px 90px #142c4970}.anchor-dialog::backdrop{background:#10253bbd}.anchor-toolbar{box-sizing:border-box;display:flex;gap:16px;align-items:center;justify-content:space-between;padding:14px 18px;background:#fff;border-bottom:1px solid #dce3ed;min-height:80px}.anchor-toolbar strong{font-size:1.1rem}.anchor-toolbar small{display:block;font-size:.875rem;margin-top:3px}.anchor-actions{display:flex;gap:8px;flex-shrink:0}.anchor-toolbar button{padding:10px 14px;border:1px solid #173254;border-radius:10px;background:#173254;color:#fff;font-size:1rem;line-height:1.2;cursor:pointer}.anchor-toolbar button:focus-visible,.anchor-trigger:focus-visible{outline:3px solid #e69e09;outline-offset:3px}.anchor-scroll{height:calc(100% - 90px);overflow:auto;overscroll-behavior:contain;padding:12px;box-sizing:border-box}.anchor-scroll img{display:block;width:min(100%,900px);height:auto;max-height:none;object-fit:contain;margin:0 auto;background:white}.anchor-dialog.anchor-expanded{width:98vw;max-width:98vw;height:98dvh;max-height:98dvh}.anchor-expanded .anchor-scroll img{width:min(100%,1200px)}.anchor-load-error{padding:18px;background:white}.anchor-load-error[hidden]{display:none}.anchor-dialog[open]{display:flex;flex-direction:column}.anchor-dialog[open] .anchor-scroll{flex:1;min-height:0;height:auto}.mq-no-english .anchor-trigger small{display:block!important}.anchor-support-row{display:flex;justify-content:flex-end;margin:12px 0;gap:10px;flex-wrap:wrap}.play-bottom .help-buttons .anchor-trigger{padding:8px 12px;min-height:62px}.play-bottom .help-buttons{flex-wrap:wrap}.anchor-react-control{display:contents}
@media(max-width:600px){.anchor-dialog,.anchor-dialog.anchor-expanded{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0;border:0}.anchor-toolbar{align-items:flex-start;padding:10px;gap:10px;flex-wrap:wrap}.anchor-toolbar strong{font-size:1rem}.anchor-actions{margin-left:auto}.anchor-toolbar button{font-size:.9rem;padding:9px}.anchor-scroll{padding:5px}.anchor-scroll img,.anchor-expanded .anchor-scroll img{width:100%;height:auto}.play-bottom{flex-wrap:wrap}.anchor-unavailable{font-size:.8rem!important}}
/* Extra toolbar control wraps at split-screen and phone widths. */
.anchor-toolbar{flex-wrap:wrap}.anchor-toolbar>div:first-child{flex:1 1 240px;min-width:0}.anchor-actions{flex-wrap:wrap;flex-shrink:1;max-width:100%}.anchor-popup-notice{padding:12px 18px;margin:0;background:#fff6d9;line-height:1.5}.anchor-popup-notice[hidden]{display:none}.anchor-popup-notice a{color:#16478c;text-decoration:underline}.anchor-window{margin:0;background:#eef2f8;color:#172b49;font:16px/1.45 system-ui,sans-serif}.anchor-window-header{padding:14px 18px;background:#fff;border-bottom:1px solid #dce3ed}.anchor-window-header h1{font-size:1.15rem;line-height:1.3;margin:0 0 8px}.anchor-window-header small{display:block;font-size:.875rem;font-weight:400}.anchor-window-header p{margin:0}.anchor-window main{padding:8px;max-width:1200px;margin:auto}.anchor-window main>img{display:block;width:100%;height:auto;margin:0 auto;background:white}.anchor-window main>p{padding:12px}.anchor-window button{font:inherit;padding:10px 14px;background:#173254;color:#fff;border:0;border-radius:10px}
