diy-rim-gallery{display:block;max-width:1200px;margin:16px auto 24px;padding:0 20px;font-family:inherit}diy-rim-gallery *{box-sizing:border-box}.drc-heading{display:flex;align-items:baseline;gap:12px;margin:0 0 10px}.drc-heading h2{font-size:18px;margin:0}.drc-heading span{font-size:13px;color:#626262}.drc-strip{display:flex;gap:9px;overflow-x:auto;padding:2px 2px 9px;scrollbar-width:thin}.drc-thumb{position:relative;flex:0 0 64px;width:64px;height:84px;border:1px solid #c9c9c9;border-radius:8px;padding:0;overflow:hidden;background:#eee;cursor:pointer}.drc-thumb:hover,.drc-thumb:focus-visible{outline:2px solid #1558ed;outline-offset:2px}.drc-thumb img{width:100%;height:100%;object-fit:cover}.drc-play{position:absolute;bottom:4px;right:4px;color:white;background:#191919d9;border-radius:20px;width:24px;height:24px;display:grid;place-items:center;font-size:13px}.drc-dialog{border:0;border-radius:12px;padding:12px;background:#fafafa;max-width:calc(100vw - 20px);width:min(860px,96vw);max-height:96dvh;color:#191919}.drc-dialog::backdrop{background:#000b}.drc-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 0 8px}.drc-title{margin:0;font-size:16px;line-height:1.3}.drc-close,.drc-nav button{border:1px solid #ccc;background:white;border-radius:6px;min-width:44px;min-height:44px;cursor:pointer;color:#191919;font-size:16px}.drc-stage{display:flex;justify-content:center;align-items:center;background:#111;border-radius:6px;min-height:180px}.drc-figure{position:relative;margin:0;max-width:100%;line-height:0}.drc-photo,.drc-video{display:block;max-width:100%;max-height:calc(96dvh - 156px);width:auto;height:auto;margin:auto}.drc-label{position:absolute;top:3%;left:0;width:100%;height:auto;pointer-events:none}.drc-label:nth-of-type(3){top:auto;bottom:4%}.drc-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}.drc-count{font-size:14px}.drc-nav button{padding:8px 16px}.drc-dialog button:focus-visible{outline:3px solid #1558ed;outline-offset:2px}@media(max-width:600px){diy-rim-gallery{padding:0 16px;margin:12px auto 16px}.drc-heading{display:block}.drc-heading h2{font-size:16px}.drc-thumb{flex-basis:52px;width:52px;height:68px}.drc-heading span{font-size:12px}.drc-dialog{padding:8px}.drc-photo,.drc-video{max-height:calc(96dvh - 150px)}}


diy-rim-gallery .drc-thumb{flex-basis:96px;width:96px;height:76px}diy-rim-gallery .drc-caption{font-size:15px;line-height:1.5;margin:12px 0;color:#34465d}diy-rim-gallery .drc-codes{display:flex;flex-wrap:wrap;gap:6px}diy-rim-gallery .drc-codes code{font-size:12px;overflow-wrap:anywhere;background:#eaf1ff;padding:5px 8px;border-radius:5px}diy-rim-gallery .drc-photo,diy-rim-gallery .drc-video{max-height:56dvh}diy-rim-gallery .drc-dialog{overflow-y:auto}diy-rim-gallery .drc-heading h2{color:#163761}
