/* Doodle World, walkable (templates/world_walk.html). Everything scoped to .ww. Fonts are our own copy (no Google). */
@font-face { font-family: Fredoka; src: url(../../fonts/Fredoka-Bold.ttf) format("truetype"); font-weight: 500 700; font-display: swap; }

html, body.ww-page { margin: 0; height: 100%; background: #FFFDF7; overscroll-behavior: none; }
.ww-host { position: fixed; inset: 0; outline: none; }
.ww-noscript { font: 700 20px/1.4 Fredoka, sans-serif; padding: 24px; }

.ww {
  --ink: #1A1A1A; --paper: #FFFDF7; --red: #E8452C; --yellow: #FFC531; --blue: #3A86FF; --green: #3BB273;
  --wob: 18px 22px 16px 24px / 22px 16px 24px 18px;
  overflow: hidden; color: var(--ink); background: var(--paper);
  font-family: Fredoka, "Trebuchet MS", system-ui, sans-serif; font-weight: 600;
  touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent;
}
.ww *, .ww *::before, .ww *::after { box-sizing: border-box; }
.ww [hidden] { display: none !important; }
.ww .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ww-stage { position: absolute; inset: 0; cursor: pointer; }
.ww-canvas { display: block; width: 100%; height: 100%; }
.ww-ico { width: 100%; height: 100%; display: block; }
img.ww-ico { object-fit: contain; }   /* a sticker with Grok's picture (icons.js stickerPic) */

/* buttons: paper cards with an ink outline, a crayon shadow, and at least 56px to tap */
.ww-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 8px 18px;
  font: 700 20px/1 Fredoka, sans-serif; color: var(--ink); background: #fff; text-decoration: none; cursor: pointer;
  border: 3px solid var(--ink); border-radius: var(--wob); box-shadow: 0 4px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.ww-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.ww-btn:focus-visible, .ww-swatch:focus-visible, .ww-pick:focus-visible, .ww-tab:focus-visible { outline: 4px solid var(--blue); outline-offset: 3px; }
.ww-btn--round { width: 60px; height: 60px; min-height: 0; padding: 9px; border-radius: 50%; }
.ww-btn--go { background: var(--yellow); }
.ww-btn--plain { font-size: 17px; min-height: 48px; }
.ww-btn--warn { background: #FFE3DD; }

/* HUD */
.ww-hud {
  position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px;
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left));
  pointer-events: none;
}
.ww-hud > *, .ww-hud__right > * { pointer-events: auto; }
.ww-hud__right { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
/* the big Home button (docs/member-home.md "Home on every page"), then the travel map */
.ww-hud__left { display: flex; gap: 10px; align-items: flex-start; flex: none; }
.ww-home { background: #fff; }
.ww-map { transform: rotate(-4deg); }
.ww-mebtn { padding: 2px; background: #FFF1C9; overflow: hidden; }
.ww-mebtn canvas { width: 100%; height: 100%; border-radius: 50%; }
/* the drawing pet's button: its picture; pressed while it's out with the doodle, paler while it's put away (petwalk.js) */
.ww-petbtn { padding: 4px; background: #E8F6FF; overflow: hidden; }
.ww-petbtn canvas { width: 100%; height: 100%; }
.ww-petbtn[aria-pressed="false"] { background: #fff; }
.ww-petbtn[aria-pressed="false"] canvas { opacity: .45; }
.ww-passbtn.is-new { animation: ww-bounce 1s ease-in-out 3; }
@keyframes ww-bounce { 0%, 100% { transform: translateY(0) } 40% { transform: translateY(-8px) rotate(-6deg) } }
@media (max-width: 480px) { .ww-btn--round { width: 52px; height: 52px; padding: 7px; } .ww-gearbtn { width: 44px; height: 44px; } }

/* the speech bubble: pictures first, the words are optional */
.ww-bubble {
  position: absolute; left: 0; top: 0; max-width: min(320px, 82vw); padding: 10px 14px 12px; background: #fff;
  border: 3px solid var(--ink); border-radius: var(--wob); box-shadow: 0 4px 0 var(--ink); pointer-events: none; will-change: transform;
}
.ww-bubble::after {
  content: ""; position: absolute; left: var(--tail, 50%); bottom: -14px; width: 20px; height: 14px; margin-left: -10px;
  background: #fff; border: 3px solid var(--ink); border-top: 0; clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.ww-bubble.is-in .ww-bubble__pics { animation: ww-pop .35s cubic-bezier(.3, 1.6, .5, 1); }
.ww-bubble__pics { display: flex; gap: 6px; justify-content: center; }
.ww-bubble__pics .ww-ico { width: 44px; height: 44px; }
.ww-bubble__text { margin: 6px 0 0; font-size: 17px; line-height: 1.25; text-align: center; }
/* a picture-book reader's book: the one thing in the bubble you can tap */
.ww-bubble__book { pointer-events: auto; display: block; margin: 8px auto 0; width: 64px; height: 64px; padding: 6px; background: #FFF1C9; border: 3px solid var(--ink); border-radius: var(--wob); box-shadow: 0 4px 0 var(--ink); cursor: pointer; }
.ww-bubble__book .ww-ico { width: 100%; height: 100%; }
.ww-bubble__book:focus-visible { outline: 4px solid var(--blue); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { .ww-bubble__book:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); } }
/* a resident's little quest: the picture that says yes (the thing to find, or their game); bigger with Bigger buttons */
.ww-bubble__quest { pointer-events: auto; display: block; margin: 8px auto 0; width: 64px; height: 64px; padding: 6px; background: #E6F7EC; border: 3px solid var(--ink); border-radius: var(--wob); box-shadow: 0 4px 0 var(--ink); cursor: pointer; }
.ww-bubble__quest .ww-ico { width: 100%; height: 100%; }
.ww-bubble__quest:focus-visible { outline: 4px solid var(--blue); outline-offset: 3px; }
.mdwp-bigger .ww-bubble__quest, .mdwp-bigger .ww-bubble__book { width: 84px; height: 84px; }
@media (prefers-reduced-motion: no-preference) { .ww-bubble__quest:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); } }
@keyframes ww-pop { from { transform: scale(.4); opacity: 0 } to { transform: scale(1); opacity: 1 } }

/* sticker toast */
.ww-toast {
  position: absolute; left: 50%; bottom: max(22px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 10px; background: #fff; border: 3px solid var(--ink); border-radius: var(--wob); box-shadow: 0 5px 0 var(--ink);
  transform: translateX(-50%); pointer-events: none; max-width: calc(100% - 32px);
}
.ww-toast.is-in { animation: ww-toast .5s cubic-bezier(.3, 1.5, .5, 1); }
.ww-toast p { margin: 0; font-size: 19px; }
.ww-toast__kicker { display: block; font-size: 14px; color: #6d685e; }
.ww-toast__pic { width: 58px; height: 58px; padding: 5px; border-radius: 50%; background: #FFF1C9; border: 3px dashed var(--ink); flex: none; }
@keyframes ww-toast { from { transform: translate(-50%, 40px) scale(.8); opacity: 0 } to { transform: translate(-50%, 0) scale(1); opacity: 1 } }

/* optional joystick (grown-ups' settings) */
.ww-stick {
  position: absolute; left: max(20px, env(safe-area-inset-left)); bottom: max(24px, env(safe-area-inset-bottom));
  width: 128px; height: 128px; border-radius: 50%; background: rgba(255, 255, 255, .7); border: 3px solid var(--ink); touch-action: none;
}
.ww-stick__knob { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); }

/* loading and the paper wipe into the train */
.ww-loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; background: var(--paper); }
.ww-loading__label { margin: 0; font-size: 22px; }
.ww-loading__dood { width: 70px; height: 120px; border: 4px solid var(--ink); border-radius: 12px 12px 10px 10px; background: var(--blue); animation: ww-bounce 1.2s ease-in-out infinite; }
.ww-loading__bar { width: 220px; height: 16px; border: 3px solid var(--ink); border-radius: 10px; overflow: hidden; background: #fff; }
.ww-loading__bar i { display: block; height: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(.04); transition: transform .2s; }
.ww-wipe { position: absolute; inset: 0; background: var(--paper); clip-path: circle(0% at 82% 38%); transition: clip-path .42s ease-in; pointer-events: none; z-index: 40; }
.ww-wipe.is-on { clip-path: circle(150% at 82% 38%); }
.ww .ww-runner { position: absolute; inset: 0; z-index: 50; outline: none; }

/* dialogs */
.ww-dialog { position: absolute; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(255, 253, 247, .94); overflow: auto; }
.ww-card { position: relative; width: min(680px, 100%); max-height: 100%; overflow: auto; padding: 22px 20px 20px; background: #fff; border: 3px solid var(--ink); border-radius: var(--wob); box-shadow: 0 6px 0 var(--ink); }
.ww-card__close { position: absolute; right: 12px; top: 12px; }
.ww-h { display: flex; align-items: center; gap: 10px; margin: 0 64px 12px 0; font-size: 28px; line-height: 1.1; }
.ww-h .ww-ico { width: 40px; height: 40px; flex: none; }
.ww-h3 { margin: 6px 0 8px; font-size: 18px; }

/* Doodle Me */
.ww-creator { display: grid; grid-template-columns: minmax(200px, 38%) 1fr; gap: 16px; align-items: stretch; padding: max(16px, env(safe-area-inset-top)) 16px 96px; background: #FFF8E6; }
.ww-creator__stage { position: relative; display: grid; place-items: end center; min-height: 0; background: #fff; border: 3px solid var(--ink); border-radius: var(--wob); box-shadow: 0 5px 0 var(--ink); }
.ww-creator__me { width: 100%; max-width: 300px; height: auto; max-height: 100%; }
.ww-creator__turn { position: absolute; top: 10px; left: 10px; }
.ww-pick--paint { display: grid; place-items: center; background: #FFF1C9; }
.ww-pick--paint .ww-ico { width: 64px; height: 64px; }
.ww-creator__me.is-wiggle { animation: ww-wiggle .5s ease-in-out; transform-origin: 50% 100%; }
@keyframes ww-wiggle { 25% { transform: rotate(-4deg) scale(1.03) } 60% { transform: rotate(3deg) } }
.ww-creator__panel { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.ww-creator__tabs { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.ww-tab { aspect-ratio: 1; min-width: 44px; padding: 6px; background: #fff; border: 3px solid var(--ink); border-radius: 14px; cursor: pointer; }
.ww-tab[aria-selected="true"] { background: var(--yellow); box-shadow: 0 4px 0 var(--ink); transform: translateY(-3px); }
.ww-creator__opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; align-content: start; overflow: auto; padding: 4px 4px 8px; }
.ww-creator__opts--swatch { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); }
.ww-pick { position: relative; padding: 4px; background: #fff; border: 3px solid var(--ink); border-radius: var(--wob); cursor: pointer; }
.ww-pick canvas { display: block; width: 100%; height: auto; }
.ww-pick[aria-checked="true"], .ww-pick[aria-pressed="true"] { background: #FFF1C9; box-shadow: 0 0 0 4px var(--yellow), 0 4px 0 4px var(--ink); }
.ww-pick--toggle .ww-ico { position: absolute; left: 6px; top: 6px; width: 36px; height: 36px; padding: 3px; background: #fff; border: 2px solid var(--ink); border-radius: 50%; }
.ww-pick--toggle[aria-pressed="true"]::after { content: ""; position: absolute; right: 6px; top: 6px; width: 26px; height: 26px; border-radius: 50%; background: var(--green) no-repeat center/18px; border: 2px solid var(--ink); }
.ww-swatch { width: 100%; aspect-ratio: 1; min-width: 56px; border-radius: 50%; background: var(--c); border: 3px solid var(--ink); cursor: pointer; box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .12); }
.ww-swatch[aria-checked="true"] { box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--ink); transform: scale(1.06); }
.ww-creator__done { position: absolute; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: 84px; height: 84px; border-radius: 50%; padding: 14px; }
.ww-creator__close { position: absolute; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); }
.ww-creator__handbox { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 2; }
.ww-creator__hand { position: absolute; z-index: 2; width: 150px; height: 150px; pointer-events: none; filter: drop-shadow(0 3px 0 rgba(26, 26, 26, .25)); animation: ww-hand-tap 1.4s ease-in-out infinite; }
.ww-creator__hand[hidden] { display: none; }
.ww-creator__hand.is-still { animation: none; }
@media (max-width: 700px) { .ww-creator__hand { width: 124px; height: 124px; } }
@keyframes ww-hand-tap { 0%, 100% { transform: translate(0, 0); } 45% { transform: translate(-4px, 10px); } 60% { transform: translate(-4px, 10px) scale(.94); } }
@media (prefers-reduced-motion: reduce) { .ww-creator__hand { animation: none; } }
@media (max-width: 640px), (max-aspect-ratio: 4/5) {
  .ww-creator { grid-template-columns: 1fr; grid-template-rows: minmax(150px, 34%) 1fr; }
  .ww-creator__me { max-width: 180px; }
  .ww-creator__tabs { grid-template-columns: repeat(8, minmax(40px, 1fr)); overflow-x: auto; }
  .ww-creator__opts { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }
}

/* the colour spot */
.ww-colour { flex-direction: column; justify-content: flex-start; gap: 10px; padding: max(12px, env(safe-area-inset-top)) 12px 12px; background: #FFF8E6; }
.ww-colour__top { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 760px; }
.ww-colour__title { width: 56px; height: 56px; }
.ww-colour__thumb { width: 56px; height: 56px; display: block; }
.ww-colour__page { flex: 1; min-height: 0; width: 100%; max-width: 760px; display: grid; place-items: center; }
.ww-colour__canvas { background: #fff; border: 3px solid var(--ink); border-radius: var(--wob); box-shadow: 0 5px 0 var(--ink); cursor: pointer; touch-action: none; }
.ww-colour__palette { display: grid; grid-template-columns: repeat(11, minmax(44px, 64px)); gap: 8px; justify-content: center; width: 100%; padding-right: 96px; }
.ww-colour__done { position: absolute; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); width: 84px; height: 84px; border-radius: 50%; padding: 14px; }
@media (max-width: 700px) { .ww-colour__palette { grid-template-columns: repeat(6, minmax(44px, 60px)); padding-right: 0; padding-bottom: 92px; } }

/* the colour-this-place easel: pick a page by its picture (games/world/src/main.js pickPlacePage) */
/* the magic easel's drawing page (draw.js): a blank square page, ten crayons */
.ww-draw__canvas { cursor: crosshair; }
.ww-draw .ww-colour__palette { grid-template-columns: repeat(10, minmax(44px, 64px)); }
@media (max-width: 700px) { .ww-draw .ww-colour__palette { grid-template-columns: repeat(5, minmax(44px, 60px)); } }
.ww-pages { flex-direction: column; justify-content: flex-start; gap: 14px; padding: max(12px, env(safe-area-inset-top)) 16px 16px; background: #FFF8E6; }
.ww-pages__top { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 760px; }
.ww-pages__title { width: 56px; height: 56px; }
.ww-pages__title .ww-ico { width: 56px; height: 56px; }
.ww-pages__gap { width: 56px; }
.ww-pages__list { list-style: none; margin: auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; width: 100%; max-width: 760px; }
.ww-pages__page { display: block; width: min(260px, 40vw); aspect-ratio: 3 / 4; padding: 8px; background: #fff; border: 3px solid var(--ink); border-radius: var(--wob); box-shadow: 0 5px 0 var(--ink); cursor: pointer; }
.ww-pages__page img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.ww-pages__page:focus-visible { outline: 4px solid var(--blue); outline-offset: 4px; }
.ww-pages__page.is-yours { background: #FFF1C9; }
@media (prefers-reduced-motion: no-preference) { .ww-pages__page:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); } }
@media (max-width: 560px) { .ww-pages__page { width: min(200px, 42vw); } .ww-pages__list { gap: 14px; } }

/* a picture-book reader's story over the walk (/read/<id>?in=walk) */
.ww-read { flex-direction: column; justify-content: flex-start; gap: 10px; padding: max(12px, env(safe-area-inset-top)) 16px max(12px, env(safe-area-inset-bottom)); background: #FFF8E6; }
.ww-read__top { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 760px; flex: none; }
.ww-read__title, .ww-read__gap { width: 56px; height: 56px; }
.ww-read__title .ww-ico { width: 56px; height: 56px; }
.ww-read__book { flex: 1 1 auto; width: 100%; max-width: 760px; min-height: 0; border: 3px solid var(--ink); border-radius: var(--wob); background: #fff; box-shadow: 0 5px 0 var(--ink); }

/* passport */
.ww-passport__grid { display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: start; }
@media (max-width: 560px) { .ww-passport__grid { grid-template-columns: 1fr; justify-items: center; } }
.ww-lamp { width: 180px; height: 180px; }
.ww-passport__count { margin: 0; text-align: center; font-size: 20px; }
.ww-stamps, .ww-stickers { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ww-stamps { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
.ww-stamp { display: grid; justify-items: center; gap: 4px; font-size: 13px; text-align: center; }
.ww-stamp__disc { width: 52px; height: 52px; padding: 8px; border-radius: 50%; border: 3px dashed #b9b3a6; background: #fff; }
.ww-stamp.is-on .ww-stamp__disc { border: 3px solid var(--ink); background: var(--z); transform: rotate(-8deg); }
.ww-stickers { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.ww-sticker { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 8px; border: 3px dashed #b9b3a6; border-radius: var(--wob); }
.ww-sticker__pic { grid-row: span 2; width: 56px; height: 56px; padding: 6px; border-radius: 50%; background: #F3EFE4; filter: grayscale(1) opacity(.45); }
.ww-sticker.is-on { border: 3px solid var(--ink); background: #FFFBEA; }
.ww-sticker.is-on .ww-sticker__pic { filter: none; background: #FFF1C9; }
.ww-sticker__name { font-size: 15px; }
.ww-sticker__how { font-size: 12px; color: #6d685e; font-weight: 600; }

/* grown-ups */
.ww-gate, .ww-settings { display: grid; gap: 10px; font-size: 17px; }
.ww-gate p, .ww-settings p { margin: 0; }
.ww-set { display: flex; gap: 10px; align-items: center; min-height: 44px; }
.ww-set input { width: 26px; height: 26px; accent-color: var(--blue); }
.ww-note { font-size: 14px; color: #5b5750; }

@media (prefers-reduced-motion: reduce) {
  .ww *, .ww *::before, .ww *::after { animation: none !important; transition: none !important; }
}

/* the Paper Train's ride between zones, over the line-art map */
.ww .ww-ride { position: absolute; inset: 0; z-index: 45; background: var(--paper); }
.ww-ride__canvas { width: 100%; height: 100%; display: block; }
.ww .ww-toast { z-index: 46; }

/* Doodle World behind Doodle Club (games/world/src/clublock.js): the calm padlock card for a door or a colour spot */
.ww-clubcard__card { width: min(440px, 100%); text-align: center; display: grid; justify-items: center; gap: 8px; }
.ww-clubcard__lock { width: 72px; height: 72px; }
.ww-clubcard__h { margin: 0 48px 0; justify-content: center; }
.ww-clubcard__p { margin: 0; font-size: 20px; }
.ww-clubcard__link { display: inline-block; padding: 12px 6px; min-height: 44px; color: #1E5BD8; font-size: 19px; }
.ww-clubcard__link:focus-visible { outline: 4px solid #3A86FF; outline-offset: 2px; border-radius: 8px; }
.ww-clubcard__shelf { min-height: 64px; padding: 10px 22px; gap: 10px; font-size: 20px; }
.ww-clubcard__shelf svg { width: 32px; height: 32px; }

/* the bookshelf on its own, for a visitor whose My House is in the Club (clublock.js openBookshelf) */
.ww-teaseshelf__card { width: min(680px, 100%); }
.ww-teaseshelf__h { display: flex; align-items: center; gap: 8px; margin: 0 56px 12px 0; }
.ww-teaseshelf__h svg { width: 32px; height: 32px; }
.ww-teaseshelf__books { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 14px; }
.ww-teaseshelf__book { display: block; width: 100%; min-height: 64px; padding: 6px; background: #fff; border: 3px solid var(--ink); border-radius: 10px; box-shadow: 0 4px 0 var(--ink); cursor: pointer; }
.ww-teaseshelf__book img { display: block; width: 100%; height: auto; }
.ww-teaseshelf__book:focus-visible, .ww-teaseshelf__open .ww-btn:focus-visible { outline: 4px solid #3A86FF; outline-offset: 3px; }
.ww-teaseshelf__open { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 18px 84px; background: rgba(255, 253, 247, .97); }
.ww-teaseshelf__page { max-width: 100%; max-height: 100%; padding: 10px; background: #fff; border: 3px solid var(--ink); border-radius: 10px; box-shadow: 0 6px 0 var(--ink); }
.ww-teaseshelf__prev, .ww-teaseshelf__next { position: absolute; top: 50%; width: 64px; height: 64px; transform: translateY(-50%); }
.ww-teaseshelf__prev { left: 12px; }
.ww-teaseshelf__next { right: 12px; }
.ww-teaseshelf__next svg { transform: scaleX(-1); }
.ww-teaseshelf__prev:disabled, .ww-teaseshelf__next:disabled { opacity: .35; }
.ww-teaseshelf__shut { position: absolute; top: 12px; right: 12px; width: 64px; height: 64px; }
.ww-teaseshelf__count { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); font-weight: 800; font-size: 18px; }
@media (max-width: 520px) { .ww-teaseshelf__open { padding: 84px 12px; } .ww-teaseshelf__prev, .ww-teaseshelf__next { top: auto; bottom: 10px; transform: none; } .ww-teaseshelf__count { bottom: 32px; } }
