/* V19 reusable Family Quest Board */
.fquestShell{color:#f3f5f2;padding:5px 0 16px;font:14px system-ui,sans-serif}
.fquestHero{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #7eaa98a8;border-radius:20px;padding:22px 25px;background:linear-gradient(125deg,#162a32,#234e43 62%,#1e342e);box-shadow:0 12px 30px #0003}
.fquestHero h2{font-weight:950;font-size:clamp(22px,3vw,35px);letter-spacing:-1px;margin:4px 0 6px;color:#f7db8a}.fquestHero small{font-size:11px;letter-spacing:1.5px;color:#99f1ce;font-weight:800}.fquestHero p{color:#d1ebdf;margin:6px 0 13px;max-width:560px}
.fquestProgress{max-width:405px;display:grid;gap:7px;font-size:11px;color:#f5e0a0}.fquestProgress progress{width:100%;height:10px;accent-color:#63e2b3}.fquestHeroBadge{min-width:173px;border-radius:15px;border:1px solid #e9b96a76;padding:15px;background:#0a161e9c;display:grid;gap:6px}.fquestHeroBadge b{font-size:20px;color:#f6d18b}.fquestHeroBadge span{font-size:9px;letter-spacing:1px;color:#b6c4bb}.fquestHeroBadge small{color:#fff1c4;font-size:11px;letter-spacing:0}
.fquestRibbon{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:12px 0}.fquestRibbon article{background:#1a2531;border:1px solid #52636c;border-radius:13px;padding:12px;display:grid;gap:5px}.fquestRibbon article span{font-size:10px;color:#bcbcca;font-weight:800}.fquestRibbon article b{font-size:13px}.fquestRibbon article.unlocked{border-color:#e2cc7e;background:linear-gradient(130deg,#3a3725,#1c3333)}.fquestRibbon article.unlocked b{color:#ffebad}
.fquestColumns{display:grid;grid-template-columns:minmax(220px,.95fr) minmax(330px,1.5fr);gap:14px}.fquestCards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-content:start}
.fquestCard{display:flex;align-items:center;gap:9px;min-width:0;text-align:left;background:#142937;border:1px solid #3e6678;border-radius:13px;padding:9px;color:#f1efe9;min-height:82px;cursor:pointer}.fquestCard.selected{background:#265c57;border:2px solid #a8e9be;padding:8px}.fquestCard b{display:block;font-size:13px}.fquestCard small{display:block;color:#e2e5de;font-size:10px;margin-top:3px;line-height:1.2}.fquestSmall{display:block;font-size:9px;color:#f1d68a;margin-top:5px;font-weight:900}.fquestCardAvatar{width:49px;height:49px;flex:0 0 49px;border:2px solid #b9d5af;border-radius:11px;background:#273c3a;display:flex;align-items:center;justify-content:center;font-size:25px;overflow:hidden}.fquestCardAvatar img{width:100%;height:100%;object-fit:cover}
.fquestDetail{border:1px solid #547e86;border-radius:16px;padding:17px;background:linear-gradient(130deg,#1d2c38,#1a3e3d)}.fquestDetailIntro{display:flex;align-items:center;gap:14px}.fquestPortrait{width:105px;height:112px;flex:0 0 105px;background:#1d3735;border-radius:14px;overflow:hidden;border:2px solid #f0d78e;display:grid;place-items:center;font-size:62px}.fquestPortrait img{width:100%;height:100%;object-fit:cover}.fquestDetailIntro small{font-size:10px;letter-spacing:1.1px;font-weight:900;color:#b4f4d0}.fquestDetailIntro h3{color:#ffe3a2;font-size:21px;margin:6px 0}.fquestDetailIntro p{color:#d7e6df;line-height:1.45;margin:0 0 7px}.fquestPayout{color:#ffdaa0;font-size:11px}
.fquestGoalList{display:grid;gap:8px;margin-top:18px}.fquestGoal{display:flex;align-items:center;gap:11px;background:#10232dbf;padding:11px;border:1px solid #496b78;border-radius:10px}.fquestGoal.passed{border-color:#6fb6a4;background:#204e42}.fquestCheck{width:27px;height:27px;flex:0 0 27px;border:1px solid #91c8a8;border-radius:50%;display:grid;place-items:center;font-weight:900;color:#e8e3a8}.fquestGoal>div{flex:1;min-width:0}.fquestGoal b{font-size:13px;display:block}.fquestGoal small{font-size:10px;color:#b5d0ce;display:block;margin-top:3px}.fquestGoal button{flex:0 0 auto;min-height:38px;min-width:66px;padding:7px 13px;border-radius:8px;background:#f0c57c;border:0;color:#1c2e26;font-weight:950;cursor:pointer}.fquestDone{color:#b3efba;font-weight:900;font-size:11px}
.fquestFooter{padding-top:12px;display:grid;gap:8px}.fquestFooter button,.fquestDaily>button{padding:13px;font-size:13px;font-weight:900;border:1px solid #a9dea8;border-radius:10px;background:#6fd1a8;color:#10252a;cursor:pointer}.fquestFooter button:disabled,.fquestDaily>button:disabled{opacity:.48;cursor:not-allowed}.fquestFooter small{color:#aec7cc;font-size:11px}
.fquestDaily{background:#152932;border:1px solid #55747b;border-radius:16px;padding:17px;margin-top:14px}.fquestDailyTitle{display:flex;justify-content:space-between;gap:16px;align-items:center}.fquestDailyTitle small{color:#9ce6bd;font-size:10px;font-weight:800;letter-spacing:1px}.fquestDailyTitle h3{color:#f2da94;font-size:21px;margin:5px 0}.fquestDailyTitle p{font-size:12px;color:#c5d8d5;margin:0 0 10px}.fquestDailyTitle>b{color:#ffe7ae;white-space:nowrap}.fquestErrands{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px}.fquestErrand{display:flex;align-items:center;gap:8px;background:#243846;border:1px solid #506c74;border-radius:11px;padding:10px}.fquestErrand.done{border-color:#73bfa4;background:#285044}.fquestErrand>span{font-size:24px}.fquestErrand>div{flex:1;min-width:0}.fquestErrand b{display:block;font-size:12px}.fquestErrand small{display:block;font-size:10px;color:#cbd7d6;line-height:1.35}.fquestErrand strong{color:#92e1ac}.fquestDaily>button{width:100%}.fquestNotice{font-size:12px;background:#143b3a;border:1px solid #5ba08c;border-radius:9px;padding:12px;color:#dfeddc}
@media(max-width:850px){.fquestColumns{grid-template-columns:1fr}.fquestCards{grid-template-columns:repeat(4,minmax(0,1fr))}.fquestCard{flex-direction:column;align-items:flex-start;min-height:114px}.fquestCardAvatar{width:43px;height:43px;flex-basis:43px}.fquestErrands{grid-template-columns:1fr}.fquestHero{padding:15px}}
@media(max-width:540px){.fquestHero{align-items:stretch;flex-direction:column}.fquestHeroBadge{min-width:0}.fquestRibbon{grid-template-columns:1fr}.fquestCards{grid-template-columns:repeat(2,minmax(0,1fr))}.fquestCard{min-height:90px;flex-direction:row}.fquestDetailIntro{align-items:flex-start}.fquestPortrait{width:72px;height:86px;flex-basis:72px}}

.fquestGuest{display:flex;flex-wrap:wrap;gap:13px;align-items:center;justify-content:space-between;padding:14px;border-radius:12px;background:#633c2b;border:1px solid #f9c882;margin-top:11px}.fquestGuest button{background:#f1d08e;border:0;border-radius:9px;padding:12px;color:#202920;font-weight:900;cursor:pointer}
