.new-game-preview-module__-5M8MG__preview{margin:0;display:grid}.new-game-preview-module__-5M8MG__caption{padding:20px 5.5% 0}.new-game-preview-module__-5M8MG__preview .new-game-preview-module__-5M8MG__caption h2{font:700 clamp(24px, 7.6cqi, 43px)/1 var(--trefa-display);color:var(--stage-ink);margin:0 0 6px}.new-game-preview-module__-5M8MG__caption span{color:var(--stage-ink);font-size:.8125rem}.new-game-preview-module__-5M8MG__stage{isolation:isolate;justify-items:center;gap:16px;padding:26px clamp(16px,5%,28px) 17px;display:grid;overflow:hidden}.new-game-preview-module__-5M8MG__pair{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:clamp(8px,3%,16px);width:100%;max-width:460px;display:grid}.new-game-preview-module__-5M8MG__card{aspect-ratio:1;background:var(--trefa-surface);box-shadow:0 3px 1px color-mix(in srgb, var(--stage-ink) 16%, var(--stage)), 0 8px 17px color-mix(in srgb, var(--stage-ink) 23%, transparent);border-radius:50%;position:relative;overflow:hidden;transform:rotate(-7deg)}.new-game-preview-module__-5M8MG__card[data-shape=rounded-square]{border-radius:12.5%}.new-game-preview-module__-5M8MG__card:last-child{margin-top:13%;transform:rotate(8deg)}.new-game-preview-module__-5M8MG__symbols{position:absolute;inset:0}.new-game-preview-module__-5M8MG__symbol{aspect-ratio:1;place-items:center;display:grid;position:absolute;translate:-50% -50%}.new-game-preview-module__-5M8MG__symbol[data-match=true]:before{border:1px solid var(--highlight);background:color-mix(in srgb, var(--highlight) 9%, var(--trefa-surface));content:"";border-radius:50%;position:absolute;inset:-1px}.new-game-preview-module__-5M8MG__symbol img{object-fit:contain;width:100%;height:100%;rotate:var(--angle);position:relative}.new-game-preview-module__-5M8MG__symbol[data-match=true] img{width:91%;height:91%}.new-game-preview-module__-5M8MG__symbol img[data-portrait-frame]{opacity:0;visibility:hidden;grid-area:1/1}.new-game-preview-module__-5M8MG__preview[data-phase=photo] img[data-portrait-frame=photo],.new-game-preview-module__-5M8MG__preview[data-phase=style] img[data-portrait-frame=style]{opacity:1;visibility:visible}.new-game-preview-module__-5M8MG__detail,.new-game-preview-module__-5M8MG__portraitControls{justify-items:center;gap:8px;display:grid}.new-game-preview-module__-5M8MG__match{color:var(--stage-ink);text-align:center;flex-wrap:wrap;justify-content:center;align-items:center;gap:3px 7px;font-size:.8125rem;display:flex}.new-game-preview-module__-5M8MG__match strong{color:var(--highlight);font-weight:700}.new-game-preview-module__-5M8MG__matchMarker{border:1px solid var(--highlight);border-radius:50%;width:.625rem;height:.625rem}.new-game-preview-module__-5M8MG__phaseSwitch{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.new-game-preview-module__-5M8MG__preview .new-game-preview-module__-5M8MG__phaseSwitch button{border-color:color-mix(in srgb, var(--stage-ink) 55%, var(--stage));min-height:44px;color:var(--stage-ink);background:0 0;padding:6px 12px;font-size:.8125rem}.new-game-preview-module__-5M8MG__preview .new-game-preview-module__-5M8MG__phaseSwitch button[aria-pressed=true]{border-color:var(--highlight);background:color-mix(in srgb, var(--highlight) 8%, var(--stage));color:var(--highlight)}.new-game-preview-module__-5M8MG__styleNames{color:var(--stage-ink);text-align:center;font-size:.75rem}@media (prefers-reduced-motion:no-preference){.new-game-preview-module__-5M8MG__card{--from:-8%;transition:border-radius .2s ease-out;animation:.62s cubic-bezier(.2,.7,.2,1) both new-game-preview-module__-5M8MG__deal}.new-game-preview-module__-5M8MG__card:last-child{--from:8%;animation-delay:65ms}@keyframes new-game-preview-module__-5M8MG__deal{0%{translate:var(--from) 8%;opacity:.25;rotate:-4deg}}.new-game-preview-module__-5M8MG__symbols{animation:.26s ease-out both new-game-preview-module__-5M8MG__show-world}.new-game-preview-module__-5M8MG__symbol img[data-portrait-frame]{transition:opacity .38s ease-out,visibility .38s}@keyframes new-game-preview-module__-5M8MG__show-world{0%{opacity:.4}to{opacity:1}}}
.controls-module__JpILRG__primary.controls-module__JpILRG__primary,.controls-module__JpILRG__secondary.controls-module__JpILRG__secondary{border:1px solid var(--trefa-control-border);min-height:44px;font:650 14px/1.5 var(--trefa-font);text-align:center;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:12px;padding:10px 16px;text-decoration:none;display:inline-flex}.controls-module__JpILRG__primary.controls-module__JpILRG__primary{color:#fff;background:var(--trefa-accent);border-color:var(--trefa-accent)}.controls-module__JpILRG__secondary.controls-module__JpILRG__secondary{color:var(--trefa-ink);background:var(--trefa-surface)}.controls-module__JpILRG__primary svg,.controls-module__JpILRG__secondary svg{flex:none;width:20px;height:20px}.controls-module__JpILRG__primary:disabled,.controls-module__JpILRG__secondary:disabled{opacity:.5;cursor:not-allowed}@media (hover:hover){.controls-module__JpILRG__primary.controls-module__JpILRG__primary:hover:not(:disabled){background:var(--trefa-accent-hover);border-color:var(--trefa-accent-hover)}.controls-module__JpILRG__secondary.controls-module__JpILRG__secondary:hover:not(:disabled){background:var(--trefa-soft)}}
.editor-module__LHj0mG__shell{background:var(--trefa-bg);min-height:0;color:var(--trefa-ink);font-family:var(--trefa-font);padding:0 clamp(16px,3.5vw,56px) 40px;overflow-x:clip}.editor-module__LHj0mG__shell *,.editor-module__LHj0mG__shell :before,.editor-module__LHj0mG__shell :after{box-sizing:border-box}.editor-module__LHj0mG__shell h1,.editor-module__LHj0mG__shell h2,.editor-module__LHj0mG__shell p,.editor-module__LHj0mG__shell figure{margin:0}.editor-module__LHj0mG__shell h1,.editor-module__LHj0mG__shell h2{font-family:var(--trefa-display)}.editor-module__LHj0mG__shell a{color:inherit;text-decoration:none}.editor-module__LHj0mG__shell button,.editor-module__LHj0mG__shell input,.editor-module__LHj0mG__shell select{min-width:0;font:inherit;color:var(--trefa-ink)}.editor-module__LHj0mG__shell button{border:1px solid var(--trefa-border);background:var(--trefa-surface);cursor:pointer;touch-action:manipulation;border-radius:8px;min-height:46px;padding:10px 16px;font-size:13px;font-weight:680;transition:background-color .15s,border-color .15s,color .15s,transform .15s}.editor-module__LHj0mG__shell button:disabled{cursor:not-allowed;opacity:.48}.editor-module__LHj0mG__shell input,.editor-module__LHj0mG__shell select{border:1px solid var(--trefa-border);background:var(--trefa-surface);border-radius:8px;min-height:48px;padding:11px 13px;font-size:16px}.editor-module__LHj0mG__shell :focus-visible{outline:3px solid var(--trefa-accent);outline-offset:3px}.editor-module__LHj0mG__shell fieldset{border:0;min-width:0;margin:0;padding:0}.editor-module__LHj0mG__shell label,.editor-module__LHj0mG__shell legend{font-size:13px;font-weight:680}.editor-module__LHj0mG__topbar{border-bottom:1px solid var(--trefa-border);align-items:center;gap:28px;max-width:1560px;min-height:86px;margin:0 auto 24px;display:flex}.editor-module__LHj0mG__topbar>:last-child,.editor-module__LHj0mG__topbar>.editor-module__LHj0mG__language{margin-left:auto}.editor-module__LHj0mG__headerRight{align-items:center;gap:14px;margin-left:auto;display:flex}.editor-module__LHj0mG__gameName{flex:1;gap:1px;max-width:360px;display:grid}.editor-module__LHj0mG__gameName>span{color:var(--trefa-muted);letter-spacing:.12em;text-transform:uppercase;font-size:10px;font-weight:720}.editor-module__LHj0mG__gameName input{background:0 0;border-color:#0000;width:100%;min-height:38px;padding:5px 0;font-size:18px;font-weight:680}.editor-module__LHj0mG__gameName input:focus{border-color:var(--trefa-border);background:var(--trefa-surface);padding-inline:10px}.editor-module__LHj0mG__saved,.editor-module__LHj0mG__status{border:1px solid var(--trefa-border);white-space:nowrap;border-radius:999px;align-items:center;min-height:30px;padding:4px 10px;font-size:11px;font-weight:650;display:inline-flex}.editor-module__LHj0mG__saved{background:var(--trefa-sage);color:#445644;border-color:#cbd4c4}.editor-module__LHj0mG__status{color:#8c3525;background:#fae8e1;border-color:#e1b7a9}.editor-module__LHj0mG__eyebrow,.editor-module__LHj0mG__panelKicker{color:var(--trefa-accent);letter-spacing:.16em;text-transform:uppercase;font-size:10px;font-weight:780}.editor-module__LHj0mG__newLayout{grid-template-columns:minmax(0,.95fr) minmax(440px,540px);align-items:start;gap:clamp(56px,8vw,118px);max-width:1240px;margin:56px auto 44px;display:grid}.editor-module__LHj0mG__introduction{min-width:0;padding-top:22px}.editor-module__LHj0mG__introduction h1{letter-spacing:-.055em;max-width:650px;margin:19px 0 22px;font-size:clamp(46px,5.2vw,76px);line-height:.98}.editor-module__LHj0mG__introduction>p:not(.editor-module__LHj0mG__eyebrow){max-width:500px;color:var(--trefa-muted);font-size:17px;line-height:1.65}.editor-module__LHj0mG__art{align-items:flex-end;min-height:325px;margin-top:44px;display:flex;position:relative}.editor-module__LHj0mG__artCard{z-index:1;aspect-ratio:1;border:1px solid var(--trefa-border);background:var(--trefa-surface);width:270px;box-shadow:13px 13px 0 var(--trefa-butter), 26px 26px 0 var(--trefa-sage), 0 22px 44px #2627201f;grid-template-columns:repeat(2,1fr);place-items:center;gap:22px;padding:46px;transition:border-radius .18s;display:grid;position:relative;transform:rotate(-5deg)}.editor-module__LHj0mG__artCardCircle{border-radius:50%}.editor-module__LHj0mG__artCardSquare{border-radius:28px}.editor-module__LHj0mG__artCard img{object-fit:contain;width:100%;height:auto;display:block}.editor-module__LHj0mG__artCard img:nth-child(2),.editor-module__LHj0mG__artCard img:nth-child(3){transform:rotate(9deg)scale(.88)}.editor-module__LHj0mG__art figcaption{z-index:2;border:1px solid var(--trefa-border);background:var(--trefa-surface);border-radius:8px;gap:4px;max-width:205px;margin:0 0 22px -9px;padding:13px 15px;display:grid;position:relative;transform:rotate(2deg)}.editor-module__LHj0mG__art figcaption strong{font-family:var(--trefa-display);font-size:14px}.editor-module__LHj0mG__art figcaption span{color:var(--trefa-muted);font-size:10px;line-height:1.5}.editor-module__LHj0mG__setup{border:1px solid var(--trefa-border);background:var(--trefa-surface);border-radius:14px;gap:0;padding:34px;display:grid;box-shadow:0 18px 60px #26272012}.editor-module__LHj0mG__setupHeading{padding-bottom:26px}.editor-module__LHj0mG__setupHeading h2{letter-spacing:-.04em;max-width:390px;margin-top:9px;font-size:30px;line-height:1.08}.editor-module__LHj0mG__configStep{gap:13px;display:grid;border-top:1px solid var(--trefa-border)!important;padding:23px 0!important}.editor-module__LHj0mG__stepHeading,.editor-module__LHj0mG__configStep legend{align-items:center;gap:11px;width:100%;display:flex}.editor-module__LHj0mG__stepHeading>span,.editor-module__LHj0mG__configStep legend>span:first-child{background:var(--trefa-butter);letter-spacing:.06em;border-radius:50%;flex:none;place-items:center;width:28px;height:28px;font-size:9px;font-weight:800;display:grid}.editor-module__LHj0mG__configStep>input{width:100%}.editor-module__LHj0mG__choices{gap:9px;display:flex}.editor-module__LHj0mG__choice,.editor-module__LHj0mG__choiceSelected{border:1px solid var(--trefa-border);cursor:pointer;border-radius:8px;flex-direction:column;flex:1;justify-content:flex-start;align-items:flex-start;gap:4px;min-width:0;min-height:86px;padding:15px 36px 14px 14px;display:flex;position:relative}.editor-module__LHj0mG__choiceSelected{border-color:var(--trefa-accent);box-shadow:inset 0 0 0 1px var(--trefa-accent);background:#fff8df}.editor-module__LHj0mG__choice input,.editor-module__LHj0mG__choiceSelected input{width:18px;height:18px;min-height:0;accent-color:var(--trefa-accent);margin:0;padding:0;position:absolute;top:12px;right:12px}.editor-module__LHj0mG__choice strong,.editor-module__LHj0mG__choiceSelected strong{font-size:14px}.editor-module__LHj0mG__choice small,.editor-module__LHj0mG__choiceSelected small{overflow-wrap:anywhere;color:var(--trefa-muted);font-size:10px;font-weight:560;line-height:1.35}.editor-module__LHj0mG__customCount{grid-template-columns:1fr 112px;align-items:center;gap:16px;display:grid}.editor-module__LHj0mG__customCount select{width:100%}.editor-module__LHj0mG__shapeChoices .editor-module__LHj0mG__choice,.editor-module__LHj0mG__shapeChoices .editor-module__LHj0mG__choiceSelected{justify-content:center;min-height:78px;padding-left:62px}.editor-module__LHj0mG__shapeCircle,.editor-module__LHj0mG__shapeSquare{border:2px solid var(--trefa-accent);background:var(--trefa-surface);border-radius:50%;width:31px;height:31px;position:absolute;left:15px}.editor-module__LHj0mG__shapeSquare{border-radius:7px}.editor-module__LHj0mG__summary{background:#f7eab3;border:1px solid #dfcc7f;border-radius:8px;flex-wrap:wrap;align-items:baseline;gap:4px 13px;margin-top:2px;padding:17px 18px;display:flex}.editor-module__LHj0mG__summary strong{font-family:var(--trefa-display);letter-spacing:-.02em;font-size:21px}.editor-module__LHj0mG__summary span,.editor-module__LHj0mG__summary p{color:#5d594c;font-size:11px;line-height:1.5}.editor-module__LHj0mG__summary p{width:100%}.editor-module__LHj0mG__shell .editor-module__LHj0mG__primary{border-color:var(--trefa-accent);background:var(--trefa-accent);color:#fff;justify-content:space-between;align-items:center;gap:20px;min-height:52px;margin-top:15px;padding:13px 20px;display:flex}.editor-module__LHj0mG__primary>span{font-size:20px;font-weight:400}.editor-module__LHj0mG__workspaceNav{max-width:1560px;margin:-8px auto 18px}.editor-module__LHj0mG__workspaceNav>div{margin-bottom:0}.editor-module__LHj0mG__workspaceNav nav{gap:8px}.editor-module__LHj0mG__workspaceNav button{background:0 0;min-height:42px}.editor-module__LHj0mG__workspaceNav nav button:last-child{border-color:var(--trefa-accent);background:var(--trefa-accent);color:#fff}.editor-module__LHj0mG__workspace{min-width:0}.editor-module__LHj0mG__imageDrop.editor-module__LHj0mG__imageDrop{outline:3px solid var(--trefa-accent);outline-offset:1px;background:var(--work-pink,#f7e0df)}.editor-module__LHj0mG__dropHint{min-height:38px;color:var(--trefa-accent);padding-top:8px;font-size:.8125rem;line-height:1.4}.editor-module__LHj0mG__left,.editor-module__LHj0mG__right{min-width:0}.editor-module__LHj0mG__imagePanel{border:1px solid var(--trefa-border);background:var(--trefa-surface);border-radius:12px;padding:22px}.editor-module__LHj0mG__panelHeading{justify-content:space-between;align-items:center;gap:14px;display:flex}.editor-module__LHj0mG__panelHeading h2{letter-spacing:-.035em;margin-top:5px;font-size:22px;line-height:1.08}.editor-module__LHj0mG__count{background:var(--trefa-sage);color:#465146;border:1px solid #ced4c7;border-radius:50%;place-items:center;min-width:34px;height:34px;font-size:11px;font-weight:740;display:grid}.editor-module__LHj0mG__hint{color:var(--trefa-muted);font-size:12px;line-height:1.6}.editor-module__LHj0mG__imagePanel>.editor-module__LHj0mG__hint{margin:12px 0 19px}.editor-module__LHj0mG__shell .editor-module__LHj0mG__uploadButton{border:1px dashed var(--trefa-accent);width:100%;min-height:58px;color:var(--trefa-accent);background:#fff8df;justify-content:center;align-items:center;gap:9px;display:flex}.editor-module__LHj0mG__fileHint{color:var(--trefa-muted);text-align:center;font-size:10px;line-height:1.55;margin:8px 0 18px!important}.editor-module__LHj0mG__imageGrid{scrollbar-width:thin;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:min(55dvh,640px);padding:2px;display:grid;overflow-y:auto}.editor-module__LHj0mG__shell .editor-module__LHj0mG__imageSlot,.editor-module__LHj0mG__shell .editor-module__LHj0mG__imageSelected{aspect-ratio:.9;background:var(--trefa-bg);border-radius:8px;flex-direction:column;justify-content:space-between;min-width:0;min-height:0;padding:7px 7px 0;display:flex;overflow:hidden}.editor-module__LHj0mG__shell .editor-module__LHj0mG__imageSelected{border-color:var(--trefa-accent);background:var(--work-pink);box-shadow:inset 0 0 0 1px var(--trefa-accent)}.editor-module__LHj0mG__imageSlot img,.editor-module__LHj0mG__imageSelected img{aspect-ratio:1;object-fit:contain;width:100%;height:auto;min-height:0;display:block}.editor-module__LHj0mG__slotMeta{border-top:1px solid var(--trefa-border);justify-content:space-between;align-items:center;gap:3px;min-width:0;min-height:25px;margin-inline:-7px;padding:4px 6px;display:flex}.editor-module__LHj0mG__slotMeta b{letter-spacing:.06em;font-size:9px}.editor-module__LHj0mG__slotMeta i{color:var(--trefa-muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;font-style:normal;font-weight:550;overflow:hidden}.editor-module__LHj0mG__missing{color:#963c2c;place-items:center;min-height:62px;font-size:9px;line-height:1.3;display:grid}.editor-module__LHj0mG__imageActions{gap:7px;margin-top:16px;display:flex}.editor-module__LHj0mG__imageActions button{flex:1;min-width:0;padding-inline:8px;font-size:11px}.editor-module__LHj0mG__editorHeading{justify-content:space-between;align-items:flex-end;gap:16px;min-height:68px;display:flex}.editor-module__LHj0mG__editorHeading h1{letter-spacing:-.045em;margin-top:5px;font-size:clamp(28px,3vw,42px);line-height:1}.editor-module__LHj0mG__editorHeading h1 span{color:var(--trefa-accent)}.editor-module__LHj0mG__editorHeading h1 small{color:var(--trefa-muted);font-family:var(--trefa-font);letter-spacing:0;font-size:13px;font-weight:520}.editor-module__LHj0mG__actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.editor-module__LHj0mG__actions button{font-size:12px}.editor-module__LHj0mG__canvasStage{background:var(--trefa-sage);border:1px solid #cfd5c7;border-radius:14px;place-items:center;min-height:460px;margin-top:18px;padding:44px clamp(24px,5vw,72px);display:grid;position:relative;overflow:hidden}.editor-module__LHj0mG__canvasLabel{border:1px solid var(--trefa-border);background:var(--trefa-surface);color:var(--trefa-muted);letter-spacing:.08em;text-transform:uppercase;border-radius:999px;padding:5px 9px;font-size:9px;font-weight:700;position:absolute;top:13px;left:14px}.editor-module__LHj0mG__card{filter:drop-shadow(0 18px 24px #26272024);width:min(100%,410px);display:block;overflow:visible}.editor-module__LHj0mG__symbol{cursor:grab;touch-action:none}.editor-module__LHj0mG__symbol:active{cursor:grabbing}.editor-module__LHj0mG__symbol:focus{outline:none}.editor-module__LHj0mG__symbol:focus-visible>rect{stroke:var(--trefa-accent);stroke-width:1.2px}.editor-module__LHj0mG__cardHint{color:var(--trefa-muted);text-align:center;font-size:11px;line-height:1.55;margin-top:11px!important}.editor-module__LHj0mG__controls{border-bottom:1px solid var(--trefa-border);justify-content:space-between;align-items:center;gap:22px;min-height:92px;display:flex}.editor-module__LHj0mG__placementControls{flex:1;gap:24px;min-width:0;display:flex}.editor-module__LHj0mG__placementControls label{flex:1;grid-template-columns:1fr auto;gap:5px 8px;min-width:0;font-size:11px;display:grid}.editor-module__LHj0mG__shell .editor-module__LHj0mG__placementControls input{width:100%;min-height:24px;accent-color:var(--trefa-accent);background:0 0;border:0;grid-column:1;padding:0}.editor-module__LHj0mG__placementControls output{width:40px;color:var(--trefa-muted);text-align:right;grid-area:2/2;font-size:10px;font-weight:520}.editor-module__LHj0mG__thumbnails{scrollbar-width:thin;grid-template-columns:repeat(auto-fill,minmax(74px,1fr));grid-auto-rows:max-content;align-content:start;gap:9px;max-height:min(420px,50dvh);padding:15px 3px 14px;display:grid;overflow:hidden auto}.editor-module__LHj0mG__shell .editor-module__LHj0mG__thumbnail,.editor-module__LHj0mG__shell .editor-module__LHj0mG__thumbnailSelected{background:var(--trefa-surface);border-radius:8px;width:100%;min-width:0;min-height:92px;padding:7px 7px 5px}.editor-module__LHj0mG__shell .editor-module__LHj0mG__thumbnailSelected{border-color:var(--trefa-accent);background:var(--work-pink);box-shadow:inset 0 0 0 1px var(--trefa-accent)}.editor-module__LHj0mG__thumbnail span,.editor-module__LHj0mG__thumbnailSelected span{margin-top:4px;font-size:9px;display:block}.editor-module__LHj0mG__miniCard{width:100%;display:block}.editor-module__LHj0mG__deckSettings{flex-wrap:wrap;flex:0 auto;justify-content:flex-end;align-items:end;gap:8px;max-width:100%;display:flex}.editor-module__LHj0mG__deckSettings label{gap:7px;min-width:0;font-size:11px;display:grid}.editor-module__LHj0mG__deckSettings select{width:170px;min-width:0;max-width:100%;font-size:13px}.editor-module__LHj0mG__deckSettings button{flex:none;font-size:11px}.editor-module__LHj0mG__warning,.editor-module__LHj0mG__error,.editor-module__LHj0mG__saveNotice{color:#843525;background:#fae8e1;border:1px solid #e0b6a8;border-radius:8px;padding:12px 15px;font-size:12px;line-height:1.55}.editor-module__LHj0mG__warning,.editor-module__LHj0mG__error{margin-bottom:13px!important}.editor-module__LHj0mG__warning button{min-height:32px;margin-left:5px;padding:5px 8px;font-size:10px}.editor-module__LHj0mG__saveNotice{justify-content:space-between;align-items:center;gap:20px;max-width:1560px;margin:0 auto 18px;display:flex}.editor-module__LHj0mG__mobileTabs{display:none}.editor-module__LHj0mG__modal{border:1px solid var(--trefa-border);background:var(--trefa-surface);width:min(580px,100vw - 28px);max-height:90dvh;color:var(--trefa-ink);border-radius:12px;margin:auto;padding:26px;overflow-y:auto;box-shadow:0 24px 90px #2627203d}.editor-module__LHj0mG__modal::backdrop{background:#26272094}.editor-module__LHj0mG__modal .editor-module__LHj0mG__panelHeading{margin-bottom:20px}.editor-module__LHj0mG__modal .editor-module__LHj0mG__panelHeading button{width:46px;padding:8px;font-size:20px}.editor-module__LHj0mG__modal p{margin-bottom:14px;font-size:13px;line-height:1.65}.editor-module__LHj0mG__modal .editor-module__LHj0mG__actions{justify-content:flex-end;margin-top:22px}.editor-module__LHj0mG__batchList{overflow-wrap:anywhere;max-height:220px;padding-left:22px;font-size:12px;line-height:2;overflow:auto}.editor-module__LHj0mG__cropArea{border:1px solid var(--trefa-border);background:var(--trefa-sage);border-radius:8px;justify-content:center;display:flex;overflow:hidden}.editor-module__LHj0mG__cropArea img{width:auto;max-width:100%;max-height:50dvh;display:block}.editor-module__LHj0mG__loading{text-align:center;justify-items:center;gap:24px;max-width:620px;margin:100px auto;display:grid}.editor-module__LHj0mG__loading>span{color:var(--trefa-accent);font-size:72px}.editor-module__LHj0mG__loading h1{font-size:27px;line-height:1.4}.editor-module__LHj0mG__credits{max-width:1560px;color:var(--trefa-muted);text-align:right;margin:30px auto 0;font-size:11px}.editor-module__LHj0mG__credits a{text-underline-offset:3px;text-decoration:underline}@media (hover:hover){.editor-module__LHj0mG__shell button:hover:not(:disabled){border-color:var(--trefa-ink);background:var(--trefa-soft)}.editor-module__LHj0mG__shell .editor-module__LHj0mG__primary:hover:not(:disabled),.editor-module__LHj0mG__workspaceNav nav button:last-child:hover:not(:disabled){border-color:var(--trefa-accent-hover);background:var(--trefa-accent-hover);color:#fff}.editor-module__LHj0mG__shell .editor-module__LHj0mG__uploadButton:hover:not(:disabled){border-color:var(--trefa-accent-hover);color:var(--trefa-accent-hover);background:#f7eab3}.editor-module__LHj0mG__choice:hover,.editor-module__LHj0mG__shapeChoices .editor-module__LHj0mG__choice:hover{border-color:var(--trefa-ink)}}@media (min-width:1600px){.editor-module__LHj0mG__imageGrid{grid-template-columns:repeat(4,minmax(0,1fr))}.editor-module__LHj0mG__canvasStage{min-height:540px}.editor-module__LHj0mG__card{width:450px}}@media (max-width:1080px){.editor-module__LHj0mG__newLayout{grid-template-columns:minmax(0,1fr) minmax(410px,480px);gap:42px}.editor-module__LHj0mG__art{transform-origin:0 100%;transform:scale(.9)}.editor-module__LHj0mG__imagePanel{padding:17px}.editor-module__LHj0mG__topbar{gap:18px}.editor-module__LHj0mG__headerRight{gap:8px}.editor-module__LHj0mG__placementControls{gap:12px}.editor-module__LHj0mG__canvasStage{min-height:390px;padding:42px 32px}}@media (max-width:800px){.editor-module__LHj0mG__newLayout{flex-direction:column;gap:36px;max-width:580px;margin:34px auto;display:flex}.editor-module__LHj0mG__introduction{padding-top:0}.editor-module__LHj0mG__introduction h1{max-width:560px;font-size:clamp(43px,10vw,65px)}.editor-module__LHj0mG__art{min-height:280px;margin-top:30px;transform:none}.editor-module__LHj0mG__artCard{width:235px;padding:40px}.editor-module__LHj0mG__workspace{display:block}.editor-module__LHj0mG__mobileTabs{border:1px solid var(--trefa-border);background:var(--trefa-sage);border-radius:8px;gap:4px;max-width:1560px;margin:0 auto 18px;padding:4px;display:flex}.editor-module__LHj0mG__mobileTabs button{background:0 0;border-color:#0000;flex:1}.editor-module__LHj0mG__mobileTabs button[aria-pressed=true]{border-color:var(--trefa-border);background:var(--trefa-surface)}.editor-module__LHj0mG__mobileHidden{display:none}.editor-module__LHj0mG__imagePanel{padding:22px}.editor-module__LHj0mG__imageGrid{grid-template-columns:repeat(4,minmax(0,1fr));max-height:none}.editor-module__LHj0mG__imageActions{z-index:3;border:1px solid var(--trefa-border);background:var(--trefa-surface);border-radius:8px;padding:9px;position:sticky;bottom:10px}}@media (max-width:620px){.editor-module__LHj0mG__shell{padding:0 16px 28px}.editor-module__LHj0mG__topbar{flex-wrap:wrap;gap:10px 14px;min-height:78px;margin-bottom:16px;padding:12px 0}.editor-module__LHj0mG__gameName{flex-basis:100%;order:3;min-width:150px;max-width:none}.editor-module__LHj0mG__gameName input{font-size:16px}.editor-module__LHj0mG__headerRight{margin-left:auto}.editor-module__LHj0mG__saved,.editor-module__LHj0mG__status{min-height:28px;padding-inline:8px;font-size:9px}.editor-module__LHj0mG__workspaceNav{margin-top:0}.editor-module__LHj0mG__workspaceNav nav{justify-content:flex-start}.editor-module__LHj0mG__workspaceNav button{min-height:44px;padding-inline:12px;font-size:11px}.editor-module__LHj0mG__introduction h1{font-size:clamp(40px,13vw,56px)}.editor-module__LHj0mG__introduction>p:not(.editor-module__LHj0mG__eyebrow){font-size:15px}.editor-module__LHj0mG__art{align-items:flex-end;min-height:240px}.editor-module__LHj0mG__artCard{width:198px;box-shadow:10px 10px 0 var(--trefa-butter), 20px 20px 0 var(--trefa-sage), 0 16px 30px #2627201f;gap:15px;padding:34px}.editor-module__LHj0mG__artCardSquare{border-radius:22px}.editor-module__LHj0mG__art figcaption{max-width:165px;margin:0 0 12px -2px;padding:10px}.editor-module__LHj0mG__setup{border-radius:12px;padding:22px}.editor-module__LHj0mG__setupHeading h2{font-size:27px}.editor-module__LHj0mG__choices{flex-direction:column}.editor-module__LHj0mG__choice,.editor-module__LHj0mG__choiceSelected{width:100%;min-height:72px}.editor-module__LHj0mG__shapeChoices{grid-template-columns:minmax(0,1fr);display:grid}.editor-module__LHj0mG__shapeChoices .editor-module__LHj0mG__choice,.editor-module__LHj0mG__shapeChoices .editor-module__LHj0mG__choiceSelected{min-height:84px}.editor-module__LHj0mG__customCount{grid-template-columns:minmax(0,1fr) 92px}.editor-module__LHj0mG__saveNotice{display:block}.editor-module__LHj0mG__saveNotice .editor-module__LHj0mG__actions{margin-top:10px}.editor-module__LHj0mG__editorHeading{flex-wrap:wrap;align-items:flex-end;min-height:0}.editor-module__LHj0mG__editorHeading h1{font-size:31px}.editor-module__LHj0mG__editorHeading .editor-module__LHj0mG__actions button{min-height:42px;padding:7px 11px}.editor-module__LHj0mG__canvasStage{min-height:0;padding:48px 18px 30px}.editor-module__LHj0mG__card{width:min(100%,370px)}.editor-module__LHj0mG__controls{flex-wrap:wrap;padding:15px 0}.editor-module__LHj0mG__placementControls{min-width:100%}.editor-module__LHj0mG__controls>.editor-module__LHj0mG__deckSettings{margin-left:auto}.editor-module__LHj0mG__deckSettings{align-items:flex-end}.editor-module__LHj0mG__deckSettings select{width:100%;min-width:0;max-width:190px}.editor-module__LHj0mG__imageGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.editor-module__LHj0mG__modal{padding:20px}}@media (max-width:380px){.editor-module__LHj0mG__shell{padding-inline:12px}.editor-module__LHj0mG__art{min-height:220px}.editor-module__LHj0mG__artCard{width:180px;padding:31px}.editor-module__LHj0mG__art figcaption{max-width:142px;margin:0;position:absolute;bottom:0;right:0}.editor-module__LHj0mG__shapeChoices{grid-template-columns:minmax(0,1fr)}.editor-module__LHj0mG__placementControls{flex-direction:column;gap:13px}.editor-module__LHj0mG__deckSettings{flex-direction:column;align-items:stretch}.editor-module__LHj0mG__deckSettings select{max-width:none}.editor-module__LHj0mG__deckSettings button{width:100%}}@media (prefers-reduced-motion:reduce){.editor-module__LHj0mG__shell *,.editor-module__LHj0mG__shell :before,.editor-module__LHj0mG__shell :after{scroll-behavior:auto!important;transition-duration:.01ms!important}}.editor-module__LHj0mG__shell{padding-top:24px;padding-inline:var(--site-gutter)}.editor-module__LHj0mG__shell button{border-color:var(--trefa-control-border);border-radius:8px;min-height:44px;font-size:14px;font-weight:650}.editor-module__LHj0mG__shell input,.editor-module__LHj0mG__shell select{border-color:var(--trefa-control-border);min-height:44px}.editor-module__LHj0mG__shell .editor-module__LHj0mG__primary{border-color:var(--trefa-accent);min-height:44px;padding:10px 16px;font-size:14px;font-weight:650}.editor-module__LHj0mG__editorHeading h1,.editor-module__LHj0mG__loading h1{letter-spacing:-.025em;font-size:clamp(30px,3vw,42px);font-weight:650;line-height:1.12}.editor-module__LHj0mG__editorHeading .editor-module__LHj0mG__eyebrow{display:none}@media (max-width:800px){.editor-module__LHj0mG__shell{padding-inline:22px}}.editor-module__LHj0mG__workspace .editor-module__LHj0mG__imagePanel{background:0 0;border:0;padding:0}.editor-module__LHj0mG__workspace .editor-module__LHj0mG__imageGrid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.editor-module__LHj0mG__symbolTile{min-width:0;position:relative}.editor-module__LHj0mG__symbolTile>:first-child{width:100%}.editor-module__LHj0mG__symbolActions{gap:4px;margin-top:4px;display:none}.editor-module__LHj0mG__shell .editor-module__LHj0mG__symbolTile[data-selected] .editor-module__LHj0mG__symbolActions{display:flex}.editor-module__LHj0mG__shell .editor-module__LHj0mG__symbolActions button{background:var(--trefa-surface);justify-content:center;align-items:center;gap:6px;min-width:44px;min-height:44px;padding:6px;font-size:.8125rem;display:flex}.editor-module__LHj0mG__symbolCrop{flex:1}.editor-module__LHj0mG__symbolActions svg{flex:none;width:16px;height:16px}@media (min-width:801px) and (hover:hover) and (pointer:fine){.editor-module__LHj0mG__shell .editor-module__LHj0mG__symbolTile .editor-module__LHj0mG__symbolActions{opacity:0;pointer-events:none;margin:0;display:flex;position:absolute;inset:5px auto auto 5px}.editor-module__LHj0mG__shell .editor-module__LHj0mG__symbolTile .editor-module__LHj0mG__symbolActions button{pointer-events:none;min-width:32px;min-height:32px}.editor-module__LHj0mG__symbolCrop span{display:none}.editor-module__LHj0mG__shell .editor-module__LHj0mG__symbolTile:is(:hover,:focus-within) .editor-module__LHj0mG__symbolActions{opacity:1}.editor-module__LHj0mG__shell .editor-module__LHj0mG__symbolTile:is(:hover,:focus-within) .editor-module__LHj0mG__symbolActions button{pointer-events:auto}}.editor-module__LHj0mG__workspace .editor-module__LHj0mG__slotMeta b,.editor-module__LHj0mG__workspace .editor-module__LHj0mG__slotMeta i{font-size:10px}@media (min-width:1240px){.editor-module__LHj0mG__withImageLibrary [data-image-workspace]{grid-template-columns:minmax(0,42fr) minmax(0,58fr)}.editor-module__LHj0mG__withImageLibrary .editor-module__LHj0mG__right{height:var(--image-workspace-height,calc(100dvh - 32px));flex-direction:column;display:flex}.editor-module__LHj0mG__withImageLibrary .editor-module__LHj0mG__editorHeading{flex-wrap:wrap;gap:8px;min-height:0}.editor-module__LHj0mG__withImageLibrary .editor-module__LHj0mG__editorHeading,.editor-module__LHj0mG__withImageLibrary .editor-module__LHj0mG__canvasStage{flex-shrink:0}.editor-module__LHj0mG__withImageLibrary .editor-module__LHj0mG__editorHeading h1{font-size:1.125rem}.editor-module__LHj0mG__withImageLibrary .editor-module__LHj0mG__canvasStage{background:0 0;border:0;min-height:0;margin-top:12px;padding:12px 4px}.editor-module__LHj0mG__withImageLibrary .editor-module__LHj0mG__card{width:min(100%,400px,calc(var(--image-workspace-height,700px) * .5))}.editor-module__LHj0mG__withImageLibrary .editor-module__LHj0mG__canvasLabel,.editor-module__LHj0mG__withImageLibrary .editor-module__LHj0mG__cardHint,.editor-module__LHj0mG__withImageLibrary .editor-module__LHj0mG__controls,.editor-module__LHj0mG__withImageLibrary .editor-module__LHj0mG__deckSettings,.editor-module__LHj0mG__withImageLibrary .editor-module__LHj0mG__right>.editor-module__LHj0mG__warning{display:none}.editor-module__LHj0mG__withImageLibrary .editor-module__LHj0mG__thumbnails{flex:1;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));grid-auto-rows:max-content;align-content:start;gap:8px;min-height:78px;max-height:none;padding-block:12px;display:grid;overflow:hidden auto}.editor-module__LHj0mG__withImageLibrary .editor-module__LHj0mG__thumbnail,.editor-module__LHj0mG__withImageLibrary .editor-module__LHj0mG__thumbnailSelected{grid-template-rows:auto auto;gap:4px;width:100%;min-width:0;height:max-content;min-height:78px;padding:5px;display:grid}.editor-module__LHj0mG__withImageLibrary .editor-module__LHj0mG__miniCard{height:auto}.editor-module__LHj0mG__withImageLibrary .editor-module__LHj0mG__thumbnail span,.editor-module__LHj0mG__withImageLibrary .editor-module__LHj0mG__thumbnailSelected span{margin-top:0}.editor-module__LHj0mG__withImageLibrary .editor-module__LHj0mG__imageActions{display:grid}}
.cutout-module__o4vu-W__steps{color:var(--trefa-muted);gap:1rem;padding:.65rem 0;font-size:.9rem;display:flex}.cutout-module__o4vu-W__active{color:var(--trefa-accent);font-weight:750}.cutout-module__o4vu-W__photo{object-fit:contain;width:auto;max-width:100%;height:auto;max-height:45vh;margin:auto;display:block}.cutout-module__o4vu-W__modes{border:0;gap:.5rem;margin:.5rem 0 1rem;padding:0;display:flex}.cutout-module__o4vu-W__modes legend{margin-bottom:.5rem;font-size:.85rem;font-weight:700}.cutout-module__o4vu-W__modes label{border:1px solid var(--trefa-control-border);cursor:pointer;border-radius:10px;align-items:center;gap:.45rem;padding:.55rem .8rem;display:flex}.cutout-module__o4vu-W__modes label:has(input:checked){background:var(--work-pink);border-color:var(--trefa-accent)}.cutout-module__o4vu-W__modes input{accent-color:var(--trefa-accent)}.cutout-module__o4vu-W__methods{align-items:stretch;margin-bottom:.25rem}.cutout-module__o4vu-W__methods label,.cutout-module__o4vu-W__methods button{min-height:44px}.cutout-module__o4vu-W__methods button[aria-disabled=true]{color:var(--trefa-muted);cursor:help;font-size:.8125rem}.cutout-module__o4vu-W__methods label:focus-within{outline:2px solid var(--trefa-accent);outline-offset:2px}.cutout-module__o4vu-W__displayed{margin:.5rem 0;font-size:.875rem;font-weight:700}.cutout-module__o4vu-W__alignedResult{width:100%;position:relative}.cutout-module__o4vu-W__result .cutout-module__o4vu-W__alignedResult img{object-fit:fill;max-height:none;margin:0;position:absolute}.cutout-module__o4vu-W__selection{background:var(--trefa-soft);touch-action:pan-y;cursor:crosshair;border-radius:12px;place-items:center;display:grid;position:relative;overflow:hidden}.cutout-module__o4vu-W__selection:focus-visible{outline:3px solid var(--trefa-accent);outline-offset:3px}.cutout-module__o4vu-W__selection[aria-disabled=true]{cursor:progress}.cutout-module__o4vu-W__peopleSelection{cursor:default}.cutout-module__o4vu-W__point{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.cutout-module__o4vu-W__result{background-color:#fff;background-image:conic-gradient(#e9e6e0 25%, transparent 0 50%, #e9e6e0 0 75%, transparent 0);background-size:20px 20px;border-radius:12px;margin-top:1rem;padding:.75rem}.cutout-module__o4vu-W__result img{object-fit:contain;width:100%;max-height:25vh;margin:auto;display:block}.cutout-module__o4vu-W__status{min-height:1.4em;color:var(--trefa-muted)}.cutout-module__o4vu-W__help{color:var(--trefa-muted);font-size:.78rem;line-height:1.45}.cutout-module__o4vu-W__help a{color:inherit;text-underline-offset:.2em}.cutout-module__o4vu-W__progress{width:100%;accent-color:var(--trefa-accent)}.cutout-module__o4vu-W__warning{background:#fff2d7;border-radius:10px;padding:.75rem}.cutout-module__o4vu-W__recropNotice{background:var(--joy-demo-paper,#fff7d9);color:var(--trefa-ink);border-radius:8px;margin:0 0 12px;padding:10px 12px;font-size:.8125rem;line-height:1.45}.cutout-module__o4vu-W__downloadCard{background:var(--joy-paper,#fffdf7);color:var(--trefa-ink);border-radius:12px;flex-direction:column;gap:12px;padding:16px;display:flex;box-shadow:0 6px 24px #193e3633}.cutout-module__o4vu-W__downloadCard h3{align-items:center;gap:8px;margin:0;font-size:.9375rem;font-weight:750;display:flex}.cutout-module__o4vu-W__downloadCard h3 svg{flex-shrink:0}.cutout-module__o4vu-W__downloadText{min-height:0;font-size:.8125rem;line-height:1.45;overflow:auto}.cutout-module__o4vu-W__downloadText p{margin:0}.cutout-module__o4vu-W__downloadText p+p{margin-top:8px}.cutout-module__o4vu-W__downloadActions{flex-wrap:wrap;flex-shrink:0;gap:8px;display:flex}.cutout-module__o4vu-W__downloadActions button{min-height:44px}@container (max-width:440px){.cutout-module__o4vu-W__downloadCard{gap:8px;padding:12px}.cutout-module__o4vu-W__downloadActions{flex-direction:column}}@media (max-width:600px){.cutout-module__o4vu-W__steps{gap:.6rem;font-size:.8rem}.cutout-module__o4vu-W__photo{max-height:37vh}}.cutout-module__o4vu-W__dialog.cutout-module__o4vu-W__dialog[open]{flex-direction:column;width:min(1040px,100vw - 32px);display:flex;overflow:hidden}.cutout-module__o4vu-W__body{min-height:0;padding:0 3px;overflow-y:auto}.cutout-module__o4vu-W__layout{grid-template-columns:minmax(0,1fr) minmax(240px,280px);gap:28px;display:grid}.cutout-module__o4vu-W__singleLayout{display:block}.cutout-module__o4vu-W__editorSettings{justify-items:center;gap:12px;display:grid}.cutout-module__o4vu-W__shapeOptions{justify-content:center;max-width:100%;display:flex}.cutout-module__o4vu-W__shapeOptions legend{text-align:center;width:100%}.cutout-module__o4vu-W__processingOptions{flex-wrap:wrap;justify-content:center;align-items:start;gap:16px 24px;max-width:100%;display:flex}.cutout-module__o4vu-W__methodSettings{gap:8px;min-width:0;max-width:440px;display:grid}.cutout-module__o4vu-W__segments{border:0;gap:3px;min-width:0;margin:0;padding:0;display:flex}.cutout-module__o4vu-W__segments legend{color:var(--trefa-muted);margin-bottom:5px;font-size:.75rem;font-weight:700}.cutout-module__o4vu-W__segments label{border:1px solid var(--theme-border);background:var(--trefa-soft);cursor:pointer;justify-content:center;align-items:center;min-height:44px;padding:8px 12px;font-size:.8125rem;font-weight:600;display:flex;position:relative}.cutout-module__o4vu-W__segments label:first-of-type{border-radius:8px 0 0 8px}.cutout-module__o4vu-W__segments label:last-of-type{border-radius:0 8px 8px 0}.cutout-module__o4vu-W__segments input{clip-path:inset(50%);width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.cutout-module__o4vu-W__segments label:has(input:checked){background:var(--work-pink);border-color:var(--trefa-accent);color:var(--trefa-ink);box-shadow:inset 0 -2px var(--trefa-accent);font-weight:750}.cutout-module__o4vu-W__segments label:hover:not(:has(input:disabled)){border-color:var(--trefa-ink)}.cutout-module__o4vu-W__segments label:has(input:focus-visible){outline:3px solid var(--trefa-accent);outline-offset:2px;z-index:1}.cutout-module__o4vu-W__segments label:has(input:disabled){opacity:.5;cursor:not-allowed}.cutout-module__o4vu-W__segments label:active:not(:has(input:disabled)){background:var(--work-pink)}.cutout-module__o4vu-W__methodSegments{padding-inline-end:50px;position:relative}.cutout-module__o4vu-W__methodInfo.cutout-module__o4vu-W__methodInfo{bottom:0;width:44px;min-height:44px;color:var(--trefa-muted);cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;padding:10px;display:inline-flex;position:absolute;inset-inline-end:0}.cutout-module__o4vu-W__methodInfo:hover:not(:disabled){color:var(--trefa-ink);background:var(--work-pink)}.cutout-module__o4vu-W__methodInfo:focus-visible{outline:3px solid var(--trefa-accent);outline-offset:2px}.cutout-module__o4vu-W__methodInfo[aria-expanded=true]{color:var(--trefa-accent);background:var(--work-pink)}@container (max-width:440px){.cutout-module__o4vu-W__segments label{padding-inline:8px;font-size:.75rem}.cutout-module__o4vu-W__methodSettings{column-gap:8px}}.cutout-module__o4vu-W__resultDetails{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 20px;margin-top:10px;display:flex}.cutout-module__o4vu-W__resultDetails p{margin:0}.cutout-module__o4vu-W__workarea{min-width:0}.cutout-module__o4vu-W__manualLayout{display:block}.cutout-module__o4vu-W__instruction{min-height:2.9em;color:var(--trefa-muted);margin:0 0 12px;font-size:.875rem;line-height:1.45}.cutout-module__o4vu-W__previewInstruction{min-height:0;margin:10px 0 0}.cutout-module__o4vu-W__cropArea{background:var(--trefa-soft);border-radius:12px;justify-content:center;align-items:center;min-height:220px;display:flex;overflow:hidden}.cutout-module__o4vu-W__cropArea .cutout-module__o4vu-W__photo,.cutout-module__o4vu-W__selection .cutout-module__o4vu-W__photo{max-height:min(46dvh,480px)}.cutout-module__o4vu-W__result{place-items:center;min-height:220px;margin-top:0;display:grid}.cutout-module__o4vu-W__result img{max-height:min(46dvh,480px)}.cutout-module__o4vu-W__tools{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.cutout-module__o4vu-W__workarea>.cutout-module__o4vu-W__tools{margin-top:12px}.cutout-module__o4vu-W__guideTools{flex-basis:100%}.cutout-module__o4vu-W__guideTools>p{margin:0 0 12px}.cutout-module__o4vu-W__guideTools fieldset{border:0;margin:0;padding:0}.cutout-module__o4vu-W__guideTools legend{color:var(--trefa-muted);margin-bottom:8px;font-size:.8125rem}.cutout-module__o4vu-W__footer{border-top:1px solid var(--theme-border);flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;padding-top:16px;display:flex}.cutout-module__o4vu-W__saveAction{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px 12px;display:flex}.cutout-module__o4vu-W__saveAction>p{margin:0}.cutout-module__o4vu-W__details{border:0;gap:8px;min-width:0;margin:0;padding:0;display:grid}.cutout-module__o4vu-W__details legend{margin-bottom:8px;padding:0;font-size:1rem;font-weight:700}.cutout-module__o4vu-W__details p{margin:0 0 8px}.cutout-module__o4vu-W__details label:not(:first-of-type){margin-top:12px}.cutout-module__o4vu-W__privacy{color:var(--trefa-muted);margin-top:12px;font-size:.8rem}.cutout-module__o4vu-W__privacy summary{cursor:pointer;box-sizing:border-box;min-height:44px;padding-block:12px}.cutout-module__o4vu-W__help{overflow-wrap:anywhere;font-size:.8125rem}.cutout-module__o4vu-W__modes{flex-wrap:wrap}.cutout-module__o4vu-W__status:empty{display:none}.cutout-module__o4vu-W__status{margin-top:12px}@media (max-width:700px){.cutout-module__o4vu-W__dialog.cutout-module__o4vu-W__dialog[open]{width:calc(100vw - 20px)}.cutout-module__o4vu-W__dialog.cutout-module__o4vu-W__dialog[open]>div:first-child{gap:8px;margin-bottom:12px}.cutout-module__o4vu-W__dialog.cutout-module__o4vu-W__dialog[open]>div:first-child h2{font-size:1.125rem}.cutout-module__o4vu-W__instruction{min-height:4.35em}.cutout-module__o4vu-W__previewInstruction{min-height:0}.cutout-module__o4vu-W__layout{grid-template-columns:minmax(0,1fr);gap:24px}.cutout-module__o4vu-W__cropArea .cutout-module__o4vu-W__photo,.cutout-module__o4vu-W__selection .cutout-module__o4vu-W__photo,.cutout-module__o4vu-W__result img{max-height:32dvh}.cutout-module__o4vu-W__cropArea,.cutout-module__o4vu-W__result{min-height:160px}.cutout-module__o4vu-W__footer{flex-wrap:wrap;align-items:stretch}.cutout-module__o4vu-W__footer>button{flex:1}.cutout-module__o4vu-W__saveAction{text-align:center;flex-direction:column;flex:1;align-items:stretch}.cutout-module__o4vu-W__modes label{padding:.55rem .65rem}}@media (max-height:600px){.cutout-module__o4vu-W__dialog.cutout-module__o4vu-W__dialog[open]{width:min(1040px,100vw - 16px);max-height:calc(100dvh - 16px);padding:12px}.cutout-module__o4vu-W__dialog.cutout-module__o4vu-W__dialog[open]>div:first-child{gap:8px;margin-bottom:8px}.cutout-module__o4vu-W__dialog.cutout-module__o4vu-W__dialog[open]>div:first-child h2{font-size:1.125rem}.cutout-module__o4vu-W__footer{margin-top:8px;padding-top:8px}@media (min-width:701px){.cutout-module__o4vu-W__editorSettings{justify-content:center;align-items:start;gap:24px;display:flex}.cutout-module__o4vu-W__shapeOptions legend{text-align:left}}}
.image-library-module__BARLbG__badge{width:19px;height:19px;box-shadow:0 0 0 2px var(--trefa-surface,#fffefa);pointer-events:none;border-radius:50%;place-items:center;font:700 12px/1 sans-serif;display:grid;position:absolute;top:5px;right:5px}.image-library-module__BARLbG__confirmed{color:#365c44;background:#e2eee4}.image-library-module__BARLbG__inlineBadge{width:28px;height:28px;box-shadow:none;position:static}.image-library-module__BARLbG__pending{color:#a56800;background:#fff1bc}.image-library-module__BARLbG__summary{gap:9px;margin:10px 0;display:grid}.image-library-module__BARLbG__summary p{color:var(--trefa-muted,#68685f);margin:0;font-size:.78rem}.image-library-module__BARLbG__summary button{text-align:left;width:100%;font-size:.75rem;line-height:1.4}.image-library-module__BARLbG__tile{min-width:0;position:relative}.image-library-module__BARLbG__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-height:340px;padding:3px;display:grid;overflow-y:auto}.image-library-module__BARLbG__tile>button:first-child{aspect-ratio:1;width:100%;min-height:0;padding:4px;display:block;position:relative}.image-library-module__BARLbG__tile img{aspect-ratio:1;object-fit:contain;width:100%;height:100%;display:block}.image-library-module__BARLbG__tileActions{gap:2px;margin-top:3px;display:flex}.image-library-module__BARLbG__grid .image-library-module__BARLbG__tileActions button{text-align:center;flex:1;min-width:0;min-height:28px;padding:2px 4px;font-size:.68rem}.image-library-module__BARLbG__tile button:focus-visible{outline-offset:2px;outline:2px solid #b5452d}.image-library-module__BARLbG__progress{gap:4px;font-size:.8rem;display:grid}.image-library-module__BARLbG__progress progress{accent-color:#44664d;width:100%}.image-library-module__BARLbG__failures{overflow-wrap:anywhere;font-size:.78rem}.image-library-module__BARLbG__count{background:var(--trefa-soft,#f2f1ea);border-radius:5px;padding:3px 7px;font:500 .78rem sans-serif}.image-library-module__BARLbG__heading{justify-content:space-between;align-items:center;display:flex}.image-library-module__BARLbG__dropTarget{outline-offset:4px;border-radius:12px;background:#e6eee180!important;outline:3px solid #5b8060!important}.image-library-module__BARLbG__panFrame{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;position:absolute}.image-library-module__BARLbG__panFrame:active{cursor:grabbing}.image-library-module__BARLbG__panFrame:focus-visible{outline:2px solid #b5452d}
.image-library-panel-module__f3zruq__panel{background:var(--trefa-surface,#fffdf7);border:1px solid var(--work-control-border,#a6b6a9);min-width:0;height:calc(100dvh - 32px);color:var(--trefa-ink,#193e36);border-radius:12px;flex-direction:column;align-self:start;display:flex;position:sticky;top:16px;overflow:hidden;container-type:inline-size}.image-library-panel-module__f3zruq__heading{justify-content:space-between;align-items:start;gap:12px;padding:18px 18px 10px;display:flex}.image-library-panel-module__f3zruq__panel .image-library-panel-module__f3zruq__heading h2{font:650 1.25rem/1.3 var(--trefa-display);letter-spacing:-.025em;margin:0}.image-library-panel-module__f3zruq__heading p{margin:5px 0 0;font-size:.85rem}.image-library-panel-module__f3zruq__heading .image-library-panel-module__f3zruq__close{flex:0 0 44px;place-items:center;width:44px;min-height:44px;padding:0;line-height:1;display:grid}.image-library-panel-module__f3zruq__close svg{width:20px;height:20px;display:block}.image-library-panel-module__f3zruq__tabs{border-bottom:1px solid var(--work-control-border,#a6b6a9);gap:4px;padding:4px 12px 0;display:flex}.image-library-panel-module__f3zruq__headingActions{flex:none;align-items:center;gap:8px;display:flex}.image-library-panel-module__f3zruq__tabs.image-library-panel-module__f3zruq__tabs button{min-width:0;min-height:52px;font:650 .85rem/1.35 var(--trefa-font);overflow-wrap:anywhere;background:0 0;border:0;border-bottom:3px solid #0000;border-radius:0;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;padding:7px 5px;display:flex}.image-library-panel-module__f3zruq__tabs.image-library-panel-module__f3zruq__tabs button[aria-selected=true]{color:var(--trefa-accent,#b83259);background:0 0;border-bottom-color:currentColor}.image-library-panel-module__f3zruq__tabAvailability{font:400 .6875rem/1.2 var(--trefa-font);color:var(--trefa-muted,#4c6159)}.image-library-panel-module__f3zruq__tabLabel{justify-content:center;align-items:center;gap:5px;max-width:100%;display:inline-flex}.image-library-panel-module__f3zruq__aiIcon{flex:none;width:17px;height:17px}.image-library-panel-module__f3zruq__generation{flex-wrap:wrap;align-items:center;gap:4px 16px;display:flex}.image-library-panel-module__f3zruq__generation .image-library-panel-module__f3zruq__hint{flex:1 0 100%;margin:0}.image-library-panel-module__f3zruq__runsLink{min-height:44px;color:var(--trefa-muted,#4c6159);text-underline-offset:3px;align-items:center;font-size:.8125rem;text-decoration:underline;display:inline-flex}.image-library-panel-module__f3zruq__stylizationLink{margin-block-start:8px}.image-library-panel-module__f3zruq__aiSearch{margin-block:16px;display:flex}.image-library-panel-module__f3zruq__scroll{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-height:0;padding:16px;overflow-y:auto}.image-library-panel-module__f3zruq__acquire{gap:4px;margin-bottom:16px;display:grid}.image-library-panel-module__f3zruq__acquireActions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.image-library-panel-module__f3zruq__fileDropPanel{min-height:100%;display:grid}.image-library-panel-module__f3zruq__fileDropSurface{border-radius:8px;min-width:0}.image-library-panel-module__f3zruq__uploadDropHint{border:1px dashed var(--work-control-border,#7c8c7e);color:var(--trefa-muted,#4c6159);border-radius:8px;margin:4px 0 0;padding:8px 12px;font-size:.8125rem;line-height:1.5;display:none}@media (any-pointer:fine){.image-library-panel-module__f3zruq__uploadDropHint{display:block}}.image-library-panel-module__f3zruq__fileDropSurface[data-file-dragging]{outline:2px dashed var(--trefa-accent,#b83259);outline-offset:4px}.image-library-panel-module__f3zruq__fileDropSurface[data-file-dragging] .image-library-panel-module__f3zruq__uploadDropHint{border-color:var(--trefa-accent,#b83259);background:var(--work-pink,#f7e0df);display:block}.image-library-panel-module__f3zruq__uploadControl{display:inline-flex}.image-library-panel-module__f3zruq__acquire .image-library-panel-module__f3zruq__hint{margin-block:2px}.image-library-panel-module__f3zruq__acquire summary{cursor:pointer;align-content:center;min-height:44px}.image-library-panel-module__f3zruq__hint{color:var(--trefa-muted,#4c6159);margin:8px 0;font-size:.8125rem;line-height:1.5}.image-library-panel-module__f3zruq__acquireSearch{flex:180px;min-width:0;display:flex}.image-library-panel-module__f3zruq__searchField{flex:180px;min-width:0}.image-library-panel-module__f3zruq__searchField.image-library-panel-module__f3zruq__searchField input{width:100%;height:44px;min-height:44px;font:400 1rem/1.5 var(--trefa-font);padding:9px 12px}.image-library-panel-module__f3zruq__visuallyHidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.image-library-panel-module__f3zruq__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}@container (min-width:440px){.image-library-panel-module__f3zruq__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (min-width:560px){.image-library-panel-module__f3zruq__grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@container (min-width:760px){.image-library-panel-module__f3zruq__grid{grid-template-columns:repeat(5,minmax(0,1fr))}}.image-library-panel-module__f3zruq__tile{border:1px solid var(--work-control-border,#a6b6a9);border-radius:10px;min-width:0;padding:6px}.image-library-panel-module__f3zruq__selected{outline:2px solid var(--trefa-accent,#b83259);outline-offset:1px;background:var(--work-pink,#f7e0df)}.image-library-panel-module__f3zruq__tile .image-library-panel-module__f3zruq__picture{aspect-ratio:1;background:var(--trefa-bg,#f2f3e8);cursor:grab;touch-action:pan-y;border:0;border-radius:6px;width:100%;min-height:0;padding:8px;display:block;position:relative}.image-library-panel-module__f3zruq__picture:active{cursor:grabbing}.image-library-panel-module__f3zruq__picture img{object-fit:contain;width:100%;height:100%;display:block}.image-library-panel-module__f3zruq__picture[data-unavailable]:after{content:attr(data-unavailable);font-size:.75rem}.image-library-panel-module__f3zruq__selectImage{cursor:pointer;align-items:center;gap:7px;min-height:44px;line-height:1.3;display:flex}.image-library-panel-module__f3zruq__tile .image-library-panel-module__f3zruq__selectImage{font:550 .8125rem/1.3 var(--trefa-font)}.image-library-panel-module__f3zruq__selectImage input{flex:none;width:19px;height:19px}.image-library-panel-module__f3zruq__selectImage span{overflow-wrap:anywhere;font-size:.8125rem}.image-library-panel-module__f3zruq__tileVisual{position:relative}.image-library-panel-module__f3zruq__cropHint{z-index:1;background:var(--trefa-surface,#fffdf7);color:var(--trefa-ink,#193e36);opacity:0;visibility:hidden;pointer-events:none;border-radius:6px;padding:8px;font-size:.75rem;line-height:1.4;position:absolute;inset:auto 4px 48px}.image-library-panel-module__f3zruq__tileVisual:hover .image-library-panel-module__f3zruq__cropHint,.image-library-panel-module__f3zruq__tileVisual:focus-within .image-library-panel-module__f3zruq__cropHint{opacity:1;visibility:visible}.image-library-panel-module__f3zruq__tileBadges{pointer-events:none;gap:4px;display:flex;position:absolute;inset:6px auto auto 6px}.image-library-panel-module__f3zruq__usedBadge{background:var(--trefa-ink,#193e36);width:28px;height:28px;color:var(--trefa-surface,#fffdf7);border-radius:50%;place-items:center;display:grid}.image-library-panel-module__f3zruq__usedBadge svg{width:18px;height:18px}.image-library-panel-module__f3zruq__tileCrop.image-library-panel-module__f3zruq__tileCrop{z-index:2;background:var(--trefa-surface,#fffdf7);place-items:center;width:44px;min-height:44px;padding:10px;display:grid;position:absolute;bottom:4px;right:4px}.image-library-panel-module__f3zruq__tileCrop svg{width:20px;height:20px}.image-library-panel-module__f3zruq__tileStylize.image-library-panel-module__f3zruq__tileStylize{z-index:2;background:color-mix(in srgb, var(--trefa-surface,#fffdf7) 92%, transparent);min-width:52px;min-height:44px;color:var(--trefa-ink,#193e36);font:700 .8125rem/1 var(--trefa-font);justify-content:center;align-items:center;gap:4px;padding:7px;display:inline-flex;position:absolute;inset:auto auto 4px 4px}.image-library-panel-module__f3zruq__tileStylize svg{width:16px;height:16px;color:var(--trefa-accent,#b83259)}@media (hover:hover){.image-library-panel-module__f3zruq__tileStylize.image-library-panel-module__f3zruq__tileStylize:hover{background:var(--trefa-surface,#fffdf7);border-color:var(--trefa-accent,#b83259)}}.image-library-panel-module__f3zruq__cropPending.image-library-panel-module__f3zruq__cropPending{color:#795000;background:#fff1bc;border-color:#ad7c15}.image-library-panel-module__f3zruq__footer{border-top:1px solid var(--work-control-border,#a6b6a9);background:var(--trefa-surface,#fffdf7);gap:8px;padding:12px 16px;display:grid}.image-library-panel-module__f3zruq__footerLine{justify-content:space-between;align-items:center;gap:8px;display:flex}.image-library-panel-module__f3zruq__footerLine button{padding:5px 8px;font-size:.75rem}.image-library-panel-module__f3zruq__selectionLine{flex-wrap:wrap}.image-library-panel-module__f3zruq__selectionLine strong{white-space:nowrap;font-size:.8125rem}.image-library-panel-module__f3zruq__selectionActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.image-library-panel-module__f3zruq__selectionActions button{min-height:44px}.image-library-panel-module__f3zruq__confirmNotice{background:var(--work-yellow,#fff1bc);border-radius:10px;padding:12px 16px;line-height:1.5}.image-library-panel-module__f3zruq__confirmNotice p{margin:0 0 10px}.image-library-panel-module__f3zruq__confirmNotice p:last-child{margin-bottom:0}.image-library-panel-module__f3zruq__confirmDialog.image-library-panel-module__f3zruq__confirmDialog{background:var(--trefa-surface,#fffdf7)}.image-library-panel-module__f3zruq__confirmContent{gap:20px;display:grid}.image-library-panel-module__f3zruq__confirmCount{color:var(--trefa-muted,#4c6159);margin:0;font-size:.875rem}.image-library-panel-module__f3zruq__confirmCount strong{color:var(--trefa-ink,#193e36)}.image-library-panel-module__f3zruq__confirmActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;padding-top:4px;display:flex}.image-library-panel-module__f3zruq__confirmActions button{min-height:44px;padding:10px 16px;font-size:.875rem}.image-library-panel-module__f3zruq__batchAction{min-width:0;display:block}.image-library-panel-module__f3zruq__batchAction>button{width:100%}.image-library-panel-module__f3zruq__batchAction:focus-visible{outline:3px solid var(--trefa-accent,#b83259);outline-offset:3px;border-radius:8px}.image-library-panel-module__f3zruq__dragHint{align-items:flex-start;gap:8px;display:flex}.image-library-panel-module__f3zruq__dragHint svg{flex:0 0 18px;width:18px;height:18px;margin-top:1px}@media (max-width:520px){.image-library-panel-module__f3zruq__confirmActions{flex-direction:column-reverse;align-items:stretch}}.image-library-panel-module__f3zruq__footerActions{grid-template-columns:minmax(0,1fr);display:grid}.image-library-panel-module__f3zruq__footer .image-library-panel-module__f3zruq__hint{margin:0}.image-library-panel-module__f3zruq__empty{padding:18px 0 26px}.image-library-panel-module__f3zruq__empty h3{margin:0 0 10px;font-size:1.15rem}.image-library-panel-module__f3zruq__empty p{font-size:.9rem}.image-library-panel-module__f3zruq__status{background:var(--trefa-bg,#f2f3e8);border-radius:8px;margin:8px 0;padding:10px 12px;font-size:.875rem;line-height:1.5}.image-library-panel-module__f3zruq__review{background:var(--trefa-bg,#f2f3e8);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;padding:10px 12px;display:flex}.image-library-panel-module__f3zruq__review p{margin:0;font-size:.8125rem;line-height:1.5}.image-library-panel-module__f3zruq__review button{font-size:.8125rem}.image-library-panel-module__f3zruq__error{color:#87213f;background:#fbe9ed}.image-library-panel-module__f3zruq__uploadList{gap:8px;margin:12px 0;padding:0;list-style:none;display:grid}.image-library-panel-module__f3zruq__uploadList li{overflow-wrap:anywhere;font-size:.8125rem}.image-library-panel-module__f3zruq__uploadList small{color:var(--trefa-muted,#4c6159);display:block}.image-library-panel-module__f3zruq__uploadBanner{color:var(--trefa-ink,#193e36);background:#e2eee4;border-radius:12px;align-items:start;gap:14px;margin-block:12px 8px;padding:18px;display:flex}.image-library-panel-module__f3zruq__uploadIcon{flex:0 0 40px;place-items:center;width:40px;height:44px;display:grid}.image-library-panel-module__f3zruq__uploadIcon svg{width:30px;height:30px}.image-library-panel-module__f3zruq__uploadBody{flex:1;min-width:0}.image-library-panel-module__f3zruq__uploadHeading{font:550 .875rem/1.4 var(--trefa-font);font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 16px;display:flex}.image-library-panel-module__f3zruq__uploadHeading>span{font-size:1.125rem;font-weight:700}.image-library-panel-module__f3zruq__uploadTotal{font-size:.875rem;font-weight:400}.image-library-panel-module__f3zruq__uploadBody p{font:400 .8125rem/1.5 var(--trefa-font);margin:8px 0 0}.image-library-panel-module__f3zruq__progress{appearance:none;width:100%;height:8px;accent-color:var(--trefa-accent,#b83259);background:#c6d9c9;border:0;border-radius:4px;margin-top:12px;display:block;overflow:hidden}.image-library-panel-module__f3zruq__progress::-webkit-progress-bar{background:#c6d9c9;border-radius:4px}.image-library-panel-module__f3zruq__progress::-webkit-progress-value{background:var(--trefa-accent,#b83259);border-radius:4px;transition:width .18s ease-out}.image-library-panel-module__f3zruq__progress::-moz-progress-bar{background:var(--trefa-accent,#b83259);border-radius:4px}.image-library-panel-module__f3zruq__detail{gap:20px;max-width:680px;margin-inline:auto;padding-bottom:12px;display:grid}.image-library-panel-module__f3zruq__detail h3{margin:0;font-size:1.15rem}.image-library-panel-module__f3zruq__detail img{object-fit:contain;background:var(--trefa-bg,#f2f3e8);border-radius:8px;width:100%;max-height:280px;display:block}.image-library-panel-module__f3zruq__scroll:has(.image-library-panel-module__f3zruq__detailNavigation){scroll-padding-block-start:52px}.image-library-panel-module__f3zruq__detailNavigation{z-index:3;background:var(--trefa-surface,#fffdf7);margin-block-end:-16px;position:sticky;inset-block-start:0}.image-library-panel-module__f3zruq__detail .image-library-panel-module__f3zruq__detailTitle{font:650 1.125rem/1.35 var(--trefa-display);overflow-wrap:anywhere}.image-library-panel-module__f3zruq__detail .image-library-panel-module__f3zruq__detailPreview{background:var(--trefa-bg,#f2f3e8);cursor:grab;height:clamp(220px,34dvh,380px);max-height:none;padding:16px}.image-library-panel-module__f3zruq__backLink.image-library-panel-module__f3zruq__backLink{width:fit-content;max-width:100%;min-height:44px;color:var(--trefa-muted,#4c6159);font:550 .875rem/1.5 var(--trefa-font);text-align:start;background:0 0;border-color:#0000;align-items:center;gap:8px;padding:8px 0;display:inline-flex}.image-library-panel-module__f3zruq__backLink svg,.image-library-panel-module__f3zruq__metadataToggle svg{flex:none;width:20px;height:20px}.image-library-panel-module__f3zruq__gameActions{justify-items:start;gap:8px;display:grid}.image-library-panel-module__f3zruq__gameActions .image-library-panel-module__f3zruq__hint{margin:0}.image-library-panel-module__f3zruq__sourceActions{justify-items:start;gap:8px;display:grid}.image-library-panel-module__f3zruq__sourceActions .image-library-panel-module__f3zruq__hint{margin:0}.image-library-panel-module__f3zruq__cropNotice{background:#fff5d6;border-radius:8px;justify-items:stretch;padding:16px}.image-library-panel-module__f3zruq__cropNotice>button{justify-self:start}.image-library-panel-module__f3zruq__cropState{font:650 .875rem/1.4 var(--trefa-font);align-items:center;gap:8px;display:flex}.image-library-panel-module__f3zruq__detailAction.image-library-panel-module__f3zruq__detailAction,.image-library-panel-module__f3zruq__metadataToggle.image-library-panel-module__f3zruq__metadataToggle{border:1px solid var(--work-control-border);background:var(--trefa-bg);width:fit-content;max-width:100%;min-height:44px;font:650 .875rem/1.5 var(--trefa-font);border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:9px 14px;display:inline-flex}.image-library-panel-module__f3zruq__useImage.image-library-panel-module__f3zruq__useImage{width:100%}.image-library-panel-module__f3zruq__detailSecondaryActions{flex-wrap:wrap;gap:8px;display:flex}.image-library-panel-module__f3zruq__metadata{border-top:1px solid var(--work-control-border);margin-block-start:4px;padding-block-start:16px}.image-library-panel-module__f3zruq__metadataHeading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;display:flex}.image-library-panel-module__f3zruq__metadataHeading h4{font:650 1rem/1.4 var(--trefa-font);margin:0}.image-library-panel-module__f3zruq__metadataForm{gap:6px;margin-block-start:14px;display:grid}.image-library-panel-module__f3zruq__metadataForm label{font:550 .875rem/1.5 var(--trefa-font)}.image-library-panel-module__f3zruq__metadataForm label:not(:first-child){margin-block-start:8px}.image-library-panel-module__f3zruq__metadataForm.image-library-panel-module__f3zruq__metadataForm :is(input,textarea){border:1px solid var(--work-control-border);width:100%;min-width:0;min-height:44px;font:400 1rem/1.5 var(--trefa-font);text-align:start;background:#fffefa;border-radius:8px;padding:9px 12px}.image-library-panel-module__f3zruq__metadataForm textarea{resize:vertical}.image-library-panel-module__f3zruq__fieldLimit{text-align:end;color:var(--trefa-muted);font:400 .75rem/1.4 var(--trefa-font);font-variant-numeric:tabular-nums;margin:0}.image-library-panel-module__f3zruq__detailPrimaryAction.image-library-panel-module__f3zruq__detailPrimaryAction{border:1px solid var(--trefa-ink);background:var(--trefa-ink);min-height:44px;color:var(--trefa-surface);font:650 .875rem/1.5 var(--trefa-font);border-radius:8px;padding:9px 14px}.image-library-panel-module__f3zruq__draftState,.image-library-panel-module__f3zruq__savedMetadata{color:var(--trefa-muted);font:400 .8125rem/1.5 var(--trefa-font);margin:4px 0 0}.image-library-panel-module__f3zruq__draftNotice{background:var(--trefa-bg);color:var(--trefa-ink);font:400 .8125rem/1.5 var(--trefa-font);border-radius:8px;margin:0 0 12px;padding:10px 12px}.image-library-panel-module__f3zruq__deleteAction.image-library-panel-module__f3zruq__deleteAction{color:#87213f;min-height:44px;font:550 .875rem/1.5 var(--trefa-font);background:0 0;border-color:#0000;align-items:center;gap:8px;padding:9px 0;display:inline-flex}.image-library-panel-module__f3zruq__deleteConfirm.image-library-panel-module__f3zruq__deleteConfirm{color:#fffefa;background:#87213f;border-color:#87213f}@media (hover:hover){.image-library-panel-module__f3zruq__tabs.image-library-panel-module__f3zruq__tabs button:hover{background:var(--trefa-bg)}.image-library-panel-module__f3zruq__detailPrimaryAction.image-library-panel-module__f3zruq__detailPrimaryAction:hover:not(:disabled){background:#285647;border-color:#285647}.image-library-panel-module__f3zruq__deleteAction.image-library-panel-module__f3zruq__deleteAction:hover:not(:disabled){background:var(--work-pink)}.image-library-panel-module__f3zruq__deleteConfirm.image-library-panel-module__f3zruq__deleteConfirm:hover:not(:disabled){background:#6c1932;border-color:#6c1932}}.image-library-panel-module__f3zruq__catalog{gap:16px;display:grid}.image-library-panel-module__f3zruq__catalog>.image-library-panel-module__f3zruq__hint{margin:0}.image-library-panel-module__f3zruq__catalogSearch{display:flex}.image-library-panel-module__f3zruq__previewPlayback.image-library-panel-module__f3zruq__previewPlayback{min-height:44px;color:var(--trefa-muted);font:550 .8125rem/1.5 var(--trefa-font);text-underline-offset:3px;background:0 0;border:0;justify-self:start;align-items:center;gap:8px;padding:6px 0;text-decoration:underline;display:inline-flex}.image-library-panel-module__f3zruq__previewPlayback svg{stroke:currentColor;stroke-width:1.5px;width:18px;height:18px}.image-library-panel-module__f3zruq__collections{grid-template-columns:minmax(0,1fr);gap:16px;margin:0;padding:0;list-style:none;display:grid}@container (min-width:480px){.image-library-panel-module__f3zruq__collections{grid-template-columns:repeat(2,minmax(0,1fr))}}.image-library-panel-module__f3zruq__collections li{min-width:0;display:flex}.image-library-panel-module__f3zruq__catalogCover.image-library-panel-module__f3zruq__catalogCover{text-align:start;background:var(--trefa-surface);border-radius:12px;flex-direction:column;align-items:stretch;gap:12px;width:100%;padding:12px;display:flex}.image-library-panel-module__f3zruq__mosaic{background:var(--trefa-bg);border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:8px;display:grid}.image-library-panel-module__f3zruq__mosaic img{aspect-ratio:1;object-fit:contain;width:100%;height:auto;display:block}.image-library-panel-module__f3zruq__mosaicSlot{aspect-ratio:1;min-width:0;display:block}.image-library-panel-module__f3zruq__mosaicReplacement{animation:.26s cubic-bezier(.16,1,.3,1) image-library-panel-module__f3zruq__mosaicReplacement}@keyframes image-library-panel-module__f3zruq__mosaicReplacement{0%{opacity:.4;transform:scale(.94)}to{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.image-library-panel-module__f3zruq__mosaicReplacement{animation:none}}.image-library-panel-module__f3zruq__coverHeading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 8px;display:flex}.image-library-panel-module__f3zruq__coverHeading strong{font:650 1.125rem/1.3 var(--trefa-display)}.image-library-panel-module__f3zruq__collectionCount{font:400 .75rem/1.5 var(--trefa-font);color:var(--trefa-muted);font-variant-numeric:tabular-nums;flex:none}.image-library-panel-module__f3zruq__coverDescription{font:400 .8125rem/1.5 var(--trefa-font);color:var(--trefa-muted)}.image-library-panel-module__f3zruq__coverAction{min-height:44px;font:650 .8125rem/1.5 var(--trefa-font);background:var(--trefa-ink);color:var(--trefa-surface);border-radius:8px;justify-content:space-between;align-self:start;align-items:center;gap:16px;margin-block-start:auto;padding:9px 12px;display:inline-flex}.image-library-panel-module__f3zruq__catalogCover:focus-visible{outline:3px solid var(--trefa-accent);outline-offset:3px}@media (hover:hover){.image-library-panel-module__f3zruq__catalogCover:hover .image-library-panel-module__f3zruq__coverAction{background:var(--trefa-accent)}}.image-library-panel-module__f3zruq__coverAction svg{width:18px;height:18px}.image-library-panel-module__f3zruq__scroll:has(.image-library-panel-module__f3zruq__catalogNavigation){scroll-padding-block-start:7rem}.image-library-panel-module__f3zruq__catalogNavigation{z-index:3;background:var(--trefa-surface,#fffdf7);box-shadow:0 1px var(--work-control-border,#a6b6a9);flex-wrap:wrap;align-items:center;gap:8px 16px;margin-block:-8px;padding-block:8px;display:flex;position:sticky;inset-block-start:0}.image-library-panel-module__f3zruq__setPicker{font:550 .8125rem/1.5 var(--trefa-font);flex:220px;align-items:center;gap:8px;display:flex}.image-library-panel-module__f3zruq__setPicker select{width:100%;min-width:0;min-height:44px;font:400 .875rem/1.5 var(--trefa-font);padding:8px 12px}.image-library-panel-module__f3zruq__collectionHeading{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.image-library-panel-module__f3zruq__collectionHeading h3{font:650 1.25rem/1.3 var(--trefa-display);margin:0}.image-library-panel-module__f3zruq__collectionHeading p{font:400 .8125rem/1.5 var(--trefa-font);color:var(--trefa-muted);margin:6px 0 0}.image-library-panel-module__f3zruq__catalogAttribution{font:400 .75rem/1.5 var(--trefa-font);color:var(--trefa-muted)}.image-library-panel-module__f3zruq__catalogCaption{font:400 .875rem/1.5 var(--trefa-font);margin:0}.image-library-panel-module__f3zruq__stylesAvailable{color:var(--trefa-muted);font:400 .6875rem/1.4 var(--trefa-font);padding:4px 3px 0;display:block}.image-library-panel-module__f3zruq__styleChooser{border:0;min-width:0;margin:4px 0 8px;padding:0}.image-library-panel-module__f3zruq__styleChooser legend{font:650 .875rem/1.5 var(--trefa-font);margin-block-end:8px;padding:0}.image-library-panel-module__f3zruq__styleOptions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.image-library-panel-module__f3zruq__styleOption{border:1px solid var(--work-control-border);cursor:pointer;background:var(--trefa-surface);border-radius:8px;flex-direction:column;gap:8px;min-width:0;padding:8px;display:flex}.image-library-panel-module__f3zruq__detail .image-library-panel-module__f3zruq__styleOption img{background:var(--trefa-bg);object-fit:contain;cursor:grab;border-radius:4px;width:100%;height:112px;max-height:none}.image-library-panel-module__f3zruq__styleOptionLabel{min-height:36px;font:550 .8125rem/1.35 var(--trefa-font);overflow-wrap:anywhere;align-items:start;gap:6px;display:flex}.image-library-panel-module__f3zruq__styleOptionLabel input{width:18px;height:18px;accent-color:var(--trefa-accent);flex:0 0 18px;margin:0}.image-library-panel-module__f3zruq__appearanceLabel{color:var(--trefa-muted);font:400 .75rem/1.4 var(--trefa-font);margin-top:3px;display:block}.image-library-panel-module__f3zruq__styleSelected{border-color:var(--trefa-accent);background:var(--work-pink)}.image-library-panel-module__f3zruq__styleOption:focus-within{outline:2px solid var(--trefa-accent);outline-offset:2px}.image-library-panel-module__f3zruq__styleHint{color:var(--trefa-muted);font:400 .8125rem/1.5 var(--trefa-font);margin:8px 0 0}@media (hover:hover){.image-library-panel-module__f3zruq__styleOption:hover{border-color:var(--trefa-accent)}}@container (max-width:400px){.image-library-panel-module__f3zruq__styleOptions{grid-template-columns:1fr}.image-library-panel-module__f3zruq__styleOption{flex-direction:row;align-items:center;gap:12px}.image-library-panel-module__f3zruq__detail .image-library-panel-module__f3zruq__styleOption img{flex:0 0 64px;width:64px;height:64px}.image-library-panel-module__f3zruq__styleOptionLabel{align-items:center;min-height:44px}}.image-library-panel-module__f3zruq__detail hr{border:0;border-top:1px solid var(--work-control-border,#a6b6a9);margin:8px 0}.image-library-panel-module__f3zruq__more{width:100%;margin-top:18px}.image-library-panel-module__f3zruq__slotChoices{border:1px solid var(--work-control-border);grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;margin-block:16px;padding:10px;display:grid}.image-library-panel-module__f3zruq__slotChoices label,.image-library-panel-module__f3zruq__choiceList label{align-items:center;gap:8px;min-height:44px;display:flex}.image-library-panel-module__f3zruq__slotChoices input,.image-library-panel-module__f3zruq__choiceList input{width:18px;height:18px}.image-library-panel-module__f3zruq__choiceList{max-height:240px;overflow-y:auto}.image-library-panel-module__f3zruq__mapping{max-height:340px;margin:16px 0;padding:0;list-style:none;overflow-y:auto}.image-library-panel-module__f3zruq__mapping li{border-bottom:1px solid var(--work-control-border);grid-template-columns:48px minmax(0,1fr) auto auto auto;align-items:center;gap:12px;padding:8px 0;display:grid}.image-library-panel-module__f3zruq__mapping img{object-fit:contain;width:48px;height:48px}.image-library-panel-module__f3zruq__mapping span{overflow-wrap:anywhere}.image-library-panel-module__f3zruq__mapping small{font-size:.75rem}.image-library-panel-module__f3zruq__mappingConflict{flex-wrap:wrap;grid-column:2/-1;align-items:center;gap:8px 16px;padding-bottom:4px;display:flex}.image-library-panel-module__f3zruq__mappingConflict p{color:#87213f;overflow-wrap:anywhere;flex:200px;margin:0;font-size:.875rem;line-height:1.5}.image-library-panel-module__f3zruq__mappingConflict button{flex:none;min-height:44px}@media (max-width:500px){.image-library-panel-module__f3zruq__mapping li{grid-template-columns:48px minmax(0,1fr) auto auto;gap:8px}.image-library-panel-module__f3zruq__mapping small{grid-column:2/-1}.image-library-panel-module__f3zruq__mappingConflict{grid-column:1/-1}}.image-library-panel-module__f3zruq__skeleton{background:var(--trefa-bg,#f2f3e8);border-radius:10px;height:130px}.image-library-panel-module__f3zruq__mobile.image-library-panel-module__f3zruq__mobile{width:min(680px,100vw - 20px);padding:16px;container-type:inline-size}.image-library-panel-module__f3zruq__mobile.image-library-panel-module__f3zruq__mobile[open]{flex-direction:column;height:min(900px,100dvh - 20px);max-height:calc(100dvh - 20px);display:flex;overflow:hidden}.image-library-panel-module__f3zruq__mobile>div:first-child{flex-shrink:0;margin-bottom:8px}.image-library-panel-module__f3zruq__mobile .image-library-panel-module__f3zruq__scroll{padding:12px 0;overflow-y:auto}.image-library-panel-module__f3zruq__mobileContent{flex-direction:column;flex:1;min-height:0;display:flex}.image-library-panel-module__f3zruq__mobile .image-library-panel-module__f3zruq__footer{z-index:3;flex-shrink:0;margin:0 -16px -16px}.image-library-panel-module__f3zruq__target{flex-wrap:wrap;align-items:center;gap:4px 12px;margin:0;padding:8px 16px;font-size:.875rem;line-height:1.5;display:flex}.image-library-panel-module__f3zruq__target button{min-height:44px}.image-library-panel-module__f3zruq__mobile .image-library-panel-module__f3zruq__target{padding:4px 0}.image-library-panel-module__f3zruq__dropDestination[data-drop]{outline:2px dashed var(--trefa-accent);outline-offset:2px}.image-library-panel-module__f3zruq__dropDestinationHint{color:var(--trefa-muted);font-size:.75rem;display:none}@media (any-pointer:fine){.image-library-panel-module__f3zruq__dropDestinationHint{display:inline}}.image-library-panel-module__f3zruq__libraryInfo,.image-library-panel-module__f3zruq__bulkOptions{color:var(--trefa-muted);margin-block:4px 8px;font-size:.8125rem}.image-library-panel-module__f3zruq__libraryInfo summary,.image-library-panel-module__f3zruq__bulkOptions summary{cursor:pointer;align-content:center;min-height:44px}@media (max-width:500px){.image-library-panel-module__f3zruq__grid{gap:10px}.image-library-panel-module__f3zruq__tabs{padding-inline:0}}@media (hover:hover){.image-library-panel-module__f3zruq__tile:hover{border-color:var(--trefa-accent,#b83259)}}@media (prefers-reduced-motion:reduce){.image-library-panel-module__f3zruq__progress::-webkit-progress-value{transition:none}}
.image-workspace-module__62cyzW__workspace{max-width:var(--workspace-content-width,1920px);grid-template-columns:232px minmax(0,1fr);align-items:start;gap:20px;margin-inline:auto;display:grid}.image-workspace-module__62cyzW__noStructure{grid-template-columns:minmax(0,1fr)}.image-workspace-module__62cyzW__main{grid-template-columns:minmax(0,1fr);align-self:stretch;align-items:start;gap:20px;min-width:0;display:grid}.image-workspace-module__62cyzW__game{min-width:0}.image-workspace-module__62cyzW__structure.image-workspace-module__62cyzW__structure h2{font:650 1.125rem/1.3 var(--trefa-display);letter-spacing:-.025em;margin:0}.image-workspace-module__62cyzW__structure [data-structure-count]{width:auto;min-width:0;height:auto;color:var(--trefa-muted);font:500 .75rem/1.5 var(--trefa-font);font-variant-numeric:tabular-nums;background:0 0;border:0;border-radius:0;padding:0;display:inline}.image-workspace-module__62cyzW__history.image-workspace-module__62cyzW__history{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.image-workspace-module__62cyzW__history.image-workspace-module__62cyzW__history button{min-height:44px;font:650 .8125rem/1.5 var(--trefa-font);justify-content:center;align-items:center;gap:6px;padding:9px 12px;display:inline-flex}.image-workspace-module__62cyzW__history.image-workspace-module__62cyzW__history svg{flex:none;width:18px;height:18px}.image-workspace-module__62cyzW__history button:last-child svg{transform:scaleX(-1)}@media (min-width:1240px){.image-workspace-module__62cyzW__withLibrary{grid-template-columns:minmax(0,42fr) minmax(0,58fr)}.image-workspace-module__62cyzW__withLibrary>.image-workspace-module__62cyzW__game{max-height:var(--image-workspace-height,calc(100dvh - 32px));overscroll-behavior:contain;scrollbar-gutter:stable;margin:-4px;padding:4px;position:sticky;top:16px;overflow-y:auto}}@media (max-width:800px){.image-workspace-module__62cyzW__workspace{display:block}}
.tutorial-demo-module__NnTGYW__demo{margin:16px 0}.tutorial-demo-module__NnTGYW__scene{background:var(--trefa-bg);min-height:174px;color:var(--trefa-ink);isolation:isolate;border-radius:8px;position:relative;overflow:hidden;container-type:inline-size}.tutorial-demo-module__NnTGYW__library,.tutorial-demo-module__NnTGYW__destination{font:550 .6875rem/1.4 var(--trefa-font);text-align:center;position:absolute;top:20px}.tutorial-demo-module__NnTGYW__library{width:102px;left:12px}.tutorial-demo-module__NnTGYW__library>div{gap:6px;margin-top:14px;display:flex}.tutorial-demo-module__NnTGYW__library img{object-fit:contain;background:var(--trefa-surface);border:1px solid var(--work-control-border);border-radius:6px;width:48px;height:56px;padding:4px}.tutorial-demo-module__NnTGYW__destination{width:92px;right:12px}.tutorial-demo-module__NnTGYW__destination>div{border:2px dashed var(--work-control-border);background:var(--trefa-surface);border-radius:50%;place-items:center;width:88px;height:88px;margin-top:9px;display:grid}.tutorial-demo-module__NnTGYW__destination img{object-fit:contain;width:64px;height:64px}.tutorial-demo-module__NnTGYW__dragged{opacity:0;width:44px;height:44px;transition:transform 1.5s cubic-bezier(.16,1,.3,1),opacity .2s;position:absolute;top:59px;left:14px}.tutorial-demo-module__NnTGYW__dragged>img{object-fit:contain;width:44px;height:44px}.tutorial-demo-module__NnTGYW__pointer{width:25px;color:var(--trefa-ink);position:absolute;top:30px;left:26px}.tutorial-demo-module__NnTGYW__pointer svg{width:25px;height:28px;display:block}.tutorial-demo-module__NnTGYW__scene[data-kind=drag][data-frame="0"] .tutorial-demo-module__NnTGYW__dragged{opacity:1}.tutorial-demo-module__NnTGYW__scene[data-kind=drag][data-frame="1"] .tutorial-demo-module__NnTGYW__dragged{opacity:1;transform:translate(calc(100cqw - 93px),10px)}.tutorial-demo-module__NnTGYW__scene[data-kind=drag][data-frame="2"] .tutorial-demo-module__NnTGYW__destination>div{border-style:solid;border-color:var(--trefa-accent)}.tutorial-demo-module__NnTGYW__photo{background:conic-gradient(var(--trefa-surface) 25%,var(--work-control-border) 0 50%,var(--trefa-surface) 0 75%,var(--work-control-border) 0) 0 0/12px 12px;height:144px;margin:10px 12px 0;position:relative;overflow:hidden}.tutorial-demo-module__NnTGYW__backdrop{background:var(--work-cream);transition:opacity .6s;position:absolute;inset:0}.tutorial-demo-module__NnTGYW__person{object-fit:contain;width:108px;height:136px;position:absolute;bottom:2px;left:calc(50% - 54px)}.tutorial-demo-module__NnTGYW__crop{border:2px solid var(--trefa-accent);position:absolute;inset:4px calc(50% - 62px)}.tutorial-demo-module__NnTGYW__scene[data-kind=background][data-frame="0"] .tutorial-demo-module__NnTGYW__crop{border-color:#0000}.tutorial-demo-module__NnTGYW__scene[data-kind=background][data-frame="2"] .tutorial-demo-module__NnTGYW__backdrop,.tutorial-demo-module__NnTGYW__scene[data-kind=background][data-frame="3"] .tutorial-demo-module__NnTGYW__backdrop,.tutorial-demo-module__NnTGYW__scene[data-kind=background][data-frame="3"] .tutorial-demo-module__NnTGYW__crop{opacity:0}.tutorial-demo-module__NnTGYW__toolbar{font:550 .6875rem/1.4 var(--trefa-font);flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;padding:8px;display:flex}.tutorial-demo-module__NnTGYW__toolbar span{background:var(--trefa-surface);border-radius:4px;padding:4px 7px}.tutorial-demo-module__NnTGYW__toolbar .tutorial-demo-module__NnTGYW__active{background:var(--trefa-accent);color:var(--trefa-surface)}.tutorial-demo-module__NnTGYW__scene[data-kind=mask] .tutorial-demo-module__NnTGYW__backdrop{opacity:0}.tutorial-demo-module__NnTGYW__remnant{background:var(--work-cream);border-radius:6px;width:22px;height:27px;transition:opacity .8s;position:absolute;top:83px;left:calc(50% + 42px)}.tutorial-demo-module__NnTGYW__missing{background:var(--trefa-bg);border-radius:50%;width:18px;height:16px;transition:opacity .8s;position:absolute;top:34px;left:calc(50% - 27px)}.tutorial-demo-module__NnTGYW__brush{border:2px solid var(--trefa-accent);background:0 0;border-radius:50%;width:26px;height:26px;transition:transform 1s cubic-bezier(.16,1,.3,1);position:absolute;top:80px;left:calc(50% + 42px)}.tutorial-demo-module__NnTGYW__scene[data-kind=mask][data-frame="1"] .tutorial-demo-module__NnTGYW__remnant,.tutorial-demo-module__NnTGYW__scene[data-kind=mask][data-frame="2"] .tutorial-demo-module__NnTGYW__remnant,.tutorial-demo-module__NnTGYW__scene[data-kind=mask][data-frame="3"] .tutorial-demo-module__NnTGYW__remnant,.tutorial-demo-module__NnTGYW__scene[data-kind=mask][data-frame="1"] .tutorial-demo-module__NnTGYW__missing,.tutorial-demo-module__NnTGYW__scene[data-kind=mask][data-frame="2"] .tutorial-demo-module__NnTGYW__missing,.tutorial-demo-module__NnTGYW__scene[data-kind=mask][data-frame="3"] .tutorial-demo-module__NnTGYW__missing{opacity:0}.tutorial-demo-module__NnTGYW__scene[data-kind=mask][data-frame="1"] .tutorial-demo-module__NnTGYW__brush{transform:translate(-68px,-48px)}.tutorial-demo-module__NnTGYW__scene[data-kind=mask][data-frame="2"] .tutorial-demo-module__NnTGYW__person{transform:scale(1.2)translateY(5px)}.tutorial-demo-module__NnTGYW__scene[data-kind=mask][data-frame="3"] .tutorial-demo-module__NnTGYW__brush{opacity:0}.tutorial-demo-module__NnTGYW__caption{grid-template-columns:auto 1fr;gap:10px;min-height:4.5em;padding-block:10px;font-size:.8125rem;line-height:1.5;display:grid}.tutorial-demo-module__NnTGYW__caption>span{color:var(--trefa-accent);font-variant-numeric:tabular-nums;font-weight:650}.tutorial-demo-module__NnTGYW__controls{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.tutorial-demo-module__NnTGYW__controls button{justify-content:center;align-items:center;width:44px;min-height:44px;padding:7px 10px;font-size:.75rem;display:inline-flex}.tutorial-demo-module__NnTGYW__controls button svg{flex:none;width:16px;height:16px}.tutorial-demo-module__NnTGYW__controls>div{gap:5px;display:flex}.tutorial-demo-module__NnTGYW__controls>div button{width:44px;font-size:1.25rem}.tutorial-demo-module__NnTGYW__demo .tutorial-demo-module__NnTGYW__note{color:var(--trefa-muted);margin:8px 0 0;font-size:.6875rem;line-height:1.5}.tutorial-demo-module__NnTGYW__scene[data-motion=false] *{transition:none}@media (prefers-reduced-motion:reduce){.tutorial-demo-module__NnTGYW__scene *{transition:none}}
.image-processing-mosaic-module__n7hCAq__mosaic{pointer-events:none;grid-template-rows:repeat(8,minmax(0,1fr));grid-template-columns:repeat(8,minmax(0,1fr));gap:3px;display:grid;position:absolute;inset:0;overflow:hidden}.image-processing-mosaic-module__n7hCAq__mosaic i{color:var(--joy-yellow,#f7cf57);background-image:repeating-conic-gradient(currentColor 0 25%, transparent 0 100%);background-size:var(--mosaic-pattern-size,22px) var(--mosaic-pattern-size,22px);opacity:var(--mosaic-static-opacity,.08)}.image-processing-mosaic-module__n7hCAq__mosaic i:nth-child(3n){color:var(--joy-pink-surface,#f7e0df)}.image-processing-mosaic-module__n7hCAq__mosaic i:nth-child(5n){color:#b9d4c7}@media (prefers-reduced-motion:no-preference){.image-processing-mosaic-module__n7hCAq__mosaic i{animation:image-processing-mosaic-module__n7hCAq__mosaic 2.4s ease-in-out var(--cell-delay) var(--mosaic-iterations,infinite)}}@keyframes image-processing-mosaic-module__n7hCAq__mosaic{0%,to{opacity:.025;transform:scale(var(--mosaic-rest-scale,.94))}45%{opacity:var(--mosaic-peak-opacity,.18);transform:scale(1)}}
.magic-cutout-preview-module__Vvk2bq__frame{--cutout-preview-height:clamp(160px, calc(100dvh - 520px), 420px);color:var(--trefa-ink,#193e36);border:1px solid var(--theme-border,#d7ddcf);background:var(--joy-paper,#fffdf7);isolation:isolate;border-radius:12px;overflow:hidden;container-type:inline-size}.magic-cutout-preview-module__Vvk2bq__canvas{height:var(--cutout-preview-height);background:#ecefe7;position:relative;overflow:hidden}.magic-cutout-preview-module__Vvk2bq__settings{border-bottom:1px solid var(--theme-border,#d7ddcf);background:#f2f3eb;padding:12px 14px}.magic-cutout-preview-module__Vvk2bq__source{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.magic-cutout-preview-module__Vvk2bq__source[hidden]{display:none}.magic-cutout-preview-module__Vvk2bq__canvas .magic-cutout-preview-module__Vvk2bq__source>div{border-radius:0;max-width:100%;min-height:0;max-height:100%}.magic-cutout-preview-module__Vvk2bq__canvas .magic-cutout-preview-module__Vvk2bq__source img{max-width:100%;max-height:var(--cutout-preview-height);object-fit:contain;width:auto;height:auto}.magic-cutout-preview-module__Vvk2bq__resultLayer{background-color:#fffefa;background-image:conic-gradient(#e6e9e0 25%, transparent 0 50%, #e6e9e0 0 75%, transparent 0);background-size:20px 20px;place-items:center;display:grid;position:absolute;inset:0}.magic-cutout-preview-module__Vvk2bq__resultLayer[hidden]{visibility:hidden;pointer-events:none;display:grid}.magic-cutout-preview-module__Vvk2bq__resultFrame{max-height:100%;position:relative}.magic-cutout-preview-module__Vvk2bq__resultFrame img{object-fit:fill;max-width:none;max-height:none;display:block;position:absolute}.magic-cutout-preview-module__Vvk2bq__revealed .magic-cutout-preview-module__Vvk2bq__resultFrame{animation:.56s cubic-bezier(.16,1,.3,1) both magic-cutout-preview-module__Vvk2bq__reveal}.magic-cutout-preview-module__Vvk2bq__revealed .magic-cutout-preview-module__Vvk2bq__resultFrame img{animation:.56s ease-out both magic-cutout-preview-module__Vvk2bq__silhouette}.magic-cutout-preview-module__Vvk2bq__overlay{background:#193e364d;place-items:center;padding:16px;display:grid;position:absolute;inset:0}.magic-cutout-preview-module__Vvk2bq__prompt{background:#193e3659;place-items:center;padding:12px;display:grid;position:absolute;inset:0;overflow:auto}.magic-cutout-preview-module__Vvk2bq__prompt>*{width:min(100%,480px);max-height:100%;overflow:auto}.magic-cutout-preview-module__Vvk2bq__canvas:has(.magic-cutout-preview-module__Vvk2bq__prompt){height:max(var(--cutout-preview-height), min(300px, 55dvh))}.magic-cutout-preview-module__Vvk2bq__processing{background:#193e3659}.magic-cutout-preview-module__Vvk2bq__working{text-align:center;background:#fffdf7f5;border-radius:12px;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;max-width:min(100%,340px);padding:14px 18px;font-size:.875rem;font-weight:650;line-height:1.4;display:flex;position:relative;box-shadow:0 8px 28px #102d3026}.magic-cutout-preview-module__Vvk2bq__working>svg{flex:0 0 22px;width:22px;height:22px;animation:1.8s ease-in-out infinite magic-cutout-preview-module__Vvk2bq__breathe}.magic-cutout-preview-module__Vvk2bq__working progress{width:100%;height:5px;accent-color:var(--trefa-accent,#b83259)}.magic-cutout-preview-module__Vvk2bq__success{color:#fffdf7;pointer-events:none;opacity:0;background:#193e36;border-radius:8px;align-items:center;gap:8px;width:max-content;max-width:calc(100% - 24px);padding:9px 12px;font-size:.8125rem;font-weight:650;display:flex;position:absolute;top:16px;left:50%;transform:translate(-50%)}.magic-cutout-preview-module__Vvk2bq__success svg{flex:0 0 20px;width:20px;height:20px}.magic-cutout-preview-module__Vvk2bq__revealed .magic-cutout-preview-module__Vvk2bq__success{animation:1.8s ease-out both magic-cutout-preview-module__Vvk2bq__success}.magic-cutout-preview-module__Vvk2bq__original{pointer-events:none;background:#fffdf7f5;border-radius:6px;padding:6px 9px;font-size:.75rem;font-weight:650;position:absolute;top:12px;left:12px}.magic-cutout-preview-module__Vvk2bq__error{color:#812b31;background:#fff7f3;border-radius:8px;gap:10px;max-height:calc(100% - 24px);padding:12px;display:flex;position:absolute;inset:auto 12px 12px;overflow:auto;box-shadow:0 4px 16px #40271920}.magic-cutout-preview-module__Vvk2bq__error>svg{flex:0 0 22px;width:22px;height:22px}.magic-cutout-preview-module__Vvk2bq__error p{overflow-wrap:anywhere;margin:0;font-size:.8125rem;line-height:1.45}.magic-cutout-preview-module__Vvk2bq__error button{min-height:44px;color:inherit;cursor:pointer;background:0 0;border:1px solid;border-radius:8px;margin-top:8px;padding:8px 12px;font-weight:650}.magic-cutout-preview-module__Vvk2bq__dock{border-top:1px solid var(--theme-border,#d7ddcf);background:#f2f3eb;min-height:64px;padding:9px;position:relative}.magic-cutout-preview-module__Vvk2bq__dock>div{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.magic-cutout-preview-module__Vvk2bq__dock:empty{display:none}.magic-cutout-preview-module__Vvk2bq__frame .magic-cutout-preview-module__Vvk2bq__dock button{border:1px solid var(--trefa-control-border,#a8b6a9);min-height:44px;color:var(--trefa-ink,#193e36);font:inherit;cursor:pointer;background:#fffdf7;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:8px 11px;font-size:.8125rem;font-weight:650;line-height:1.25;transition:background-color .15s,color .15s,border-color .15s;display:inline-flex;box-shadow:0 1px 2px #193e3610}.magic-cutout-preview-module__Vvk2bq__frame .magic-cutout-preview-module__Vvk2bq__dock button svg{flex:0 0 18px;width:18px;height:18px}.magic-cutout-preview-module__Vvk2bq__frame .magic-cutout-preview-module__Vvk2bq__dock button:hover:not(:disabled){border-color:var(--trefa-ink,#193e36);background:#e8eee2}.magic-cutout-preview-module__Vvk2bq__frame .magic-cutout-preview-module__Vvk2bq__dock button:active:not(:disabled),.magic-cutout-preview-module__Vvk2bq__frame .magic-cutout-preview-module__Vvk2bq__dock button[aria-pressed=true]{color:#952044;background:#f7e0df}.magic-cutout-preview-module__Vvk2bq__frame .magic-cutout-preview-module__Vvk2bq__dock button:disabled{opacity:.45;cursor:not-allowed}.magic-cutout-preview-module__Vvk2bq__frame .magic-cutout-preview-module__Vvk2bq__dock button:focus-visible,.magic-cutout-preview-module__Vvk2bq__error button:focus-visible{outline:3px solid var(--trefa-accent,#b83259);outline-offset:2px}.magic-cutout-preview-module__Vvk2bq__announcement{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@keyframes magic-cutout-preview-module__Vvk2bq__breathe{0%,to{opacity:.55;transform:scale(.94)}50%{opacity:1;transform:scale(1)}}@keyframes magic-cutout-preview-module__Vvk2bq__reveal{0%{opacity:.2;clip-path:inset(0 100% 0 0);transform:scale(.985)}to{opacity:1;clip-path:inset(0);transform:scale(1)}}@keyframes magic-cutout-preview-module__Vvk2bq__silhouette{0%{filter:drop-shadow(0 0 7px #f7cf57b3)}to{filter:drop-shadow(0 0 #0000)}}@keyframes magic-cutout-preview-module__Vvk2bq__success{0%,75%{opacity:1}to{opacity:0}}@media (max-width:700px){.magic-cutout-preview-module__Vvk2bq__frame{--cutout-preview-height:clamp(160px, calc(100dvh - 700px), 310px)}.magic-cutout-preview-module__Vvk2bq__working{padding:12px}}@container (max-width:600px){.magic-cutout-preview-module__Vvk2bq__dock{min-height:113px}.magic-cutout-preview-module__Vvk2bq__dock>div{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;display:grid}.magic-cutout-preview-module__Vvk2bq__dock>div>div{grid-column:1/-1}.magic-cutout-preview-module__Vvk2bq__frame .magic-cutout-preview-module__Vvk2bq__dock button{padding:8px 6px;font-size:.75rem}}@media (max-height:600px){.magic-cutout-preview-module__Vvk2bq__frame{--cutout-preview-height:clamp(96px, calc(100dvh - 222px), 220px)}.magic-cutout-preview-module__Vvk2bq__frame:has(.magic-cutout-preview-module__Vvk2bq__settings){--cutout-preview-height:clamp(90px, calc(100dvh - 316px), 160px)}.magic-cutout-preview-module__Vvk2bq__settings{padding:6px 10px}@container (max-width:600px){.magic-cutout-preview-module__Vvk2bq__canvas{--cutout-preview-height:clamp(96px, calc(100dvh - 275px), 190px)}}}@media (prefers-reduced-motion:reduce){.magic-cutout-preview-module__Vvk2bq__working>svg,.magic-cutout-preview-module__Vvk2bq__revealed .magic-cutout-preview-module__Vvk2bq__resultFrame,.magic-cutout-preview-module__Vvk2bq__revealed .magic-cutout-preview-module__Vvk2bq__resultFrame img{animation:none}.magic-cutout-preview-module__Vvk2bq__revealed .magic-cutout-preview-module__Vvk2bq__success{animation:none;display:none}.magic-cutout-preview-module__Vvk2bq__frame .magic-cutout-preview-module__Vvk2bq__dock button{transition:none}}
.image-library-entry-module__HtQ_ha__entry{margin-block:16px}.image-library-entry-module__HtQ_ha__entry .image-library-entry-module__HtQ_ha__openButton{border:1px solid var(--trefa-accent);background:var(--trefa-accent);color:#fffefa;text-align:left;border-radius:8px;grid-template-columns:22px minmax(0,1fr) 18px;align-items:center;gap:2px 10px;width:100%;min-height:58px;padding:10px 14px;font-weight:650;display:grid}.image-library-entry-module__HtQ_ha__entry button[aria-expanded=true]{border-color:var(--trefa-ink);background:var(--trefa-ink);color:#fffefa}.image-library-entry-module__HtQ_ha__entry button:focus-visible{outline:3px solid var(--trefa-accent);outline-offset:4px}.image-library-entry-module__HtQ_ha__icon{grid-area:1/1/span 2;width:22px;height:22px}.image-library-entry-module__HtQ_ha__label{grid-area:1/2}.image-library-entry-module__HtQ_ha__count{font-variant-numeric:tabular-nums;grid-area:2/2;font-size:.75rem;font-weight:500}.image-library-entry-module__HtQ_ha__chevron{grid-area:1/3/span 2;width:18px;height:18px}.image-library-entry-module__HtQ_ha__entry button[aria-expanded=true] .image-library-entry-module__HtQ_ha__chevron{transform:rotate(180deg)}@media (hover:hover){.image-library-entry-module__HtQ_ha__entry button:hover{background:#952044;border-color:#952044}.image-library-entry-module__HtQ_ha__entry button[aria-expanded=true]:hover{background:#285647;border-color:#285647}}.image-library-entry-module__HtQ_ha__entry p{color:var(--trefa-muted);margin:8px 0 0;font-size:.8125rem;line-height:1.5}
.prepared-collection-module__W_OgkG__preview{grid-template-columns:repeat(6,minmax(0,1fr));gap:.5rem;margin-block:1rem;display:grid}.prepared-collection-module__W_OgkG__preview img{aspect-ratio:1;object-fit:contain;width:100%;height:auto}.prepared-collection-module__W_OgkG__families{columns:2;padding-inline-start:1.4rem;line-height:1.7}.prepared-collection-module__W_OgkG__back{align-items:flex-start;gap:.6rem;padding-block:.5rem;font-weight:600;display:flex}.prepared-collection-module__W_OgkG__back input{flex-shrink:0;margin-block-start:.2rem}.prepared-collection-module__W_OgkG__actions{flex-wrap:wrap;justify-content:flex-end;gap:.75rem;margin-block-start:1.5rem;display:flex}.prepared-collection-module__W_OgkG__error{color:var(--error,#a52a40)}@media (max-width:480px){.prepared-collection-module__W_OgkG__preview{grid-template-columns:repeat(4,minmax(0,1fr))}.prepared-collection-module__W_OgkG__families{columns:1}}
.creative-suggestions-module__6Tcn9a__dialog.creative-suggestions-module__6Tcn9a__dialog{width:min(620px,100vw - 28px);max-width:calc(100vw - 16px)}.creative-suggestions-module__6Tcn9a__dialog.creative-suggestions-module__6Tcn9a__dialog:has(.creative-suggestions-module__6Tcn9a__rows){width:min(980px,100vw - 28px)}.creative-suggestions-module__6Tcn9a__dialog>div:first-child{margin-bottom:8px}.creative-suggestions-module__6Tcn9a__body,.creative-suggestions-module__6Tcn9a__field,.creative-suggestions-module__6Tcn9a__results,.creative-suggestions-module__6Tcn9a__settingsBody,.creative-suggestions-module__6Tcn9a__settingsContext,.creative-suggestions-module__6Tcn9a__alternative{gap:10px;min-width:0;display:grid}.creative-suggestions-module__6Tcn9a__body p{overflow-wrap:anywhere;margin:0}.creative-suggestions-module__6Tcn9a__body button{justify-self:start}.creative-suggestions-module__6Tcn9a__free,.creative-suggestions-module__6Tcn9a__topicHint{color:var(--trefa-muted);margin:0;font-size:.85rem}.creative-suggestions-module__6Tcn9a__field{gap:5px}.creative-suggestions-module__6Tcn9a__field textarea{width:100%}.creative-suggestions-module__6Tcn9a__choice{align-items:center;gap:8px;display:flex}.creative-suggestions-module__6Tcn9a__choice input,.creative-suggestions-module__6Tcn9a__pick input{width:17px;height:17px;accent-color:var(--trefa-accent);flex:none;margin:0}.creative-suggestions-module__6Tcn9a__settings{border:1px solid var(--trefa-border);border-radius:7px;width:100%;min-width:0}.creative-suggestions-module__6Tcn9a__settings summary{color:var(--trefa-ink);cursor:pointer;padding:10px 12px;font-size:.875rem;font-weight:650}.creative-suggestions-module__6Tcn9a__settingsBody{gap:6px;padding:4px 12px 12px}.creative-suggestions-module__6Tcn9a__settingsBody>.creative-suggestions-module__6Tcn9a__choice{min-height:40px}.creative-suggestions-module__6Tcn9a__settingsContext{border-top:1px solid var(--trefa-border);overflow-wrap:anywhere;gap:5px;padding:8px 0 0;font-size:.875rem}.creative-suggestions-module__6Tcn9a__settingsContext ul{margin:0;padding-inline-start:18px}.creative-suggestions-module__6Tcn9a__settingsAction{width:fit-content;min-height:40px;color:var(--trefa-accent-hover);font:600 .85rem/1.4 var(--trefa-font);cursor:pointer;background:0 0;border:0;padding:5px 6px;text-decoration:underline}.creative-suggestions-module__6Tcn9a__settingsAction:disabled{opacity:.55;cursor:not-allowed}.creative-suggestions-module__6Tcn9a__settingsContext li button{margin-inline-start:4px}.creative-suggestions-module__6Tcn9a__alternative{border-radius:8px;padding:12px}.creative-suggestions-module__6Tcn9a__notice{border:1px solid var(--trefa-control-border);border-radius:6px;padding:8px 10px;font-size:.85rem}.creative-suggestions-module__6Tcn9a__items{border:0;min-width:0;margin:0;padding:0}.creative-suggestions-module__6Tcn9a__items legend{margin-bottom:7px;padding:0;font-size:.92rem;font-weight:650}.creative-suggestions-module__6Tcn9a__groupTitle,.creative-suggestions-module__6Tcn9a__description{align-items:center;gap:9px;min-width:0;display:flex}.creative-suggestions-module__6Tcn9a__groupTitle input{max-width:26rem}.creative-suggestions-module__6Tcn9a__rows{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px;display:grid}.creative-suggestions-module__6Tcn9a__row{border:1px solid var(--trefa-border);background:var(--trefa-surface);border-radius:9px;align-content:start;gap:5px;min-width:0;padding:7px 9px 9px;display:grid}.creative-suggestions-module__6Tcn9a__row[data-selected=true]{background:#f3f4eb;border-color:#b2c0af}.creative-suggestions-module__6Tcn9a__rowHeading{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:3px;display:grid}.creative-suggestions-module__6Tcn9a__pick{cursor:pointer;place-items:center;min-width:32px;min-height:38px;display:grid}.creative-suggestions-module__6Tcn9a__rowHeading .creative-suggestions-module__6Tcn9a__titleInput{background:var(--trefa-surface);min-height:36px;font:650 1rem/1.35 var(--trefa-font);border:1px solid #d1d9c9;border-radius:5px;padding:3px 6px}.creative-suggestions-module__6Tcn9a__titleInput:hover,.creative-suggestions-module__6Tcn9a__rowHeading .creative-suggestions-module__6Tcn9a__titleInput:focus{background:var(--trefa-surface);border-color:#a4b29f}.creative-suggestions-module__6Tcn9a__promptBox{background:#fff;border:1px solid #a4b29f;border-radius:6px;overflow:hidden}.creative-suggestions-module__6Tcn9a__promptBox:focus-within{border-color:var(--trefa-accent)}.creative-suggestions-module__6Tcn9a__promptTools{justify-content:space-between;align-items:center;gap:4px;padding-inline:10px 3px;display:flex}.creative-suggestions-module__6Tcn9a__promptTools label{color:var(--trefa-muted);font-size:.78rem;font-weight:550}.creative-suggestions-module__6Tcn9a__promptTools .creative-suggestions-module__6Tcn9a__regenerate,.creative-suggestions-module__6Tcn9a__alternative .creative-suggestions-module__6Tcn9a__textAction{min-height:35px;color:var(--trefa-accent-hover);background:0 0;border:0;border-radius:4px;align-items:center;gap:4px;padding:4px 7px;font-size:.8rem;font-weight:650;display:inline-flex}.creative-suggestions-module__6Tcn9a__regenerate svg{flex:0 0 16px;width:16px;height:16px}.creative-suggestions-module__6Tcn9a__promptTools .creative-suggestions-module__6Tcn9a__regenerate:focus-visible{outline-offset:-3px}.creative-suggestions-module__6Tcn9a__promptBox textarea{width:100%;min-height:3.3rem;max-height:8.3rem;font:400 .94rem/1.45 var(--trefa-font);resize:vertical;background:#fff;border:0;border-radius:0;padding:1px 10px 8px;display:block}.creative-suggestions-module__6Tcn9a__promptBox textarea:focus-visible{outline-offset:-3px}@supports (field-sizing:content){.creative-suggestions-module__6Tcn9a__promptBox textarea{field-sizing:content}}.creative-suggestions-module__6Tcn9a__description,.creative-suggestions-module__6Tcn9a__setting{color:var(--trefa-muted);overflow-wrap:anywhere;font-size:.8rem}.creative-suggestions-module__6Tcn9a__description input{flex:1;min-width:0;min-height:34px;padding:4px 7px;font-size:.87rem}.creative-suggestions-module__6Tcn9a__alternative{border:1px solid var(--trefa-border);background:var(--trefa-surface);overflow-wrap:anywhere;gap:4px;font-size:.875rem}.creative-suggestions-module__6Tcn9a__alternative>div{flex-wrap:wrap;gap:4px;display:flex}.creative-suggestions-module__6Tcn9a__alternative .creative-suggestions-module__6Tcn9a__textAction{text-decoration:underline}.creative-suggestions-module__6Tcn9a__footer{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px 16px;display:flex}.creative-suggestions-module__6Tcn9a__srOnly{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.creative-suggestions-module__6Tcn9a__themeActionArea{min-width:0;padding:0 6px 6px}.creative-suggestions-module__6Tcn9a__themeButton{min-height:44px;color:var(--trefa-ink);text-align:start;font:650 .875rem/1.4 var(--trefa-font);cursor:pointer;background:0 0;border:0;border-radius:5px;align-items:center;gap:6px;padding:5px 8px;display:flex}.creative-suggestions-module__6Tcn9a__themeButton:disabled{opacity:.55;cursor:not-allowed}.creative-suggestions-module__6Tcn9a__themeButton:focus-visible,.creative-suggestions-module__6Tcn9a__themePanel:focus-visible{outline:2px solid var(--trefa-accent);outline-offset:-2px}.creative-suggestions-module__6Tcn9a__themeTrigger{color:var(--trefa-accent-hover);margin-inline-start:auto}.creative-suggestions-module__6Tcn9a__themeTrigger[aria-expanded=true]{background:var(--trefa-soft)}.creative-suggestions-module__6Tcn9a__themeIcon{flex:0 0 16px;width:16px;height:16px}.creative-suggestions-module__6Tcn9a__themePanel{background:var(--trefa-soft);min-width:0;font:400 .875rem/1.45 var(--trefa-font);overflow-wrap:anywhere;border-radius:6px;justify-items:start;gap:5px;margin-top:4px;padding:9px;display:grid}.creative-suggestions-module__6Tcn9a__themePanel p{margin:0}.creative-suggestions-module__6Tcn9a__themeTitle{font-weight:650}.creative-suggestions-module__6Tcn9a__themePanel .creative-suggestions-module__6Tcn9a__choice input[type=checkbox]{width:17px;min-height:0;padding:0}.creative-suggestions-module__6Tcn9a__themeConfirm{border:1px solid var(--trefa-control-border);background:var(--trefa-surface)}.creative-suggestions-module__6Tcn9a__themeChoices{width:100%;margin:0;padding:0;list-style:none}.creative-suggestions-module__6Tcn9a__themeChoice{overflow-wrap:anywhere;justify-content:start;width:100%;font-weight:550}.creative-suggestions-module__6Tcn9a__themeChoices li+li{border-top:1px solid var(--trefa-border)}.creative-suggestions-module__6Tcn9a__themeButton:active:not(:disabled){background:var(--trefa-border)}@media (hover:hover){.creative-suggestions-module__6Tcn9a__themeTrigger:hover:not(:disabled),.creative-suggestions-module__6Tcn9a__themeConfirm:hover:not(:disabled){background:var(--trefa-soft)}.creative-suggestions-module__6Tcn9a__themeChoice:hover{background:var(--trefa-surface)}}@media (max-width:700px){:is(.creative-suggestions-module__6Tcn9a__dialog.creative-suggestions-module__6Tcn9a__dialog,.creative-suggestions-module__6Tcn9a__dialog.creative-suggestions-module__6Tcn9a__dialog:has(.creative-suggestions-module__6Tcn9a__rows)){width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:12px}.creative-suggestions-module__6Tcn9a__rows{grid-template-columns:minmax(0,1fr);gap:8px}.creative-suggestions-module__6Tcn9a__row{gap:3px;padding:4px 7px 7px}.creative-suggestions-module__6Tcn9a__pick,.creative-suggestions-module__6Tcn9a__promptTools .creative-suggestions-module__6Tcn9a__regenerate{min-width:38px;min-height:44px}.creative-suggestions-module__6Tcn9a__promptBox textarea,.creative-suggestions-module__6Tcn9a__description input{font-size:1rem}.creative-suggestions-module__6Tcn9a__footer{justify-content:stretch}.creative-suggestions-module__6Tcn9a__footer button{flex:1}}
.commerce-module__huaGAa__page{width:min(1120px,100%);padding:36px var(--site-gutter) 64px;color:var(--trefa-ink);margin-inline:auto}.commerce-module__huaGAa__page h1{font:650 clamp(30px, 4vw, 42px)/1.12 var(--trefa-display);letter-spacing:-.025em;margin:0 0 12px}.commerce-module__huaGAa__page h2,.commerce-module__huaGAa__start h2{font:650 24px/1.2 var(--trefa-display);margin:0 0 16px}.commerce-module__huaGAa__intro{max-width:68ch;color:var(--trefa-muted);margin:0 0 28px;line-height:1.6}.commerce-module__huaGAa__start{width:min(920px,100%);margin-inline:auto;padding-block:12px 28px}.commerce-module__huaGAa__layout{grid-template-columns:minmax(0,1fr) minmax(260px,.68fr);align-items:start;gap:36px;display:grid}.commerce-module__huaGAa__summary{background:var(--trefa-soft);border-radius:12px;grid-area:1/2;padding:24px}.commerce-module__huaGAa__details{grid-area:1/1;min-width:0}.commerce-module__huaGAa__summary h2{margin-bottom:20px}.commerce-module__huaGAa__row{border-bottom:1px solid var(--trefa-border);min-width:0;padding-block:24px}.commerce-module__huaGAa__row:first-child{padding-top:0}.commerce-module__huaGAa__game{align-items:center;gap:16px;margin-bottom:20px;display:flex}.commerce-module__huaGAa__game img{object-fit:contain;background:var(--trefa-bg);border-radius:8px;flex:0 0 88px;width:88px;height:88px}.commerce-module__huaGAa__game h2,.commerce-module__huaGAa__game h3{overflow-wrap:anywhere;margin:0 0 6px}.commerce-module__huaGAa__game p{color:var(--trefa-muted);margin:0;line-height:1.5}.commerce-module__huaGAa__options{border:0;min-width:0;margin:24px 0;padding:0}.commerce-module__huaGAa__options legend{margin-bottom:12px;font-weight:650}.commerce-module__huaGAa__option{cursor:pointer;align-items:start;gap:12px;min-height:48px;padding:14px 0;line-height:1.5;display:flex}.commerce-module__huaGAa__option input{flex-shrink:0;width:18px;height:18px;margin-top:5px}.commerce-module__huaGAa__option strong,.commerce-module__huaGAa__option small{display:block}.commerce-module__huaGAa__option small{color:var(--trefa-muted)}.commerce-module__huaGAa__option b{white-space:nowrap;font-variant-numeric:tabular-nums;margin-left:auto}.commerce-module__huaGAa__option:has(input:checked) strong{color:var(--trefa-accent)}.commerce-module__huaGAa__field{gap:8px;min-width:0;margin-block:14px;font-weight:550;display:grid}.commerce-module__huaGAa__field input,.commerce-module__huaGAa__field select,.commerce-module__huaGAa__field textarea{background:var(--trefa-bg);border:1px solid var(--trefa-control-border);width:100%;min-width:0;min-height:48px;color:var(--trefa-ink);font:400 1rem/1.4 var(--trefa-font);caret-color:var(--trefa-accent);border-radius:8px;padding:12px}.commerce-module__huaGAa__field input[type=number]{font-variant-numeric:tabular-nums;max-width:130px}.commerce-module__huaGAa__field [aria-invalid=true]{border:2px solid var(--trefa-accent)}.commerce-module__huaGAa__field textarea{resize:vertical}.commerce-module__huaGAa__pair{grid-template-columns:minmax(0,1fr) minmax(100px,.5fr);gap:16px;display:grid}.commerce-module__huaGAa__actions{flex-wrap:wrap;align-items:center;gap:14px;margin-top:24px;display:flex}.commerce-module__huaGAa__actions a,.commerce-module__huaGAa__page a{text-underline-offset:4px}.commerce-module__huaGAa__primary,.commerce-module__huaGAa__secondary,.commerce-module__huaGAa__textButton{min-height:48px;font:650 15px/1.45 var(--trefa-font);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;padding:13px 20px;text-decoration:none;display:inline-flex}.commerce-module__huaGAa__primary{color:#fff;background:var(--trefa-accent);border:1px solid #0000}.commerce-module__huaGAa__primary:hover{background:var(--trefa-accent-hover)}.commerce-module__huaGAa__secondary{color:var(--trefa-ink);background:var(--trefa-bg);border:1px solid var(--trefa-control-border)}.commerce-module__huaGAa__secondary:hover{background:var(--trefa-soft)}.commerce-module__huaGAa__textButton{color:var(--trefa-accent);text-underline-offset:4px;background:0 0;border:0;padding-inline:6px;text-decoration:underline}.commerce-module__huaGAa__primary:disabled,.commerce-module__huaGAa__secondary:disabled,.commerce-module__huaGAa__textButton:disabled{opacity:.55;cursor:wait}.commerce-module__huaGAa__note{color:var(--trefa-muted);max-width:68ch;font-size:14px;line-height:1.6}.commerce-module__huaGAa__error{color:var(--trefa-accent);padding-block:12px;font-weight:550;line-height:1.6}.commerce-module__huaGAa__notice{background:var(--work-cream);border-radius:8px;margin-block:20px;padding:16px 20px;line-height:1.6}.commerce-module__huaGAa__totals{font-variant-numeric:tabular-nums;margin-block:24px}.commerce-module__huaGAa__totals>div{justify-content:space-between;gap:16px;padding-block:6px;display:flex}.commerce-module__huaGAa__totals dd{margin:0}.commerce-module__huaGAa__total{border-top:1px solid var(--trefa-border);margin-top:12px;font-size:21px;font-weight:700;padding-top:18px!important}.commerce-module__huaGAa__mini{border-bottom:1px solid var(--trefa-border);padding-block:16px}.commerce-module__huaGAa__mini p{overflow-wrap:anywhere;margin:5px 0;line-height:1.5}.commerce-module__huaGAa__mini strong{display:block}.commerce-module__huaGAa__mini img{object-fit:contain;float:right;width:64px;height:64px;margin-left:12px}.commerce-module__huaGAa__consents{border:0;margin-top:32px;padding:0}.commerce-module__huaGAa__consents legend{margin-bottom:12px;font-weight:650}.commerce-module__huaGAa__empty{max-width:65ch;padding-block:48px}.commerce-module__huaGAa__changes{margin-block:14px}@media (max-width:760px){.commerce-module__huaGAa__page{padding-top:24px}.commerce-module__huaGAa__layout{grid-template-columns:1fr;gap:28px}.commerce-module__huaGAa__summary{grid-area:auto/1;padding:20px}.commerce-module__huaGAa__details{grid-area:auto/1}.commerce-module__huaGAa__actions>.commerce-module__huaGAa__primary,.commerce-module__huaGAa__actions>.commerce-module__huaGAa__secondary{flex:200px}.commerce-module__huaGAa__game img{flex-basis:68px;width:68px;height:68px}.commerce-module__huaGAa__pair{grid-template-columns:1fr;gap:0}}
.purchase-selection-module__o0MfhW__header{flex-wrap:wrap;justify-content:space-between;align-items:start;gap:16px;margin-bottom:8px;display:flex}.purchase-selection-module__o0MfhW__header>:first-child{flex:240px;min-width:0}.purchase-selection-module__o0MfhW__purchase{container-type:inline-size}.purchase-selection-module__o0MfhW__selectionLayout{grid-template-columns:minmax(0,1.2fr) minmax(240px,1fr);align-items:start;gap:32px;display:grid}.purchase-selection-module__o0MfhW__selectionControls{min-width:0}.purchase-selection-module__o0MfhW__specification{overflow-wrap:anywhere;min-width:0;padding-block:24px}.purchase-selection-module__o0MfhW__specification h3{font:650 20px/1.3 var(--trefa-display);margin:0 0 16px}.purchase-selection-module__o0MfhW__variant{margin:0 0 8px;font-weight:650}.purchase-selection-module__o0MfhW__context{color:var(--trefa-muted);margin:0;font-size:14px;line-height:1.6}.purchase-selection-module__o0MfhW__facts{font-variant-numeric:tabular-nums;margin:20px 0 0;font-size:14px;line-height:1.5}.purchase-selection-module__o0MfhW__facts>div{border-bottom:1px solid var(--trefa-border);justify-content:space-between;align-items:baseline;gap:16px;padding-block:8px;display:flex}.purchase-selection-module__o0MfhW__facts dt{color:var(--trefa-muted)}.purchase-selection-module__o0MfhW__facts dd{text-align:right;margin:0}.purchase-selection-module__o0MfhW__material{color:var(--trefa-muted);margin-top:20px;font-size:14px;line-height:1.6}.purchase-selection-module__o0MfhW__material p{margin:8px 0 0}.purchase-selection-module__o0MfhW__cartVariant{margin-block:0 12px;font-weight:550}@container (max-width:620px){.purchase-selection-module__o0MfhW__selectionLayout{grid-template-columns:1fr;gap:8px}.purchase-selection-module__o0MfhW__specification{border-top:1px solid var(--trefa-border);padding-block:20px}}
.service-availability-module__gDddra__availability{color:var(--trefa-ink);max-width:70ch;margin-block:16px;font-size:.875rem;line-height:1.6}.service-availability-module__gDddra__availability p{margin:0 0 6px}.service-availability-module__gDddra__availability a{min-height:44px;color:inherit;text-underline-offset:.2em;align-items:center;display:inline-flex}.service-availability-module__gDddra__availability a:focus-visible{outline:3px solid var(--trefa-accent);outline-offset:3px}
.checkout-page-module__Qh2Tfq__page{max-width:1160px;color:var(--trefa-ink);font:16px/1.6 var(--trefa-font);margin-inline:auto;padding:32px 32px 64px}.checkout-page-module__Qh2Tfq__progress{margin-block-end:28px}.checkout-page-module__Qh2Tfq__progress ol{flex-wrap:wrap;align-items:center;gap:12px 24px;margin:0;padding:0;font-size:14px;list-style:none;display:flex}.checkout-page-module__Qh2Tfq__progress li{color:var(--trefa-muted);align-items:center;gap:8px;display:flex}.checkout-page-module__Qh2Tfq__progress li+li:before{content:"";background:var(--trefa-border);width:28px;height:1px;margin-inline-end:8px}.checkout-page-module__Qh2Tfq__progress li[aria-current]{color:var(--trefa-ink);font-weight:650}.checkout-page-module__Qh2Tfq__progress svg{width:20px;height:20px}.checkout-page-module__Qh2Tfq__heading{border-block-end:1px solid var(--trefa-border);justify-content:space-between;align-items:flex-end;gap:20px;padding-block-end:28px;display:flex}.checkout-page-module__Qh2Tfq__heading h1{font:650 36px/1.15 var(--trefa-display);letter-spacing:-.025em;text-wrap:balance;margin:0}.checkout-page-module__Qh2Tfq__heading h1:focus{outline:none}.checkout-page-module__Qh2Tfq__heading p{color:var(--trefa-muted);overflow-wrap:anywhere;margin-block:12px 0}.checkout-page-module__Qh2Tfq__heading p span{margin-inline:8px}.checkout-page-module__Qh2Tfq__review{min-height:44px;color:var(--trefa-ink);font:500 14px/1.5 var(--trefa-font);text-underline-offset:4px;cursor:pointer;text-align:start;background:0 0;border:0;align-items:center;padding:8px 0;text-decoration:underline;display:inline-flex}.checkout-page-module__Qh2Tfq__review:hover,.checkout-page-module__Qh2Tfq__edit a:hover{color:var(--trefa-accent)}.checkout-page-module__Qh2Tfq__review:focus-visible,.checkout-page-module__Qh2Tfq__edit a:focus-visible{outline:3px solid var(--trefa-accent);outline-offset:4px;border-radius:4px}.checkout-page-module__Qh2Tfq__edit{color:var(--trefa-muted);flex-wrap:wrap;gap:4px 16px;margin-block:32px 0;font-size:14px;display:flex}.checkout-page-module__Qh2Tfq__edit a{min-height:44px;color:var(--trefa-ink);text-underline-offset:4px;align-items:center;display:inline-flex}.checkout-page-module__Qh2Tfq__edit span{align-self:center}.checkout-page-module__Qh2Tfq__lockNotice{border-block-start:1px solid var(--trefa-border);color:var(--trefa-muted);margin-block:20px 0;padding-block-start:12px;font-size:14px}.checkout-page-module__Qh2Tfq__lockNotice p{margin:0 0 4px}.checkout-page-module__Qh2Tfq__lockNotice button+button{margin-inline-start:16px}.checkout-page-module__Qh2Tfq__page ::selection{background:var(--trefa-soft);color:var(--trefa-ink)}.checkout-page-module__Qh2Tfq__preparation{max-width:720px;min-height:50vh;padding-block:64px}.checkout-page-module__Qh2Tfq__preparation h1{font:650 32px/1.2 var(--trefa-display);letter-spacing:-.025em;margin-block:0 16px}.checkout-page-module__Qh2Tfq__preparation>p{color:var(--trefa-muted);max-width:55ch;margin-block-end:32px}@media (max-width:760px){.checkout-page-module__Qh2Tfq__page{padding:20px 20px 40px}.checkout-page-module__Qh2Tfq__heading{flex-direction:column;align-items:flex-start;gap:4px;padding-block-end:12px}.checkout-page-module__Qh2Tfq__heading h1{font-size:30px}.checkout-page-module__Qh2Tfq__heading p{margin-block-start:8px}.checkout-page-module__Qh2Tfq__progress{margin-block-end:16px}}@media (max-width:380px){.checkout-page-module__Qh2Tfq__page{padding-inline:16px}.checkout-page-module__Qh2Tfq__progress ol{gap:12px;font-size:13px}.checkout-page-module__Qh2Tfq__progress li+li:before{width:16px;margin-inline-end:0}}
