/* Bunnimoo 6.3.8 — wave 1 (bm-w1.js): the "today" strip on the activities page, the "new" badge and eight small games. */
.hub-tile.w1-new { position: relative; }
.hub-tile.w1-new::after { content: attr(data-new); position: absolute; top: 8px; inset-inline-end: 8px; background: #f49ab9; color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.w1-top { display: grid; gap: 10px; margin: 4px 0 14px; }
.w1-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.w1-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 92px; padding: 8px 6px; border: 0; border-radius: var(--r, 18px); background: #fff; box-shadow: var(--shadow, 0 2px 8px rgba(61,65,89,.12)); font: inherit; font-size: 13.5px; line-height: 1.25; text-align: center; color: inherit; cursor: pointer; }
.w1-card .w1-gi svg { width: 38px; height: 38px; }
.w1-gift { background: #fff4f8; }
.w1-gift.done { background: #f6f6f8; color: #6b6f86; }
.w1-gift.done .w1-gi { opacity: .55; }
.w1-gift.open .w1-gi { animation: w1-wig .7s ease 1; }
@keyframes w1-wig { 0%, 100% { transform: none; } 25% { transform: rotate(-10deg) scale(1.1); } 60% { transform: rotate(8deg) scale(1.08); } }
.w1-wish { background: #f2fbf6; }
.w1-surprise { background: #f3f1ff; }
.w1-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.w1-line > b { font-size: 14px; font-weight: 600; color: #6b6f86; }
.w1-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.w1-chip { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding-block: 4px; padding-inline: 8px 12px; border: 0; border-radius: 999px; background: #fff; box-shadow: var(--shadow, 0 1px 4px rgba(61,65,89,.12)); font: inherit; font-size: 14px; color: inherit; cursor: pointer; }
.w1-chip .w1-ci svg { width: 24px; height: 24px; display: block; }
.w1-days { margin: 4px 0 10px; font-weight: 600; color: #b5648a; }
.w1 [hidden], .w1-top [hidden] { display: none !important; }
.w1 { display: flex; flex-direction: column; gap: 10px; padding-bottom: 24px; }
.w1 .sub { margin: 0; }
.w1-best { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; color: #6b6f86; }
.w1-best svg { width: 22px; height: 22px; }
.w1 .btn-xl { align-self: center; }
.w1 button, .w1-field, .w1-maze, .w1-slide, .w1-simon, .w1-ttt { -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: manipulation; }
/* carrot catch */
.w1-car-hud { display: flex; align-items: center; gap: 12px; }
.w1-car-n { display: inline-flex; align-items: center; gap: 4px; font-size: 22px; font-weight: 700; }
.w1-car-n svg { width: 30px; height: 30px; }
.w1-car-t { flex: 1; height: 12px; border-radius: 999px; background: #eef0f6; overflow: hidden; }
.w1-car-t i { display: block; height: 100%; width: calc(var(--p, 1) * 100%); background: #8fd6b1; border-radius: inherit; }
.w1-field { position: relative; height: min(58vh, 460px); min-height: 300px; border-radius: var(--r, 18px); background: linear-gradient(#eaf6ff, #fdf8ee 75%, #e3f3e6); overflow: hidden; touch-action: none; }
.w1-field:focus { outline: none; }
.w1-field:focus-visible { outline: 3px solid #b9a6f5; outline-offset: 2px; }
.w1-basket { position: absolute; left: 0; bottom: 8px; width: 72px; height: 56px; pointer-events: none; will-change: transform; }
.w1-basket svg { width: 72px; height: 56px; }
.w1-carrot { position: absolute; left: 0; top: 0; width: 40px; height: 40px; pointer-events: none; will-change: transform; }
.w1-carrot svg { width: 40px; height: 40px; }
.w1-carrot.gold svg { filter: drop-shadow(0 0 6px #f2cd5c) saturate(1.6) hue-rotate(15deg); }
.w1-field .w1-go { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); z-index: 2; }
.w1-end { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: rgba(255,255,255,.82); z-index: 3; text-align: center; padding: 16px; }
.w1-end-t { font-size: 26px; font-weight: 700; margin: 0; }
.w1-nb { margin: 0; color: #b5648a; font-weight: 700; }
/* tic-tac-toe */
.w1-ttt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: min(100%, 330px); margin: 0 auto; }
.w1-cell { aspect-ratio: 1; border: 0; border-radius: 16px; background: #fff; box-shadow: var(--shadow, 0 2px 6px rgba(61,65,89,.12)); display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.w1-cell svg { width: 62%; height: 62%; }
.w1-cell:disabled { cursor: default; color: inherit; opacity: 1; }
.w1-cell.win { background: #fff0b8; }
.w1-score { margin: 0; }
/* maze */
.w1-mzwrap { display: flex; justify-content: center; }
.w1-maze { --n: 5; display: grid; grid-template-columns: repeat(var(--n), 1fr); width: min(100%, 340px); aspect-ratio: 1; background: #fffdf6; border-radius: 12px; box-shadow: var(--shadow, 0 2px 6px rgba(61,65,89,.12)); padding: 4px; touch-action: none; }
.w1-mc { position: relative; display: flex; align-items: center; justify-content: center; border: 3px solid transparent; }
.w1-mc.wt { border-top-color: #7d6bb5; } .w1-mc.wr { border-right-color: #7d6bb5; } .w1-mc.wb { border-bottom-color: #7d6bb5; } .w1-mc.wl { border-left-color: #7d6bb5; }
.w1-mc span { width: 86%; height: 86%; display: block; }
.w1-mc svg { width: 100%; height: 100%; display: block; }
.w1-arrows { display: grid; grid-template-columns: repeat(3, 64px); grid-template-rows: repeat(2, 56px); gap: 6px; justify-content: center; }
.w1-arr { border: 0; border-radius: 14px; background: #fff; box-shadow: var(--shadow, 0 2px 6px rgba(61,65,89,.12)); font-size: 22px; color: #3d4159; cursor: pointer; }
.w1-arr.up { grid-column: 2; grid-row: 1; } .w1-arr.left { grid-column: 1; grid-row: 2; } .w1-arr.down { grid-column: 2; grid-row: 2; } .w1-arr.right { grid-column: 3; grid-row: 2; }
/* drawing */
.w1-tools { display: grid; gap: 8px; }
.w1-colors { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.w1-col { width: 36px; height: 36px; border-radius: 50%; border: 3px solid #fff; background: var(--c); box-shadow: 0 0 0 1px #d5d8e4; cursor: pointer; padding: 0; }
.w1-col.on { box-shadow: 0 0 0 3px #3d4159; }
.w1-trow { display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; }
.w1-sizes { display: flex; gap: 4px; }
.w1-size { width: 40px; height: 40px; border: 0; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #d5d8e4; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.w1-size i { width: var(--s); height: var(--s); border-radius: 50%; background: #3d4159; display: block; }
.w1-size.on, .w1-tb.on { box-shadow: 0 0 0 3px #3d4159; }
.w1-tb { min-height: 40px; padding: 0 12px; border: 0; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #d5d8e4; font: inherit; font-size: 14px; color: inherit; cursor: pointer; }
.w1-paper { position: relative; width: 100%; height: min(54vh, 430px); min-height: 280px; background: #fff; border-radius: var(--r, 18px); box-shadow: var(--shadow, 0 2px 6px rgba(61,65,89,.12)); overflow: hidden; }
.w1-paper canvas { position: absolute; inset: 0; touch-action: none; display: block; }
.w1-page { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.w1-page[hidden] { display: none; }
.w1-bottom .btn { display: inline-flex; align-items: center; gap: 6px; }
.w1-bottom .btn svg { width: 20px; height: 20px; }
/* slide puzzle */
.w1-slide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: min(100%, 300px); margin: 0 auto; }
.w1-st { aspect-ratio: 1; border: 0; border-radius: 16px; background: var(--c, #fff); box-shadow: var(--shadow, 0 2px 6px rgba(61,65,89,.12)); font: inherit; font-size: 34px; font-weight: 700; color: #3d4159; cursor: pointer; transition: transform .12s; }
.w1-st:active { transform: scale(.95); }
.w1-st.empty { background: transparent; box-shadow: inset 0 0 0 2px #e6e8f0; }
.w1-st.done { opacity: 1; }
/* remember the order */
.w1-simon { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; width: min(100%, 300px); margin: 0 auto; }
.w1-pad { aspect-ratio: 1; border: 0; border-radius: 26px; background: var(--c); opacity: .62; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: opacity .15s, transform .15s; }
.w1-pad svg { width: 46%; height: 46%; }
.w1-pad:disabled { cursor: default; }
.w1-pad.lit { opacity: 1; transform: scale(1.05); box-shadow: 0 0 0 5px #fff, 0 0 18px var(--c); }
.w1-len { margin: 0; min-height: 1.2em; }
/* riddles, facts */
.w1-qcard { position: relative; padding: 22px 18px; text-align: center; }
.w1-q { font-size: 21px; line-height: 1.4; margin: 0; }
.w1-a { font-size: 26px; font-weight: 700; color: #b5648a; margin: 14px 0 0; }
.w1-fn { position: absolute; top: 8px; inset-inline-end: 12px; font-size: 12px; color: #9a9db0; }
html.rm .w1-gift.open .w1-gi, html.rm .w1-pad.lit, html.rm .w1-st { animation: none; transition: none; transform: none; }

/* 6.3.9: ages 3–6 — 8 big picture tiles + one wide "more games" tile */
.hub-grid.w1-bigtiles { gap: 14px; }
.hub-grid.w1-bigtiles .hub-tile { min-height: 158px; font-size: 19px; font-weight: 700; }
.hub-grid.w1-bigtiles .hub-tile .ht-i svg { width: 84px; height: 84px; }
.hub-grid .hub-tile.w1-more { grid-column: 1 / -1; min-height: 96px; flex-direction: row; gap: 14px; font-size: 20px; font-weight: 700; background: linear-gradient(135deg, #fff4ec, #f3eeff); }
.hub-grid .hub-tile.w1-more .ht-i svg { width: 60px; height: 60px; }
.hub-grid .hub-tile.w1-more.back { min-height: 76px; font-size: 18px; }
.w1-qcard { position: relative; }
.w1-qcard .w1-spk { position: absolute; top: 8px; inset-inline-start: 8px; }
