#rental-chaos{position:fixed;inset:0;z-index:700;background:#102e36;color:#f5e9ce;overflow:auto;font-family:system-ui,-apple-system,sans-serif;overscroll-behavior:contain;line-height:1.6}#rental-chaos[hidden]{display:none}.rental-wrap{max-width:840px;margin:auto;padding:12px 18px max(28px,env(safe-area-inset-bottom))}.rental-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.rental-top small{font-size:10px;color:#b6cfca;letter-spacing:1px}.rental-top nav{display:flex;gap:5px}#rental-chaos button{font:inherit;cursor:pointer;min-height:44px;border:1px solid #7a9d96;border-radius:9px;background:#244b53;color:#f6eddb;padding:9px 14px;box-shadow:0 3px #09242b;margin:3px 0;touch-action:manipulation}#rental-chaos button:focus-visible{outline:3px solid #f3ca7a;outline-offset:3px}#rental-chaos button.primary{background:#dcb979;color:#173e44;border-color:#f4dba7;font-weight:650}#rental-chaos button:disabled{opacity:.55;cursor:default}.rental-kicker{color:#e5c486;font-size:11px;letter-spacing:2px;margin:15px 0 2px}.rental-title{font:600 clamp(23px,5vw,35px) Georgia,serif;margin:0 0 12px;line-height:1.3}.rental-stage{position:relative;border:1px solid #a28d62;border-radius:14px;overflow:hidden;background:#203b49;box-shadow:0 14px 36px #00171c70}.rental-stage canvas{display:block;width:100%;aspect-ratio:8/5;image-rendering:pixelated}.rental-scene-label{position:absolute;top:10px;left:12px;color:#f9eac7;background:#173c46d9;padding:4px 8px;font-size:10px;letter-spacing:1px;border-radius:4px}.rental-screen{margin-top:14px;background:linear-gradient(130deg,#214b51,#183c45);border:1px solid #587e79;border-radius:13px;padding:18px;box-shadow:0 7px 0 #0c2830}.rental-screen h2{color:#efcc88;font-size:18px;margin:0 0 10px}.rental-screen p{margin:8px 0 14px;font-size:15px}.rental-speaker{font-size:12px;font-weight:750;letter-spacing:2px;color:#f0c87e}.rental-caption{min-height:72px}.rental-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.rental-actions button{flex:1;min-width:110px}.rental-meta{font-size:11px;color:#b3cbc4;margin:12px 0 0}.rental-checklist{padding:10px 12px;background:#112f39;border-radius:8px;font-size:12px;color:#bdd6cc}.rental-progress{height:4px;background:#345962;margin:14px 0;border-radius:4px}.rental-progress i{height:100%;background:#dfbd7c;display:block;transition:width .3s}.rental-listing{background:#f1e7ce;color:#29474b;padding:16px;border:2px solid #d6bc8b;border-radius:10px;touch-action:pan-y;animation:rental-in .25s ease-out}.rental-listing canvas{width:100%;height:110px;object-fit:contain;image-rendering:pixelated;background:#a9b6a5;border-radius:5px}.rental-listing h3{margin:8px 0 4px;font-family:Georgia,serif;font-size:20px}.rental-listing dl{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;margin:8px 0;font-size:13px}.rental-listing dt{color:#5c716b}.rental-listing dd{margin:0;font-weight:650}.rental-feedback{font-size:13px;color:#f6d99d;min-height:24px;margin:10px 0}.rental-bubbles{display:flex;gap:5px;overflow:hidden;margin-bottom:12px}.rental-bubbles span{width:23px;height:15px;background:#608d89;border-radius:6px 6px 6px 0;animation:rental-in .3s}.rental-comment{border-left:3px solid #d9b979;background:#17363e;padding:15px;border-radius:6px}.rental-comment small{color:#8bb8b1;font-size:11px}.rental-post{padding:13px;background:#f0e6d0;color:#24474a;border-radius:8px;font-size:14px}.rental-center{text-align:center}.rental-center strong{color:#f3d28e;font:600 27px Georgia,serif}.rental-save-warning{color:#ffcf91;font-size:12px}#rental-paused{position:fixed;inset:0;background:#0a252deF;z-index:705;display:grid;place-items:center;padding:24px}#rental-paused[hidden]{display:none}#rental-paused>div{max-width:400px;width:100%;border:1px solid #c9ab70;border-radius:15px;padding:24px;background:#20464f}.rental-credits{font-size:10px;color:#8baaa6;margin-top:20px}.rental-preview-badge{font-size:10px;color:#c6d3c4;overflow-wrap:anywhere}@keyframes rental-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media(min-width:680px){.rental-stage canvas{max-height:340px;object-fit:contain}.rental-screen{padding:22px 28px}.rental-caption{min-height:60px}.rental-wrap{padding-top:20px}.rental-listing{display:grid;grid-template-columns:190px 1fr;gap:0 20px}.rental-listing canvas{grid-row:1/4;height:150px}.rental-listing dl{grid-column:2}}@media(max-width:370px){.rental-wrap{padding:10px 12px 28px}.rental-top button{padding:8px!important}.rental-screen{padding:14px}.rental-listing dl{font-size:12px}}@media(prefers-reduced-motion:reduce){#rental-chaos *{animation:none!important;transition:none!important}}

/* R1: unified CG story scenes. Art is fully contained, not a sprite composite. */
.rental-poster{height:190px;position:relative;display:flex;justify-content:center;align-items:center;isolation:isolate;background:#193b40;overflow:hidden}
.rental-poster::before{content:'';position:absolute;inset:-20px;background:linear-gradient(#15394188,#153941aa),var(--cg-image) center/cover;filter:blur(15px);z-index:-1}
.rental-cg{display:block;object-fit:contain;width:100%;height:100%;position:relative;image-rendering:auto}
#rental-chaos[data-presentation=story] .rental-poster{height:min(54dvh,560px);min-height:260px}
#rental-chaos[data-presentation=story] .rental-screen{border-color:#bc9d68;background:linear-gradient(135deg,#24474d,#163640)}
#rental-chaos[data-presentation=story] .rental-caption{font-size:16px;line-height:1.8;min-height:64px;animation:rental-caption-in .4s ease-out}
.rental-cg.cg-enter{animation:rental-cg-reveal .7s ease-out,rental-cg-breathe 14s .7s ease-in-out infinite alternate}
@keyframes rental-cg-reveal{from{opacity:.25;filter:brightness(.8)}to{opacity:1;filter:brightness(1)}}
@keyframes rental-cg-breathe{from{transform:scale(.985)}to{transform:scale(1)}}
@keyframes rental-caption-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-height:650px){#rental-chaos[data-presentation=story] .rental-poster{height:44dvh;min-height:180px}}
@media(prefers-reduced-motion:reduce){.rental-cg.cg-enter{animation:none!important}}

#rental-chaos[data-presentation=story] .rental-wrap>.rental-kicker{display:none}#rental-chaos[data-presentation=story] .rental-title{font-size:23px;margin:12px 0}

.rental-quip{border-left:2px solid #e1bd78;background:#0e3038;padding:9px 12px;border-radius:5px;color:#f1dbaf;font-size:13px!important;line-height:1.6;margin:12px 0!important}.rental-feedback button{display:block;font-size:13px!important;margin-top:8px!important}

.rental-post-options{font-size:12px;color:#b8d2c8;margin:10px 0}.rental-post-options summary{cursor:pointer;min-height:44px;padding:6px 0;touch-action:manipulation}

/* Separate stacked story choices and completion actions on touch screens. */
#rental-chaos .rental-screen>button,#rental-chaos .rental-center>button,#rental-chaos #rental-paused>div>button{display:block;width:100%;min-height:52px;margin:14px 0 0;padding:13px 16px;white-space:normal;overflow-wrap:anywhere;line-height:1.5;box-sizing:border-box;touch-action:manipulation}
