/* Hilfsmittel (launch-12): Werkzeugleiste mit 4 Kacheln, Comic-Effekte, Zahlen-Auswahl. */
/* Leiste: je zwei Kacheln links und rechts der (schmaleren) Vorschau – passt ab 375 px. */
.aw .is-campaign .preview {left:29%;width:42%;}
.aw .campaign-tool {width:12.6%;border-radius:15px;gap:.2cqw;}
.aw .campaign-tool small {font-size:clamp(8px,2.35cqw,11.5px);}
.aw .campaign-tool .ct-ico {width:70%;height:50%;}
.aw .campaign-tool .ct-plus {font-size:clamp(16px,5.4cqw,26px);}
.aw .campaign-tool b {top:-2cqw;right:-1.4cqw;min-width:5.6cqw;height:5.6cqw;padding:0 1.1cqw;font-size:clamp(10px,3cqw,14px);line-height:calc(5.6cqw - 4px);}
/* Hinweise im Abenteuer über der Werkzeugleiste statt dahinter */
.aw .is-campaign .gesture-note {top:auto;bottom:calc(100% - 157cqw + 8px);z-index:5;max-width:92%;line-height:1.25;}
#tool-extra {left:1.5%;}
#tool-hint {left:15%;}
#tool-rocket {right:15%;left:auto;}
#tool-wand {right:1.5%;left:auto;}
.campaign-tool.is-busy .ct-ico {animation:tfx-think .7s ease-in-out infinite alternate;}
@keyframes tfx-think {to {transform:scale(1.12) rotate(-6deg);}}

.tool-fx {position:fixed;inset:0;z-index:60;pointer-events:none;overflow:hidden;}
.tool-fx > div {position:absolute;}
.tfx-rocket svg,.tfx-boom svg,.tfx-spark svg,.tfx-arrow svg {width:100%;height:100%;display:block;overflow:visible;}
.tfx-rocket {filter:drop-shadow(0 3px 2px #0008);will-change:transform;}
.tfx-puff {border-radius:50%;background:#fffbea;border:2.5px solid #1b1030;box-sizing:border-box;animation:tfx-puff .5s ease-out forwards;}
@keyframes tfx-puff {from {transform:scale(.5);opacity:.95;} to {transform:scale(1.5);opacity:0;}}
.tfx-boom {animation:tfx-boom .66s cubic-bezier(.2,1.6,.4,1) forwards;filter:drop-shadow(0 4px 0 #1b103066);}
.tfx-boom.is-reduced {animation:tfx-fade .45s ease-out forwards;}
@keyframes tfx-boom {0% {transform:scale(.2) rotate(-12deg);opacity:1;} 35% {transform:scale(1.12) rotate(4deg);opacity:1;} 70% {transform:scale(1) rotate(0);opacity:1;} 100% {transform:scale(1.05);opacity:0;}}
@keyframes tfx-fade {from {opacity:1;} to {opacity:0;}}
.tfx-spark {animation:tfx-spark .58s ease-out forwards;}
.tfx-spark.is-magic {animation-duration:.72s;}
.tfx-spark.is-reduced {animation:tfx-fade .5s ease-out forwards;}
@keyframes tfx-spark {0% {transform:translate(0,0) scale(.3) rotate(0);opacity:1;} 60% {opacity:1;} 100% {transform:translate(var(--dx),var(--dy)) scale(1) rotate(90deg);opacity:0;}}
.tfx-shake {animation:tfx-shake .34s ease-out;}
@keyframes tfx-shake {0%,100% {transform:none;} 20% {transform:translate(-5px,2px);} 40% {transform:translate(4px,-3px);} 60% {transform:translate(-3px,1px);} 80% {transform:translate(2px,-1px);}}
.tfx-lane {border-radius:18px;background:#ffd84a40;border:3px dashed #ffd84a;box-shadow:0 0 0 2px #1b103080,0 0 18px #ffd84a80;animation:tfx-lane .8s ease-in-out infinite alternate;}
@keyframes tfx-lane {from {opacity:.65;} to {opacity:1;}}
.tfx-arrow {transform:rotate(var(--rot));filter:drop-shadow(0 3px 0 #1b103080);}
.tfx-arrow svg {animation:tfx-nudge .55s ease-in-out infinite alternate;}
.tfx-arrow.is-reduced svg {animation:none;}
@keyframes tfx-nudge {from {transform:translateX(-14%);} to {transform:translateX(14%);}}

.tfx-picker-veil {inset:0;background:#05061280;}
.tfx-picker {position:absolute;left:50%;transform:translateX(-50%);width:min(92vw,360px);box-sizing:border-box;padding:12px 14px 14px;
  border:3px solid #0b0a16;border-radius:22px;background:linear-gradient(180deg,#2e2d58,#1c1b3a);
  box-shadow:inset 0 0 0 2px #ffd25a,inset 0 3px 0 #ffffff30,0 10px 24px #000a;color:#fff;font-family:var(--aw-comic);text-align:center;
  animation:tfx-pop .22s cubic-bezier(.2,1.5,.4,1);}
@media (prefers-reduced-motion:reduce){.tfx-picker{animation:none;}}
@keyframes tfx-pop {from {transform:translateX(-50%) scale(.85);opacity:0;}}
.tfx-picker-title {font:700 22px/1.1 var(--aw-comic);color:#ffd25a;text-shadow:0 2px 0 #6a3304;}
.tfx-picker-sub {font:700 14px/1.2 var(--aw-comic);margin:2px 0 10px;color:#e8e6ff;}
.tfx-picker-grid {display:flex;flex-wrap:wrap;justify-content:center;gap:10px;}
.tfx-num {width:52px;height:52px;border:3px solid #0b0a16;border-radius:16px;cursor:pointer;color:#fff;
  background:linear-gradient(180deg,var(--hi),var(--mid) 60%,var(--lo));box-shadow:inset 0 2px 0 #ffffff90,inset 0 -5px 0 #00000040,0 4px 0 #0b0a16;
  font:700 28px/1 var(--aw-comic);text-shadow:2px 0 0 #140a10,-2px 0 0 #140a10,0 2px 0 #140a10,0 -2px 0 #140a10,1.4px 1.4px 0 #140a10,-1.4px 1.4px 0 #140a10,1.4px -1.4px 0 #140a10,-1.4px -1.4px 0 #140a10;}
.tfx-num:active {transform:translateY(3px);box-shadow:inset 0 2px 0 #ffffff90,inset 0 -3px 0 #00000040,0 1px 0 #0b0a16;}
.tfx-num:focus-visible,.tfx-cancel:focus-visible {outline:3px solid #ffd25a;outline-offset:2px;}
.tfx-cancel {margin-top:12px;min-height:40px;padding:0 20px 3px;border:3px solid #0b0a16;border-radius:99px;cursor:pointer;color:#fff;
  background:linear-gradient(180deg,#545887,#2c2e52);box-shadow:inset 0 2px 0 #ffffff50,inset 0 -4px 0 #1a1b36,0 3px 0 #0b0a16;
  font:700 17px/1 var(--aw-comic);text-shadow:0 2px 0 #14152e;}
