/* class3-math-GM-ch13-t3.css : Tier 3 "The week" only (the day wheel and the favourite-day reflection).
   Shared look (pictures, chips, drag-and-drop cards): class3-math-GM-ch13-common.css */

/* ---------------- the wheel ---------------- */
.tg-overlay .tg-wedge { cursor: pointer; transition: filter .12s ease; -webkit-tap-highlight-color: transparent; }
.tg-overlay .tg-wedge:hover { filter: brightness(1.06); }
.tg-overlay .tg-wedge:active { filter: brightness(.94); }
.tg-overlay .tg-wedge.is-ok { fill: #9BEBB9 !important; }
.tg-overlay .tg-wedge.is-bad { fill: #FFB8AA !important; }
.tg-overlay .tg-spin { animation: tgSpin .9s cubic-bezier(.2, .8, .25, 1); }
@keyframes tgSpin { from { transform: rotate(-200deg); } to { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .tg-overlay .tg-spin { animation: none; } }
.tg-overlay .tg-chip-tx small { display: block; font-size: .78em; font-weight: 700; color: #6B64A8; }

/* ---------------- My Favourite Day ---------------- */
.tg-overlay .tg-fav { width: 100%; max-width: 620px; margin: 4px auto 8px; box-sizing: border-box; font-family: "Nunito", "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.tg-overlay .tg-fav-lab { margin: 10px 0 6px; font-weight: 800; font-size: 14px; color: #5A4FA0; text-align: center; }
.tg-overlay .tg-fav-days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tg-overlay .tg-fav-whys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tg-overlay .tg-dbtn, .tg-overlay .tg-rbtn {
    min-height: 48px; padding: 6px 4px; border-radius: 14px; border: 2px solid #CFC6F5; cursor: pointer; touch-action: manipulation;
    font: inherit; font-weight: 800; font-size: clamp(12px, 3.5vw, 16px); line-height: 1.15; color: #2A2858; -webkit-tap-highlight-color: transparent;
    background: linear-gradient(180deg, #FFFFFF, #F3EEFF); box-shadow: 0 3px 0 #CFC6F5;
}
.tg-overlay .tg-dbtn { border-color: var(--c, #CFC6F5); box-shadow: 0 3px 0 var(--c, #CFC6F5); }
.tg-overlay .tg-dbtn.on, .tg-overlay .tg-rbtn.on { background: linear-gradient(180deg, #DDFBE8, #9BEBB9); border-color: #2FB36A; box-shadow: 0 3px 0 #2FB36A; color: #145A36; }
.tg-overlay .tg-dbtn:active, .tg-overlay .tg-rbtn:active { transform: translateY(2px); }
.tg-overlay .tg-fav-own { width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 14px; border: 2px solid #CFC6F5; font: inherit; font-size: 15px; font-weight: 700; color: #2A2858; background: #fff; }
.tg-overlay .tg-fav-own:focus { outline: none; border-color: #3F8FE0; box-shadow: 0 0 0 3px rgba(63, 143, 224, .25); }
@media (min-width: 700px) { .tg-overlay .tg-fav-days { grid-template-columns: repeat(7, minmax(0, 1fr)); } .tg-overlay .tg-fav-whys { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
