.pixel-game.cottage-world {
  --cream: #fbe4c6;
  --muted: #d5b69c;
  --line: #785255;
  position: relative;
  padding: 0 10px 10px;
  color: var(--cream);
  background: #291e29;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.cottage-stage.game-art {
  aspect-ratio: 5 / 4;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #ae7866;
  border-radius: 9px;
  background: #3c4a46;
  touch-action: manipulation;
}
.cottage-canvas {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}
.cottage-points { position: absolute; inset: 0; pointer-events: none; }
.cottage-world .cottage-point {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  align-items: end;
  padding: 0;
  line-height: 1;
  border: 0;
  background: transparent;
  color: #fff2d9;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}
.cottage-world button:focus-visible, .cottage-world summary:focus-visible {
  outline: 2px solid #ffe2a6;
  outline-offset: 1px;
}
.cottage-point:focus-visible::after {
  content: attr(aria-label);
  align-self: end;
  border-radius: 4px;
  padding: 3px;
  background: #342632;
  color: #fff0d3;
  font-size: 10px;
  width: max-content;
  max-width: 65px;
}
.cottage-world .game-message {
  min-height: 35px;
  margin: 0;
  padding: 8px 1px;
  background: none;
  border: 0;
  color: var(--cream);
  text-align: start;
  font-size: 12px;
  line-height: 1.4;
}
.cottage-actions { display:grid; gap:5px; grid-template-columns: minmax(0,1fr) auto; padding: 0 7px 7px; }
.cottage-actions select { min-width: 0; min-height: 44px; margin: 0; padding: 6px 8px; font-size: 16px; }
.cottage-actions button { padding-inline: 9px; }
.cottage-actions button {
  min-height: 44px;
  padding: 4px 2px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #422c3a;
  color: var(--cream);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.cottage-panel { margin-top: 5px; background: #352431; border: 1px solid #654653; border-radius: 8px; }
.cottage-panel summary { min-height: 44px; padding: 12px 7px; font-size: 12px; font-weight: 700; cursor: pointer; }
.cottage-panel small { margin-left: 3px; color: var(--muted); font-size: 10px; font-weight: 400; overflow-wrap: anywhere; }
.cottage-panel p, .cottage-storage { margin: 0; padding: 4px 8px 8px; font-size: 11px; line-height: 1.5; color: var(--muted); }
.cottage-storage { padding: 8px 2px 0; }
.cottage-badges { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 7px 8px; }
.cottage-badges span { padding: 4px 5px; font-size: 10px; border: 1px solid #795562; border-radius: 5px; color: #e1bdad; }
.cottage-badges .earned { color: #ffe1a1; background: #634445; }

.organizer-home .today-card { margin: 2px 0 10px; padding: 12px; }
.organizer-home .today-head h2 { margin: 0; font-size: 24px; letter-spacing: 0; }
.organizer-home .today-head time { color: #e4c0aa; font-size: 12px; letter-spacing: 0; }
.organizer-home .today-section-heading { margin: 4px 0 2px; min-height: 44px; }
.organizer-home .today-section-heading button { min-height: 44px; }
.organizer-home .today-checklist,.organizer-home .today-habit-list { gap: 4px; }
.organizer-home .today-calm { margin: 0; padding: 8px 0; text-align: left; }
.organizer-home .today-shortcuts { margin-top: 8px; }
.organizer-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; margin-bottom: 10px; }
.organizer-links button { min-height: 44px; padding: 4px 2px; border: 1px solid #68464b; border-radius: 8px; color: #f8dec3; background: #30212b; font-size: 11px; overflow-wrap: anywhere; }
.organizer-links span { margin-right: 4px; }
.cottage-drawer { scroll-margin-top: 8px; margin-bottom: 12px; border: 1px solid #725354; border-radius: 12px; background: #30242c; }
.cottage-drawer > summary { display: list-item; min-height: 52px; padding: 15px 10px; cursor: pointer; color: #f6d1a6; font-size: 14px; }
.cottage-drawer > summary small { margin-left: 4px; color: #dec0ae; font-size: 11px; }
.cottage-drawer > summary:focus-visible,.organizer-home button:focus-visible { outline: 2px solid #ffe2a6; outline-offset: 1px; }
.cottage-drawer .pixel-game.cottage-world { margin: 0; background: none; box-shadow: none; border: 0; }
.cottage-drawer:not([open]) > .cottage-world { display: none; }
.cottage-care { display: flex; align-items: center; gap: 8px; }
.cottage-care span { flex: 1; color: #e2c1ac; font-size: 11px; line-height: 1.35; }
.cottage-care-button { min-height: 44px; padding: 6px 9px; border-radius: 8px; border: 1px solid #ddab80; background: #89554f; color: #fff0d6; font: 600 12px system-ui; }
