/* New play surfaces use live text and controls. Accepted illustration files stay intact. */
.activity-connection { margin: 0; padding: 8px 16px; background: #f4e7c5; border-bottom: 1px solid #b99b62; color: #59472c; font-size: .82rem; line-height: 1.4; }
.activity-connection[hidden] { display: none; }
.island-hud .island-continue { padding: 5px 10px; margin-left: auto; border: 1px solid #8ba782; background: #e3edce; border-radius: 10px; font-size: .75rem; font-weight: 750; }
.island-hud .island-continue[hidden] { display: none; }
.garden-world-crops { display: none; position: absolute; inset: 0; pointer-events: none; z-index: 8; }
.storybook-world[data-scene="garden"] .garden-world-crops:not([hidden]) { display: block; }
.world-crop { position: absolute; width: 40%; height: 20%; padding: 0; border: 0; border-radius: 30%; background: none; pointer-events: auto; cursor: pointer; }
.world-crop-0 { left: 8%; top: 28%; }
.world-crop-1 { left: 29%; top: 37%; }
.world-crop-2 { left: 53%; top: 47%; }
.world-crop img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 3px 2px #3b502966); }
.world-crop span { font-size: clamp(2rem,10vw,3.5rem); }
.world-crop .world-crop-gathered { display:inline-block;padding:6px 9px;border:1px solid #79966c;border-radius:13px;background:#eef2dbe8;color:#35513c;font:700 .7rem system-ui; }
.world-crop:focus-visible { outline: 3px solid #fff6cf; box-shadow: 0 0 0 5px #487a58; }
.world-patch-caption { position: absolute; top: 17%; left: 5%; right: 5%; display: flex; justify-content: center; align-items: center; gap: 7px; pointer-events: auto; }
.world-patch-caption > span { background: #fff3d8e8; color: #354e3c; border: 1px solid #9db085; border-radius: 10px; padding: 6px 9px; font-size: .7rem; font-weight: 650; }
.world-patch-toggle { border: 1px solid #9db085; background: #e1ebd0; color: #354e3c; border-radius: 10px; padding: 5px 8px; min-height: 44px; font: 700 .7rem system-ui; cursor: pointer; }
.growing-patch { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding: 20px 10px 14px; min-height: 230px; border-radius: 20px; background: linear-gradient(#d2e8d6,#c6d9ad 66%,#b5c190); }
.multiplayer .growing-patch {position:relative;display:block;padding:0;min-height:0;aspect-ratio:3/2;background:#8b6b44 url('../assets/images/polish/starter/starter-bench-painted-v1.webp') center/cover;}
.multiplayer .growing-patch .growing-bed {position:absolute;bottom:42%;width:22%;height:46%;padding:0;transform:translateX(-50%);background:none;border-width:2px;}
.growing-patch .bed-0{left:18%}.growing-patch .bed-1{left:38%}.growing-patch .bed-2{left:56%}
.multiplayer .growing-patch .growing-bed img {height:100%;width:100%;max-width:100%;object-fit:contain;object-position:center bottom;}
.multiplayer .growing-patch .patch-label {top:calc(100% + 8px);bottom:auto;font-size:clamp(9px,2.6vw,12px);padding:3px 1px;}
.multiplayer .growing-patch :is(.patch-picked,.patch-empty,.patch-sprout) {margin:0;font-size:clamp(24px,8vw,40px);}
.multiplayer .growing-patch::after {content:'';position:absolute;right:1.5%;bottom:22%;width:27%;aspect-ratio:420/320;background:url('../assets/images/polish/starter/starter-watering-painted-v1.webp') center/contain no-repeat;pointer-events:none;}
.growing-bed { min-width: 0; position: relative; display: flex; align-items: end; justify-content: center; border: 3px solid transparent; border-radius: 13px; background: linear-gradient(transparent 75%,#73503b 75% 85%,#ab8051 85%); background-repeat: no-repeat; background-clip: padding-box; padding: 5px 0 24px; cursor: pointer; }
.growing-bed.selected { border-color: #4b8567; background-color: #f1ebcb66; }
.growing-bed img { width: 112%; max-width: 112%; height: 165px; object-fit: contain; object-position: center bottom; pointer-events: none; }
.patch-label { position: absolute; bottom: 3px; left: 0; right: 0; text-align: center; font-size: .65rem; line-height: 1.2; font-weight: 750; background: #fff3d9; color: #324d43; border-radius: 5px; padding: 3px 0; }
.patch-sprout { font-size: 3rem; margin-bottom: 15px; }
.patch-empty,.patch-picked { font-size: 2.5rem; color: #416a50; margin-bottom: 17px; }
.growing-bed.picked { cursor: default; opacity: 1; }
.crop-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin-bottom: 12px; }
.crop-choice { display: flex; gap: 7px; align-items: center; padding: 8px !important; font-size: .83rem; }
.crop-choice svg { width: 39px; height: 39px; flex: 0 0 39px; }
.crop-choice[aria-pressed="true"] { color: #254c42; background: #d8e9d0; }
.harvest-basket { width: 100%; height: 190px; min-height: 190px; position: relative; border-radius: 20px; background: linear-gradient(#e1e7cd,#c4d4b3); overflow: hidden; margin-bottom: 12px; }
.harvest-basket.compact { width: 120px; height: 120px; min-height: 120px; flex: 0 0 120px; margin: 0; }
.basket-produce { position: absolute; inset: 2% 9% 37%; display: flex; align-items: end; z-index: 1; }
.basket-produce svg { width: 34%; max-height: 100%; }
.basket-weave { position: absolute; left: 10%; right: 10%; top: 58%; bottom: 10%; border: 6px solid #956337; border-radius: 0 0 40% 40%; background: repeating-linear-gradient(0deg,#bc8a51 0 8px,#966637 9px 12px); z-index: 2; }
.harvest-basket.compact .basket-weave { border-width: 4px; }
.multiplayer .harvest-basket {aspect-ratio:3/2;height:auto;min-height:0;background:#b28a57 url('../assets/images/polish/breakfast-table-painted-v1.webp') center/cover;isolation:isolate;}
.multiplayer .harvest-basket.compact {width:120px;height:80px;min-height:0;}
.multiplayer .harvest-basket .basket-weave {inset:0;border:0;border-radius:0;background:url('../assets/images/polish/harvest-basket-painted-v1.webp') center/100% 100% no-repeat;z-index:0;}
.multiplayer .harvest-basket .basket-produce {inset:8% 20% 35%;z-index:1;align-items:end;}
.multiplayer .harvest-basket::after {content:'';position:absolute;inset:0;background:url('../assets/images/polish/harvest-basket-painted-v1.webp') center/100% 100% no-repeat;clip-path:inset(54% 0 0);z-index:2;pointer-events:none;}
.shelf-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.shelf-tabs button { flex: 1; padding: 8px; }
.shelf-tabs [aria-pressed="true"],.shelf-dialog .activity-choices [aria-pressed="true"] { background: #d8e9d0; border-color: #397666; }
.shelf-stage { position: relative; height: min(39dvh, 330px); min-height: 190px; border-radius: 22px; overflow: hidden; background: linear-gradient(#e4dfca 0 82%,#b79468 82%); }
.shelf-squishy { background: linear-gradient(#d7ddd0,#ede4cc); }
.shelf-squishy::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 22px; z-index: 1; pointer-events: none; background: repeating-linear-gradient(0deg,#94704d 0 5px,#a17d55 6px 9px); box-shadow: 0 3px 5px #293f3b44; }
.shelf-stage.evening { background: radial-gradient(ellipse at 50% 45%,#315c52,#172e37 70%); }
.shelf-toy { display: grid; place-items: center; width: 100%; height: 100%; padding: 8px; background: none; border: 0; cursor: pointer; }
.shelf-toy:focus-visible { outline: 3px solid #3e8470; outline-offset: -5px; border-radius: 22px; }
.shelf-toy img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.shelf-squishy img { filter: drop-shadow(0 5px 5px #50796844); }
.shelf-squishy.evening img { filter: sepia(.3) saturate(1.25) hue-rotate(50deg) drop-shadow(0 0 13px #70ff98); }
.shelf-jeep { background: linear-gradient(#c7dbd2 0 70%,#b4aa8e 70%); }
.shelf-toy img.facing-left { transform: scaleX(-1); }
.cabin-squishy { display:none;position:absolute;left:66%;top:34%;width:15%;height:19%;min-width:44px;min-height:66px;padding:0;border:0;border-radius:14px;background:none;z-index:11;cursor:pointer; }
.storybook-world[data-scene="cabin"] .cabin-squishy:not([hidden]) { display:block; }
.cabin-squishy::before { content:'';position:absolute;left:0;right:0;top:0;height:6px;border-radius:2px;background:#8b6848;box-shadow:0 2px 2px #3a3f3033;z-index:1;pointer-events:none; }
.cabin-squishy img { display:block;width:100%;height:100%;object-fit:contain;object-position:center top;filter:drop-shadow(0 2px 2px #28433766); }
.cabin-squishy.evening img { filter:sepia(.3) saturate(1.25) hue-rotate(50deg) drop-shadow(0 0 9px #70ff98); }
.cabin-squishy:focus-visible { outline:3px solid #fff3cf;box-shadow:0 0 0 5px #3d705e; }
.shelf-dialog h3 { margin: 14px 0 4px; }
.personal-stage { position: relative; min-height: 220px; border-radius: 22px; overflow: hidden; background: #e2e7cc; margin-bottom: 12px; }
.personal-stage.compact { width: 120px; flex: 0 0 120px; min-height: 120px; height: 120px; margin: 0; }
.personal-stage.compact .breakfast-plate { border-width: 6px; }
.personal-stage.compact .breakfast-coffee { font-size: .8rem; border-top-width: 5px; }
.personal-stage.compact.personal-garden-starter { padding: 0; height: 80px; min-height: 0; }
.personal-stage.compact.personal-garden-goose { padding: 5px; gap: 2px; }
.personal-stage.compact .goose-sign { font-size: .5rem; padding: 3px; border-width: 2px; max-width: 45px; }
.personal-stage.compact.personal-lookout-samich > .painted-sandwich { width: 35px; height: 35px; }
.personal-stage svg { display: block; }
.personal-cabin-breakfast { background: repeating-linear-gradient(0deg,#bb996b 0 38px,#c4a475 39px 41px); }
.breakfast-plate { position: absolute; width: 60%; aspect-ratio: 1.45; left: 6%; top: 18%; border: 12px solid #d6e4bb; border-radius: 50%; background: #91b28b; box-shadow: 0 9px 0 #765b3b55,inset 0 0 0 3px #7c9e73; }
.breakfast-plate.cream-plate { background: #efe1b8; border-color: #fff5dc; }
.breakfast-plate.blue-plate { background: #8fbdcb; border-color: #b9dce3; }
.potato-stack { position: absolute; inset: 13% 11%; display: flex; flex-wrap: wrap; gap: 3%; align-content: center; justify-content: center; transform: rotate(-10deg); }
.potato-stack span { width: 28%; height: 36%; border: 2px solid #9b692e; border-radius: 7px; background: repeating-linear-gradient(90deg,#dfb26c 0 7px,#c48b45 8px 10px); box-shadow: 0 3px 0 #83582d; }
.breakfast-coffee { position: absolute; left: 73%; top: 29%; width: 18%; height: 37%; display: grid; place-items: center; background: #f3e8c9; border: 3px solid #b8a783; border-top: 10px solid #67452e; border-radius: 35% 35% 28% 28%; box-shadow: 0 6px 0 #765b3b55; color: #6c9780; font-size: 1.8rem; }
.breakfast-coffee::after { content: ""; width: 33%; height: 44%; border: 6px solid #e0d0aa; position: absolute; right: -39%; top: 15%; border-radius: 50%; }
.personal-slots { display: flex; gap: 6px; margin-top: 12px; }
.personal-slots button { flex: 1; padding: 7px 9px; font-size: .85rem; }
.personal-slots [aria-pressed="true"] { border-color: #397666; background: #d8e9d0; }
.personal-garden-starter { width: 100%; max-width: 520px; aspect-ratio: 3 / 2; min-height: 0; margin-inline: auto; padding: 0; isolation: isolate; background: #947044; }
.starter-bench { display: block; width: 100%; height: 100%; object-fit: cover; }
.starter-flower { position: absolute; height: 44%; width: auto; max-width: 22%; object-fit: contain; bottom: 42%; transform: translateX(-50%); }
.starter-flower-lavender { height: 46%; }
.starter-watering { position: absolute; width: 27%; height: auto; right: 1.5%; bottom: 22%; filter: drop-shadow(1px 3px 2px #49321b55); }
.starter-empty { position: absolute; top: 56%; transform: translate(-50%,-50%); width: 1.35em; height: 1.35em; display: grid; place-items: center; border-radius: 50%; background: #fff2d8de; color: #453729; font-size: clamp(12px,3vw,19px); font-weight: 700; line-height: 1; }
.compact .starter-empty { font-size: 10px; }
.otter-room-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.otter-room-pair strong { display: block; text-align: center; margin-bottom: 7px; }
.otter-own-room { aspect-ratio:4/3;height:auto;position:relative;overflow:hidden;background:#b68a54 url('../assets/images/polish/otter-corner-room-painted-v1.webp') center/100% 100% no-repeat;border:2px solid #c0a880;border-radius:12px; }
.otter-room-object {position:absolute;object-fit:contain;object-position:bottom;transform:translateX(-50%);filter:drop-shadow(0 2px 1px #35220c40);}
.personal-otter-redecorating .otter-own-room { min-height:0; }
.personal-stage.personal-otter-redecorating{min-height:0;background:transparent}
.personal-stage.compact.personal-otter-redecorating{height:auto;aspect-ratio:4/3}
.personal-stage.compact .otter-own-room { min-height:0;height:auto;width:100%; }
.personal-lookout-samich { background: linear-gradient(#badedb 0 60%,#91bba0 60% 74%,#c8ae83 74%); }
.picnic-roof { position: absolute; left: 16%; top: 6%; width: 68%; height: 30%; background: #9c7952; clip-path: polygon(50% 0,100% 90%,100% 100%,0 100%,0 90%); }
.picnic-bench { position: absolute; left: 23%; top: 60%; width: 52%; height: 16%; background: #c99c68; border: 3px solid #8e6944; }
.picnic-bench::before,.picnic-bench::after { content: ""; position: absolute; top: -260%; width: 5%; height: 390%; background: #94734f; }
.picnic-bench::before { left: 3%; }
.picnic-bench::after { right: 3%; }
.personal-lookout-samich > .painted-sandwich,.samich-find { position: absolute; width: 65px; height: 65px; left: 65%; top: 67%; }
.samich-find { background: none; border: 2px dashed #5d8170; border-radius: 12px; color: transparent; font-size: 0; padding: 3px; cursor: pointer; }
.samich-find .painted-sandwich { display:block;width:100%;height:100%;object-fit:contain; }
.personal-garden-goose { background: radial-gradient(ellipse at 20% 20%,#c7d7ab,#819f72); display: flex; align-items: end; justify-content: center; gap: 12px; padding: 18px; }
.personal-garden-goose > svg { width: 165px; height: 165px; }
.personal-stage.compact.personal-garden-goose > svg { width: 90px; height: 90px; }
.goose-sign { padding: 12px; border: 3px solid #aa8353; background: #f5e7c6; transform: rotate(5deg); font: 700 .9rem Georgia,serif; max-width: 110px; text-align: center; }
.personal-result { color: #2e6457; font-family: Georgia,serif; font-size: 1.08rem; line-height: 1.45; }
.otter-dialog { width: min(94vw, 760px) !important; }
.otter-scene { width: min(100%, 58.9dvh, 571px); margin-inline: auto; display: block; border: 1px solid #adc6bb; border-radius: 22px; background: #a8d8d8; overflow: hidden; }
.otter-stats { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; margin-bottom: 12px; font-size: .9rem; }
.otter-stats span { color: #47636b; }
.otter-turn { font-weight: 750; margin: 14px 0 10px; }
.otter-last-shot { font-size: .8rem; color: #47636b; margin: 8px 0; }
.otter-offline { background: #f2dfb4; border: 1px solid #bd9451; border-radius: 10px; padding: 8px; font-size: .83rem; line-height: 1.35; }
.otter-aim { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.otter-aim label { display: flex; min-width:0; flex-direction: column; font-weight: 700; font-size: .9rem; }
.otter-aim input { width: 100%; min-height: 44px; accent-color: #266c6b; margin: 0; }
.otter-fire { width:100%;margin:8px 0; }
.otter-motion { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: .85rem; width: fit-content; }
.otter-motion input { accent-color: #266c6b; width: 18px; height: 18px; }
@media (min-width: 700px) and (orientation: landscape) {
  .otter-dialog.otter-wide { width: min(96vw, 1000px) !important; }
  .otter-dialog.otter-wide .otter-play-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(235px, 1fr); gap: 18px; align-items: start; }
  .otter-dialog.otter-wide .otter-scene { width: 100%; max-width: 570px; }
  .otter-dialog.otter-wide .otter-turn { margin-top: 0; }
  .otter-dialog.otter-wide .otter-aim { gap: 10px; }
}
.otter-games { display: grid; gap: 8px; margin: 12px 0; }
.otter-games h3 { margin:8px 0 0; }
.otter-history { border-top:1px solid #b6a071; margin-top:14px; }
.otter-history summary { cursor:pointer; min-height:44px; padding:12px 0; font-weight:700; }
@media (max-height: 700px) {
  .otter-dialog .activity-header { padding-top: 4px; padding-bottom: 5px; }
  .otter-dialog .activity-header h2 { margin-top: 1px; font-size: 1.35rem; }
  .otter-dialog .activity-body { padding-top: 8px; }
  .otter-dialog .activity-save-hint { margin: 4px 0; }
  .otter-dialog .activity-message { margin: 5px 0; }
  .otter-dialog .otter-motion { min-height: 44px; }
  .otter-dialog .otter-scene { width: min(100%, 277px); }
  .otter-dialog .otter-turn { margin: 8px 0 4px; }
  .otter-dialog .activity-save-hint { font-size: .73rem; line-height: 1.3; }
  .otter-dialog .activity-footer { padding-bottom: 10px; }
}
.activity-dialog {
  --ink: #183d48; --muted: #47636b; --paper: #fff9e9; --edge: #ccba91;
  color: var(--ink); background: var(--paper); border: 2px solid #d3b77d;
  border-radius: 26px; width: min(94vw, 580px); max-height: calc(100dvh - 24px);
  padding: 0; overflow: auto; box-shadow: 0 20px 70px #082b4370; font: inherit;
  overscroll-behavior: contain;
}
.activity-dialog::backdrop { background: #0b3149bd; backdrop-filter: blur(5px); }
.activity-header { position:sticky;top:0;z-index:5;padding: 13px 18px 10px; border-bottom: 1px solid #ceb98a70; background: #fff9e9; }
.activity-header h2 { font-size: clamp(1.35rem, 5vw, 1.9rem); line-height: 1.2; margin: 9px 0 2px; font-family: Georgia, serif; }
.activity-back { min-height: 44px; border: 0; padding: 0 12px 0 0; color: #22576a; font: inherit; font-weight: 700; background: none; cursor: pointer; }
.activity-body { padding: 12px 18px 0; }
.activity-intro { margin: 0 0 14px; line-height: 1.45; color: var(--muted); font-size: .94rem; }
.activity-footer { padding: 4px 18px 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.activity-message { padding: 0 18px; margin: 12px 0; line-height: 1.4; font-size: .87rem; color: #36534b; }
.activity-message:empty { margin: 6px 0; }
.activity-button {
  min-height: 46px; border: 2px solid #1b6367; border-radius: 14px; padding: 10px 16px;
  color: #fffaf0; background: #236b6a; box-shadow: 0 3px 0 #123f45; font: inherit; font-weight: 750; cursor: pointer;
}
.activity-button.secondary { color: #294a52; background: #f8edd3; border-color: #c5b58e; box-shadow: 0 2px 0 #b4a47f; }
.activity-button.quiet { color: #22576a; background: transparent; box-shadow: none; border-color: transparent; }
.activity-button:disabled { opacity: .55; cursor: default; }
.activity-dialog button:focus-visible, .activity-launcher button:focus-visible { outline: 3px solid #ad541d; outline-offset: 3px; }
.activity-dialog h3 { font-size: 1rem; margin: 16px 0 10px; }
.activity-save-hint { color: var(--muted); font-size: .8rem; line-height: 1.4; }
.activity-controls, .activity-choices { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.activity-choices .activity-button { flex: 1 1 90px; font-size: .9rem; }
.activity-choices button[aria-pressed="true"] { background: #d8ead6; color: #224833; border-color: #3b7959; }
.glass-stats { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 0 0 12px; }
.glass-stats strong { font-size: 1.3rem; }
.glass-stats span { font-size: .9rem; }
.glass-stats > strong,.glass-stats > span:not(.game-cameos) { white-space:nowrap; }
.glass-stats { flex-wrap:wrap; }
.glass-stats > .game-cameos { margin-left:auto; }
.game-cameos { display:inline-flex; align-items:center; gap:2px; flex:none; height:50px; pointer-events:none; }
.game-cameos small { max-width:42px; color:#78654d; font:600 .65rem/1.1 sans-serif; text-align:right; }
.game-cameo { display:block; width:44px; height:50px; object-fit:contain; }
.game-cameos-pair .game-cameo:first-of-type { transform:scaleX(-1); }
.otter-stats .game-cameos-pair { width:100%; justify-content:space-between; height:44px; }
.otter-stats .game-cameos-pair small { order:1; max-width:none; text-align:center; font-size:.7rem; }
.otter-stats .game-cameos-pair .game-cameo:first-of-type { order:0; }
.otter-stats .game-cameos-pair .game-cameo:last-of-type { order:2; }
.glass-board { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; padding: 9px; border-radius: 22px; background: #174e63; box-shadow: inset 0 3px 6px #082c50; }
.glass-piece { aspect-ratio: 1; min-width: 0; min-height: 44px; padding: 0; border: 2px solid #ffffff55; border-radius: 35%; font-size: clamp(1.2rem, 5vw, 2rem); line-height: 1; box-shadow: inset 0 3px 3px #ffffff70, 0 3px 0 #061f3a55; cursor: pointer; touch-action: manipulation; }
.glass-piece.coral { color: #742e2c; background: linear-gradient(140deg, #ffc4a7, #ee8c77); }
.glass-piece.teal { color: #104e58; background: linear-gradient(140deg, #b0eee0, #64c6bd); }
.glass-piece.gold { color: #6b4c09; background: linear-gradient(140deg, #fff2a3, #edc45c); }
.glass-piece.lilac { color: #543c79; background: linear-gradient(140deg, #e5d8ff, #b7a5dc); }
.glass-piece:active { transform: translateY(2px); box-shadow: none; }
.glass-piece:disabled { cursor: default; }
.glass-piece.hinted { outline: 3px solid white; outline-offset: -5px; }
.sky-board { position: relative; height: 270px; border-radius: 24px; overflow: hidden; background: radial-gradient(ellipse at 20% 90%, #5986a8, #243957 60%, #172741); box-shadow: inset 0 -30px 40px #91c6ba44; }
.sky-board::after { content: ""; position: absolute; bottom: -18px; left: -10%; width: 120%; height: 40px; background: #253f50; border-radius: 50%; pointer-events: none; }
.sky-object { position: absolute; transform: translate(-50%, -50%); min-width: 58px; min-height: 58px; border: 2px solid transparent; border-radius: 50%; background: transparent; color: #ffecc4; font-size: 2rem; text-shadow: 0 0 14px #f7c66c77; cursor: pointer; }
.sky-object.found { background: #a0d4b333; border-color: #b9ddad; }
.activity-targets { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; font-size: .84rem; }
.activity-targets span { padding: 7px; background: #eee7d6; border-radius: 8px; }
.activity-targets .done { background: #d8ead6; }
.rock-stage { padding: 16px 8px; text-align: center; border-radius: 24px; background: radial-gradient(ellipse at top, #eee2f7, #d8e0da); }
.mystery-stone { width: 92px; height: 92px; display: grid; place-items: center; font-size: 4rem; margin: 0 auto; color: #70568b; border-radius: 45% 55% 40% 35%; background: #b8bbc9; box-shadow: inset -12px -12px #969db4, 0 10px 0 #c6d2ce; }
.stone-pattern { display: flex; gap: 6px; justify-content: center; }
.stone-pattern span { display: grid; place-items: center; width: 42px; height: 42px; background: #fff9ef; border-radius: 12px; font-size: 1.8rem; color: #485168; }
.delivery-stage { display: flex; align-items: center; flex-direction: column; gap: 12px; border-radius: 22px; padding: 20px; background: repeating-linear-gradient(0deg, #cfaa72 0px, #cfaa72 48px, #bc9866 49px, #bc9866 51px); }
.parcel-icon { display: grid; place-items: center; width: 110px; height: 90px; font-size: 3rem; color: #234653; border: 3px solid #ae8254; border-radius: 12px; background: #ffe1aa; box-shadow: 0 6px 0 #93633344; }
.parcel-label { background: #fff9e9; padding: 8px 20px; border-radius: 3px; transform: rotate(-3deg); }
.delivery-stage p { margin: 0; }
.creative-stage { display: flex; min-height: 180px; gap: 7px; align-items: end; padding: 24px 12px; border-radius: 24px; background: #dce6db; }
.cabin-stage { background: linear-gradient(#d8e4df 0 74%, #b78c58 74% 79%, #d0ae7b 79%); }
.garden-stage { background: linear-gradient(#d5ead8 0 73%, #a4b779 73% 80%, #79543e 80%); }
.campfire-stage { background: radial-gradient(ellipse at bottom, #d99356, #4b526e); }
.creative-slot { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; min-height: 116px; padding: 8px 4px; border: 2px solid #bdb191; border-radius: 14px; background: #fff9e9d9; color: #284851; cursor: pointer; }
.creative-slot.selected { outline: 3px solid #346c68; outline-offset: 2px; }
.creative-slot:disabled { opacity: .55; cursor: default; }
.creative-symbol { font-size: 2.5rem; }
.creative-slot small { font: inherit; font-size: .76rem; }
.tale-preview { font-family: Georgia, serif; line-height: 1.65; padding: 14px; border-left: 3px solid #d1ad75; }
.keepsake-art { display: flex; justify-content: center; align-items: center; gap: 22px; min-height: 210px; border: 7px solid #fff6da; outline: 1px solid #d1bf92; border-radius: 24px; background: linear-gradient(150deg, #91c6b2, #dfecbb); box-shadow: 0 5px 0 #cfbd94; }
.keepsake-piece { font-size: 3rem; filter: drop-shadow(0 4px 2px #31575c33); }
.keepsake-piece.piece-1 { transform: translateY(-13px); }
.keepsake-lookout { background: linear-gradient(140deg, #293b67, #6598ac); color: #ffe6a4; }
.keepsake-campfire { background: linear-gradient(140deg, #e4ba88, #f5dfa7); color: #774630; }
.keepsake-mystery-rock { background: linear-gradient(140deg, #d9c5df, #b7cac3); color: #635272; }
.keepsake-beach { background: linear-gradient(140deg, #8ed0cc, #dcf2dc); color: #325e6b; }
.keepsake-description { line-height: 1.6; font-family: Georgia, serif; font-size: 1.05rem; }
.activity-reactions { background: #e3ecd5; padding: 12px; border-radius: 12px; font-size: .9rem; }
.scoreboard { display: grid; grid-template-columns: 1fr auto; gap: 9px; padding: 16px; border-radius: 14px; background: #ebe7d5; }
.activity-place-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.activity-place-card { display: flex; text-align: left; flex-direction: column; align-items: start; gap: 5px; padding: 13px; min-height: 130px; background: #f5ecd5; border: 1px solid #c4b795; color: #284b52; border-radius: 18px; cursor: pointer; font: inherit; }
.activity-place-card:first-child { background: #d5e9e3; }
.activity-place-card strong { font-size: .95rem; }
.activity-place-card small { font-size: .75rem; color: #4c666c; }
.place-icon { font-size: 1.65rem; }
.collection-card { display: flex; width: 100%; align-items: center; gap: 14px; padding: 13px 0; text-align: left; background: transparent; color: #294b53; border: 0; border-bottom: 1px solid #c7b98c66; font: inherit; cursor: pointer; }
.collection-card > span { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.collection-card small { color: #5d706a; font-size: .74rem; }
.collection-card strong { font-size: .94rem; }
.collection-card span span { font-size: .8rem; line-height: 1.4; }
.collection-card .collection-description { display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden; }
.collection-filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:8px 0; }
.collection-filter { display:flex; flex-direction:column; gap:3px; min-width:0; font-size:.75rem; color:#453729; }
.collection-filter select { min-width:0; min-height:44px; padding:6px; border:1px solid #ad8553; border-radius:8px; color:#453729; background:#fcf2dc; font:inherit; }
.collection-rarity { font-weight:600; }
.collection-furnishing-art { width:78px;height:78px;object-fit:contain;flex:0 0 78px; }
.collection-card.collection-event-exclusive { border:2px solid #ae8034;border-radius:12px;padding:8px;background:#fff3cf; }
.keepsake-art.compact { flex: 0 0 74px; width: 74px; min-height: 78px; border-width: 3px; border-radius: 10px; gap: 1px; }
.keepsake-art.compact .keepsake-piece { font-size: 1.1rem; }
.keepsake-art.compact .piece-1 { transform: translateY(-7px); }
.activity-empty { font-size: .9rem; line-height: 1.5; color: #5a6f69; }
.nook-scene, .planter-scene { position: relative; width: 100%; aspect-ratio: 3/2; border-radius: 20px; overflow: hidden; isolation: isolate; }
.nook-scene { background: #b99060 url('../assets/images/activities/cabin-interior-v1.webp') center/cover no-repeat; }
.planter-scene { background: radial-gradient(ellipse at 30% 10%, #f6f4d0, #c3dfba 80%); }
.planter-scene::before { content: ""; position: absolute; z-index: -1; left: 7%; right: 7%; bottom: 10%; height: 23%; border-radius: 5px 5px 15px 15px; border: 3px solid #96603f; background: repeating-linear-gradient(0deg, #bc8055 0, #c28c5f 20%, #ad7348 22%, #b77c4f 25%); box-shadow: inset 0 12px #584637, 0 10px 8px #6b8c5333; }
.planter-scene::after { content: ""; position: absolute; z-index: -2; left: -10%; right: -10%; bottom: -20%; height: 42%; background: #91b479; border-radius: 50%; }
.scene-slot { position: absolute; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: end; border: 2px solid transparent; background: transparent; border-radius: 14px; min-width: 44px; min-height: 44px; color: #284a45; }
button.scene-slot { cursor: pointer; }
.scene-slot.selected { outline: 3px solid #fff2b4; outline-offset: 2px; background: #f3e7ad1a; }
.planter-scene .scene-slot.selected { outline-color: #4f8261; }
.scene-slot:disabled { opacity: .6; }
.scene-slot small { display: block; padding: 3px 6px; background: #fff5daed; border-radius: 8px; font-size: .68rem; font-weight: 750; color: #344e4a; white-space: nowrap; }
.nook-scene .scene-slot { width: 21%; height: 40%; }
.nook-scene .scene-slot-0 { left: 14%; bottom: 48%; }
.nook-scene .scene-slot-1 { left: 42%; bottom: 30%; }
.nook-scene .scene-slot-2 { left: 73%; bottom: 23%; }
.scene-slot .activity-object { width: 100%; max-height: 90%; filter: drop-shadow(1px 3px 2px #57371f88); }
.scene-add { display: grid; place-items: center; width: 44px; height: 44px; background: #fff5d9df; border-radius: 50%; font-size: 1.6rem; margin: auto; }
.planter-scene .scene-slot { width: 26%; height: 81%; bottom: 18%; }
.planter-scene .scene-slot-0 { left: 10%; height: 75%; }
.planter-scene .scene-slot-1 { left: 37%; }
.planter-scene .scene-slot-2 { left: 64%; height: 72%; }
.flower-object { display: block; width: 100%; height: 100%; }
.object-choice { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 7px; color: #294c49; background: #f5e8cd; border-color: #b8a47d; box-shadow: 0 2px #af9a74; }
.object-choice .activity-object, .object-choice .flower-object { width: 50px; height: 52px; }
.object-choice span { font-size: .8rem; }
.keepsake-scene { outline: 1px solid #c1ac7c; border: 5px solid #fff3d8; box-shadow: 0 4px #c4af81; }
.keepsake-scene.compact { flex: 0 0 86px; width: 86px; border-width: 2px; border-radius: 10px; }
.keepsake-scene.compact .scene-slot { min-width: 0; min-height: 0; }
.activity-launcher {
  position: absolute; z-index: 35; top: 74%; bottom: 10%; left: 3%; right: 3%;
  border: 2px solid #b6a071; border-radius: 18px; background: #fff4d8;
  padding: 10px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; box-shadow: 0 5px 12px #23425044;
}
.activity-launcher > strong { font-family: Georgia, serif; font-size: 1.1rem; }
.activity-launch-controls { display: flex; gap: 8px; }
.activity-launch-controls button { min-height: 44px; padding: 7px 14px; font-size: .85rem; }
.activity-launcher[hidden], .activity-new-badge[hidden] { display: none; }
.multiplayer .scene-action-hotspot, .multiplayer #sceneCloseButton { visibility: hidden; }
.nav-hotspot .activity-new-badge { position: absolute; top: 0; right: 1px; width: auto; height: auto; margin: 0; clip: auto; overflow: visible; border-radius: 10px; padding: 3px 6px; color: #fff; background: #376e64; font: bold .7rem sans-serif; }
@media (max-width: 360px) {
  .activity-body { padding-inline: 12px; }
  .glass-board { gap: 3px; padding: 6px; }
  .glass-piece { min-height: 39px; }
}
@media (max-height: 700px) {
  .activity-header { display:flex;align-items:center;gap:10px;padding:4px 14px; }
  .activity-header h2 { margin:0;font-size:1.25rem; }
  .activity-back { flex:0 0 auto; }
  .activity-launcher { top: 70%; }
  .sky-board { height: 220px; }
  .activity-dialog[data-activity="beach"] { max-height: calc(100dvh - 12px); }
  .activity-dialog[data-activity="beach"] .activity-header { display: flex; align-items: center; gap: 10px; padding: 4px 14px; }
  .activity-dialog[data-activity="beach"] .activity-header h2 { margin: 0; font-size: 1.25rem; }
  .activity-dialog[data-activity="beach"] .activity-body { padding: 8px 14px 0; }
  .activity-dialog[data-activity="beach"] .activity-intro { font-size: .82rem; line-height: 1.3; margin-bottom: 8px; }
  .activity-dialog[data-activity="beach"] .glass-stats { padding-bottom: 8px; }
  .activity-dialog[data-activity="beach"] .glass-stats strong { font-size: 1.05rem; }
  .activity-dialog[data-activity="beach"] .glass-board { max-width: 302px; margin-inline: auto; gap: 3px; padding: 6px; }
  .activity-dialog[data-activity="beach"] .activity-controls { margin: 8px 0; }
  .activity-dialog[data-activity="beach"] .activity-controls button { min-height: 44px; padding: 7px 12px; font-size: .85rem; }
  .activity-dialog[data-activity="beach"] .activity-message { margin: 6px 0; padding-inline: 14px; font-size: .78rem; }
  .activity-dialog[data-activity="beach"] .activity-footer { padding: 4px 14px 12px; }
}
@media (prefers-reduced-motion: no-preference) {
  .glass-piece { transition: transform .1s; }
}
.island-motion-enabled .glass-piece { transition: transform .1s; }
.shell-board,.shell-keepsake { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:4px; padding:8px; border:2px solid #83aaa1; border-radius:20px; background:linear-gradient(140deg,#c5e0d2,#a6cec8); box-shadow:inset 0 3px 8px #517c7333; max-width:420px; margin-inline:auto; }
.shell-piece { min-width:44px; min-height:44px; aspect-ratio:1; display:grid; place-items:center; padding:4px; border:2px solid #ffffffb5; border-radius:13px; background:#f6f5dc; cursor:pointer; box-shadow:0 3px #658a8166; }
.shell-piece svg { width:100%; height:100%; display:block; max-height:55px; }
.shell-piece.selected { outline:3px solid #244f50; outline-offset:1px; background:#fff2bd; transform:translateY(-2px); }
.shell-piece.neighbour { border-color:#547d72; }
.shell-piece.hinted { outline:3px dashed #345d56; outline-offset:-2px; background:#fff4c5; }
.shell-piece:disabled { cursor:default; }
.shell-gain { text-align:center; margin:8px 0; color:#42665e; font-size:.85rem; }
.shell-keepsake { width:min(100%,340px); }
.shell-keepsake svg { width:100%; aspect-ratio:1; display:block; }
.shell-keepsake.compact { flex:0 0 100px; width:100px; gap:1px; padding:4px; border-radius:12px; margin:0; }
@media (max-width:360px) {
  .activity-dialog[data-content="beach-shell-swap"] .activity-body { padding-inline:6px; }
  .shell-board { gap:1px; padding:3px; border-width:1px; border-radius:13px; }
  .shell-piece { border-width:1px; border-radius:9px; padding:3px; }
}
@media (prefers-reduced-motion:no-preference) {
  .shell-piece { transition:transform .1s,background-color .1s; animation:shellSettle .16s ease-out; }
}
.island-motion-enabled .shell-piece { transition:transform .1s,background-color .1s; animation:shellSettle .16s ease-out; }
@keyframes shellSettle { from { transform:translateY(-4px); opacity:.85; } to { transform:translateY(0); opacity:1; } }
.story-picture { position:relative; border-radius:22px; background:linear-gradient(#596c85,#93aa9d); overflow:hidden; }
.story-picture > svg { display:block; width:100%; max-height:220px; }
.story-tokens { display:flex; justify-content:center; gap:12px; padding:0 14px 12px; }
.story-tokens span { display:grid; place-items:center; width:40px; height:40px; border-radius:50%; background:#f6e6bb; color:#426056; font-size:1.5rem; }
.story-picture.compact { flex:0 0 100px; width:100px; }
.story-picture.compact .story-tokens { padding:0 4px 5px; gap:3px; }
.story-picture.compact .story-tokens span { width:22px; height:22px; font-size:.9rem; }
.picnic-receipt { display:flex; justify-content:space-around; gap:6px; padding:14px 6px; border:2px dashed #b8a77c; border-radius:16px; background:#f6edcd; margin-top:14px; }
.picnic-receipt > div { display:flex; flex-direction:column; align-items:center; gap:12px; }
.picnic-receipt strong { font-size:.85rem; }
.picnic-receipt span { font-size:1.9rem; color:#567569; }
.picnic-receipt.compact { flex:0 0 100px; width:100px; flex-direction:column; margin:0; padding:8px; gap:7px; }
.picnic-receipt.compact > div { flex-direction:row; justify-content:space-between; gap:3px; }
.picnic-receipt.compact strong { font-size:.6rem; }
.picnic-receipt.compact span { font-size:.8rem; }
.activity-place-groups { display:flex; flex-direction:column; gap:9px; }
.activity-place-group { border:1px solid #bcba96; border-radius:16px; background:#f4edd7; overflow:hidden; }
.activity-place-group summary { display:list-item; cursor:pointer; padding:11px 14px; min-height:0; color:#36594f; }
.activity-place-group summary strong { margin-left:4px; }
.activity-place-group summary small { display:block; margin:5px 0 0 19px; font-size:.78rem; color:#60736c; }
.activity-place-group[open] summary { background:#dbe8cf; }
.activity-place-rows { padding:0 12px 7px; }
.activity-place-row { display:flex; width:100%; gap:13px; align-items:center; padding:14px 3px; border:0; border-bottom:1px solid #bdb78d55; background:transparent; text-align:left; color:#31584f; font:inherit; cursor:pointer; min-height:60px; }
.activity-place-row:last-child { border-bottom:0; }
.activity-place-row > span:last-child { display:flex; flex-direction:column; gap:5px; }
.activity-place-row strong { font-size:.95rem; }
.activity-place-row small { font-size:.76rem; color:#5c7168; }
.activity-place-row .place-icon { width:32px; text-align:center; }
.daisy-ideas-intro { display:flex;align-items:center;gap:12px;margin-bottom:12px; }
.daisy-ideas-intro img { width:76px;height:90px;object-fit:contain;flex:0 0 76px; }
.daisy-ideas-intro p { margin:0;color:#536b5c;font-size:.9rem;line-height:1.45; }
.daisy-ideas { display:grid;gap:9px; }
.daisy-idea { display:flex;flex-direction:column;gap:5px;text-align:left;padding:12px 15px;border:1px solid #a8b48a;border-radius:16px;background:#edf1d8;color:#365645;font:inherit;cursor:pointer; }
.daisy-idea small { font-size:.7rem;color:#657b56; }
.daisy-idea strong { font-family:Georgia,serif;font-size:1.05rem; }
.daisy-idea > span { font-size:.79rem;line-height:1.35; }
.cabin-display-frame { display:none; position:absolute; left:8%; top:52%; width:25%; height:19%; z-index:10; border:5px solid #b58a50; border-radius:8px; padding:4px; background:#f6e7bf; box-shadow:0 5px 8px #3d4c3b66; cursor:pointer; transform:rotate(-4deg); }
.storybook-world[data-scene="cabin"] .cabin-display-frame:not([hidden]) { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; }
.cabin-display-frame > :first-child { width:100%!important; height:calc(100% - 20px)!important; min-height:0!important; flex:1!important; margin:0!important; overflow:hidden; }
.cabin-display-frame > span { font-size:.58rem; font-weight:750; color:#59472c; white-space:nowrap; }
.cabin-display-frame .personal-stage.compact { transform:none; }
.cabin-display-frame .keepsake-art { border-width:2px; }
.cabin-display-frame .story-tokens { display:none; }
.cabin-display-frame .story-picture > svg { height:100%; }
.score-postcard { padding:14px; border:1px solid #c6b98e; border-radius:18px; background:#f3ead1; margin-bottom:12px; }
.score-postcard > strong { display:block; margin-bottom:10px; font-family:Georgia,serif; }
.score-postcard .scoreboard { padding:10px 12px; background:#fff8e7; margin-bottom:10px; }
.pocket-sky-board,.pocket-sky-picture { color:#fff2bd;background-color:#223d63;background-image:radial-gradient(circle at 8% 27%,#fff8 1px,transparent 2px),radial-gradient(circle at 88% 58%,#fff8 1px,transparent 2px),radial-gradient(circle at 30% 88%,#fff8 1px,transparent 2px),linear-gradient(160deg,#31466c,#142e46);border:2px solid #c4b688;border-radius:24px;overflow:hidden; }
.pocket-sky-board { position:relative;height:300px;margin:12px 0; }
.pocket-sky-picture { min-height:180px;display:flex;align-items:center;justify-content:center;gap:10px;padding:24px; }
.pocket-sky-picture svg { width:26%;max-height:110px;fill:currentColor; }
.pocket-sky-picture.compact { min-height:80px;padding:10px;gap:3px; }
.sky-cloudy { color:#244c68;background-color:#c6e5e8;background-image:linear-gradient(160deg,#b6dbe4,#eff3dd); }
.sky-twilight { color:#fff1c5;background-color:#705777;background-image:linear-gradient(160deg,#6b597c,#374563); }
.pocket-sky-object { position:absolute;transform:translate(-50%,-50%);width:66px;height:66px;min-height:66px;padding:5px;border:2px solid transparent;background:transparent;color:inherit;border-radius:50%; }
.pocket-sky-object svg { display:block;width:100%;height:100%;fill:currentColor; }
.pocket-sky-object:hover,.pocket-sky-object:focus-visible { background:#fff2;border-color:currentColor; }
.pocket-sky-object.found { border-color:currentColor;background:#fff2; }
.pocket-sky-object.found:after { content:'✓';position:absolute;right:-3px;bottom:-3px;background:#f7f4dc;color:#254c42;border:1px solid #497262;border-radius:50%;width:23px;height:23px;font-size:16px;line-height:22px; }
.pocket-sky-targets { display:flex;flex-wrap:wrap;gap:7px;margin:12px 0; }
.pocket-sky-targets span { border:1px solid #c6b98e;border-radius:12px;padding:7px 9px;font-size:.85rem;background:#f7efd7; }
.pocket-sky-targets .done { background:#dcebd2;border-color:#70996d; }
.parcel-keepsake { position:relative;min-height:190px;border-radius:22px;background:radial-gradient(ellipse at 50% 30%,#fff8dc,#dfdfb9);overflow:hidden;display:flex;align-items:center;justify-content:center;margin-bottom:12px; }
.parcel-keepsake > svg { width:135px;height:115px;align-self:end;margin-bottom:8px; }
.parcel-keepsake > .parcel-gift { position:absolute;width:145px;height:145px;left:50%;top:2px;transform:translateX(-50%);filter:drop-shadow(0 3px 1px #7c774b33); }
.parcel-keepsake.empty { min-height:100px; }
.parcel-keepsake.empty > svg { width:96px;height:80px; }
.parcel-keepsake.compact { flex:0 0 95px;width:95px;min-height:95px;height:95px;margin:0;border-radius:12px; }
.parcel-keepsake.compact > svg { width:75px;height:62px;margin-bottom:2px; }
.parcel-keepsake.compact > .parcel-gift { width:73px;height:73px;top:-2px; }
.parcel-caption { text-align:center;font:italic .92rem/1.4 Georgia,serif;color:#5c654a;margin:8px 0 12px; }
.parcel-progress { text-align:center;font-size:.85rem;font-weight:700;color:#4b684f;margin:4px 0; }
.parcel-summary { text-align:center;color:#534630;font-size:.9rem;line-height:1.4;margin:4px 0 8px; }
.parcel-choices .parcel-wrap-choice { width:44px;height:38px;flex:none; }
.parcel-choices { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0; }
.parcel-choices .activity-button { display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;padding:8px;font-size:.85rem; }
.parcel-gift-choices .activity-button { flex-direction:column; }
.parcel-gift-choices svg { width:57px;height:57px; }
.parcel-choices [aria-pressed="true"] { background:#d8ead6;color:#224833;border-color:#3b7959; }
.world-parcels { position:absolute;z-index:12;right:4%;top:60%;width:34%;display:flex;justify-content:end;align-items:end;gap:5px;pointer-events:none; }
.world-parcels[hidden] { display:none; }
.world-parcels[data-place="garden"],.world-parcels[data-place="lookout"] { left:4%;right:auto;justify-content:start; }
@media(max-height:700px){.world-parcels{top:55%;}}
.world-parcel { flex:0 1 64px;min-width:44px;min-height:66px;padding:3px 3px 5px;border:1px solid #a18d61;border-radius:13px;background:#fff4d8e8;color:#324c45;box-shadow:0 3px 4px #284b4b44;pointer-events:auto; }
.world-parcel svg { display:block;width:100%;height:45px; }
.world-parcel span { font-size:.7rem;font-weight:750; }
.world-parcel:focus-visible { outline:3px solid #255d61;outline-offset:3px; }
.pebble-count { margin:4px 0 10px;color:#46625e;font-size:.85rem;font-weight:700; }
.pebble-board { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:10px;border:2px solid #b2b796;border-radius:20px;background:linear-gradient(135deg,#dde3c6,#cad3bc); }
.pebble-card { position:relative;min-width:44px;min-height:82px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:5px 2px;background:linear-gradient(135deg,#cbcbb7,#a7b5a8);border:2px solid #8b9c8d;border-radius:43% 36% 39% 32%;box-shadow:0 3px #83938166;color:#2f504b;cursor:pointer; }
.pebble-card:not(.open) { background:transparent url('../assets/images/polish/pebble-back-painted-v1.webp') center / 100% 100% no-repeat; border-color:transparent;box-shadow:none; }
.pebble-card.open { background:#fff6d9;border-color:#a49368; }
.pebble-card.paired { background:#e6efd7;border-color:#6d936e;box-shadow:0 3px #64825b55; }
.pebble-card svg { display:block;width:100%;height:47px;max-width:65px; }
.pebble-card > span:not(.pebble-back) { font-size:.62rem;font-weight:750;line-height:1.2; }
.pebble-back { font-size:1.5rem;color:#4e6e62;opacity:0; }
.big-match-otter { position:sticky;bottom:8px;display:block;margin:-76px 4px 0 auto;width:68px;height:68px;object-fit:contain;pointer-events:none;z-index:5;animation:big-match-pop .3s ease-out; }
@keyframes big-match-pop { from { transform:translateY(25px) scale(.75);opacity:0; } to { transform:translateY(0) scale(1);opacity:1; } }
.island-still .big-match-otter { animation:none; }
@media (prefers-reduced-motion:reduce) { body:not(.island-motion-enabled) .big-match-otter { animation:none; } }
.pebble-paired-mark { position:absolute;right:1px;top:0;font-size:.7rem;background:#577d60;color:#fff;padding:1px 3px;border-radius:7px; }
.pebble-tray { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:20px;background:linear-gradient(#e1e7cf,#b4c5a6);border:3px solid #b5a480;border-radius:22px;min-height:215px; }
.paired-pebble { display:grid;place-items:center;border:2px solid #a6ab8a;border-radius:42% 35% 45% 32%;background:#fff2cf;padding:5px; }
.paired-pebble svg { width:100%;height:80px; }
.pebble-tray.compact { flex:0 0 110px;width:110px;min-height:110px;height:110px;padding:7px;gap:4px;border-radius:13px; }
.pebble-tray.compact .paired-pebble { padding:2px; }
.pebble-tray.compact svg { height:33px; }
.game-sound-choice { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:12px 0; font-size:.9rem; }
.game-sound-choice select { min-height:44px; padding:8px; border:1px solid #a68b5c; border-radius:10px; background:#fff4dc; color:#403a29; font:inherit; }
.sound-status { flex-basis:100%; font-size:.8rem; }
.game-finish-status {
  display:grid;
  gap:3px;
  margin:10px 0;
  padding:8px 12px;
  border:1px solid #92a480;
  border-inline-start:4px solid #638366;
  border-radius:10px;
  background:linear-gradient(115deg,#e6ecd7,#f6efd7);
  color:#314b39;
  font-size:.87rem;
  line-height:1.35;
}
.game-finish-status strong { font-size:1rem; }
.game-finish-status[data-finish-state="waiting"] {
  border-color:#b99760;
  background:linear-gradient(115deg,#f3e2bd,#faf0db);
  color:#5b4629;
}
