:root{
  --gfw-green:#0d5a43;
  --gfw-green-2:#083f32;
  --gfw-green-3:#052e26;
  --gfw-gold:#c99b32;
  --gfw-gold-2:#f3d77c;
  --gfw-cream:#fffaf0;
  --gfw-ink:#193029;
  --gfw-soft:#edf6f1;
}

.gfw-app{font-family:inherit;color:var(--gfw-ink);margin:12px auto;max-width:none;width:min(100vw - 30px, 1840px);padding:0;box-sizing:border-box;position:relative;left:50%;transform:translateX(-50%)}
.gfw-app *{box-sizing:border-box}
.gfw-shell{background:linear-gradient(180deg,#fff 0%,#fbfdfc 100%);border:1px solid #dce9e2;border-radius:26px;box-shadow:0 22px 60px rgba(13,90,67,.08);overflow:hidden;width:100%}
.gfw-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:24px 28px 14px}
.gfw-brand-copy{min-width:0}
.gfw-kicker{font-size:11px;font-weight:950;letter-spacing:.12em;color:#2f8d67;margin-bottom:5px}
.gfw-head h1{font-size:clamp(30px,3.4vw,48px);line-height:1;margin:0 0 8px;color:#0d4c39;font-weight:950}
.gfw-head p{margin:0;max-width:760px;color:#587269;font-size:15px;line-height:1.45}
.gfw-ghost,.gfw-secondary,.gfw-primary,.gfw-spin,.gfw-tab,.gfw-reel-card-toggle,.gfw-reel-tool{font:inherit;border:0;cursor:pointer;font-weight:900}
.gfw-ghost{background:#edf7f2;color:#176044;border-radius:13px;padding:10px 15px;white-space:nowrap}
.gfw-game-only{display:none!important}
.gfw-app.is-machine-view .gfw-game-only{display:inline-flex!important}
.gfw-tabs{display:flex;gap:8px;padding:0 28px 16px}
.gfw-tab{padding:9px 16px;border-radius:999px;background:#edf3f0;color:#49665d}
.gfw-tab.is-active{background:#0e6047;color:white}
.gfw-panel{display:none;padding:0 0 14px}
.gfw-panel.is-active{display:block}

/* EDITOR */
.gfw-editor-top{display:grid;grid-template-columns:minmax(220px,1.25fr) minmax(220px,1fr) 120px;gap:12px;margin-bottom:12px}
.gfw-field,.gfw-mini-label{display:flex;flex-direction:column;gap:6px}
.gfw-field span,.gfw-mini-label span{font-size:12px;font-weight:900;color:#315e50}
.gfw-field em,.gfw-mini-label em{font-style:normal;font-weight:600;color:#8aa096}
.gfw-field input,.gfw-field select,.gfw-mini-label input,.gfw-mini-label textarea{width:100%;border:1px solid #ccddd5;background:#fff;border-radius:12px;color:#173d31;font:inherit;outline:none;transition:border-color .12s,box-shadow .12s}
.gfw-field input,.gfw-field select,.gfw-mini-label input{height:43px;padding:0 12px}
.gfw-field input:focus,.gfw-field select:focus,.gfw-mini-label input:focus,.gfw-mini-label textarea:focus{border-color:#63aa8d;box-shadow:0 0 0 3px rgba(53,145,108,.11)}
.gfw-help{background:#f5faf7;border:1px solid #dbeae3;border-radius:13px;padding:10px 12px;font-size:12px;color:#547168;margin-bottom:12px}
.gfw-help strong{color:#1a6a4e}
.gfw-reel-editors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.gfw-reel-card{border:1px solid #d9e7e0;background:#fff;border-radius:15px;overflow:hidden;box-shadow:0 5px 15px rgba(15,84,63,.035);transition:border-color .15s,box-shadow .15s}
.gfw-reel-card.has-error{border-color:#c85656;box-shadow:0 0 0 3px rgba(200,86,86,.1)}
.gfw-reel-card-toggle{width:100%;min-height:58px;background:#fff;color:#173d31;display:flex;align-items:center;gap:10px;text-align:left;padding:9px 12px}
.gfw-reel-card-toggle:hover{background:#fbfdfc}
.gfw-reel-num{flex:0 0 auto;width:34px;height:34px;border-radius:11px;background:#e9f5ef;color:#176247;display:grid;place-items:center;font-size:13px;font-weight:950}
.gfw-reel-summary{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.gfw-reel-summary strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gfw-reel-summary small{font-size:11px;color:#789087;font-weight:750}
.gfw-reel-chevron{width:22px;height:22px;display:grid;place-items:center;color:#55756a;transition:transform .15s ease}
.gfw-reel-chevron svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.gfw-reel-card.is-open .gfw-reel-chevron{transform:rotate(180deg)}
.gfw-reel-card-body{display:none;border-top:1px solid #e6efea;padding:12px;grid-template-columns:minmax(160px,.65fr) minmax(240px,1.35fr);gap:10px;background:#fbfdfc}
.gfw-reel-card.is-open .gfw-reel-card-body{display:grid}
.gfw-mini-label textarea{min-height:92px;resize:vertical;padding:10px 12px;line-height:1.4}
.gfw-editor-actions,.gfw-machine-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:15px}
.gfw-secondary,.gfw-primary{border-radius:13px;padding:11px 17px}
.gfw-secondary{background:#edf5f1;color:#1b654b}
.gfw-primary{background:#0d6047;color:white;box-shadow:0 7px 16px rgba(13,96,71,.16)}


/* BUILDER 0.3 */
.gfw-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.gfw-builder{padding:0 20px 22px;max-width:1500px;margin:0 auto}
.gfw-builder-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px;margin:0 0 12px;border:1px solid #d8eadf;border-radius:18px;background:linear-gradient(135deg,#f7fcf9 0%,#edf8f2 58%,#fff9e9 100%);box-shadow:0 8px 22px rgba(13,90,67,.06)}
.gfw-builder-eyebrow{display:block;margin-bottom:3px;font-size:10px;letter-spacing:.12em;font-weight:950;color:#2a8b64}
.gfw-builder-hero h2{margin:0 0 4px;font-size:clamp(22px,2.15vw,34px);line-height:1.02;color:#0b503b;font-weight:950}
.gfw-builder-hero p{margin:0;color:#58766b;font-size:13px;line-height:1.25}
.gfw-builder-steps{display:flex;align-items:center;gap:6px;flex:0 0 auto}

.gfw-builder-section{border:1px solid #dce9e3;border-radius:18px;background:#fff;padding:16px;margin-bottom:12px;box-shadow:0 6px 18px rgba(13,90,67,.04)}
.gfw-step-heading{display:flex;align-items:flex-start;gap:10px;margin-bottom:11px}
.gfw-step-heading h3,.gfw-builder-finish h3{margin:0 0 2px;color:#143f33;font-size:16px;font-weight:950;line-height:1.15}
.gfw-step-heading p,.gfw-builder-finish p{margin:0;color:#71877f;font-size:11px;line-height:1.25}
.gfw-step-badge{width:30px;height:30px;flex:0 0 auto;border-radius:10px;background:linear-gradient(145deg,#0d6b4e,#0b503c);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:950;box-shadow:0 5px 11px rgba(13,96,71,.16)}

.gfw-count-buttons{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:7px}
.gfw-count-btn{position:relative;min-height:58px;border:2px solid transparent;border-radius:14px;background:#f4f8f6;color:#365f52;cursor:pointer;font:inherit;padding:7px 4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease,background .12s ease}
.gfw-count-btn strong{font-size:20px;line-height:1;font-weight:950}
.gfw-count-btn span{font-size:9px;text-transform:uppercase;letter-spacing:.04em;font-weight:900;opacity:.78}
.gfw-count-btn:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(13,90,67,.11)}
.gfw-count-btn:nth-child(1){background:#edf8f2}.gfw-count-btn:nth-child(2){background:#edf8f8}.gfw-count-btn:nth-child(3){background:#f1f6fb}.gfw-count-btn:nth-child(4){background:#f7f3fb}.gfw-count-btn:nth-child(5){background:#fff7e7}.gfw-count-btn:nth-child(6){background:#fff2ea}.gfw-count-btn:nth-child(7){background:#f9f4e8}.gfw-count-btn:nth-child(8){background:#eef7ef}.gfw-count-btn:nth-child(9){background:#eef4f7}
.gfw-count-btn.is-active{background:#0d6047;color:#fff;border-color:#f0cc63;box-shadow:0 0 0 3px rgba(240,204,99,.24),0 10px 24px rgba(13,96,71,.2);transform:translateY(-2px)}

.gfw-content-section{padding-bottom:12px}
.gfw-reel-editors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.gfw-reel-card{--gfw-tone:#247b5d;--gfw-tone-soft:#e2f3ea;border:2px solid color-mix(in srgb,var(--gfw-tone) 32%,#d8e7e0);border-left:7px solid var(--gfw-tone);border-radius:16px;background:var(--gfw-tone-soft);overflow:hidden;box-shadow:0 6px 16px color-mix(in srgb,var(--gfw-tone) 12%,transparent);transition:box-shadow .15s ease,border-color .15s ease,transform .15s ease}
.gfw-reel-card.gfw-tone-1{--gfw-tone:#16815b;--gfw-tone-soft:#ddf2e7}.gfw-reel-card.gfw-tone-2{--gfw-tone:#177f92;--gfw-tone-soft:#dff1f4}.gfw-reel-card.gfw-tone-3{--gfw-tone:#3d6fa8;--gfw-tone-soft:#e2ebf7}.gfw-reel-card.gfw-tone-4{--gfw-tone:#7e55a1;--gfw-tone-soft:#ede3f4}.gfw-reel-card.gfw-tone-5{--gfw-tone:#b57a11;--gfw-tone-soft:#f9edcf}.gfw-reel-card.gfw-tone-6{--gfw-tone:#b65c34;--gfw-tone-soft:#f7e4db}.gfw-reel-card.gfw-tone-7{--gfw-tone:#667d2d;--gfw-tone-soft:#ebf0d9}.gfw-reel-card.gfw-tone-8{--gfw-tone:#33796c;--gfw-tone-soft:#dff0eb}
.gfw-reel-card:hover{box-shadow:0 9px 22px color-mix(in srgb,var(--gfw-tone) 18%,transparent)}

.gfw-reel-card.is-open{box-shadow:0 8px 22px color-mix(in srgb,var(--gfw-tone) 20%,transparent);border-color:color-mix(in srgb,var(--gfw-tone) 52%,#d8e7e0)}
.gfw-reel-card.is-open .gfw-reel-card-toggle{background:linear-gradient(90deg,color-mix(in srgb,var(--gfw-tone) 22%,var(--gfw-tone-soft)),var(--gfw-tone-soft) 72%)}
.gfw-reel-card.has-error{border-color:#cf6060;border-left-color:#cf6060;box-shadow:0 0 0 4px rgba(207,96,96,.11)}
.gfw-reel-card-toggle{width:100%;min-height:58px;background:linear-gradient(90deg,color-mix(in srgb,var(--gfw-tone) 14%,var(--gfw-tone-soft)),var(--gfw-tone-soft) 72%);color:#173d31;display:flex;align-items:center;gap:9px;text-align:left;padding:8px 11px;border:0;cursor:pointer;font:inherit}
.gfw-reel-card-toggle:hover{background:linear-gradient(90deg,color-mix(in srgb,var(--gfw-tone) 18%,var(--gfw-tone-soft)),#fdfefe 82%)}
.gfw-reel-num{width:34px;height:34px;border-radius:11px;background:var(--gfw-tone);color:#fff;display:grid;place-items:center;font-size:14px;font-weight:950;box-shadow:0 4px 10px color-mix(in srgb,var(--gfw-tone) 30%,transparent)}
.gfw-reel-summary{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}
.gfw-reel-title-line{display:flex;align-items:center;gap:6px;min-width:0}
.gfw-reel-title-line strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gfw-reel-title-line em{font-style:normal;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.04em;color:var(--gfw-tone);background:rgba(255,255,255,.72);border:1px solid color-mix(in srgb,var(--gfw-tone) 36%,#fff);border-radius:999px;padding:2px 5px;white-space:nowrap}
.gfw-reel-summary small{font-size:10px;color:#617a71;font-weight:800;line-height:1.1}
.gfw-reel-status{font-size:9px;font-weight:950;text-transform:uppercase;letter-spacing:.04em;padding:4px 7px;border-radius:999px;background:rgba(255,255,255,.65);color:#72877f;white-space:nowrap}
.gfw-reel-status.is-ready{background:#e5f5ec;color:#14704e}
.gfw-reel-chevron{width:25px;height:25px;display:grid;place-items:center;color:var(--gfw-tone);transition:transform .15s ease}
.gfw-reel-card.is-open .gfw-reel-chevron{transform:rotate(180deg)}
.gfw-reel-card-body{display:none;border-top:1px solid color-mix(in srgb,var(--gfw-tone) 24%,#e6efea);padding:11px;background:color-mix(in srgb,var(--gfw-tone-soft) 58%,#fff);grid-template-columns:1fr;gap:9px}
.gfw-reel-card.is-open .gfw-reel-card-body{display:grid}
.gfw-card-intro{display:flex;align-items:center;gap:7px;padding-bottom:0}
.gfw-card-step{font-size:9px;font-weight:950;color:var(--gfw-tone);letter-spacing:.07em}
.gfw-card-intro div{display:flex;flex-direction:column;line-height:1.1}.gfw-card-intro strong{font-size:12px}.gfw-card-intro small{font-size:9px;color:#70867e}
.gfw-label-field input{height:38px;border:1px solid #c4dacf;background:#fff;border-radius:10px;padding:0 10px;color:#183f32;font:inherit;outline:none}

.gfw-field-help{font-size:9px;color:#778d85;line-height:1.15}

.gfw-label-field input:focus,.gfw-entry-row input:focus{border-color:var(--gfw-tone);box-shadow:0 0 0 3px color-mix(in srgb,var(--gfw-tone) 14%,transparent)}
.gfw-single-entry{display:block}
.gfw-entry-box{border:1px solid color-mix(in srgb,var(--gfw-tone) 18%,#dfeae5);border-radius:13px;background:rgba(255,255,255,.83);padding:9px}
.gfw-entry-box-head{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:7px}
.gfw-entry-box-head>div:first-child{display:flex;flex-direction:column;line-height:1.08}.gfw-entry-box-head strong{font-size:12px;color:#244c3f}.gfw-entry-box-head small{font-size:9px;color:#7d9189}




.gfw-entry-rows{display:flex;flex-direction:column;gap:5px}
.gfw-entry-row{display:grid;grid-template-columns:8px minmax(0,1fr) 28px;gap:5px;align-items:center}
.gfw-entry-dot{width:6px;height:6px;border-radius:50%;background:var(--gfw-tone)}
.gfw-entry-row input{width:100%;height:35px;border:1px solid #d0dfd8;border-radius:9px;padding:0 9px;color:#173d31;background:#fff;font:inherit;font-size:13px;outline:none}
.gfw-entry-row button{width:28px;height:28px;border:0;border-radius:8px;background:#f1f4f3;color:#768a82;font-size:16px;line-height:1;cursor:pointer}
.gfw-entry-row button:hover{background:#fbeaea;color:#a44747}
.gfw-add-entry{margin-top:7px;border:1px dashed color-mix(in srgb,var(--gfw-tone) 52%,#d7e5de);background:color-mix(in srgb,var(--gfw-tone-soft) 80%,#fff);color:var(--gfw-tone);border-radius:10px;padding:7px 10px;font:inherit;font-size:10px;font-weight:900;cursor:pointer}
.gfw-add-entry span{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;background:var(--gfw-tone);color:#fff;margin-right:3px}



.gfw-details-card{border:1px solid #dce8e2;border-radius:14px;background:#fff;margin-bottom:10px;overflow:hidden}
.gfw-details-card summary{list-style:none;display:flex;align-items:center;gap:8px;padding:10px 12px;cursor:pointer;background:#fbfdfc;color:#234d3f}.gfw-details-card summary::-webkit-details-marker{display:none}
.gfw-details-icon{width:26px;height:26px;border-radius:8px;background:#eaf5ef;color:#187052;display:grid;place-items:center;font-weight:950;font-size:16px;transition:transform .15s}
.gfw-details-card[open] .gfw-details-icon{transform:rotate(45deg)}
.gfw-details-card summary>span:last-child{display:flex;flex-direction:column;line-height:1.1}.gfw-details-card summary strong{font-size:12px}.gfw-details-card summary small{font-size:9px;color:#84958f;margin-top:1px}
.gfw-details-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:0 12px 12px}
.gfw-details-fields .gfw-field input{height:38px}

.gfw-builder-finish{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;border-radius:16px;background:linear-gradient(120deg,#093e31,#0e654a 68%,#8e6a1f);box-shadow:0 10px 24px rgba(9,62,49,.18)}
.gfw-builder-finish-copy{display:flex;align-items:center;gap:9px}.gfw-builder-finish .gfw-step-badge{background:#fff;color:#0d6047;box-shadow:none}.gfw-builder-finish h3{color:#fff}.gfw-builder-finish p{color:#d9ebe4}
.gfw-builder-actions{display:flex;align-items:stretch;gap:7px;flex:0 0 auto}
.gfw-launch-btn{border:0;border-radius:14px;cursor:pointer;font:inherit;font-weight:900;display:flex;align-items:center;justify-content:center}

.gfw-launch-btn{min-width:225px;background:linear-gradient(180deg,#ffe9a0,#d7aa35);color:#173d31;padding:10px 16px;gap:7px;font-size:13px;letter-spacing:.02em;box-shadow:inset 0 2px 0 rgba(255,255,255,.65),0 4px 0 #8a6519,0 8px 16px rgba(0,0,0,.18)}
.gfw-launch-btn:hover{transform:translateY(-1px)}.gfw-launch-btn:active{transform:translateY(3px);box-shadow:inset 0 2px 0 rgba(255,255,255,.55),0 2px 0 #8a6519,0 5px 10px rgba(0,0,0,.14)}
.gfw-launch-paw{font-size:17px}

@media(max-width:1080px){.gfw-count-buttons{grid-template-columns:repeat(5,minmax(0,1fr))}.gfw-builder-hero{align-items:flex-start}.gfw-builder-steps{flex-wrap:wrap;justify-content:flex-end}.gfw-reel-editors{grid-template-columns:1fr}}
@media(max-width:720px){.gfw-builder{padding:0 8px 16px}.gfw-builder-hero{padding:14px;flex-direction:column}.gfw-builder-steps{justify-content:flex-start}.gfw-builder-section{padding:12px}.gfw-count-buttons{grid-template-columns:repeat(3,minmax(0,1fr))}.gfw-details-fields{grid-template-columns:1fr}.gfw-builder-finish{align-items:stretch;flex-direction:column}.gfw-builder-actions{flex-direction:column}.gfw-launch-btn{min-width:0}.gfw-entry-box-head{align-items:flex-start;flex-direction:column}}


/* 0.3.4 step navigation cleanup */
.gfw-builder-steps button>span{display:grid!important;gap:2px!important;min-width:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important}
.gfw-builder-steps button>span strong{display:block!important;margin:0!important;padding:0!important;background:transparent!important;color:#254d40!important;font-size:12px!important;font-weight:950!important;line-height:1.1!important}
.gfw-builder-steps button>span small{display:block!important;margin:0!important;padding:0!important;background:transparent!important;color:#6f877e!important;font-size:10px!important;font-weight:800!important;line-height:1.1!important}
.gfw-builder-steps button>b{border-radius:10px!important;background:#dff0e7!important;color:#0c674b!important;box-shadow:none!important}
.gfw-builder-steps button.is-active>span strong{color:#fff!important}
.gfw-builder-steps button.is-active>span small{color:#d9eee5!important}
.gfw-builder-steps button.is-active>b{background:#f2cf69!important;color:#183f33!important;box-shadow:0 3px 8px rgba(0,0,0,.12)!important}
.gfw-builder-steps button.is-active{background:linear-gradient(135deg,#0e694e,#0a503d)!important}

/* MACHINE STAGE */
.gfw-stage{min-height:690px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;border-radius:22px;background:
  radial-gradient(circle at 50% 28%,rgba(255,255,255,.99) 0%,rgba(244,250,247,.98) 48%,rgba(228,241,234,.99) 100%);
  border:1px solid #d9e8e0;padding:0}
.gfw-stage:before{content:"";position:absolute;inset:auto 4% 2% 4%;height:132px;border-radius:50%;background:radial-gradient(ellipse,rgba(8,63,50,.17),rgba(8,63,50,0) 70%);filter:blur(13px);pointer-events:none}
.gfw-stage.is-live .gfw-machine{filter:drop-shadow(0 28px 32px rgba(8,59,44,.14))}
.gfw-machine-wrap{width:100%;display:flex;align-items:center;justify-content:center;position:relative;min-height:640px}
.gfw-machine-scene{position:relative;display:flex;align-items:flex-end;justify-content:center;width:100%;padding-right:24px;transform-origin:center center;will-change:transform}

.gfw-machine{position:relative;width:100%;max-width:none;padding:18px 16px 16px;border-radius:46px 46px 58px 58px;background:
  radial-gradient(ellipse at 50% -8%,rgba(255,255,255,.16),transparent 31%),
  linear-gradient(100deg,#042d25 0%,#0b674b 16%,#0e7656 48%,#0a5e46 78%,#042d25 100%);
  border:7px solid #a97718;box-shadow:
  inset 0 0 0 2px #f8df89,
  inset 0 0 0 8px rgba(57,37,2,.22),
  inset 18px 0 35px rgba(0,0,0,.16),
  inset -18px 0 35px rgba(0,0,0,.16),
  0 32px 54px rgba(8,59,44,.24),
  0 8px 0 #725313}
.gfw-machine:before,.gfw-machine:after{content:"";position:absolute;left:7%;right:7%;height:8px;border-radius:999px;background:linear-gradient(90deg,#74530e,#fff0ad 23%,#b98019 50%,#ffe79a 77%,#74530e);box-shadow:0 2px 6px rgba(0,0,0,.22)}
.gfw-machine:before{top:13px}.gfw-machine:after{bottom:14px}
.gfw-machine-crown{height:24px;margin:0 5% 12px;border:2px solid #9a741e;border-radius:13px;background:#062d24;display:grid;grid-template-columns:1fr 1.8fr 1fr;gap:8px;padding:4px 8px;box-shadow:inset 0 0 14px rgba(0,0,0,.42),0 2px 0 rgba(255,255,255,.08)}
.gfw-machine-crown span{border-radius:6px;background:linear-gradient(180deg,#173e35,#061d18);box-shadow:inset 0 0 0 1px rgba(242,209,110,.3)}

.gfw-reel-frame{position:relative;background:linear-gradient(180deg,#041a17,#0a2c25 48%,#041a17);border-radius:31px;padding:12px 13px;border:4px solid #d8ad42;box-shadow:inset 0 0 0 2px #60450f,inset 0 16px 34px rgba(0,0,0,.5),inset 0 -14px 30px rgba(0,0,0,.34),0 3px 0 rgba(255,255,255,.14);overflow:hidden}
.gfw-reel-frame:before,.gfw-reel-frame:after{content:"";position:absolute;z-index:8;left:13px;right:13px;height:82px;pointer-events:none}
.gfw-reel-frame:before{top:12px;background:linear-gradient(180deg,rgba(3,20,17,.9) 0%,rgba(9,31,25,.52) 42%,rgba(5,24,20,0) 100%)}
.gfw-reel-frame:after{bottom:12px;background:linear-gradient(0deg,rgba(3,20,17,.9) 0%,rgba(9,31,25,.52) 42%,rgba(5,24,20,0) 100%)}
.gfw-reel-frame{perspective:900px}
.gfw-reels{display:grid;grid-template-columns:repeat(var(--gfw-reel-count,5),minmax(0,1fr));gap:10px;height:388px;overflow:hidden;transform-style:preserve-3d}
.gfw-reel{position:relative;min-width:0;height:388px;overflow:hidden;background:
  linear-gradient(90deg,rgba(93,61,8,.25),transparent 14%,transparent 86%,rgba(93,61,8,.25)),
  radial-gradient(ellipse at 50% 50%,#fffef9 0%,#fffaf0 54%,#e5d9bf 100%);
  border:2px solid #765613;border-radius:18px / 40px;box-shadow:
  inset 18px 0 22px rgba(92,63,13,.2),
  inset -18px 0 22px rgba(92,63,13,.2),
  inset 0 0 0 1px rgba(255,255,255,.8),
  0 0 0 1px rgba(0,0,0,.18);transform-style:preserve-3d}
.gfw-reel:before{content:"";position:absolute;z-index:5;inset:0;pointer-events:none;border-radius:inherit;background:linear-gradient(90deg,rgba(255,255,255,.06),rgba(255,255,255,.28) 25%,rgba(255,255,255,.03) 52%,rgba(255,255,255,.19) 75%,rgba(255,255,255,.03));mix-blend-mode:screen}
.gfw-reel.is-locked{box-shadow:inset 0 0 0 3px rgba(229,183,65,.7),inset 18px 0 22px rgba(92,63,13,.2),inset -18px 0 22px rgba(92,63,13,.2)}
.gfw-reel-label{position:absolute;z-index:11;top:8px;left:7px;right:7px;height:28px;border-radius:9px;background:linear-gradient(180deg,rgba(9,94,68,.96),rgba(5,65,49,.96));color:#fff;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 7px;box-shadow:0 4px 10px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.18)}
.gfw-reel-label:empty{display:none}
.gfw-reel-track{--gfw-item-h:72px;position:absolute;left:0;right:0;top:calc(50% - (var(--gfw-item-h) * 2.5));will-change:transform;transform:translateY(0);transform-style:preserve-3d}
.gfw-reel-item{height:72px;display:flex;align-items:center;justify-content:center;text-align:center;padding:8px 12px;border-bottom:1px solid rgba(101,74,18,.18);font-size:clamp(11px,1vw,17px);font-weight:950;color:#1c362d;line-height:1.05;overflow:hidden;word-break:normal;overflow-wrap:normal;hyphens:none;letter-spacing:-.01em;backface-visibility:hidden;transition:opacity .18s,transform .18s,filter .18s;background:linear-gradient(180deg,rgba(255,255,255,.25),rgba(244,235,216,.15))}
.gfw-reel-item.is-far-top{transform:perspective(260px) rotateX(-28deg) scale(.86);opacity:.10;filter:blur(5.6px) saturate(.38)}
.gfw-reel-item.is-near-top{transform:perspective(300px) rotateX(-15deg) scale(.93);opacity:.28;filter:blur(3.1px) saturate(.58)}
.gfw-reel-item.is-center{position:relative;z-index:6;transform:scale(1.065,1.14);opacity:1;color:#073f2e;background:linear-gradient(90deg,rgba(255,224,116,.34),rgba(255,255,255,.98),rgba(255,224,116,.34));text-shadow:0 1px 0 #fff;filter:none;box-shadow:inset 0 0 22px rgba(255,255,255,.62);font-size:clamp(18px,1.45vw,25px);line-height:1.04;padding-left:14px;padding-right:14px}
.gfw-reel-item.is-near-bottom{transform:perspective(300px) rotateX(15deg) scale(.93);opacity:.28;filter:blur(3.1px) saturate(.58)}
.gfw-reel-item.is-far-bottom{transform:perspective(260px) rotateX(28deg) scale(.86);opacity:.10;filter:blur(5.6px) saturate(.38)}
.gfw-reel.is-spinning .gfw-reel-track{filter:blur(2.2px) saturate(.92)}

.gfw-reels[data-count="2"] .gfw-reel-item{font-size:18px}
.gfw-reels[data-count="3"] .gfw-reel-item{font-size:17px}
.gfw-reels[data-count="4"] .gfw-reel-item{font-size:16px}
.gfw-reels[data-count="5"] .gfw-reel-item{font-size:15px}
.gfw-reels[data-count="6"] .gfw-reel-item{font-size:14px}
.gfw-reels[data-count="7"] .gfw-reel-item{font-size:13px}
.gfw-reels[data-count="8"] .gfw-reel-item{font-size:12px}
.gfw-reels[data-count="9"] .gfw-reel-item,.gfw-reels[data-count="10"] .gfw-reel-item{font-size:11px}
.gfw-reel.did-stop{animation:gfwStop .2s ease-out}
@keyframes gfwStop{0%{transform:translateY(-3px)}55%{transform:translateY(2px)}100%{transform:translateY(0)}}
.gfw-center-glow{position:absolute;z-index:9;left:10px;right:10px;top:50%;height:92px;transform:translateY(-50%);border:4px solid rgba(245,195,47,.98);border-radius:18px;background:linear-gradient(90deg,rgba(245,209,102,.16),rgba(255,255,255,.18),rgba(245,209,102,.16));pointer-events:none;box-shadow:0 0 34px rgba(242,198,68,.42),inset 0 0 0 2px rgba(255,255,255,.30),inset 0 0 28px rgba(255,236,164,.16)}

.gfw-machine.is-spinning .gfw-center-glow{animation:gfwCenterPulse .58s ease-in-out infinite alternate}
@keyframes gfwCenterPulse{from{box-shadow:0 0 26px rgba(242,198,68,.28),inset 0 1px 0 rgba(255,255,255,.26)}to{box-shadow:0 0 40px rgba(242,198,68,.44),inset 0 1px 0 rgba(255,255,255,.36)}}

.gfw-reel-tools{position:absolute;z-index:12;right:6px;bottom:6px;display:flex;gap:4px;opacity:.18;transition:opacity .13s ease}
.gfw-reel:hover .gfw-reel-tools,.gfw-reel:focus-within .gfw-reel-tools{opacity:1}
.gfw-reel-tool{width:28px;height:28px;border-radius:8px;background:rgba(7,54,42,.9);color:#fff;display:grid;place-items:center;padding:5px;box-shadow:0 2px 6px rgba(0,0,0,.14)}
.gfw-reel-tool:hover{background:#0d6b4d}
.gfw-reel-tool.is-locked{background:#b98726;color:#fff8dc}
.gfw-reel-tool svg{width:100%;height:100%;fill:currentColor}

.gfw-machine-console{display:grid;grid-template-columns:minmax(0,1fr) 200px;align-items:end;gap:10px;margin-top:8px;padding:2px 0 0}
.gfw-result-wrap{min-width:0}
.gfw-result-caption{display:block;font-size:10px;letter-spacing:.18em;font-weight:950;color:#f0d77c;margin:0 0 5px 10px}
.gfw-result{min-height:72px;border:3px solid #e0b43e;border-radius:16px;background:linear-gradient(180deg,#05251d,#031b16);color:#fff0a6;padding:12px 18px;font-size:clamp(19px,1.55vw,27px);line-height:1.08;font-weight:950;display:flex;align-items:center;white-space:normal;box-shadow:inset 0 0 24px rgba(0,0,0,.44),0 0 0 2px rgba(255,239,177,.06),0 7px 16px rgba(0,0,0,.14)}
.gfw-result.is-long{font-size:clamp(17px,1.3vw,23px)}
.gfw-result.is-very-long{font-size:clamp(15px,1.08vw,20px)}
.gfw-spin{height:74px;border-radius:14px;background:linear-gradient(180deg,#fff0a6,#dfb84a 45%,#bd8b22 100%);color:#173d30;border:1px solid #ffe99c;box-shadow:inset 0 2px 0 rgba(255,255,255,.72),0 5px 0 #7b5813,0 10px 17px rgba(0,0,0,.2);letter-spacing:.05em;font-size:24px}
.gfw-spin:active{transform:translateY(3px);box-shadow:inset 0 2px 0 rgba(255,255,255,.55),0 2px 0 #825f16,0 5px 10px rgba(0,0,0,.14)}

/* LEVER + FOX */
.gfw-lever{position:absolute;right:-2px;top:72px;width:96px;height:255px;border:0;background:transparent;cursor:pointer;transform-origin:43px 198px;z-index:13;padding:0}
.gfw-lever-stick{position:absolute;width:17px;height:154px;left:40px;top:48px;border-radius:999px;background:linear-gradient(90deg,#644a13,#fff0a0 42%,#9a711a 100%);box-shadow:0 3px 8px rgba(0,0,0,.29);transform:rotate(-8deg);transform-origin:50% 100%}
.gfw-lever-knob{position:absolute;width:54px;height:54px;left:21px;top:5px;border-radius:50%;background:radial-gradient(circle at 33% 28%,#fff7bd 0%,#d8a82f 32%,#704b08 100%);border:3px solid #654508;box-shadow:0 6px 13px rgba(0,0,0,.25);z-index:3}
.gfw-lever-joint{position:absolute;width:46px;height:46px;left:27px;bottom:24px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff0a7,#bd8d25 48%,#5e420d 100%);border:3px solid #5d420f;box-shadow:0 4px 8px rgba(0,0,0,.22)}
.gfw-machine.is-spinning .gfw-lever{animation:gfwLever .46s cubic-bezier(.15,.82,.22,1)}
.gfw-fox{position:absolute;right:-2px;bottom:-2px;width:132px;z-index:10;pointer-events:none;filter:drop-shadow(0 16px 18px rgba(14,67,51,.22))}
.gfw-fox img{width:100%;height:auto;display:block;transform-origin:48% 88%}
.gfw-machine.is-spinning + .gfw-fox img{animation:gfwFox .46s ease-out}
@keyframes gfwLever{0%{transform:rotate(0)}34%{transform:rotate(46deg)}62%{transform:rotate(14deg)}100%{transform:rotate(0)}}
@keyframes gfwFox{0%{transform:translateY(0) rotate(0)}30%{transform:translateY(5px) rotate(2.6deg)}58%{transform:translateY(2px) rotate(-1.2deg)}100%{transform:translateY(0) rotate(0)}}

.gfw-app:fullscreen{background:#edf6f1;padding:0;overflow:hidden}
.gfw-app:fullscreen .gfw-shell{min-height:100vh;border:0;border-radius:0;box-shadow:none;background:#edf6f1}
.gfw-app:fullscreen .gfw-head,.gfw-app:fullscreen .gfw-tabs,.gfw-app:fullscreen .gfw-machine-actions{display:none}
.gfw-app:fullscreen .gfw-panel{padding:0}
.gfw-app:fullscreen .gfw-panel[data-gfw-panel="machine"]{display:block!important}
.gfw-app:fullscreen .gfw-stage{height:100vh;min-height:100vh;border:0;border-radius:0;padding:0}
.gfw-app:fullscreen .gfw-machine-wrap{width:100vw;min-height:100vh;height:100vh}
.gfw-app:fullscreen .gfw-machine-scene{width:100vw;height:100vh;padding:4px 14px 4px 4px;align-items:center}
.gfw-app:fullscreen .gfw-machine{width:100%;max-width:none;padding:24px 18px 18px}
.gfw-app:fullscreen .gfw-reels,.gfw-app:fullscreen .gfw-reel{height:min(54vh,520px)}
.gfw-app:fullscreen .gfw-machine-console{grid-template-columns:minmax(0,1fr) 240px;gap:12px;margin-top:14px}
.gfw-app:fullscreen .gfw-result{min-height:88px;font-size:clamp(24px,1.75vw,34px);padding:16px 22px;border-width:4px}
.gfw-app:fullscreen .gfw-result.is-long{font-size:clamp(21px,1.5vw,29px)}
.gfw-app:fullscreen .gfw-result.is-very-long{font-size:clamp(18px,1.25vw,25px)}
.gfw-app:fullscreen .gfw-spin{height:90px;font-size:30px}
.gfw-app:fullscreen .gfw-lever{right:-6px;top:100px;transform:scale(1.06);transform-origin:center}
.gfw-app:fullscreen .gfw-fox{right:-4px;bottom:-4px;width:154px}

@media(max-width:1120px){
  .gfw-machine-scene{padding-right:102px}
  .gfw-fox{width:184px}
  .gfw-machine{padding-left:10px;padding-right:10px}
  .gfw-reel-item{font-size:12px}
}

@media(max-width:860px){
  .gfw-app{width:100%;left:auto;transform:none;padding:0 4px}
  .gfw-head{padding:20px 18px 12px}
  .gfw-tabs,.gfw-panel{padding-left:8px;padding-right:8px}
  .gfw-editor-top{grid-template-columns:1fr 1fr 110px}
  .gfw-reel-card-body{grid-template-columns:1fr}
  .gfw-stage{min-height:500px;padding:0}
  .gfw-machine-wrap{min-height:400px}
  .gfw-machine-scene{padding-right:0;padding-bottom:92px}
  .gfw-fox{width:128px;right:4px;bottom:-2px}
  .gfw-machine{width:100%;border-width:5px;padding:10px 4px 10px;border-radius:29px}
  .gfw-machine-crown{margin-bottom:10px;height:22px}
  .gfw-reel-frame{padding:6px;border-radius:21px}
  .gfw-reels,.gfw-reel{height:276px}
  .gfw-reel-item{height:56px;font-size:10px;padding:5px 4px}
  .gfw-center-glow{height:58px;left:6px;right:6px}
  .gfw-reel-label{font-size:8px;height:21px;top:4px;left:3px;right:3px}
  .gfw-reel-tools{display:none}
  .gfw-lever{right:-14px;top:62px;transform:scale(.7);transform-origin:center}
  .gfw-machine-console{grid-template-columns:1fr 120px;padding-left:2px;padding-right:2px}
}

@media(max-width:620px){
  .gfw-head{flex-direction:column;gap:12px}
  .gfw-editor-top{grid-template-columns:1fr}
  .gfw-reel-editors{grid-template-columns:1fr}
  .gfw-stage{min-height:466px;border-radius:17px}
  .gfw-machine-wrap{min-height:344px}
  .gfw-machine-scene{padding-bottom:72px}
  .gfw-fox{width:102px}
  .gfw-machine{padding-left:7px;padding-right:7px}
  .gfw-reel-frame{padding:4px}
  .gfw-reels,.gfw-reel{height:276px}
  .gfw-reel-item{height:50px;font-size:9px;line-height:1.04;padding:4px 3px}
  .gfw-center-glow{height:52px;left:4px;right:4px}
  .gfw-machine-console{grid-template-columns:1fr;gap:8px}
  .gfw-result,.gfw-spin{width:100%}
  .gfw-lever{display:none}
}

/* === FuchsWalze 0.3.3 — Navigation, polished header and clearer constructor === */
.gfw-head{
  align-items:center;
  gap:18px;
  padding:14px 18px;
  border-bottom:1px solid #dce9e3;
  background:
    radial-gradient(circle at 8% 10%,rgba(255,226,128,.20),transparent 20%),
    linear-gradient(120deg,#f8fcfa 0%,#eef8f3 58%,#fff8e8 100%);
}
.gfw-brand-lockup{display:flex;align-items:center;gap:12px;min-width:0;flex:1}
.gfw-brand-fox{width:62px;height:62px;flex:0 0 62px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(145deg,#fff8df,#e9f5ee);border:1px solid #d7e8df;box-shadow:0 7px 18px rgba(13,90,67,.10),inset 0 1px 0 #fff;overflow:hidden}
.gfw-brand-fox img{width:56px;height:56px;object-fit:contain;display:block;filter:drop-shadow(0 5px 5px rgba(13,75,56,.14))}
.gfw-brand-copy{display:grid;align-content:center;gap:1px}
.gfw-kicker{margin:0;font-size:10px;letter-spacing:.13em;color:#328263}
.gfw-head h1{display:block!important;margin:0!important;font-size:clamp(27px,2.3vw,38px)!important;line-height:1!important;letter-spacing:-.035em;color:#0b4c39!important;font-weight:950!important}
.gfw-head p{margin:3px 0 0;max-width:660px;font-size:12px;line-height:1.25;color:#617970}
.gfw-head-right{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.gfw-ghost{min-height:44px;display:inline-flex;align-items:center;gap:6px;padding:0 13px;border:1px solid #d6e7de;background:#edf7f2;color:#155e47;border-radius:13px;box-shadow:inset 0 1px 0 #fff;transition:.13s ease}
.gfw-ghost:hover{background:#e2f2ea;transform:translateY(-1px);box-shadow:0 6px 14px rgba(13,90,67,.10)}
.gfw-ghost>span{font-size:17px;line-height:1}

.gfw-mode-nav{display:flex;align-items:stretch;gap:8px;padding:9px 18px 11px;background:#fff;border-bottom:1px solid #e4eee9}
.gfw-mode-nav .gfw-tab{min-width:190px;min-height:50px;display:flex;align-items:center;gap:9px;padding:7px 12px;border:1px solid #dce8e2;border-radius:14px;background:#f5f9f7;color:#4e6a60;text-align:left;box-shadow:0 3px 9px rgba(13,90,67,.035);transition:.13s ease}
.gfw-mode-nav .gfw-tab:hover{background:#edf7f2;border-color:#cde3d8;transform:translateY(-1px)}
.gfw-mode-nav .gfw-tab.is-active{background:linear-gradient(135deg,#0d684d,#0a503d);color:#fff;border-color:#0d684d;box-shadow:0 7px 16px rgba(13,96,71,.18)}
.gfw-mode-icon{width:32px;height:32px;flex:0 0 32px;border-radius:10px;display:grid;place-items:center;background:#e5f2eb;color:#19694f;font-size:18px;font-weight:950}
.gfw-mode-nav .gfw-tab.is-active .gfw-mode-icon{background:rgba(255,255,255,.16);color:#ffe59b}
.gfw-mode-nav .gfw-tab>span:last-child{display:grid;gap:1px}.gfw-mode-nav .gfw-tab strong{font-size:12px}.gfw-mode-nav .gfw-tab small{font-size:9px;font-weight:750;opacity:.72}

.gfw-builder{padding-top:12px}
.gfw-builder-hero{position:relative;overflow:hidden;padding:15px 17px;border-color:#d7e8df;background:linear-gradient(120deg,#f8fcfa 0%,#edf7f2 66%,#fff8e8 100%)}
.gfw-builder-hero:after{content:"";position:absolute;width:150px;height:150px;border-radius:50%;right:-66px;top:-78px;border:22px solid rgba(213,171,64,.10);pointer-events:none}
.gfw-builder-hero h2{font-size:clamp(20px,1.8vw,29px)}
.gfw-builder-hero-note{position:relative;z-index:1;display:flex;align-items:center;gap:8px;padding:8px 11px;border:1px solid #eadcac;border-radius:13px;background:rgba(255,251,235,.88);color:#5f572e;box-shadow:0 5px 14px rgba(110,86,22,.06)}
.gfw-builder-hero-note b{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(145deg,#e4bd56,#b98521);color:#fff;font-size:14px;box-shadow:inset 0 1px 0 rgba(255,255,255,.4)}
.gfw-builder-hero-note span{max-width:105px;font-size:10px;font-weight:850;line-height:1.15}

.gfw-builder-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 12px;padding:0;background:transparent}
.gfw-builder-steps button{appearance:none;min-height:52px;display:flex;align-items:center;gap:9px;padding:7px 11px;border:1px solid #dbe8e2;border-radius:14px;background:#fff;color:#587269;text-align:left;font:inherit;cursor:pointer;box-shadow:0 4px 12px rgba(13,90,67,.045);transition:.13s ease}
.gfw-builder-steps button:hover{border-color:#bddbcd;background:#f5faf7;transform:translateY(-1px)}
.gfw-builder-steps button>b{width:30px;height:30px;flex:0 0 30px;display:grid;place-items:center;border-radius:9px;background:#e7f3ed;color:#166148;font-size:11px;font-weight:950}
.gfw-builder-steps button>span{display:grid;gap:1px;min-width:0}.gfw-builder-steps button strong{font-size:11px;color:#254d40}.gfw-builder-steps button small{font-size:9px;font-weight:750;color:#83958e}
.gfw-builder-steps button.is-active{background:linear-gradient(135deg,#0e694e,#0a503d);border-color:#0e694e;color:#fff;box-shadow:0 7px 17px rgba(13,96,71,.16)}
.gfw-builder-steps button.is-active>b{background:#fff;color:#0d6047}.gfw-builder-steps button.is-active strong{color:#fff}.gfw-builder-steps button.is-active small{color:#d3e8df}

.gfw-builder-section{scroll-margin-top:18px}
.gfw-builder-finish{scroll-margin-top:18px}
.gfw-count-section{background:linear-gradient(180deg,#fff,#fbfdfc)}
.gfw-content-section{background:linear-gradient(180deg,#fff,#fcfdfc)}
.gfw-reel-card-toggle{min-height:54px}
.gfw-reel-status{min-width:54px;text-align:center}
.gfw-details-card{box-shadow:0 5px 14px rgba(13,90,67,.035)}
.gfw-builder-finish{border:1px solid rgba(229,198,103,.24);box-shadow:0 12px 27px rgba(9,62,49,.17)}
.gfw-launch-btn[aria-disabled="true"]{opacity:.62;filter:saturate(.65);box-shadow:inset 0 2px 0 rgba(255,255,255,.55),0 3px 0 #8a6519,0 5px 10px rgba(0,0,0,.11)}
.gfw-launch-btn.is-ready{animation:gfwReadyPulse 1.4s ease-in-out infinite alternate}
@keyframes gfwReadyPulse{from{box-shadow:inset 0 2px 0 rgba(255,255,255,.65),0 4px 0 #8a6519,0 8px 16px rgba(0,0,0,.18)}to{box-shadow:inset 0 2px 0 rgba(255,255,255,.75),0 4px 0 #8a6519,0 8px 24px rgba(246,205,83,.28)}}

@media(max-width:1180px){
  .gfw-head{align-items:flex-start}.gfw-head-right{max-width:220px}
}
@media(max-width:900px){
  .gfw-head{flex-direction:column;align-items:stretch}.gfw-head-right{max-width:none;justify-content:flex-end}.gfw-mode-nav{overflow-x:auto}.gfw-mode-nav .gfw-tab{min-width:175px}.gfw-brand-fox{width:54px;height:54px;flex-basis:54px}.gfw-brand-fox img{width:49px;height:49px}
}
@media(max-width:720px){
  .gfw-head{padding:11px 10px}.gfw-head-right{align-items:flex-end}.gfw-ghost{align-self:flex-end}.gfw-mode-nav{padding:8px 10px 10px}.gfw-builder{padding-top:8px}.gfw-builder-hero-note{display:none}.gfw-builder-steps{grid-template-columns:1fr}.gfw-builder-steps button{min-height:45px}.gfw-builder-steps button small{display:none}
}

.gfw-reel-item.is-center.is-long{font-size:clamp(16px,1.2vw,21px)}
.gfw-reel-item.is-center.is-very-long{font-size:clamp(14px,1.02vw,18px)}

.gfw-reels[data-count="2"] .gfw-reel-item.is-center,.gfw-reels[data-count="3"] .gfw-reel-item.is-center{font-size:clamp(22px,2vw,31px)}
.gfw-reels[data-count="4"] .gfw-reel-item.is-center{font-size:clamp(20px,1.7vw,28px)}
.gfw-reels[data-count="5"] .gfw-reel-item.is-center{font-size:clamp(19px,1.45vw,25px)}
.gfw-reels[data-count="6"] .gfw-reel-item.is-center{font-size:clamp(17px,1.25vw,22px)}
.gfw-reels[data-count="7"] .gfw-reel-item.is-center,.gfw-reels[data-count="8"] .gfw-reel-item.is-center{font-size:clamp(15px,1.05vw,19px)}
.gfw-reels[data-count="9"] .gfw-reel-item.is-center,.gfw-reels[data-count="10"] .gfw-reel-item.is-center{font-size:clamp(13px,.9vw,17px)}

.gfw-app:fullscreen .gfw-center-glow{height:104px;border-width:5px;border-radius:22px;box-shadow:0 0 46px rgba(242,198,68,.52),inset 0 0 0 2px rgba(255,255,255,.36),inset 0 0 34px rgba(255,236,164,.18)}
.gfw-app:fullscreen .gfw-reel-item.is-center{font-size:clamp(22px,1.7vw,32px)}
.gfw-app:fullscreen .gfw-reel-item.is-center.is-long{font-size:clamp(19px,1.42vw,27px)}
.gfw-app:fullscreen .gfw-reel-item.is-center.is-very-long{font-size:clamp(16px,1.16vw,22px)}

@media(max-width:860px){.gfw-reel-track{--gfw-item-h:56px}}
@media(max-width:620px){.gfw-reel-track{--gfw-item-h:50px}}

/* LIBRARY */
.gfw-library{max-width:1500px;margin:0 auto;padding:12px 20px 24px}
.gfw-library-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;margin-bottom:12px;border:1px solid #d7e8df;border-radius:18px;background:linear-gradient(120deg,#f8fcfa 0%,#eef8f3 66%,#fff7e6 100%);box-shadow:0 7px 20px rgba(13,90,67,.05)}
.gfw-library-hero>div>span{display:block;font-size:10px;letter-spacing:.12em;font-weight:950;color:#2a8b64;margin-bottom:3px}
.gfw-library-hero h2{margin:0 0 4px;font-size:clamp(22px,2vw,32px);line-height:1;color:#0b503b;font-weight:950}
.gfw-library-hero p{margin:0;color:#60786f;font-size:12px}
.gfw-library-section{border:1px solid #dce9e3;border-radius:18px;background:#fff;padding:16px;margin-bottom:12px;box-shadow:0 6px 18px rgba(13,90,67,.04)}
.gfw-library-heading{display:flex;align-items:baseline;gap:9px;margin-bottom:12px}.gfw-library-heading h3{margin:0;color:#143f33;font-size:16px;font-weight:950}.gfw-library-heading span{font-size:10px;font-weight:800;color:#83958e}
.gfw-library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.gfw-library-card{min-width:0;border:1px solid #dce8e2;border-radius:16px;padding:13px;background:linear-gradient(180deg,#fff,#f8fbf9);box-shadow:0 5px 14px rgba(13,90,67,.04);transition:.14s ease}.gfw-library-card:hover{transform:translateY(-2px);border-color:#bdd9cc;box-shadow:0 10px 20px rgba(13,90,67,.08)}
.gfw-lib-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}.gfw-lib-icon{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(145deg,#0e6a4f,#0a4c3a);color:#ffe39a;font-size:19px;font-weight:950}.gfw-lib-theme{max-width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 7px;border-radius:999px;background:#eef6f2;color:#467064;font-size:9px;font-weight:900}
.gfw-library-card h4{margin:0 0 10px;color:#153f33;font-size:14px;line-height:1.15;font-weight:950;min-height:32px}.gfw-lib-meta{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:11px}.gfw-lib-meta span{padding:4px 6px;border-radius:8px;background:#f0f5f2;color:#71877f;font-size:8px;font-weight:850}
.gfw-lib-actions{display:flex;gap:6px}.gfw-lib-primary,.gfw-lib-secondary{flex:1;border:0;border-radius:10px;padding:8px 9px;font:inherit;font-size:10px;font-weight:950;cursor:pointer}.gfw-lib-primary{background:#0d6047;color:#fff}.gfw-lib-secondary{background:#edf5f1;color:#1b654b}.gfw-library-empty{grid-column:1/-1;padding:20px;border:1px dashed #cfdfd7;border-radius:14px;background:#fafcfb;text-align:center;color:#81948d;font-size:11px;font-weight:800}
.gfw-save-btn{border:1px solid rgba(255,255,255,.2);border-radius:14px;cursor:pointer;font:inherit;font-weight:900;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.12);color:#fff;padding:8px 11px;gap:6px}.gfw-save-btn>span:last-child{display:flex;flex-direction:column;align-items:flex-start}.gfw-save-btn strong{font-size:11px}.gfw-save-btn small{font-size:9px;font-weight:700;opacity:.72;margin-top:1px}.gfw-save-btn:hover{background:rgba(255,255,255,.18)}.gfw-save-btn:disabled{opacity:.55;cursor:wait}

@media(max-width:1180px){.gfw-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.gfw-library{padding:8px 8px 18px}.gfw-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gfw-library-hero{align-items:flex-start;flex-direction:column}}
@media(max-width:540px){.gfw-library-grid{grid-template-columns:1fr}.gfw-mode-nav .gfw-tab{min-width:160px}}

/* === FuchsWalze 0.3.7 — game sound === */
.gfw-sound-toggle{position:absolute;top:14px;right:16px;z-index:40;width:44px;height:44px;border:1px solid rgba(169,119,24,.42);border-radius:14px;background:rgba(255,255,255,.88);backdrop-filter:blur(8px);box-shadow:0 7px 18px rgba(7,55,42,.12);display:grid;place-items:center;font-size:20px;cursor:pointer;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
.gfw-sound-toggle:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(7,55,42,.17);background:#fff}
.gfw-sound-toggle .gfw-sound-off{display:none}
.gfw-sound-toggle.is-muted .gfw-sound-on{display:none}
.gfw-sound-toggle.is-muted .gfw-sound-off{display:inline}
.gfw-app:not(.is-machine-view) .gfw-sound-toggle{display:none}
.gfw-app:fullscreen .gfw-sound-toggle{top:14px;right:18px;width:52px;height:52px;border-radius:16px;font-size:24px;background:rgba(255,255,255,.84)}
@media(max-width:620px){.gfw-sound-toggle{top:8px;right:8px;width:38px;height:38px;border-radius:12px;font-size:17px}}

/* =========================================================
   0.4.0 — SEPARATE PUBLIC LIBRARY / BUILDER / GAME MODAL
   ========================================================= */
html.gfw-modal-open,html.gfw-modal-open body{overflow:hidden!important}
.gfw-app.gfw-library-app,.gfw-app.gfw-builder-app{width:min(calc(100vw - 28px),1720px)!important;max-width:none!important;margin:16px auto!important;left:auto!important;transform:none!important;padding:0!important}
.gfw-public-shell,.gfw-builder-shell{width:100%;background:#fff;border:1px solid #dce9e2;border-radius:24px;box-shadow:0 20px 52px rgba(13,90,67,.075);overflow:hidden}

/* public library */
.gfw-public-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 24px 16px;border-bottom:1px solid #e5eee9;background:linear-gradient(120deg,#fff 0%,#f7fbf9 72%,#fff9e9 100%)}
.gfw-public-brand{display:flex;align-items:center;gap:13px;min-width:0}.gfw-public-brand h1{margin:1px 0 3px!important;color:#0b4c39!important;font-size:clamp(28px,2.5vw,42px)!important;line-height:1!important;font-weight:950!important;letter-spacing:-.035em}.gfw-public-brand p{margin:0;color:#637a72;font-size:12px}.gfw-public-fox{width:62px;height:62px;flex:0 0 62px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(145deg,#fff8e6,#f3ead2);border:1px solid #ead9a9;box-shadow:0 6px 16px rgba(83,62,14,.08);overflow:hidden}.gfw-public-fox img{width:58px;height:58px;object-fit:contain}
.gfw-create-link{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:13px;background:#0d6047;color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:950;box-shadow:0 7px 16px rgba(13,96,71,.15);white-space:nowrap}.gfw-create-link:hover{background:#0a513c;color:#fff!important;transform:translateY(-1px)}
.gfw-library-toolbar{display:flex;align-items:end;justify-content:space-between;gap:14px;padding:17px 22px 10px}.gfw-library-toolbar h2{margin:0 0 3px;font-size:19px;color:#153f33;font-weight:950}.gfw-library-toolbar p{margin:0;color:#71877f;font-size:11px}
.gfw-public-library-section{margin:0 18px 14px;padding:14px;border:1px solid #dce9e3;border-radius:17px;background:#fbfdfc}.gfw-public-library-section:last-child{margin-bottom:20px}.gfw-library-heading{display:flex;align-items:baseline;gap:8px;margin:0 0 9px}.gfw-library-heading h3{margin:0;font-size:14px;color:#163f34;font-weight:950}.gfw-library-heading span{font-size:9px;color:#83958e;font-weight:800}
.gfw-library-list{display:grid;gap:7px}.gfw-library-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:67px;padding:8px 9px 8px 11px;border:1px solid #dce8e2;border-radius:14px;background:#fff;box-shadow:0 3px 10px rgba(13,90,67,.025);transition:.13s ease}.gfw-library-row:hover{border-color:#bdd8cb;box-shadow:0 7px 15px rgba(13,90,67,.065);transform:translateY(-1px)}
.gfw-lib-main-link{min-width:0;display:flex;align-items:center;gap:12px;color:inherit!important;text-decoration:none!important}.gfw-lib-mini-reels{height:43px;width:68px;flex:0 0 68px;display:flex;align-items:stretch;gap:2px;padding:5px;border-radius:11px;background:#0b513e;border:2px solid #c59a38;box-shadow:inset 0 0 0 1px rgba(255,243,184,.35)}.gfw-lib-mini-reels i{flex:1;min-width:3px;border-radius:3px;background:#fff9ec;box-shadow:inset 3px 0 4px rgba(126,88,17,.15),inset -3px 0 4px rgba(126,88,17,.15)}.gfw-lib-mini-reels i.t2{background:#ecf8f3}.gfw-lib-mini-reels i.t3{background:#fff5d9}.gfw-lib-mini-reels i.t4{background:#eef4fb}.gfw-lib-mini-reels i.t5{background:#f6effb}.gfw-lib-mini-reels i.t6{background:#f9efe8}
.gfw-lib-copy{display:grid;gap:4px;min-width:0}.gfw-lib-title-line{display:flex;align-items:center;gap:7px;min-width:0}.gfw-lib-title-line strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#173f34;font-size:13px;font-weight:950}.gfw-lib-theme{flex:0 0 auto;padding:3px 6px;border-radius:999px;background:#e9f5ef;color:#1a6b4f;font-size:8px;font-weight:900}.gfw-lib-copy small{color:#7c9089;font-size:9px;font-weight:750}
.gfw-lib-row-actions{display:flex;align-items:center;gap:5px}.gfw-lib-preview{height:36px;display:inline-flex;align-items:center;gap:6px;border:0;border-radius:10px;padding:0 11px;background:#0d6047;color:#fff;font:inherit;font-size:10px;font-weight:950;cursor:pointer}.gfw-lib-preview:hover{background:#094e3a}.gfw-lib-preview span{font-size:9px}.gfw-lib-icon-btn{width:36px;height:36px;display:grid;place-items:center;border:1px solid #d7e5de;border-radius:10px;background:#f5f9f7;color:#315f50!important;text-decoration:none!important;font:inherit;font-size:15px;font-weight:950;cursor:pointer}.gfw-lib-icon-btn:hover{background:#eaf4ef;color:#0d6047!important}.gfw-lib-icon-btn.is-danger{color:#a73d3d!important;background:#fff7f7;border-color:#eed0d0}.gfw-lib-icon-btn.is-danger:hover{background:#fdecec}
.gfw-library-empty{padding:17px;border:1px dashed #cfdfd7;border-radius:12px;background:#fff;text-align:center;color:#81948d;font-size:10px;font-weight:800}

/* separate builder page */
.gfw-builder-topbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;padding:14px 20px;border-bottom:1px solid #e1ebe6;background:linear-gradient(120deg,#fff,#f7fbf9)}.gfw-back-library{display:inline-flex;align-items:center;min-height:38px;padding:0 11px;border-radius:11px;background:#edf5f1;color:#1c654c!important;text-decoration:none!important;font-size:10px;font-weight:950}.gfw-builder-top-title{min-width:0}.gfw-builder-top-title h1{margin:2px 0 0!important;color:#0b4c39!important;font-size:clamp(21px,2vw,31px)!important;font-weight:950!important;line-height:1!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gfw-builder-top-actions{display:flex;gap:7px}.gfw-save-top,.gfw-delete-top{min-height:38px;border-radius:11px;padding:0 13px;font:inherit;font-size:10px;font-weight:950;cursor:pointer}.gfw-save-top{border:0;background:#0d6047;color:#fff}.gfw-delete-top{border:1px solid #efcaca;background:#fff6f6;color:#a43737}.gfw-delete-bottom{border:1px solid rgba(255,255,255,.35);border-radius:13px;padding:8px 11px;background:rgba(106,17,17,.28);color:#fff;font:inherit;font-size:10px;font-weight:950;cursor:pointer}.gfw-save-top:disabled,.gfw-save-btn:disabled{opacity:.55;cursor:wait}
.gfw-builder-app .gfw-builder{padding-top:14px}

/* game modal */
.gfw-game-modal[hidden]{display:none!important}.gfw-game-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:14px}.gfw-game-modal-backdrop{position:absolute;inset:0;background:rgba(5,28,23,.66);backdrop-filter:blur(5px)}.gfw-game-modal-card{position:relative;z-index:1;width:min(1680px,calc(100vw - 28px));max-height:calc(100vh - 28px);display:flex;flex-direction:column;border:1px solid rgba(255,255,255,.55);border-radius:24px;background:#eef7f3;box-shadow:0 28px 80px rgba(0,0,0,.34);overflow:auto}.gfw-modal-head{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 13px 9px 16px;background:rgba(255,255,255,.96);border-bottom:1px solid #dce9e3;backdrop-filter:blur(8px)}.gfw-modal-titlebox{min-width:0}.gfw-modal-kicker{display:block;font-size:8px;letter-spacing:.14em;font-weight:950;color:#2b8965}.gfw-modal-titlebox h2{margin:1px 0!important;color:#143f33!important;font-size:17px!important;line-height:1!important;font-weight:950!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gfw-modal-titlebox p{margin:0;color:#7a8f87;font-size:9px;font-weight:750}.gfw-modal-head-actions{display:flex;align-items:center;gap:6px}.gfw-modal-close{width:38px;height:38px;border:0;border-radius:11px;background:#edf3f0;color:#395f52;font:inherit;font-size:24px;line-height:1;cursor:pointer}.gfw-modal-machine{padding:0}.gfw-game-modal .gfw-stage{min-height:min(72vh,760px);border-radius:0;border-left:0;border-right:0}.gfw-game-modal .gfw-machine-actions{padding:0 12px 12px;margin-top:8px}

/* fullscreen keeps the already approved game layout */
.gfw-app:fullscreen{width:100%!important;margin:0!important;left:auto!important;transform:none!important;background:#edf6f1!important}.gfw-app:fullscreen>.gfw-public-shell,.gfw-app:fullscreen>.gfw-builder-shell{display:none!important}.gfw-app:fullscreen .gfw-game-modal{display:flex!important;position:fixed;inset:0;padding:0;background:#edf6f1}.gfw-app:fullscreen .gfw-game-modal-backdrop,.gfw-app:fullscreen .gfw-modal-head{display:none!important}.gfw-app:fullscreen .gfw-game-modal-card{width:100vw;height:100vh;max-width:none;max-height:none;border:0;border-radius:0;box-shadow:none;overflow:hidden;background:#edf6f1}.gfw-app:fullscreen .gfw-modal-machine{height:100vh}.gfw-app:fullscreen .gfw-stage{height:100vh!important;min-height:100vh!important;padding:0!important;border:0!important;border-radius:0!important}.gfw-app:fullscreen .gfw-machine-actions{display:none!important}

@media(max-width:820px){
  .gfw-app.gfw-library-app,.gfw-app.gfw-builder-app{width:calc(100vw - 12px)!important;margin:8px auto!important}.gfw-public-head{align-items:flex-start;padding:14px;flex-direction:column}.gfw-create-link{align-self:stretch}.gfw-public-library-section{margin-left:8px;margin-right:8px;padding:9px}.gfw-library-row{grid-template-columns:1fr;gap:7px}.gfw-lib-row-actions{justify-content:flex-end}.gfw-lib-preview{flex:1}.gfw-builder-topbar{grid-template-columns:1fr auto;gap:9px;padding:10px}.gfw-builder-top-title{grid-column:1/-1;grid-row:1}.gfw-back-library{grid-column:1;grid-row:2}.gfw-builder-top-actions{grid-column:2;grid-row:2}.gfw-game-modal{padding:5px}.gfw-game-modal-card{width:calc(100vw - 10px);max-height:calc(100vh - 10px);border-radius:16px}.gfw-modal-head{padding:8px}.gfw-modal-head .gfw-ghost{font-size:10px;padding:8px 10px}
}
@media(max-width:520px){.gfw-public-fox{width:50px;height:50px;flex-basis:50px}.gfw-public-fox img{width:46px;height:46px}.gfw-lib-mini-reels{width:54px;flex-basis:54px}.gfw-lib-title-line{align-items:flex-start;flex-direction:column;gap:3px}.gfw-lib-icon-btn{width:34px;height:34px}.gfw-lib-preview{height:34px}.gfw-builder-top-actions{width:100%}.gfw-save-top,.gfw-delete-top{flex:1}.gfw-builder-finish .gfw-builder-actions{width:100%}.gfw-delete-bottom{width:100%}}

/* =========================================================
   0.4.1 — CONTAIN LIBRARY/BUILDER INSIDE THEME CONTENT
   ========================================================= */
.gfw-app.gfw-library-app,
.gfw-app.gfw-builder-app{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:16px 0!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
}
.gfw-library-app .gfw-public-shell,
.gfw-builder-app .gfw-builder-shell{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
.gfw-public-head{min-width:0}
.gfw-public-brand{flex:1 1 auto;min-width:0}
.gfw-create-link{flex:0 0 auto;max-width:100%}
.gfw-library-toolbar,.gfw-public-library-section,.gfw-library-row,.gfw-lib-main-link,.gfw-lib-copy{min-width:0}
@media(max-width:820px){
  .gfw-app.gfw-library-app,.gfw-app.gfw-builder-app{width:100%!important;max-width:100%!important;margin:8px 0!important}
}


/* =========================================================
   0.4.3 — ADMIN TOOLS (safe layer on 0.4.1)
   ========================================================= */
.gfw-admin-mode-badge{display:inline-flex;align-items:center;margin-top:5px;padding:4px 8px;border-radius:999px;background:#fff3c9;border:1px solid #e8c970;color:#7d5b0d;font-size:8px;font-weight:950;letter-spacing:.06em;text-transform:uppercase}
.gfw-admin-visibility select{width:100%;height:40px;padding:0 11px;border:1px solid #c9dcd3;border-radius:11px;background:#fff;color:#173f34;font:inherit;font-size:11px;font-weight:800}
.gfw-builder-app[data-gfw-admin="1"] .gfw-builder-topbar{background:linear-gradient(100deg,#fff 0%,#f7fbf9 75%,#fff8df 100%)}


/* =========================================================
   0.4.6 — visual polish: brighter library + cleaner builder
   ========================================================= */
.gfw-public-shell,.gfw-builder-shell{border-radius:28px;border:1px solid #d4e6de;box-shadow:0 24px 60px rgba(13,90,67,.085)}
.gfw-public-head{padding:26px 30px 22px;border-bottom:1px solid #d8e7df;background:linear-gradient(135deg,#0e6f52 0%,#0d6047 52%,#0b4f3d 100%)}
.gfw-public-brand .gfw-kicker{color:#b8f0d9}
.gfw-public-brand h1{color:#fff!important;font-size:clamp(36px,3.1vw,56px)!important;letter-spacing:-.04em}
.gfw-public-brand p{color:#d6efe4;font-size:14px;font-weight:700}
.gfw-public-fox{background:linear-gradient(145deg,#fff7dd,#f2d68b);border-color:#efd99f;box-shadow:0 10px 20px rgba(0,0,0,.12)}
.gfw-create-link{min-height:54px;padding:0 22px;border-radius:16px;background:linear-gradient(135deg,#22a06c,#0d6047);font-size:14px;font-weight:950;box-shadow:0 12px 28px rgba(4,93,62,.28)}
.gfw-create-link:hover{background:linear-gradient(135deg,#1a915f,#0b533f)}
.gfw-library-toolbar{padding:24px 24px 12px}
.gfw-library-toolbar h2{font-size:clamp(28px,2.2vw,40px);font-weight:950;letter-spacing:-.03em;color:#103b31}
.gfw-library-toolbar p{font-size:12px;font-weight:800;color:#67827a;text-transform:uppercase;letter-spacing:.06em}
.gfw-public-library-section{padding:18px 18px 16px;border-radius:20px;background:linear-gradient(180deg,#ffffff 0%,#f9fcfb 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.gfw-library-heading h3{font-size:18px}
.gfw-library-heading span{font-size:10px;letter-spacing:.04em;text-transform:uppercase}
.gfw-library-list{gap:11px}
.gfw-library-row{padding:14px 14px 14px 16px;min-height:92px;border-radius:18px;border:1px solid #d8e7df;box-shadow:0 8px 18px rgba(13,90,67,.045)}
.gfw-library-row:hover{border-color:#8fc6ae;box-shadow:0 15px 28px rgba(13,90,67,.10)}
.gfw-lib-mini-reels{width:82px;height:52px;flex-basis:82px;border-radius:14px}
.gfw-lib-copy{gap:6px}
.gfw-lib-title-line strong{font-size:21px;line-height:1.05;white-space:normal}
.gfw-lib-theme{padding:4px 8px;font-size:10px;font-weight:950;background:#e2f4ec}
.gfw-lib-labels{display:flex;flex-wrap:wrap;gap:6px}
.gfw-lib-labels span{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border-radius:999px;background:#f1f7f4;border:1px solid #d7e7df;color:#255948;font-size:10px;font-weight:900}
.gfw-lib-copy small{font-size:11px;font-weight:850;color:#748981}
.gfw-lib-row-actions{gap:7px}
.gfw-lib-preview{height:44px;padding:0 15px;border-radius:12px;background:linear-gradient(135deg,#179866,#0d6047);font-size:12px;box-shadow:0 9px 18px rgba(13,96,71,.14)}
.gfw-lib-preview:hover{background:linear-gradient(135deg,#12875a,#0b513d)}
.gfw-lib-icon-btn{width:42px;height:42px;border-radius:12px;font-size:17px}
.gfw-library-empty{padding:24px;font-size:12px}

.gfw-builder-topbar{position:sticky;top:0;z-index:30;padding:16px 22px;border-bottom:1px solid #0a503e;background:linear-gradient(135deg,#0f7455 0%,#0d6047 52%,#0a4b3a 100%)}
.gfw-back-library{min-height:42px;padding:0 14px;border-radius:12px;background:rgba(255,255,255,.14);color:#fff!important;font-size:12px;font-weight:950;border:1px solid rgba(255,255,255,.22)}
.gfw-back-library:hover{background:rgba(255,255,255,.2)}
.gfw-builder-top-title .gfw-kicker{color:#b7f0d8}
.gfw-builder-top-title h1{color:#fff!important;font-size:clamp(32px,2.7vw,48px)!important;white-space:normal;line-height:1.02!important}
.gfw-admin-mode-badge{background:#fff2bf;color:#6f4f06;border-color:#e6c55a;font-size:9px}
.gfw-save-top,.gfw-delete-top{min-height:42px;padding:0 15px;border-radius:12px;font-size:11px}
.gfw-save-top{background:#fff;color:#0d6047;box-shadow:0 8px 18px rgba(0,0,0,.12)}
.gfw-delete-top{background:rgba(255,255,255,.1);color:#fff;border:1px solid rgba(255,255,255,.22)}
.gfw-builder-app .gfw-builder{padding-top:18px}
.gfw-builder-hero{display:none}
.gfw-builder-steps{position:sticky;top:98px;z-index:20;grid-template-columns:repeat(3,minmax(0,1fr));padding:10px;border:1px solid #d9e7e0;border-radius:18px;background:#f7fbf9;box-shadow:0 12px 26px rgba(13,90,67,.06);margin-bottom:16px}
.gfw-builder-steps button{min-height:62px;padding:10px 14px;border-radius:15px}
.gfw-builder-steps button>b{width:34px;height:34px;font-size:12px;border-radius:11px}
.gfw-builder-steps button strong{font-size:13px}
.gfw-builder-steps button small{font-size:10px}
.gfw-builder-section,.gfw-details-card,.gfw-builder-finish{border-radius:22px}
.gfw-builder-section{padding:18px 18px 16px}
.gfw-step-heading{margin-bottom:14px}
.gfw-step-heading h3,.gfw-builder-finish h3{font-size:24px;letter-spacing:-.02em}
.gfw-step-heading p{display:none}
.gfw-count-buttons{gap:10px}
.gfw-count-btn{min-height:76px;border-radius:18px}
.gfw-count-btn strong{font-size:24px}
.gfw-count-btn span{font-size:10px}
.gfw-count-btn.is-active{background:linear-gradient(135deg,#15935f,#0d6047);border-color:#f0cc63}
.gfw-reel-editors{gap:12px}
.gfw-reel-card{border-radius:18px}
.gfw-reel-card-toggle{min-height:68px;padding:10px 13px}
.gfw-reel-num{width:38px;height:38px;font-size:15px}
.gfw-reel-title-line strong{font-size:16px}
.gfw-reel-summary small{font-size:11px}
.gfw-reel-status{font-size:10px;padding:5px 8px}
.gfw-reel-card-body{padding:13px;gap:11px}
.gfw-card-intro,.gfw-field-help,.gfw-details-fields .gfw-field span em{display:none}
.gfw-label-field input,.gfw-entry-row input,.gfw-field input,.gfw-field select,.gfw-admin-visibility select{height:44px;border-radius:12px;font-size:14px}
.gfw-entry-box{padding:11px;border-radius:15px}
.gfw-entry-box-head small{display:none}
.gfw-add-entry{min-height:40px;border-radius:12px;font-size:12px}
.gfw-details-card{margin:4px 0 16px;border:1px solid #dce8e1;background:linear-gradient(180deg,#fff 0%,#fbfdfc 100%);box-shadow:0 8px 20px rgba(13,90,67,.04)}
.gfw-details-card summary{padding:16px 18px;font-size:15px}
.gfw-details-card summary small{display:none}
.gfw-details-fields{padding:0 18px 18px}
.gfw-builder-finish{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;background:linear-gradient(135deg,#0f7455 0%,#0d6047 52%,#0a4e3b 100%);color:#fff;box-shadow:0 18px 34px rgba(13,90,67,.16)}
.gfw-builder-finish .gfw-step-badge{background:#fff;color:#0d6047}
.gfw-builder-finish h3{color:#fff}
.gfw-builder-finish p{display:block;color:#d4ece2;font-size:12px;font-weight:800}
.gfw-builder-actions{gap:10px}
.gfw-save-btn,.gfw-launch-btn,.gfw-delete-bottom{min-height:52px;border-radius:14px}
.gfw-save-btn{background:#f1c95b;color:#264235;box-shadow:0 10px 18px rgba(0,0,0,.14)}
.gfw-save-btn small{color:#315446}
.gfw-launch-btn{background:#fff;color:#0d6047}
.gfw-launch-btn span:last-child{font-size:14px;font-weight:950}
.gfw-builder-actions .gfw-delete-bottom{background:rgba(135,17,17,.34)}
@media(max-width:980px){
  .gfw-builder-steps{top:88px;grid-template-columns:1fr}
  .gfw-library-row{grid-template-columns:1fr}
  .gfw-lib-row-actions{justify-content:flex-end;flex-wrap:wrap}
}
@media(max-width:720px){
  .gfw-public-head{padding:18px 16px}
  .gfw-public-brand h1{font-size:34px!important}
  .gfw-library-toolbar{padding:18px 14px 10px}
  .gfw-library-toolbar h2{font-size:28px}
  .gfw-public-library-section{margin:0 10px 12px;padding:12px}
  .gfw-lib-title-line strong{font-size:18px}
  .gfw-builder-topbar{padding:12px 14px}
  .gfw-builder-top-title h1{font-size:30px!important}
  .gfw-builder-steps{top:76px;padding:8px}
  .gfw-builder-section{padding:14px}
  .gfw-step-heading h3,.gfw-builder-finish h3{font-size:20px}
  .gfw-builder-finish{align-items:stretch;flex-direction:column}
  .gfw-builder-actions{width:100%;flex-direction:column}
}

/* =========================================================
   0.4.7 — SPACING / BUTTON CONTRAST / MODAL POLISH
   ========================================================= */
.gfw-app.gfw-library-app,.gfw-app.gfw-builder-app{margin:28px 0 42px!important}
.gfw-public-shell,.gfw-builder-shell{overflow:hidden;border-radius:30px}

/* LIBRARY: real breathing room + fox without a framed tile */
.gfw-public-head{
  min-height:132px;
  padding:30px 34px!important;
  align-items:center!important;
  background:linear-gradient(135deg,#0d6f50 0%,#0d6047 58%,#084735 100%)!important;
}
.gfw-public-brand{gap:20px!important;align-items:center!important}
.gfw-public-fox{
  width:92px!important;height:92px!important;flex:0 0 92px!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;overflow:visible!important;padding:0!important;
}
.gfw-public-fox img{width:88px!important;height:88px!important;object-fit:contain!important;filter:drop-shadow(0 8px 12px rgba(0,0,0,.2))}
.gfw-public-brand-copy{display:grid;gap:5px;min-width:0}
.gfw-public-brand .gfw-kicker{margin:0!important;color:#baf2da!important;font-size:12px!important;letter-spacing:.14em!important}
.gfw-public-brand-title{color:#fff;font-size:clamp(34px,3.1vw,52px);font-weight:950;line-height:.95;letter-spacing:-.04em}
.gfw-create-link{
  min-height:56px!important;padding:0 24px!important;border:2px solid rgba(255,255,255,.24)!important;
  border-radius:16px!important;background:#18a06a!important;color:#fff!important;
  font-size:14px!important;box-shadow:0 12px 28px rgba(0,0,0,.18)!important;
}
.gfw-create-link:hover{background:#20ad76!important;box-shadow:0 15px 32px rgba(0,0,0,.22)!important}
.gfw-library-toolbar{padding:32px 28px 14px!important}
.gfw-library-toolbar h2{margin:0 0 8px!important;font-size:clamp(34px,3vw,48px)!important;line-height:1!important}
.gfw-library-toolbar p{margin:0!important;font-size:11px!important;letter-spacing:.1em!important}
.gfw-public-library-section{margin:0 20px 22px!important;padding:20px!important;border-radius:22px!important}
.gfw-library-heading{margin:0 0 14px!important;gap:10px!important}
.gfw-library-heading h3{font-size:20px!important}
.gfw-library-heading span{font-size:10px!important}
.gfw-library-list{gap:14px!important}
.gfw-library-row{
  min-height:112px!important;padding:18px 20px!important;gap:28px!important;
  border-radius:20px!important;border:1px solid #d4e5dc!important;
  box-shadow:0 8px 20px rgba(13,90,67,.05)!important;
}
.gfw-library-row:hover{border-color:#8fc7ad!important;box-shadow:0 16px 32px rgba(13,90,67,.11)!important}
.gfw-lib-main-link{gap:18px!important;padding:2px 0!important;border-radius:16px!important;outline-offset:6px}
.gfw-lib-mini-reels{width:92px!important;height:58px!important;flex-basis:92px!important;border-radius:14px!important}
.gfw-lib-copy{gap:8px!important}
.gfw-lib-title-line{gap:10px!important;align-items:center!important}
.gfw-lib-title-line strong{font-size:22px!important;line-height:1.08!important;color:#103e31!important}
.gfw-lib-theme{padding:5px 9px!important;font-size:10px!important}
.gfw-lib-labels{gap:7px!important}
.gfw-lib-labels span{min-height:28px!important;padding:0 11px!important;font-size:10px!important;background:#eef7f2!important;border-color:#cee3d9!important}
.gfw-lib-copy small{font-size:11px!important;color:#6d827a!important}
.gfw-lib-row-actions{gap:10px!important;margin-left:12px!important;flex-wrap:nowrap!important}
.gfw-lib-preview{
  height:48px!important;padding:0 18px!important;border-radius:14px!important;
  background:#0d6f50!important;color:#fff!important;font-size:12px!important;
  border:2px solid #0d6f50!important;box-shadow:0 9px 18px rgba(13,96,71,.18)!important;
}
.gfw-lib-preview:hover{background:#095940!important;border-color:#095940!important}
.gfw-lib-icon-btn{
  width:48px!important;height:48px!important;border-radius:14px!important;
  border:2px solid #c9dfd5!important;background:#fff!important;color:#0d6047!important;
  box-shadow:0 6px 14px rgba(13,90,67,.07)!important;
}
.gfw-lib-icon-btn:hover{background:#eaf6f0!important;border-color:#7fb99f!important}
.gfw-lib-icon-btn.is-danger{background:#fff5f5!important;border-color:#e9baba!important;color:#ad3939!important}
.gfw-library-empty{padding:28px!important}

/* MODAL: do not glue the machine or controls to the window edges */
.gfw-game-modal{padding:30px!important}
.gfw-game-modal-backdrop{background:rgba(4,27,21,.72)!important;backdrop-filter:blur(7px)!important}
.gfw-game-modal-card{
  width:min(1500px,calc(100vw - 60px))!important;
  max-height:calc(100vh - 60px)!important;
  border-radius:28px!important;border:1px solid rgba(255,255,255,.72)!important;
  background:#f4faf7!important;box-shadow:0 34px 90px rgba(0,0,0,.38)!important;
}
.gfw-modal-head{
  position:relative!important;top:auto!important;
  padding:18px 22px!important;min-height:86px!important;
  gap:22px!important;background:#fff!important;border-bottom:1px solid #d7e7df!important;
}
.gfw-modal-titlebox{display:grid;gap:3px!important;min-width:0!important;padding:0!important}
.gfw-modal-kicker{font-size:10px!important;color:#208463!important;letter-spacing:.15em!important}
.gfw-modal-titlebox h2{margin:0!important;font-size:clamp(22px,2vw,30px)!important;line-height:1.08!important;color:#103f33!important;white-space:normal!important}
.gfw-modal-titlebox p{font-size:11px!important;color:#6e847b!important;font-weight:850!important}
.gfw-modal-head-actions{gap:10px!important;flex:0 0 auto!important}
.gfw-modal-head .gfw-ghost{
  min-height:48px!important;padding:0 17px!important;border-radius:14px!important;
  background:#0d6f50!important;color:#fff!important;border:2px solid #0d6f50!important;
  font-size:13px!important;box-shadow:0 8px 18px rgba(13,96,71,.17)!important;
}
.gfw-modal-head .gfw-ghost:hover{background:#095b42!important;border-color:#095b42!important}
.gfw-modal-close{
  width:48px!important;height:48px!important;border-radius:14px!important;
  background:#fff!important;color:#315d4f!important;border:2px solid #cedfd7!important;
  box-shadow:0 6px 14px rgba(13,90,67,.07)!important;
}
.gfw-modal-close:hover{background:#eef7f2!important;border-color:#95c3ad!important}
.gfw-modal-machine{position:relative!important;padding:20px 20px 10px!important;background:#eef7f3!important}
.gfw-game-modal .gfw-stage{
  min-height:min(68vh,700px)!important;border:1px solid #d3e4db!important;
  border-radius:24px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)!important;
}
.gfw-app:not(:fullscreen) .gfw-game-modal .gfw-machine-scene{padding-left:10px!important;padding-right:74px!important}
.gfw-app:not(:fullscreen) .gfw-game-modal .gfw-fox{right:8px!important;bottom:6px!important;width:116px!important;filter:drop-shadow(0 12px 16px rgba(14,67,51,.2))!important}
.gfw-game-modal .gfw-machine-actions{
  margin:0!important;padding:14px 20px 20px!important;gap:12px!important;
  justify-content:flex-end!important;background:#eef7f3!important;
}
.gfw-game-modal .gfw-machine-actions .gfw-secondary,
.gfw-game-modal .gfw-machine-actions .gfw-primary{
  min-height:48px!important;padding:0 20px!important;border-radius:14px!important;
  font-size:13px!important;font-weight:950!important;box-shadow:0 8px 18px rgba(13,90,67,.10)!important;
}
.gfw-game-modal .gfw-machine-actions .gfw-secondary{
  background:#fff7df!important;color:#174738!important;border:2px solid #d9b34e!important;
}
.gfw-game-modal .gfw-machine-actions .gfw-secondary:hover{background:#ffefbd!important}
.gfw-game-modal .gfw-machine-actions .gfw-primary{
  background:#0d6f50!important;color:#fff!important;border:2px solid #0d6f50!important;
}
.gfw-game-modal .gfw-machine-actions .gfw-primary:hover{background:#095940!important;border-color:#095940!important}
.gfw-game-modal .gfw-reel-tools{opacity:.82!important;gap:6px!important;right:8px!important;bottom:8px!important}
.gfw-game-modal .gfw-reel-tool{
  width:31px!important;height:31px!important;border-radius:9px!important;
  background:#0a5942!important;color:#fff!important;border:1px solid rgba(255,255,255,.35)!important;
  box-shadow:0 4px 10px rgba(0,0,0,.16)!important;
}
.gfw-game-modal .gfw-reel-tool:hover{opacity:1!important;background:#0d7554!important}
.gfw-game-modal .gfw-sound-toggle{
  top:14px!important;left:16px!important;right:auto!important;
  width:46px!important;height:46px!important;border-radius:14px!important;
  background:#fff7df!important;border:2px solid #d9b34e!important;box-shadow:0 8px 18px rgba(13,90,67,.12)!important;
}

/* Immediate visual feedback while a Walze is fetched */
.gfw-app.is-game-loading .gfw-modal-machine{min-height:560px!important;display:grid!important;place-items:center!important}
.gfw-app.is-game-loading .gfw-modal-machine>*{visibility:hidden!important}
.gfw-app.is-game-loading .gfw-modal-machine:after{
  content:"Walze wird geladen …";visibility:visible!important;
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  display:flex;align-items:center;justify-content:center;min-width:230px;min-height:64px;padding:0 24px;
  border-radius:18px;background:#fff;color:#0d6047;border:1px solid #cfdfd7;
  box-shadow:0 14px 34px rgba(13,90,67,.12);font-size:14px;font-weight:950;letter-spacing:.02em;
}

/* BUILDER: buttons and navigation must read as controls, not decoration */
.gfw-builder-topbar{
  position:relative!important;top:auto!important;padding:24px 28px!important;gap:22px!important;
  background:linear-gradient(135deg,#0d6f50 0%,#0d6047 60%,#084735 100%)!important;
}
.gfw-back-library{
  min-height:46px!important;padding:0 16px!important;border-radius:14px!important;
  background:#fff!important;color:#0d6047!important;border:2px solid #fff!important;
  box-shadow:0 8px 18px rgba(0,0,0,.12)!important;font-size:12px!important;
}
.gfw-builder-top-title{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
.gfw-builder-page-title{color:#fff!important;font-size:clamp(30px,2.5vw,44px)!important;font-weight:950!important;line-height:1!important;letter-spacing:-.035em!important}
.gfw-admin-mode-badge{margin:0!important;background:#ffe59a!important;border-color:#ffe59a!important;color:#5b4305!important}
.gfw-builder-top-actions{gap:10px!important}
.gfw-save-top,.gfw-delete-top{min-height:46px!important;padding:0 18px!important;border-radius:14px!important;font-size:12px!important}
.gfw-save-top{background:#1caf75!important;color:#fff!important;border:2px solid #69d7ac!important;box-shadow:0 9px 20px rgba(0,0,0,.15)!important}
.gfw-delete-top{background:#fff!important;color:#a93a3a!important;border:2px solid #f1bcbc!important;box-shadow:0 8px 18px rgba(0,0,0,.10)!important}
.gfw-builder-app .gfw-builder{padding:24px 24px 28px!important}
.gfw-builder-steps{
  position:relative!important;top:auto!important;margin:0 0 20px!important;padding:0!important;
  border:0!important;background:transparent!important;box-shadow:none!important;gap:12px!important;
}
.gfw-builder-steps button{
  min-height:68px!important;padding:12px 16px!important;border:2px solid #d3e4dc!important;
  border-radius:17px!important;background:#fff!important;box-shadow:0 8px 18px rgba(13,90,67,.055)!important;
}
.gfw-builder-steps button:hover{border-color:#8fc5ac!important;background:#f4fbf7!important}
.gfw-builder-steps button.is-active{border-color:#0d6f50!important;background:#0d6f50!important;box-shadow:0 11px 24px rgba(13,96,71,.18)!important}
.gfw-builder-section,.gfw-details-card{margin-bottom:18px!important;border-radius:22px!important;padding:20px!important;box-shadow:0 10px 24px rgba(13,90,67,.045)!important}
.gfw-details-card{padding:0!important}
.gfw-step-heading{margin-bottom:16px!important}
.gfw-step-heading h3,.gfw-builder-finish h3{font-size:22px!important}
.gfw-count-buttons{gap:11px!important}
.gfw-count-btn{min-height:78px!important;border:2px solid #d9e7e0!important;box-shadow:0 6px 14px rgba(13,90,67,.045)!important}
.gfw-count-btn.is-active{border-color:#f1ce66!important;background:#0d6f50!important;box-shadow:0 11px 24px rgba(13,96,71,.19)!important}
.gfw-reel-editors{gap:14px!important}
.gfw-reel-card{box-shadow:0 9px 20px color-mix(in srgb,var(--gfw-tone) 13%,transparent)!important}
.gfw-reel-card-toggle{min-height:72px!important;padding:11px 14px!important}
.gfw-builder-finish{
  margin-top:4px!important;padding:20px!important;border-radius:22px!important;
  background:linear-gradient(135deg,#0d6f50 0%,#0d6047 60%,#084735 100%)!important;
}
.gfw-builder-actions{gap:12px!important}
.gfw-save-btn,.gfw-launch-btn,.gfw-delete-bottom{
  min-height:54px!important;padding-left:18px!important;padding-right:18px!important;border-radius:15px!important;
  box-shadow:0 9px 20px rgba(0,0,0,.12)!important;
}
.gfw-save-btn{background:#f0c957!important;color:#153d31!important;border:2px solid #ffe59a!important}
.gfw-launch-btn{background:#1caf75!important;color:#fff!important;border:2px solid #69d7ac!important}
.gfw-delete-bottom{background:#fff!important;color:#a43838!important;border:2px solid #edbcbc!important}

@media(max-width:980px){
  .gfw-game-modal{padding:16px!important}
  .gfw-game-modal-card{width:calc(100vw - 32px)!important;max-height:calc(100vh - 32px)!important}
  .gfw-app:not(:fullscreen) .gfw-game-modal .gfw-machine-scene{padding-right:58px!important}
  .gfw-app:not(:fullscreen) .gfw-game-modal .gfw-fox{width:98px!important}
  .gfw-library-row{grid-template-columns:1fr!important;gap:16px!important}
  .gfw-lib-row-actions{margin-left:0!important;justify-content:flex-start!important;flex-wrap:wrap!important}
  .gfw-builder-topbar{grid-template-columns:1fr auto!important;padding:18px!important}
  .gfw-builder-top-title{grid-column:1/-1!important;grid-row:1!important}
}
@media(max-width:720px){
  .gfw-public-head{min-height:0!important;padding:22px 18px!important;align-items:flex-start!important}
  .gfw-public-fox{width:70px!important;height:70px!important;flex-basis:70px!important}.gfw-public-fox img{width:68px!important;height:68px!important}
  .gfw-public-brand-title{font-size:31px!important}
  .gfw-create-link{width:100%!important}
  .gfw-library-toolbar{padding:24px 16px 12px!important}.gfw-library-toolbar h2{font-size:32px!important}
  .gfw-public-library-section{margin:0 10px 16px!important;padding:13px!important}
  .gfw-library-row{padding:15px!important}
  .gfw-lib-main-link{align-items:flex-start!important}.gfw-lib-title-line{align-items:flex-start!important;flex-direction:column!important}
  .gfw-lib-title-line strong{font-size:19px!important}
  .gfw-lib-row-actions>*{min-width:46px}.gfw-lib-preview{flex:1 1 160px!important}
  .gfw-game-modal{padding:8px!important}.gfw-game-modal-card{width:calc(100vw - 16px)!important;max-height:calc(100vh - 16px)!important;border-radius:20px!important}
  .gfw-modal-head{padding:14px!important;min-height:74px!important}.gfw-modal-head .gfw-ghost{min-height:44px!important;padding:0 12px!important}.gfw-modal-close{width:44px!important;height:44px!important}
  .gfw-modal-machine{padding:12px 10px 6px!important}.gfw-game-modal .gfw-machine-actions{padding:10px 10px 14px!important}
  .gfw-app:not(:fullscreen) .gfw-game-modal .gfw-machine-scene{padding-right:36px!important}.gfw-app:not(:fullscreen) .gfw-game-modal .gfw-fox{width:80px!important}
  .gfw-builder-topbar{padding:15px!important}.gfw-builder-page-title{font-size:28px!important}.gfw-builder-app .gfw-builder{padding:16px 10px 22px!important}
  .gfw-builder-steps{grid-template-columns:1fr!important;gap:8px!important}
}
.gfw-app:fullscreen .gfw-game-modal{padding:0!important}
.gfw-app:fullscreen .gfw-game-modal-card{width:100vw!important;height:100vh!important;max-width:none!important;max-height:none!important;border-radius:0!important;border:0!important}
.gfw-app:fullscreen .gfw-modal-machine{padding:0!important;height:100vh!important;background:#edf6f1!important}
.gfw-app:fullscreen .gfw-stage{height:100vh!important;min-height:100vh!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.gfw-app:fullscreen .gfw-machine-actions{display:none!important}
.gfw-app:fullscreen .gfw-sound-toggle{left:auto!important;right:18px!important;top:14px!important}


/* =========================================================
   0.4.8 — fullscreen mascot / safer library actions / clear page title
   ========================================================= */
.gfw-app:fullscreen .gfw-fox{display:none!important}

.gfw-public-head{min-height:112px!important;padding-top:24px!important;padding-bottom:24px!important}
.gfw-public-brand{gap:16px!important}
.gfw-public-fox{width:76px!important;height:76px!important;flex-basis:76px!important}
.gfw-public-fox img{width:74px!important;height:74px!important}
.gfw-public-brand-copy{display:grid!important;gap:6px!important}
.gfw-public-brand-mark{display:block;color:#fff;font-size:18px;font-weight:950;letter-spacing:.06em;line-height:1}
.gfw-page-intro{padding:34px 28px 8px;background:#fff}
.gfw-page-eyebrow{display:block;margin:0 0 7px;color:#278866;font-size:11px;font-weight:950;letter-spacing:.14em}
.gfw-page-intro h1{margin:0!important;color:#103f33!important;font-size:clamp(42px,4.2vw,66px)!important;font-weight:950!important;line-height:.95!important;letter-spacing:-.045em!important}
.gfw-library-toolbar{padding-top:22px!important}
.gfw-library-app [data-gfw-delete-card]{display:none!important}
.gfw-lib-row-actions{padding-left:4px!important}

@media(max-width:720px){
  .gfw-page-intro{padding:26px 16px 6px}
  .gfw-page-intro h1{font-size:40px!important}
  .gfw-public-fox{width:62px!important;height:62px!important;flex-basis:62px!important}
  .gfw-public-fox img{width:60px!important;height:60px!important}
  .gfw-public-brand-mark{font-size:15px}
}


/* =========================================================
   0.4.9 — cache-safe visible corrections
   ========================================================= */
.gfw-app:fullscreen .gfw-fox,
.gfw-app:fullscreen .gfw-fox img{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}

.gfw-public-head{
  min-height:88px!important;
  padding:18px 28px!important;
  border-radius:0!important;
}
.gfw-public-brand{gap:12px!important}
.gfw-public-fox{width:58px!important;height:58px!important;flex-basis:58px!important}
.gfw-public-fox img{width:58px!important;height:58px!important}
.gfw-public-brand-copy{display:flex!important;align-items:center!important;min-height:58px!important}
.gfw-public-brand .gfw-kicker{
  margin:0!important;color:#d9f6e9!important;font-size:13px!important;
  letter-spacing:.16em!important;font-weight:950!important;
}
.gfw-public-brand-mark{display:none!important}

.gfw-page-intro{
  display:block!important;
  padding:34px 30px 24px!important;
  background:linear-gradient(180deg,#fff 0%,#fbfdfc 100%)!important;
  border-bottom:1px solid #e2ece7!important;
}
.gfw-page-eyebrow{margin-bottom:9px!important;color:#238160!important;font-size:11px!important}
.gfw-page-intro h1{
  display:block!important;margin:0!important;color:#0b4435!important;
  font-size:clamp(50px,5vw,76px)!important;line-height:.92!important;
  font-weight:950!important;letter-spacing:-.055em!important;
}
.gfw-page-rule{width:92px;height:6px;margin-top:18px;border-radius:999px;background:linear-gradient(90deg,#20a76f,#d9b342)}
.gfw-library-toolbar{padding:24px 30px 14px!important}
.gfw-library-toolbar h2{font-size:clamp(30px,2.7vw,44px)!important}

.gfw-library-app [data-gfw-delete-card],
.gfw-library-app .gfw-lib-icon-btn.is-danger{display:none!important}

@media(max-width:720px){
  .gfw-public-head{padding:14px 16px!important}
  .gfw-public-fox{width:50px!important;height:50px!important;flex-basis:50px!important}
  .gfw-public-fox img{width:50px!important;height:50px!important}
  .gfw-public-brand-copy{min-height:50px!important}
  .gfw-public-brand .gfw-kicker{font-size:10px!important}
  .gfw-page-intro{padding:26px 18px 20px!important}
  .gfw-page-intro h1{font-size:46px!important}
  .gfw-library-toolbar{padding:20px 18px 12px!important}
}


/* =========================================================
   0.4.10 — normal page hierarchy, restrained scale, wider layout
   ========================================================= */
.gfw-app.gfw-library-app{
  width:min(1460px,calc(100vw - 48px))!important;
  max-width:1460px!important;
  margin:28px auto 34px!important;
  left:50%!important;
  transform:translateX(-50%)!important;
}
.gfw-library-app .gfw-public-shell{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.gfw-library-app .gfw-public-head,
.gfw-library-app .gfw-page-intro{display:none!important}

.gfw-page-top{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:24px!important;
  padding:6px 4px 22px!important;
  margin:0 0 12px!important;
  border-bottom:1px solid #dce9e3!important;
  background:transparent!important;
}
.gfw-page-titlebox{min-width:0!important}
.gfw-page-titlebox .gfw-page-eyebrow{
  display:block!important;
  margin:0 0 7px!important;
  color:#238160!important;
  font-size:10px!important;
  font-weight:950!important;
  letter-spacing:.14em!important;
}
.gfw-page-titlebox h1{
  margin:0!important;
  color:#0c4435!important;
  font-size:clamp(38px,3.2vw,52px)!important;
  line-height:.98!important;
  letter-spacing:-.04em!important;
  font-weight:950!important;
}
.gfw-page-titlebox p{
  margin:7px 0 0!important;
  color:#71877f!important;
  font-size:14px!important;
  font-weight:800!important;
}
.gfw-page-top .gfw-create-link{
  min-height:42px!important;
  padding:0 16px!important;
  border-radius:12px!important;
  background:#11805a!important;
  border:1px solid #0d6c4c!important;
  box-shadow:0 6px 14px rgba(13,96,71,.12)!important;
  font-size:12px!important;
}
.gfw-page-top .gfw-create-link:hover{background:#0d6f50!important}

.gfw-library-toolbar{
  padding:10px 4px 12px!important;
  margin:0!important;
}
.gfw-library-toolbar h2{
  margin:0 0 2px!important;
  color:#143f33!important;
  font-size:26px!important;
  line-height:1.05!important;
  letter-spacing:-.02em!important;
}
.gfw-library-toolbar p{
  margin:0!important;
  color:#7a8f87!important;
  font-size:10px!important;
  letter-spacing:.08em!important;
  font-weight:900!important;
}
.gfw-public-library-section{
  margin:0 0 16px!important;
  padding:16px!important;
  border:1px solid #dce8e2!important;
  border-radius:18px!important;
  background:#fbfdfc!important;
  box-shadow:0 7px 18px rgba(13,90,67,.035)!important;
}
.gfw-library-heading{margin-bottom:10px!important}
.gfw-library-heading h3{font-size:16px!important}
.gfw-library-heading span{font-size:9px!important}
.gfw-library-list{gap:8px!important}
.gfw-library-row{
  min-height:76px!important;
  padding:10px 12px!important;
  gap:14px!important;
  border-radius:15px!important;
  box-shadow:none!important;
}
.gfw-library-row:hover{
  transform:none!important;
  border-color:#9bc9b5!important;
  box-shadow:0 7px 16px rgba(13,90,67,.065)!important;
}
.gfw-library-row.is-direct{
  border:2px solid #1a9968!important;
  box-shadow:0 0 0 4px rgba(26,153,104,.10)!important;
}
.gfw-lib-mini-reels{width:70px!important;height:45px!important;flex-basis:70px!important;border-radius:11px!important}
.gfw-lib-title-line strong{font-size:18px!important;line-height:1.08!important}
.gfw-lib-theme{font-size:9px!important;padding:3px 7px!important}
.gfw-lib-labels{gap:5px!important}
.gfw-lib-labels span{min-height:23px!important;padding:0 8px!important;font-size:9px!important}
.gfw-lib-copy small{font-size:9px!important}
.gfw-lib-row-actions{gap:6px!important;padding-left:8px!important}
.gfw-lib-preview{height:40px!important;padding:0 13px!important;border-radius:11px!important;font-size:10px!important;box-shadow:none!important}
.gfw-lib-icon-btn{width:40px!important;height:40px!important;border-radius:11px!important;font-size:15px!important}

/* Direct links identify the Walze, but never auto-open the game. */
.gfw-library-app .gfw-game-modal[hidden]{display:none!important}

@media(max-width:820px){
  .gfw-app.gfw-library-app{width:calc(100vw - 24px)!important;margin:18px auto 26px!important;left:50%!important;transform:translateX(-50%)!important}
  .gfw-page-top{align-items:flex-start!important;flex-direction:column!important;padding:4px 2px 16px!important;gap:14px!important}
  .gfw-page-titlebox h1{font-size:38px!important}
  .gfw-page-top .gfw-create-link{align-self:flex-start!important;width:auto!important}
  .gfw-library-toolbar{padding-left:2px!important;padding-right:2px!important}
  .gfw-public-library-section{padding:12px!important}
  .gfw-library-row{grid-template-columns:1fr!important}
  .gfw-lib-row-actions{padding-left:0!important;justify-content:flex-start!important}
}


/* =========================================================
   0.4.11 — NORMAL PAGE COMPOSITION / VISIBLE TITLE / CLEAR ACTIONS
   ========================================================= */
.gfw-app.gfw-library-app{
  width:min(1280px,calc(100vw - 56px))!important;
  max-width:1280px!important;
  margin:34px auto 48px!important;
  left:50%!important;
  transform:translateX(-50%)!important;
}
.gfw-library-app .gfw-public-shell{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.gfw-library-app .gfw-public-head,
.gfw-library-app .gfw-page-intro,
.gfw-library-app .gfw-library-toolbar{display:none!important}

.gfw-page-top{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:28px!important;
  margin:0 0 26px!important;
  padding:0 2px 24px!important;
  background:transparent!important;
  border:0!important;
  border-bottom:1px solid #d9e8e1!important;
}
.gfw-page-titlebox{display:block!important;min-width:0!important}
.gfw-page-eyebrow{
  display:block!important;
  margin:0 0 9px!important;
  color:#1c8b62!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:.15em!important;
  text-transform:uppercase!important;
}
.gfw-page-main-title{
  display:block!important;
  margin:0!important;
  padding:0!important;
  color:#0c4435!important;
  font-family:inherit!important;
  font-size:48px!important;
  line-height:.96!important;
  font-weight:950!important;
  letter-spacing:-.045em!important;
  text-transform:none!important;
}
.gfw-page-subtitle{
  display:block!important;
  margin:9px 0 0!important;
  color:#536f65!important;
  font-size:18px!important;
  line-height:1.15!important;
  font-weight:850!important;
}
.gfw-title-accent{
  display:block!important;
  width:86px!important;
  height:5px!important;
  margin-top:16px!important;
  border-radius:99px!important;
  background:linear-gradient(90deg,#20a970 0%,#0c6d50 58%,#ddb94e 100%)!important;
}
.gfw-page-top .gfw-create-link{
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  min-height:48px!important;
  padding:0 18px!important;
  border:0!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,#169661 0%,#0d684d 100%)!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:950!important;
  box-shadow:0 10px 24px rgba(13,104,77,.18)!important;
}
.gfw-page-top .gfw-create-link span{font-size:18px!important;line-height:1!important}
.gfw-page-top .gfw-create-link:hover{background:linear-gradient(135deg,#12885a 0%,#0b5d45 100%)!important;transform:translateY(-1px)!important}

.gfw-public-library-section{
  margin:0 0 18px!important;
  padding:17px!important;
  border:1px solid #d8e7df!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(13,90,67,.055)!important;
}
.gfw-library-heading{
  display:flex!important;
  align-items:baseline!important;
  gap:9px!important;
  margin:0 0 13px!important;
  padding:0 2px!important;
}
.gfw-library-heading h3{
  margin:0!important;
  color:#123f33!important;
  font-size:19px!important;
  line-height:1!important;
  font-weight:950!important;
}
.gfw-library-heading span{
  color:#80938c!important;
  font-size:9px!important;
  font-weight:950!important;
  letter-spacing:.07em!important;
  text-transform:uppercase!important;
}
.gfw-library-row{
  min-height:88px!important;
  padding:12px 14px!important;
  gap:18px!important;
  border:1px solid #d9e7e0!important;
  border-radius:16px!important;
  background:#fbfdfc!important;
  box-shadow:none!important;
}
.gfw-library-row:hover{border-color:#9fcdb9!important;background:#fff!important;box-shadow:0 8px 20px rgba(13,90,67,.07)!important;transform:none!important}
.gfw-library-row.is-direct{border:2px solid #1b9a69!important;box-shadow:0 0 0 4px rgba(27,154,105,.08)!important}
.gfw-lib-main-link{gap:14px!important}
.gfw-lib-mini-reels{width:72px!important;height:46px!important;flex-basis:72px!important}
.gfw-lib-copy{gap:5px!important}
.gfw-lib-title-line strong{font-size:19px!important;line-height:1.06!important}
.gfw-lib-theme{font-size:9px!important;padding:4px 7px!important}
.gfw-lib-labels{gap:5px!important}
.gfw-lib-labels span{min-height:24px!important;padding:0 9px!important;font-size:9px!important}
.gfw-lib-copy small{font-size:10px!important}
.gfw-lib-row-actions{display:flex!important;align-items:center!important;gap:8px!important;padding-left:10px!important}
.gfw-lib-preview,
.gfw-lib-action-btn{
  min-height:42px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  border-radius:12px!important;
  padding:0 13px!important;
  font:inherit!important;
  font-size:11px!important;
  font-weight:950!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  cursor:pointer!important;
}
.gfw-lib-preview{
  border:0!important;
  background:#0f7b58!important;
  color:#fff!important;
  box-shadow:0 7px 16px rgba(15,123,88,.14)!important;
}
.gfw-lib-preview:hover{background:#0b684b!important}
.gfw-lib-action-btn{
  border:1px solid #bcd9cc!important;
  background:#fff!important;
  color:#245947!important;
  box-shadow:0 3px 8px rgba(13,90,67,.035)!important;
}
.gfw-lib-action-btn:hover{border-color:#86bea7!important;background:#f3faf6!important;color:#0d684d!important}
.gfw-lib-action-btn span{font-size:13px!important}
.gfw-library-app .gfw-lib-icon-btn,
.gfw-library-app [data-gfw-delete-card]{display:none!important}
.gfw-library-empty{padding:22px!important}

@media(max-width:900px){
  .gfw-app.gfw-library-app{width:calc(100vw - 28px)!important;margin:24px auto 38px!important}
  .gfw-page-top{align-items:flex-start!important;flex-direction:column!important;gap:18px!important}
  .gfw-page-main-title{font-size:42px!important}
  .gfw-page-top .gfw-create-link{align-self:flex-start!important}
  .gfw-library-row{grid-template-columns:1fr!important}
  .gfw-lib-row-actions{padding-left:0!important;justify-content:flex-start!important;flex-wrap:wrap!important}
}
@media(max-width:560px){
  .gfw-app.gfw-library-app{width:calc(100vw - 18px)!important;margin-top:18px!important}
  .gfw-page-main-title{font-size:36px!important}
  .gfw-page-subtitle{font-size:16px!important}
  .gfw-public-library-section{padding:12px!important;border-radius:16px!important}
  .gfw-library-row{padding:11px!important}
  .gfw-lib-main-link{align-items:flex-start!important}
  .gfw-lib-title-line strong{font-size:17px!important}
  .gfw-lib-row-actions{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important}
  .gfw-lib-preview,.gfw-lib-action-btn{width:100%!important}
}

/* =========================================================
   0.5.0 — FUCHSWERKSTATT WORKBENCH
   ========================================================= */
body.gfw-public-page .entry-header,
body.gfw-public-page .post-header,
body.gfw-public-page .wp-block-post-title,
body.gfw-public-page .entry-title,
body.gfw-public-page .page-title{display:none!important}
html.gfw-modal-open,html.gfw-modal-open body{overflow:hidden!important}

.gfw-workbench-app{
  --gfw-green:#0d6b4e;
  --gfw-green-dark:#084b39;
  --gfw-green-soft:#eaf7f1;
  --gfw-gold:#d7aa42;
  --gfw-cream:#fff9ea;
  --gfw-ink:#173f34;
  --gfw-muted:#6e837a;
  width:min(1320px,calc(100vw - 40px))!important;
  max-width:1320px!important;
  margin:26px 50% 58px!important;
  left:auto!important;
  transform:translateX(-50%)!important;
  padding:0!important;
  color:var(--gfw-ink);
}
.gfw-workbench-app *{box-sizing:border-box}
.gfw-page-shell{width:100%;min-width:0}
.gfw-page-head{position:relative;margin:0 0 22px;padding:0 2px 0 2px;background:transparent;border:0;box-shadow:none}
.gfw-back-workshop{display:inline-flex;align-items:center;min-height:34px;margin-bottom:12px;padding:0 10px;border-radius:10px;background:#edf7f2;color:#176648!important;text-decoration:none!important;font-size:10px;font-weight:950;transition:.14s ease}
.gfw-back-workshop:hover{background:#dff1e8;transform:translateX(-2px)}
.gfw-page-kicker{display:block;margin-bottom:6px;color:#2d8a68;font-size:10px;font-weight:950;letter-spacing:.13em}
.gfw-page-head h1{margin:0!important;color:#0b4f3b!important;font-size:clamp(36px,4vw,48px)!important;line-height:1!important;font-weight:950!important;letter-spacing:-.035em}
.gfw-page-head p{max-width:760px;margin:8px 0 0;color:var(--gfw-muted);font-size:13px;line-height:1.4;font-weight:650}

.gfw-workbench-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(400px,.85fr);gap:20px;align-items:start}
.gfw-library-column{min-width:0;padding:18px;border:1px solid #dbe9e2;border-radius:22px;background:#fff;box-shadow:0 14px 34px rgba(13,90,67,.06)}
.gfw-library-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:13px}
.gfw-section-kicker{display:block;margin-bottom:2px;color:#2d8a68;font-size:9px;font-weight:950;letter-spacing:.12em}
.gfw-library-head h2{margin:0!important;color:#123e31!important;font-size:27px!important;line-height:1!important;font-weight:950!important;letter-spacing:-.025em}
.gfw-library-search{width:min(320px,42%);height:42px;display:flex;align-items:center;gap:7px;padding:0 11px;border:1px solid #cfe0d8;border-radius:12px;background:#fbfdfc;transition:.12s ease}
.gfw-library-search:focus-within{border-color:#78b89c;box-shadow:0 0 0 3px rgba(26,145,99,.09)}
.gfw-library-search>span{color:#3b745e;font-size:17px;font-weight:900}
.gfw-library-search input{width:100%;min-width:0;height:100%;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#173f34;font:inherit;font-size:12px;font-weight:700}
.gfw-library-filters{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:13px}
.gfw-library-filters button{appearance:none;min-height:34px;padding:0 11px;border:1px solid #d7e5de;border-radius:999px;background:#fff;color:#46685d;font:inherit;font-size:10px;font-weight:900;cursor:pointer;transition:.12s ease}
.gfw-library-filters button:hover{border-color:#a8cfbd;background:#f5faf7;color:#155d45}
.gfw-library-filters button.is-active{border-color:#0d6b4e;background:#0d6b4e;color:#fff;box-shadow:0 5px 12px rgba(13,107,78,.15)}
.gfw-exercise-list{display:grid;gap:9px}
.gfw-exercise-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 12px;border:1px solid #dce9e3;border-radius:16px;background:#fff;box-shadow:0 4px 12px rgba(13,90,67,.028);transition:.14s ease}
.gfw-exercise-card:hover{border-color:#a9d1bf;box-shadow:0 9px 20px rgba(13,90,67,.075);transform:translateY(-1px)}
.gfw-exercise-card.is-highlighted{border-color:#d2a33a;box-shadow:0 0 0 3px rgba(210,163,58,.15),0 9px 20px rgba(13,90,67,.075)}
.gfw-exercise-main{min-width:0;display:flex;align-items:center;gap:12px}
.gfw-exercise-mini{width:66px;height:48px;flex:0 0 66px;display:flex;gap:2px;padding:5px;border:2px solid #d0a13b;border-radius:12px;background:#0b5843;box-shadow:inset 0 0 0 1px rgba(255,242,179,.25)}
.gfw-exercise-mini i{flex:1;border-radius:3px;background:linear-gradient(90deg,#eee2c8,#fffdf7 35%,#fff 60%,#e9ddc3);box-shadow:inset 0 0 4px rgba(89,61,13,.18)}
.gfw-exercise-copy{min-width:0;display:grid;gap:4px}
.gfw-exercise-badges{display:flex;flex-wrap:wrap;gap:5px;align-items:center}
.gfw-origin-badge,.gfw-draft-badge,.gfw-theme-badge{display:inline-flex;align-items:center;min-height:20px;padding:0 7px;border-radius:999px;font-size:8px;font-weight:950;letter-spacing:.04em;text-transform:uppercase}
.gfw-origin-badge.is-germannika{background:#e5f5ed;color:#176647}.gfw-origin-badge.is-community{background:#eef3fb;color:#315f8a}.gfw-draft-badge{background:#fff1d4;color:#8b6411}.gfw-theme-badge{background:#f4f7f5;color:#5d756c}
.gfw-exercise-copy h3{margin:0!important;color:#173f34!important;font-size:16px!important;line-height:1.15!important;font-weight:950!important;white-space:normal}
.gfw-exercise-labels{display:flex;gap:5px;flex-wrap:wrap}
.gfw-exercise-labels span{display:inline-flex;align-items:center;min-height:22px;padding:0 7px;border-radius:8px;background:#f0f7f3;color:#315d4e;font-size:8px;font-weight:850}
.gfw-exercise-copy small{color:#798e86;font-size:9px;font-weight:760}
.gfw-exercise-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.gfw-exercise-actions button{appearance:none;min-height:38px;padding:0 11px;border-radius:11px;font:inherit;font-size:10px;font-weight:950;cursor:pointer;transition:.12s ease;white-space:nowrap}
.gfw-action-open{border:0;background:linear-gradient(135deg,#169266,#0d6047);color:#fff;box-shadow:0 7px 15px rgba(13,96,71,.14)}
.gfw-action-open:hover{background:linear-gradient(135deg,#12865c,#0a523d);transform:translateY(-1px)}
.gfw-action-share{border:1px solid #cfe1d9;background:#f5faf7;color:#176448}.gfw-action-share:hover{background:#e7f4ed;border-color:#a8cfbd}
.gfw-action-edit{border:1px solid #e2d5ac;background:#fff9e9;color:#7a5c18}.gfw-action-edit:hover{background:#fff2cd;border-color:#d4b866}
.gfw-library-empty,.gfw-no-results{padding:24px;border:1px dashed #cbded5;border-radius:14px;background:#fbfdfc;color:#71867d;text-align:center;font-size:11px;font-weight:800}

.gfw-creator-column{position:sticky;top:24px}
.gfw-creator-card{appearance:none;width:100%;padding:0;border:1px solid #d7e7df;border-radius:22px;background:#fff;color:inherit;text-align:left;font:inherit;overflow:hidden;cursor:pointer;box-shadow:0 14px 34px rgba(13,90,67,.07);transition:.15s ease}
.gfw-creator-card:hover{transform:translateY(-2px);border-color:#a6ceb9;box-shadow:0 20px 40px rgba(13,90,67,.11)}
.gfw-creator-top{display:flex;align-items:center;gap:9px;padding:15px 16px 11px}
.gfw-creator-top>span{display:inline-flex;align-items:center;min-height:23px;padding:0 8px;border-radius:999px;background:#e5f5ed;color:#176647;font-size:8px;font-weight:950;letter-spacing:.06em}
.gfw-creator-top strong{color:#123d31;font-size:17px;font-weight:950}
.gfw-creator-visual{padding:14px;background:linear-gradient(145deg,#edf8f2 0%,#fff8e7 100%)}
.gfw-launch-machine{position:relative;width:100%;padding:18px 18px 14px;border:4px solid #d2a33a;border-radius:20px;background:linear-gradient(180deg,#0e6e51,#094c3a);box-shadow:0 14px 24px rgba(6,62,47,.18),inset 0 0 0 2px rgba(255,238,173,.23)}
.gfw-launch-reels{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;padding:5px;border:2px solid #8e681c;border-radius:11px;background:#062f27}
.gfw-launch-reels i{position:relative;height:94px;border-radius:7px;background:linear-gradient(90deg,#eadfc6,#fffdf6 23%,#fff 50%,#fffdf6 77%,#eadfc6);overflow:hidden}
.gfw-launch-reels i:before,.gfw-launch-reels i:after{content:"";position:absolute;left:0;right:0;height:28%;z-index:1}.gfw-launch-reels i:before{top:0;background:linear-gradient(#d6cbb4,transparent)}.gfw-launch-reels i:after{bottom:0;background:linear-gradient(transparent,#d6cbb4)}
.gfw-launch-reels b{position:absolute;top:6px;left:2px;right:2px;color:#60736b;font-size:6px;text-align:center;z-index:2}
.gfw-launch-reels span{position:absolute;top:50%;left:3px;right:3px;transform:translateY(-50%);padding:4px 1px;border:2px solid #d2a13b;border-radius:5px;background:rgba(255,255,255,.72);color:#214a3d;font-size:7px;font-weight:950;text-align:center;z-index:2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gfw-launch-console{display:grid;grid-template-columns:minmax(0,1fr) 67px;gap:6px;margin-top:7px}
.gfw-launch-console span{min-width:0;display:flex;align-items:center;padding:0 8px;border-radius:7px;background:#062f27;color:#f2df9f;font-size:6px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gfw-launch-console b{display:grid;place-items:center;min-height:31px;border-radius:7px;background:linear-gradient(180deg,#f1d16e,#ca942c);color:#173f34;font-size:8px;font-weight:950}
.gfw-creator-button{display:flex;align-items:center;justify-content:space-between;min-height:47px;padding:0 16px;background:#0d6b4e;color:#fff;font-size:11px;font-weight:950}
.gfw-creator-button b{font-size:16px}

/* Builder modal */
.gfw-builder-modal[hidden],.gfw-share-modal[hidden],.gfw-game-modal[hidden]{display:none!important}
.gfw-builder-modal,.gfw-share-modal,.gfw-game-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:18px}
.gfw-builder-backdrop,.gfw-share-backdrop,.gfw-game-backdrop{position:absolute;inset:0;background:rgba(5,32,25,.66);backdrop-filter:blur(5px)}
.gfw-builder-dialog{position:relative;z-index:1;width:min(1180px,calc(100vw - 36px));max-height:calc(100vh - 36px);display:flex;flex-direction:column;border:1px solid rgba(255,255,255,.72);border-radius:22px;background:#fff;box-shadow:0 28px 80px rgba(0,0,0,.28);overflow:hidden}
.gfw-builder-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 16px;border-bottom:1px solid #dce9e3;background:#fff}
.gfw-builder-head>div:first-child{min-width:0}.gfw-builder-head span{display:block;color:#2d8967;font-size:8px;font-weight:950;letter-spacing:.12em}.gfw-builder-head h2{margin:2px 0 0!important;color:#123e31!important;font-size:22px!important;line-height:1!important;font-weight:950!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gfw-builder-head-right{display:flex;align-items:center;gap:8px}.gfw-builder-head-right>button{width:37px;height:37px;border:0;border-radius:10px;background:#edf4f0;color:#345f51;font:inherit;font-size:23px;cursor:pointer}.gfw-builder-status{display:inline-flex!important;align-items:center;min-height:27px;padding:0 9px;border-radius:999px;background:#fff1d4;color:#8b6411!important;font-size:8px!important;letter-spacing:.04em!important}.gfw-builder-status.is-public{background:#e3f4eb;color:#176648!important}
.gfw-builder-layout{min-height:0;display:grid;grid-template-columns:360px minmax(0,1fr);gap:0;flex:1;overflow:hidden}
.gfw-builder-preview{min-height:0;padding:16px;border-right:1px solid #dfeae4;background:linear-gradient(180deg,#f7fbf9 0%,#fffaf0 100%);overflow:auto}
.gfw-builder-preview-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.gfw-builder-preview-head strong{color:#174638;font-size:12px;font-weight:950}.gfw-builder-preview-head button{min-height:30px;padding:0 8px;border:1px solid #d7e5de;border-radius:9px;background:#fff;color:#356552;font:inherit;font-size:9px;font-weight:900;cursor:pointer}
.gfw-live-machine{position:relative;padding:18px 16px 14px;border:4px solid #d3a43a;border-radius:19px;background:linear-gradient(180deg,#0e6d51,#094a39);box-shadow:0 14px 26px rgba(5,61,46,.18),inset 0 0 0 2px rgba(255,239,177,.25)}
.gfw-live-reels{display:grid;grid-template-columns:repeat(var(--gfw-live-count,5),minmax(0,1fr));gap:3px;padding:5px;border:2px solid #8d671c;border-radius:11px;background:#062f27;overflow:hidden}
.gfw-live-reels i{position:relative;min-width:0;height:112px;border-radius:7px;background:linear-gradient(90deg,#eadfc5,#fffdf5 24%,#fff 50%,#fffdf5 76%,#eadfc5);overflow:hidden}
.gfw-live-reels i:before,.gfw-live-reels i:after{content:"";position:absolute;left:0;right:0;height:27%;z-index:1}.gfw-live-reels i:before{top:0;background:linear-gradient(#d5cab3,transparent)}.gfw-live-reels i:after{bottom:0;background:linear-gradient(transparent,#d5cab3)}
.gfw-live-reels b{position:absolute;top:7px;left:2px;right:2px;color:#61756c;font-size:6px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:2}
.gfw-live-reels span{position:absolute;top:50%;left:3px;right:3px;transform:translateY(-50%);padding:5px 1px;border:2px solid #d3a43a;border-radius:5px;background:rgba(255,255,255,.76);color:#214a3d;font-size:7px;font-weight:950;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:2}
.gfw-live-console{display:grid;grid-template-columns:minmax(0,1fr) 68px;gap:6px;margin-top:7px}.gfw-live-console span{min-width:0;display:flex;align-items:center;padding:0 8px;border-radius:7px;background:#062f27;color:#f2df9e;font-size:6px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gfw-live-console b{display:grid;place-items:center;min-height:31px;border-radius:7px;background:linear-gradient(180deg,#f0d06c,#c9922c);color:#183e32;font-size:8px;font-weight:950}.gfw-live-lever{position:absolute;right:-14px;top:58px;width:8px;height:56px;border-radius:8px;background:#c9952e;transform:rotate(5deg)}.gfw-live-lever:before{content:"";position:absolute;left:50%;top:-13px;transform:translateX(-50%);width:19px;height:19px;border:2px solid #8d6518;border-radius:50%;background:#e5b84d}
.gfw-builder-test{width:100%;min-height:40px;margin-top:11px;border:0;border-radius:11px;background:#0d6b4e;color:#fff;font:inherit;font-size:10px;font-weight:950;cursor:pointer}.gfw-builder-test:disabled{opacity:.38;cursor:not-allowed}
.gfw-publish-check{display:flex;align-items:center;gap:7px;margin-top:9px;padding:9px 10px;border-radius:10px;background:#fff4df;color:#8a6415;font-size:9px}.gfw-publish-check>span{width:8px;height:8px;border-radius:50%;background:#d0a039}.gfw-publish-check.is-ready{background:#e5f5ed;color:#176649}.gfw-publish-check.is-ready>span{background:#1b9a68}
.gfw-builder-form{min-height:0;padding:16px 17px 18px;overflow:auto;background:#fff}
.gfw-builder-fields{display:grid;grid-template-columns:1.25fr .75fr;gap:10px;margin-bottom:12px}.gfw-builder-fields label,.gfw-reel-label-input{display:grid;gap:5px}.gfw-builder-fields label>span,.gfw-reel-label-input>span{color:#315d4e;font-size:9px;font-weight:950}.gfw-builder-fields em{font-style:normal;color:#8a9b94;font-weight:700}.gfw-builder-fields input,.gfw-reel-label-input input,.gfw-entry-row input{width:100%;height:40px;border:1px solid #cadcd3!important;border-radius:11px!important;background:#fff!important;color:#173f34!important;padding:0 10px!important;font:inherit!important;font-size:11px!important;outline:none!important;box-shadow:none!important}.gfw-builder-fields input:focus,.gfw-reel-label-input input:focus,.gfw-entry-row input:focus{border-color:#66ad8e!important;box-shadow:0 0 0 3px rgba(28,142,99,.09)!important}
.gfw-builder-count-row{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;margin-bottom:12px}.gfw-builder-count-row>strong{color:#315d4e;font-size:10px;font-weight:950}.gfw-builder-modal .gfw-count-buttons{display:grid!important;grid-template-columns:repeat(9,minmax(0,1fr))!important;gap:5px!important}.gfw-builder-modal .gfw-count-buttons button{appearance:none;min-height:34px;border:1px solid #d4e3dc;border-radius:9px;background:#f7faf8;color:#41675a;font:inherit;font-size:10px;font-weight:950;cursor:pointer}.gfw-builder-modal .gfw-count-buttons button.is-active{border-color:#0d6b4e;background:#0d6b4e;color:#fff;box-shadow:0 5px 11px rgba(13,107,78,.13)}
.gfw-editor-list{display:grid;gap:8px}.gfw-reel-editor{--tone:#16815b;--tone-soft:#e5f5ed;border:1px solid color-mix(in srgb,var(--tone) 28%,#d9e7e0);border-left:5px solid var(--tone);border-radius:13px;background:#fff;overflow:hidden}.gfw-reel-editor.gfw-tone-1{--tone:#16815b;--tone-soft:#e3f4eb}.gfw-reel-editor.gfw-tone-2{--tone:#177f92;--tone-soft:#e3f2f4}.gfw-reel-editor.gfw-tone-3{--tone:#3d6fa8;--tone-soft:#e7eef8}.gfw-reel-editor.gfw-tone-4{--tone:#7e55a1;--tone-soft:#efe8f5}.gfw-reel-editor.gfw-tone-5{--tone:#b57a11;--tone-soft:#faf0d8}.gfw-reel-editor.gfw-tone-6{--tone:#b65c34;--tone-soft:#f8e8e0}.gfw-reel-editor.gfw-tone-7{--tone:#667d2d;--tone-soft:#eef2df}.gfw-reel-editor.gfw-tone-8{--tone:#33796c;--tone-soft:#e4f1ed}
.gfw-reel-editor-head{appearance:none;width:100%;min-height:48px;display:flex;align-items:center;gap:8px;padding:7px 9px;border:0;background:linear-gradient(90deg,var(--tone-soft),#fff);color:#173f34;text-align:left;font:inherit;cursor:pointer}.gfw-reel-index{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;border-radius:8px;background:var(--tone);color:#fff;font-size:10px;font-weight:950}.gfw-reel-editor-summary{min-width:0;display:grid;gap:1px;flex:1}.gfw-reel-editor-summary strong{font-size:11px;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gfw-reel-editor-summary small{color:#70877e;font-size:8px;font-weight:760}.gfw-reel-ready{display:inline-flex;align-items:center;min-height:21px;padding:0 7px;border-radius:999px;background:#f0f3f2;color:#71877e;font-size:7px;font-weight:950;text-transform:uppercase}.gfw-reel-ready.is-ready{background:#e1f4e9;color:#176649}.gfw-reel-chevron{width:21px;color:var(--tone);display:grid;place-items:center;transition:.12s ease}.gfw-reel-chevron svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.2}.gfw-reel-editor.is-open .gfw-reel-chevron{transform:rotate(180deg)}
.gfw-reel-editor-body{display:none;padding:10px;background:#fff}.gfw-reel-editor.is-open .gfw-reel-editor-body{display:grid;gap:8px}.gfw-entry-list{display:grid;gap:6px}.gfw-entry-row{display:grid;grid-template-columns:1fr 34px;gap:5px}.gfw-entry-row button{appearance:none;border:1px solid #e7caca;border-radius:9px;background:#fff7f7;color:#a54b4b;font:inherit;font-size:16px;font-weight:900;cursor:pointer}.gfw-add-entry{justify-self:start;min-height:32px;padding:0 9px;border:1px solid color-mix(in srgb,var(--tone) 32%,#d9e7e0);border-radius:9px;background:var(--tone-soft);color:var(--tone);font:inherit;font-size:9px;font-weight:950;cursor:pointer}
.gfw-builder-modal .gfw-builder-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0!important;padding:11px 14px!important;border-top:1px solid #dce9e3!important;background:#fbfdfc!important}.gfw-builder-actions-left,.gfw-builder-actions-right{display:flex;gap:7px;flex-wrap:wrap}.gfw-builder-modal .gfw-builder-actions button{appearance:none;min-height:40px;padding:0 12px;border-radius:11px;font:inherit;font-size:10px;font-weight:950;cursor:pointer}.gfw-delete-button{border:1px solid #e8c3c3;background:#fff7f7;color:#a13f3f}.gfw-private-button{border:1px solid #e7d6aa;background:#fff9e8;color:#7d5e16}.gfw-save-button{border:1px solid #bdd8cb;background:#eff7f3;color:#176448}.gfw-publish-button{border:0;background:linear-gradient(135deg,#169266,#0d6047);color:#fff;box-shadow:0 7px 15px rgba(13,96,71,.14)}.gfw-builder-actions button:disabled{opacity:.4;cursor:not-allowed;box-shadow:none}

/* Share modal */
.gfw-share-dialog{position:relative;z-index:1;width:min(760px,calc(100vw - 36px));max-height:calc(100vh - 36px);display:flex;flex-direction:column;border-radius:20px;background:#fff;box-shadow:0 26px 70px rgba(0,0,0,.27);overflow:hidden}.gfw-share-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #dce8e2}.gfw-share-dialog>header span{display:block;color:#2d8967;font-size:8px;font-weight:950;letter-spacing:.12em}.gfw-share-dialog>header h2{margin:2px 0 0!important;color:#153f33!important;font-size:21px!important;font-weight:950!important}.gfw-share-dialog>header button{width:36px;height:36px;border:0;border-radius:10px;background:#edf4f0;color:#345f51;font:inherit;font-size:22px;cursor:pointer}.gfw-share-body{display:grid;gap:10px;padding:14px;overflow:auto}.gfw-share-body article{padding:12px;border:1px solid #dce8e2;border-radius:14px;background:#fbfdfc}.gfw-share-body article>div:first-child{display:flex;align-items:center;gap:9px;margin-bottom:9px}.gfw-share-body article>div:first-child>b{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:#0d6b4e;color:#fff;font-size:10px}.gfw-share-body article>div:first-child>span{display:grid;gap:1px}.gfw-share-body article strong{font-size:11px;color:#1b493a}.gfw-share-body article small{font-size:9px;color:#73887f}.gfw-share-body input,.gfw-share-body textarea{width:100%;border:1px solid #cadbd3!important;border-radius:10px!important;background:#fff!important;color:#294f42!important;padding:9px 10px!important;font:10px/1.45 ui-monospace,SFMono-Regular,Menlo,monospace!important;box-shadow:none!important}.gfw-share-body textarea{min-height:92px;resize:vertical}.gfw-share-actions{display:flex;gap:7px;margin-top:8px}.gfw-share-actions button,.gfw-share-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 10px;border:0;border-radius:9px;background:#e8f5ee;color:#176648!important;text-decoration:none!important;font:inherit;font-size:9px;font-weight:950;cursor:pointer}

/* Game modal shell: spacing and obvious controls. */
.gfw-game-card{position:relative;z-index:1;width:min(1540px,calc(100vw - 36px));max-height:calc(100vh - 36px);display:flex;flex-direction:column;border-radius:22px;background:#eef7f3;box-shadow:0 28px 80px rgba(0,0,0,.31);overflow:auto}
.gfw-game-head{position:sticky;top:0;z-index:40;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 14px 10px 16px;border-bottom:1px solid #dce9e3;background:#fff}.gfw-game-titlebox{min-width:0}.gfw-game-titlebox>span{display:block;color:#2b8965;font-size:8px;font-weight:950;letter-spacing:.13em}.gfw-game-titlebox h2{margin:1px 0!important;color:#143f33!important;font-size:18px!important;line-height:1!important;font-weight:950!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gfw-game-titlebox p{margin:2px 0 0;color:#758a82;font-size:9px;font-weight:750}.gfw-game-head-actions{display:flex;gap:7px}.gfw-game-fullscreen{min-height:38px;padding:0 12px;border:0;border-radius:10px;background:#0d6b4e;color:#fff;font:inherit;font-size:10px;font-weight:950;cursor:pointer}.gfw-game-close{width:38px;height:38px;border:0;border-radius:10px;background:#edf4f0;color:#345f51;font:inherit;font-size:22px;cursor:pointer}.gfw-game-machine{padding:10px 12px 12px}.gfw-game-machine .gfw-stage{border-radius:18px}.gfw-game-machine .gfw-machine-actions{padding:0 4px 4px;margin-top:10px;gap:8px}.gfw-game-machine .gfw-machine-actions button{min-height:40px;border-radius:11px}.gfw-game-machine .gfw-reel-tool{opacity:1!important;background:#fff!important;border:1px solid #c7dbd1!important;box-shadow:0 4px 9px rgba(13,90,67,.10)!important}.gfw-game-machine .gfw-sound-toggle{opacity:1!important}
.gfw-workbench-app:fullscreen{width:100%!important;max-width:none!important;margin:0!important;transform:none!important;background:#edf6f1!important}.gfw-workbench-app:fullscreen>.gfw-page-shell,.gfw-workbench-app:fullscreen>.gfw-builder-modal,.gfw-workbench-app:fullscreen>.gfw-share-modal{display:none!important}.gfw-workbench-app:fullscreen .gfw-game-modal{display:flex!important;position:fixed;inset:0;padding:0;background:#edf6f1}.gfw-workbench-app:fullscreen .gfw-game-backdrop,.gfw-workbench-app:fullscreen .gfw-game-head{display:none!important}.gfw-workbench-app:fullscreen .gfw-game-card{width:100vw;height:100vh;max-width:none;max-height:none;border-radius:0;box-shadow:none;overflow:hidden}.gfw-workbench-app:fullscreen .gfw-game-machine{height:100vh;padding:0}.gfw-workbench-app:fullscreen .gfw-stage{height:100vh!important;min-height:100vh!important;border-radius:0!important;padding:0!important}.gfw-workbench-app:fullscreen .gfw-machine-actions{display:none!important}.gfw-workbench-app:fullscreen .gfw-fox{display:none!important}

/* Standalone iframe */
html:has(.gfw-embed-standalone),body.gfw-standalone-body{margin:0!important;padding:0!important;background:#edf6f1!important}.gfw-embed-standalone{min-height:100dvh;margin:0;padding:0}.gfw-embed-app{width:100%!important;max-width:none!important;margin:0!important;left:auto!important;transform:none!important;padding:0!important}.gfw-embed-head{display:flex;align-items:baseline;gap:9px;padding:11px 14px;border-bottom:1px solid #dce9e3;background:#fff}.gfw-embed-head>span{color:#2b8965;font-size:8px;font-weight:950;letter-spacing:.12em}.gfw-embed-head h1{margin:0!important;color:#143f33!important;font-size:17px!important;font-weight:950!important}.gfw-embed-head p{margin:0;color:#748981;font-size:9px}.gfw-embed-machine{padding:8px}.gfw-embed-machine .gfw-stage{min-height:calc(100dvh - 90px);border-radius:16px}.gfw-embed-machine .gfw-machine-actions{padding:0 5px 5px;margin-top:8px}.gfw-embed-app:fullscreen .gfw-fox{display:none!important}.gfw-embed-error{min-height:100dvh;display:grid;place-items:center;padding:30px;text-align:center;color:#285447;font:800 16px/1.4 system-ui,sans-serif}

.gfw-toast{position:fixed;left:50%;bottom:24px;z-index:1000002;transform:translateX(-50%);padding:10px 14px;border-radius:11px;background:#123f33;color:#fff;font-size:11px;font-weight:900;box-shadow:0 10px 28px rgba(0,0,0,.2)}

@media(max-width:1040px){
  .gfw-workbench-grid{grid-template-columns:minmax(0,1fr) 330px}
  .gfw-builder-layout{grid-template-columns:310px minmax(0,1fr)}
}
@media(max-width:860px){
  .gfw-workbench-grid{grid-template-columns:1fr}.gfw-creator-column{position:static;order:-1}.gfw-creator-card{display:grid;grid-template-columns:1fr 1.2fr;align-items:center}.gfw-creator-top{align-self:end}.gfw-creator-visual{grid-column:2;grid-row:1/3}.gfw-creator-button{align-self:start}.gfw-builder-layout{grid-template-columns:1fr;overflow:auto}.gfw-builder-preview{border-right:0;border-bottom:1px solid #dfeae4}.gfw-live-machine{max-width:430px;margin:0 auto}.gfw-builder-form{overflow:visible}.gfw-builder-dialog{overflow:auto}.gfw-exercise-card{grid-template-columns:1fr}.gfw-exercise-actions{justify-content:flex-start;padding-left:78px}
}
@media(max-width:620px){
  .gfw-workbench-app{width:calc(100vw - 20px)!important;margin-top:16px!important;margin-bottom:40px!important}.gfw-page-head h1{font-size:35px!important}.gfw-page-head p{font-size:12px}.gfw-library-column{padding:12px;border-radius:18px}.gfw-library-head{align-items:stretch;flex-direction:column}.gfw-library-search{width:100%}.gfw-library-head h2{font-size:24px!important}.gfw-creator-card{display:block;border-radius:18px}.gfw-creator-visual{padding:11px}.gfw-launch-machine{padding:14px 12px 11px}.gfw-launch-reels i{height:80px}.gfw-exercise-main{align-items:flex-start}.gfw-exercise-mini{width:54px;height:42px;flex-basis:54px}.gfw-exercise-copy h3{font-size:14px!important}.gfw-exercise-actions{padding-left:0}.gfw-exercise-actions button{flex:1;min-width:86px}.gfw-builder-modal,.gfw-share-modal,.gfw-game-modal{padding:6px}.gfw-builder-dialog,.gfw-share-dialog,.gfw-game-card{width:calc(100vw - 12px);max-height:calc(100vh - 12px);border-radius:16px}.gfw-builder-head{padding:10px}.gfw-builder-head h2{font-size:18px!important}.gfw-builder-preview{padding:12px}.gfw-builder-form{padding:12px}.gfw-builder-fields{grid-template-columns:1fr}.gfw-builder-count-row{grid-template-columns:1fr}.gfw-builder-modal .gfw-count-buttons{grid-template-columns:repeat(5,minmax(0,1fr))!important}.gfw-builder-modal .gfw-builder-actions{align-items:stretch!important;flex-direction:column!important}.gfw-builder-actions-left,.gfw-builder-actions-right{display:grid;grid-template-columns:1fr 1fr;width:100%}.gfw-builder-actions-left:has(.gfw-private-button[hidden]){grid-template-columns:1fr}.gfw-game-machine{padding:4px}.gfw-game-head{padding:8px}.gfw-game-fullscreen{padding:0 9px}.gfw-live-reels i{height:94px}
}

.gfw-embed-fullscreen{margin-left:auto;min-height:34px;padding:0 10px;border:0;border-radius:9px;background:#0d6b4e;color:#fff;font:inherit;font-size:9px;font-weight:950;cursor:pointer}


/* =========================================================
   0.5.1 — builder modal viewport isolation + compact polish
   ========================================================= */
/* Do not create a transformed containing block around fixed modals. */
.gfw-workbench-app{
  margin:26px auto 58px!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
}

/* Constructor/share/game overlays must sit above the site header and WP admin bar. */
.gfw-builder-modal,.gfw-share-modal,.gfw-game-modal{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100dvh!important;
  z-index:2147483000!important;
  padding:18px!important;
  isolation:isolate;
  overflow:hidden;
  overscroll-behavior:contain;
}
.gfw-builder-backdrop,.gfw-share-backdrop,.gfw-game-backdrop{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
}
.gfw-builder-dialog,.gfw-share-dialog,.gfw-game-card{
  position:relative!important;
  z-index:2!important;
}

/* Keep the constructor chrome readable while the form itself scrolls. */
.gfw-builder-dialog{
  width:min(1180px,calc(100vw - 36px))!important;
  max-height:calc(100dvh - 36px)!important;
}
.gfw-builder-head{
  position:relative;
  z-index:5;
  flex:0 0 auto;
  min-height:64px;
  padding:12px 16px 11px!important;
  box-shadow:0 6px 16px rgba(13,90,67,.045);
}
.gfw-builder-head>div:first-child{
  display:grid;
  align-content:center;
  gap:2px;
}
.gfw-builder-head>div:first-child>span{
  margin:0!important;
  line-height:1.15!important;
}
.gfw-builder-head h2{
  margin:0!important;
  line-height:1.08!important;
}
.gfw-builder-layout{min-height:0!important;flex:1 1 auto!important;}
.gfw-builder-form,.gfw-builder-preview{overscroll-behavior:contain;}
.gfw-builder-modal .gfw-builder-actions{
  position:relative;
  z-index:5;
  flex:0 0 auto!important;
  min-height:62px;
  box-shadow:0 -6px 16px rgba(13,90,67,.04);
}

/* Disabled actions remain visibly buttons instead of disappearing into the panel. */
.gfw-builder-test:disabled,
.gfw-builder-modal .gfw-builder-actions button:disabled{
  opacity:.62!important;
  filter:saturate(.72);
}
.gfw-builder-test:disabled{
  background:#9bc9b4!important;
  color:#fff!important;
  border:1px solid #84bda3!important;
}
.gfw-publish-button:disabled{
  background:#9bc9b4!important;
  color:#fff!important;
  border:1px solid #84bda3!important;
}

/* Slightly cleaner visual rhythm in the right-hand editor. */
.gfw-builder-fields{margin-bottom:14px!important;}
.gfw-builder-count-row{margin-bottom:14px!important;}
.gfw-editor-list{gap:9px!important;}
.gfw-reel-editor-head{min-height:50px!important;}

@media(max-width:620px){
  .gfw-workbench-app{margin:16px auto 40px!important;}
  .gfw-builder-modal,.gfw-share-modal,.gfw-game-modal{padding:6px!important;}
  .gfw-builder-dialog,.gfw-share-dialog,.gfw-game-card{max-height:calc(100dvh - 12px)!important;}
  .gfw-builder-head{min-height:58px;}
}


/* =========================================================
   0.5.2 — constructor finishing pass
   ========================================================= */
/* The live preview is a compact tool, not a full-height decorative column. */
.gfw-builder-preview{
  align-self:start!important;
  overflow:visible!important;
  border-right:1px solid #dfeae4!important;
  border-bottom:1px solid #dfeae4!important;
  border-bottom-right-radius:18px!important;
  padding-bottom:16px!important;
}

/* Let the final reel scroll completely clear of the fixed action footer. */
.gfw-builder-form{
  padding-bottom:42px!important;
  scroll-padding-bottom:42px!important;
}
.gfw-editor-list{padding-bottom:8px!important;}

/* Clear action hierarchy: Save is visible, Publish stays primary. */
.gfw-save-button{
  border:1px solid #0e6d50!important;
  background:#176d52!important;
  color:#fff!important;
  box-shadow:0 5px 12px rgba(13,96,71,.13)!important;
}
.gfw-save-button:hover{background:#105c45!important;}
.gfw-publish-button:not(:disabled){
  background:linear-gradient(135deg,#1aa06d,#0d6b4e)!important;
  color:#fff!important;
  box-shadow:0 7px 16px rgba(13,96,71,.17)!important;
}
.gfw-publish-button:disabled{
  opacity:1!important;
  filter:none!important;
  background:#c4ddd2!important;
  color:#477466!important;
  border:1px solid #aacfc0!important;
  box-shadow:none!important;
}
.gfw-builder-test:disabled{
  opacity:1!important;
  filter:none!important;
  background:#b9d5c8!important;
  color:#fff!important;
  border:1px solid #a5cab9!important;
}

/* Missing-fields control: compact summary + explicit checklist on demand. */
.gfw-publish-check{
  appearance:none;
  width:100%;
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:9px;
  padding:9px 10px;
  border:0;
  border-radius:10px;
  background:#fff4df;
  color:#8a6415;
  text-align:left;
  font:inherit;
  font-size:9px;
  cursor:pointer;
}
.gfw-publish-check-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#d0a039;}
.gfw-publish-check strong{flex:1;min-width:0;font-weight:950;}
.gfw-publish-check-chevron{font-size:13px;font-weight:950;line-height:1;transition:transform .14s ease;}
.gfw-publish-check.is-open .gfw-publish-check-chevron{transform:rotate(180deg);}
.gfw-publish-check.is-ready{background:#e5f5ed;color:#176649;cursor:default;}
.gfw-publish-check.is-ready .gfw-publish-check-dot{background:#1b9a68;}
.gfw-publish-check.is-ready .gfw-publish-check-chevron{display:none;}
.gfw-missing-list{
  margin-top:6px;
  padding:9px 10px 9px 12px;
  border:1px solid #ead7aa;
  border-radius:10px;
  background:#fffaf0;
  color:#705618;
  font-size:9px;
  line-height:1.35;
}
.gfw-missing-list strong{display:block;margin-bottom:4px;font-size:9px;font-weight:950;}
.gfw-missing-list ul{margin:0;padding-left:15px;display:grid;gap:2px;}
.gfw-missing-list li{margin:0;}

@media(max-width:860px){
  .gfw-builder-preview{
    align-self:auto!important;
    border-right:0!important;
    border-bottom:1px solid #dfeae4!important;
    border-bottom-right-radius:0!important;
  }
  .gfw-builder-form{padding-bottom:28px!important;scroll-padding-bottom:28px!important;}
}


/* =========================================================
   0.5.4 — PREVIEW MUST OPEN ABOVE THE CONSTRUCTOR
   The builder, share dialog and game cannot share one z-index:
   the builder is later in the DOM and was covering the preview.
   ========================================================= */
.gfw-builder-modal{z-index:2147483000!important;}
.gfw-share-modal{z-index:2147483200!important;}
.gfw-game-modal{z-index:2147483400!important;}
.gfw-workbench-app.has-game-open .gfw-builder-modal:not([hidden]){pointer-events:none!important;}
.gfw-workbench-app.has-game-open .gfw-game-modal{pointer-events:auto!important;}


/* 0.5.6 — lifecycle / library / validation polish */
.gfw-duplicate-button{min-height:40px;padding:0 13px;border:1px solid #c9ddd4;border-radius:12px;background:#eef7f3;color:#155b45;font:inherit;font-size:11px;font-weight:950;cursor:pointer}
.gfw-duplicate-button:hover{background:#e3f2eb;border-color:#9bc9b7}
.gfw-builder-actions-left{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.gfw-builder-actions-right{display:flex;align-items:center;gap:8px}
@media(max-width:720px){.gfw-builder-actions-left,.gfw-builder-actions-right{width:100%}.gfw-builder-actions-left>button,.gfw-builder-actions-right>button{flex:1 1 auto}}

/* =========================================================
   0.5.7 — three lifecycle states + solid/filled controls
   ========================================================= */
/* Library filter pills are filled even when inactive. */
.gfw-library-filters button{
  border:0!important;
  background:#e4f2eb!important;
  color:#1c5b46!important;
  box-shadow:inset 0 0 0 1px rgba(13,107,78,.10)!important;
}
.gfw-library-filters button:hover{
  background:#cfe8dc!important;
  color:#0e533d!important;
}
.gfw-library-filters button.is-active{
  background:#0d6b4e!important;
  color:#fff!important;
  box-shadow:0 6px 14px rgba(13,107,78,.18)!important;
}
.gfw-library-filters [data-gfw-filter-count]{
  display:inline-grid;
  place-items:center;
  min-width:18px;
  height:18px;
  margin-left:4px;
  padding:0 5px;
  border-radius:999px;
  background:rgba(13,107,78,.12);
  color:inherit;
  font-size:8px;
  font-weight:950;
}
.gfw-library-filters button.is-active [data-gfw-filter-count]{background:rgba(255,255,255,.18);color:#fff;}

/* Status chips: immediately distinguish public/private/draft. */
.gfw-state-badge{
  display:inline-flex;
  align-items:center;
  min-height:20px;
  padding:0 7px;
  border-radius:999px;
  color:#fff;
  font-size:8px;
  font-weight:950;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.gfw-state-badge.is-published{background:#14845d;}
.gfw-state-badge.is-private{background:#2f6e79;}
.gfw-state-badge.is-draft{background:#c18a22;}

/* Compact subsections inside "Meine Walzen". */
.gfw-my-group{display:grid;gap:7px;margin:0 0 13px;}
.gfw-my-group:last-child{margin-bottom:0;}
.gfw-my-group-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:31px;
  padding:0 10px 0 12px;
  border-radius:10px;
  background:#edf6f1;
  color:#245747;
}
.gfw-my-group.is-published .gfw-my-group-head{background:#e1f2e9;color:#176448;}
.gfw-my-group.is-private .gfw-my-group-head{background:#e4f0f2;color:#2e6570;}
.gfw-my-group.is-draft .gfw-my-group-head{background:#fff0cf;color:#815c14;}
.gfw-my-group-head strong{font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.05em;}
.gfw-my-group-head span{display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:rgba(255,255,255,.72);font-size:9px;font-weight:950;}
.gfw-my-group-list{display:grid;gap:8px;}

/* Library actions: no white/outline-looking controls. */
.gfw-action-open,
.gfw-action-share,
.gfw-action-edit{
  border:0!important;
  color:#fff!important;
  box-shadow:0 6px 14px rgba(20,66,52,.13)!important;
}
.gfw-action-open{background:#11805a!important;}
.gfw-action-open:hover{background:#0a6948!important;}
.gfw-action-share{background:#2d7d88!important;}
.gfw-action-share:hover{background:#246873!important;}
.gfw-action-edit{background:#b47c18!important;}
.gfw-action-edit:hover{background:#95640e!important;}

/* Builder status chip mirrors the three states. */
.gfw-builder-status{
  color:#fff!important;
  border:0!important;
  box-shadow:none!important;
}
.gfw-builder-status.is-draft{background:#c18a22!important;color:#fff!important;}
.gfw-builder-status.is-private{background:#2f6e79!important;color:#fff!important;}
.gfw-builder-status.is-public{background:#14845d!important;color:#fff!important;}

/* Footer lifecycle controls are all solid, saturated buttons. */
.gfw-builder-modal .gfw-builder-actions button{
  border:0!important;
  color:#fff!important;
  box-shadow:0 6px 14px rgba(20,66,52,.13)!important;
  transition:transform .12s ease,filter .12s ease,box-shadow .12s ease!important;
}
.gfw-builder-modal .gfw-builder-actions button:not(:disabled):hover{
  transform:translateY(-1px);
  filter:brightness(.94);
  box-shadow:0 9px 18px rgba(20,66,52,.18)!important;
}
.gfw-delete-button{background:#b94b4b!important;color:#fff!important;}
.gfw-draft-button{background:#c18a22!important;color:#fff!important;}
.gfw-private-button{background:#2f6e79!important;color:#fff!important;}
.gfw-duplicate-button{background:#5a63a7!important;color:#fff!important;}
.gfw-save-button{background:#176d52!important;color:#fff!important;}
.gfw-publish-button:not(:disabled){background:#159365!important;color:#fff!important;}

/* Disabled controls stay visibly filled, never ghost-like. */
.gfw-builder-modal .gfw-builder-actions button:disabled,
.gfw-publish-button:disabled{
  opacity:1!important;
  filter:none!important;
  background:#9ebdaf!important;
  color:#fff!important;
  box-shadow:none!important;
  cursor:not-allowed!important;
}

/* Preview controls read as actual buttons. */
.gfw-builder-preview-head button{
  border:0!important;
  background:#2f7a65!important;
  color:#fff!important;
  box-shadow:0 4px 10px rgba(13,90,67,.12)!important;
}
.gfw-builder-test{
  border:0!important;
  background:#16875f!important;
  color:#fff!important;
  box-shadow:0 6px 14px rgba(13,96,71,.14)!important;
}
.gfw-builder-test:disabled{
  opacity:1!important;
  background:#9ebdaf!important;
  color:#fff!important;
  border:0!important;
}

@media(max-width:720px){
  .gfw-my-group-head{min-height:29px;}
  .gfw-builder-actions-left,.gfw-builder-actions-right{display:grid!important;grid-template-columns:1fr 1fr!important;}
  .gfw-builder-actions-left>button,.gfw-builder-actions-right>button{width:100%!important;}
}


/* =========================================================
   0.5.9 — ADMIN SCHNELLIMPORT / TWO-WAY LIVE SYNC
   ========================================================= */
.gfw-builder-head-right .gfw-quickimport-toggle{
  width:auto!important;
  min-width:126px!important;
  height:38px!important;
  padding:0 14px!important;
  border:0!important;
  border-radius:11px!important;
  background:linear-gradient(135deg,#7b42d6,#5c2db4)!important;
  color:#fff!important;
  font:inherit!important;
  font-size:10px!important;
  font-weight:950!important;
  letter-spacing:.01em!important;
  box-shadow:0 8px 18px rgba(93,45,180,.26)!important;
  cursor:pointer!important;
  transition:transform .13s ease,box-shadow .13s ease,filter .13s ease!important;
}
.gfw-builder-head-right .gfw-quickimport-toggle:hover,
.gfw-builder-head-right .gfw-quickimport-toggle.is-active{
  transform:translateY(-1px)!important;
  filter:saturate(1.12)!important;
  box-shadow:0 11px 23px rgba(93,45,180,.34)!important;
}
.gfw-quickimport-panel{
  margin:0 0 14px!important;
  padding:12px!important;
  border:2px solid #7b42d6!important;
  border-radius:15px!important;
  background:linear-gradient(180deg,#fbf8ff 0%,#f5efff 100%)!important;
  box-shadow:0 10px 24px rgba(93,45,180,.09)!important;
}
.gfw-quickimport-panel[hidden]{display:none!important;}
.gfw-quickimport-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px;}
.gfw-quickimport-head>div:first-child{display:grid;gap:2px;min-width:0;}
.gfw-quickimport-head strong{color:#4f249d;font-size:13px;font-weight:950;}
.gfw-quickimport-head span{color:#806aa8;font-size:9px;font-weight:800;}
.gfw-quickimport-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto;}
.gfw-quickimport-actions button{
  appearance:none;border:0;border-radius:9px;background:#6733bd;color:#fff;
  min-height:32px;padding:0 10px;font:inherit;font-size:9px;font-weight:950;cursor:pointer;
  box-shadow:0 5px 12px rgba(93,45,180,.16);
}
.gfw-quickimport-actions button[data-gfw-quickimport-close]{width:32px;padding:0;background:#4b277e;font-size:18px;line-height:1;}
.gfw-quickimport-panel textarea{
  display:block;width:100%!important;min-height:220px!important;max-height:38vh!important;resize:vertical!important;
  margin:0!important;padding:12px 13px!important;border:1px solid #c8b4eb!important;border-radius:12px!important;
  background:#fff!important;color:#2d2341!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)!important;
  font:11px/1.45 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace!important;
  outline:none!important;white-space:pre!important;tab-size:2;
}
.gfw-quickimport-panel textarea:focus{border-color:#7b42d6!important;box-shadow:0 0 0 3px rgba(123,66,214,.12)!important;}
.gfw-quickimport-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;}
.gfw-quickimport-foot>span{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;background:#e8f5ee;color:#176648;font-size:8px;font-weight:950;}
.gfw-quickimport-foot>span.is-syncing{background:#eee7fb;color:#6334af;}
.gfw-quickimport-foot>span.is-error{background:#ffe8e8;color:#a43d3d;}
.gfw-quickimport-foot small{min-width:0;color:#7b6f8e;font:8px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
@media(max-width:720px){
  .gfw-builder-head-right{flex-wrap:wrap;justify-content:flex-end;}
  .gfw-builder-head-right .gfw-quickimport-toggle{min-width:112px!important;padding:0 10px!important;}
  .gfw-quickimport-head{align-items:flex-start;flex-direction:column;}
  .gfw-quickimport-actions{width:100%;}
  .gfw-quickimport-actions button:first-child{flex:1;}
  .gfw-quickimport-panel textarea{min-height:180px!important;}
  .gfw-quickimport-foot{align-items:flex-start;flex-direction:column;}
}


/* 0.5.10 — direct final-save action */
.gfw-final-button{
  border:0!important;
  background:linear-gradient(135deg,#367f91,#255f73)!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(37,95,115,.22)!important;
}
.gfw-final-button:hover:not(:disabled){
  background:linear-gradient(135deg,#2e7487,#1f5568)!important;
  transform:translateY(-1px);
}
.gfw-final-button:disabled{
  background:#6f9da8!important;
  color:#eef8fa!important;
  opacity:.58!important;
  box-shadow:none!important;
}
@media(max-width:620px){
  .gfw-builder-actions-right{grid-template-columns:1fr!important;}
}

/* =========================================================
   0.5.12 — lifecycle/library finish
   ========================================================= */
.gfw-my-group-empty{
  min-height:42px;
  display:flex;
  align-items:center;
  padding:0 12px;
  border-radius:11px;
  background:#f7faf8;
  color:#6f867d;
  font-size:10px;
  font-weight:800;
}
/* Disabled actions stay unmistakably filled; no translucent ghost buttons. */
.gfw-builder-modal .gfw-builder-actions button:disabled,
.gfw-final-button:disabled,
.gfw-publish-button:disabled{
  opacity:1!important;
  color:#fff!important;
  box-shadow:none!important;
  cursor:not-allowed!important;
}
.gfw-final-button:disabled{background:#6b8d98!important;}
.gfw-publish-button:disabled{background:#719b8c!important;}
.gfw-save-button:disabled{background:#6d9385!important;}
.gfw-private-button:disabled{background:#66858d!important;}
.gfw-draft-button:disabled{background:#9b7a3b!important;}

/* 0.5.13 · Spielzustände und Lock-Logik */
.gfw-reel-tool:disabled{opacity:.55;cursor:not-allowed;filter:saturate(.72)}
.gfw-spin:disabled,.gfw-primary:disabled,.gfw-lever:disabled{cursor:not-allowed;filter:saturate(.78) brightness(.88);opacity:.72}
.gfw-spin.is-disabled,.gfw-primary.is-disabled,.gfw-lever.is-disabled{pointer-events:none}
.gfw-reel.is-locked .gfw-reel-track{box-shadow:inset 0 0 0 2px rgba(176,126,28,.24)}


/* 0.5.14 · Teilen/Embed hardening */
.gfw-share-current{margin:3px 0 0!important;color:#6d8279!important;font-size:10px!important;font-weight:800!important;line-height:1.25!important}
.gfw-share-actions button,.gfw-share-actions a{color:#fff!important;box-shadow:0 6px 14px rgba(13,107,78,.16);transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}
.gfw-share-actions button{background:#0d6b4e!important}
.gfw-share-actions a{background:#7048b8!important}
.gfw-share-actions button:hover,.gfw-share-actions a:hover{transform:translateY(-1px);filter:brightness(.96);box-shadow:0 8px 18px rgba(20,66,52,.20)}
.gfw-share-actions button:focus-visible,.gfw-share-actions a:focus-visible{outline:3px solid rgba(221,177,58,.55)!important;outline-offset:2px!important}
.gfw-share-actions button.is-copied{background:#17885f!important}
.gfw-embed-fullscreen{background:#0d6b4e!important;color:#fff!important;box-shadow:0 5px 12px rgba(13,107,78,.18)}
@media (max-width:640px){
  .gfw-share-actions{display:grid!important;grid-template-columns:1fr 1fr!important}
  .gfw-share-actions button,.gfw-share-actions a{width:100%!important;min-height:40px!important}
  .gfw-embed-head{align-items:center!important;flex-wrap:wrap!important}
  .gfw-embed-head h1{flex:1 1 180px!important}
  .gfw-embed-head p{order:4;flex-basis:100%!important}
  .gfw-embed-fullscreen{margin-left:auto!important}
}


/* =========================================================
   0.5.15 — MOBILE / RESPONSIVE FINISHING PASS
   Library · constructor · game · embed · fullscreen
   ========================================================= */

/* Mobile browser chrome/orientation: use dynamic viewport units where possible. */
.gfw-builder-modal,.gfw-share-modal,.gfw-game-modal{min-height:100dvh}
.gfw-fullscreen-exit{
  display:none;position:fixed;z-index:2147483600;left:max(12px,env(safe-area-inset-left));top:max(12px,env(safe-area-inset-top));
  min-height:42px;padding:0 13px;border:0;border-radius:11px;background:#0d6b4e;color:#fff;
  font:inherit;font-size:10px;font-weight:950;box-shadow:0 7px 18px rgba(0,0,0,.20);cursor:pointer
}
.gfw-workbench-app:fullscreen .gfw-fullscreen-exit,.gfw-embed-app:fullscreen .gfw-fullscreen-exit{display:inline-flex!important;align-items:center;justify-content:center}

/* Touch devices must not hide per-reel lock/reroll tools behind hover. */
@media (hover:none),(pointer:coarse){
  .gfw-reel-tools{opacity:1!important}
  .gfw-reel-tool{min-width:30px;min-height:30px}
}

/* Tablet: keep the workbench natural and the constructor body usable. */
@media(max-width:860px){
  .gfw-workbench-app{width:calc(100vw - 24px)!important;margin:18px auto 42px!important}
  .gfw-page-head{margin-bottom:16px!important}
  .gfw-workbench-grid{gap:14px!important}
  .gfw-creator-column{order:0!important}
  .gfw-creator-card{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(260px,.9fr)!important}
  .gfw-creator-top{align-self:end!important}
  .gfw-creator-visual{grid-column:2!important;grid-row:1/3!important}
  .gfw-creator-button{align-self:start!important}

  .gfw-builder-dialog{width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important}
  .gfw-builder-layout{display:block!important;overflow:auto!important;overscroll-behavior:contain!important}
  .gfw-builder-preview{position:relative!important;padding:13px 15px 14px!important;overflow:visible!important}
  .gfw-live-machine{max-width:480px!important;margin:0 auto!important}
  .gfw-builder-form{overflow:visible!important;padding:14px 15px 34px!important}
  .gfw-builder-modal .gfw-builder-actions{position:sticky!important;bottom:0!important}

  .gfw-game-card{width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important}
  .gfw-game-machine{padding:7px!important}
  .gfw-game-machine .gfw-stage{min-height:min(620px,calc(100dvh - 118px))!important}
}

/* Phone workbench/library. */
@media(max-width:620px){
  .gfw-workbench-app{width:calc(100vw - 12px)!important;margin:10px auto 28px!important}
  .gfw-page-head{margin:0 4px 14px!important}
  .gfw-back-workshop{min-height:38px!important;margin-bottom:9px!important}
  .gfw-page-kicker{font-size:9px!important}
  .gfw-page-head h1{font-size:32px!important;line-height:1.02!important}
  .gfw-page-head p{margin-top:6px!important;font-size:11px!important;line-height:1.35!important}
  .gfw-workbench-grid{gap:12px!important}
  .gfw-library-column{padding:11px!important;border-radius:17px!important}
  .gfw-library-head{gap:9px!important;margin-bottom:10px!important}
  .gfw-library-head h2{font-size:22px!important}
  .gfw-library-search{height:44px!important;border-radius:11px!important}
  .gfw-library-filters{
    flex-wrap:nowrap!important;overflow-x:auto!important;overscroll-behavior-inline:contain!important;
    scrollbar-width:none!important;margin:0 -2px 11px!important;padding:1px 2px 5px!important
  }
  .gfw-library-filters::-webkit-scrollbar{display:none!important}
  .gfw-library-filters button{flex:0 0 auto!important;min-height:36px!important;padding:0 11px!important}
  .gfw-exercise-list{gap:8px!important}
  .gfw-exercise-card{display:block!important;padding:11px!important;border-radius:14px!important}
  .gfw-exercise-main{gap:9px!important}
  .gfw-exercise-mini{width:48px!important;height:40px!important;flex-basis:48px!important}
  .gfw-exercise-copy{gap:4px!important}
  .gfw-exercise-copy h3{font-size:14px!important;line-height:1.18!important}
  .gfw-exercise-labels{max-height:54px;overflow:hidden}
  .gfw-exercise-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;padding:10px 0 0!important;width:100%!important}
  .gfw-exercise-actions button{width:100%!important;min-width:0!important;min-height:42px!important;padding:0 8px!important}
  .gfw-exercise-actions button:only-child{grid-column:1/-1}
  .gfw-my-group{margin-bottom:10px!important}
  .gfw-my-group-head{position:sticky;top:0;z-index:2}

  .gfw-creator-card{display:block!important;border-radius:17px!important}
  .gfw-creator-top{padding:12px 13px 9px!important}
  .gfw-creator-top strong{font-size:15px!important}
  .gfw-creator-visual{padding:10px!important}
  .gfw-launch-machine{padding:12px 10px 10px!important;border-radius:16px!important}
  .gfw-launch-reels i{height:72px!important}
  .gfw-creator-button{min-height:48px!important}
}

/* Constructor: true phone-sized sheet with fixed chrome and one scrollable body. */
@media(max-width:620px){
  .gfw-builder-modal,.gfw-share-modal,.gfw-game-modal{padding:0!important;align-items:stretch!important;justify-content:stretch!important}
  .gfw-builder-dialog,.gfw-share-dialog,.gfw-game-card{
    width:100vw!important;height:100dvh!important;max-width:none!important;max-height:100dvh!important;
    border-radius:0!important;border:0!important
  }
  .gfw-builder-dialog{overflow:hidden!important}
  .gfw-builder-head{
    position:sticky!important;top:0!important;z-index:20!important;min-height:62px!important;
    padding:max(9px,env(safe-area-inset-top)) 11px 9px!important;gap:8px!important
  }
  .gfw-builder-head>div:first-child{min-width:0!important;flex:1 1 auto!important}
  .gfw-builder-head>div:first-child>span{font-size:7px!important}
  .gfw-builder-head h2{font-size:17px!important;max-width:52vw!important}
  .gfw-builder-head-right{gap:6px!important;flex:0 0 auto!important;flex-wrap:nowrap!important}
  .gfw-builder-status{min-height:26px!important;padding:0 7px!important;font-size:7px!important}
  .gfw-builder-head-right .gfw-quickimport-toggle{min-width:0!important;width:auto!important;height:36px!important;padding:0 9px!important;font-size:9px!important}
  .gfw-builder-head-right>button:not(.gfw-quickimport-toggle){width:36px!important;height:36px!important}

  .gfw-builder-layout{flex:1 1 auto!important;display:block!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important}
  .gfw-builder-preview{padding:11px!important;background:#f7fbf9!important}
  .gfw-builder-preview-head{margin-bottom:8px!important}
  .gfw-live-machine{max-width:330px!important;padding:12px 10px 10px!important;border-width:3px!important;border-radius:15px!important}
  .gfw-live-reels i{height:76px!important}
  .gfw-builder-test{min-height:42px!important;margin-top:9px!important}
  .gfw-publish-check{margin-top:7px!important}
  .gfw-missing-list{font-size:9px!important}

  .gfw-builder-form{padding:12px 10px 22px!important;overflow:visible!important}
  .gfw-builder-fields{grid-template-columns:1fr!important;gap:9px!important}
  .gfw-builder-fields input,.gfw-reel-label-input input,.gfw-entry-row input{height:44px!important;font-size:12px!important}
  .gfw-builder-count-row{display:block!important;margin-bottom:12px!important}
  .gfw-builder-count-row>strong{display:block!important;margin-bottom:7px!important}
  .gfw-builder-modal .gfw-count-buttons{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important}
  .gfw-builder-modal .gfw-count-buttons button{min-height:40px!important}
  .gfw-reel-editor-head{min-height:54px!important;padding:8px 9px!important}
  .gfw-reel-editor-summary strong{font-size:12px!important}
  .gfw-reel-editor-body{padding:9px!important}
  .gfw-entry-row{grid-template-columns:minmax(0,1fr) 42px!important;gap:6px!important}
  .gfw-entry-row button{min-height:44px!important}
  .gfw-add-entry{min-height:38px!important;padding:0 11px!important}

  .gfw-quickimport-panel{padding:10px!important;margin-bottom:11px!important}
  .gfw-quickimport-panel textarea{min-height:210px!important;max-height:48dvh!important;font-size:10px!important}

  .gfw-builder-modal .gfw-builder-actions{
    position:sticky!important;bottom:0!important;z-index:30!important;display:block!important;
    padding:9px 10px max(9px,env(safe-area-inset-bottom))!important;background:#f8fcfa!important;
    box-shadow:0 -8px 22px rgba(13,90,67,.09)!important
  }
  .gfw-builder-actions-left,.gfw-builder-actions-right{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;width:100%!important}
  .gfw-builder-actions-left:empty{display:none!important}
  .gfw-builder-actions-left:not(:empty){margin-bottom:7px!important}
  .gfw-builder-actions-right{grid-template-columns:1fr!important}
  .gfw-builder-modal .gfw-builder-actions button{width:100%!important;min-height:44px!important;padding:0 8px!important;font-size:9px!important}
}

/* Share dialog on phones. */
@media(max-width:620px){
  .gfw-share-dialog>header{padding:max(12px,env(safe-area-inset-top)) 12px 10px!important}
  .gfw-share-dialog>header h2{font-size:19px!important}
  .gfw-share-body{padding:10px 10px max(14px,env(safe-area-inset-bottom))!important;overflow:auto!important}
  .gfw-share-body article{padding:10px!important}
  .gfw-share-body input,.gfw-share-body textarea{font-size:9px!important}
  .gfw-share-actions{grid-template-columns:1fr!important}
  .gfw-share-actions button,.gfw-share-actions a{min-height:42px!important}
}

/* Game on phones: fit one machine cleanly, keep controls touchable, no mascot overlap. */
@media(max-width:620px){
  .gfw-game-card{overflow:hidden!important;background:#edf6f1!important}
  .gfw-game-head{flex:0 0 auto!important;padding:max(8px,env(safe-area-inset-top)) 8px 8px!important;min-height:58px!important}
  .gfw-game-titlebox h2{font-size:15px!important;max-width:58vw!important}
  .gfw-game-titlebox p{font-size:8px!important}
  .gfw-game-head-actions{gap:6px!important}
  .gfw-game-fullscreen{min-height:40px!important;padding:0 9px!important;font-size:9px!important}
  .gfw-game-close{width:40px!important;height:40px!important}
  .gfw-game-machine{flex:1 1 auto!important;min-height:0!important;overflow:auto!important;padding:4px 4px max(7px,env(safe-area-inset-bottom))!important}
  .gfw-game-machine .gfw-stage{min-height:calc(100dvh - 70px)!important;border-radius:14px!important}
  .gfw-game-machine .gfw-machine-wrap{min-height:0!important}
  .gfw-app:not(:fullscreen) .gfw-game-modal .gfw-machine-scene{padding:2px 4px 58px!important}
  .gfw-app:not(:fullscreen) .gfw-game-modal .gfw-fox{display:none!important}
  .gfw-machine{border-width:4px!important;border-radius:26px 26px 34px 34px!important;padding:9px 5px 9px!important}
  .gfw-machine-crown{height:18px!important;margin:0 6% 7px!important}
  .gfw-reel-frame{padding:4px!important;border-width:3px!important;border-radius:18px!important}
  .gfw-reels,.gfw-reel{height:250px!important}
  .gfw-reels{gap:3px!important}
  .gfw-reel{border-radius:10px / 26px!important}
  .gfw-reel-track{--gfw-item-h:46px!important;top:calc(50% - (var(--gfw-item-h) * 2.5))!important}
  .gfw-reel-item{height:46px!important;padding:3px 2px!important;font-size:9px!important;line-height:1.02!important}
  .gfw-reel-item.is-center{font-size:10px!important;padding-left:2px!important;padding-right:2px!important;transform:scale(1.02,1.08)!important}
  .gfw-reel-label{top:3px!important;left:2px!important;right:2px!important;height:20px!important;border-radius:6px!important;padding:0 2px!important;font-size:7px!important}
  .gfw-center-glow{left:3px!important;right:3px!important;height:50px!important;border-width:3px!important;border-radius:11px!important}
  .gfw-reel-tools{right:2px!important;bottom:2px!important;gap:2px!important}
  .gfw-reel-tool{width:28px!important;height:28px!important;padding:5px!important;border-radius:7px!important}
  .gfw-machine-console{grid-template-columns:1fr!important;gap:7px!important;margin-top:7px!important}
  .gfw-result-caption{font-size:8px!important;margin:0 0 3px 5px!important}
  .gfw-result{min-height:54px!important;padding:8px 10px!important;border-width:3px!important;border-radius:11px!important;font-size:15px!important}
  .gfw-result.is-long{font-size:13px!important}.gfw-result.is-very-long{font-size:11px!important}
  .gfw-spin{height:56px!important;border-radius:11px!important;font-size:18px!important}
  .gfw-lever{display:none!important}
  .gfw-sound-toggle{width:38px!important;height:38px!important;top:7px!important;left:7px!important}
  .gfw-game-machine .gfw-machine-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;margin-top:7px!important;padding:0 0 4px!important}
  .gfw-game-machine .gfw-machine-actions button{width:100%!important;min-height:44px!important}
}

/* 6–10 reels: on a phone keep each reel wide enough to remain readable and allow internal swipe. */
@media(max-width:620px){
  .gfw-reels[data-count="6"],.gfw-reels[data-count="7"],.gfw-reels[data-count="8"],.gfw-reels[data-count="9"],.gfw-reels[data-count="10"]{
    grid-template-columns:repeat(var(--gfw-reel-count),minmax(58px,1fr))!important;
    overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity!important;
    scrollbar-width:thin!important;overscroll-behavior-x:contain!important
  }
  .gfw-reels[data-count="6"] .gfw-reel,.gfw-reels[data-count="7"] .gfw-reel,.gfw-reels[data-count="8"] .gfw-reel,.gfw-reels[data-count="9"] .gfw-reel,.gfw-reels[data-count="10"] .gfw-reel{scroll-snap-align:start}
  .gfw-reels[data-count="8"] .gfw-reel-item,.gfw-reels[data-count="9"] .gfw-reel-item,.gfw-reels[data-count="10"] .gfw-reel-item{font-size:8px!important}
  .gfw-reels[data-count="8"] .gfw-reel-item.is-center,.gfw-reels[data-count="9"] .gfw-reel-item.is-center,.gfw-reels[data-count="10"] .gfw-reel-item.is-center{font-size:9px!important}
}

/* Fullscreen: account for notches/safe areas and keep an explicit exit control. */
.gfw-workbench-app:fullscreen,.gfw-embed-app:fullscreen{width:100vw!important;height:100dvh!important}
.gfw-workbench-app:fullscreen .gfw-game-card,.gfw-embed-app:fullscreen{height:100dvh!important}
.gfw-workbench-app:fullscreen .gfw-game-machine,.gfw-workbench-app:fullscreen .gfw-stage,.gfw-embed-app:fullscreen .gfw-stage{height:100dvh!important;min-height:100dvh!important}
@media(max-width:620px){
  .gfw-workbench-app:fullscreen .gfw-machine-scene,.gfw-embed-app:fullscreen .gfw-machine-scene{padding:44px 4px 4px!important}
  .gfw-workbench-app:fullscreen .gfw-machine,.gfw-embed-app:fullscreen .gfw-machine{padding:9px 5px!important}
  .gfw-workbench-app:fullscreen .gfw-reels,.gfw-workbench-app:fullscreen .gfw-reel,.gfw-embed-app:fullscreen .gfw-reels,.gfw-embed-app:fullscreen .gfw-reel{height:min(52dvh,360px)!important}
  .gfw-workbench-app:fullscreen .gfw-machine-console,.gfw-embed-app:fullscreen .gfw-machine-console{grid-template-columns:1fr!important}
  .gfw-workbench-app:fullscreen .gfw-result,.gfw-embed-app:fullscreen .gfw-result{min-height:58px!important;font-size:15px!important}
  .gfw-workbench-app:fullscreen .gfw-spin,.gfw-embed-app:fullscreen .gfw-spin{height:58px!important;font-size:18px!important}
  .gfw-workbench-app:fullscreen .gfw-sound-toggle,.gfw-embed-app:fullscreen .gfw-sound-toggle{top:max(10px,env(safe-area-inset-top))!important;right:max(10px,env(safe-area-inset-right))!important;left:auto!important}
}

/* Standalone embed must also fit small LMS/iframe widths. */
@media(max-width:620px){
  .gfw-embed-head{padding:max(8px,env(safe-area-inset-top)) 9px 8px!important;gap:6px!important}
  .gfw-embed-head>span{display:none!important}
  .gfw-embed-head h1{font-size:14px!important;min-width:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .gfw-embed-head p{font-size:8px!important}
  .gfw-embed-fullscreen{min-height:38px!important;padding:0 9px!important}
  .gfw-embed-machine{padding:3px!important}
  .gfw-embed-machine .gfw-stage{min-height:calc(100dvh - 62px)!important;border-radius:12px!important}
  .gfw-embed-machine .gfw-machine-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important}
  .gfw-embed-machine .gfw-machine-actions button{min-height:42px!important;width:100%!important}
}
