/* Shared recruitment lighting controls. Existing frames grow by just 0.5px. */
.r-effect-options .r-lighting-launch{min-height:28px;padding:4px 10px;font-size:12px!important}
.r-lighting-dialog{width:min(680px,94vw)}
.r-lighting-switches{display:flex;flex-direction:column;gap:10px}
.r-lighting-option,.r-lighting-hero{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #85734e;border-radius:5px;background-color:#252b28;color:#f5e9cd;font-size:16px;line-height:1.4;min-height:46px}
.r-lighting-option input,.r-lighting-hero input{position:static!important;opacity:1!important;appearance:auto!important;clip:auto!important;width:19px!important;height:19px!important;flex:0 0 19px;accent-color:#c8a5f4}
.r-lighting-picker-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;min-height:46px;text-align:left;white-space:normal;font-size:16px}
.r-lighting-picker-toggle>span{color:#d9bdf5;font-size:13px}
.r-lighting-note{color:#c9bfaa;font-size:13px;line-height:1.6;margin:14px 0}
.r-lighting-picker{border-top:1px solid #6d614b;padding-top:14px}
.r-lighting-picker h3{font-size:18px;color:#f3d7a0;margin:0}
.r-lighting-hero-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.r-lighting-hero{padding:10px;font-size:14px;min-width:0}
.r-lighting-hero:has(input:checked){border-color:#d5b0f5;background-color:#393046;box-shadow:inset 0 0 0 1px #b68bdf}
.r-lighting-hero span{min-width:0;overflow-wrap:anywhere}
.r-lighting-hero small{display:block;color:#c5b9cb;font-size:12px;margin-top:3px}
.r-stage .rarity-5:has(.is-revealed)>.r-rarity-orbit.r-led-orbit{--led-width:5.5px}
.r-stage .is-rare-gold:has(.is-revealed)>.r-rarity-orbit.r-led-orbit{--led-width:6.5px}
.r-stage .r-card-shell.r-lighting-off:has(.is-revealed){box-shadow:none!important}
.r-stage .r-card-shell.r-lighting-off .r-card-front,.r-stage .r-card-shell.r-lighting-off .rt-card,.r-stage .r-card-shell.r-lighting-off .rt-card-grade{box-shadow:none!important;filter:none!important}
.r-stage .r-card-shell.r-lighting-off .rt-card{background-image:none!important}
.r-stage .r-card-shell.r-lighting-off .rt-card::before{display:none!important;animation:none!important;box-shadow:none!important}
.r-stage .r-card-shell.r-lighting-off .r-gold-bloom{display:none!important;animation:none!important}
/* The basic passing sheen remains independent of lighting, including selected officers. */
.r-stage .r-card-shell:has(.r-led-orbit[data-selected="true"]) .rt-card::before{display:none!important;animation:none!important}
.r-stage .r-card-shell>.r-rarity-orbit.r-led-orbit[hidden]{display:none!important}
.r-led-orbit .r-chosen-wave,.r-led-orbit .r-chosen-corner,.r-led-orbit .r-chosen-star{display:none}
.r-stage .rarity-5:has(.is-revealed)>.r-led-orbit[data-selected="true"]{--led-width:2.5px;--led-colors:#eee8ff 0deg,#cba4ff 65deg,#fffaff 110deg,#b77ef4 170deg,#e9dbff 225deg,#fffaff 275deg,#cba4ff 325deg,#eee8ff 360deg}
.r-stage .r-led-orbit[data-selected="true"]>.r-led-fill{display:none!important}
.r-stage .r-led-orbit[data-selected="true"]>.r-led-halo{filter:blur(5px);opacity:1;box-shadow:0 0 15px #c18bff80}
.r-stage .rarity-5:has(.is-revealed)>.r-led-orbit[data-selected="true"]>.r-led-core{filter:brightness(1.18);box-shadow:inset 0 0 3px #fff}
.r-stage .rarity-5:has(.is-revealed)>.r-led-orbit[data-selected="true"] .r-chosen-wave{display:block;position:absolute;inset:0;border:2.5px solid #efdfff;border-radius:inherit;box-shadow:0 0 13px #c482ff;opacity:0;animation:r-chosen-wave 1.65s .6s ease-out both!important}
.r-stage .rarity-5:has(.is-revealed)>.r-led-orbit[data-selected="true"] .r-chosen-corner{display:block;position:absolute;width:24%;height:16%;border:0 solid #fff2ff;filter:drop-shadow(0 0 5px #da98ff);opacity:0;animation:r-chosen-gather .9s ease-in both!important}
.r-chosen-corner-1{left:0;top:0;border-top-width:3px!important;border-left-width:3px!important;--chosen-x:-12px;--chosen-y:-12px}
.r-chosen-corner-2{right:0;top:0;border-top-width:3px!important;border-right-width:3px!important;--chosen-x:12px;--chosen-y:-12px}
.r-chosen-corner-3{left:0;bottom:0;border-bottom-width:3px!important;border-left-width:3px!important;--chosen-x:-12px;--chosen-y:12px}
.r-chosen-corner-4{right:0;bottom:0;border-bottom-width:3px!important;border-right-width:3px!important;--chosen-x:12px;--chosen-y:12px}
.r-stage .rarity-5:has(.is-revealed)>.r-led-orbit[data-selected="true"] .r-chosen-star{display:block;position:absolute;left:0;top:0;font:19px/1 system-ui!important;color:#fff4ff;text-shadow:0 0 5px #fff,0 0 12px #dcadff;transform:translate(-50%,-50%);animation:r-chosen-star 5s linear infinite!important}
.r-stage .rarity-5:has(.is-revealed)>.r-led-orbit[data-selected="true"] .r-chosen-star-b{font-size:13px!important;color:#dec5ff;animation-delay:-2.5s!important}
@keyframes r-chosen-gather{0%{transform:translate(var(--chosen-x),var(--chosen-y));opacity:0}40%{opacity:1}80%{transform:translate(0,0);opacity:1}100%{opacity:0}}
@keyframes r-chosen-wave{0%{transform:scale(1);opacity:.9}100%{transform:scale(1.35,1.23);opacity:0}}
@keyframes r-chosen-star{0%,100%{left:0;top:0}20%{left:100%;top:0}50%{left:100%;top:100%}70%{left:0;top:100%}}
@media(max-width:560px){.r-lighting-hero-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.r-lighting-picker-toggle{flex-wrap:wrap}.r-lighting-option{font-size:14px}.r-lighting-hero{padding:9px 7px;gap:7px}}
@media(prefers-reduced-motion:reduce){.r-stage .rarity-5:has(.is-revealed)>.r-led-orbit[data-selected="true"] .r-chosen-star,.r-stage .rarity-5:has(.is-revealed)>.r-led-orbit[data-selected="true"] .r-chosen-wave,.r-stage .rarity-5:has(.is-revealed)>.r-led-orbit[data-selected="true"] .r-chosen-corner{animation:none!important}.r-stage .r-led-orbit[data-selected="true"] .r-chosen-star-b{left:100%;top:100%}}
