.tv-try .tv-preview-switch{justify-content:space-between;align-items:center;gap:12px;min-height:44px;padding:6px 14px;font-size:13px}.tv-try .tv-preview-switch>span{color:var(--tg-muted);font-size:12px}.tv-try .tv-preview-switch .tg-ghost:hover{background:var(--tg-sheet)}.tv-settings-scroll{border:0;min-width:0;margin:0;padding:0}.tv-settings-scroll[hidden]{display:none}.tv-settings-scroll:disabled{opacity:1}.tv-settings-scroll:disabled button{cursor:default}.tv-try .tg-panel[hidden]{display:none}.tv-try .tg-work[data-result=true]{grid-template-columns:minmax(0,1fr)}.tv-submit-area{padding-top:10px}.tv-submit-area[hidden]{display:none}.tv-submit-area .tg-gen{margin-top:0}.tv-try .tv-adj{row-gap:4px;display:grid}.tv-try .tv-adj>.tg-sl+.tv-opt{margin-top:8px}@media (min-width:1081px){.tv-try{padding-top:10px}.tv-try .tg-head{margin:5px 0 12px}.tv-try .tg-head h1{font-size:34px}.tv-try .tg-head p{max-width:90ch;margin-top:6px;font-size:14px}.tv-try .tg-work{height:var(--try-work-height,calc(100dvh - 260px));gap:24px;min-height:480px}.tv-try .tg-panel{flex-direction:column;min-height:0;padding:16px;display:flex;container:try-settings/size}.tv-try .tv-settings-scroll{scrollbar-width:thin;flex:1;min-height:0;overflow:hidden auto}.tv-try .tg-canvas{min-height:0}.tv-try .tv-stage{flex:1 1 0;height:auto;min-height:0}.tv-try .tv-stage .tg-art{height:100%;padding:12px;position:absolute;inset:0}.tv-try .tv-stage .tg-art :is(img,canvas){max-height:100cqh}.tv-try .tg-acts{flex:none;gap:6px;padding:8px 12px}.tv-try .tg-acts button{padding:7px 9px;font-size:12px}.tv-try .tg-block{padding:12px 0}.tv-try .tg-block:first-child{padding-top:0;padding-bottom:12px}.tv-try .tg-lab{margin-bottom:10px}.tv-try .tv-adj .tg-sl{padding:6px 0}.tv-try .tv-opt{padding:4px 0}.tv-try .tv-snaps{flex:none;max-height:126px;padding:6px 12px}.tv-try .tv-snap img{height:50px}}@container try-settings (max-height:600px){.tv-try .tv-adj{row-gap:2px}.tv-try .tg-block{padding:8px 0}.tv-try .tg-block:first-child{padding-bottom:8px}.tv-try .tv-adj .tg-sl{padding:4px 0}.tv-try .tv-opt{padding:2px 0}}@container try-settings (min-height:720px){.tv-try .tv-adj{row-gap:6px}.tv-try .tg-block{padding:16px 0}.tv-try .tg-block:first-child{padding-bottom:16px}.tv-try .tv-adj .tg-sl{padding:8px 0}.tv-try .tv-opt{padding:6px 0}}@media (max-width:1080px){.tv-try .tg-canvas{order:1}.tv-try .tg-panel{order:2}.tv-try .tv-preview-switch{flex-wrap:wrap}.tv.tv-try .tv-stage{flex:none;height:clamp(280px,45svh,420px)}.tv.tv-try .tv-stage[data-view=skin] .tg-art{height:100%}.tv.tv-try .tv-stage .tg-art :is(img,canvas){max-height:100cqh}}.tv-try .tv-parts{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.tv-try .tv-parts button{gap:5px;padding:5px}.tv-try .tv-parts .tg-body-thumb{height:64px}.tv-try .tv-parts button>span:last-child{letter-spacing:0;font-size:11.5px;line-height:1.3}.tv-try .tv-tones{gap:12px;margin-top:12px}.tv-try .tv-tones button{width:28px;height:28px}.tv-design-upload{border:1px dashed var(--tg-line);background:var(--tg-sheet);width:100%;min-height:64px;color:var(--tg-ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:10px;padding:10px;font-size:13px;font-weight:600;display:flex}.tv-design-upload:hover{border-color:var(--tg-ink)}.tv-design-upload img{object-fit:contain;width:44px;height:44px}.tv-try .tv-photo-row .tv-camera{display:none}@media (max-width:767px) and (pointer:coarse){.tv-try .tv-photo-row .tv-camera{display:flex}}.tv-try .tv-photo-width{flex-wrap:wrap;row-gap:6px}.tv-try .tv-photo-width .tv-unit{white-space:nowrap;flex:none}.tv-try .tv-photo-width input{box-sizing:border-box;appearance:textfield;width:88px;min-width:88px;padding:0 10px}.tv-try .tv-photo-width input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.tv-try .tv-photo-width input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.tv-try .tv-photo-empty{flex-direction:column;gap:14px;max-width:100%;padding:20px}.tv-try .tv-photo-empty p{max-width:36ch;margin:0}.tv-try .tv-photo-empty .tv-replace{white-space:nowrap;flex:none;justify-content:center;min-height:42px;padding:10px 16px}.tv-try .tv-photo-empty .tv-replace svg{flex-shrink:0}.tv-suggest{gap:6px;margin-top:10px;display:grid}.tv-suggest-lab{color:var(--tg-muted,#6b6b6b);font-size:12px}.tv-suggest-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.tv-suggest-row button{border:1px solid var(--tg-line);text-align:left;cursor:pointer;background:#fff;border-radius:10px;grid-template-rows:auto auto;grid-template-columns:34px 1fr;align-items:center;column-gap:8px;padding:6px;display:grid}.tv-suggest-row button:hover{border-color:#1b1b1b}.tv-suggest-row button[aria-pressed=true]{border-color:#1b1b1b;box-shadow:0 0 0 1px #1b1b1b}.tv-suggest-row .tg-body-thumb{background-size:400% 400%;border-radius:7px;grid-row:span 2;width:34px;height:34px}.tv-suggest-row strong{font-size:12.5px;line-height:1.2}.tv-suggest-row small{color:var(--tg-muted,#6b6b6b);font-size:12px}.tv-small-warn{color:#6b5300;background:#fff4d6;border-radius:8px;margin:2px 0 0;padding:7px 10px;font-size:12.5px;line-height:1.45}.tv-erase-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.tv-erase-size{align-items:center;gap:6px;font-size:12.5px;display:inline-flex}.tv-erase-layer{z-index:5;cursor:crosshair;touch-action:none;position:absolute;inset:0}.tv-try .tv-size-tag{right:52px}.tv-erase-row{margin-top:8px}.tv-erase-bar{z-index:6;border:1px solid var(--tg-line);white-space:nowrap;background:#fff;border-radius:10px;align-items:center;gap:10px;max-width:calc(100% - 24px);padding:6px 6px 6px 12px;font-size:12.5px;display:flex;position:absolute;bottom:12px;left:50%;transform:translate(-50%);box-shadow:0 4px 16px #0000001a}.tv-erase-bar label{align-items:center;gap:6px;display:inline-flex}.tv-erase-bar input{width:80px;accent-color:var(--tg-ink)}.tv-erase-bar button{border:1px solid var(--tg-line);height:28px;font:inherit;color:var(--tg-ink);cursor:pointer;background:#fff;border-radius:7px;padding:0 10px;font-weight:600}.tv-erase-bar button:hover{border-color:#c9c5ba}.tv-erase-bar .tv-erase-done{border-color:var(--tg-ink);background:var(--tg-ink);color:#fff}.tv-erase-bar .tv-erase-done:hover{background:#000}@media (max-width:640px){.tv-erase-bar>span{display:none}}
