/* Jogos do Semeando Sabores */
.jg-h { font-size: 1.05rem; margin: 18px 0 10px; color: var(--muted); }
.jg-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 700px) { .jg-tiles { grid-template-columns: repeat(4, 1fr); } }
.jg-tile { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 14px 14px; min-height: 136px; border-radius: 22px; text-decoration: none; color: #fff; overflow: hidden;
  background: linear-gradient(145deg, var(--a), var(--b)); box-shadow: 0 8px 20px rgba(74, 50, 82, .14); transition: transform .15s; }
.jg-tile:hover { transform: translateY(-3px) scale(1.01); }
.jg-tile::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.jg-tile-ic { font-size: 2.4rem; line-height: 1; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .15)); }
.jg-tile strong { font-size: 1rem; line-height: 1.15; margin-top: auto; } .jg-tile small { opacity: .92; font-size: .78rem; }
.jg-tag { position: absolute; top: 10px; right: 10px; background: #fff; color: #d64a5e; font: 800 .62rem/1 Nunito, sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; font-style: normal; }
.jg-tile.c1 { --a: #f5b259; --b: #e38f2a; } .jg-tile.c2 { --a: #ffd36b; --b: #f5a94e; color: #5b3a05; } .jg-tile.c3 { --a: #f27582; --b: #d64a5e; }
.jg-tile.c4 { --a: #8cc57f; --b: #3f7a3a; } .jg-tile.c5 { --a: #b996c4; --b: #7d5a8a; } .jg-tile.c6 { --a: #7fd0f0; --b: #2f8bb5; }
.jg-tile.c7 { --a: #f6a7c1; --b: #c0527e; } .jg-tile.c8 { --a: #6b7fb2; --b: #3b4c7a; }
.jg-tiles.small .jg-tile { min-height: 104px; padding: 14px; } .jg-tiles.small .jg-tile-ic { font-size: 1.8rem; }
.jg-tile.s { --a: #fff; --b: #f7f1f8; color: var(--ink); border: 2px solid var(--line); box-shadow: none; } .jg-tile.s small { color: var(--muted); } .jg-tile.s::after { display: none; }

.jg-top { display: flex; gap: 14px; align-items: center; margin: 4px 0 14px; }
.jg-top-ic { width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; font-size: 2rem; background: linear-gradient(145deg, #fde7b0, #f5b259); flex: none; box-shadow: 0 6px 14px rgba(245, 178, 89, .35); }
.jg-top h2 { margin: 0; font-size: 1.35rem; } .jg-top p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.jg-card { background: var(--card); border: 2px solid var(--line); border-radius: 24px; padding: 16px; margin-bottom: 14px; box-shadow: var(--shadow); }
.jg-center { text-align: center; } .jg-muted { color: var(--muted); font-size: .88rem; margin: 6px 0; }
.jg-big { font-size: 4rem; line-height: 1.1; margin: 4px 0; }
.jg-btn { display: inline-block; width: 100%; max-width: 360px; margin: 10px auto 0; padding: 14px 18px; border: 0; border-radius: 999px; background: var(--green); color: var(--on-green, #fff); font: 800 1rem Nunito, sans-serif; cursor: pointer; text-decoration: none; text-align: center; transition: transform .1s; }
.jg-btn:active { transform: scale(.97); } .jg-btn:disabled { opacity: .5; cursor: default; }
.jg-btn.sun { background: linear-gradient(135deg, #f5b259, #e38f2a); color: #3b2400; box-shadow: 0 6px 16px rgba(227, 143, 42, .35); }
.jg-btn.ghost { background: #fff; color: var(--green); border: 2px solid var(--green); }
.jg-stars { font-size: 2.2rem; letter-spacing: 4px; color: #e3dbe6; margin: 6px 0; } .jg-stars span { display: inline-block; } .jg-stars span.on { color: #f5b259; animation: jg-star .5s both; }
@keyframes jg-star { 0% { transform: scale(0) rotate(-40deg); } 70% { transform: scale(1.3); } 100% { transform: scale(1); } }
.jg-burst { position: fixed; inset: 0; pointer-events: none; z-index: 50; overflow: hidden; }
.jg-burst i { position: absolute; bottom: 20%; font-size: 1.8rem; font-style: normal; animation: jg-fly 2.2s ease-out both; }
@keyframes jg-fly { 0% { transform: translateY(0) rotate(0); opacity: 1; } 100% { transform: translateY(-70vh) rotate(var(--r)); opacity: 0; } }
.jg-pop { animation: jg-popin .4s both; } @keyframes jg-popin { from { transform: scale(0); } to { transform: scale(1); } }
.jg-wiggle { display: inline-block; animation: jg-wig 1.6s ease-in-out infinite; } @keyframes jg-wig { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }

.jg-plate { width: min(100%, 300px); height: auto; margin: 0 auto; display: block; }
.jg-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 8px 0; }
.jg-chip { padding: 4px 10px; border-radius: 999px; background: var(--line); color: var(--muted); font-size: .78rem; font-weight: 800; border: 2px solid transparent; }
.jg-chip.on { background: var(--c); color: #fff; }
.jg-tray { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; min-height: 54px; padding: 8px; margin: 6px 0; border-radius: 20px; background: var(--sun-soft, #fff4e2); border: 2px dashed var(--sun, #f5b259); align-items: center; }
.jg-mini { position: relative; font-size: 1.8rem; background: #fff; border: 0; border-radius: 14px; width: 50px; height: 50px; cursor: pointer; }
.jg-mini i { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; background: #d64a5e; color: #fff; font-size: .6rem; font-style: normal; display: grid; place-items: center; }
.jg-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 8px; }
.jg-tabs button { flex: none; padding: 8px 14px; border-radius: 999px; border: 2px solid var(--c); background: #fff; color: var(--ink); font: 800 .82rem Nunito, sans-serif; cursor: pointer; }
.jg-tabs button.on { background: var(--c); color: #fff; }
.jg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-bottom: 14px; }
.jg-pick { --c: var(--green); display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 4px 10px; min-height: 92px; border-radius: 18px; border: 2.5px solid var(--line); border-bottom-width: 5px; background: #fff; cursor: pointer; font: 700 .82rem Nunito, sans-serif; color: var(--ink); transition: transform .1s; }
.jg-pick span { font-size: 2.2rem; line-height: 1.1; } .jg-pick:hover { border-color: var(--c); } .jg-pick:active { transform: translateY(2px); border-bottom-width: 3px; }
.jg-pick.sel { border-color: var(--c); background: color-mix(in srgb, var(--c) 18%, #fff); }

.jg-stamps { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 8px 0; }
.jg-stamps span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; background: var(--line); filter: grayscale(1) opacity(.5); }
.jg-stamps span.on { background: #e8f3e6; filter: none; } .jg-stamps span.now { background: #fde7b0; filter: none; outline: 3px solid #f5b259; }

.jg-pet { width: 170px; height: auto; margin: 0 auto; display: block; } .jg-pet.dance { animation: jg-dance .5s ease-in-out infinite alternate; } .jg-pet.yum { animation: jg-yum .4s ease-out; }
@keyframes jg-dance { from { transform: rotate(-8deg) translateY(0); } to { transform: rotate(8deg) translateY(-8px); } } @keyframes jg-yum { 0% { transform: scale(1); } 50% { transform: scale(1.12); } 100% { transform: scale(1); } }
.jg-speech { display: inline-block; background: #fff4e2; border: 2px solid #f5b259; border-radius: 18px; padding: 10px 14px; font-weight: 700; margin: 8px 0; position: relative; }
.jg-speech::before { content: ""; position: absolute; top: -10px; left: 50%; margin-left: -8px; border: 8px solid transparent; border-top: 0; border-bottom-color: #f5b259; }
.jg-bars { display: grid; gap: 6px; text-align: left; margin: 8px 0; }
.jg-bar { display: grid; grid-template-columns: 112px 1fr 32px; gap: 8px; align-items: center; font-size: .82rem; font-weight: 700; }
.jg-bar div { height: 14px; border-radius: 99px; background: var(--line); overflow: hidden; } .jg-bar i { display: block; height: 100%; border-radius: 99px; transition: width .5s; } .jg-bar b { text-align: right; color: var(--muted); }

.jg-prog { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; margin-bottom: 6px; } .jg-prog i { display: block; height: 100%; background: var(--green); transition: width .4s; }
.jg-label { background: #fffdf5; border: 2px solid #e6dcc8; border-radius: 14px; padding: 12px; margin: 10px 0; text-align: left; font-family: "Courier New", monospace; }
.jg-label-h { display: flex; gap: 8px; align-items: center; font-family: Nunito, sans-serif; margin-bottom: 6px; } .jg-label-h span { font-size: 1.6rem; }
.jg-label small { font-size: .68rem; letter-spacing: .08em; color: var(--muted); } .jg-label ol { margin: 4px 0 0; padding-left: 20px; font-size: .9rem; }
.jg-label li { padding: 5px 6px; border-radius: 8px; } .jg-label.click li[data-jg] { cursor: pointer; } .jg-label.click li[data-jg]:hover { background: #fde7b0; }
.jg-label li.ok { background: #e8f3e6; font-weight: 800; } .jg-label li.bad { background: #fdeef0; text-decoration: line-through; }
.jg-label.click[data-jg] { cursor: pointer; } .jg-label.click[data-jg]:hover { border-color: var(--green); }
.jg-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } @media (max-width: 520px) { .jg-two { grid-template-columns: 1fr; } }
.jg-feedback { border-radius: 14px; padding: 10px 12px; margin-top: 10px; font-size: .92rem; text-align: left; } .jg-feedback.ok { background: #e8f3e6; } .jg-feedback.bad { background: #fff4e2; }
.jg-note { background: #f7f0f9; border-radius: 14px; padding: 12px; font-size: .9rem; margin: 10px 0; text-align: left; }

.jg-wheel-wrap { position: relative; width: 260px; height: 260px; margin: 10px auto; }
.jg-pointer { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); font-size: 1.8rem; color: #d64a5e; z-index: 2; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .25)); }
.jg-wheel { position: relative; width: 260px; height: 260px; border-radius: 50%; border: 8px solid #fff; box-shadow: 0 8px 24px rgba(74, 50, 82, .25), inset 0 0 0 4px rgba(255, 255, 255, .5); }
.jg-wheel span { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; display: grid; place-items: center; font-size: 1.9rem; }
.jg-wheel b { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.jg-input { width: 100%; max-width: 360px; border: 2px solid var(--line); border-radius: 14px; padding: 10px 12px; font: inherit; margin-bottom: 4px; }
.jg-result { border-color: var(--c); border-width: 3px; animation: jg-popin .35s both; }

.jg-map { display: flex; justify-content: space-between; gap: 4px; margin: 6px 0 14px; }
.jg-map div { flex: 1; text-align: center; padding: 10px 2px; border-radius: 16px; background: var(--line); opacity: .55; }
.jg-map div span { display: block; font-size: 1.5rem; } .jg-map div small { font-size: .62rem; font-weight: 800; color: var(--muted); }
.jg-map div.done { background: #e8f3e6; opacity: 1; } .jg-map div.done small { color: #f5b259; font-size: .8rem; } .jg-map div.now { background: #fde7b0; opacity: 1; outline: 3px solid #f5b259; }

.jg-thermo { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 10px 0; }
.jg-thermo button { border: 2px solid var(--line); border-radius: 16px; background: #fff; padding: 10px 2px; cursor: pointer; font: 800 .68rem Nunito, sans-serif; color: var(--ink); }
.jg-thermo button span { display: block; font-size: 1.8rem; } .jg-thermo button.on { border-color: var(--green); background: #e8f3e6; }
.jg-opts { display: grid; gap: 8px; margin: 10px 0; }
.jg-opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 2px solid var(--line); background: #fff; font: 800 .95rem Nunito, sans-serif; color: var(--ink); cursor: pointer; text-align: left; }
.jg-opt span { font-size: 1.6rem; } .jg-opt.ok { border-color: var(--green); background: #e8f3e6; } .jg-opt.bad { border-color: #d64a5e; background: #fdeef0; } .jg-opt:disabled { cursor: default; }

.jg-jar { width: 150px; height: auto; margin: 0 auto; display: block; } .jg-wave { animation: jg-wave 2.4s ease-in-out infinite; } @keyframes jg-wave { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-6px); } }
.jg-bub { animation: jg-bub 2s linear infinite; } .jg-bub.b2 { animation-delay: .8s; } @keyframes jg-bub { from { transform: translateY(0); opacity: .7; } to { transform: translateY(-80px); opacity: 0; } }
.jg-cups { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; font-size: 1.5rem; margin: 6px 0; } .jg-cups span { filter: grayscale(1) opacity(.3); } .jg-cups span.on { filter: none; }
.jg-done { border-color: #7fb8d6; background: linear-gradient(180deg, #fff, #eef7fb); }
.jg-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 10px 0; }
.jg-week div { position: relative; height: 84px; border-radius: 12px; background: var(--line); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.jg-week div i { position: absolute; left: 0; right: 0; bottom: 0; background: #9ed2ec; transition: height .4s; } .jg-week div.full i { background: #2f8bb5; }
.jg-week div small, .jg-week div b { position: relative; font-size: .65rem; } .jg-week div b { font-size: .85rem; margin-bottom: 4px; } .jg-week div.full b { color: #fff; }

/* ---------- plano alimentar ilustrado ---------- */
.ip-poster { background: #fffdf7; border: 3px solid #f6dce8; border-radius: 26px; padding: 18px; }
.ip-head { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.ip-leaf { width: 54px; height: 54px; border-radius: 18px; background: linear-gradient(145deg, #a1d296, #5f9a55); display: grid; place-items: center; font-size: 1.8rem; }
.ip-head h2 { margin: 0; font-size: 1.4rem; color: #3f7a3a; } .ip-head p { margin: 2px 0 0; color: var(--muted); font-size: .88rem; } .ip-head button { margin-left: auto; }
.ip-water { background: #eef7fb; border: 2px dashed #7fb8d6; border-radius: 14px; padding: 8px 12px; font-weight: 800; color: #2f6b8a; margin: 8px 0; }
.ip-grid { display: grid; gap: 12px; margin: 12px 0; } @media (min-width: 760px) { .ip-grid { grid-template-columns: 1fr 1fr; } .ip-meal:nth-child(3) { grid-column: 1 / -1; } }
.ip-meal { border-radius: 20px; padding: 12px 14px; border: 2px solid var(--mc); background: var(--mb); break-inside: avoid; }
.ip-meal.m0 { --mc: #f5b259; --mb: #fff6e6; } .ip-meal.m1 { --mc: #f27582; --mb: #fff0f2; } .ip-meal.m2 { --mc: #6fae63; --mb: #eef8e9; } .ip-meal.m3 { --mc: #b996c4; --mb: #f6effa; } .ip-meal.m4 { --mc: #7fb8d6; --mb: #eef7fb; }
.ip-meal header { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; } .ip-meal h3 { margin: 0; font-size: 1.05rem; } .ip-meal header small { color: var(--muted); font-weight: 700; }
.ip-ic { width: 44px; height: 44px; border-radius: 14px; background: #fff; display: grid; place-items: center; font-size: 1.5rem; border: 2px solid var(--mc); }
.ip-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.ip-item { background: #fff; border-radius: 16px; padding: 10px 8px; text-align: center; display: flex; flex-direction: column; gap: 2px; align-items: center; }
.ip-food { font-size: 2.2rem; line-height: 1.1; } .ip-item strong { font-size: .88rem; line-height: 1.15; } .ip-item small { color: var(--muted); font-size: .74rem; }
.ip-subs { width: 100%; margin-top: 4px; text-align: left; } .ip-subs summary { font-size: .72rem; font-weight: 800; color: var(--mc, #7d5a8a); cursor: pointer; list-style: none; text-align: center; }
.ip-subs ul { margin: 4px 0 0; padding-left: 16px; font-size: .74rem; color: var(--muted); }
.ip-tip { margin: 8px 0 0; font-size: .82rem; color: #5d4468; } .ip-note { background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 10px 12px; margin: 8px 0; font-size: .9rem; } .ip-note.warn { border-color: #f5b259; background: #fff6e6; }
.ip-foot { text-align: center; color: var(--muted); font-size: .75rem; margin: 10px 0 0; }
.ip-ed-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; } .ip-ed-tabs button { flex: none; padding: 8px 12px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font: 800 .82rem Nunito, sans-serif; cursor: pointer; color: var(--ink); } .ip-ed-tabs button.on { background: var(--green); border-color: var(--green); color: #fff; }
.ip-ed-meal { background: #faf7fb; border-radius: 16px; padding: 12px; }
.ip-ed-item { display: flex; gap: 8px; align-items: flex-start; padding: 8px 0; border-bottom: 1px dashed var(--line); } .ip-ed-item .ip-food { font-size: 1.8rem; width: 40px; text-align: center; }
.ip-ed-f { flex: 1; display: grid; gap: 6px; } .ip-ed-f input { width: 100%; }
@media print { .ip-poster { border: 0; padding: 0; } .ip-subs { display: block; } .ip-subs summary::-webkit-details-marker { display: none; } .ip-subs[open] ul, .ip-subs ul { display: block; } .ip-meal, .ip-item { -webkit-print-color-adjust: exact; print-color-adjust: exact; } .fh, .tabbar, .cs-tabs, nav { display: none !important; } }
