:root{--ink:#1b0e2e;--game-font:"Luckiest Guy", system-ui, sans-serif;--detail-font:Fredoka, system-ui, sans-serif;--safe-top:var(--fake-inset-top,env(safe-area-inset-top,0px));--safe-right:var(--fake-inset-right,env(safe-area-inset-right,0px));--safe-bottom:var(--fake-inset-bottom,env(safe-area-inset-bottom,0px));--safe-left:var(--fake-inset-left,env(safe-area-inset-left,0px))}html,body{background:#05030f;height:100%;margin:0;overflow:hidden}html{-webkit-tap-highlight-color:transparent}#game{touch-action:none;-webkit-user-select:none;user-select:none;position:fixed;inset:0}#game canvas{cursor:none;display:block}.failure-notice{color:#f4ecff;font:20px / 1.4 var(--detail-font);text-align:center;background:#05030fb8;flex-direction:column;justify-content:center;align-items:center;gap:24px;padding:16px;display:flex;position:absolute;inset:0}.failure-notice h1{color:var(--gold-top);margin:0;font-size:clamp(40px,8vw,88px);line-height:1.1}.failure-notice p{max-width:32em;margin:0}:root{--gold-top:#ffe46b;--gold-bottom:#ffad1f;--gold-lip:#b65a07;--green-top:#8ff26a;--green-bottom:#34c03a;--green-lip:#17782a;--grey-top:#9d96b2;--grey-bottom:#746d8c;--grey-lip:#474060;--purple-top:#a47cf6;--purple-bottom:#6c3fd0;--purple-lip:#3d1f8a;--gloss:#fff6;--overshoot:cubic-bezier(.34, 1.7, .64, 1)}.game-text{color:#fff;font-family:var(--game-font);letter-spacing:.04em;text-transform:uppercase;text-shadow:.07em 0 0 var(--ink), -.07em 0 0 var(--ink), 0 .07em 0 var(--ink), 0 -.07em 0 var(--ink), .05em .05em 0 var(--ink), -.05em .05em 0 var(--ink), .05em -.05em 0 var(--ink), -.05em -.05em 0 var(--ink), 0 .14em 0 var(--ink);font-weight:400}.game-detail{font-family:var(--detail-font);font-weight:600}.chunky,.chunky-pill{--chunky-border:3px;--chunky-lip:5px;--chunky-drop:var(--chunky-lip);border:var(--chunky-border) solid var(--ink);background:linear-gradient(to bottom, var(--chunky-top,var(--purple-top)), var(--chunky-bottom,var(--purple-bottom)));box-shadow:inset 0 .18em 0 var(--gloss), inset 0 calc(var(--chunky-lip) * -.6) 0 #0000002e, 0 var(--chunky-drop) 0 var(--chunky-lip-colour,var(--purple-lip)), 0 var(--chunky-drop) 0 1px var(--ink);cursor:pointer;transition:transform .32s var(--overshoot), box-shadow .32s var(--overshoot);border-radius:14px;position:relative}.chunky-pill{--chunky-lip:4px;border-radius:999px}.chunky[data-tone=gold],.chunky-pill[data-tone=gold]{--chunky-top:var(--gold-top);--chunky-bottom:var(--gold-bottom);--chunky-lip-colour:var(--gold-lip)}.chunky[data-tone=green],.chunky-pill[data-tone=green]{--chunky-top:var(--green-top);--chunky-bottom:var(--green-bottom);--chunky-lip-colour:var(--green-lip)}.chunky[data-tone=grey],.chunky-pill[data-tone=grey]{--chunky-top:var(--grey-top);--chunky-bottom:var(--grey-bottom);--chunky-lip-colour:var(--grey-lip);cursor:default}.chunky[data-tone=purple],.chunky-pill[data-tone=purple]{--chunky-top:var(--purple-top);--chunky-bottom:var(--purple-bottom);--chunky-lip-colour:var(--purple-lip)}.chunky:active,.chunky-pill:active{--chunky-drop:0px;transform:translateY(var(--chunky-lip)) scale(1.04, .94);transition-duration:60ms;transition-timing-function:ease-out}.chunky:disabled,.chunky-pill:disabled,.chunky[data-tone=grey],.chunky-pill[data-tone=grey]{--chunky-drop:var(--chunky-lip);cursor:default;transform:none}.finale-dock{--ui-grow:min(calc(var(--playfield-scale) * 1px), calc((100svh - 768px) * 999));left:calc(max(12px, 2svmin) + var(--safe-left));bottom:calc(max(12px, 2svmin) + var(--safe-bottom));align-items:flex-end;gap:max(10px, calc(11.7 * var(--ui-grow)));pointer-events:none;transition:opacity .25s;display:flex;position:absolute}.finale-dock[hidden]{display:none}.finale-note{--note-pad:max(6px, calc(7 * var(--ui-grow)));padding:calc(var(--note-pad) + .08em) max(12px, calc(14.1 * var(--ui-grow))) max(0px, calc(var(--note-pad) - .08em));border:3px solid var(--ink);border-radius:max(14px, calc(16.4 * var(--ui-grow)));font-size:max(clamp(13px, 2.4svmin, 18px), calc(21.1 * var(--ui-grow)));white-space:pre-line;pointer-events:none;background:#1b0e2ec7;line-height:1.25}.finale-note[hidden]{display:none}.finale-gauge{pointer-events:auto;--gauge-pad:max(8px, calc(9.4 * var(--ui-grow)));align-items:center;gap:var(--gauge-pad);padding:var(--gauge-pad) max(14px, calc(16.4 * var(--ui-grow))) var(--gauge-pad) var(--gauge-pad);transform-origin:0 100%;touch-action:none;display:flex}.finale-gauge.chunky-pill{box-shadow:inset 0 .18em 0 var(--gloss)}.finale-gauge.chunky-pill:active{--chunky-drop:var(--chunky-lip);transform:none}.finale-dock.banked .finale-gauge{pointer-events:none;cursor:default}.finale-gauge:after{content:"";border-radius:inherit;box-shadow:0 0 18px 4px var(--gold-top);opacity:0;pointer-events:none;position:absolute;inset:-4px}.finale-gauge.full:after{animation:.8s ease-in-out infinite alternate finale-full}.finale-gauge.busy{opacity:.45}.finale-gauge.busy:after{animation:none}.finale-dock.covered{opacity:.3}.finale-dock.covered .finale-gauge{pointer-events:none}.finale-dock.covered .finale-note{visibility:hidden}.finale-dock.covered .finale-gauge:after{animation:none}@keyframes finale-full{0%{opacity:.25}to{opacity:1}}.finale-icon{--icon-size:max(clamp(22px, 3.4svmin, 34px), calc(30.6 * var(--ui-grow)));width:var(--icon-size);height:var(--icon-size);margin-block:min(-6px, calc(-7 * var(--ui-grow)));flex:none}.finale-notches{gap:max(5px, calc(5.9 * var(--ui-grow)));display:flex}.finale-notch{width:max(clamp(18px, 3.8svmin, 42px), calc(34.2 * var(--ui-grow)));height:max(clamp(10px, 1.6svmin, 16px), calc(14.4 * var(--ui-grow)));border:2px solid var(--ink);background:#1b0e2e99;border-radius:999px;position:relative;overflow:hidden}.finale-notch[data-locked=true]{background:#0e0718d9;overflow:visible}.finale-lock{aspect-ratio:1;height:calc(100% + 8px);display:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.finale-notch[data-locked=true] .finale-lock{display:block}.finale-fill{background:linear-gradient(to bottom, var(--gold-top), var(--gold-bottom));transform-origin:0;position:absolute;inset:0;transform:scaleX(0);box-shadow:inset 0 -2px #d18e19}.finale-fill:before{content:"";background:var(--gloss);border-radius:999px;height:30%;position:absolute;top:2px;left:4px;right:4px}:root{--present-size:clamp(48px, 8svmin, 96px);--present-label-room:calc(var(--present-size) * .3)}button.hud-button.present-button{top:auto;left:auto;right:calc(var(--hud-button-edge) + var(--safe-right) + max(0px, var(--present-size) * (var(--present-label-reach,1) - 1) / 2 - var(--present-label-overhang,0px)));bottom:calc(var(--hud-button-edge) + var(--present-label-room) + var(--safe-bottom));width:var(--present-size);height:var(--present-size);cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:0}.present-corner{right:calc(var(--hud-button-edge) + var(--safe-right));pointer-events:none;visibility:hidden;width:0;height:0;position:absolute}@media (orientation:portrait){button.hud-button.present-button{right:calc(var(--hud-button-edge) + var(--safe-right))}}:root{--hud-button-size:44px;--hud-button-edge:max(12px, 2svmin)}button.hud-button{top:calc(var(--safe-top) + var(--hud-row-y,34px) - var(--hud-button-size) / 2);left:calc(var(--safe-left) + var(--hud-edge,12px));width:var(--hud-button-size);height:var(--hud-button-size);touch-action:none;transition:transform .32s var(--overshoot), box-shadow .32s var(--overshoot), opacity var(--hud-fade-seconds,.2s) ease-out;justify-content:center;align-items:center;padding:0;display:flex;position:absolute}button.hud-button.trophy-button{left:calc(var(--safe-left) + var(--hud-edge,12px) + var(--hud-button-size) + var(--hud-button-gap,8px))}.hud-button[hidden]{display:none}.hud-button[data-faded]{opacity:var(--hud-fade-alpha,.35)}.pause-overlay,.trophy-overlay{--ui-grow:min(calc(var(--playfield-scale) * 1px), calc((100svh - 768px) * 999));color:#f4ecff;font:600 16px / 1.3 var(--detail-font);font-size:max(clamp(14px, 3svh, 22px), calc(25.8 * var(--ui-grow)));cursor:default;background:#05030fc7;justify-content:center;align-items:center;padding:8px 16px;animation:.2s ease-out pause-overlay-in;display:flex;position:absolute;inset:0}.pause-overlay[hidden],.trophy-overlay[hidden]{display:none}@keyframes pause-overlay-in{0%{opacity:0}}.pause-card,.trophy-card{align-items:stretch;gap:max(min(2svh, 14px), calc(16.4 * var(--ui-grow)));width:min(100%, max(400px, calc(468.8 * var(--ui-grow))));padding:max(20px, calc(23.4 * var(--ui-grow))) max(28px, calc(32.8 * var(--ui-grow))) max(26px, calc(30.5 * var(--ui-grow)));border:3px solid var(--ink);box-shadow:inset 0 0 0 2px #a47cf640, 0 5px 0 var(--ink);background:linear-gradient(#2e1d52,#1f1239);border-radius:16px;flex-direction:column;display:flex}.pause-card p,.trophy-card p{text-align:center;margin:0}.pause-title{font-size:1.9em;line-height:1.1}.pause-run{color:#c9bce8}.pause-privacy{color:#a99bc9;font-size:.6em}.pause-card button{--pad-block:max(min(1.2svh, 12px), calc(10.8 * var(--ui-grow)));min-height:max(44px, calc(51.6 * var(--ui-grow)));padding:calc(var(--pad-block) + .1em) max(20px, calc(23.4 * var(--ui-grow))) max(0px, calc(var(--pad-block) - .1em));font-size:.9em;line-height:inherit}.pause-card .pause-resume{--chunky-lip:6px;font-size:1.4em}.pause-card .pause-end[data-armed=true]{color:var(--gold-top)}@media (hover:hover){.pause-card button:not([aria-disabled=true]):hover{filter:brightness(1.12)}}.pause-card .pause-sound[aria-disabled=true]{--chunky-drop:var(--chunky-lip);opacity:.55;cursor:default;transform:none}.settings-icon{width:calc(var(--hud-button-size) * .68);height:calc(var(--hud-button-size) * .68);flex:none}.pause-sound-row{align-items:center;gap:max(14px, calc(16.4 * var(--ui-grow)));display:flex}.pause-card .pause-sound-row button{flex:0 0 52%;font-size:.8em}.pause-card .pause-sound-row button:only-child{flex-basis:100%}.pause-card .pause-sound-row button:has(+[hidden]){flex-basis:100%}.pause-volume{--knob:max(26px, calc(30.5 * var(--ui-grow)));--track:max(16px, calc(18.8 * var(--ui-grow)));--share:1;--fill:calc(var(--knob) / 2 + (100% - var(--knob)) * var(--share));min-width:0;height:max(44px, calc(51.6 * var(--ui-grow)));appearance:none;cursor:pointer;touch-action:none;background:0 0;flex:1;margin:0}.pause-volume[hidden]{display:none}.pause-volume:focus-visible{outline:2px solid var(--gold-top);outline-offset:2px;border-radius:8px}.pause-volume::-webkit-slider-runnable-track{box-sizing:border-box;height:var(--track);border:3px solid var(--ink);background:linear-gradient(to right, var(--gold-bottom) 0 var(--fill), #140c26 var(--fill) 100%);border-radius:999px}.pause-volume::-webkit-slider-thumb{box-sizing:border-box;width:var(--knob);height:var(--knob);margin-top:calc((var(--track) - 6px - var(--knob)) / 2);border:3px solid var(--ink);box-shadow:0 3px 0 var(--ink);appearance:none;background:#fbf8ff;border-radius:50%}.pause-volume::-moz-range-track{box-sizing:border-box;height:var(--track);border:3px solid var(--ink);background:#140c26;border-radius:999px}.pause-volume::-moz-range-progress{height:calc(var(--track) - 6px);background:var(--gold-bottom);border-radius:999px}.pause-volume::-moz-range-thumb{box-sizing:border-box;width:var(--knob);height:var(--knob);border:3px solid var(--ink);box-shadow:0 3px 0 var(--ink);background:#fbf8ff;border-radius:50%}.pause-volume[data-quiet]{opacity:.5}.rotate-notice{z-index:10;padding:calc(16px + var(--safe-top)) calc(16px + var(--safe-right)) calc(16px + var(--safe-bottom)) calc(16px + var(--safe-left));color:#f4ecff;text-align:center;cursor:default;background:linear-gradient(#2e1d52,#1f1239);flex-direction:column;justify-content:center;align-items:center;gap:20px;display:flex;position:absolute;inset:0}.rotate-notice[hidden]{display:none}.rotate-notice h1{color:var(--gold-top);margin:0;font-size:clamp(28px,9vw,56px);line-height:1.1}.rotate-notice p{margin:0;font-size:clamp(16px,4.5vw,22px)}.rotate-phone{border:4px solid var(--ink);background:linear-gradient(to bottom, var(--gold-top), var(--gold-bottom));width:60px;height:100px;animation:rotate-phone 2.4s var(--overshoot) infinite;border-radius:14px;margin-bottom:12px;position:relative}.rotate-phone:after{content:"";border:2px solid var(--ink);background:#1f1239;border-radius:6px;position:absolute;inset:8px 6px 14px}@keyframes rotate-phone{0%,20%{rotate:0deg}45%,85%{rotate:-90deg}to{rotate:0deg}}@media (prefers-reduced-motion:reduce){.rotate-phone{animation:none;rotate:-90deg}}.tree-overlay{--ui-grow:min(calc(var(--playfield-scale) * 1px), calc((100svh - 768px) * 999));--cell-width:max(min(10.8vw, 220px), calc(172.9 * var(--ui-grow)));--cell-height:max(min(13.2svh, calc(96px + max(0px, 100svh - 800px) * .25), 130px), calc(112.5 * var(--ui-grow)));--cell-gap:max(min(1.2vw, 1.5svh, 12px), calc(13.5 * var(--ui-grow)));--panel-width:max(min(23vw, 320px), calc(368.2 * var(--ui-grow)));--panel-pad:max(min(1.6svh, 14px), calc(14.4 * var(--ui-grow)));--body-gap:max(min(2vw, 20px), calc(23.4 * var(--ui-grow)));--side:max(16px, calc(18.8 * var(--ui-grow)));--again-side:max(clamp(16px, calc(20vw - 132px), 48px), calc(56.3 * var(--ui-grow)));--pad-left:calc(var(--side) + var(--safe-left));justify-content:space-between;align-items:center;gap:max(min(2svh, 16px), calc(18 * var(--ui-grow)));padding:0 calc(var(--side) + var(--safe-right)) calc(max(12px, 2svmin) + var(--safe-bottom)) var(--pad-left);color:#f4ecff;font:600 16px / 1.3 var(--detail-font);font-size:max(clamp(12px, 2.6svh, 20px), calc(23.4 * var(--ui-grow)));cursor:default;flex-direction:column;transition:opacity .2s ease-out;animation:.3s ease-out tree-overlay-in;display:flex;position:absolute;inset:0}.tree-overlay[hidden]{display:none}.tree-overlay[data-covered]{opacity:0;pointer-events:none}@keyframes tree-overlay-in{0%{opacity:0}}.tree-top{--track-unit:max(var(--playfield-scale,1), .4545);--track-bottom:calc(var(--safe-top) + 118px * var(--track-unit) + 14px * max(var(--track-unit), .6364) + 70px * (max(var(--playfield-scale,1), .5) - var(--track-unit)));min-height:var(--track-bottom);flex:1 0 auto;justify-content:safe center;align-self:stretch;align-items:center;display:flex;container-type:inline-size}.tree-run{--inset-lean:calc((var(--safe-right) - var(--safe-left)) / 2);--inset-spread:max(var(--safe-left) - var(--safe-right), var(--safe-right) - var(--safe-left));margin:var(--track-bottom) 0 0;font-size:min(calc(44px * var(--track-unit)), calc((100cqw - 16px - var(--inset-spread)) / var(--line-ems,30)));translate:var(--inset-lean) 0;color:#fff;text-align:center;white-space:nowrap;padding-block:.15em .25em}.tree-title{color:var(--gold-top)}.tree-standing .tree-title{color:inherit}.tree-divider{color:#8a6fd0;margin:0 .4em}.tree-all-time[hidden]{display:none}.tree-standing-number{color:var(--gold-top)}.tree-standing-gain{margin-left:.4em}.tree-standing-arrow{color:var(--green-top)}.tree-body{gap:var(--body-gap);flex:none;max-width:100%;display:flex}.tree-grid{isolation:isolate;grid-template-columns:repeat(6, var(--cell-width));grid-template-rows:auto;grid-auto-rows:var(--cell-height);gap:var(--cell-gap);display:grid;position:relative}.tree-column-title{font-size:max(clamp(11px, 2svh, 15px), calc(17.6 * var(--ui-grow)));white-space:nowrap;justify-content:center;align-self:end;align-items:center;gap:.35em;display:flex}.tree-cell{--chunky-top:#3b2766;--chunky-bottom:#2a1a4c;--chunky-lip-colour:#140a26;--chunky-lip:4px;color:#fff;min-width:0;font:inherit;font-size:max(clamp(11px, 2.2svh, 18px), calc(19.8 * var(--ui-grow)));transition:transform .32s var(--overshoot), box-shadow .32s var(--overshoot), opacity .15s ease-out;border-radius:12px;flex-direction:column;align-items:center;padding:0;display:flex}.tree-glyph{width:calc(var(--cell-height) * .5);height:calc(var(--cell-height) * .5);flex:none}.tree-column-title .tree-glyph{width:1.25em;height:1.25em}.tree-cell .tree-glyph{filter:drop-shadow(0 2px 0 var(--ink));margin-block:auto}.tree-panel .tree-glyph{width:max(3.2em, calc(var(--cell-height) * .8));height:max(3.2em, calc(var(--cell-height) * .8));filter:drop-shadow(0 3px 0 var(--ink))}.tree-cell-text{white-space:nowrap;background:#1b0e2e59;border-top:2px solid #1b0e2e99;border-radius:0 0 9px 9px;flex:none;justify-content:space-between;align-self:stretch;gap:.4em;padding:.2em .5em .1em;line-height:1.15;display:flex}.tree-price,.tree-cell[data-special=true]{color:var(--gold-top)}.tree-cell[data-tone=grey]{--chunky-top:#625b7a;--chunky-bottom:#4a4462;--chunky-lip-colour:#2b2640;cursor:pointer}.tree-cell.chunky:not([data-tone=purple]):active{--chunky-drop:var(--chunky-lip);transform:none}.tree-cell[data-state=maxed]{--chunky-top:#24456b;--chunky-bottom:#1a3152}.tree-cell[data-state=maxed] .tree-price{color:#c9bdf0}.tree-cell[data-state=closed]{opacity:.45}.tree-cell[data-state=hidden]{opacity:.55;border-style:dashed}.tree-cell[data-state=hidden] .tree-glyph,.tree-panel[data-state=hidden] .tree-glyph{filter:brightness(0);opacity:.6}.tree-cell.glow:after,.tree-chip.glow:after{content:"";z-index:-1;border-radius:inherit;box-shadow:0 0 26px 4px #ff5fd2, 0 0 10px 2px var(--gold-top);pointer-events:none;animation:.9s ease-in-out infinite alternate tree-glow;position:absolute;inset:0}.tree-cell.glow:active:after,.tree-chip.glow:active:after{visibility:hidden}@keyframes tree-glow{0%{opacity:0}to{opacity:1}}.tree-cell.selected{outline-offset:2px;outline:3px solid #fff}.tree-cell.buys .tree-cell-text{border-top:var(--chunky-border) solid var(--ink);background:linear-gradient(to bottom, var(--green-top), var(--green-bottom));box-shadow:inset 0 .15em 0 var(--gloss), inset 0 -.2em 0 var(--green-lip);justify-content:center}.tree-cell.buys .tree-price{color:inherit}@media (hover:hover){.tree-cell:hover>*{filter:brightness(1.3)}}.tree-panel{justify-content:center;gap:max(min(1.4svh, 12px), calc(12.6 * var(--ui-grow)));width:var(--panel-width);min-width:0;padding:var(--panel-pad);border:3px solid var(--ink);box-shadow:inset 0 0 0 2px #a47cf640, 0 4px 0 var(--ink);background:linear-gradient(#2e1d52,#1f1239);border-radius:14px;flex-direction:column;display:flex;overflow:hidden}.tree-panel p{margin:0}.tree-panel-hero{flex-direction:column;align-items:center;gap:.35em;display:flex}.tree-panel-icon{background:radial-gradient(closest-side,#a47cf680,#a47cf600);border-radius:50%;padding:.3em;display:flex}.tree-panel[data-special=true] .tree-panel-icon{background:radial-gradient(closest-side,#ffe46b73,#ffe46b00)}.tree-pips{gap:.3em;min-height:.75em;display:flex}.tree-pips[hidden]{visibility:hidden}.tree-pip{box-sizing:border-box;background:var(--ink);border:2px solid #8a6fd0;border-radius:50%;width:.75em;height:.75em}.tree-pip[data-owned=true]{border-color:var(--ink);background:var(--gold-top)}.tree-panel-name,.tree-panel-effect,.tree-panel-note{text-align:center;min-height:1lh}.tree-panel-name{font-size:1.15em;line-height:1.15}.tree-panel[data-special=true] .tree-panel-name{color:var(--gold-top)}.tree-panel-effect{min-height:2lh}.tree-panel-note{color:#c9bdf0}.tree-panel[data-state=affordable] .tree-panel-note,.tree-panel[data-state=tooDear] .tree-panel-note{color:var(--gold-top)}.tree-panel[data-empty=true] .tree-panel-hero{visibility:hidden}.tree-panel[data-empty=true] .tree-panel-effect{color:#c9bdf0}.tree-side{gap:var(--cell-gap);width:calc(var(--panel-width) + var(--panel-pad) * 2 + 6px);flex-direction:column;min-width:0;display:flex}.tree-side>.tree-panel{flex:auto;width:auto;min-height:min-content}.tree-gifts{flex-direction:column;gap:.3em;display:flex}.tree-gift-title{font-size:max(clamp(11px, 2svh, 15px), calc(17.6 * var(--ui-grow)));text-align:center;white-space:nowrap;margin:0}.tree-gift-row{--gift-size:max(28px, calc(var(--cell-height) * .42));gap:var(--cell-gap);display:flex}.tree-gift{min-width:0;color:inherit;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:0;flex-direction:column;flex:1 1 0;align-items:center;gap:.25em;padding:0;display:flex}.tree-gift-tile{width:var(--gift-size);height:var(--gift-size);box-sizing:border-box;border:3px solid var(--ink);border-radius:calc(var(--gift-size) * .2);box-shadow:0 3px 0 var(--ink);background:linear-gradient(#3b2766,#2a1a4c);justify-content:center;align-items:center;display:flex}.tree-gift[data-state=tomorrow] .tree-gift-tile{outline:3px solid var(--gold-top);outline-offset:2px}.tree-gift.selected .tree-gift-tile{outline-offset:2px;outline:3px solid #fff}.tree-gift-glyph{width:78%;height:78%;filter:drop-shadow(0 2px 0 var(--ink))}.tree-gift-label{font-size:max(14px, calc(12.6 * var(--ui-grow)));text-align:center;line-height:1.05}.tree-gift:last-child .tree-gift-label{translate:.3em}.tree-gift[data-state=tomorrow] .tree-gift-label{color:var(--gold-top)}.tree-gift[data-state=later] .tree-gift-tile,.tree-gift[data-state=locked] .tree-gift-tile{opacity:.55;border-style:dashed}.tree-gift[data-state=later] .tree-gift-glyph,.tree-gift[data-state=locked] .tree-gift-glyph{filter:brightness(0);opacity:.6}.tree-gift[data-state=later] .tree-gift-label,.tree-gift[data-state=locked] .tree-gift-label{color:#c9bdf0}.tree-hand{--hand-width:max(30px, calc(var(--cell-height) * .6));z-index:3;top:calc(100% - var(--cell-height) * .06);left:calc(80% - var(--hand-width) * .364);width:var(--hand-width);transform-origin:36.4% 1%;pointer-events:none;animation:.45s ease-in-out infinite alternate tree-hand-bob;position:absolute;overflow:visible;rotate:-14deg}@keyframes tree-hand-bob{0%{translate:0 calc(var(--hand-width) * .2)}}.tree-hand-outline{fill:var(--ink);stroke:var(--ink);stroke-width:8px}.tree-hand-fill{fill:#fff}.tree-hand-crease{stroke:var(--ink);stroke-width:3px;stroke-linecap:round}.tree-foot{--present-room:calc(var(--hud-button-edge) + var(--present-size) * 2 - var(--side));flex:1 0 auto;align-self:stretch;align-items:flex-end;display:flex}.tree-foot:before,.tree-foot:after{content:"";flex:1 1 0}.tree-foot:before{min-width:max(0px, calc(var(--finale-dock-room,0px) - var(--pad-left)))}.tree-foot:after{min-width:max(0px, var(--present-room))}.tree-foot-row{align-items:center;gap:var(--body-gap);flex:none;margin:0 auto;display:flex}.tree-start{isolation:isolate;justify-content:center;align-items:center;gap:var(--cell-gap);flex-wrap:wrap;display:flex}.tree-start[hidden]{display:none}.tree-start-label{white-space:nowrap}.tree-chip{--chunky-top:#3b2766;--chunky-bottom:#2a1a4c;--chunky-lip-colour:#140a26;--pad-block:max(min(.8svh, 8px), calc(7.2 * var(--ui-grow)));min-width:2.6em;padding:calc(var(--pad-block) + .08em) .7em max(0px, calc(var(--pad-block) - .08em));font-size:max(clamp(14px, 3svh, 22px), calc(25.8 * var(--ui-grow)));line-height:inherit;justify-content:center;align-items:center;gap:.2em;display:flex}.tree-start .tree-chip .tree-glyph{width:.9em;height:.9em;display:none}.tree-chip[data-state=picked]{outline-offset:2px;outline:3px solid #fff}.tree-chip[data-state=locked]{opacity:.6;border-style:dashed}.tree-chip[data-state=locked] .tree-glyph{display:block}@media (hover:hover){.tree-chip:not([data-state=locked]):hover>*{filter:brightness(1.3)}}.tree-go-row{align-items:center;gap:var(--body-gap);flex:none;display:flex}.tree-again{--chunky-lip:6px;--pad-block:max(min(1.4svh, 14px), calc(12.6 * var(--ui-grow)));padding:calc(var(--pad-block) + .1em) var(--again-side) max(0px, calc(var(--pad-block) - .1em));font-size:max(clamp(18px, 4svh, 30px), calc(35.2 * var(--ui-grow)));line-height:inherit;border-radius:999px}.tree-again[aria-disabled=true]{color:#ddd8ea}.tree-again[aria-disabled=true]:active{--chunky-drop:var(--chunky-lip);transform:none}@media (width<=1365px){.tree-start-label{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.tree-start{gap:6px}.tree-chip{min-width:2em;padding-inline:.45em}.tree-chip[data-state=locked] .tree-glyph{display:none}}@media (orientation:landscape) and (height<=600px){.tree-overlay{--cell-height:min(12svh, 96px)}.tree-cell .tree-glyph{width:calc(var(--cell-height) * .42);height:calc(var(--cell-height) * .42)}.tree-side{align-self:flex-start}.tree-gift-title{display:none}.tree-gift-label{font-size:min(14px,1.32vw)}}@media (orientation:landscape) and (height<=380px){.tree-run{font-size:min(1em, calc((100cqw - 16px - var(--inset-spread)) / var(--line-ems,30)))}.tree-gift-label{display:none}}@media (orientation:landscape) and (width<=739px){.tree-cell .tree-glyph{width:calc(var(--cell-height) * .42);height:calc(var(--cell-height) * .42)}.tree-cell-text{gap:.25em;padding:.1em .25em}.tree-foot-row{gap:6px}.tree-start{gap:3px}.tree-chip{min-width:1.7em;padding-inline:.3em;font-size:13px}.tree-again{padding-inline:12px}}@media (orientation:landscape) and (height<=340px){.tree-overlay{--cell-height:11svh}.tree-cell .tree-glyph{width:calc(var(--cell-height) * .34);height:calc(var(--cell-height) * .34)}.tree-panel-hero{gap:.2em}.tree-panel-icon{padding:.15em}.tree-panel .tree-glyph{width:2em;height:2em}}@media (orientation:landscape) and (height<=359px){.tree-gifts{display:none}}@media (orientation:portrait){.tree-overlay{--cell-width:min(14vw, 150px);--cell-height:min(9svh, 68px);--again-side:48px;font-size:clamp(12px,3.8vw,18px)}.tree-column-title{letter-spacing:0;flex-direction:column;gap:.1em;font-size:max(11px,min(2.7vw,13px))}.tree-body{flex-direction:column}.tree-side{width:auto}.tree-gifts{display:none}.tree-panel{grid-template-columns:auto 1fr;align-self:stretch;align-items:center;column-gap:.6em;width:auto;display:grid}.tree-panel-hero{grid-row:1/span 3}.tree-panel .tree-glyph{width:2.2em;height:2.2em}.tree-panel-icon{padding:.1em}.tree-panel-name,.tree-panel-effect,.tree-panel-note{text-align:left;grid-column:2}.tree-panel-effect{min-height:1lh}.tree-foot{padding-bottom:max(0px, calc(var(--finale-dock-rise,0px) - var(--safe-bottom)))}.tree-foot:before,.tree-foot:after{content:none}.tree-foot-row{flex-direction:column;gap:min(1.2svh,10px)}.tree-cell{font-size:clamp(11px,3vw,13px)}.tree-cell .tree-glyph{width:calc(var(--cell-height) * .4);height:calc(var(--cell-height) * .4)}.tree-cell-text{flex-direction:column;align-items:center;gap:0;padding:.1em .2em}@media (height<=700px){.tree-overlay{--cell-height:min(8.25svh, 68px);gap:min(1.2svh,16px)}.tree-cell .tree-glyph{width:calc(var(--cell-height) * .3);height:calc(var(--cell-height) * .3)}}}:root{--tier-mint:#7ee8c0;--tier-sky:#6cc8ff;--tier-pink:#ff8fc8;--tier-violet:#b78cff;--tier-gold:#ffd35f}.trophy-button-icon{width:72%;height:72%;filter:drop-shadow(0 2px 0 var(--ink))}@media (hover:hover){.trophy-button:hover>.trophy-button-icon{filter:drop-shadow(0 2px 0 var(--ink)) brightness(1.2)}}.trophy-dot{--dot-size:calc(var(--hud-button-size) * .55);top:calc(var(--hud-button-size) * -.2);right:calc(var(--hud-button-size) * -.2);min-width:var(--dot-size);height:var(--dot-size);box-sizing:border-box;border:2px solid var(--ink);font-size:max(14px, calc(var(--hud-button-size) * .32));line-height:calc(var(--dot-size) - 5px);text-align:center;pointer-events:none;background:#ff4f8b;border-radius:999px;padding:3px 5px 0;position:absolute}.trophy-dot[hidden]{display:none}.trophy-overlay{--badge:max(clamp(40px, 6.4svh, 58px), calc(57.6 * var(--ui-grow)));padding:calc(8px + var(--safe-top)) calc(16px + var(--safe-right)) calc(8px + var(--safe-bottom)) calc(16px + var(--safe-left));font-size:max(clamp(13px, 2.4svh, 18px), calc(21.1 * var(--ui-grow)))}.trophy-card{gap:max(min(1.6svh, 12px), calc(14.1 * var(--ui-grow)));width:min(100%, max(600px, calc(703.2 * var(--ui-grow))));max-height:100%;padding:max(min(2.4svh, 18px), calc(21.1 * var(--ui-grow))) max(min(3vw, 24px), calc(28.1 * var(--ui-grow)));box-sizing:border-box}.trophy-head{flex:none;align-items:center;gap:.6em;display:flex}.trophy-card .pause-title{text-align:left;flex:1;font-size:1.7em}.trophy-card .trophy-tally{color:var(--gold-top);font-size:1.2em}.trophy-close{--chunky-lip:4px;width:max(44px, calc(51.6 * var(--ui-grow)));height:max(44px, calc(51.6 * var(--ui-grow)));flex:none;justify-content:center;align-items:center;padding:.12em 0 0;font-size:1.1em;display:flex}.trophy-rows{gap:max(min(1.4svh, 10px), calc(11.7 * var(--ui-grow)));overscroll-behavior:contain;touch-action:pan-y;scrollbar-color:var(--purple-bottom) transparent;scrollbar-width:thin;flex-direction:column;flex:auto;min-height:0;margin-inline:-8px;padding:8px;display:flex;overflow-y:auto}.trophy-row{flex:none;align-items:flex-start;gap:.6em;display:flex}.trophy-row-name{width:6.4em;padding-top:calc(var(--badge) / 2 - .65em);color:#c9bce8;flex:none}.trophy-badges{flex-wrap:wrap;gap:6px min(1.6vw,12px);display:flex}.trophy-badge{min-width:var(--badge);color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:center;gap:3px;margin:0;padding:0;display:flex}.trophy-ring{box-sizing:border-box;width:var(--badge);height:var(--badge);padding:calc(var(--badge) * .14);border:calc(var(--badge) * .08) solid var(--tier-colour);box-shadow:0 0 0 2px var(--ink), 0 3px 0 2px var(--ink);background:radial-gradient(closest-side,#4a3480,#2a1846);border-radius:50%;justify-content:center;align-items:center;display:flex;position:relative}.trophy-badge[data-tier=mint]{--tier-colour:var(--tier-mint)}.trophy-badge[data-tier=sky]{--tier-colour:var(--tier-sky)}.trophy-badge[data-tier=pink]{--tier-colour:var(--tier-pink)}.trophy-badge[data-tier=violet]{--tier-colour:var(--tier-violet)}.trophy-badge[data-tier=gold]{--tier-colour:var(--tier-gold)}.trophy-picture{max-width:100%;max-height:100%;display:block}.trophy-badge[data-earned=false] .trophy-ring{filter:grayscale(.85)brightness(.8);opacity:.6}.trophy-badge[data-next=true] .trophy-ring{opacity:.85}.trophy-target{inset:auto 0 calc(var(--badge) * .02);font-size:calc(var(--badge) * .26);letter-spacing:0;text-align:center;position:absolute}.trophy-target:empty{display:none}.trophy-progress{flex-direction:column;align-items:center;gap:2px;display:none}.trophy-badge[data-bar=true] .trophy-progress{display:flex}.trophy-bar{box-sizing:border-box;width:var(--badge);border:2px solid var(--ink);background:#140c26;border-radius:999px;height:8px;display:block;overflow:hidden}.trophy-bar-fill{background:var(--gold-bottom);height:100%;display:block}.trophy-count{color:#f4ecff;white-space:nowrap;font-size:.72em;line-height:1}.trophy-badge.picked .trophy-ring{outline-offset:2px;outline:3px solid #fff}@media (hover:hover){.trophy-badge:hover .trophy-ring{transform:scale(1.06)}}.trophy-card .trophy-foot{color:#c9bce8;flex:none;min-height:1.3em;font-size:.85em}.trophy-foot-title{color:var(--gold-top)}@media (height<=500px){.trophy-overlay{--badge:40px}.trophy-card .pause-title{font-size:1.4em}}
