/* The Santa Tree – the small tilt of the tree (tilt.js). --tilt = sine of the angle (+ = seen from above). */
.tiltrow{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 4px 2px;margin-top:2px;border-top:1px solid rgba(246,220,154,.22);min-width:170px}
.tiltrow .tl-ic{display:flex;opacity:.75;color:var(--gold,#f6dc9a)}
.tiltrow input[type=range]{flex:1;min-width:84px;height:28px;margin:0;background:transparent;accent-color:#e9c877;cursor:pointer;touch-action:none}
.tiltrow .tl-reset{width:26px;height:26px;border-radius:50%;border:1px solid rgba(246,220,154,.4);background:transparent;color:var(--gold,#f6dc9a);display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:.35;padding:0}
.tiltrow.on .tl-reset{opacity:1}
.tiltrow .tl-reset:focus-visible,.tiltrow input:focus-visible{outline:2px solid #f6dc9a;outline-offset:2px}
html.pearl .tiltrow .tl-ic,html.pearl .tiltrow .tl-reset{color:#6a4a16}
/* the shadow on the floor follows the view a little: rounder from above, flatter from below */
html.tilted .floorshadow{transform:translate(-50%,-50%) translateY(calc(var(--tilt,0)*14%)) scaleY(calc(1 + var(--tilt,0)*2.2))}
.tiltrow .tl-cap{flex:0 0 100%;font-size:11px;letter-spacing:.08em;text-transform:uppercase;opacity:.7;padding:0 2px 1px;color:var(--gold,#f6dc9a)}
html.pearl .tiltrow .tl-cap{color:#6a4a16}
