/* ETO Accounts: the accounts part of the quiz result box (mockup screen 4). Orange = rewards only.
   Theme tokens (wp-content/themes/eto/assets/css/base.css); the fallbacks are the theme's light values. */
.eto-acc-result { margin-top: 16px; text-align: left; }
.eto-acc-result[hidden] { display: none; }
.eto-acc-ic { display: inline-grid; place-items: center; flex: none; }
.eto-acc-ic svg { width: 100%; height: 100%; }

.eto-acc-rewards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.eto-acc-rw {
	display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 18px;
	background: var(--surface, #FFFDF8); border: 1px solid var(--line, #E4DFD3);
	border-bottom: 4px solid color-mix(in srgb, var(--reward, #E8650A) 45%, var(--line, #E4DFD3));
	animation: eto-acc-pop .6s cubic-bezier(.2, 1.4, .4, 1) both;
}
.eto-acc-rw:nth-child(2) { animation-delay: .15s; }
.eto-acc-rw:nth-child(3) { animation-delay: .3s; }
.eto-acc-rw .eto-acc-ic {
	width: 52px; height: 52px; padding: 12px; border-radius: 16px;
	background: var(--reward-soft, #FDEEDD); color: var(--reward, #E8650A);
	border: 2px solid var(--reward, #E8650A); border-bottom-width: 5px;
}
.eto-acc-badge .eto-acc-ic { transform: rotate(-5deg); }
.eto-acc-rw b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--reward-ink, #9A4307); }
.eto-acc-rw span:not(.eto-acc-ic) { display: block; font-size: 14px; line-height: 1.4; color: var(--text-2, #4F4C45); }
/* "Already counted today": information, not a reward. */
.eto-acc-quiet { border-bottom-color: var(--line, #E4DFD3); }
.eto-acc-quiet b { font-size: 16px; font-weight: 650; letter-spacing: 0; color: var(--text, #1F1E1B); }
.eto-acc-quiet .eto-acc-ic { background: var(--surface-2, #F3F0E8); color: var(--muted, #67635A); border-color: var(--line-strong, #CCC5B5); }

.eto-acc-note { margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--surface-2, #F3F0E8); color: var(--text, #1F1E1B); font-weight: 600; }

.eto-acc-save { margin: 12px 0 0; }
.eto-quiz .eto-acc-savebtn {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 10px;
	border: 1.5px solid var(--line-strong, #CCC5B5); background: var(--surface, #FFFDF8); color: var(--text, #1F1E1B);
	font: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
}
.eto-acc-savebtn .eto-acc-ic { width: 20px; height: 20px; color: var(--reward, #E8650A); }
.eto-acc-savebtn[aria-pressed="true"] svg path { fill: currentColor; }
.eto-quiz .eto-acc-savebtn:hover { background: var(--surface-2, #F3F0E8); }

.eto-acc-nudge {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 24px; align-items: center;
	padding: 20px; border-radius: 18px; border: 1px solid var(--line, #E4DFD3); background: var(--surface, #FFFDF8);
}
.eto-quiz .eto-acc-nudge-h { margin: 0 0 4px; font-family: var(--font-serif, Georgia, serif); font-size: 22px; line-height: 1.25; color: var(--text, #1F1E1B); }
.eto-quiz .eto-acc-nudge-p { margin: 0; color: var(--text-2, #4F4C45); font-size: 15.5px; }
.eto-acc-ghosts { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.eto-acc-gh {
	display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 999px;
	border: 1.5px dashed var(--line-strong, #CCC5B5); font-size: 13.5px; font-weight: 650; color: var(--text-2, #4F4C45);
}
.eto-acc-gh .eto-acc-ic { width: 16px; height: 16px; color: var(--reward, #E8650A); }
.eto-quiz .eto-acc-gbtn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 20px;
	border-radius: 14px; border: 1.5px solid var(--line-strong, #CCC5B5); background: var(--surface, #FFFDF8);
	color: var(--text, #1F1E1B); font-weight: 700; font-size: 16px; text-decoration: none;
	box-shadow: 0 4px 0 var(--line-strong, #CCC5B5); margin-bottom: 4px;
}
.eto-quiz .eto-acc-gbtn:hover { background: var(--surface-2, #F3F0E8); }
.eto-acc-gbtn .eto-acc-ic { width: 20px; height: 20px; }
/* Right column of the nudge: main button, "Use my email instead", the small line (mockup .gbox). */
.eto-acc-ways { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 260px; }
.eto-quiz .eto-acc-emailbtn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
	border-radius: var(--r, 12px); color: var(--text, #1F1E1B); font-weight: 600; font-size: 14.5px; text-decoration: none;
}
.eto-quiz .eto-acc-emailbtn:hover { background: var(--surface-2, #F3F0E8); }
.eto-acc-emailbtn .eto-acc-ic { width: 20px; height: 20px; }
.eto-acc-ways-note { text-align: center; font-size: 13px; color: var(--muted, #67635A); }
@media (max-width: 640px) { .eto-acc-nudge { grid-template-columns: 1fr; } .eto-acc-ways { min-width: 0; } }

@keyframes eto-acc-pop { 0% { opacity: 0; transform: translateY(14px) scale(.92); } 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .eto-acc-rw { animation: none; } }
