dialog.result-modal{padding:0;background:#071225 url('/assets/menu/result-lounge.png') center/cover no-repeat;--result-accent:#75dfff}
dialog.result-modal [hidden]{display:none!important}
dialog.result-modal::before{content:"";position:fixed;inset:0;pointer-events:none;background:linear-gradient(90deg,#041025df,#06142ca8 48%,#031022dc),linear-gradient(0deg,#030b1acc,transparent 35%);z-index:0}
dialog.result-modal .result-vignette{z-index:0;background:radial-gradient(ellipse at 50% 42%,transparent 8%,#0207139c 96%)}
dialog.result-modal .result-panel{width:min(1700px,100%);min-height:100dvh;margin:0 auto;padding:clamp(20px,3vw,52px) clamp(20px,4.5vw,78px) 25px;display:flex;align-items:stretch;justify-content:flex-start;gap:0;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;animation:result-scene-in .7s ease-out both}
dialog.result-modal .result-topline{display:flex;align-items:center;justify-content:space-between;min-height:68px;color:#80dfff;letter-spacing:.16em}
dialog.result-modal .result-brand{display:flex;align-items:center;gap:13px;color:white;text-decoration:none;font:900 clamp(18px,1.9vw,29px)/.83 var(--body);letter-spacing:.06em;text-align:left}
.result-brand-mark{width:50px;height:50px;position:relative;border:8px solid white;border-right-color:transparent;border-bottom-color:#19c8e9;border-radius:50%;transform:rotate(-32deg)}
.result-brand-mark::after{content:"";position:absolute;left:11px;top:11px;width:13px;height:13px;border-radius:50%;background:white}
dialog.result-modal .result-layout{flex:1;display:grid;grid-template-columns:minmax(260px,.88fr) minmax(250px,.9fr) minmax(390px,1.25fr);align-items:center;gap:clamp(22px,2.5vw,48px);min-height:0}
.result-brand .brand-domain{display:block;font-size:.42em;line-height:1.05;letter-spacing:.13em;text-transform:none}
dialog.result-modal .result-lead{text-align:left;align-self:center;display:flex;flex-direction:column;align-items:stretch;gap:0}
dialog.result-modal .result-kicker{color:#83e9ff;font:900 clamp(12px,1vw,17px) var(--display);letter-spacing:.2em;text-shadow:0 0 15px #38d9ff74}
dialog.result-modal .result-intro{justify-content:flex-start;min-height:0;margin:20px 0 16px;text-align:left}
dialog.result-modal h2{max-width:420px;font:1000 clamp(55px,6vw,106px)/.78 var(--display);letter-spacing:.015em;text-transform:uppercase;text-wrap:balance;color:#f8fdff;text-shadow:0 5px 20px #000c}
dialog.result-modal h2::first-line{color:#fff}
dialog.result-modal h2 span{display:block;color:#52d7ff;text-shadow:0 5px 20px #000c,0 0 35px #2acaff46}
dialog.result-modal .result-description{max-width:350px;margin:0 0 28px;color:#d5e7f5;font:500 clamp(16px,1.3vw,22px)/1.3 var(--body);text-align:left;text-shadow:0 2px 10px #000}
dialog.result-modal .result-actions{display:flex;flex-direction:column;width:100%;gap:11px;margin:0;transform:translateY(12px)}
dialog.result-modal .result-actions button{width:100%;min-height:clamp(58px,7vh,80px);padding:10px 19px;display:flex;justify-content:space-between;text-align:left;border-radius:17px;font:900 clamp(18px,1.5vw,26px) var(--display);letter-spacing:.02em;white-space:normal}
dialog.result-modal .result-actions button span{font:500 1.2em var(--body)}
dialog.result-modal .result-actions .primary{background:linear-gradient(105deg,#f6fdff,#a7eaff);color:#06182b;border:1px solid #fff;box-shadow:0 0 26px #64dfff65,0 10px 20px #0007}
dialog.result-modal .result-actions .secondary{background:#0e2038ca;color:#e2f5ff;border:1px solid #9cdfff60;box-shadow:inset 0 1px #ffffff18}
dialog.result-modal .result-actions button:hover,dialog.result-modal .result-actions button:focus-visible{transform:translateX(5px);filter:brightness(1.14)}
dialog.result-modal .result-skip{align-self:flex-start;margin-top:16px}
dialog.result-modal .result-art{margin:0;align-self:center;min-width:0;animation:result-art-enter .85s cubic-bezier(.2,.8,.2,1) both}
dialog.result-modal .result-art-frame{width:100%;aspect-ratio:2/2.7;max-height:min(60vh,600px);overflow:hidden;border:4px solid #b6f0ff;border-radius:20px;box-shadow:0 0 0 3px #0b3157,0 0 42px #38d5ff74,0 28px 55px #000a;transform:perspective(900px) rotateY(-2deg)}
dialog.result-modal .result-art-frame img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;animation:result-art-pan 9s ease-out both}
dialog.result-modal .result-art figcaption{margin-top:14px;display:grid;gap:3px;text-align:center;text-shadow:0 3px 14px #000}
dialog.result-modal .result-art figcaption strong{font:900 clamp(27px,2.3vw,39px) var(--display);color:#fff}
dialog.result-modal .result-art figcaption span{font:800 clamp(11px,.85vw,15px) var(--display);letter-spacing:.15em;text-transform:uppercase;color:#8ae8ff}
dialog.result-modal .result-data{align-self:center;min-width:0;padding:clamp(20px,2vw,38px);border:1px solid #6cceffab;border-radius:22px;background:linear-gradient(145deg,#09223fdb,#07162cdd 62%,#08172bdc);box-shadow:0 25px 65px #0009,inset 0 1px #fff2;backdrop-filter:blur(20px);animation:result-data-enter .8s .12s ease-out both}
dialog.result-modal .result-score-kicker{color:#aaeaff;font:900 clamp(13px,1.1vw,18px) var(--display);letter-spacing:.15em}
dialog.result-modal .result-score{min-width:0;padding:15px 0 0;color:#ffdf79;font:1000 clamp(84px,8.5vw,150px)/.85 var(--display);letter-spacing:-.01em;text-shadow:0 0 32px #ffc34455,0 7px 25px #0009}
dialog.result-modal .result-score-label{margin-top:4px;color:#ffdf9d;font-size:13px}
dialog.result-modal .result-stats{margin:26px 0 0;gap:0;padding:20px 0;border-top:1px solid #a6e5ff45;border-bottom:0}
dialog.result-modal .result-stat{min-width:0;padding:0 12px;border-right:1px solid #a4ddff30}
dialog.result-modal .result-stat:last-child{border-right:0}
dialog.result-modal .result-stat::before{content:"✦";display:block;margin-bottom:7px;color:#65dbff;font-size:29px;line-height:1;text-shadow:0 0 15px #46d7ff77}
dialog.result-modal .result-stat span{font-size:clamp(11px,.9vw,15px);color:#9ee5ff;letter-spacing:.06em}
dialog.result-modal .result-stat strong{font-size:clamp(24px,2.2vw,38px);white-space:normal}
dialog.result-modal .result-bonuses{width:100%;padding:7px 0;border-top:1px solid #a6e5ff30}
dialog.result-modal .result-bonus{justify-content:space-between;padding:4px 10px}
dialog.result-modal .result-bonus span{font-size:clamp(15px,1.3vw,21px)}
dialog.result-modal .result-bonus strong{font-size:clamp(28px,2.5vw,44px)}
dialog.result-modal .result-achievement{margin:8px auto}
dialog.result-modal .result-highscore{width:100%;max-width:none;margin-top:14px;justify-content:space-between;padding:13px 17px;background:#152942b8;border-color:#8ecfff3f;border-radius:13px}
dialog.result-modal .result-highscore span{color:#c9eeff;font-size:clamp(15px,1.25vw,21px)}
dialog.result-modal .result-highscore strong{font-size:clamp(26px,2.5vw,40px)}
dialog.result-modal .result-record-note{width:100%;margin-top:10px;padding:12px 16px;display:flex;align-items:center;gap:15px;text-align:left;border:1px solid #ffda70a8;border-radius:13px;background:linear-gradient(100deg,#79521a78,#70522635);box-shadow:0 0 25px #ffca5630;animation:result-record-pop .55s cubic-bezier(.2,1.4,.3,1) both}
dialog.result-modal .result-record-note>span{font-size:38px;color:#ffdb73;line-height:1;text-shadow:0 0 18px #ffca55}
dialog.result-modal .result-record-note strong{display:block;color:#ffda73;font:900 clamp(18px,1.4vw,25px) var(--display)}
dialog.result-modal .result-record-note small{display:block;color:#fff3ce;font:500 clamp(12px,.95vw,16px) var(--body)}
dialog.result-modal .result-community{width:100%;max-width:none;margin:14px 0 0;gap:8px;text-align:left}
dialog.result-modal .result-community-actions{justify-content:flex-start}
dialog.result-modal .result-community-actions button{min-height:44px;padding:7px 11px;font-size:15px}
dialog.result-modal .dialog-gesture-hint{align-self:center;margin-top:15px!important;font-size:13px!important}
@keyframes result-scene-in{from{opacity:0}to{opacity:1}}
@keyframes result-art-enter{from{opacity:0;transform:translateY(25px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes result-art-pan{from{transform:scale(1.08)}to{transform:scale(1)}}
@keyframes result-data-enter{from{opacity:0;transform:translateX(30px)}to{opacity:1;transform:translateX(0)}}
@keyframes result-record-pop{from{opacity:0;transform:scale(.88)}to{opacity:1;transform:scale(1)}}
@media(max-width:1180px){dialog.result-modal .result-layout{grid-template-columns:minmax(230px,.85fr) minmax(190px,.75fr) minmax(320px,1.2fr);gap:20px}dialog.result-modal h2{font-size:clamp(47px,6vw,75px)}dialog.result-modal .result-data{padding:20px}dialog.result-modal .result-art-frame{max-height:55vh}dialog.result-modal .result-score{font-size:clamp(77px,8vw,120px)}}
@media(max-width:850px){dialog.result-modal .result-panel{padding:18px 20px;gap:14px}dialog.result-modal .result-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}dialog.result-modal .result-lead{grid-column:1;grid-row:1}dialog.result-modal .result-art{grid-column:2;grid-row:1}dialog.result-modal .result-data{grid-column:1/-1;grid-row:2;width:100%}dialog.result-modal .result-art-frame{max-height:380px}dialog.result-modal .result-topline{min-height:55px}dialog.result-modal .result-topline>span{display:none}}
@media(max-width:600px){dialog.result-modal .result-panel{padding:17px 15px 25px;min-height:100dvh}dialog.result-modal .result-brand{font-size:18px}.result-brand-mark{width:38px;height:38px;border-width:6px}.result-brand-mark::after{left:8px;top:8px;width:10px;height:10px}dialog.result-modal .result-layout{grid-template-columns:1fr 36%;gap:11px}dialog.result-modal .result-lead{grid-column:1;grid-row:1}dialog.result-modal .result-kicker{font-size:10px}dialog.result-modal .result-intro{margin:10px 0}dialog.result-modal h2{font-size:clamp(38px,10vw,58px)}dialog.result-modal .result-description{font-size:13px;margin-bottom:12px}dialog.result-modal .result-art{grid-column:2;grid-row:1;align-self:start;margin-top:5px}dialog.result-modal .result-art-frame{aspect-ratio:2/3;max-height:235px;border-width:2px;border-radius:12px}dialog.result-modal .result-art figcaption strong{font-size:21px}dialog.result-modal .result-art figcaption span{font-size:9px;letter-spacing:.07em}dialog.result-modal .result-actions{grid-column:1/-1}dialog.result-modal .result-actions button{min-height:48px;padding:8px 10px;font-size:15px;border-radius:10px}dialog.result-modal .result-data{grid-column:1/-1;grid-row:2;padding:17px}dialog.result-modal .result-score{font-size:clamp(86px,21vw,130px)}dialog.result-modal .result-stats{margin-top:15px;padding:13px 0}dialog.result-modal .result-stat{padding:0 5px}dialog.result-modal .result-stat::before{font-size:22px}dialog.result-modal .result-stat span{font-size:10px}dialog.result-modal .result-stat strong{font-size:clamp(19px,5vw,28px)}dialog.result-modal .result-highscore span{font-size:13px}dialog.result-modal .result-highscore strong{font-size:24px}dialog.result-modal .result-record-note small{font-size:11px}dialog.result-modal .dialog-gesture-hint{font-size:11px!important}}
@media(max-height:650px) and (min-width:851px){dialog.result-modal .result-panel{padding-top:15px;padding-bottom:12px}dialog.result-modal .result-layout{gap:18px}dialog.result-modal .result-art-frame{max-height:58vh}dialog.result-modal h2{font-size:clamp(45px,5vw,75px)}dialog.result-modal .result-description{margin-bottom:12px}dialog.result-modal .result-score{font-size:clamp(74px,12vh,115px)}dialog.result-modal .result-stats{margin-top:12px;padding:10px 0}dialog.result-modal .result-highscore{margin-top:6px}}
@media(prefers-reduced-motion:reduce){dialog.result-modal .result-panel,dialog.result-modal .result-art,dialog.result-modal .result-art-frame img,dialog.result-modal .result-data,dialog.result-modal .result-record-note{animation:none!important}}
@media(max-width:600px){dialog.result-modal .result-panel{height:auto;overflow:visible}dialog.result-modal .result-layout{align-items:start}dialog.result-modal .result-score{font-size:clamp(54px,17vw,102px);overflow-wrap:anywhere}dialog.result-modal .result-data{margin-top:4px}dialog.result-modal .result-actions{transform:none}dialog.result-modal .dialog-gesture-hint{padding-bottom:env(safe-area-inset-bottom)}}
@media(max-height:600px) and (min-width:851px){dialog.result-modal .result-panel{height:auto;min-height:100dvh}dialog.result-modal .result-layout{align-items:start;padding-block:15px}dialog.result-modal .result-art-frame{max-height:52vh}dialog.result-modal .result-data{padding:15px}dialog.result-modal .result-score{font-size:clamp(55px,12vh,95px)}}
@media(max-width:600px){dialog.result-modal .result-layout{grid-template-columns:minmax(0,1fr);gap:20px}dialog.result-modal .result-lead,dialog.result-modal .result-art,dialog.result-modal .result-data{grid-column:1;grid-row:auto}dialog.result-modal .result-lead{gap:0}dialog.result-modal h2{font-size:clamp(48px,13vw,74px);max-width:none}dialog.result-modal .result-description{font-size:16px;max-width:none}dialog.result-modal .result-actions{width:100%}dialog.result-modal .result-actions button{min-height:56px;font-size:17px}dialog.result-modal .result-art{width:min(75%,300px);justify-self:center;margin:0}dialog.result-modal .result-art-frame{max-height:340px}dialog.result-modal .result-data{margin:0}dialog.result-modal .result-score{font-size:clamp(72px,19vw,112px)}}
