.owner-story-library{font:16px/1.5 system-ui,sans-serif;color:#30253d;background:#fbf8f1;max-width:1050px;margin:auto;padding:clamp(12px,3vw,28px)}.owner-story-library *{box-sizing:border-box}.owner-story-library h1,.owner-story-library h2,.owner-story-library h3{font-family:Georgia,serif;line-height:1.2}.owner-story-library h1{font-size:clamp(1.6rem,5vw,2.6rem)}.owner-story-eyebrow{font-size:12px;letter-spacing:.12em;font-weight:750}.owner-story-note{font-size:13px;color:#6a5872}.owner-story-status{padding:10px;border-left:3px solid #84659a;min-height:44px}.owner-story-library button,.owner-story-library select,.owner-story-library input{font:inherit;min-height:44px}.owner-story-library button{cursor:pointer;padding:9px 14px;border:1px solid #684482;background:#684482;color:white;border-radius:8px}.owner-story-library .secondary{background:#fff;color:#684482}.owner-story-library button:disabled{opacity:.55;cursor:default}.owner-story-library select,.owner-story-library input{padding:8px;border:1px solid #897594;border-radius:5px;background:#fff;color:#30253d}.owner-story-library :focus-visible{outline:3px solid #0c758c;outline-offset:2px}.owner-story-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:14px 0}.owner-story-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:16px}.owner-story-card{background:white;border:1px solid #dfd3e7;padding:20px;border-radius:12px;display:flex;flex-direction:column;gap:12px}.owner-story-card h3{margin:0}.owner-story-category{margin:30px 0}.owner-story-consent{display:flex;align-items:center;gap:12px;margin:20px 0}.owner-story-consent input{width:24px;height:24px;min-height:24px}.owner-story-disclosure{padding:12px;background:#eee6f0;border-left:3px solid #886794}.owner-story-prose{max-width:72ch}.owner-story-grid-port{overflow:auto;max-width:100%;max-height:65vh}.owner-story-grid-port[data-fit=true]{overflow:visible;max-height:none}.owner-story-grid{width:max-content;max-width:none;margin:auto;touch-action:pan-x pan-y pinch-zoom}.owner-story-grid-row{display:grid;grid-template-columns:repeat(var(--columns),var(--cell));width:max-content}.owner-story-library .owner-story-cell{padding:0;border:1px solid #d7cddd;border-radius:0;width:var(--cell);height:var(--cell);min-height:0;min-width:0;background:white;color:#30253d;font-weight:700;font-size:clamp(12px,calc(var(--cell)*.48),22px);line-height:1;user-select:none;-webkit-user-select:none}.owner-story-library .owner-story-cell.is-found{background:#e2d2ee}.owner-story-library .owner-story-cell.is-start{background:#684482;color:white}.owner-story-targets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 22px;padding-left:23px;font-size:14px}.owner-story-targets span{font-size:12px}.owner-story-reveal{margin-top:22px;padding:22px;background:#f0e8da;border-radius:12px}.owner-story-logic{max-width:70ch;border-top:1px solid #d7cddd;padding-top:20px}.owner-story-logic label{display:block;margin-bottom:12px}.owner-story-logic input{width:min(100%,400px);display:block}.owner-story-library [hidden]{display:none!important}@media(max-width:500px){.owner-story-actions{gap:7px}.owner-story-actions button{font-size:13px;padding:8px}.owner-story-targets{font-size:12px}.owner-story-targets span{display:block}}@media(prefers-reduced-motion:reduce){.owner-story-library *{scroll-behavior:auto!important}}
/* Shared compact puzzle controls; feedback stays with the grid. */
.owner-story-play-panel{max-width:640px;margin:16px auto;scroll-margin-top:10px}.owner-story-play-tools{gap:7px;margin:0 0 8px}.owner-story-play-tools button{font-size:14px;padding:8px 10px}.owner-story-play-tools label{font-size:13px;display:flex;align-items:center;gap:6px}.owner-story-play-tools select{font-size:13px;max-width:230px}.owner-story-play-panel .owner-story-count{margin:4px 0;font-size:14px;font-weight:700}.owner-story-play-panel>.owner-story-note{margin:4px 0;line-height:1.35}.owner-story-play-panel .owner-story-status{margin:6px 0;padding:8px 10px;font-size:14px;line-height:1.35;min-height:44px;background:#f1e9f5}.owner-story-play-panel .owner-story-grid-port{margin-top:8px}.owner-story-library .owner-story-cell.is-hint{position:relative;outline:3px solid #006975;outline-offset:-3px;background:#fff3b8;color:#142f34;z-index:1}.owner-story-targets .is-hint-target{background:#fff3b8;border-left:4px solid #006975;padding:4px 6px;list-style-position:inside}.owner-story-targets .is-hint-target strong{font-size:12px}.owner-story-reset-confirm{padding:10px;background:#fff0dc;border:1px solid #b9833f;border-radius:8px}.owner-story-reset-confirm p{margin:0 0 8px}.owner-story-reset-confirm button{margin:0 6px 4px 0}@media(max-width:500px){.owner-story-play-tools{gap:6px}.owner-story-play-tools label{flex-basis:100%}.owner-story-play-tools select{flex:1;min-width:0;max-width:none}.owner-story-play-tools button{min-height:40px;font-size:13px}.owner-story-play-panel .owner-story-note{font-size:12px}.owner-story-play-panel .owner-story-status{font-size:13px}}@media(prefers-reduced-motion:reduce){.owner-story-cell.is-hint{animation:none;transition:none}}
