/* Premium points dialog; isolated from scoring logic and the ladder. */
html body #yella-points-dialog{width:min(680px,calc(100vw - 24px));max-height:90dvh;padding:24px;background:linear-gradient(145deg,#08313b,#031f28 65%);color:#edf4f1;border:1px solid #497781;border-radius:18px;box-shadow:0 24px 80px #0008}
#yella-points-dialog *{box-sizing:border-box}
#yella-points-dialog .yp20-header{position:relative;isolation:isolate;padding:0 0 16px}
.yp20-header:before{content:"";position:absolute;z-index:-1;inset:-24px -24px 0 35%;opacity:.18;background:repeating-radial-gradient(ellipse at 70% -40%,transparent 0 14px,#86a498 15px,transparent 16px 27px);mask-image:linear-gradient(#000,transparent)}
#yella-points-dialog .yp20-logo{display:block;width:215px;max-width:65%;height:auto;object-fit:contain;margin:0 0 20px}
#yella-points-dialog .yella-points-close{position:absolute;right:0;top:0;width:40px;height:40px;border:1px solid #62838b;border-radius:50%;background:#082833;color:#eef4f0;font:400 28px/1 system-ui}
#yella-points-dialog .yp20-header h2{font:750 clamp(26px,5vw,36px)/1.15 system-ui;text-transform:none;letter-spacing:-.8px;margin:0 0 8px;color:#f3f6ee;border:0}
#yella-points-dialog .yp20-header p{margin:0;color:#bfd4d9;font:400 15px/1.5 system-ui}
.yp20-main{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.yp20-card{display:flex;align-items:center;gap:14px;padding:18px 14px;border:1px solid #9b8a56;border-radius:12px;background:linear-gradient(145deg,#123e49,#052630)}
#yella-points-dialog .yp20-card h3{font:700 11px/1.5 system-ui;letter-spacing:1px;text-transform:uppercase;margin:0 0 4px;color:#e8f0ec}
.yp20-icon{display:grid;place-items:center;flex-shrink:0;width:52px;height:52px;border:1px solid #426b73;border-radius:50%;background:radial-gradient(circle at top,#1b4953,#062730);color:#f4d07b}
.yp20-icon svg{width:34px;height:34px}.yp20-card strong{font:800 40px/1.2 system-ui;color:#f5cd74;white-space:nowrap}.yp20-card strong small{font:550 12px/1.4 system-ui;color:#ecf1eb}
#yella-points-dialog .yp20-card p{font:400 12px/1.5 system-ui;color:#c8d8db;margin:5px 0 0}
#yella-points-dialog .yp20-check{font-size:12px;color:#aac4cd;margin:12px 0 22px}
#yella-points-dialog .yp20-heading{font:700 20px/1.4 system-ui;text-transform:none;color:#eff4ee;margin:0 0 8px}
.yp20-bonuses>div{display:flex;align-items:center;gap:14px;border-bottom:1px solid #2c505b;padding:12px 0}.yp20-bonuses>div>span:nth-child(2){flex:1;min-width:0}
.yp20-bonuses b{font:650 15px/1.4 system-ui;color:#edf3ed}.yp20-bonuses small{display:block;color:#adc7ce;font:400 12px/1.6 system-ui}.yp20-bonuses strong{color:#f4cf7b;font:800 26px/1.3 system-ui;white-space:nowrap}
.yp20-example{display:flex;align-items:center;gap:18px;margin:18px 0;padding:18px;border:1px solid #e4bd64;border-radius:12px;background:linear-gradient(115deg,#19414b,#052630)}
.yp20-example>svg{width:76px;height:76px;flex-shrink:0;color:#eac879}.yp20-example>div>span{display:block;font:650 10px/1.5 system-ui;text-transform:uppercase;letter-spacing:1px;color:#ebcb7e}.yp20-example strong{display:block;font:800 42px/1.2 system-ui;color:#f6d27d}.yp20-example strong small{font:500 15px system-ui;color:#eef5ef}
#yella-points-dialog .yp20-example p{font-size:13px;color:#d7e5e5;margin:4px 0 8px}.yp20-example>div>small{display:block;font:400 11px/1.5 system-ui;border-top:1px solid #536c65;padding-top:8px;color:#b8d0d5}
#yella-points-dialog .yp18-details{border:1px solid #395f6b;border-radius:9px;background:#082f3a;margin:8px 0;padding:12px 14px}
#yella-points-dialog .yp18-details summary{color:#edf3ef;font-weight:650;min-height:22px}
html body #yella-points-dialog .yella-points-done{display:block;width:100%;min-height:46px;margin-top:12px;border:1px solid #e9c774;border-radius:9px;background:linear-gradient(#ffdf91,#d8a641);font:750 15px system-ui;color:#08232c}
#yella-points-dialog .yp20-footer{font:400 11px/1.5 system-ui;color:#9ebdc7;text-align:center;margin:10px 0 0}
#yella-points-dialog button:focus-visible,#yella-points-dialog summary:focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(max-width:540px){html body #yella-points-dialog{padding:18px;max-height:88dvh}.yp20-main{grid-template-columns:1fr;gap:9px}.yp20-card{padding:12px 14px}.yp20-card>div{flex:1}.yp20-card strong{font-size:34px}.yp20-icon{width:44px;height:44px}.yp20-icon svg{width:29px;height:29px}.yp20-bonuses>div{gap:10px}.yp20-bonuses b{font-size:13px}.yp20-bonuses small{font-size:11px}.yp20-bonuses strong{font-size:23px}.yp20-example{padding:13px;gap:10px}.yp20-example>svg{width:46px;height:46px}#yella-points-dialog .yp20-heading{font-size:18px}.yp20-example strong{font-size:36px}}
