/* Frost frames the cargo instead of recoloring it. The layer counter stays in one corner. */
.pixel.iced{background:var(--c);outline:1px solid #ebffff;outline-offset:-1px;box-shadow:inset 1px 1px #fff9,inset -1px -1px #72b9db88,0 1px 1px #49382044}
.pixel.iced:before{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(135deg,#f0ffffb0,transparent 24%),linear-gradient(50deg,transparent 16%,#efffffaa 17%,#efffffaa 21%,transparent 22%);border-radius:inherit}
.pixel .cargo-ice{inset:auto -1px -1px auto;width:46%;height:46%;min-width:7px;min-height:7px;border-radius:3px 0 2px 0;border:1px solid #edffff;background:#eafaff;color:#173c58;text-shadow:none;font-size:clamp(6px,calc(var(--cargo-cell,18px)*.38),10px);box-shadow:-1px -1px 0 #28638266;pointer-events:none}
.pixel.iced .symbol{position:absolute;left:12%;top:13%;font-size:clamp(5px,calc(var(--cargo-cell,18px)*.4),9px)}
/* Game artwork is never draggable/selectable. Forms in tools/settings remain editable. */
:is(.world-home,.game-shell,dialog){-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}
:is(.world-home,.game-shell,dialog) :is(img,svg){-webkit-user-drag:none;user-select:none}
:is(.world-home,.game-shell,dialog) :is(input,textarea,select,[contenteditable='true']){-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
.toy-gui .world-home button.world-node{touch-action:pan-y}
/* Dense boards keep frost counters inside their tile, including short 320px screens. */
#board[data-density="compact"] .cargo-ice{min-width:0;min-height:0;width:50%;height:50%;right:0;bottom:0;border-width:.5px;border-radius:1px;font-size:calc(var(--cargo-cell)*.43);line-height:1;box-shadow:none}
#board[data-density="compact"] .pixel.iced{outline-width:.6px;box-shadow:inset .5px .5px #fff9,inset -.5px -.5px #72b9db88}
