#feedTray{position:fixed;left:8px;right:auto;bottom:calc(var(--tb) + 240px);z-index:9;display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:auto;max-width:none;pointer-events:none}
#feedTrayBtn,#feedTrayPanel{pointer-events:auto}
#feedTrayBtn{min-width:48px;min-height:48px;padding:8px 14px;border-radius:999px;border:1.5px solid var(--line);background:#fff8ec;color:var(--ink);font:800 14px Nunito,sans-serif;box-shadow:0 4px 12px rgba(0,0,0,.16);cursor:pointer}
#feedTray.is-armed #feedTrayBtn{background:var(--ink);color:#fff}
#feedTray.is-open{left:8px;right:132px;width:auto;bottom:calc(var(--tb) + 62px);align-items:stretch}
#feedTray.is-open #feedTrayBtn{position:fixed;left:8px;bottom:calc(var(--tb) + 240px);z-index:10}
#feedTray.is-open .tray-status{display:none}
#feedTray.is-open #feedTrayPanel{max-height:104px;padding:4px}
#feedTray.is-open #feedTrayChips{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
#feedTray.is-open .tray-chip{min-height:28px;padding:2px 4px;font-size:11px}
#feedTrayPanel{width:100%;background:rgba(255,248,236,.98);border:1.5px solid var(--line);border-radius:16px;padding:6px;box-shadow:0 8px 20px rgba(0,0,0,.16);display:flex;flex-direction:column;gap:4px;overflow:auto;max-height:calc(100dvh - var(--hh) - var(--tb) - 168px)}
#feedTrayPanel[hidden]{display:none}
.tray-status{margin:0;font:800 13px Nunito,sans-serif;color:var(--ink)}
#feedTrayChips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.tray-chip{min-height:44px;padding:4px 8px;border-radius:12px;border:1.5px solid var(--line);background:#fff;color:var(--ink);font:800 12px Nunito,sans-serif;text-align:left;cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;max-width:100%;overflow:visible}
.tray-name{display:block;width:100%;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.15}
@media (max-width:340px){
  .tray-chip{padding:4px}
  .tray-name{font-size:11px}
}
.tray-chip.is-armed{background:var(--ink);color:#fff;border-color:var(--ink)}
.tray-chip.is-locked{background:#f6f1e8;color:var(--muted);cursor:default}
.tray-lock{font-size:14px;line-height:1}
.tray-chip small{display:block;width:100%;font:700 11px Nunito,sans-serif;line-height:1.15;white-space:normal;overflow:visible;text-overflow:clip}
#feedTrayCancel{min-height:44px;width:100%}
body.tray-open #toast,body.tray-open #nightNote,body.tray-open #feed,body.tray-open #gardenBed,body.tray-open #mLore,body.tray-open #mMyst,body.tray-open #fTip{visibility:hidden}
body.farm #feedTray,body.inside #feedTray,body.play-open #feedTray{display:none}
body.reduce-motion #feedTray,body.reduce-motion #feedTray *{transition:none}
@media (min-width:761px){
  #feedTray{left:auto;right:16px;bottom:16px;align-items:flex-end}
  #feedTray.is-open{left:auto;right:16px;bottom:16px;width:min(440px,calc(100vw - 280px));align-items:stretch}
  #feedTray.is-open #feedTrayBtn{position:static;left:auto;bottom:auto;align-self:flex-end}
  #feedTray.is-open #feedTrayPanel{max-height:calc(100dvh - var(--hh) - var(--tb) - 168px)}
  #feedTray.is-open #feedTrayChips{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  #feedTray.is-open .tray-chip{min-height:44px;padding:4px 8px}
}