.player-gallery{margin:20px 0;padding:22px;border:1px solid #d6dfd5;border-radius:18px;background:#fffdf7;color:#183d31;box-shadow:0 8px 22px #183d3106}.pg-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.pg-heading h2{font:800 30px/1.1 'Barlow Condensed',Barlow,sans-serif;margin:5px 0}.pg-count{font-size:12px;white-space:nowrap;background:#e9efe4;border-radius:20px;padding:6px 10px}.pg-intro{font-size:14px;color:#526b5c;margin:8px 0 15px}.pg-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.pg-add,.pg-expand,.pg-download,.pg-sort{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;border-radius:10px;border:1px solid #b9ccba;padding:9px 12px;font:700 13px Barlow,Arial,sans-serif}.pg-add,.pg-download{background:#20553e;color:#fff;cursor:pointer}.pg-add:focus-within{outline:2px solid #a78036}.pg-expand,.pg-sort{background:#f0f4eb;color:#244b35;cursor:pointer}.pg-sort{max-width:190px}.pg-consent{font-size:11px;font-weight:400;line-height:1.5;display:block;margin:13px 0 7px;color:#526251}.pg-consent input{display:inline-block;width:16px;height:16px;vertical-align:middle;margin:0 5px 0 0}.pg-consent a{color:#28543d;text-decoration:underline}.pg-hint{font-size:11px;color:#62705e;margin:8px 0 12px}.pg-photos{display:flex;gap:10px;overflow-x:auto;padding:3px 2px 12px;scrollbar-color:#91ab91 #edf2e9;overscroll-behavior-x:contain}.pg-photo{position:relative;flex:0 0 172px;min-width:0;background:#ecf1e7;border:1px solid #d5dfce;border-radius:13px;overflow:hidden;transition:box-shadow .15s}.pg-open{display:block;background:transparent;border:0;padding:0;width:100%;cursor:pointer;touch-action:none;color:#244a32}.pg-open img{display:block;width:100%;height:135px;object-fit:cover;user-select:none;-webkit-user-drag:none}.pg-date{display:block;text-align:left;font-size:10px;padding:7px 9px}.pg-move{display:flex;padding:0 6px 6px;gap:3px}.pg-move button,.pg-delete{min-width:30px;min-height:30px;border:0;border-radius:7px;background:#fff9;color:#294a34;cursor:pointer;padding:4px}.pg-move button:disabled{opacity:.25;cursor:default}.pg-delete{position:absolute;bottom:6px;right:6px;color:#94362e;background:#fff}.pg-delete svg{width:16px;height:16px}.pg-photo.is-dragging{box-shadow:0 0 0 3px #bd9a4c;opacity:.7}.pg-photo.is-drop{box-shadow:inset 0 0 0 3px #2c754b}.pg-photos.is-expanded{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}.pg-empty{min-height:145px;flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;background:#f0f4eb;border:1px dashed #bacbb6;border-radius:12px;padding:20px;font-size:13px;text-align:center}.pg-empty>svg{width:30px;height:30px}.pg-empty span{font-size:12px;color:#5c715e}.pg-status{font-size:12px;min-height:0;margin:4px 0;color:#245c3d}.pg-status:empty{display:none}.pg-status.is-error{color:#a22e29}.pg-album{display:flex;gap:12px;border-top:1px solid #dde3d6;margin-top:14px;padding-top:16px}.pg-album-icon{background:#e9dfc5;color:#7d6735;border-radius:10px;width:42px;height:42px;display:grid;place-items:center;flex:none}.pg-album h3{font:700 18px/1.2 Barlow,Arial,sans-serif;margin:0 0 7px}.pg-album p{font-size:12px;line-height:1.5;color:#52664f;margin:0 0 12px}.pg-download:disabled{opacity:.5;cursor:default}.pg-dialog{border:0;border-radius:15px;padding:18px;width:min(620px,90vw);max-height:90dvh;overflow:auto;background:#fffdf7;color:#183d31}.pg-dialog::backdrop{background:#10291fe0}.pg-close{position:absolute;top:8px;right:8px;border:0;background:#fff;color:#183d31;border-radius:50%;width:36px;height:36px;font-size:26px;cursor:pointer}.pg-full{width:100%;max-height:50dvh;object-fit:contain;background:#e9ede3;border-radius:9px}.pg-edit{display:grid;gap:10px;margin-top:12px}.pg-edit label{font-size:13px}.pg-edit input{margin-top:5px}.pg-edit-status{font-size:12px;margin:0}.profile-data-notice{font-size:12px;line-height:1.55;margin-top:18px;padding-top:15px;border-top:1px solid #d2dccf}.profile-data-notice summary{cursor:pointer;font-weight:700;color:#264e37}.profile-data-notice a{color:#264e37;text-decoration:underline}.profile-data-notice p{margin:9px 0}.profile-data-notice small{display:block;color:#52624f}
@media(max-width:600px){.player-gallery{padding:17px 13px}.pg-heading h2{font-size:26px}.pg-tools{gap:6px}.pg-add,.pg-sort,.pg-expand{padding:8px;font-size:11px}.pg-sort{max-width:160px}.pg-intro{font-size:13px}.pg-photo{flex-basis:150px}.pg-photos.is-expanded{grid-template-columns:repeat(2,minmax(0,1fr))}.pg-open img{height:125px}.pg-album-icon{display:none}.pg-download{font-size:11px;padding:10px;min-height:44px}.pg-consent{font-size:10px}.pg-dialog{padding:14px}.profile-data-notice{font-size:11px}}
/* Compact gallery: continuously moving strip, with an explicit pause control. */
.player-gallery{padding:15px 16px}.pg-heading h2{font-size:24px;margin:0}.pg-heading .eyebrow{display:none}.pg-heading{margin-bottom:10px}.pg-intro{display:none}.pg-tools{gap:6px}.pg-add,.pg-expand,.pg-sort,.pg-motion{min-height:33px;padding:7px 9px;border-radius:9px;font-size:11px}.pg-motion{border:1px solid #cad8c3;background:#f1f4eb;color:#3f5d3f;cursor:pointer;font-weight:600}.pg-consent{font-size:10px;line-height:1.4;margin:8px 0 5px}.pg-hint{font-size:10px;margin:5px 0 8px}.pg-photo{flex-basis:150px;border-radius:10px}.pg-open img{height:100px}.pg-date{padding:5px 7px;font-size:9px}.pg-move{padding:0 5px 5px}.pg-move button,.pg-delete{min-width:26px;min-height:26px}.pg-empty{min-height:70px;padding:13px;gap:5px}.pg-empty>svg{width:24px;height:24px}.pg-empty strong{font-size:12px}.pg-empty span{font-size:10px}.pg-album{margin-top:9px;padding-top:11px;gap:9px}.pg-album h3{font-size:15px;margin-bottom:5px}.pg-album p{font-size:11px;line-height:1.4;margin-bottom:9px}.pg-album-icon{width:32px;height:32px;border-radius:8px}.pg-download{min-height:35px;font-size:11px;padding:8px 10px}.pg-photos{padding-bottom:7px}.pg-status{font-size:11px}.pg-motion[hidden]{display:none!important}
@media(max-width:600px){.player-gallery{padding:13px}.pg-heading h2{font-size:21px}.pg-count{font-size:10px;padding:5px 7px}.pg-photo{flex-basis:135px}.pg-open img{height:92px}.pg-tools{gap:5px}.pg-add,.pg-expand,.pg-sort,.pg-motion{font-size:10px;padding:7px}.pg-sort{max-width:145px}.pg-album p{font-size:10px}.pg-download{font-size:10px}.pg-consent{font-size:9px}}
