/* Reggie Beatz Remakes v2 */
.rb-remakes,.rb-remake-single{--rb-gold:#d6ad45;--rb-black:#111;color:#171717;width:100%}
.rb-remakes--boxed,.rb-remake-single--boxed{max-width:var(--rb-max-width,1200px);margin-left:auto;margin-right:auto}
.rb-remakes--full,.rb-remake-single--full{max-width:none;width:100%}
.rb-remakes__filters{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 28px;align-items:stretch}
.rb-remakes__search{flex:2 1 240px}
.rb-remakes__search input,.rb-remakes__select-wrap select{width:100%;min-height:48px;padding:0 14px;border:1px solid #ddd;border-radius:4px;background:#fff;color:#111;font:inherit}
.rb-remakes__select-wrap{flex:1 1 160px}
.rb-remakes__filters button{min-height:48px;padding:0 22px;border:1px solid var(--rb-gold);border-radius:4px;background:var(--rb-gold);color:#111;font-weight:700;cursor:pointer}
.rb-remakes__reset{align-self:center;color:inherit;text-decoration:underline;font-size:14px}
.rb-remakes__grid{display:grid;grid-template-columns:repeat(var(--rb-cols-desktop,4),minmax(0,1fr));gap:var(--rb-grid-gap,24px)}
.rb-remake-card{min-width:0;overflow:hidden;border:1px solid #e8e8e8;border-radius:7px;background:#fff;box-shadow:0 3px 14px rgba(0,0,0,.045)}
.rb-remake-card__artwork{display:block;overflow:hidden;aspect-ratio:var(--rb-image-ratio,1/1);background:#171717}
.rb-remake-card__artwork img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.rb-remake-card:hover .rb-remake-card__artwork img{transform:scale(1.035)}
.rb-remake-card__placeholder{display:grid;width:100%;height:100%;min-height:150px;place-items:center;background:#171717;color:var(--rb-gold);font-weight:800;letter-spacing:.12em}
.rb-remake-card__body{display:flex;flex-direction:column;gap:10px;padding:16px}
.rb-remake-card__title{margin:0;font-size:17px;line-height:1.35;font-weight:700}
.rb-remake-card__title a{color:inherit;text-decoration:none}.rb-remake-card__title a:hover{color:#9b7624}
.rb-remake-card__meta{margin:0;color:#666;font-size:13px}
.rb-remake-card__tags{display:flex;flex-wrap:wrap;gap:6px}
.rb-remake-card__tags span{padding:4px 8px;border-radius:3px;background:#f2f2f2;color:#555;font-size:11px}
.rb-remake-card__actions,.rb-remake-single__actions{display:flex;flex-direction:column;gap:8px;margin-top:auto}
.rb-remake-card__button{display:inline-flex;justify-content:center;align-items:center;min-height:42px;padding:9px 13px;border:1px solid transparent;border-radius:4px;font-size:13px;font-weight:700;line-height:1.2;text-align:center;text-decoration:none!important}
.rb-remake-card__button--youtube{border-color:#222;background:#222;color:#fff!important}
.rb-remake-card__button--patreon{border-color:var(--rb-gold);background:var(--rb-gold);color:#111!important}
.rb-remake-card__button--disabled{border-color:#ddd;background:#f3f3f3;color:#777!important}
.rb-remakes__empty{padding:48px 20px;border:1px solid #eee;text-align:center}
.rb-remakes__empty h3{margin:0 0 8px}.rb-remakes__empty p{margin:0;color:#777}
.rb-remakes__pagination{margin-top:32px}.rb-remakes__pagination ul{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin:0;padding:0;list-style:none}
.rb-remakes__pagination a,.rb-remakes__pagination span{display:inline-flex;min-width:38px;min-height:38px;justify-content:center;align-items:center;padding:7px 11px;border:1px solid #ddd;border-radius:4px;color:#111;text-decoration:none}
.rb-remakes__pagination .current{border-color:var(--rb-gold);background:var(--rb-gold);font-weight:700}
.rb-remake-single{max-width:1100px;margin:0 auto}
.rb-remake-single__top{display:grid;grid-template-columns:minmax(260px,420px) minmax(0,1fr);gap:38px;align-items:center;margin:10px 0 42px}
.rb-remake-single__artwork{overflow:hidden;aspect-ratio:var(--rb-image-ratio,1/1);background:#171717;border-radius:7px;box-shadow:0 10px 35px rgba(0,0,0,.12)}
.rb-remake-single__artwork img{display:block;width:100%;height:100%;object-fit:cover}
.rb-remake-single__eyebrow{margin:0 0 12px;color:#987522;font-size:12px;font-weight:800;letter-spacing:.14em}
.rb-remake-single__details h1{margin:0 0 20px;font-size:clamp(28px,4vw,46px);line-height:1.12}
.rb-remake-single__line{margin:8px 0;color:#555}
.rb-remake-single__actions{margin-top:24px;max-width:340px}
.rb-remake-single__description,.rb-remake-single__video{max-width:850px;margin:0 auto 36px;padding-top:26px;border-top:1px solid #e9e9e9}
.rb-remake-single__description h2,.rb-remake-single__video h2{margin:0 0 14px;font-size:23px}
.rb-remake-single__copy{color:#444;line-height:1.75}
.rb-remake-single__copy>:first-child{margin-top:0}
.rb-remake-single__embed{position:relative;width:100%;aspect-ratio:16/9}
.rb-remake-single__embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.rb-remake-single__footer{max-width:850px;margin:0 auto;padding-top:20px;border-top:1px solid #e9e9e9}
.rb-remake-single__footer a{color:#6f5316;text-decoration:none;font-weight:700}
.rb-remakes-notice{padding:15px;border:1px solid #e5c46c;background:#fff8e5;color:#332600}
@media(max-width:1024px){.rb-remakes__grid{grid-template-columns:repeat(var(--rb-cols-tablet,3),minmax(0,1fr))}}
@media(max-width:767px){.rb-remakes__grid{grid-template-columns:repeat(var(--rb-cols-mobile,2),minmax(0,1fr));gap:var(--rb-grid-gap,13px)}.rb-remake-card__body{padding:11px;gap:9px}.rb-remake-card__title{font-size:14px}.rb-remake-card__button{min-height:39px;padding:7px 8px;font-size:11px}.rb-remake-single__top{grid-template-columns:1fr;gap:22px}.rb-remake-single__artwork{max-width:480px;width:100%;margin:0 auto}.rb-remake-single__details h1{font-size:30px}.rb-remakes__filters>*{flex:1 1 100%}.rb-remakes__filters button{width:100%}}
@media(max-width:380px){.rb-remakes__grid{grid-template-columns:1fr}}


/* Mobile-friendly Remake Manager */
.rb-remake-manager{max-width:760px;margin:20px auto;color:#171717}
.rb-manager-form{display:flex;flex-direction:column;gap:18px;padding:22px;background:#fff;border:1px solid #e5e5e5;border-radius:12px;box-shadow:0 4px 22px rgba(0,0,0,.05)}
.rb-manager-field{display:flex;flex-direction:column;gap:7px;font-weight:600}
.rb-manager-field>span{font-size:14px}
.rb-manager-field input[type=text],.rb-manager-field input[type=url],.rb-manager-field input[type=file],.rb-manager-field select,.rb-manager-field textarea,.rb-manager-youtube-search input{box-sizing:border-box;width:100%;min-height:48px;padding:11px 13px;border:1px solid #d8d8d8;border-radius:7px;background:#fff;color:#171717;font:inherit}
.rb-manager-field input[type=file]{padding:10px;background:#fafafa}
.rb-manager-field small{color:#777;font-size:12px;font-weight:400}
.rb-manager-youtube{padding:17px;border:1px solid #e7e7e7;border-radius:9px;background:#fafafa}
.rb-manager-youtube h3{margin:0 0 12px;font-size:16px}
.rb-manager-youtube-search{display:flex;gap:8px}
.rb-manager-youtube-search input{flex:1;min-width:0}
.rb-manager-youtube-search button{min-height:48px;padding:0 16px;border:0;border-radius:7px;background:#222;color:#fff;font-weight:700}
.rb-manager-youtube-search button:disabled{opacity:.6}
#rb-youtube-results{display:grid;gap:8px;margin-top:12px}
.rb-youtube-result{display:grid;grid-template-columns:104px minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;padding:8px;border:1px solid #e2e2e2;border-radius:7px;background:#fff;text-align:left;cursor:pointer}
.rb-youtube-result img{display:block;width:104px;aspect-ratio:16/9;object-fit:cover;border-radius:4px;background:#ddd}
.rb-youtube-result__title{font-size:13px;font-weight:600;line-height:1.4}
.rb-youtube-result__choose{color:#8b681d;font-size:12px;font-weight:700}
.rb-youtube-result.is-selected{border-color:#c49b35;background:#fffaf0}
.rb-manager-selected{margin:10px 0 0;color:#5d4818;font-weight:700;font-size:13px}
.rb-manager-warning,.rb-manager-error,.rb-manager-success{padding:12px 14px;border-radius:7px;font-size:13px}
.rb-manager-warning{background:#fff8e5;border:1px solid #ead18a;color:#604900}
.rb-manager-error{background:#fff0f0;border:1px solid #e7b1b1;color:#8a2020}
.rb-manager-success{background:#effaf0;border:1px solid #b9dfbd;color:#205c29;margin-bottom:14px}
.rb-manager-submit{width:100%;min-height:54px;padding:13px 18px;border:0;border-radius:8px;background:#d6ad45;color:#171717;font-size:15px;font-weight:800;cursor:pointer}
.rb-manager-login{max-width:700px;margin:20px auto;padding:18px;border:1px solid #e7d39b;border-radius:8px;background:#fff8e5}
.rb-manager-message{padding:8px 0;color:#666;font-size:13px}
@media(max-width:600px){.rb-remake-manager{margin:12px auto}.rb-manager-form{padding:14px;border-radius:9px;gap:15px}.rb-manager-youtube{padding:12px}.rb-manager-youtube-search{flex-direction:column}.rb-manager-youtube-search button{width:100%}.rb-youtube-result{grid-template-columns:84px minmax(0,1fr);gap:8px}.rb-youtube-result img{width:84px}.rb-youtube-result__choose{grid-column:2}}
/* v2.3 manager inline taxonomy creation and edit library */
.rb-manager-quick-term{display:flex;flex-wrap:wrap;align-items:end;gap:8px;margin:-8px 0 4px;padding:10px 12px;border:1px dashed #d8c58e;border-radius:8px;background:#fffdf7}
.rb-manager-quick-term label{display:flex;flex:1 1 180px;flex-direction:column;gap:5px;font-size:12px;font-weight:600}
.rb-manager-new-term{box-sizing:border-box;width:100%;min-height:42px;padding:9px 11px;border:1px solid #ddd;border-radius:6px;font:inherit}
.rb-manager-add-term{min-height:42px;padding:8px 13px;border:0;border-radius:6px;background:#222;color:#fff;font-weight:700;cursor:pointer}
.rb-manager-add-term:disabled{opacity:.55}
.rb-manager-term-message{flex:1 1 100%;font-size:12px;color:#65501c}
.rb-manager-library{margin:30px auto;max-width:900px}
.rb-manager-library h2{font-size:22px;margin:0 0 5px}
.rb-manager-edit{margin:12px 0;border:1px solid #e1e1e1;border-radius:10px;background:#fff;overflow:hidden}
.rb-manager-edit summary{display:flex;align-items:center;gap:12px;padding:10px;cursor:pointer;list-style:none}
.rb-manager-edit summary::-webkit-details-marker{display:none}
.rb-manager-edit summary img{width:58px;height:58px;object-fit:cover;border-radius:6px}
.rb-manager-edit summary span{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}
.rb-manager-edit summary strong{font-size:14px;overflow-wrap:anywhere}
.rb-manager-edit summary small{color:#777;font-size:11px}
.rb-manager-edit summary>b{padding:8px 12px;border-radius:6px;background:#f3e8c8;color:#59430f;font-size:12px}
.rb-manager-edit-form{display:flex;flex-direction:column;gap:14px;padding:14px;border-top:1px solid #eee;background:#fafafa}
.rb-manager-edit-form .rb-manager-submit{max-width:none}
@media(max-width:600px){.rb-manager-quick-term{align-items:stretch}.rb-manager-add-term{width:100%}.rb-manager-edit summary img{width:50px;height:50px}}
