#guide-art:empty{display:none}#guide-icon{display:none}#guide-dialog{width:min(350px,calc(100vw - 32px));max-height:calc(100dvh - 36px);padding:25px 24px;box-sizing:border-box;overflow:auto;background:radial-gradient(ellipse at top,#666886,#2a3249 75%);backdrop-filter:none}#guide-title{font-size:23px;margin:5px 0 16px}#guide-body{font-size:14px;line-height:1.4;margin:14px 0 18px;color:#fff0bd}#guide-ok{width:100%;min-height:48px}
.visual-guide{position:relative;width:100%;min-height:175px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:17px;overflow:hidden;border-radius:20px;background:radial-gradient(ellipse,#64738e66,#17253b66);padding:20px 12px;box-sizing:border-box}.visual-guide .orb-art{display:block;width:100%;height:100%;filter:none;animation:none}.demo-board{position:relative;display:grid;grid-template-columns:repeat(4,38px);grid-template-rows:repeat(3,38px);gap:4px;padding:6px;border-radius:15px;background:#17213780;border:1px solid #ccd7ea5c}.demo-cell{display:grid;place-items:center;border-radius:9px;background:#ffffff0a;border:1px solid #fff1;position:relative}.demo-cell>.orb-art{width:34px;height:34px}.demo-target{outline:2px solid #ffe69b;outline-offset:-2px}.demo-force{position:absolute;z-index:3;color:#d5fff8;font-size:38px;left:-10px;top:47px;text-shadow:0 0 8px #86eed6;animation:demo-wind 2.7s ease-in-out infinite}.demo-moving{position:absolute;left:132px;top:48px;width:36px;height:36px;opacity:0;animation:demo-place 2.7s ease-in-out infinite}.demo-line{animation:demo-clear 2.7s ease-in-out infinite}.demo-counter{display:flex;align-items:center;justify-content:center;gap:9px;font-size:22px;color:#fff0b5}.demo-counter>span:first-child{width:30px;height:30px}.demo-complete{letter-spacing:3px;color:#ffe6a6;font-size:17px;animation:demo-spark 2.7s ease-in-out infinite}.scene-row .demo-moving,.scene-wind .demo-moving{left:48px;animation:demo-push 2.7s ease-in-out infinite}.scene-column .demo-moving{left:90px;top:6px;animation:demo-down 2.7s ease-in-out infinite}.scene-column .demo-force{left:133px;top:20px;animation:demo-down 2.7s ease-in-out infinite}.scene-seed .demo-moving{left:132px;top:90px}.scene-seed .demo-force{display:none}.scene-steal .demo-moving{left:90px;top:48px;animation:demo-steal 2.7s ease-in-out infinite}.scene-steal .demo-force{left:142px;top:0}.demo-shield{position:absolute;width:72px;height:80px;left:50px;top:27px;animation:demo-shield 2.7s ease-in-out infinite}.scene-steal .demo-shield{left:133px;top:-5px;width:35px;height:40px}.scene-armor .demo-force{display:none}.scene-rotate .demo-moving{display:none}.scene-rotate .demo-shape{position:absolute;left:44px;top:28px;width:76px;height:76px;animation:demo-rotate 2.7s ease-in-out infinite}.demo-shape i{position:absolute;width:35px;height:35px}.sq-0{left:0;top:0}.sq-1{left:0;top:38px}.sq-2{left:38px;top:38px}.scene-rotate .demo-force{left:135px;top:45px}.scene-rotate .demo-cell>.orb-art{opacity:.15}
.demo-duel-rivals{display:flex;align-items:center;justify-content:center;gap:28px;width:100%;color:#f5e8c4}.demo-duel-rivals>span{display:flex;align-items:center;gap:5px;font-size:12px}.demo-duel-rivals .orb-art{width:35px;height:35px}.demo-duel-rivals strong{font-size:26px;color:#dfd9f7}.demo-you{color:#baebff}.demo-rival{color:#ffd0e6}.demo-duel-line{position:relative;display:flex;gap:3px;background:#192439aa;border:1px solid #fff4;border-radius:12px;padding:5px}.demo-duel-line>i{width:32px;height:32px;animation:demo-clear 2.7s ease-in-out infinite}.demo-duel-line .demo-dropping{animation:demo-place 2.7s ease-in-out infinite}.demo-hp{position:relative;width:155px;height:9px;border-radius:10px;background:#111f32;border:1px solid #fff3;margin-bottom:5px}.demo-hp i{display:block;width:100%;height:100%;border-radius:inherit;background:#ef90b8;animation:demo-hp 2.7s infinite}.demo-hp b{position:absolute;right:-15px;top:-14px;font-size:12px;color:#ffe5ba;animation:demo-spark 2.7s infinite}.demo-pass{display:flex;align-items:center;gap:10px;color:#c4d8ee;font-size:18px}.demo-pass .orb-art{width:26px;height:26px}.demo-pass small{font-size:11px}.demo-items{display:flex;gap:18px}.demo-items>span{width:55px;height:70px;position:relative}.demo-items .orb-art{height:55px}.demo-items b{position:absolute;top:12px;left:0;right:0;text-align:center;font-size:25px;color:#fff1b4;text-shadow:0 1px 5px #633065}.demo-items i{display:block;font-size:11px;text-align:center;font-style:normal;color:#fff0b9;margin-top:7px}.demo-burst{color:#ffe2a5;font-size:25px;animation:demo-spark 2.7s infinite}.demo-clock{display:flex;align-items:center;gap:18px;position:relative}.demo-clock .orb-art{width:60px;height:60px}.demo-clock>b{position:absolute;left:15px;top:9px;font-size:33px;color:#fff9d6}.demo-clock>strong{font-size:27px;color:#eee2c5}.demo-clock>em{font-size:35px;font-style:normal;color:#a6f1d5;animation:demo-spark 2.7s infinite}.demo-fever{width:75%;text-align:center;color:#ffe2a5}.demo-fever>span{font-size:25px}.demo-fever>div{height:10px;background:#1c2239;margin:15px 0;border-radius:8px;overflow:hidden}.demo-fever i{height:100%;display:block;background:linear-gradient(90deg,#90cfff,#ffa8d8,#ffe195);animation:demo-charge 2.7s infinite}.demo-fever b{font-size:38px;color:#ffc6eb}.guide-chips{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.guide-chip{display:inline-flex;align-items:center;gap:5px;padding:7px 9px;background:#172b4166;border:1px solid #dcecff44;border-radius:12px;font-size:12px;white-space:nowrap}.guide-chip .orb-art{width:25px;height:25px}.guide-chip b{color:#fff0b9}.guide-chip em{font-style:normal;color:#ccecf0}.story-stars{display:flex;justify-content:center;gap:14px;margin-top:12px;color:#ffe6a6;font-size:11px}#story-rules{line-height:1.4;padding:12px 5px;background:none}#story-body:empty{display:none}#story-dialog:not(.boss-intro) #story-body{font-size:12px;line-height:1.5;margin:8px 0}#practice-note{display:flex;gap:8px;justify-content:center}#help-visuals{display:grid;gap:12px}#help-visuals .visual-guide{min-height:130px;padding:12px}#help-visuals h3{font-size:15px;margin:14px 0 6px}#help-visuals .visual-guide.scene-duel{min-height:210px}.help-facts{font-size:11px!important;color:#d8dceb!important;line-height:1.6!important;margin:14px 0}.intent-badge small{display:flex;align-items:center;gap:5px}.intent-badge .intent-diagram{font-size:13px;color:#ffe5ae;letter-spacing:3px}.auto-match{display:flex;align-items:center;justify-content:center;gap:12px;margin:20px 0}.auto-match>div{border:1px solid #a8dfff66;border-radius:18px;padding:13px 8px;width:95px;background:#42628344}.auto-match>div:last-child{border-color:#ef9ec866;background:#88517344}.auto-match .orb-art{width:44px;height:44px;margin:auto}.auto-match b,.auto-match small{display:block;margin-top:6px}.auto-match small{font-size:10px;color:#d9dcef}.auto-match strong{color:#f5e1b5}.auto-match #vs-profile{margin:6px 0 0;font-size:12px}.match-caption{font-size:12px;color:#dddbea}#vs-record{font-size:12px;margin:6px 0;color:#dfd3ee}#vs-lobby .vs-rule{display:none}
@keyframes demo-place{0%,10%{opacity:0;transform:translateY(-38px) scale(.8)}35%,68%{opacity:1;transform:none}90%,100%{opacity:0;transform:none}}@keyframes demo-clear{0%,58%,100%{opacity:1;filter:none}70%{opacity:.2;filter:brightness(1.6)}85%{opacity:0}}@keyframes demo-push{0%,15%{opacity:1;transform:none}60%,83%{opacity:1;transform:translateX(42px)}100%{opacity:0;transform:translateX(42px)}}@keyframes demo-down{0%,15%{opacity:1;transform:none}60%,83%{opacity:1;transform:translateY(42px)}100%{opacity:0;transform:translateY(42px)}}@keyframes demo-wind{0%,15%{opacity:0;transform:translateX(-8px)}50%{opacity:1}80%,100%{opacity:0;transform:translateX(100px)}}@keyframes demo-steal{0%,20%{opacity:1;transform:none}70%,100%{opacity:0;transform:translate(58px,-56px) scale(.4)}}@keyframes demo-shield{0%,30%{opacity:.15;transform:scale(.75)}50%,65%{opacity:1;transform:scale(1)}85%,100%{opacity:0;transform:scale(1.25)}}@keyframes demo-rotate{0%,25%{transform:rotate(0deg)}65%,100%{transform:rotate(90deg)}}@keyframes demo-spark{0%,40%,100%{opacity:.4;transform:scale(.9)}65%,80%{opacity:1;transform:scale(1.08)}}@keyframes demo-hp{0%,40%,100%{width:100%}65%,90%{width:70%}}@keyframes demo-charge{0%{width:10%}70%,100%{width:100%}}
.scene-paused .visual-guide *{animation-play-state:paused!important}@media(prefers-reduced-motion:reduce){.visual-guide *{animation:none!important}.demo-moving{opacity:1}.demo-hp i{width:70%}.demo-fever i{width:100%}.demo-force{opacity:1}}@media(max-height:650px){#guide-dialog{padding:16px 20px}.visual-guide{min-height:155px;padding:12px}.demo-board{transform:scale(.88);margin:-8px 0}.demo-counter{margin-top:-8px}#guide-title{font-size:21px;margin-bottom:10px}}

/* Equal rival cards: the same artwork, label and rating rows on both sides. */
#vs-lobby .auto-match{display:grid;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr);align-items:stretch;gap:10px}
#vs-lobby .auto-match>div{box-sizing:border-box;width:auto;min-width:0;display:grid;grid-template-rows:48px minmax(28px,auto) 28px;align-items:center;justify-items:center;gap:5px;padding:14px 8px}
#vs-lobby .auto-match>strong{align-self:center}
#vs-lobby .auto-match>div>span{display:grid;place-items:center;width:48px;height:48px}
#vs-lobby .auto-match .orb-art{width:46px;height:46px}
#vs-lobby .auto-match small{margin:0;font-size:11px;line-height:1.25;word-break:keep-all;overflow-wrap:normal}
#vs-lobby .auto-match #vs-profile,#vs-lobby .auto-match #vs-opponent{margin:0;font-size:22px;line-height:28px;font-weight:850;color:#fff3d6;font-variant-numeric:tabular-nums}
.first-boss-rules{display:grid;gap:12px;margin:18px 0}.first-boss-rules>div{display:grid;grid-template-columns:100px 1fr;align-items:center;gap:10px;padding:12px 10px;border:1px solid #c5ddf02e;border-radius:16px;background:#18263d55;text-align:left}.first-boss-rules span{display:flex;align-items:center;justify-content:center;gap:3px;color:#ffe0a2}.first-boss-rules img{width:30px;height:30px}.first-boss-rules strong{font-size:17px;white-space:nowrap}.first-boss-rules b{font-size:14px;line-height:1.5;word-break:keep-all}@media(max-width:360px){.first-boss-rules>div{grid-template-columns:85px 1fr;padding:10px 8px;gap:8px}.first-boss-rules img{width:26px;height:26px}.first-boss-rules b{font-size:13px}}

/* Theft takes the marked flower; it does not create a shield in the illustration. */
.scene-steal .demo-line{animation:none}
.scene-steal .demo-target>.orb-art{visibility:hidden}
.scene-steal .demo-force{display:none}
.practice-kicker{display:block;text-align:center;color:#c4ddd9;margin-bottom:10px}
.practice-countdown{margin:10px 0 0!important;text-align:center;font-weight:800;color:#ffe6a7!important;font-size:20px!important}
.guide-chip small{font-size:12px;font-style:normal}
