/* Transparent dice flight layer. The battle layout owns its bottom anchor. */
/* The fixed game viewport must not scroll when a button receives focus. */
#game-viewport, #game-container { overflow: clip; }
.dice-tray-host {
    position: relative;
    width: 100%;
    height: 360px;
    isolation: isolate;
    pointer-events: none;
    overflow: visible;
    background: transparent;
}
#dice-container.dice-area.dice-tray-host {
    height: 360px;
    flex: 0 0 360px;
}
.dice-tray-surface {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.dice-tray-hud {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}
.dice-tray-host .dice-unit.tray-dice-unit {
    width: 72px;
    height: 64px;
    padding: 0;
    transition: none;
    pointer-events: none;
    will-change: left, top;
}
.dice-tray-host .tray-dice-unit .dice-3d-wrap {
    position: relative;
    width: 72px;
    height: 64px;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    filter: none !important;
    background: none;
    border: 0;
    box-shadow: none;
    pointer-events: none;
}
.dice-tray-host .dice-ground-shadow { display: none; }
.dice-tray-host .dice-cd-circle {
    position: absolute;
    left: 50%;
    top: 70px;
    width: 36px;
    height: 4px;
    transform: translateX(-50%);
    overflow: hidden;
    border-radius: 3px;
    background: rgba(50, 34, 22, .68);
    box-shadow: 0 0 0 1px rgba(244, 225, 183, .3);
    pointer-events: none;
}
.dice-tray-host .dice-cooldown-fill {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: #bbd6d0;
    transform: scaleX(0);
    transform-origin: left center;
}
.dice-tray-host .dice-skill-label {
    bottom: -1px;
    padding: 2px 5px;
    border-radius: 5px;
    background: rgba(87, 61, 40, .84);
    font-size: 11px;
    line-height: 14px;
    text-shadow: none;
}
.dice-tray-host .dice-lucky-badge { top: -21px; font-size: 15px; }
.dice-tray-host .dice-lucky-sub { font-size: 9px; }
.dice-tray-host .dice-lucky-num { top: 55%; }
.dice-tray-canvas {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
