/* A compact packing game. Readable type and 44px controls are retained. */
.storage-site #calculator.packing-game{--game-accent:#033982;position:relative;isolation:isolate;overflow:hidden;padding-block:74px;transition:background-color .45s ease}
.packing-game>.wrap{position:relative;z-index:1}
.storage-site #calculator.packing-game>.wrap>.intro{margin-bottom:30px;gap:0 55px}
.storage-site #calculator.packing-game .intro h2{font-size:clamp(36px,3.5vw,49px);line-height:1.15}
.storage-site #calculator.packing-game .intro p{font-size:17px;line-height:1.7}
.packing-game .calculator-shell{border-radius:20px;border:1px solid #6b85a6;box-shadow:0 18px 0 -12px #071727,0 28px 65px #071c3340;position:relative;overflow:hidden}
.storage-site .packing-game .calculator-heading{padding:22px 25px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 20px;background:#fff}
.storage-site .packing-game .calculator-heading>div>span{font-size:12px;letter-spacing:.07em;margin-bottom:8px;color:#033982}
.storage-site .packing-game .calculator-heading h3{font-size:26px;line-height:1.2}
.storage-site .packing-game .calculator-heading>p{display:block;font-size:16px;line-height:1.5;grid-column:1;margin:0;max-width:none}
.packing-toolbar{grid-column:2;grid-row:1/3;display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.packing-tally{color:#405c7d;font-size:16px;font-weight:700;letter-spacing:0}
.packing-sound{font:inherit;font-size:15px;line-height:1.3;font-weight:600;padding:10px 13px;border:1px solid #ccd9eb;border-radius:24px;min-height:44px;color:#033982;background:#edf3fc;cursor:pointer}
.packing-sound:hover,.packing-sound[aria-pressed=false]{background:#e3ebf5;color:#405c7d}
.storage-site .packing-game .calculator-shell .calc{grid-template-columns:minmax(0,1fr) 330px}
.packing-category-picker{display:none}
.storage-site .packing-game .calculator-shell .calc-tabs{gap:7px;padding:18px 20px 0;align-content:start}
.storage-site .packing-game .calc-tabs::before{display:none}
.storage-site .packing-game .calculator-shell .calc-tabs button{font-size:15px;line-height:1.4;min-height:44px;padding:9px 12px;border-radius:12px;font-weight:600;letter-spacing:0}
.packing-game .calc-tabs button::before{content:attr(data-icon);margin-right:7px;font-size:17px}
.storage-site .packing-game .calculator-shell #calcGroups{padding:18px 20px 20px;min-height:0}
.storage-site .packing-game .calculator-shell .calc-group h4{font-size:14px;margin-bottom:12px;font-weight:700;letter-spacing:.03em}
.storage-site .packing-game .calculator-shell .calc-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:430px;overflow-y:auto;overscroll-behavior-y:auto;scrollbar-width:thin;scrollbar-color:#adc0d9 #f2f6fa;padding:3px}
.storage-site .packing-game .calculator-shell .calc-item{position:relative;display:flex;flex-wrap:wrap;gap:8px;min-height:116px;padding:12px;border:1px solid #d9e3ef;border-radius:13px;background:#f9fbfe;transition:border-color .2s,background-color .2s;align-content:space-between}
.storage-site .packing-game .calculator-shell .calc-item::before{content:attr(data-icon);display:grid;place-items:center;position:absolute;top:11px;left:11px;width:30px;height:30px;border-radius:8px;background:#eaf0f8;font-size:21px;line-height:1}
.storage-site .packing-game .calculator-shell .calc-item>:first-child{font-size:16px;line-height:1.45;min-width:100%;max-width:none;min-height:34px;padding:0 0 0 38px;flex:1;color:#294462;overflow-wrap:break-word}
.storage-site .packing-game .calculator-shell .calc-item.is-packed{background:#edf4ff;border-color:#92acd3;box-shadow:inset 0 0 0 1px #92acd340}
.storage-site .packing-game .calculator-shell .stepper{margin-left:auto;gap:5px;flex-shrink:0}
.storage-site .packing-game .calculator-shell .stepper button{width:44px;height:44px;min-width:44px;min-height:44px;font-size:23px;border-radius:11px;box-shadow:0 3px 0 #d2deed;border-color:#c6d5e8;background:#fff}
.storage-site .packing-game .calculator-shell .stepper button[data-step='1']{color:#fff;background:#033982;border-color:#033982;box-shadow:0 3px 0 #153676}
.storage-site .packing-game .calculator-shell .stepper button:active:not(:disabled){transform:translateY(2px);box-shadow:none}
.storage-site .packing-game .calculator-shell .stepper button:disabled{opacity:.35;box-shadow:none}
.storage-site .packing-game .calculator-shell .stepper output{font-size:17px;width:29px;font-weight:700}
.packing-game .surprise-item{font:inherit;text-decoration:none!important;border:0!important;background:none!important;text-align:left;cursor:pointer;border-radius:5px}
.storage-site .packing-game .calculator-shell .planner-coach{padding-top:18px;gap:12px;flex-direction:row;align-items:center}
.storage-site .packing-game .calculator-shell .planner-coach p{display:none}
.storage-site .packing-game .calculator-shell .planner-coach b,.storage-site .packing-game .calculator-shell .planner-coach button{font-size:15px}
.storage-site .packing-game .calculator-shell .calc-out{padding:22px 24px;background:#edf3fc}
.packing-game .estimate-heading{margin-bottom:14px}
.storage-site .packing-game .estimate-heading>span:first-child{font-size:12px}
.storage-site .packing-game .estimate-primary{font-size:52px;margin:6px 0;line-height:1.15}
.storage-site .packing-game .calculator-shell .calc-out .estimate-start{font-size:16px;line-height:1.55;margin-bottom:15px}
.packing-game .estimate-size-scale{margin-bottom:17px}
.storage-site .packing-game .calculator-shell .calc-out .figure{font-size:29px;margin:3px 0 5px;font-weight:700}
.storage-site .packing-game .calculator-shell .calc-out p{line-height:1.6}
.storage-site .packing-game .calculator-shell .calc-out .btn-row{margin-top:16px!important}
.packing-game .selected-inventory{margin-top:14px!important;padding-block:7px!important}
.packing-details{margin-top:10px;border-bottom:1px solid #cfdbec;padding-bottom:9px}
.packing-details>summary{font-size:16px;color:#405c7d;cursor:pointer;line-height:1.5;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none}
.packing-details>summary::-webkit-details-marker{display:none}
.packing-details>summary::after{content:'+';font-size:20px}
.packing-details[open]>summary::after{content:'−'}
.packing-details h4{margin-top:12px}
.storage-site .packing-game .calculator-shell .packing-details .estimate-actions{margin-top:10px}
.storage-site .packing-game .calculator-shell .calc-reset{margin-top:7px;font-size:16px}
.storage-site .packing-game .saved-note{font-size:16px;line-height:1.65;margin-top:18px;max-width:95ch}
/* Celebrations sit BELOW the picker, never over the controls. */
.packing-game .calc-surprise{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:12px;position:relative;overflow:hidden;margin:16px 3px 0;padding:16px;border:1px solid #b4ccdf;background:#eaf4f5;color:#173c46;border-radius:13px}
.packing-game .calc-surprise[hidden]{display:none!important}
.surprise-symbol{font-size:26px;line-height:1}
.surprise-copy{display:grid;gap:5px}
.surprise-copy strong{font-size:19px;line-height:1.3;font-weight:800}
.surprise-copy>span{font-size:16px;line-height:1.5}
.surprise-stop{font-size:15px;line-height:1.4;min-height:44px;padding:8px 11px;border-radius:9px;border:1px solid #9cbabf;color:inherit;background:#ffffffa0}
.surprise-time{position:absolute;bottom:0;left:0;right:0;height:3px;background:currentColor;transform-origin:left;animation:packing-timer 10s linear forwards;opacity:.5}
.packing-effects{position:absolute;inset:0;z-index:2;overflow:hidden;pointer-events:none}
.packing-effects>span{position:absolute;top:-45px;left:var(--x);font-size:20px;line-height:1;opacity:.42;animation:packing-fall var(--duration) var(--delay) linear infinite;user-select:none;will-change:transform}
@keyframes packing-fall{from{transform:translate3d(0,0,0) rotate(var(--turn))}to{transform:translate3d(var(--drift),1300px,0) rotate(calc(var(--turn) + 150deg))}}
@keyframes packing-timer{to{transform:scaleX(0)}}
.storage-site #calculator.packing-game[data-celebration=christmas]{background:#123e36}
.packing-game[data-celebration=christmas] .calc-surprise{background:#edf7ef;color:#215539;border-color:#9abc9e}
.packing-game[data-celebration=christmas] .intro h2 em{color:#e9d9a0}
.storage-site #calculator.packing-game[data-celebration=halloween]{background:#291f42}
.packing-game[data-celebration=halloween] .calc-surprise{background:#f4eaff;color:#592c71;border-color:#c5a4d3}
.packing-game[data-celebration=halloween] .intro h2 em{color:#e8bcff}
.storage-site #calculator.packing-game[data-celebration=braai]{background:#472e29}
.packing-game[data-celebration=braai] .calc-surprise{background:#fff2dc;color:#784521;border-color:#d2ad78}
.packing-game[data-celebration=braai] .intro h2 em{color:#ffd49f}
.storage-site #calculator.packing-game[data-celebration=rugby]{background:#174632!important}
.packing-game[data-celebration=rugby] .calc-surprise{background:#f7dc7f;color:#174632;border-color:#ddbd55}
.packing-game[data-celebration=rugby] .intro h2 em{color:#f7dc7f}
.storage-site #calculator.packing-game[data-celebration=golf]{background:#203e3c}
.packing-game[data-celebration=golf] .calc-surprise{background:#edf6e9;color:#335f39;border-color:#a8c598}
.storage-site #calculator.packing-game[data-celebration=wedding]{background:#45323f}
.packing-game[data-celebration=wedding] .calc-surprise{background:#fff1f2;color:#744657;border-color:#dfb3b7}
.packing-game[data-celebration=wedding] .intro h2 em{color:#f3c9d5}
.storage-site #calculator.packing-game[data-celebration=beach]{background:#154459}
.packing-game[data-celebration=beach] .calc-surprise{background:#e5f7fc;color:#1f5f6c;border-color:#9ac9d3}
.storage-site #calculator.packing-game[data-celebration=camping]{background:#1b3044}
.packing-game[data-celebration=camping] .calc-surprise{background:#e9f2fd;color:#2c4e7b;border-color:#a7bedb}
@media(max-width:1100px){.storage-site .packing-game .calculator-shell .calc{grid-template-columns:minmax(0,1fr) 310px}.storage-site .packing-game .calculator-shell .calc-list{grid-template-columns:1fr;max-height:370px}.storage-site .packing-game .calculator-shell .calc-item{flex-wrap:nowrap;align-items:center;min-height:70px;gap:10px}.storage-site .packing-game .calculator-shell .calc-item::before{display:none}.storage-site .packing-game .calculator-shell .calc-item>:first-child{padding:0;min-width:0;min-height:0}.storage-site .packing-game .calculator-shell .stepper{gap:3px}.storage-site .packing-game .calculator-heading{grid-template-columns:1fr}.storage-site .packing-game .packing-toolbar{grid-column:1;grid-row:3;flex-direction:row;align-items:center;justify-content:space-between}.packing-game .calc-surprise{grid-template-columns:32px minmax(0,1fr)}.surprise-stop{grid-column:2;justify-self:start}}
@media(max-width:760px){
 .storage-site #calculator.packing-game{padding-block:58px}
 .storage-site #calculator.packing-game>.wrap>.intro{margin-bottom:24px}
 .storage-site #calculator.packing-game .intro h2{font-size:36px}
 .storage-site #calculator.packing-game .intro p{margin-top:18px;font-size:17px}
 .storage-site .packing-game .calculator-shell .calc{grid-template-columns:minmax(0,1fr)}
 .storage-site .packing-game .calculator-heading{padding:20px 17px;gap:10px}
 .storage-site .packing-game .calculator-heading h3{font-size:24px}
 .storage-site .packing-game .calculator-heading>p{font-size:16px}
 .storage-site .packing-game .calculator-heading>div>span{font-size:12px}
 .packing-toolbar{margin-top:4px}
 .storage-site .packing-game .calculator-shell .calc-tabs{display:none}
 .packing-category-picker{display:grid;gap:9px;grid-column:1;grid-row:1;padding:17px 17px 0}
 .packing-category-picker label{font-size:16px;font-weight:700;color:#405c7d}
 .packing-category-picker select{width:100%;min-width:0;min-height:50px;padding:10px;border:1px solid #bccce1;border-radius:10px;background:#edf3fc;color:#173350;font-size:17px;line-height:1.5}
 .storage-site .packing-game .calculator-shell #calcGroups{padding:16px 14px 18px}
 .storage-site .packing-game .calculator-shell .calc-group h4{display:none}
 .storage-site .packing-game .calculator-shell .calc-list{max-height:354px;grid-template-columns:1fr;gap:7px}
 .storage-site .packing-game .calculator-shell .calc-item{padding:10px;min-height:68px;gap:9px;flex-wrap:nowrap}
 .storage-site .packing-game .calculator-shell .calc-item>:first-child{font-size:16px;min-width:0;flex:1;line-height:1.5;max-width:none}
 .storage-site .packing-game .calculator-shell .stepper{gap:2px}
 .storage-site .packing-game .calculator-shell .stepper output{width:26px;font-size:17px}
 .storage-site .packing-game .calculator-shell .calc-out{padding:22px 20px}
 .storage-site .packing-game .calculator-shell .calc-out .estimate-start{margin-bottom:12px}
 .packing-game .estimate-primary{font-size:48px}
 .storage-site .packing-game .calculator-shell .planner-coach{padding:13px 3px 0;flex-direction:row;gap:10px}
 .storage-site .packing-game .calculator-shell .planner-coach b,.storage-site .packing-game .calculator-shell .planner-coach button{font-size:15px}
 .packing-game .calc-surprise{margin:12px 3px 0;padding:13px;gap:10px}
 .surprise-copy strong{font-size:18px}.surprise-symbol{font-size:24px}
 .packing-game .packing-effects>span{font-size:17px;opacity:.3}
}
@media(max-width:360px){.storage-site .packing-game .calculator-shell .calc-item{padding-inline:8px;gap:6px}.storage-site .packing-game .calculator-shell .calc-item>:first-child{min-width:0;font-size:16px}.storage-site .packing-game .calculator-shell .stepper button{width:44px;height:44px}.storage-site .packing-game .calculator-shell .stepper output{width:24px}}
@media(prefers-reduced-motion:reduce){.packing-game,.packing-game *{transition:none!important;scroll-behavior:auto!important}.packing-effects{display:none}.surprise-time{animation:none;display:none}}
.storage-site .packing-game .calculator-heading .packing-tally{font-size:16px;letter-spacing:0;margin:0;color:#405c7d}
.storage-site .packing-game .calculator-shell .calc-tabs button,.packing-sound{font-size:16px}
/* Carry the celebration palette through the picker without changing other sections. */
#calculator.packing-game[data-celebration=christmas]{--game-accent:#245d42;--game-highlight:#f4dfad}
#calculator.packing-game[data-celebration=halloween]{--game-accent:#674080;--game-highlight:#e7b9ff}
#calculator.packing-game[data-celebration=braai]{--game-accent:#96501f;--game-highlight:#ffd19a}
#calculator.packing-game[data-celebration=rugby]{--game-accent:#1f563b;--game-highlight:#f7dc7f}
#calculator.packing-game[data-celebration=golf]{--game-accent:#37643d;--game-highlight:#d0edbe}
#calculator.packing-game[data-celebration=wedding]{--game-accent:#834e66;--game-highlight:#f3c9d5}
#calculator.packing-game[data-celebration=beach]{--game-accent:#216c80;--game-highlight:#a6e8f3}
#calculator.packing-game[data-celebration=camping]{--game-accent:#325d87;--game-highlight:#c6e5ff}
.storage-site #calculator.packing-game[data-celebration] .intro h2 em{color:var(--game-highlight)}
.storage-site #calculator.packing-game[data-celebration] .calculator-shell .calc-tabs button[aria-pressed=true],.storage-site #calculator.packing-game[data-celebration] .calculator-shell .stepper button[data-step='1']{background:var(--game-accent);border-color:var(--game-accent);box-shadow:0 3px 0 #163a3340;color:#fff}
.storage-site #calculator.packing-game[data-celebration] .estimate-primary{color:var(--game-accent)}
.storage-site #calculator.packing-game[data-celebration] .calc-out .btn{background:var(--game-accent)!important;border-color:var(--game-accent)!important}
