/* Painted Island v1 - shared presentation; no scene/save/rule ownership. */
:root { --paint-ink:#453729; --paint-muted:#78654d; --paint-paper:#fcf2dc; --paint-teal:#2f6864; --paint-rim:#ad8553; }
.multiplayer :is(.modal,.activity-dialog,.cabin-dialog,.bottle-modal) {
  color:var(--paint-ink); background-color:var(--paint-paper);
  background-image:radial-gradient(ellipse at 10% 0%,#fffbedcf,transparent 65%),linear-gradient(115deg,#bd8a4510,transparent 50%,#c19a5b12);
  border:1px solid var(--paint-rim); border-radius:18px;
  box-shadow:0 22px 70px #123b4699,inset 0 0 0 3px #fff8e6,inset 0 0 0 4px #c7a57588;
  max-height:calc(100dvh - max(16px,env(safe-area-inset-top)) - max(16px,env(safe-area-inset-bottom)));
  scrollbar-width:thin; scrollbar-color:#b7a07a #f3e6cb;
}
.multiplayer :is(.modal,.activity-dialog,.cabin-dialog)::backdrop { background:#153e48b8; backdrop-filter:blur(4px); }
.multiplayer :is(.activity-dialog,.cabin-dialog,.island-menu) {
  border:14px solid #b5935b;
  border-image:url('../assets/images/polish/paper-timber-frame-v1.webp') 76 fill / 14px / 0 stretch;
  background-clip:padding-box;
}
.multiplayer :is(h2,h3) { color:#4d3927; text-wrap:balance; }
.multiplayer :is(.activity-header,.cabin-header) { background:#fbf0d9; border-bottom:1px solid #b7955b66; }
.multiplayer .cabin-dialog .cabin-header, .multiplayer .otter-dialog .activity-header { background:#fbf0d9; }
.multiplayer .activity-header { display:grid; grid-template-columns:auto 1fr; align-items:center; gap:12px; padding:7px 12px; }
.multiplayer .activity-header h2 { margin:0; font-size:1.2rem; }
.multiplayer .personal-lookout-samich { background:linear-gradient(#153c3b12,#153c3b12),url('../assets/images/polish/scenes/lookout-delivery-v1-480.webp') center 65% / cover; }
.multiplayer .personal-lookout-samich :is(.picnic-roof,.picnic-bench) { display:none; }
.multiplayer .personal-lookout-samich > .painted-sandwich,.multiplayer .personal-lookout-samich .samich-find { left:22%; top:42%; width:50px; height:50px; }
.multiplayer .personal-lookout-samich.compact > .painted-sandwich { width:32px; height:32px; }
.multiplayer .activity-peer-glimpse:not([hidden]) { display:flex; align-items:center; justify-content:center; gap:5px; min-height:28px; color:#5c4935; background:#f6e9cf; border-bottom:1px solid #c8af84; font:600 .75rem Georgia,serif; }
.multiplayer .activity-peer-glimpse img { width:24px; height:24px; object-fit:contain; }
.multiplayer :is(.activity-button,.cabin-button,.cabin-wallet,.secondary-button,.offline-pack button,.island-menu .multiplayer-panel button) {
  min-height:44px; padding:8px 12px; border:1px solid #916c41; border-radius:11px;
  color:#fff9e9; background:linear-gradient(#477b71,#2c605a);
  box-shadow:inset 0 1px #ffffff60,0 2px 0 #173f3b; font-size:.87rem; line-height:1.25;
  cursor:pointer; touch-action:manipulation; transition:filter 120ms,transform 120ms;
}
.multiplayer :is(.activity-button.secondary,.activity-button.quiet,.cabin-button,.secondary-button,.offline-pack button,.island-menu .multiplayer-panel button) {
  color:var(--paint-ink); background:linear-gradient(#fff8e7,#edddbb); box-shadow:inset 0 1px #fff,0 2px 0 #bda077;
}
.multiplayer :is(.activity-button,.cabin-button,.secondary-button):active:not(:disabled) { transform:translateY(1px); }
.multiplayer :is(button,a,summary,select,input,textarea):focus-visible { outline:3px solid #348987; outline-offset:3px; }
.multiplayer :is(button,select,input,textarea) { -webkit-tap-highlight-color:transparent; }
.multiplayer .island-menu { padding:0 16px 16px; width:min(92vw,480px); }
.multiplayer .island-menu-header { position:sticky; top:0; z-index:5; display:grid; grid-template-columns:1fr 44px; align-items:center; gap:12px; padding:6px 0; background:#fcf2dcf7; border-bottom:1px solid #b7955b66; }
.multiplayer .island-menu-header h2 { padding:0; margin:0; font:700 1.35rem Georgia,serif; }
.multiplayer .island-menu-header .modal-close { position:relative; inset:auto; width:44px; height:44px; margin:0; flex:none; }
.multiplayer .island-together { width:100%; margin-top:10px; }
.multiplayer .activity-controls .activity-button[aria-pressed="true"] { background:#27675c; color:#fff9eb; border-color:#194d45; }
.multiplayer .activity-dialog:is([data-content="cabin-breakfast"],[data-content="campfire-tales"],[data-content="dock-parcels"],[data-content="cabin"],[data-content="campfire"]) :is(.personal-slots,.activity-choices,.parcel-choices) .activity-button[aria-pressed="true"] { color:#21483b; background:linear-gradient(#e8f3dc,#c8e0bd); border-color:#356b58; box-shadow:inset 0 0 0 2px #5c8c6c,inset 0 1px #fff,0 2px 0 #78966b; }
.multiplayer .shelf-dialog :is(.shelf-tabs,.activity-choices) .activity-button[aria-pressed="true"] { color:#21483b; background:linear-gradient(#e8f3dc,#c8e0bd); border-color:#356b58; box-shadow:inset 0 0 0 2px #5c8c6c,inset 0 1px #fff,0 2px 0 #78966b; }
.multiplayer .shelf-stage.shelf-rock { background:linear-gradient(#e4dfca 0 70%,#b79468 70%); }
.multiplayer .island-menu :is(.offline-pack,.island-keepsakes,.device-collection-copy) { margin:6px 0; }
.multiplayer .island-menu .device-collection-copy { padding-top:6px; }
.multiplayer .island-menu .game-sound-choice { margin:8px 0; }
.multiplayer .island-art-setting { padding-top:6px; margin-top:6px; font-size:.85rem; }
.multiplayer .island-art-setting select { max-width:58%; font-size:.84rem; padding:6px; }
.multiplayer .island-motion-setting { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px; }
.multiplayer .island-motion-setting select { max-width:100%; }
.multiplayer .island-motion-setting small { grid-column:1 / -1; font-weight:400; line-height:1.35; }
@media(max-width:360px){.multiplayer .island-motion-setting{grid-template-columns:minmax(0,1fr)}.multiplayer .island-motion-setting select{width:100%}.multiplayer .island-motion-setting small{grid-column:auto}}
.multiplayer .island-picture-setting { display:grid; grid-template-columns:20px minmax(0,1fr); justify-content:start; min-height:44px; gap:8px; }
.multiplayer .island-picture-setting input { width:18px; height:18px; margin:0; }
/* Keep the full touch target while scaling the small keepsake props to the room. */
.multiplayer .nook-scene .scene-slot-1 .activity-object { width:50%; }
.multiplayer .nook-scene .scene-slot-2 .activity-object { width:70%; }
.multiplayer .nook-scene .scene-slot-1 { bottom:34%; }
.multiplayer .story-picture { background:#3a4b41 url('../assets/images/polish/scenes/campfire-delivery-v1-480.webp') center 58% / cover no-repeat; }
.multiplayer .story-picture > svg { visibility:hidden; }
.multiplayer .differences-board { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; padding:10px; border-radius:15px; background:#b98a58 url('../assets/images/polish/breakfast-table-painted-v1.webp') center / cover; }
.multiplayer .differences-item { position:relative; display:grid; place-items:center; min-width:44px; min-height:64px; border:1px solid #fff1c955; border-radius:10px; background:#fff5db22; cursor:pointer; }
.multiplayer .differences-item:disabled { opacity:1; }
.multiplayer .differences-item img { width:100%; height:64px; object-fit:contain; filter:drop-shadow(0 3px 2px #4c2d1a77); }
.multiplayer .differences-found { position:absolute; right:1px; top:1px; padding:2px 5px; border-radius:50%; color:white; background:#27675c; }
.multiplayer .differences-number { position:absolute; left:2px; top:2px; min-width:17px; padding:1px 3px; border-radius:9px; background:#fff6dcd9; color:#523720; font-size:.7rem; line-height:1.25; font-weight:700; }
.multiplayer .differences-controls { position:sticky; top:43px; z-index:4; padding:5px; border-radius:10px; background:#fbf0d9f5; box-shadow:0 2px 4px #5c3f2b33; }
.multiplayer .differences-controls .activity-button { min-height:44px; padding:6px 10px; }
.multiplayer .differences-hint { align-self:center; font-size:.82rem; color:#533b2c; }
.multiplayer .activity-character-moment { display:flex; align-items:center; gap:10px; margin:12px 0; padding:8px 12px; border-radius:14px; background:#fff6e2c9; color:#563c2a; }
.multiplayer .activity-character-moment img { width:64px; height:64px; object-fit:contain; }
.multiplayer .activity-character-moment .moment-squishy { object-fit:cover; object-position:center 70%; background:#749d8d; border-radius:50%; }
.multiplayer .activity-character-moment p { margin:0; font-size:.92rem; }
.multiplayer .rock-stage { background:linear-gradient(#fff6e2c9,#fff6e2e8),url('../assets/images/polish/scenes/mystery-rock-delivery-v1-480.webp') center 43% / cover; }
.multiplayer .rock-stage .mystery-stone { display:none; }
.multiplayer .personal-garden-goose { background:linear-gradient(#f5f2d5a8,#d2e0b9c9),url('../assets/images/polish/scenes/garden-delivery-v1-480.webp') center 55% / cover; }
.multiplayer .painted-suspicious-sheep { width:165px; height:165px; object-fit:contain; filter:drop-shadow(0 3px 3px #4c422944); }
.multiplayer .personal-stage.compact .painted-suspicious-sheep { width:90px; height:90px; }
.multiplayer .coffee-scene { position:relative; display:flex; justify-content:center; align-items:end; min-height:160px; overflow:hidden; border-radius:16px; background:#b98a58 url('../assets/images/polish/breakfast-table-painted-v1.webp') center / cover; }
.multiplayer .coffee-cup { position:relative; width:min(40%,180px); z-index:2; filter:drop-shadow(0 4px 3px #51321f77); }
.multiplayer .coffee-cup img { width:100%; display:block; }
.multiplayer .coffee-cup-blue-heart img { filter:sepia(.25) saturate(2) hue-rotate(145deg); }
.multiplayer .coffee-cup-green img { filter:sepia(.5) saturate(1.6) hue-rotate(60deg); }
.multiplayer .coffee-heart { position:absolute; left:34%; top:54%; color:#ae5771; font-size:clamp(18px,5vw,30px); }
.multiplayer .coffee-surface { position:absolute; left:10%; top:14%; width:62%; height:25%; border-radius:50%; background:radial-gradient(ellipse at 50% 40%,#875435,#49291e); box-shadow:inset 0 2px 5px #e6bd8055; }
.multiplayer .coffee-flavour-caramel { background:radial-gradient(ellipse,#a16a3d,#5c321f); }
.multiplayer .coffee-flavour-vanilla { background:radial-gradient(ellipse,#bc946a,#69432d); }
.multiplayer .coffee-foam { background:radial-gradient(ellipse,#fff9e7,#e7d5b5); }
.multiplayer .coffee-preview-foam { position:absolute; inset:0; border-radius:50%; background:radial-gradient(ellipse,#fff9e7,#e7d5b5); }
.multiplayer .coffee-flavour-drop { position:absolute; z-index:3; top:0; left:37%; width:12%; height:17%; border-radius:50% 50% 50% 5%; transform:rotate(-45deg); background:#b57b43; box-shadow:0 1px 3px #61402c88; }
.multiplayer .coffee-drizzle { position:absolute; inset:24% 18%; border-top:3px solid #98603d; border-bottom:3px solid #98603d; transform:rotate(-12deg); border-radius:45%; }
.multiplayer .coffee-drizzle-vanilla { border-color:#bd995d; }
.multiplayer .coffee-character { width:min(38%,170px); max-height:180px; object-fit:contain; object-position:bottom; }
.multiplayer .coffee-scene.with-guest .coffee-cup { width:30%; }
.multiplayer .coffee-scene.with-guest .coffee-character { width:30%; }
.multiplayer .coffee-story-label { position:absolute; top:6px; right:8px; padding:3px 8px; border-radius:10px; color:#573b26; background:#fff5dfd9; font-size:.72rem; }
.multiplayer .coffee-meter { position:relative; height:20px; margin:12px 4px; border:2px solid #765539; border-radius:12px; background:#ead6b0; }
.multiplayer .coffee-target { position:absolute; left:45%; width:20%; height:100%; background:repeating-linear-gradient(45deg,#a4cba5,#a4cba5 4px,#d6eac8 4px,#d6eac8 8px); }
.multiplayer .coffee-marker { position:absolute; top:-5px; height:26px; width:4px; border-radius:2px; background:#573524; transform:translateX(-50%); }
.multiplayer .personal-cabin-breakfast { min-height:0; aspect-ratio:2.25; background:#b98a58 url('../assets/images/polish/breakfast-table-painted-v1.webp') center / cover no-repeat; }
.multiplayer .breakfast-plate { width:50%; left:9%; top:10%; border:0; box-shadow:none; background:transparent url('../assets/images/polish/breakfast-plate-green-painted-v1.webp') center / contain no-repeat; }
.multiplayer .breakfast-plate.cream-plate { background-image:url('../assets/images/polish/breakfast-plate-cream-painted-v1.webp'); }
.multiplayer .breakfast-plate.blue-plate { background-image:url('../assets/images/polish/breakfast-plate-blue-painted-v1.webp'); }
.multiplayer .potato-stack { inset:17% 13%; transform:none; background:url('../assets/images/polish/breakfast-potatoes-painted-v1.webp') center / contain no-repeat; }
.multiplayer .potato-stack span { display:none; }
.multiplayer .breakfast-coffee { border:0; box-shadow:none; background:transparent url('../assets/images/polish/breakfast-coffee-painted-v1.webp') center / contain no-repeat; }
.multiplayer .breakfast-coffee::after,.multiplayer .breakfast-coffee span { display:none; }
.breakfast-coffee.peasant-coffee,.multiplayer .breakfast-coffee.peasant-coffee {border:0;box-shadow:none;border-radius:0;background:transparent url('../assets/images/polish/peasant-coffee-takeaway-v1.webp') center / contain no-repeat;}
.breakfast-coffee.peasant-coffee::after,.breakfast-coffee.peasant-coffee span {display:none;}
.multiplayer .offline-pack { border:1px solid #ba9b66; background:#efe4ca99; padding:8px 10px; border-radius:12px; }
.multiplayer .offline-pack p { margin:7px 0; line-height:1.4; }
.multiplayer .activity-launcher { padding:10px 12px; border:1px solid #a38453; border-radius:15px; background:#fff0d8f5; box-shadow:0 5px 18px #133f4955,inset 0 0 0 2px #fff7e4; }
.multiplayer .activity-launcher h2 { font:700 1.1rem Georgia,serif; margin:0 0 5px; }
.multiplayer .activity-launcher p { margin:4px 0 8px; }
.multiplayer .activity-launcher button { padding:7px 10px; font-size:.82rem; }
.multiplayer .location-mode .activity-launcher {
  top: auto; bottom: calc(1% + clamp(56px, 7%, 64px) + 4px); left: 50%; right: auto; transform: translateX(-50%);
  width: max-content; max-width: 94%; flex-direction: row; flex-wrap: wrap;
  justify-content: center; gap: 6px 8px; padding: 6px 8px;
}
.multiplayer .location-mode .activity-launcher > strong { font-size: .9rem; }
.multiplayer .location-mode .activity-launch-controls { justify-content: center; flex-wrap: wrap; max-width: 100%; }
.multiplayer .location-mode:is([data-scene="beach"], [data-scene="garden"]) .activity-launch-controls { width: 100%; flex-wrap: nowrap; gap: 4px; }
.multiplayer .location-mode:is([data-scene="beach"], [data-scene="garden"]) .activity-launch-controls button { flex: 1 1 0; min-width: 0; padding: 5px 2px; }
.multiplayer .activity-place-groups { gap:6px; }
.multiplayer .activity-score-entry { width:100%; margin:0 0 8px; }
.multiplayer .activity-place-group summary { min-height:44px; padding:7px 10px; }
.multiplayer .activity-place-group summary small { display:inline; margin:0 0 0 6px; font-size:.72rem; line-height:1.2; }
.multiplayer .activity-place-rows { padding:0 8px 5px; }
.multiplayer .activity-place-row { gap:10px; min-height:58px; padding:8px; border:1px solid #b9a07877; border-radius:12px; margin:6px 0; background:linear-gradient(105deg,#fff8e5,#eadcbd66); box-shadow:inset 0 1px #fff9; }
.multiplayer .activity-place-row > span:last-child { gap:3px; }
.multiplayer .activity-place-row strong { font-size:.9rem; }
.multiplayer .activity-place-row small { font-size:.75rem; line-height:1.3; }
.multiplayer .activity-place-row .place-icon { display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px; }
.multiplayer .activity-place-row .place-icon svg { display:block;width:36px;height:36px; }
.multiplayer .activity-body { padding:10px 14px 0; }
.multiplayer .activity-footer { padding:6px 14px 14px; gap:7px; }
.multiplayer .activity-intro { margin-bottom:10px; font-size:.87rem; }
.multiplayer .activity-controls,.multiplayer .activity-choices { margin:9px 0; gap:7px; }
.multiplayer .cabin-header { padding:6px 12px; gap:6px; grid-template-columns:44px minmax(0,1fr) auto; }
.multiplayer .cabin-header h2 { grid-column:auto; font-size:1.4rem; overflow-wrap:anywhere; }
.multiplayer .cabin-header .cabin-back { min-width:44px; min-height:44px; padding:6px 0; text-align:center; }
.multiplayer .cabin-header .cabin-wallet { max-width:7rem; padding:6px 8px; overflow-wrap:anywhere; }
.multiplayer .cabin-back { font-size:.82rem; min-height:40px; }
.multiplayer .cabin-body { padding:10px 14px 8px; }
.multiplayer .cabin-intro { font-size:.88rem; margin:8px 0; }
.multiplayer .cabin-rooms { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:5px; margin-bottom:10px; }
.multiplayer .cabin-rooms .cabin-button { min-width:44px; white-space:normal; font-size:.79rem; padding:6px; }
@media(max-width:600px){
  .multiplayer .cabin-rooms { grid-template-columns:repeat(6,minmax(0,1fr)); }
  .multiplayer .cabin-rooms .cabin-button { grid-column:span 2; }
  .multiplayer .cabin-rooms .cabin-button:nth-child(n+4) { grid-column:span 3; }
}
.multiplayer .cabin-actions { gap:7px; margin:10px 0; }
.multiplayer .cabin-actions .cabin-button { flex-basis:130px; }
.multiplayer .cabin-shop-item { border-radius:13px; padding:12px; background:linear-gradient(145deg,#fff9e9,#f0e2c5); box-shadow:inset 0 0 0 2px #fff7e3; }
.multiplayer .cabin-shop-item h3 { font-size:1.05rem; }
.multiplayer .cabin-shop-item p { font-size:.8rem; }
.multiplayer .cabin-shop-item > strong { font-size:.83rem; margin-bottom:8px; }
.multiplayer .cabin-shop-item > button { padding:7px; font-size:.8rem; }
.multiplayer .cabin-wallet { color:#315747; background:linear-gradient(#edf1d9,#d6dfb7); }
.multiplayer .cabin-room-art { box-shadow:0 3px 8px #50331933; }
.cabin-room-slot > img.painted-furnishing { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; object-position:center bottom; filter:drop-shadow(1px 2px 1px #442a1455); }
.cabin-slot-curtain > img.painted-furnishing,.cabin-slot-floor > img.painted-furnishing { object-fit:fill; }
.cabin-shop-item > img.painted-furnishing { display:block; width:90px; height:90px; object-fit:contain; margin:0 auto; }
.multiplayer .pocket-sky-board { height:clamp(210px,36dvh,300px); }
.pocket-sky-board,.pocket-sky-picture { background-image:url('../assets/images/polish/pocket-sky-painted-v1.webp'); background-size:cover; background-position:center; }
.pocket-sky-board.sky-cloudy,.pocket-sky-picture.sky-cloudy { background-image:linear-gradient(#6b91aa44,#19384e88),url('../assets/images/polish/pocket-sky-painted-v1.webp'); }
.pocket-sky-board.sky-twilight,.pocket-sky-picture.sky-twilight { background-image:linear-gradient(#66486855,#28435b55),url('../assets/images/polish/pocket-sky-painted-v1.webp'); }
.multiplayer .pocket-sky-picture:not(.compact) { min-height:140px; padding:16px; gap:8px; }
.multiplayer .sky-board { height:clamp(210px,36dvh,300px); }
.multiplayer .keepsake-art { min-height:160px; }
.multiplayer .collection-card .keepsake-art.compact { min-height:78px; height:78px; box-sizing:border-box; }
.multiplayer .collection-card { padding:10px; gap:10px; }
.halloween-scene { position:relative; width:min(42%, 140px, 13dvh); margin:8px auto; overflow:hidden; border-radius:12px; box-shadow:0 2px 6px #45372955; }
.halloween-scene.is-close { width:min(100%, 340px); }
.halloween-shop-intro {display:flex;gap:12px;align-items:center;margin:4px 0;}
.guided-visit-dialog .activity-body {display:flex;flex-direction:column;gap:10px;}
.guided-visit-dialog p {margin:0;line-height:1.45;}
.guided-cabin-art {width:100%;max-height:210px;object-fit:cover;border-radius:12px;}
.guided-bat-art {display:block;width:min(190px,60%);height:auto;align-self:center;}
.halloween-shop-intro>img {width:clamp(86px,28%,130px);height:auto;flex-shrink:0;}
.halloween-shop-intro h3 {margin:0 0 6px;font-size:1.1rem;}
.halloween-shop-intro p {margin:5px 0;}
.halloween-shop-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.halloween-shop-item {display:flex;align-items:center;flex-direction:column;gap:6px;padding:8px;border:1px solid #b68c54;border-radius:12px;background:#fff5df;min-width:0;text-align:center;}
.halloween-shop-item>img {width:100%;height:64px;object-fit:contain;}
.halloween-shop-item>strong {font-size:.85rem;}
.halloween-shop-item>button {width:100%;font-size:.85rem;padding:6px;}
.halloween-owner-pumpkin {width:19%;height:auto;left:65%;top:68%;object-fit:contain;filter:drop-shadow(0 2px 2px #35220b88);}
@media(max-width:360px){.halloween-world .halloween-owner-pumpkin{top:60%;}}
.island-next-action {box-shadow:0 0 0 3px #ddb76588;animation:island-next-glow 3s ease-in-out infinite;}
@keyframes island-next-glow {50% {box-shadow:0 0 0 5px #ddb76533;}}
@media(prefers-reduced-motion:reduce){.island-next-action{animation:none;}}
.island-still .island-next-action {animation:none;}
.halloween-background { display:block; width:100%; height:auto; }
.halloween-prop { position:absolute; display:block; height:auto; pointer-events:none; }
.halloween-world { position:absolute;inset:0;pointer-events:none;z-index:2;display:none; }
.island-screen[data-scene="cabin"] .halloween-world:not([hidden]) { display:block; }
.halloween-lights { left:36%; top:27%; width:40%; }
.halloween-birdcage { left:66%; top:24%; width:15%; }
.halloween-ghost-dog { left:7%; top:20%; width:22%; }
.halloween-gravestones { left:30%; top:62%; width:28%; }
.halloween-council { margin:10px 0; padding:10px; border:1px solid #ad8553; border-radius:12px; background:#fcf2dc; }
.halloween-council-portraits { display:flex; justify-content:center; gap:10px; }
.halloween-council-portraits img { width:58px; height:58px; object-fit:contain; }
.halloween-council h3,.halloween-council p { margin:4px 0; }
.cabin-event-exclusive { border:2px solid #ae8034; box-shadow:inset 0 0 0 2px #f1d582,0 2px 6px #75551c33; }
.multiplayer .activity-button.quiet { border-color:#aa885b; }
.multiplayer .island-menu .offline-pack a { padding:9px 0; margin:4px 0; }
.multiplayer .island-hud { border-radius:13px; box-shadow:0 3px 9px #28516455,inset 0 1px #fff; }
.multiplayer .nav-overlays { background:linear-gradient(#fff2d6,#e9d8b3); box-shadow:inset 0 1px #fff,0 3px 12px #23444555; }
.multiplayer .nav-hotspot.active { background:linear-gradient(#efe1be,#ddc694); }
.cabin-birthday-frame { position:absolute; width:10%; height:17%; left:63%; top:22%; padding:1%; border:1px solid #6e472a; background:#b48851; box-shadow:1px 2px 2px #39231177,inset 0 0 0 1px #e8c695; transform:rotate(1deg); box-sizing:border-box; pointer-events:none; }
.cabin-birthday-frame img { display:block; width:100%; height:100%; object-fit:cover; object-position:50% 43%; }
@media(max-width:360px){
  .multiplayer .activity-dialog { width:calc(100vw - 8px); max-width:calc(100vw - 8px); border-width:6px; border-image-width:6px; }
  .multiplayer .cabin-dialog { width:calc(100vw - 8px); max-width:calc(100vw - 8px); border-width:6px; border-image-width:6px; }
  .multiplayer .cabin-dialog[data-screen="game"] .cabin-body { padding-inline:4px; }
  .multiplayer .cabin-dialog .glass-board { padding:4px; gap:2px; }
  .multiplayer .activity-dialog .glass-piece { min-height:44px; }
  .multiplayer .activity-dialog .activity-body { padding-inline:4px; }
  .multiplayer .activity-dialog .glass-board { padding:4px; gap:2px; }
  .multiplayer .activity-body,.multiplayer .cabin-body { padding-inline:10px; }
  .multiplayer .activity-footer { padding-inline:10px; }
  .multiplayer .island-menu { width:calc(100vw - 16px); padding-inline:12px; }
  .multiplayer .cabin-actions .cabin-button { flex-basis:110px; }
}
@media(prefers-reduced-motion:reduce){.multiplayer:not(.island-motion-enabled) button { transition:none!important; }}
.island-still button { transition:none!important; }
/* Honey-timber signs keep labels live and reuse the accepted frame/materials. */
:root { --sign-grain:repeating-linear-gradient(2deg,transparent 0 5px,#8b5b2b0c 6px 7px,transparent 8px 13px); --sign-light:linear-gradient(105deg,#f5d29b,#e8bc7d 48%,#f3d5a4); }
.multiplayer :is(.activity-button,.cabin-button,.secondary-button,.offline-pack button,.island-menu .multiplayer-panel button) {
  background-image:var(--sign-grain),var(--sign-light);background-color:#edc58b;color:#49301d;border-color:#92612f;border-radius:8px 11px 9px 7px;
  box-shadow:inset 0 1px 0 #fff0cf,inset 0 -2px 0 #a8743c55,0 2px 0 #81542c,0 3px 5px #50341725;text-shadow:0 1px #fff4d66e;font-weight:650;
}
.multiplayer button:is(.activity-button,.cabin-button,.secondary-button)[aria-pressed="true"] {background-image:var(--sign-grain),linear-gradient(#d4e5c5,#bad5ad);color:#244b37;box-shadow:inset 0 0 0 2px #4a7858,inset 0 1px #edf8df,0 2px #527151;}
.multiplayer button:is(.activity-button,.cabin-button,.secondary-button):disabled {opacity:1;color:#766650;border-color:#b8a487;background-image:var(--sign-grain),linear-gradient(#e9ddc6,#dbcfb7);box-shadow:inset 0 1px #fff7e477,0 1px #b5a387;text-shadow:none;cursor:default;}
.multiplayer :is(.activity-header,.cabin-header,.island-menu-header) {background-image:var(--sign-grain),linear-gradient(#f5d8ab,#edc994);}
.multiplayer .nav-overlays {background-image:var(--sign-grain),var(--sign-light);}
.multiplayer .nav-hotspot.active {background-image:var(--sign-grain),linear-gradient(#f9e8c5,#dbb17a);box-shadow:inset 0 0 0 1px #8e623e,inset 0 1px #fff3d5,0 1px #a37b51;}
.multiplayer .storybook-map .island-landmark-label {background-image:var(--sign-grain),var(--sign-light);border-radius:6px 9px 6px 7px;border-color:#946532;box-shadow:inset 0 1px #fff4da,0 2px 3px #49301d55;}
.multiplayer .event-location::before {content:attr(data-event-label);animation:none;width:auto;height:auto;min-width:0;padding:4px 7px;border-radius:6px;border:1px solid #886236;background:var(--sign-light);color:#49301d;box-shadow:0 2px 3px #39281555;font:700 clamp(10px,2.8vw,13px)/1.1 system-ui,sans-serif;text-shadow:none;transform:translate(-50%,-50%);}
.multiplayer .event-location::after {display:none;}
.multiplayer .event-location.event-completed::before {opacity:.85;filter:none;}
/* Tier colour supplements explicit text. Unclassified/keepsakes stay neutral. */
.collection-card[data-rarity] {--rarity-rim:#8c8174;--rarity-paper:#f1ece3;border-left:5px solid var(--rarity-rim);}
.collection-card[data-rarity="common"] {--rarity-rim:#7a7b7c;--rarity-paper:#ececec;}
.collection-card[data-rarity="uncommon"] {--rarity-rim:#43834d;--rarity-paper:#e7f1e3;}
.collection-card[data-rarity="rare"] {--rarity-rim:#3774af;--rarity-paper:#e4eef8;}
.collection-card[data-rarity="epic"] {--rarity-rim:#8652a7;--rarity-paper:#f0e7f6;}
.collection-card[data-rarity="legendary"] {--rarity-rim:#a77a26;--rarity-paper:#faf0ce;}
.collection-card[data-rarity] .collection-rarity {display:inline-block;width:fit-content;padding:3px 7px;border:1px solid var(--rarity-rim);border-radius:6px;background:var(--rarity-paper);color:#443728;font-weight:700;}
.multiplayer .planter-scene {background:#947044 url('../assets/images/polish/starter/starter-bench-painted-v1.webp') center/cover;}
.multiplayer .planter-scene::before {display:none;}
.multiplayer .planter-scene::after {content:'';display:block;inset:auto 1.5% 22% auto;width:27%;height:auto;aspect-ratio:420/320;border-radius:0;z-index:1;background:url('../assets/images/polish/starter/starter-watering-painted-v1.webp') center/contain no-repeat;pointer-events:none;}
.multiplayer .planter-scene .scene-slot {width:22%;height:44%;bottom:42%;transform:translateX(-50%);z-index:2;}
.multiplayer .planter-scene .scene-slot-0 {left:18%;}.multiplayer .planter-scene .scene-slot-1 {left:38%;}.multiplayer .planter-scene .scene-slot-2 {left:56%;}
.multiplayer .planter-scene .scene-slot .planter-flower {position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain;object-position:center bottom;filter:none;}
.multiplayer .planter-scene .scene-slot small {position:absolute;top:calc(100% + 8px);font-size:clamp(9px,2.5vw,11px);padding:3px 4px;}
.multiplayer .object-choice .planter-flower {width:50px;height:52px;object-fit:contain;}
.multiplayer .parcel-keepsake {background:#bc9059 url('../assets/images/polish/breakfast-table-painted-v1.webp') center/cover;min-height:190px;}
.multiplayer .parcel-keepsake > svg {position:absolute;width:46%;height:50%;left:27%;bottom:3%;margin:0;}
.multiplayer .parcel-keepsake > .parcel-gift {width:50%;height:48%;left:50%;top:15%;bottom:auto;transform:translateX(-50%);z-index:1;}
.multiplayer .parcel-keepsake > svg:not(.parcel-gift) {z-index:2;}
.multiplayer .parcel-keepsake.empty {min-height:140px;}.multiplayer .parcel-keepsake.empty > svg {height:85%;bottom:5%;}
.multiplayer .parcel-keepsake.compact {min-height:95px;height:95px;}
.multiplayer .sky-board {background:#223d63 url('../assets/images/polish/pocket-sky-painted-v1.webp') center/cover;}
.multiplayer .sky-board::after {display:none;}
.multiplayer .sky-object {box-sizing:border-box;width:58px;height:58px;min-width:58px;min-height:58px;padding:4px;font-size:0;line-height:1;}
.multiplayer .sky-object svg {display:block;width:100%;height:100%;pointer-events:none;}
.multiplayer .sky-object.found::after {content:'✓';position:absolute;right:-3px;bottom:-3px;width:20px;height:20px;border-radius:50%;background:#f7f4dc;color:#254c42;border:1px solid #497262;font:700 14px/20px system-ui,sans-serif;}
.multiplayer .timed-soil {height:31%;border:0;border-radius:0;background:url('../assets/images/polish/garden-soil-painted-v1.webp') center bottom/contain no-repeat;}

.halloween-round-receipt{margin:6px 12px;padding:8px 12px;border:1px solid #b28a4f;border-radius:12px;background:#fff0cf;color:#453729;font-size:.9rem;text-align:center;box-shadow:0 2px 6px #38251625;}

/* Compact optional audio tools and two independent earned pumpkins. */
.game-audio-tools{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0 0 8px;font-size:.78rem}
.game-audio-tools button{font-size:.76rem;min-height:36px;padding:5px 9px}
.game-audio-tools details{max-width:100%}.game-audio-tools summary{cursor:pointer;padding:8px}
.game-audio-tools small[role=status]:empty{display:none}.game-audio-tools small[role=status]{flex-basis:100%}
.halloween-owner-pumpkin.pumpkin-glen{left:57%;width:17%}.halloween-owner-pumpkin.pumpkin-sam{left:76%;width:17%;top:69%}
@media(max-width:360px){.halloween-world .halloween-owner-pumpkin.pumpkin-sam{top:61%;}}

.hidden-toolbar{display:flex;gap:8px;margin-bottom:8px}.hidden-viewport{overflow:auto;max-height:58vh;border-radius:16px;background:#60472f;overscroll-behavior:contain}.hidden-canvas{position:relative;min-width:100%;line-height:0}.hidden-preview{width:100%;height:auto;border-radius:12px;display:block}.hidden-preview.compact{width:100px;flex:0 0 100px}.hidden-target{position:absolute!important;min-width:0!important;min-height:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;line-height:1;color:transparent!important}.hidden-target.found{outline:3px solid #eac86e;background:#ffe49a33!important;color:#173e32!important;font-size:22px;opacity:1}.hidden-target:focus-visible{outline:3px solid white}.hidden-checklist{display:grid;grid-template-columns:1fr 1fr;gap:6px 16px;padding-left:20px;font-size:.88rem}.hidden-checklist .found{color:#39795f;text-decoration:line-through}.story-tokens .activity-object{width:40px;height:40px}.activity-choices .activity-object{width:46px;height:46px;flex-shrink:0}

.rhythm-rock{width:64px;height:64px;object-fit:contain}.rock-stage>.rhythm-rock{width:86px;height:86px}.stone-pattern span{background:transparent!important;box-shadow:none!important;padding:1px!important;min-width:0}.stone-pattern .rhythm-rock{width:clamp(32px,9vw,60px);height:auto}.activity-choices .rhythm-rock{width:42px;height:42px}.delivery-prop{width:150px;height:150px;object-fit:contain}.delivery-destinations button{display:flex;align-items:center;gap:8px}.delivery-destinations img{width:64px;height:48px;object-fit:cover;border-radius:9px}.seed-sorting-packet{display:flex;align-items:center;justify-content:center;gap:12px;background:#f4e5be;border-radius:14px;padding:12px}.seed-sorting-packet svg{width:90px;height:90px}.crop-choices svg{max-width:70px;max-height:70px}
.keepsake-mystery-rock{gap:clamp(4px,3vw,18px);background:linear-gradient(#fff6e2a8,#e6d4a8ce),url('../assets/images/polish/scenes/mystery-rock-delivery-v1-480.webp') center / cover}.keepsake-mystery-rock .rhythm-rock{width:clamp(52px,20vw,90px);height:auto;filter:drop-shadow(0 4px 3px #44352455)}.keepsake-mystery-rock.compact{gap:0;overflow:hidden}.keepsake-mystery-rock.compact .rhythm-rock{width:32%;height:auto;min-width:0}
.keepsake-mystery-rock .rhythm-rock{min-width:0;max-width:23%}.keepsake-mystery-rock.compact .rhythm-rock{max-width:25%}.activity-dialog[data-content="shore-rhythms-v2"] .stone-pattern{width:100%;gap:1px}.activity-dialog[data-content="shore-rhythms-v2"] .stone-pattern span{flex:1 1 0;min-width:0;height:auto;aspect-ratio:1}.activity-dialog[data-content="shore-rhythms-v2"] .shore-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:6px}.shore-choices button{min-width:0;min-height:54px;display:flex;align-items:center;justify-content:center;gap:4px}.shore-choices .rhythm-rock{width:40px;flex:none}

.game-audio-tools{display:block;margin:0 0 6px}.game-audio-tools>summary{font-size:.8rem;color:#526953;cursor:pointer;padding:4px 0}.game-audio-tools[open]{padding-bottom:6px;border-bottom:1px solid #ad855355}.game-audio-tools>button{margin:4px 4px 4px 0}.game-audio-tools>small{display:block}.activity-dialog[data-content="lookout-hidden-v1"] .activity-intro{margin:6px 0 10px}.activity-dialog[data-content="lookout-hidden-v1"] h3{margin:8px 0}.hidden-checklist{margin:8px 0;line-height:1.35}.hidden-viewport .hidden-target{border-radius:20%}

.hidden-canvas[data-zoom="3"] .hidden-target{min-width:44px!important;min-height:44px!important}

.activity-dialog[data-content="campfire-tales-v3"] .personal-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.activity-dialog[data-content="campfire-tales-v3"] .personal-slots button{min-width:0;white-space:normal}
@media(min-width:700px){.activity-dialog[data-content="campfire-tales-v3"] .personal-slots{grid-template-columns:repeat(4,minmax(0,1fr))}}

.activity-dialog[data-content="message-dock"] .delivery-stage{padding:12px;gap:6px}.activity-dialog[data-content="message-dock"] .delivery-prop{width:110px;height:110px}.delivery-guide{margin:8px 0;font-size:.85rem}.delivery-guide summary{padding:7px;cursor:pointer}.delivery-guide p{margin:5px}.stone-pattern{gap:2px}.stone-pattern span{flex:1;max-width:58px;width:auto;height:58px}.stone-pattern .rhythm-rock{width:100%;height:auto}
