/* 100 Brincadeiras Sem Bagunça — app (mobile-first). O layout de impressão da ficha vem de css/book.css (media=print). */
@font-face { font-family: Fredoka; font-weight: 500; font-display: swap; src: url(../fonts/Fredoka-Medium.ttf); }
@font-face { font-family: Fredoka; font-weight: 600; font-display: swap; src: url(../fonts/Fredoka-SemiBold.ttf); }
@font-face { font-family: Fredoka; font-weight: 700; font-display: swap; src: url(../fonts/Fredoka-Bold.ttf); }
@font-face { font-family: Nunito; font-weight: 400; font-display: swap; src: url(../fonts/Nunito-Regular.ttf); }
@font-face { font-family: Nunito; font-weight: 600; font-display: swap; src: url(../fonts/Nunito-SemiBold.ttf); }
@font-face { font-family: Nunito; font-weight: 700; font-display: swap; src: url(../fonts/Nunito-Bold.ttf); }
@font-face { font-family: Nunito; font-weight: 800; font-display: swap; src: url(../fonts/Nunito-ExtraBold.ttf); }

:root {
  --ink: #23443D; --ink2: #4A645E; --cream: #FFFBF2; --paper: #fff; --line: #E9E1D2;
  --mint: #4FC9A8; --mintL: #DDF5EC; --green: #1E6B57; --greenD: #154D3F;
  --coral: #FF7A6B; --coralL: #FFEDE7; --coralD: #B8382B; --yellow: #FFD45C; --yellowL: #FFF6CF; --lilacL: #EFE8FC; --skyL: #D6EBF9;
  --r: 22px; --top: 64px; --nav: 72px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 600 17px/1.5 Nunito, system-ui, sans-serif; }
h1, h2, h3 { font-family: Fredoka, Nunito, sans-serif; line-height: 1.15; margin: 0; font-weight: 600; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 12px 16px; z-index: 50; }
.skip:focus { left: 8px; }
#print, #confetti { display: none; }
#confetti.on { display: block; position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }

/* ---- casca ---- */
.top { position: sticky; top: 0; z-index: 20; height: var(--top); display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px 0 10px; background: var(--cream); background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1.5px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; min-height: 48px; font: 700 20px Fredoka; }
.brand img { width: 40px; height: auto; }
.safety-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 16px; border-radius: 99px; background: var(--coralL);
  color: var(--coralD); border: 2px solid #FFC4BA; text-decoration: none; font: 800 16px Nunito; }
.safety-btn svg { width: 22px; height: 22px; }
main { max-width: 600px; margin: 0 auto; padding: 16px 16px calc(var(--nav) + 28px + var(--safe-b)); outline: none; }
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(5, 1fr);
  background: #fff; border-top: 1.5px solid var(--line); padding: 4px 4px calc(4px + var(--safe-b)); box-shadow: 0 -6px 20px #23443D10; }
.tabs a { min-height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none;
  font: 800 12.5px Nunito; color: var(--ink2); border-radius: 16px; }
.tabs svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.tabs a[aria-current="page"] { color: var(--green); background: var(--mintL); }
.tabs a[aria-current="page"] svg { fill: var(--mint); fill-opacity: .35; }
.loading { padding: 40px 0; text-align: center; }
.toast { position: fixed; left: 50%; bottom: calc(var(--nav) + 18px + var(--safe-b)); transform: translateX(-50%) translateY(20px); opacity: 0;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 99px; font-weight: 800; z-index: 30; transition: .25s; pointer-events: none; max-width: 90vw; }
.toast.on { opacity: 1; transform: translateX(-50%); }

/* ---- peças ---- */
#view .sec { margin: 22px 0 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
#view .sec h2 { font-size: 22px; }
#view .sec a { font-weight: 800; color: var(--green); min-height: 48px; display: inline-flex; align-items: center; }
#view .box { background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r); padding: 16px; }
#view .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: 16px; border: 0;
  background: var(--green); color: #fff; font: 800 17px Nunito; text-decoration: none; cursor: pointer; box-shadow: 0 4px 0 var(--greenD); }
#view .btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--greenD); }
#view .btn.soft { background: #fff; color: var(--green); border: 2px solid var(--mint); box-shadow: 0 4px 0 #BFE9DB; }
#view .btn.warm { background: var(--yellowL); color: var(--ink); border: 2px solid #F2CF55; box-shadow: 0 4px 0 #EAD27A; }
#view .btn[aria-pressed="true"].fav { background: var(--coralL); color: var(--coralD); border-color: var(--coral); box-shadow: 0 4px 0 #FFC4BA; }
#view .btn[aria-pressed="true"].done { background: var(--mint); color: var(--ink); border-color: var(--mint); box-shadow: 0 4px 0 #2FA886; }
#view .btn svg { width: 22px; height: 22px; }
#view .btn.block { width: 100%; }
#view .chips { display: flex; flex-wrap: wrap; gap: 8px; }
#view .chip-btn { min-height: 48px; padding: 0 16px; border-radius: 99px; border: 2px solid var(--line); background: #fff; font: 800 16px Nunito; cursor: pointer; }
#view .chip-btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
#view .tag { display: inline-block; border-radius: 99px; padding: 2px 12px; font: 800 14px Nunito; background: var(--mintL); }
#view .muted { color: var(--ink2); }

/* ---- início ---- */
#view .hello { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
#view .hello img { width: 104px; flex: none; animation: wave 1.6s ease-in-out 1; }
#view .hello h1 { font-size: 28px; }
#view .hello p { font-size: 17px; }
@keyframes wave { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-6deg); } 60% { transform: rotate(5deg); } }
#view .today { position: relative; margin-top: 16px; border-radius: 28px; padding: 18px; background: var(--bg, var(--mintL)); overflow: hidden; }
#view .today .kick { display: inline-block; background: #fff; border-radius: 99px; padding: 4px 14px; font: 800 14px Nunito; letter-spacing: .04em; }
#view .today h2 { font-size: 27px; margin: 10px 0 4px; }
#view .today .scene { width: 100%; max-height: 140px; object-fit: contain; margin: 10px 0; }
#view .today .row { display: flex; gap: 10px; flex-wrap: wrap; }
#view .today .alt { margin-top: 12px; font-size: 16px; }
#view .today .alt a { font-weight: 800; color: var(--green); }
#view .shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#view .shortcut { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px; padding: 14px; border-radius: 24px;
  text-decoration: none; background: var(--c); overflow: hidden; border: 2px solid #0000000d; }
#view .shortcut img { position: absolute; right: -6px; top: 6px; width: 84px; }
#view .shortcut b { font: 600 19px/1.15 Fredoka; position: relative; max-width: 80%; }
#view .shortcut small { font: 700 15px Nunito; color: var(--ink2); position: relative; }
#view .progress .bar { height: 18px; background: #fff; border: 2px solid var(--line); border-radius: 99px; overflow: hidden; margin-top: 10px; }
#view .progress .bar i { display: block; height: 100%; background: repeating-linear-gradient(45deg, var(--mint) 0 12px, #6FD6B9 12px 24px); border-radius: 99px; }
#view .progress b { font: 700 24px Fredoka; }

/* ---- lista ---- */
#view .search { position: relative; }
#view .search input { width: 100%; min-height: 56px; border-radius: 18px; border: 2px solid var(--line); background: #fff; padding: 0 16px 0 48px; font: 700 17px Nunito; color: var(--ink); }
#view .search input:focus { border-color: var(--mint); outline: none; box-shadow: 0 0 0 4px #4FC9A833; }
#view .search svg { position: absolute; left: 16px; top: 17px; width: 22px; height: 22px; stroke: var(--ink2); fill: none; stroke-width: 2.4; }
#view details.filters { margin-top: 12px; }
#view details.filters > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 16px;
  border-radius: 18px; background: #fff; border: 2px solid var(--line); cursor: pointer; font-weight: 800; }
#view details.filters > summary::-webkit-details-marker { display: none; }
#view details.filters > summary .n { background: var(--ink); color: #fff; border-radius: 99px; padding: 0 10px; margin-left: 6px; }
#view details.filters[open] > summary { border-color: var(--mint); }
#view .fgroup { margin-top: 14px; }
#view .fgroup h3 { font: 800 15px Nunito; letter-spacing: .05em; text-transform: uppercase; color: var(--ink2); margin-bottom: 8px; }
#view .active-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; align-items: center; }
#view .active-row .chip-btn { background: var(--ink); color: #fff; border-color: var(--ink); }
#view .count { margin: 14px 0 8px; font-weight: 800; }
#view .cards { display: grid; gap: 10px; }
#view .card { display: flex; gap: 12px; align-items: center; padding: 10px; padding-right: 14px; border-radius: 20px; background: #fff; border: 1.5px solid var(--line);
  text-decoration: none; min-height: 84px; position: relative; }
#view .card .th { width: 76px; height: 64px; border-radius: 14px; background: var(--bg); flex: none; display: flex; align-items: center; justify-content: center; overflow: hidden; }
#view .card .th img { width: 100%; height: 100%; object-fit: cover; }
#view .card .tx { flex: 1; min-width: 0; }
#view .card b { display: block; font: 600 18px/1.2 Fredoka; }
#view .card small { font-size: 15px; color: var(--ink2); font-weight: 700; }
#view .card .badges { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
#view .card .ok { background: var(--mint); color: var(--ink); border-radius: 99px; font: 800 13px Nunito; padding: 2px 8px; white-space: nowrap; }
#view .card .hv { color: var(--coral); font-size: 20px; line-height: 1; }
#view .empty { text-align: center; padding: 24px 12px; }
#view .empty img { width: 110px; margin: 0 auto 8px; }

/* ---- ficha ---- */
#view .f-head { background: var(--bg); border-radius: 28px; padding: 16px 16px 18px; position: relative; }
#view .f-head .back { min-height: 48px; display: inline-flex; align-items: center; gap: 4px; font-weight: 800; text-decoration: none; margin: -6px 0 4px -4px; padding: 0 8px; border-radius: 12px; }
#view .f-head .pill { display: inline-block; max-width: calc(100% - 92px); background: #fff; border-radius: 99px; padding: 4px 12px; font: 800 14px Nunito; letter-spacing: .03em; }
#view .f-head h1 { font-size: 30px; font-weight: 700; margin-top: 10px; padding-right: 92px; }
#view .seal { position: absolute; right: 12px; top: 12px; width: 84px; height: 84px; border-radius: 50%; border: 2.5px solid var(--coralD); color: var(--coralD);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transform: rotate(-10deg); background: #ffffffb8; }
#view .seal::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1.5px dashed var(--coralD); }
#view .seal b { font: 700 17px/1 Fredoka; } #view .seal b + b { font-size: 12px; } #view .seal small { font: 800 10px/1.1 Nunito; margin-top: 2px; }
#view .attn { position: sticky; top: calc(var(--top) + 6px); z-index: 10; margin-top: 12px; display: flex; gap: 10px; align-items: flex-start;
  background: var(--coralL); border: 2.5px solid var(--coral); border-radius: 18px; padding: 10px 14px; box-shadow: 0 6px 14px #23443D14; }
#view .attn .ic { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--coralD); color: #fff; font: 700 19px/30px Fredoka; text-align: center; }
#view .attn b { color: var(--coralD); font: 700 16px Fredoka; letter-spacing: .04em; margin-right: 4px; }
#view .attn p { font-weight: 800; font-size: 16px; line-height: 1.35; }
#view .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
#view .stats div { border-radius: 18px; padding: 10px 12px; text-align: center; }
#view .stats small { display: block; font: 800 13px Nunito; letter-spacing: .06em; color: var(--ink2); }
#view .stats b { font: 600 20px Fredoka; }
#view .stats div:nth-child(1) { background: #FFF6CF; } #view .stats div:nth-child(2) { background: var(--lilacL); } #view .stats div:nth-child(3) { background: var(--mintL); } #view .stats div:nth-child(4) { background: #FFE6DF; }
#view .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
#view .senses { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
#view .senses .tag { background: var(--bg); }
#view .desc { margin-top: 10px; font-size: 18px; }
#view .say { display: flex; gap: 10px; align-items: center; margin-top: 16px; }
#view .say img { width: 64px; flex: none; }
#view .say .bub { position: relative; flex: 1; background: var(--yellowL); border: 2.5px solid #F2CF55; border-radius: 22px; padding: 10px 16px; }
#view .say .bub::before { content: ""; position: absolute; left: -12px; top: 50%; margin-top: -10px; border: 10px solid transparent; border-right: 12px solid #F2CF55; border-left: 0; }
#view .say .bub::after { content: ""; position: absolute; left: -8px; top: 50%; margin-top: -7px; border: 7px solid transparent; border-right: 9px solid var(--yellowL); border-left: 0; }
#view .say small { font: 800 13px Nunito; letter-spacing: .06em; color: #7A5C00; }
#view .say p { font: 600 19px/1.3 Fredoka; }
#view .note { margin-top: 18px; background: #FFF1A6; padding: 22px 18px 14px; border-radius: 6px 6px 22px 6px; position: relative; transform: rotate(-1deg); box-shadow: 0 5px 0 #E7D57A; }
#view .note::before { content: ""; position: absolute; top: -10px; left: 50%; margin-left: -46px; width: 92px; height: 24px; background: #ffffffb5; border: 1px solid #E8DFC0; transform: rotate(2deg); }
#view .note h2 { font-size: 20px; margin-bottom: 6px; }
#view .note ul { list-style: none; margin: 0; padding: 0; }
#view .note li { display: flex; gap: 10px; align-items: center; min-height: 40px; }
#view .note li img { width: 34px; flex: none; background: #fff; border-radius: 10px; padding: 3px; }
#view .steps { margin-top: 16px; }
#view .steps h2 { font-size: 21px; margin-bottom: 8px; }
#view .steps ol { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 8px; }
#view .steps li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 10px 14px; }
#view .steps li::before { content: counter(s); flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); color: var(--ink); font: 700 17px/30px Fredoka; text-align: center; }
#view .steps.play li::before { background: #FF9A8E; }
#view .art { margin-top: 16px; background: var(--bg); border-radius: 26px; padding: 12px; }
#view .art .badges { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
#view .art .badges span { width: 60px; height: 60px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
#view .art .badges img { width: 40px; }
#view .levels { display: grid; gap: 10px; margin-top: 16px; }
#view .levels div { border-radius: 18px; padding: 12px 16px; }
#view .levels h3 { font-size: 18px; }
#view .levels .easy { background: #E3F5DD; } #view .levels .hard { background: var(--lilacL); }
#view .why { margin-top: 12px; border: 2px dashed var(--mint); border-radius: 18px; padding: 12px 16px; background: #fff; }
#view .why h3 { font-size: 17px; color: var(--green); }
#view .pager { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
#view .pager a { min-height: 56px; display: flex; flex-direction: column; justify-content: center; padding: 6px 14px; border-radius: 16px; background: #fff; border: 1.5px solid var(--line); text-decoration: none; }
#view .pager a.next { text-align: right; }
#view .pager small { color: var(--ink2); font-size: 14px; font-weight: 800; }

/* ---- casa / materiais ---- */
#view .summary { position: sticky; top: var(--top); z-index: 9; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px -16px 0; padding: 8px 16px; background: var(--cream); }
#view #res-now, #view #res-one { scroll-margin-top: calc(var(--top) + 100px); }
#view .summary a { text-decoration: none; border-radius: 18px; padding: 10px 12px; min-height: 64px; border: 2px solid; background: #fff; }
#view .summary a b { font: 700 26px/1 Fredoka; display: block; }
#view .summary a small { font-size: 14px; font-weight: 800; }
#view .summary .now { border-color: var(--mint); background: var(--mintL); }
#view .summary .one { border-color: #F2CF55; background: var(--yellowL); }
#view details.room { margin-top: 12px; background: #fff; border-radius: 20px; border: 1.5px solid var(--line); overflow: hidden; }
#view details.room > summary { list-style: none; min-height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; font: 600 19px Fredoka; cursor: pointer; }
#view details.room > summary::-webkit-details-marker { display: none; }
#view details.room > summary small { font: 800 14px Nunito; color: var(--ink2); }
#view .mat { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 6px 16px; border-top: 1.5px solid var(--line); cursor: pointer; }
#view .mat input { width: 28px; height: 28px; accent-color: var(--green); flex: none; }
#view .mat img { width: 38px; flex: none; }
#view .mat span { flex: 1; }
#view .mat:has(input:checked) { background: var(--mintL); }
#view .result-card .miss { display: inline-block; margin-top: 2px; background: var(--yellowL); border-radius: 99px; padding: 0 10px; font-size: 14px; font-weight: 800; }
#view .tools { display: flex; gap: 10px; margin-top: 12px; }

/* ---- calendário ---- */
#view .week { margin-top: 18px; }
#view .week h2 { font-size: 20px; }
#view .week h2 small { display: block; font: 800 14px Nunito; color: var(--ink2); letter-spacing: .04em; text-transform: uppercase; }
#view .days { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px; margin: 10px 0 0; }
@media (min-width: 640px) { #view .days { grid-template-columns: repeat(2, 1fr); } }
#view .day { position: relative; border-radius: 20px; background: #fff; border: 2px solid var(--line); display: flex; flex-direction: column; overflow: hidden; scroll-margin: 90px; }
#view .day-body { display: flex; gap: 12px; padding: 12px 14px; flex: 1; }
#view .day .n { flex: none; display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; background: var(--wk); color: #fff; font: 700 19px Fredoka; }
#view .day-txt { min-width: 0; flex: 1; }
#view .day-txt > a { text-decoration: none; display: flex; align-items: center; min-height: 48px; }
#view .day b { display: block; font: 600 17px/1.2 Fredoka; }
#view .day-alt { font-size: 15px; color: var(--ink2); margin: 0; line-height: 1.4; }
#view .day-alt a { color: var(--green); font-weight: 800; display: inline; padding: 14px 0; line-height: 1.4; }
#view .day-tip { font-size: 15px; line-height: 1.4; color: var(--ink2); margin: 6px 0 0; }
#view .hoje-tag { display: inline-block; background: var(--yellow); border-radius: 99px; padding: 0 10px; font: 800 12.5px/22px Nunito; margin-bottom: 4px; }
#view .day button { min-height: 48px; border: 0; border-top: 1.5px solid var(--line); background: #fff; font: 800 15px Nunito; color: var(--ink); display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
#view .day button[aria-pressed="true"] { background: var(--mint); }
#view .day.today { border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--yellow); }
#view .day.is-done .day-txt { opacity: .75; }
#view .restart { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
#view .restart h3 { font: 600 19px Fredoka; margin: 0; }
#view .tipday { margin-top: 10px; font-size: 16px; line-height: 1.45; background: rgba(255,255,255,.7); border-radius: 14px; padding: 10px 12px; }
#view details.filters > summary .fcount { margin-left: auto; margin-right: 10px; font: 700 14.5px Nunito; color: var(--ink2); }
#install p { margin: 0; line-height: 1.45; }
#install .btn { margin-top: 10px; }
dialog.confirm { border: 0; border-radius: 24px; padding: 22px; width: min(420px, calc(100vw - 32px)); background: var(--paper, #fff); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
dialog.confirm::backdrop { background: rgba(35, 68, 61, .45); }
dialog.confirm h2 { font: 600 22px Fredoka; margin: 0 0 8px; }
dialog.confirm p { margin: 0 0 16px; line-height: 1.5; }
dialog.confirm .row { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
dialog.confirm .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 20px; border-radius: 16px; border: 0; font: 800 16px Nunito; cursor: pointer; background: var(--green); color: #fff; }
dialog.confirm .btn.soft { background: #fff; color: var(--ink); border: 2px solid var(--line); }

/* ---- segurança ---- */
#view .safety-hero { display: flex; align-items: center; gap: 12px; background: var(--coralL); border-radius: 26px; padding: 14px; }
#view .safety-hero img { width: 120px; flex: none; }
#view .safety-hero h1 { font-size: 27px; }
#view details.scard { margin-top: 12px; background: #fff; border-radius: 22px; border: 1.5px solid var(--line); }
#view details.scard > summary { list-style: none; min-height: 60px; display: flex; align-items: center; gap: 12px; padding: 8px 16px; font: 600 19px/1.2 Fredoka; cursor: pointer; }
#view details.scard > summary::-webkit-details-marker { display: none; }
#view details.scard > summary::after { content: "+"; margin-left: auto; font: 700 26px Fredoka; color: var(--green); }
#view details.scard[open] > summary::after { content: "–"; }
#view details.scard .num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--mint); text-align: center; font: 700 17px/34px Fredoka; }
#view details.scard ul { list-style: none; margin: 0; padding: 0 16px 16px; display: grid; gap: 8px; }
#view details.scard li { background: var(--cream); border-radius: 14px; padding: 10px 14px; }
#view details.scard li .g { display: inline-block; font: 800 12.5px Nunito; letter-spacing: .06em; background: var(--mintL); border-radius: 99px; padding: 1px 9px; margin-right: 6px; }
#view details.scard.never li { background: #FFF4F1; }
#view details.scard.never li b { color: var(--coralD); }

/* ---- baixar ---- */
#view .dl { display: grid; gap: 12px; }
#view .dl .box { display: grid; grid-template-columns: 64px 1fr; gap: 6px 14px; align-items: center; }
#view .dl .ico { width: 64px; height: 76px; border-radius: 12px; background: var(--bg, var(--mintL)); display: flex; align-items: center; justify-content: center; grid-row: span 2; }
#view .dl .ico img { width: 52px; }
#view .dl h3 { font-size: 19px; }
#view .dl small { color: var(--ink2); font-weight: 700; font-size: 15px; }
#view .dl .row { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
#view .dl .off { display: inline-block; background: var(--mintL); border-radius: 99px; padding: 0 10px; font-size: 13.5px; font-weight: 800; margin-left: 4px; }
#view .tip { display: flex; gap: 12px; align-items: center; background: var(--yellowL); border: 2px solid #F2CF55; border-radius: 22px; padding: 14px 16px; margin-top: 16px; }
#view .tip svg { width: 36px; height: 36px; flex: none; }

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

/* ---- imprimir esta ficha: só a ficha, 1 A4, com cores ---- */
@media print {
  html, body { background: #fff !important; }
  #app, #confetti { display: none !important; }
  #print { display: block !important; }
  #print .page { break-after: auto; page-break-after: auto; margin: 0; box-shadow: none; height: 296.5mm; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
