/* Scoped to the animations module; payment and other modules keep their styles. */
#newdon-tranches{box-sizing:border-box;width:550px;max-width:100%;padding:24px;background:#fff;border:1px solid #e8e3ef;border-radius:20px;color:#241b32;text-align:left;box-shadow:0 12px 36px #36234d0a;font-family:Arial,sans-serif}
#newdon-tranches *{box-sizing:border-box}
#newdon-tranches .newdon-header{display:flex;align-items:center;justify-content:space-between;gap:14px}
#newdon-tranches .newdon-eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:800;color:#8f68aa}
#newdon-tranches h2{font-size:23px;line-height:1.2;letter-spacing:-.6px;margin:7px 0 0;color:#241b32;font-weight:800}
#newdon-tranches button{font-family:inherit;cursor:pointer;text-transform:none!important;text-shadow:none!important;letter-spacing:normal;min-height:0;min-width:0;margin:0}
#newdon-tranches .newdon-test{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex-shrink:0;background:#8050a3!important;color:#fff!important;border:1px solid #8050a3!important;border-radius:11px;padding:8px 7px!important;font-size:11px;font-weight:700;line-height:1.3;box-shadow:0 4px 12px #8050a320;width:calc(100% - 14px);margin:0 7px 7px}
#newdon-tranches .newdon-test span{font-size:19px;line-height:1}
#newdon-tranches .newdon-test:hover{background:#6c3e90!important}
#newdon-tranches .newdon-test:disabled{opacity:.45;cursor:default}
#newdon-tranches .newdon-description{font-size:12px;line-height:1.7;color:#82758e;font-weight:400;margin:13px 0 21px;padding:0}
#newdon-tranches .newdon-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
#newdon-tranches .newdon-card{display:flex;flex-direction:column;min-width:0;border:2px solid #ede8f2;border-radius:14px;background:#faf9fc;overflow:hidden;transition:border-color .15s,box-shadow .15s,background .15s}
#newdon-tranches .newdon-card:hover{border-color:#cbb5dc;background:#f7f2fb}
#newdon-tranches .newdon-card.is-selected{background:#fbf6ff;border-color:#9462b7;box-shadow:0 0 0 3px #9462b714}
#newdon-tranches .newdon-item{position:relative;display:flex;flex-direction:column;flex:1;width:100%;border:0!important;border-radius:11px;background:transparent!important;color:#241b32!important;text-align:left;padding:7px!important;box-shadow:none;font-size:14px;font-weight:400;white-space:normal}
#newdon-tranches .newdon-visual{display:flex;align-items:center;justify-content:center;position:relative;width:100%;height:92px;border-radius:9px;overflow:hidden;background:radial-gradient(ellipse at 20% 0,#f1dbf9,transparent 70%),linear-gradient(135deg,#f5eef9,#e8e4f6)}
#newdon-tranches .newdon-image{display:block;width:100%;height:100%;object-fit:cover;margin:0;border:0;border-radius:0}
#newdon-tranches .newdon-placeholder{display:block;max-width:100%;font-size:33px;letter-spacing:-7px;line-height:1.3;padding-right:7px;color:#9d6eb8;overflow:hidden;white-space:nowrap}
#newdon-tranches .newdon-video-icon{position:absolute;display:grid;place-items:center;inset:auto;width:30px;height:30px;border-radius:50%;background:#251738b3;color:#fff;font-size:22px}
#newdon-tranches .newdon-check{display:none;position:absolute;top:6px;right:6px;place-items:center;width:21px;height:21px;border-radius:50%;background:#8752aa;color:#fff;font-size:12px;box-shadow:0 2px 6px #0002}
#newdon-tranches .newdon-active .newdon-check{display:grid}
#newdon-tranches .newdon-content{display:flex;flex-direction:column;flex:1;width:100%;padding:11px 5px 5px;min-width:0}
#newdon-tranches .newdon-name{font-size:12px;line-height:1.4;font-weight:700;display:block;overflow-wrap:anywhere;white-space:normal;margin:0;text-align:left}
#newdon-tranches .newdon-range{display:block;font-size:10px;line-height:1.5;font-weight:400;color:#94859f;margin:5px 0 11px;text-align:left}
#newdon-tranches .newdon-amount{display:block;font-size:22px;line-height:1.1;letter-spacing:-.7px;font-weight:800;margin-top:auto;padding-top:8px;color:#6d4388;text-align:left}
#newdon-tranches .newdon-amount small{font-size:12px;font-weight:600;color:#a289b3}
#newdon-tranches .newdon-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #eee8f3;padding-top:17px;margin-top:20px;font-size:11px;color:#7e628e}
#newdon-tranches .newdon-footer>span{min-width:0;display:flex;align-items:center;gap:6px}
#newdon-tranches .newdon-footer i{width:6px;height:6px;border-radius:50%;background:#9971b0;flex-shrink:0}
#newdon-selection-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#newdon-tranches .newdon-footer small{font-size:10px;white-space:nowrap;color:#9a8aa5}
#newdon-tranches .newdon-empty{padding:28px 0 10px;color:#82758e;font-size:13px}
#newdon-tranches button:focus-visible,#stars-animation-dialog button:focus-visible{outline:3px solid #bd8fdd;outline-offset:3px}
#stars-animation-dialog{box-sizing:border-box;width:min(1100px,calc(100vw - 24px),calc(177.777778dvh - 337.777778px));max-width:calc(100vw - 24px);max-height:94vh;margin:auto;padding:0;border:1px solid #342c40;border-radius:17px;background:#121016;color:#fff;box-shadow:0 30px 100px #0008;overflow:auto;font:14px/1.4 Arial,sans-serif;text-align:left}
#stars-animation-dialog::backdrop{background:#09060fc9;backdrop-filter:blur(5px)}
#stars-animation-dialog .stars-preview-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px 21px;background:#19151f}
#stars-animation-dialog .stars-preview-header span{font-size:9px;letter-spacing:1.7px;color:#aa8fbe;font-weight:700}
#stars-animation-dialog h2{font-size:17px;color:#fff;margin:5px 0 0;font-weight:700;line-height:1.3}
#stars-animation-dialog button{font:600 12px/1.3 Arial,sans-serif;text-shadow:none!important;color:#e9ddf3!important;background:#2d2237!important;border:1px solid #51415e!important;border-radius:8px;padding:9px 12px!important;text-transform:none!important;box-sizing:border-box;height:auto;width:auto;min-width:0;min-height:0;margin:0;cursor:pointer;box-shadow:none}
#stars-animation-dialog .stars-preview-close{font-size:26px;font-weight:400;line-height:1;padding:4px 10px!important;background:transparent!important;border-color:transparent!important}
#stars-animation-dialog .stars-preview-stage{position:relative;width:100%;aspect-ratio:16/9;background:#000;overflow:hidden}
#stars-animation-dialog iframe{position:absolute;width:1920px;height:1080px;border:0;transform-origin:0 0;max-width:none;background:#000}
#stars-preview-status{position:absolute;inset:0;display:grid;place-items:center;margin:0;padding:24px;color:#aaa2b2;text-align:center;font-size:13px;z-index:2;pointer-events:none}
#stars-preview-status[hidden]{display:none}
#stars-animation-dialog .stars-preview-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:14px 20px;background:#19151f}
#stars-animation-dialog .stars-preview-footer>span{margin-right:auto;font-size:11px;color:#aaa0b3}
#stars-animation-dialog #stars-preview-replay{background:#8b5aac!important;border-color:#8b5aac!important;color:#fff!important}
@media(max-width:600px){#newdon-tranches{width:100%;padding:17px;border-radius:15px}#newdon-tranches h2{font-size:20px}#newdon-tranches .newdon-test{padding:8px 4px!important;font-size:9px;gap:4px}#newdon-tranches .newdon-grid{gap:8px}#newdon-tranches .newdon-item{padding:5px!important}#newdon-tranches .newdon-visual{height:80px}#newdon-tranches .newdon-name{font-size:11px}#newdon-tranches .newdon-content{padding:9px 3px 4px}#newdon-tranches .newdon-amount{font-size:20px}#newdon-tranches .newdon-footer{gap:5px}#newdon-tranches .newdon-footer small{font-size:9px}#stars-animation-dialog .stars-preview-header{padding:13px 15px}#stars-animation-dialog .stars-preview-footer{padding:12px 15px;flex-wrap:wrap}#stars-animation-dialog .stars-preview-footer>span{flex-basis:100%;margin-bottom:2px}}
@media(max-width:380px){#newdon-tranches .newdon-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#newdon-tranches .newdon-header{align-items:flex-start}#newdon-tranches h2{font-size:18px}#newdon-tranches .newdon-test{font-size:10px;padding:8px 5px!important}}
@media(prefers-reduced-motion:reduce){#newdon-tranches .newdon-card{transition:none}}

/* Compact previews retain the full artwork and a quiet selection border. */
#newdon-tranches .newdon-item{padding:0!important;border-radius:0}
#newdon-tranches .newdon-visual{height:76px;border-radius:0}
#newdon-tranches .newdon-content{padding:7px 8px 6px;gap:3px}
#newdon-tranches .newdon-name{font-size:12px;line-height:1.25}
#newdon-tranches .newdon-range{font-size:9px;line-height:1.3;margin:0}
#newdon-tranches .newdon-amount{font-size:17px;line-height:1.1;padding-top:3px;letter-spacing:-.3px}
#newdon-tranches .newdon-test{height:27px;padding:4px 5px!important;margin:0 6px 6px;width:calc(100% - 12px);font-size:10px;border-radius:7px;box-shadow:none}
#newdon-tranches .newdon-test span{font-size:15px}
#newdon-tranches .newdon-description{margin:9px 0 14px}
#newdon-tranches .newdon-footer{margin-top:12px;padding-top:11px}
@media(max-width:600px){#newdon-tranches .newdon-visual{height:68px}#newdon-tranches .newdon-content{padding:6px}#newdon-tranches .newdon-name{font-size:11px}}
