/* "How fast does it add up?" weight game (js/load.js). Medium-size card; only transform/opacity animate. */
.load { --c: var(--hv); --c-soft: rgba(255, 90, 31, .12); position: relative; max-width: 1080px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px 16px 16px; box-shadow: 0 18px 40px -28px rgba(14, 15, 16, .35); display: grid; gap: 14px; }
.load { grid-template-columns: minmax(0, 1fr); }
.load > * { min-width: 0; }
.load[data-size="16"] { --c: #1D1F21; --c-soft: rgba(29, 31, 33, .1); }
.ld-head .kick { margin-bottom: 8px; }
.ld-head h2 { font-size: clamp(1.55rem, 6.4vw, 2.3rem); }
.ld-head p { margin: 8px 0 0; color: var(--steel); font-size: 15.5px; line-height: 1.45; max-width: 46ch; }

/* size switch */
.ld-sizes { display: flex; gap: 8px; }
.ld-sizes button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font: 800 15px var(--font); cursor: pointer; transition: border-color .15s, background-color .15s; }
.ld-sizes button i { width: 12px; height: 12px; border-radius: 3px; background: var(--hv); flex: none; }
.ld-sizes button[data-pick="16"] i { background: #1D1F21; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.ld-sizes button[aria-pressed="true"] { border-color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.ld-sizes small { font-weight: 600; color: var(--steel); }

/* the dumpster + meters */
.ld-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: center; }
.ld-box { position: relative; aspect-ratio: 220 / 104; width: 100%; transform-origin: 40% 100%; transition: scale .35s cubic-bezier(.2, .8, .25, 1); }
.load[data-size="12"] .ld-box { scale: .88; }
.ld-box svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ld-box .wall { fill: var(--c-soft); stroke: var(--c); stroke-width: 3.2; stroke-linejoin: round; transition: stroke .25s, fill .25s; }
.ld-box .rib { stroke: var(--c); stroke-width: 2; opacity: .55; transition: stroke .25s; }
.ld-box .rail { stroke: var(--c); stroke-width: 5; stroke-linecap: round; transition: stroke .25s; }
.ld-box .wheel { fill: #2B2E31; }
/* load level: a clipped window (the box inside) with the load sliding up into it */
.ld-fill { position: absolute; inset: 0; clip-path: polygon(3.6% 19.5%, 96.4% 19.5%, 96.4% 79%, 16.4% 79%, 3.6% 53%); }
.ld-fill i { position: absolute; left: 0; right: 0; top: 19.5%; height: 59.5%; transform: translateY(100%); transition: transform .55s cubic-bezier(.2, .8, .25, 1); background:
  repeating-linear-gradient(115deg, rgba(14, 15, 16, .0) 0 7px, rgba(14, 15, 16, .07) 7px 9px),
  linear-gradient(180deg, #B9A68A, #8D7A60); }
.load.is-over .ld-fill i { background: repeating-linear-gradient(115deg, rgba(0, 0, 0, 0) 0 7px, rgba(0, 0, 0, .08) 7px 9px), linear-gradient(180deg, #9C8A70, #6F5E47); }
.ld-heap { position: absolute; left: 10%; right: 6%; bottom: 80%; height: 26%; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: linear-gradient(180deg, #B9A68A, #9C8A70); transform-origin: 50% 100%; transform: scaleY(0); transition: transform .55s cubic-bezier(.2, .8, .25, 1); }
.ld-drops { position: absolute; inset: -12% 0 0; pointer-events: none; }
.ld-sizes { position: relative; z-index: 1; }
.ld-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: 0; }
.ld-drop { position: absolute; top: 0; width: 26px; height: 26px; color: var(--ink); will-change: transform, opacity; }
.ld-drop svg { width: 100%; height: 100%; }

.ld-meters { display: grid; gap: 12px; min-width: 0; }
.ld-m { display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px; min-width: 0; }
.ld-m .top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 6px; row-gap: 1px; min-width: 0; }
.ld-m .top > span { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.ld-m .top b { font-family: var(--display); font-stretch: 105%; font-weight: 900; font-size: clamp(1rem, 4.3vw, 1.3rem); letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ld-m .top b small { font-family: var(--font); font-weight: 700; font-size: 12.5px; letter-spacing: 0; color: var(--steel); }
.ld-bar { position: relative; height: 12px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.ld-bar i { position: absolute; inset: 0; border-radius: inherit; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); transition: transform .5s cubic-bezier(.2, .8, .25, 1), background-color .25s; }
.load.is-close .ld-w .ld-bar i { background: #D9831F; }
.load.is-over .ld-w .ld-bar i { background: var(--hv); }
.ld-s .ld-bar i { background: var(--c); }
.load[data-size="12"] .ld-s .ld-bar i { background: var(--hv); }
.ld-w .ld-bar::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #fff; z-index: 1; }
.ld-m .note { font-size: 12.5px; color: var(--steel); line-height: 1.3; }
.ld-m .note b { color: var(--ink); }

.ld-msg { margin: 0; min-height: calc(2 * 1.35em + 16px); display: flex; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--paper); font-weight: 650; font-size: 15px; line-height: 1.35; transition: background-color .25s, color .25s; }
.load.is-over .ld-msg, .load.is-full .ld-msg { background: #FFF1E9; color: #7A2A06; }

/* items */
.ld-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ld-item { position: relative; width: 100%; min-height: 52px; display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; column-gap: 9px; padding: 7px 10px; border-radius: 13px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); text-align: left; font: inherit; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: border-color .15s, background-color .15s, transform .12s; }
.ld-item svg { width: 30px; height: 30px; grid-row: span 2; color: var(--ink); }
.ld-item b { font-size: 14px; font-weight: 800; line-height: 1.15; overflow-wrap: anywhere; }
.ld-item span { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--hv-deep); letter-spacing: .02em; }
.ld-item .ld-n { position: absolute; top: -7px; right: -5px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 99px; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 12px; font-weight: 700; line-height: 22px; text-align: center; }
.ld-item .ld-n:empty { display: none; }
.ld-item.is-in { border-color: var(--ink); background: #fff; }
.ld-item:active { transform: scale(.97); }
@media (hover: hover) { .ld-item:hover { border-color: rgba(14, 15, 16, .4); background: #fff; } }

.ld-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.ld-foot button { min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 800 14.5px var(--font); cursor: pointer; }
.ld-foot button:disabled { color: #6B7076; cursor: default; }
.ld-book { margin-left: auto; font-size: 15px; font-weight: 800; color: var(--hv-deep); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.ld-book:hover { text-decoration: underline; }
.ld-fine { flex-basis: 100%; margin: 2px 0 0; font-size: 12.5px; color: var(--steel); line-height: 1.4; }

/* phones: two rows that swipe sideways, so the card stays medium-size */
.ld-swipe { margin: -4px 0 0; font-size: 13px; font-weight: 700; color: var(--steel); }
@media (max-width: 559px) {
  .ld-items { grid-template-columns: none; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: minmax(148px, 47%); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; margin: 0 -16px; padding: 9px 16px 8px; scroll-padding: 0 16px; }
  .ld-m .top { flex-direction: column; align-items: flex-start; row-gap: 2px; }
  .ld-items::-webkit-scrollbar { display: none; }
  .ld-items li { scroll-snap-align: start; }
  .ld-item { min-height: 62px; height: 100%; }
}
@media (min-width: 560px) { .ld-items { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ld-swipe { display: none; } }
@media (min-width: 960px) {
  .load { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); grid-template-areas: "head items" "sizes items" "stage items" "msg items" "foot items"; align-items: start; column-gap: 30px; padding: 28px 28px 24px; }
  .ld-head { grid-area: head; } .ld-sizes { grid-area: sizes; } .ld-stage { grid-area: stage; } .ld-msg { grid-area: msg; } .ld-foot { grid-area: foot; }
  .ld-items { grid-area: items; align-self: center; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ld-item { min-height: 58px; }
}
@media (min-width: 1140px) { .ld-items { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .ld-fill i, .ld-heap, .ld-bar i { transition: none; } }

/* "Keep these out" list (home + the what-can't-go guide) */
.keep-sec .sec-head { margin-bottom: 18px; }
.keep-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.keep-list li { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 5px 14px 5px 6px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 750; font-size: 14.5px; line-height: 1.2; }
.keep-ico { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #FFF1E9; color: var(--ink); }
.keep-ico svg { width: 20px; height: 20px; }
.keep-ico::after { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 2.5px; margin-top: -1.25px; border-radius: 2px; background: #C2410C; transform: rotate(-45deg); }
.keep-ico::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 2.5px #C2410C; }
.keep-more { margin: 16px 0 0; font-size: 15px; color: var(--steel); }
.keep-more a { font-weight: 800; display: inline-block; padding: 12px 0; }
.keep-list .k-more a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 800; text-decoration: none; }
.keep-list li.k-more { padding: 0; border: 0; background: none; }
@media (max-width: 759px) { .keep-list .k-extra { display: none; } .keep-list .k-more a { min-height: 36px; font-size: 13.5px; } }
@media (min-width: 760px) { .keep-list .k-more { display: none; } }
/* the full list on the guide page: one card per item */
.keep-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.keep-cards li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-items: start; align-content: start; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.keep-cards .keep-ico { width: 40px; height: 40px; grid-row: 1 / span 4; }
.keep-cards li > :not(.keep-ico) { grid-column: 2; }
.keep-cards .keep-ico svg { width: 24px; height: 24px; }
.keep-cards h3 { font-family: var(--font); font-stretch: 100%; font-size: 17px; font-weight: 850; letter-spacing: 0; line-height: 1.25; }
.keep-cards li { scroll-margin-top: 90px; }
.keep-cards p { margin: 4px 0 0; font-size: 16px; color: var(--steel); line-height: 1.45; }
.keep-cards p.where { color: var(--ink); font-size: 16px; }
.keep-cards p.where b { font-size: 16px; font-weight: 800; }
@media (min-width: 760px) { .keep-cards { grid-template-columns: 1fr 1fr; } }

/* keep both new home sections compact ("subtle, medium size") */
.load-sec.sec, .keep-sec.sec { padding-top: clamp(44px, 9vw, 84px); padding-bottom: clamp(44px, 9vw, 84px); }
.keep-sec .sec-head h2 { font-size: clamp(1.7rem, 7vw, 2.6rem); }
.keep-sec .sec-head .lede { font-size: 16px; }
@media (max-width: 759px) {
  .keep-list { gap: 6px; }
  .keep-list li { min-height: 36px; gap: 7px; padding: 3px 11px 3px 4px; font-size: 13.5px; }
  .keep-list .keep-ico { width: 28px; height: 28px; }
  .keep-list .keep-ico svg { width: 17px; height: 17px; }
}
@media (max-width: 359px) {
  .ld-sizes button { padding: 0 8px; gap: 6px; font-size: 14px; }
  .ld-sizes small { display: none; }
  .ld-m .top b { font-size: 15px; }
  .ld-m .note { display: none; }
  .ld-head p { font-size: 14.5px; }
}
