/* HOME parent dashboard: one calm page, goal first, no framed tabs. */
#screen-home-parent{--hpd-clay:#b86846;--hpd-clay-dark:#a95737;--hpd-clay-light:#bf724e;--hpd-sage:#e7ede0;--hpd-clay-surface:linear-gradient(145deg,var(--hpd-clay-light),var(--hpd-clay-dark));--hpd-clay-shadow:inset 0 2px 2px #fff7ed33,inset 0 -2px 3px #743a2020,0 5px 9px #57644926;background:#fff8ec;color:#315b50;padding:0 0 calc(104px + env(safe-area-inset-bottom,0px));overflow-wrap:anywhere;overflow-anchor:none}
#screen-home-parent,#screen-home-parent *{box-sizing:border-box}
#screen-home-parent>.wizard-content{width:100%;max-width:820px;margin:0 auto;padding:calc(24px + env(safe-area-inset-top,0px)) max(24px,env(safe-area-inset-left,0px)) 24px max(24px,env(safe-area-inset-right,0px))}
#screen-home-parent .wiz-step{width:100%;max-width:none;min-height:0;padding:0}
#screen-home-parent .wiz-step>.wiz-hero{display:none}
#screen-home-parent .wiz-body,#screen-home-parent #home-parent-body{width:100%;max-width:none;padding:0;text-align:start}
#screen-home-parent .home-parent-dashboard{width:100%;max-width:720px;margin:0 auto}
#screen-home-parent .hpd-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px}
#screen-home-parent .hpd-eyebrow{font-size:13px;line-height:1.5;font-weight:500;margin:0 0 5px;color:#68766b}
#screen-home-parent .hpd-heading h1{font-size:clamp(25px,4vw,32px);line-height:1.3;margin:0;color:#315b50;font-weight:800;text-shadow:none}
#screen-home-parent .hpd-lock{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:48px;min-height:48px;padding:5px;border:0;background:transparent;color:#5a7163;font:inherit;cursor:pointer;flex:none}
#screen-home-parent .hpd-lock-icon svg{width:23px;height:23px;display:block}
#screen-home-parent .hpd-lock-label{font-size:11px;line-height:1.4}
#screen-home-parent .hpd-readers{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 26px}
#screen-home-parent .hpd-child-card{display:inline-flex;min-width:0;max-width:100%}
#screen-home-parent :is(.wiz-chip,.wiz-next-btn){min-height:44px;font-family:inherit;font-size:15px;line-height:1.4;white-space:normal;box-shadow:none;transform:none;cursor:pointer;margin:0}
#screen-home-parent .wiz-chip{padding:9px 14px;border:0;border-radius:999px;background:transparent;color:#365443}
#screen-home-parent .hpd-readers [aria-pressed=true]{background:#e1ecdf;color:#2b5645;font-weight:700}
#screen-home-parent .hpd-readers .hpd-add{background:transparent;color:#657268;font-size:13px;padding:8px}
#screen-home-parent h2{font-size:20px;line-height:1.45;color:#315b50;margin:0;font-weight:800}
#screen-home-parent .hpd-goal-space{padding:0 0 26px}
#screen-home-parent .hpd-goal-overview{padding:0;margin:0;border:0;background:none;box-shadow:none}
#screen-home-parent .hpd-section-label{font-size:13px;color:#736d59;margin:0 0 9px;line-height:1.5}
#screen-home-parent .hpd-reward-title{font-size:clamp(25px,4vw,32px);line-height:1.4;color:#9e5733;font-weight:800;margin:0 0 17px}
#screen-home-parent .hpd-goal-meta{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
#screen-home-parent .hpd-goal-numbers{font-size:14px;line-height:1.5;margin:0;color:#5e7267;font-weight:400}
#screen-home-parent .hpd-goal-numbers strong{font-size:24px;line-height:1.3;color:#315b50;font-weight:800}
#screen-home-parent .hpd-goal-percent{font-size:12px;color:#647464}
#screen-home-parent .hpd-progress{height:14px;overflow:hidden;background:var(--hpd-sage);border:0;border-radius:999px;margin:12px 0 9px;pointer-events:none;box-shadow:inset 0 1px 3px #59674c26}
#screen-home-parent .hpd-progress span{display:block;height:100%;background:var(--hpd-clay);background:var(--hpd-clay-surface);border-radius:999px;box-shadow:inset 0 2px 2px #fff7ed33,inset 0 -1px 2px #743a2026}
#screen-home-parent .hpd-remaining{font-size:12px;color:#647464;margin:0 0 13px;line-height:1.6}
#screen-home-parent .hpd-no-goal{font-size:15px;line-height:1.7;margin:0 0 14px;color:#647464}
#screen-home-parent .hpd-goal-controls{display:flex;flex-wrap:wrap;align-items:start;gap:6px 18px;margin-top:20px}
#screen-home-parent .hpd-edit-goal{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;max-width:100%;background:var(--hpd-sage);color:#315b50;border:0;border-radius:20px;padding:10px 16px;min-height:64px;font:inherit;font-size:15px;font-weight:700;line-height:1.4;cursor:pointer;text-decoration:none;transition:background .18s ease}
#screen-home-parent .hpd-edit-goal span{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;background:var(--hpd-clay);background:var(--hpd-clay-surface);color:#fff;font-size:27px;font-weight:400;line-height:1;box-shadow:var(--hpd-clay-shadow);transition:box-shadow .18s ease,transform .18s ease}
#screen-home-parent .hpd-edit-goal:hover{background:#dfe8d8}
#screen-home-parent .hpd-edit-goal:active span{transform:translateY(1px);box-shadow:inset 0 1px 3px #743a2033,0 2px 4px #57644926}
#screen-home-parent .hpd-points-detail{flex:1;min-width:130px;color:#647464;font-size:13px;margin:0}
#screen-home-parent .hpd-points-detail summary{padding:12px 0;font-size:12px;font-weight:400;min-height:44px}
#screen-home-parent .hpd-points-detail p{line-height:1.6;margin:8px 0}
#screen-home-parent summary{min-height:44px;cursor:pointer;line-height:1.6;padding:12px 0;color:#476759;font-size:14px;font-weight:500}
#screen-home-parent .hpd-settings{border:0;border-radius:0;background:transparent;margin:22px 0 0;padding:18px 0 0;border-top:1px solid #e6e5d8}
#screen-home-parent #hpd-goal-editor:not([open]){display:none}
#screen-home-parent #hpd-goal-editor>summary[hidden]{display:none}
#screen-home-parent .hpd-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
#screen-home-parent .hpd-editor-heading h2{font-size:18px}
#screen-home-parent .hpd-settings-fields{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:14px}
#screen-home-parent .hpd-custom{grid-column:1/-1}
#screen-home-parent label{display:block;font-size:13px;font-weight:500;color:#4f695a;margin:0 0 7px}
#screen-home-parent :is(input,select){display:block;width:100%;max-width:100%;min-width:0;min-height:48px;border:1px solid #82947f;border-radius:11px;padding:10px 12px;background:#fffdf6;color:#315b50;font:inherit;font-size:16px;margin:0;box-shadow:none}
#screen-home-parent .hpd-settings-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:18px}
#screen-home-parent .wiz-next-btn{background:#365f4e;color:white;border:0;border-radius:12px;padding:12px 20px}
#screen-home-parent .hpd-reset-goal,#screen-home-parent .hpd-text-action{background:transparent;border:0;color:#627365;font:inherit;font-size:13px;min-height:44px;padding:8px 0;cursor:pointer;margin:0;text-decoration:underline;text-underline-offset:4px}
#screen-home-parent .hpd-note{font-size:12px;line-height:1.65;color:#647464;margin:12px 0 0}
#screen-home-parent .hpd-next-goal-balance{font-size:14px;line-height:1.7;color:#476759;margin:14px 0 4px}
#screen-home-parent .hpd-next-goal-balance strong{font-weight:700}
#screen-home-parent .hpd-calendar{font:inherit;font-size:13px;color:#647464;background:none;border:0;padding:8px 0;min-height:44px;display:flex;align-items:center;gap:10px;margin-top:14px;cursor:default}
#screen-home-parent .hpd-everyday{margin:0;padding:22px 0 16px;border-top:1px solid #e6e5d8}
#screen-home-parent .hpd-everyday>h2{font-size:13px;font-weight:500;color:#647464;margin:0 0 10px}
#screen-home-parent .hpd-action-row{display:flex;align-items:center;gap:13px;width:100%;min-height:81px;padding:12px 0;margin:0;border:0;background:transparent;border-radius:0;color:#315b50;font:inherit;text-align:start;text-decoration:none;cursor:pointer;list-style:none}
#screen-home-parent .hpd-action-row::-webkit-details-marker{display:none}
#screen-home-parent .hpd-action-row::marker{content:''}
#screen-home-parent .hpd-action-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;background:#e7eddf;color:#587c59}
#screen-home-parent .hpd-action-icon svg{display:block;width:22px;height:22px}
#screen-home-parent .hpd-subscription-icon{background:#f0e7d5;color:#98784b}
#screen-home-parent .hpd-share-icon{background:#f1e3df;color:#a56d64}
#screen-home-parent .hpd-action-copy{display:block;flex:1;min-width:0}
#screen-home-parent .hpd-action-copy strong{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:16px;line-height:1.4;font-weight:700;color:#315b50}
#screen-home-parent .hpd-action-copy>span{display:block;font-size:12px;line-height:1.5;color:#647464;margin-top:3px}
#screen-home-parent .hpd-row-arrow{font-size:20px;line-height:1;flex:none;color:#7b8a78;margin-inline-start:6px}
#screen-home-parent .hpd-subscription-action[open]>.hpd-action-row .hpd-row-arrow{transform:rotate(180deg)}
#screen-home-parent .hpd-soon{display:inline-block;font-size:10px;line-height:1.5;font-weight:500;color:#6b614e;background:#eee8d9;border-radius:5px;padding:1px 5px;white-space:nowrap;vertical-align:middle}
#screen-home-parent .hpd-action-detail{padding:0 57px 16px 20px;font-size:13px;line-height:1.7;color:#647464}
#screen-home-parent .hpd-action-detail p{margin:0 0 10px}
#screen-home-parent .hpd-renew{border:0;border-radius:10px;background:#edeadd;color:#697260;font:inherit;font-size:13px;padding:10px 12px;min-height:44px;display:inline-flex;align-items:center;gap:8px;cursor:default}
#screen-home-parent .hpd-friend-link{padding:6px 0 12px;margin-inline-start:57px}
#screen-home-parent .hpd-friend-link>div{display:flex;gap:24px;align-items:center}
#screen-home-parent .hpd-friend-link input{font-size:14px;text-align:left}
#screen-home-parent #hpd-share-status:empty{display:none}
#screen-home-parent .hpd-secondary{padding:8px 0 0;border-top:1px solid #e6e5d8;color:#647464}
#screen-home-parent .hpd-reading-detail{margin-bottom:2px}
#screen-home-parent .hpd-reading{margin:2px 0 16px;padding:0;border:0;background:transparent;box-shadow:none}
#screen-home-parent .hpd-reading h2{display:none}
#screen-home-parent .hpd-reading ul{list-style:none;padding:0;margin:0}
#screen-home-parent .hpd-reading li{padding:10px 0;line-height:1.6}
#screen-home-parent .hpd-reading li>*{display:block}
#screen-home-parent .hpd-reading li strong{font-size:14px;font-weight:600}
#screen-home-parent .hpd-reading li span,#screen-home-parent .hpd-reading li small,#screen-home-parent .hpd-reading p{font-size:12px;line-height:1.6;color:#647464}
#screen-home-parent .hpd-install{display:block;min-height:44px;background:none;border:0;padding:10px 0;font:inherit;font-size:13px;color:#647464;cursor:pointer}
#screen-home-parent .web-parent-account{margin:0;text-align:start;font-size:13px}
#screen-home-parent .web-parent-account summary{font-size:13px}
#screen-home-parent .web-parent-account button{margin:4px 0;background:none;border:0;border-radius:8px;padding:10px 0;min-height:44px;color:#647464;font:inherit;cursor:pointer}
#screen-home-parent #home-parent-error:empty{display:none}
#screen-home-parent #home-parent-error{color:#9b3c35;font-size:14px;line-height:1.6;margin:0 0 16px}
#screen-home-parent :is(button,input,select,summary,a):focus-visible{outline:3px solid #9b5516;outline-offset:4px;border-radius:8px}
#screen-home-parent [hidden],#screen-home-parent .hpd-custom[hidden]{display:none!important}
#screen-home-parent button:disabled{cursor:default}
#screen-home-parent .hpd-action-row:disabled{opacity:.65}
/* The same PIN boundary, visually integrated with the page. */
#screen-home-parent .home-local-parent-gate{width:100%;max-width:440px;margin:clamp(16px,6vh,64px) auto;background:transparent;border:0;border-radius:0;padding:0;text-align:start;box-shadow:none}
#screen-home-parent .home-local-parent-gate h1{color:#315b50;font-size:27px;line-height:1.3;margin:0 0 18px;text-align:start}
#screen-home-parent .home-local-parent-gate p{font-size:14px;line-height:1.7}
#screen-home-parent .home-local-parent-gate form{width:100%;margin:auto}
#screen-home-parent .home-local-parent-gate .wiz-next-btn{width:100%;margin:12px 0}
#screen-home-parent .home-local-parent-gate .wiz-chip{padding-inline:0}
/* Reading belongs beside the PIN form, never as a floating overlay. */
#screen-home-parent .hpd-reading-return{margin-top:24px;padding-top:22px;border-top:1px solid #dce2d3}
#screen-home-parent .hpd-reading-return-button{display:flex;align-items:center;gap:14px;width:100%;min-height:76px;margin:0;padding:14px 16px;border:1px solid #d7dfce;border-radius:20px;background:#eef2e5;color:#315b50;font:inherit;text-align:start;cursor:pointer;box-shadow:0 3px 0 #dde4d4;transition:background .18s ease,box-shadow .18s ease}
#screen-home-parent .hpd-reading-return-button:hover{background:#e5edda;box-shadow:0 3px 0 #d3dec8}
#screen-home-parent .hpd-reading-return-button:active{box-shadow:0 1px 0 #d3dec8}
#screen-home-parent .hpd-reading-return-button:focus-visible{outline:3px solid #a0642c;outline-offset:4px}
#screen-home-parent .hpd-reading-return-icon{display:flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border-radius:14px;background:#fffaf0;color:#456a52}
#screen-home-parent .hpd-reading-return-icon svg{display:block;width:26px;height:26px}
#screen-home-parent .hpd-reading-return-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
#screen-home-parent .hpd-reading-return-copy strong{font-size:17px;font-weight:800;line-height:1.4}
#screen-home-parent .hpd-reading-return-copy small{font-size:12px;line-height:1.5;color:#5b705e}
#screen-home-parent .hpd-reading-return-arrow{margin-inline-start:auto;font-size:24px;line-height:1;flex:none;color:#456a52}
#screen-home-parent .hpd-locked-icon{font-size:32px;margin-bottom:16px;line-height:1.2}
#screen-home-parent .hpd-parent-reader-choice{max-width:620px;margin:24px auto;text-align:start;padding:0}
#screen-home-parent .hpd-parent-reader-choice h1{font-size:27px;color:#315b50}
#screen-home-parent .hpd-parent-reader-choice .hpd-readers{justify-content:start;gap:12px;margin:24px 0}
#screen-home-parent .hpd-picker-return{border:0;background:transparent;color:#627365;text-decoration:underline;text-underline-offset:4px;font:inherit;font-size:12px;min-height:44px;padding:8px 0;cursor:pointer}
@media(min-width:700px){#screen-home-parent>.wizard-content{padding-top:40px}#screen-home-parent .hpd-goal-space{padding:0 0 34px}#screen-home-parent .hpd-action-row{min-height:84px}#screen-home-parent .hpd-goal-controls{margin-top:24px}}
@media(max-width:420px){#screen-home-parent>.wizard-content{padding:calc(20px + env(safe-area-inset-top,0px)) max(20px,env(safe-area-inset-left,0px)) 20px max(20px,env(safe-area-inset-right,0px))}#screen-home-parent .hpd-heading{margin-bottom:16px}#screen-home-parent .hpd-readers{margin-bottom:22px}#screen-home-parent .hpd-settings-fields{grid-template-columns:minmax(0,1fr)}#screen-home-parent .hpd-action-copy strong{font-size:15px}#screen-home-parent .hpd-action-row{gap:11px}#screen-home-parent .hpd-action-icon{width:40px;height:40px}#screen-home-parent .hpd-action-detail{padding-inline:51px 0}#screen-home-parent .hpd-friend-link{margin-inline-start:0}}
@media(prefers-reduced-motion:reduce){#screen-home-parent *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Large, dismissible goal achievement. No audio, flashing, or looping motion. */
.home-goal-celebration{border:0;border-radius:28px;padding:24px 24px 28px;width:min(520px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;text-align:center;background:#fffaf0;color:#244b35;font-family:inherit;box-shadow:0 18px 70px #203d3c44;isolation:isolate}
.home-goal-celebration::backdrop{background:#17372ec9}
.home-goal-celebration .hgc-art{display:block;object-fit:contain;width:clamp(110px,24vh,180px);height:auto;max-height:24dvh;margin:0 auto 8px}
.home-goal-celebration h1{font-size:clamp(28px,6vw,40px);line-height:1.25;margin:10px 0 16px;color:#315e41;font-weight:900;overflow-wrap:anywhere}
.home-goal-celebration .hgc-reward{font-size:clamp(20px,4.8vw,26px);line-height:1.5;margin:0 0 12px;font-weight:800;overflow-wrap:anywhere}
.home-goal-celebration .hgc-note{font-size:16px;line-height:1.7;margin:0 0 22px;color:#53674e}
.home-goal-celebration .hgc-close{display:block;width:100%;min-height:52px;padding:12px 20px;border:0;border-radius:14px;background:#477b52;color:white;font-family:inherit;font-size:18px;font-weight:700;line-height:1.4;cursor:pointer}
.home-goal-celebration .hgc-close:focus-visible{outline:3px solid #9b5516;outline-offset:4px}
.home-goal-celebration .hgc-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1}
.home-goal-celebration .hgc-confetti i{position:absolute;top:-20px;left:var(--x);width:9px;height:15px;border-radius:2px;background:var(--color);animation:hgc-fall 3.1s var(--delay) ease-out both}
@keyframes hgc-fall{0%{transform:translateY(-20px) rotate(0);opacity:0}10%{opacity:1}85%{opacity:.9}100%{transform:translateY(560px) rotate(var(--turn));opacity:0}}
@media(prefers-reduced-motion:reduce){.confetti-piece{animation:none!important;display:none!important}.home-goal-celebration .hgc-confetti{display:none}.home-goal-celebration .hgc-confetti i{animation:none}}
@media(max-height:560px){.home-goal-celebration{padding:16px}.home-goal-celebration .hgc-art{width:85px;max-height:80px}.home-goal-celebration h1{font-size:28px;margin:8px 0}.home-goal-celebration .hgc-note{margin-bottom:12px}}


#screen-who-reads .screen-header{flex-wrap:wrap;gap:12px}
.home-picker-parent-entry{min-height:44px;border:1px solid #789082;border-radius:999px;background:#fffdf5;color:#285343;padding:10px 20px;font:inherit;font-weight:700;cursor:pointer}
.home-picker-parent-entry:focus-visible,.hpd-picker-return:focus-visible{outline:3px solid #9b5516;outline-offset:3px}

.hpd-child-card{display:inline-flex;align-items:center;gap:3px}.hpd-child-more{font-size:26px;min-width:44px;min-height:44px}.hpd-child-dialog{border:0;border-radius:24px;padding:24px;max-width:520px;width:calc(100% - 48px);max-height:85dvh;overflow:auto;color:#254f47}.hpd-child-dialog::backdrop{background:#123a3266}.hpd-child-dialog>button{margin:6px}.hpd-child-dialog button:disabled{opacity:.6;cursor:not-allowed}

.booki-parent-suggestion{display:grid;gap:12px;text-align:right;direction:rtl}
.booki-parent-suggestion h2,.booki-parent-suggestion p{margin:0}
.booki-parent-suggestion select{width:100%;min-width:0}
#screen-main>.booki-parent-suggestion{position:relative;margin:12px 18px;padding:18px;border:1px solid #e5c88e;border-radius:20px;background:#fffaf0;color:#315e54}
#screen-main>.booki-parent-suggestion button{white-space:normal;overflow-wrap:anywhere}


.booki-suggestion-covers{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;max-height:440px;overflow:auto;padding:8px;margin-block:12px}.booki-suggestion-covers .cc-card{display:flex;flex-direction:column;align-items:stretch;gap:8px;border:2px solid transparent;border-radius:16px;background:#fffdf6;padding:10px;color:#343f43;font:inherit;cursor:pointer}.booki-suggestion-covers .cc-card[aria-pressed=true]{border-color:#477b52;box-shadow:0 0 0 2px #fff}.booki-suggestion-covers .cc-card:focus-visible{outline:3px solid #477b52;outline-offset:2px}.booki-suggestion-covers .cc-cover{position:relative;min-height:100px;border-radius:8px;background:color-mix(in srgb,var(--cc-color) 18%,#fffdf6);border-inline-start:6px solid var(--cc-color);display:grid;place-items:center}.booki-suggestion-covers .cc-cover-icon{font-size:38px}.booki-suggestion-covers .cc-cover-seal{position:absolute;top:6px;left:6px;color:var(--cc-color);font-size:22px}.booki-suggestion-covers strong{overflow-wrap:anywhere}

/* A warm invitation and private, accessible story-conversation dialog. */
#screen-home-parent .hpd-question-invite{display:flex;gap:18px;align-items:center;justify-content:space-between;background:var(--hpd-sage);border-radius:20px;padding:22px;margin:0 0 30px;color:#315b50}
#screen-home-parent .hpd-question-invite h2{flex:1;min-width:0;font-size:25px;line-height:1.5;margin:0}
#screen-home-parent .hpd-question-start{display:grid;place-items:center;flex:none;width:72px;height:72px;min-width:72px;min-height:72px;border:0;background:var(--hpd-clay);background:var(--hpd-clay-surface);color:#fff;border-radius:50%;padding:0;font:inherit;font-size:56px;font-weight:800;line-height:1;cursor:pointer;box-shadow:var(--hpd-clay-shadow);transition:box-shadow .18s ease,transform .18s ease}
#screen-home-parent .hpd-question-start:hover{box-shadow:inset 0 2px 2px #fff7ed40,inset 0 -2px 3px #743a2020,0 6px 12px #57644933}
#screen-home-parent .hpd-question-start:active{transform:translateY(1px);box-shadow:inset 0 1px 3px #743a2033,0 2px 4px #57644926}
#screen-home-parent .hpd-question-start:focus-visible{outline:3px solid #315b50;outline-offset:4px;border-radius:50%}
#screen-home-parent .hpd-question-start span{display:block;line-height:1}
#screen-home-parent .hpd-reading .hpd-reading-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #e6e5d8;padding:14px 0}
#screen-home-parent .hpd-reading-copy{flex:1;min-width:0}
#screen-home-parent .hpd-reading-copy>*{display:block}
#screen-home-parent .hpd-story-question-action{display:flex;align-items:center;gap:8px;flex-shrink:0;max-width:46%}
#screen-home-parent .hpd-story-question-action small{max-width:110px;font-size:10px}
#screen-home-parent .hpd-story-question{display:grid;place-items:center;flex:none;border:0;border-radius:50%;width:46px;height:46px;min-width:46px;min-height:46px;background:#e1ecdf;color:#365f4e;font:inherit;font-size:26px;font-weight:800;cursor:pointer}
#screen-home-parent .hpd-story-question:disabled{background:#ece9df;color:#858a7d;cursor:default}
.hpd-question-dialog{box-sizing:border-box;width:min(540px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;margin:auto;padding:24px;border:0;border-radius:22px;background:#fffaf0;color:#315b50;box-shadow:0 20px 80px #173a3240;font-family:inherit;text-align:start;overflow-wrap:anywhere}
.hpd-question-dialog::backdrop{background:#173a3277}
.hpd-question-dialog *{box-sizing:border-box}
.hpd-question-dialog h2{font-size:19px;line-height:1.55;color:#62735b;margin:14px 0 8px;padding:0}
.hpd-question-dialog button{font-family:inherit;min-height:44px;cursor:pointer;font-size:14px;line-height:1.5;margin:0}
.hpd-question-dialog .hpd-question-close{display:block;margin-inline-start:auto;background:transparent;border:0;color:#5b6e5a;padding:5px 8px;text-decoration:underline;text-underline-offset:4px}
.hpd-question-parent-note{font-size:12px;line-height:1.65;color:#69775e;margin:0 0 18px}
.hpd-question-dialog .hpd-question-prompt{font-size:clamp(23px,5vw,29px);line-height:1.6;font-weight:700;color:#315b50;margin:0 0 18px}
.hpd-question-dialog .hpd-question-reveal{background:#e7ede0;color:#365f4e;border:0;border-radius:12px;padding:10px 16px;font-weight:700}
.hpd-question-answer{margin:12px 0 0;padding:16px;background:#fff1cf;border-radius:12px;color:#655331}
.hpd-question-answer>p{font-size:17px;line-height:1.7;margin:0 0 8px}
.hpd-question-answer details{font-size:12px;line-height:1.8}
.hpd-question-answer summary{cursor:pointer;min-height:44px;padding:10px 0}
.hpd-question-answer details p{white-space:pre-line;margin:6px 0 0}
.hpd-question-next-row{margin:8px 0}
.hpd-question-dialog .hpd-question-next{border:0;background:transparent;color:#687459;padding:8px 0;text-decoration:underline;text-underline-offset:4px}
.hpd-question-bonus{margin-top:20px;padding-top:18px;border-top:1px solid #e4e5d5}
.hpd-question-bonus p{font-size:14px;margin:0 0 10px}
.hpd-question-dialog .hpd-question-award{width:100%;border:0;border-radius:12px;padding:12px 16px;background:#365f4e;color:#fff;font-size:15px;font-weight:700}
.hpd-question-dialog .hpd-question-award:disabled{background:#e5e8da;color:#657260;cursor:default}
.hpd-question-bonus small{display:block;font-size:11px;line-height:1.7;color:#62735b;margin-top:9px}
.hpd-question-version-note{font-size:10px;line-height:1.7;color:#74806c;margin:18px 0 0}
.hpd-question-status{font-size:13px;line-height:1.7;color:#536b4d;margin:14px 0 0}
.hpd-question-status:empty,.hpd-question-dialog [hidden]{display:none!important}
.hpd-question-dialog :is(button,summary):focus-visible{outline:3px solid #9b5516;outline-offset:4px}
@media(max-width:430px){#screen-home-parent .hpd-question-invite{padding:18px;gap:12px}#screen-home-parent .hpd-question-start{width:64px;height:64px;min-width:64px;min-height:64px;font-size:50px}#screen-home-parent .hpd-question-invite h2{font-size:23px}.hpd-question-dialog{padding:18px}#screen-home-parent .hpd-story-question-action{flex-direction:column;align-items:center;gap:2px}#screen-home-parent .hpd-story-question-action small{max-width:86px;text-align:center}}

.hpd-question-dialog .hpd-question-reauth{display:block;margin-top:8px}
