.tenssticks-module{width:700px;height:460px;min-width:410px;min-height:310px;padding:28px 16px 50px!important;display:flex;flex-direction:column;gap:10px}
.tens-heading-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.tens-heading{margin:0;font:700 21px/1.2 var(--module-font,Inter,sans-serif);letter-spacing:-.025em}.tens-total-label{display:flex;align-items:baseline;gap:7px;font-size:11px;opacity:.7}.tens-total{font-size:24px;font-weight:700;font-variant-numeric:tabular-nums}
.tens-stage{flex:1;position:relative;min-height:0;overflow:hidden;border-radius:14px;background:radial-gradient(circle,#7da0b526 1px,transparent 1px) 0 0/18px 18px;border:1px solid #7594aa24}.tens-workspace{position:absolute;width:640px;height:340px;left:50%;top:50%;transform-origin:center;touch-action:none}
.tens-piece{position:absolute!important;display:block;min-width:0!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;touch-action:none;cursor:grab;filter:drop-shadow(0 3px 2px #054d7322)}.tens-piece svg{display:block;width:100%;height:100%;pointer-events:none}.tens-piece:active{cursor:grabbing;z-index:2}.tens-piece:is(.is-selected,:focus-visible){outline:2px solid #58a9d5;outline-offset:4px;border-radius:3px!important}
.tens-empty{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;color:var(--module-text,#17191d);font-size:13px;opacity:.5}.tens-empty[hidden]{display:none}
.tens-palette{display:flex;align-items:center;gap:6px;flex:none}.tenssticks-module .tens-palette button,.tenssticks-module .tens-footer button{display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #8799ac38;border-radius:10px;background:var(--module-bg,#fff);color:var(--module-text,#17191d);font:600 12px/1.2 var(--module-font,Inter,sans-serif);padding:6px 10px;min-height:32px;box-shadow:0 2px 5px #2034500a;cursor:pointer;transition:background .15s,transform .15s}.tens-palette button:hover,.tens-footer button:hover{background:color-mix(in srgb,var(--module-bg,#fff) 86%,#83c7e5)}.tens-palette button:active,.tens-footer button:active{transform:translateY(1px)}.tens-palette svg{width:36px;height:24px}.tens-palette button:first-child svg{width:22px}
.tens-number-form{display:flex;gap:5px;align-items:center;margin-left:auto}.tens-number-form input{width:78px;min-width:0;border:1px solid #8799ac38;border-radius:9px;padding:7px 8px;background:var(--module-bg,#fff);color:inherit;font:500 12px var(--module-font,Inter,sans-serif)}
.tens-footer{position:absolute;bottom:9px;right:12px;display:flex;gap:6px}.tens-palette,.tens-footer{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s,visibility .15s}.tenssticks-module:is(:hover,:has(:focus-visible)) :is(.tens-palette,.tens-footer){opacity:1;visibility:visible;pointer-events:auto}
.tensblock-module{width:182px;height:182px;min-width:85px;min-height:85px;padding:20px!important;background:transparent!important;border-color:transparent!important;box-shadow:none!important}.tens-block-art{position:absolute;inset:18px;pointer-events:none;display:grid;place-items:center;filter:drop-shadow(0 4px 3px #08507525)}.tens-block-art svg{width:100%;height:100%}.tensblock-module[data-block-value="1"]{width:85px;height:85px}.tensblock-module[data-block-value="10"]{width:85px;height:180px}.tensblock-module .tile-settings-wrap,.tensblock-module .tile-appearance-toggle,.tensblock-module .tile-skins-toggle,.tensblock-module .tile-tab-add,.tensblock-module .tile-options-toggle{display:none!important}
@container(max-width:490px){.tens-palette{gap:4px}.tenssticks-module .tens-palette button{padding:5px 7px}.tens-palette svg{width:23px}.tens-number-form input{width:63px}}
@media(hover:none){.tens-palette,.tens-footer{opacity:1;visibility:visible;pointer-events:auto}}
@media(prefers-reduced-motion:reduce){.tens-palette,.tens-footer,.tens-palette button,.tens-footer button{transition:none}}

.tensblock-module[data-block-value="1"] .tens-block-art svg{width:42%;height:42%}.tenssticks-module button:disabled{opacity:.4;cursor:default}

.tenssticks-module>.customization-bar{display:none}.tens-number-form input{appearance:textfield}.tens-number-form input::-webkit-inner-spin-button,.tens-number-form input::-webkit-outer-spin-button{appearance:none;margin:0}

/* Let the workspace reclaim the control rows when the tile is at rest. */
.tenssticks-module{padding-bottom:14px!important;transition:padding-bottom .2s ease}
.tenssticks-module:is(:hover,:has(:focus-visible)){padding-bottom:50px!important}
.tenssticks-module .tens-palette{max-height:0;min-height:0;overflow:hidden;transform:translateY(8px);margin-top:-10px;transition:max-height .2s ease,margin-top .2s ease,opacity .15s,transform .2s,visibility .15s}
.tenssticks-module:is(:hover,:has(:focus-visible)) .tens-palette{max-height:36px;margin-top:0;transform:none;overflow:visible}
.tens-stage{touch-action:none;cursor:default}
@media(hover:none){.tenssticks-module{padding-bottom:50px!important}.tenssticks-module .tens-palette{max-height:36px;margin-top:0;transform:none;overflow:visible}}
@media(prefers-reduced-motion:reduce){.tenssticks-module,.tenssticks-module .tens-palette{transition:none}}
