/* A lightweight set overview, with a single product opened on demand. */
.wordmark{display:inline-flex;align-items:center;line-height:1}
.wordmark>img{display:block;width:150px;height:auto}
.mobile-studio-views,.mobile-back-edit{display:none}
.studio-layout{grid-template-columns:minmax(0,55%) minmax(0,45%);align-items:start}
.studio-panel{padding:30px 8% 40px;min-width:0}
.kit-overview{position:sticky;top:100px;background:#eeeae3;height:calc(100svh - 100px);min-height:560px;overflow-y:auto;overscroll-behavior:contain;padding:30px 32px 24px;scrollbar-width:thin;scrollbar-color:#c5c0b6 transparent}
.kit-overview-head{display:flex;justify-content:space-between;align-items:center;gap:20px}
#preview-world{font-size:8px;letter-spacing:.17em;color:var(--muted)}
.kit-overview h2{font-size:34px;line-height:1.13;margin-top:8px;overflow-wrap:anywhere}
.kit-live{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--green)}
.kit-live:before{content:'';width:5px;height:5px;background:var(--green);border-radius:50%}
.kit-intro{font-size:11px;line-height:1.65;margin:14px 0 22px;max-width:340px}
.overview-filters{display:flex;gap:22px;margin-bottom:22px;border-bottom:1px solid #d4d0c8}
.overview-filters button{padding:10px 0;font-size:10px;color:var(--muted);border-bottom:1px solid transparent;margin-bottom:-1px;min-height:40px}
.overview-filters button[aria-pressed=true]{border-color:var(--ink);color:var(--ink)}
.overview-filters span{font-size:9px;margin-left:5px}
.kit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 12px;align-items:start}
.kit-tile{min-width:0}.kit-open{display:block;width:100%;text-align:left;padding:0}
.kit-art{background:#f8f6f1;aspect-ratio:320/260;overflow:hidden;transition:background .2s}
.kit-art svg{display:block;width:100%;height:100%;transition:transform .35s}
.kit-open:hover .kit-art svg{transform:scale(1.035)}
.kit-open h3{font-size:12px;line-height:1.3;margin:11px 0 4px;letter-spacing:-.015em}
.kit-detail-label{font-size:9px;color:var(--muted)}
.kit-tile-foot{display:flex;justify-content:space-between;align-items:center;gap:6px;border-top:1px solid #d9d5cd;margin-top:10px;padding-top:5px;font-size:9px;color:var(--muted)}
.kit-toggle{display:flex;align-items:center;gap:5px;padding:8px 0 8px 8px;font-size:9px;min-height:32px}
.kit-toggle img{width:10px;height:10px}.kit-toggle[aria-pressed=true]{color:var(--green)}
.kit-caption{font-size:9px;line-height:1.7;margin-top:30px;max-width:430px}
.kit-empty{grid-column:1/-1;text-align:center;padding:55px 15px}.kit-empty p{font-size:12px;margin:15px 0 22px}
.package-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);margin-bottom:15px}
.package-choices button{font-size:10px;min-height:43px;padding:10px 4px}
.package-choices button[aria-pressed=true]{background:var(--ink);color:white}
.set-count{display:flex;justify-content:space-between;gap:15px;font-size:9px;margin:0 0 25px!important}
.set-group{margin-top:28px}.set-group>h3{font:500 11px var(--sans);letter-spacing:.025em;padding-bottom:10px}
.set-row{grid-template-columns:64px minmax(0,1fr) 22px;gap:10px;padding:15px 0}
.set-thumb{padding:0;background:#f2eee6;width:64px;height:57px;grid-row:1/3}
.set-thumb svg{width:100%;height:100%;display:block}
.set-row-label{grid-row:1}.set-row-label label{font-size:12px;line-height:1.35;margin-bottom:4px}
.set-row-label>span{font-size:9px;color:var(--muted);display:block}
.row-detail{padding:4px 0 0;text-align:left;font-size:9px;text-decoration:underline;text-underline-offset:3px}
.set-row>input{width:18px;height:18px;grid-column:3;grid-row:1;justify-self:end;margin:0;accent-color:var(--green)}
.set-row .stepper{grid-column:2/4;grid-row:2;justify-content:flex-start;gap:11px;margin-top:3px}
.set-row .stepper button{width:32px;height:32px}.set-row .stepper output{min-width:20px}
.set-row:not(.is-selected) .set-thumb,.set-row:not(.is-selected) .stepper{opacity:.5}
.digital-once{grid-column:2/4;grid-row:2;font-size:9px;color:var(--muted)}
.invitation-fields{border-top:1px solid var(--line);margin-top:28px;padding-top:25px}
.invitation-fields h3,.invitation-export h3{font:30px var(--serif);letter-spacing:-.04em}
.invitation-fields p,.invitation-export p{font-size:11px;line-height:1.7;margin:10px 0 20px}
.invitation-fields .field-row{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
.invitation-export{margin-top:30px;border-top:1px solid var(--line);padding-top:25px}
.invitation-export .text-button{display:block;margin-top:8px}
.product-dialog{width:min(860px,calc(100% - 48px));max-width:860px;height:min(900px,calc(100svh - 40px));max-height:calc(100svh - 40px);padding:25px 30px;background:#eeeae3;color:var(--ink);border:0;overflow:auto;overscroll-behavior:contain}
.product-dialog::backdrop{background:#17191380;backdrop-filter:blur(6px)}
.product-dialog-top{display:flex;justify-content:space-between;align-items:center;gap:20px}
.product-dialog-top h2{font-size:33px;margin-top:6px;line-height:1.1}
#detail-kind{font-size:8px;letter-spacing:.15em;color:var(--muted)}
#product-viewer{height:clamp(280px,48svh,490px);min-height:280px;max-height:490px;flex:none;position:relative;width:100%;touch-action:pan-y}
#detail-flat{height:clamp(280px,48svh,490px);min-height:280px}
#detail-flat svg{height:100%;width:100%;display:block}
.detail-tools{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d0cbc0;padding:0 0 12px;gap:20px;font-size:10px;color:var(--muted)}
#detail-3d-controls{display:flex;gap:4px}.detail-tools .icon-button{background:#faf9f690;width:36px;height:36px}.detail-tools img{width:15px;height:15px}
.detail-navigation{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:20px;align-items:center;padding:17px 0 12px}
.detail-navigation>div{text-align:center}.detail-navigation label{font-size:8px;color:var(--muted);margin-bottom:5px}
.detail-navigation select{display:block;background:transparent;border:0;border-bottom:1px solid #c7c3b9;padding:5px 20px 5px 5px;font-size:13px;max-width:100%;margin:0 auto;color:var(--ink)}
#detail-position{display:block;margin-top:8px;font-size:9px;color:var(--muted)}
.next-arrow{transform:rotate(180deg)}
#detail-add{display:flex;min-height:43px;padding:9px 20px;font-size:11px;margin:5px auto 0;border-color:#b6b1a7}
.detail-disclaimer{font-size:8px;text-align:center;margin:13px auto 0;max-width:400px;line-height:1.6}
.detail-fallback{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.detail-fallback svg{min-height:0;max-height:90%;width:100%}.detail-fallback p{font-size:10px;text-align:center}
@media(min-width:1700px){.kit-grid{gap:25px 20px}.kit-overview{padding:40px 6%}.kit-open h3{font-size:14px}.kit-detail-label,.kit-tile-foot,.kit-toggle{font-size:10px}}
@media(max-width:1100px){.kit-overview{top:85px;height:calc(100svh - 85px);padding:25px 20px}.kit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.studio-layout{grid-template-columns:50% 50%}.studio-panel{padding-left:6%;padding-right:6%}.kit-overview h2{font-size:29px}.wordmark>img{width:140px}}
@media(max-width:760px){
 .wordmark>img{width:124px}.studio-topbar{padding:12px 20px}.mobile-studio-views{display:grid;grid-template-columns:1fr 1fr;position:sticky;top:72px;z-index:12;background:var(--paper);border-bottom:1px solid var(--line);padding:0 20px;gap:20px;scroll-margin-top:72px}
 .mobile-studio-views button{padding:15px 0;min-height:48px;border-bottom:1px solid transparent;margin-bottom:-1px;font-size:12px;color:var(--muted)}.mobile-studio-views button[aria-pressed=true]{border-color:var(--ink);color:var(--ink)}#mobile-set-count{margin-left:5px;font-size:10px}
 .studio-layout{display:block}.studio-layout[data-mobile-view=edit] .kit-overview{display:none}.studio-layout[data-mobile-view=overview] .studio-panel{display:none}
 .studio-panel{padding:25px 20px 25px;scroll-margin-top:130px}.studio-steps{gap:10px;margin-bottom:26px}.studio-steps button{min-height:48px;padding-bottom:13px}.studio-steps span{margin-bottom:4px}
 #step-content h2{font-size:43px;line-height:1.07}.studio-actions{bottom:0;padding:14px 0 max(10px,env(safe-area-inset-bottom));margin-top:25px;box-shadow:0 -6px 12px #faf9f688}.studio-actions .button{font-size:11px}
 .kit-overview{position:relative;top:auto;height:auto;min-height:0;overflow:visible;padding:26px 20px 30px}.kit-overview h2{font-size:32px;max-width:250px}.kit-intro{font-size:11px;margin-bottom:14px}.kit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 12px}.kit-open h3{font-size:12px;line-height:1.4}.kit-toggle{min-height:40px}.kit-tile-foot{font-size:9px}.kit-detail-label{font-size:9px}.overview-filters{gap:23px}.overview-filters button{min-height:44px;font-size:11px}.kit-caption{margin-top:25px;font-size:9px}.mobile-back-edit{display:flex;margin-top:25px;width:100%;min-height:48px}
 .set-row{grid-template-columns:66px minmax(0,1fr) 24px;gap:10px 12px}.set-thumb{width:66px;height:60px}.set-row-label label{font-size:13px}.set-row-label>span{font-size:10px}.row-detail{font-size:10px;min-height:28px}.set-row>input{width:20px;height:20px}.set-row .stepper button{width:38px;height:38px}.set-row .stepper output{font-size:12px;min-width:25px}.set-group>h3{font-size:12px}.set-count{font-size:9px;gap:10px}.package-choices button{min-height:46px;font-size:11px}.quantity-field .stepper button{width:38px;height:38px}
 .product-dialog{inset:0;margin:0;width:100%;height:100svh;max-height:100svh;max-width:none;padding:20px 20px max(20px,env(safe-area-inset-bottom));border:0}.product-dialog-top{gap:15px}.product-dialog-top h2{font-size:28px}.product-dialog-top .icon-button{width:44px;height:44px}.product-dialog-top .icon-button img{width:19px}
 #product-viewer,#detail-flat{height:clamp(260px,45svh,460px);min-height:260px;max-height:460px}.detail-tools{font-size:10px;padding-bottom:10px}.detail-tools .icon-button{width:40px;height:40px}.detail-navigation{gap:12px;padding-top:15px}.detail-navigation select{font-size:14px;min-height:38px}.detail-navigation .icon-button{width:44px;height:44px}.detail-disclaimer{font-size:8px}#detail-add{min-height:44px;margin-top:8px;width:100%}.invitation-fields .field-row{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
}
@media(max-width:360px){.studio-panel,.kit-overview{padding-left:16px;padding-right:16px}.kit-open h3{font-size:11px}.kit-toggle span{display:none}.set-row{grid-template-columns:54px minmax(0,1fr) 22px;column-gap:8px}.set-thumb{width:54px;height:52px}.set-row-label label{font-size:12px}.detail-navigation{gap:5px}.product-dialog-top h2{font-size:25px}.footer-top{grid-template-columns:1fr}.footer-top nav{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.kit-art svg{transition:none}.kit-open:hover .kit-art svg{transform:none}}

/* The shared scene contains only selected items; selection stays explicit. */
.kit-scene{height:clamp(230px,24vw,350px);background:#f7f4ee;margin:0 -5px;overflow:hidden}
.kit-scene svg{display:block;width:100%;height:100%}
.scene-caption{font-size:11px;line-height:1.6;color:var(--green);margin:13px 0 18px}
.kit-intro{margin-bottom:18px}
.overview-filters{margin-bottom:24px}.overview-filters button{font-size:12px;min-height:44px}.overview-filters span{font-size:11px}
.kit-art{position:relative}
.not-in-set{position:absolute;top:9px;left:9px;padding:5px 7px;background:#faf9f6f2;color:#5b5e55;font-size:9px;border:1px solid #dcded4}
.kit-tile:not(.is-selected) .kit-art>svg{opacity:.62}
.kit-open h3{font-size:13px}
.kit-detail-label{display:flex;align-items:center;gap:6px;font-size:10px;margin-top:6px}
.kit-detail-label img{width:15px;height:15px;opacity:.8}
.kit-tile-foot{display:block;border:0;padding-top:0;margin-top:11px;font-size:10px}
.kit-tile-foot>span{display:block;margin:0 0 8px}
.kit-toggle{width:100%;border:1px solid #b9bdb2;justify-content:center;gap:7px;padding:9px 6px;min-height:40px;font-size:11px;color:var(--ink);background:#faf9f6}
.kit-toggle[aria-pressed=true]{background:#dfe7dd;border-color:#a5b3a1;color:#244331}
.kit-toggle[aria-pressed=false]{border-color:#7a8171}.kit-toggle:hover{border-color:var(--green)}
.kit-toggle img{width:12px;height:12px}.kit-toggle span{display:inline!important}
.row-detail{display:inline-flex;align-items:center;gap:5px}.row-detail img{width:13px;height:13px}
@media(max-width:760px){.kit-scene{height:auto;aspect-ratio:960/620;margin:0 -5px}.scene-caption{font-size:10px;margin-top:12px}.kit-tile-foot{font-size:10px}.kit-toggle{font-size:11px;min-height:44px}.kit-detail-label{font-size:10px}.kit-open h3{font-size:13px;line-height:1.35}.overview-filters button{font-size:11px}}
.kit-scene>svg{height:100%!important}

/* Touchflächen ab 44 px am Handy. Vergrößert nur den Klickbereich, der Look bleibt gleich. */
@media (min-width:761px){.studio-panel{scroll-margin-top:110px}.set-hit{display:none}}
@media (max-width:760px){
  .back-link,.row-detail,.wordmark,.text-button,.stepper button,.icon-button{position:relative}
  .back-link::after,.row-detail::after,.wordmark::after,.text-button::after,.stepper button::after,.icon-button::after{content:"";position:absolute;inset:-14px -4px}
  .row-detail::after,.stepper button::after{inset:-8px -4px}
  .set-hit{grid-column:3;grid-row:1;justify-self:center;align-self:center;width:44px;height:44px;margin:0}
  .set-row .stepper{margin-top:11px}
  .segmented button{position:relative}
  .segmented button::after{content:"";position:absolute;inset:-3px 0}
}

/* Studio rechts nach dem UX Konzept von Renata (13.11.2026): vier Schritte, mehr Auswahl erst über das Plus. Links bleibt die Set Vorschau. */
.studio-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:0;margin-bottom:30px;position:relative}
.studio-steps:before{content:'';position:absolute;left:12.5%;right:12.5%;top:17px;height:1px;background:var(--line)}
.studio-steps button{position:relative;display:flex;flex-direction:column;align-items:center;gap:7px;padding:0;margin:0;border:0;font-size:12px;color:var(--muted);text-align:center;min-height:44px;white-space:nowrap}
.studio-steps span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;border:1px solid var(--line);background:var(--paper);font-size:13px;margin:0;color:var(--ink)}
.studio-steps button[aria-current]{color:var(--ink);border:0}
.studio-steps button[aria-current] span{background:var(--green);border-color:var(--green);color:#fff}
.studio-steps button.is-done span{border-color:var(--green);color:var(--green)}
#step-content h2{font-size:42px;letter-spacing:-.005em;line-height:1.05}
#step-content>p{font-size:14px;line-height:1.6;margin-bottom:22px}
.studio-layout,dialog,.toast{font-weight:400}

.occasion-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:2px 0 18px}
.occasion-choice{display:flex;flex-direction:column;align-items:center;gap:7px;padding:0;font-size:11px;line-height:1.25;text-align:center;color:var(--ink);min-height:44px}
.occasion-choice .doodle{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:#f1ece3;border:1.5px solid transparent;transition:border-color .2s,background .2s}
.occasion-choice .doodle svg{width:34px;height:34px}
.occasion-choice:hover .doodle{background:#e9e2d6}
.occasion-choice.active .doodle{border-color:var(--green);background:#fff}
.occasion-more{display:flex;flex-wrap:wrap;gap:8px;margin:-4px 0 20px}
.occasion-more button,.chip-button{border:1px solid var(--line);padding:9px 14px;font-size:12px;min-height:40px;background:#fff}
.occasion-more button.active,.chip-button.active{border-color:var(--ink);background:var(--ink);color:#fff}
.message-field{display:flex;gap:12px;align-items:stretch}
.message-field input{flex:1;min-width:0}
.message-field .text-button{flex-shrink:0;text-decoration:underline;text-underline-offset:3px;min-height:44px}

.design-block{border-top:1px solid var(--line);padding:18px 0 20px}
.design-block h3,.editor-sub{font:400 22px/1.15 var(--serif);letter-spacing:0;margin:0 0 14px}
.world-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.world-choice{padding:0;text-align:left;font-size:11px;color:var(--ink)}
.world-choice img{width:100%;aspect-ratio:1.35;object-fit:cover}
.world-choice span{display:block;padding:7px 2px 2px}
.world-choice.active img{outline:2px solid var(--ink);outline-offset:2px}
.pattern-row{display:flex;flex-wrap:wrap;gap:12px 14px;align-items:flex-start}
.pattern-dot{display:flex;flex-direction:column;align-items:center;gap:6px;padding:0;font-size:10px;color:var(--muted);width:62px}
.pattern-dot svg{width:56px;height:56px;border-radius:50%;box-shadow:0 0 0 1px #0000000f}
.pattern-dot.active svg,.pattern-dot.inherit.active span{box-shadow:0 0 0 2px var(--paper),0 0 0 4px var(--ink)}
.pattern-dot.active span{color:var(--ink)}
.pattern-dot.inherit span{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;border:1px dashed #b7b2a8;font-size:9px;line-height:1.2;color:var(--ink);text-align:center;padding:4px}
.more-plus{width:56px;height:56px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;background:#fff;flex-shrink:0}
.more-plus img{width:16px;height:16px}
.more-plus.small{width:30px;height:30px}.more-plus.small img{width:12px;height:12px}
.palette-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.palette-row.is-open{max-height:320px;overflow-y:auto;padding:4px;margin:-4px}
.palette-chip{display:flex;flex-direction:column;gap:5px;padding:4px;border:1px solid transparent;font-size:10px;color:var(--muted);width:116px;text-align:left}
.palette-chip>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.colorway-bar{display:grid;grid-template-columns:repeat(3,1fr);height:28px}
.colorway-bar i{display:block}
.palette-chip.active{border-color:var(--ink)}.palette-chip.active>span:last-child{color:var(--ink)}
.design-split{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:24px}
.color-row{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.color-dot{width:30px;height:30px;border-radius:50%;background:var(--dot);box-shadow:inset 0 0 0 1px #0000001f;padding:0}
.color-dot.auto{background:conic-gradient(var(--dot) 0 50%,#fff 0)}
.color-dot.active{box-shadow:inset 0 0 0 1px #0000001f,0 0 0 2px var(--paper),0 0 0 4px var(--ink)}
.finish-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:14px;font-size:11px;color:var(--muted)}
.finish-row button{border:1px solid var(--line);padding:7px 12px;min-height:38px;font-size:11px;background:#fff;color:var(--ink)}
.finish-row button.active{border-color:var(--ink)}
.font-select{display:flex;align-items:stretch;border:1px solid var(--line);background:#fff;min-height:48px}
.font-aa{display:grid;place-items:center;font-size:22px;width:54px;border-right:1px solid var(--line);color:var(--ink)}
.font-select select{flex:1;border:0;background:transparent;padding:10px 12px;font-size:14px;min-width:0;color:var(--ink)}
.photo-row{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:center;margin-bottom:16px}
.upload-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:128px;height:86px;border:1px dashed #b7b2a8;background:#fff;font-size:11px;cursor:pointer;position:relative;margin:0}
.upload-tile img{width:20px;height:20px}
.upload-tile input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
.check-option{display:flex;align-items:center;gap:8px;font-size:12px;margin:0;min-height:44px}
.check-option input{width:18px;height:18px;margin:0;accent-color:var(--green)}
.check-option:has(input:disabled){color:var(--muted)}
.photo-styles{display:flex;gap:16px;margin:2px 0 6px}
.photo-style{display:flex;flex-direction:column;align-items:center;gap:6px;padding:0;font-size:10px;color:var(--muted)}
.photo-style img{width:58px;height:58px;border-radius:50%;object-fit:cover;object-position:50% 25%}
.photo-style .ps-retro{filter:sepia(.9) contrast(1.05) brightness(.95)}
.photo-style .ps-illustriert{filter:saturate(1.6) contrast(1.4)}
.photo-style.active img{box-shadow:0 0 0 2px var(--paper),0 0 0 4px var(--ink)}
.photo-style.active span{color:var(--ink)}
.own-design{font-style:normal;font-size:10px;color:var(--green);margin-left:8px;white-space:nowrap}

.reveal{position:relative;background:#f1ece3;padding:22px 16px 10px;margin:4px 0 22px;overflow:hidden;text-align:center}
.reveal-title{font:400 36px/1 var(--serif);color:var(--ink)}
.reveal-stage{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 8px;margin:12px 0 2px}
.reveal-item svg{width:100%;height:auto;display:block}
.reveal .reveal-item{opacity:0}
.reveal.play .reveal-item{animation:var(--anim) 1s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i) * .22s + .15s)}
.reveal-unfold{--anim:reveal-unfold}.reveal-rise{--anim:reveal-rise;transform-origin:50% 100%}.reveal-pop{--anim:reveal-pop}.reveal-fade{--anim:reveal-fade}
@keyframes reveal-unfold{from{opacity:0;clip-path:inset(0 50% 0 50%)}to{opacity:1;clip-path:inset(0)}}
@keyframes reveal-rise{from{opacity:0;transform:perspective(500px) rotateX(70deg)}to{opacity:1;transform:none}}
@keyframes reveal-pop{0%{opacity:0;transform:scale(.6)}70%{opacity:1;transform:scale(1.05)}100%{opacity:1;transform:none}}
@keyframes reveal-fade{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.fairy-dust{position:absolute;inset:0;pointer-events:none}
.fairy-dust i{position:absolute;left:var(--x);top:var(--y);width:5px;height:5px;border-radius:50%;background:#fff;box-shadow:0 0 6px 2px #fff9;opacity:0}
.reveal.play .fairy-dust i{animation:reveal-dust 2.6s ease-in-out var(--d) 2 both}
@keyframes reveal-dust{0%,100%{opacity:0;transform:scale(.4)}50%{opacity:.9;transform:scale(1)}}
.reveal .text-button{margin-top:4px;text-decoration:underline;text-underline-offset:3px;min-height:44px}
.order-list{border-top:1px solid var(--line)}
.order-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:8px 0;font-size:15px}
.order-qty{display:flex;align-items:center;gap:8px}
.order-qty small{font-size:11px;color:var(--muted);min-width:34px}
.order-row .stepper{gap:10px}.order-row .stepper button{width:34px;height:34px}
.order-button{width:100%;margin-top:18px}
@media(prefers-reduced-motion:reduce){.reveal .reveal-item{opacity:1}}

.editor-dialog{width:min(1040px,calc(100% - 48px));max-width:1040px;max-height:calc(100svh - 40px);padding:26px 30px 0;background:var(--paper);border:0;color:var(--ink);overflow:auto;overscroll-behavior:contain}
.editor-dialog::backdrop{background:#17191380;backdrop-filter:blur(6px)}
.editor-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.editor-kind{font-size:9px;letter-spacing:.16em;color:var(--muted)}
.editor-head h2{font-size:38px;margin-top:6px;line-height:1.05}
.editor-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:34px;margin-top:18px}
.editor-preview{background:#f1ece3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:18px;min-height:340px;align-self:start;position:sticky;top:0}
#editor-art{width:100%}#editor-art svg{width:100%;height:auto;display:block}
.editor-preview .text-button img{width:15px;height:15px}
.editor-options .field-row{margin-bottom:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.editor-options .field-hint{margin:-4px 0 18px}
.editor-options .font-select{margin-bottom:12px}
.editor-options .color-row{margin-bottom:18px}
.more-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;border-top:1px solid var(--line);padding:14px 0;min-height:52px;font:400 20px var(--serif);color:var(--ink)}
.more-toggle img{width:14px;height:14px}
.editor-options .pattern-row,.editor-options .palette-row,.editor-options .segmented{margin-bottom:16px}
.editor-actions{position:sticky;bottom:0;background:var(--paper);display:flex;align-items:center;gap:22px;padding:16px 0 20px;margin-top:20px;border-top:1px solid var(--line);z-index:2}
.editor-actions .button{min-width:220px}
.editor-actions .text-button:disabled{opacity:.4;cursor:default}

@media(max-width:1100px){.occasion-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 6px}.design-split{grid-template-columns:1fr;gap:18px}}
@media(max-width:760px){
  .studio-steps{margin-bottom:24px}.studio-steps button{font-size:11px;min-height:48px;padding:0}.studio-steps span{width:32px;height:32px;margin:0}.studio-steps:before{top:16px}
  #step-content h2{font-size:36px}
  .occasion-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 4px}
  .occasion-choice .doodle{width:54px;height:54px}
  .world-row{grid-template-columns:repeat(2,minmax(0,1fr))}
  .palette-chip{width:calc(50% - 5px)}
  .pattern-row{gap:12px 10px}
  .editor-dialog{inset:0;margin:0;width:100%;max-width:none;height:100svh;max-height:100svh;padding:16px 18px 0}
  .editor-head h2{font-size:30px}
  .editor-body{grid-template-columns:1fr;gap:16px;margin-top:10px}
  .editor-preview{min-height:0;padding:10px;position:static}
  #editor-art svg{max-height:34svh;margin:auto;width:auto;max-width:100%}
  .editor-actions{gap:14px;padding:12px 0 max(14px,env(safe-area-inset-bottom))}
  .editor-actions .button{flex:1;min-width:0}
}
@media(max-width:360px){.editor-options .field-row{grid-template-columns:1fr}.occasion-choice{font-size:10px}.occasion-choice .doodle{width:48px;height:48px}.occasion-choice .doodle svg{width:30px;height:30px}.pattern-dot{width:56px}.pattern-dot svg,.more-plus{width:50px;height:50px}.pattern-dot.inherit span{width:50px;height:50px}}

/* Realistische Übersicht aus 3D Renderings, während der Aktualisierung leicht gedimmt. */
.kit-scene{transition:opacity .25s}
.kit-scene.is-updating{opacity:.82}
.kit-art img.kit-shot{display:block;width:100%;height:100%;object-fit:contain;padding:7% 9% 5%;transition:transform .35s}
.kit-open:hover .kit-art img.kit-shot{transform:scale(1.035)}
.kit-tile:not(.is-selected) .kit-art>img.kit-shot{opacity:.62}
.kit-scene{background:radial-gradient(ellipse 70% 60% at 28% 18%,#ffffff8c,#fff0 70%),linear-gradient(180deg,#f6efe6 0,#ece2d6 53.2%,#e6d9c9 53.2%,#efe5d8 78%,#f6f0e8 100%)}
.kit-scene:has(svg>image){box-shadow:none}
