/* Only the No.09 scene presentation; existing puzzle controls and logic remain untouched. */
#p9Story{position:relative;margin:12px 0 14px;padding:11px 14px;border:1px solid #e8daca;border-radius:17px;background:linear-gradient(125deg,#fffaf4 0%,#fcfff9 100%);box-shadow:0 4px 12px rgba(90,63,32,.04);overflow:hidden}
#p9Story:before{content:"";position:absolute;right:0;top:0;width:68px;height:68px;background:url('/matchstick/assets-v16/scene-07-matchbox.webp') center/contain no-repeat;opacity:.10;pointer-events:none}
#p9Story .p9-scene{position:relative;display:grid;grid-template-columns:148px minmax(0,1fr);align-items:center;column-gap:16px;margin:0}
#p9Story .p9-scene>img{display:block;width:148px;height:120px;max-width:100%;object-fit:contain;object-position:center;border:0;background:none;border-radius:0}
#p9Story .p9-scene figcaption{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;position:relative;z-index:1}
#p9Story .p9-scene-kicker{font-size:11px;letter-spacing:.06em;font-weight:700;color:#8e6043}
#p9Story .p9-scene-title{font-weight:800;font-size:clamp(16px,2.1vw,20px);line-height:1.4;color:#543a2b}
#p9Story .p9-scene-text{font-size:13px;line-height:1.6;color:#765c4b}
#p9Story .p9-scene-dots{display:none}
#p9Story .p9-story-strip{display:flex;gap:5px;align-items:center;margin-top:7px;padding:3px 0 1px;overflow-x:auto;scrollbar-width:thin;max-width:100%;scroll-behavior:smooth}
#p9Story .p9-story-strip img{display:block;flex:0 0 34px;width:34px;height:34px;border-radius:7px;object-fit:contain;background:#fff;border:1px solid #efdfd1;opacity:.62;box-shadow:none;transition:opacity .12s ease}
#p9Story .p9-story-strip img.is-current{opacity:1;border:2px solid #bf7947;background:#fff8f1}
#p9Story .p9-story-strip img:not(.is-current){filter:saturate(.8)}
@media(max-width:520px){#p9Story{padding:9px 11px;margin:8px 0 12px;border-radius:13px}#p9Story .p9-scene{grid-template-columns:98px minmax(0,1fr);gap:9px}#p9Story .p9-scene>img{width:98px;height:95px}#p9Story .p9-scene-title{font-size:16px}#p9Story .p9-scene-text{font-size:12px;line-height:1.45}#p9Story .p9-story-strip img{flex-basis:28px;width:28px;height:28px}}
@media(prefers-reduced-motion:reduce){#p9Story .p9-story-strip{scroll-behavior:auto}}
