/* Tutorial v3 (2026-11-15): the dim covers everything except the one thing to press (atlas included),
   and while the player only watches the card is one small line under the HUD with nothing dimmed. */
.tutorial-block260{z-index:9000;background:#020c10b8}
:is(#tutorialRing260){z-index:9001;border-width:3px;animation:tutorial-ring-v3 1.1s ease-in-out infinite}
#tutorialRing260[data-kind="unit"]{border-radius:50%;border-color:#ffe198;box-shadow:0 0 0 4px #ffe19840,0 0 18px #ffe198aa}
#tutorial260{z-index:9002}
#tutorial260[data-compact="true"]{width:auto;max-width:min(460px,calc(100vw - 24px));padding:4px 12px 5px;background:#0c2430d9;border-color:#e9cc8799;text-align:center;pointer-events:none}
#tutorial260[data-compact="true"] .tutorial-drag260,#tutorial260[data-compact="true"] .tutorial-actions260{display:none}
#tutorial260[data-compact="true"] small{display:block;font-size:11px;color:#f4d27a}
#tutorial260[data-compact="true"] strong{font-size:13px}
#tutorial260[data-compact="true"] p{margin:2px 0 0;font-size:12px;line-height:1.3}
@media(max-height:420px){#tutorial260[data-compact="true"]{padding:3px 10px}#tutorial260[data-compact="true"] strong{font-size:12px}#tutorial260[data-compact="true"] p{font-size:11px}#tutorial260[data-compact="true"] small{display:none}}
@keyframes tutorial-ring-v3{0%,100%{opacity:1}50%{opacity:.55}}
@media(prefers-reduced-motion:reduce){#tutorialRing260{animation:none}}
/* Aiming: the card sits under the HUD and never catches the tap meant for the battlefield. */
#tutorial260[data-step="bombAim"]{pointer-events:none}
#tutorial260[data-step="bombAgain"],#tutorial260[data-step="mergeLight"]{pointer-events:none}
/* 2026-11-16 advisor (story 1 commander) + stage panels + progressive hints */
#tutorial260 .tutorial-advisor260{float:left;width:56px;margin:2px 10px 4px 0;text-align:center}
#tutorial260 .tutorial-advisor260[hidden]{display:none}
#tutorial260 .tutorial-advisor260 img{display:block;width:56px;height:56px;object-fit:cover;object-position:top;image-rendering:pixelated;border:2px solid #e3b04b;border-radius:8px;background:#0b1d26;box-sizing:border-box}
#tutorial260 .tutorial-advisor260 span{display:block;margin-top:2px;font-size:10px;line-height:1.15;color:#f4d27a;word-break:keep-all}
#tutorial260 .tutorial-examples260{clear:both}
#tutorial260 .tutorial-examples260>b{font-size:11px;color:#f4d27a;font-weight:700}
#tutorial260 .tutorial-examples260>.tutorial-check260{display:block;padding:4px 8px;border:1px solid #3e4f5c;border-radius:6px;background:#1e2933;color:#ece6d6;font-size:12px}
#tutorial260[data-step="stageClear"] .tutorial-check260{border-color:#62a85a;color:#d9f5cf}
#tutorial260 .tutorial-actions260{clear:both}
#tutorial260[data-compact="true"] .tutorial-advisor260{width:30px;margin:1px 8px 1px 0}
#tutorial260[data-compact="true"] .tutorial-advisor260 img{width:30px;height:30px;border-width:1px;border-radius:6px}
#tutorial260[data-compact="true"] .tutorial-advisor260 span{display:none}
#tutorial260[data-compact="true"]{text-align:left}
#tutorial260[data-praise="true"] strong{color:#9be37a}
#tutorial260[data-hint="2"]{border-color:#ffe198}
/* A small arrow over the ring points at the button to press. */
#tutorialRing260[data-kind="button"]::after{content:'';position:absolute;left:50%;top:-18px;margin-left:-8px;border:8px solid transparent;border-top:10px solid #ffe198;filter:drop-shadow(0 1px 1px #000)}
@media(max-height:420px){#tutorial260 .tutorial-advisor260{width:40px;margin-right:8px}#tutorial260 .tutorial-advisor260 img{width:40px;height:40px}#tutorial260 .tutorial-advisor260 span{font-size:9px}#tutorial260 .tutorial-examples260>.tutorial-check260{padding:2px 6px;font-size:10px}#tutorial260[data-compact="true"] .tutorial-advisor260{width:24px}#tutorial260[data-compact="true"] .tutorial-advisor260 img{width:24px;height:24px}}
/* Stage intro / clear panel: centered, wider, learned items as chips. */
#tutorial260:is([data-step="goal"],[data-step="stageClear"]){width:min(420px,calc(100vw - 24px));max-height:calc(100dvh - 16px);padding:12px 16px;border:2px solid #e3b04b;border-radius:10px;background:linear-gradient(180deg,#1e2933,#14202a);box-shadow:0 10px 30px #000a}
#tutorial260:is([data-step="goal"],[data-step="stageClear"]) small{display:block;color:#f4d27a;font-size:12px;letter-spacing:.5px}
#tutorial260:is([data-step="goal"],[data-step="stageClear"]) strong{font-size:18px}
#tutorial260 .tutorial-examples260{display:flex;flex-wrap:wrap;gap:4px;margin:8px 0 2px}
#tutorial260 .tutorial-examples260>b{flex-basis:100%}
#tutorial260 .tutorial-examples260>.tutorial-check260{display:inline-block}
#tutorial260:is([data-step="goal"],[data-step="stageClear"]) .tutorial-actions260{justify-content:center}
#tutorial260:is([data-step="goal"],[data-step="stageClear"]) #tutorialAction260{min-width:160px}
@media(max-height:420px){#tutorial260:is([data-step="goal"],[data-step="stageClear"]){padding:6px 12px;width:min(460px,calc(100vw - 24px))}#tutorial260:is([data-step="goal"],[data-step="stageClear"]) strong{font-size:14px}#tutorial260 .tutorial-examples260{margin:4px 0 0}}
#tutorial260 .tutorial-advisor260 span{overflow-wrap:anywhere}
#tutorial260:is([data-step="goal"],[data-step="stageClear"]) small{font-size:14px;letter-spacing:3px}
@media(max-height:420px){#tutorial260 .tutorial-advisor260 span{display:none}}
