*{box-sizing:border-box}body{color:#251a36;background:radial-gradient(circle at 10% 10%,#ffd26659,#0000 28%),radial-gradient(circle at 90% 0,#7b61ff54,#0000 30%),linear-gradient(135deg,#fff8e7 0%,#ffe8f1 45%,#e8f3ff 100%);min-height:100vh;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input{font:inherit}.app{width:min(1320px,100% - 32px);margin:0 auto;padding:36px 0}.hero{grid-template-columns:1fr 300px 320px;align-items:stretch;gap:24px;margin-bottom:24px;display:grid}.eyebrow{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#6f42c1;background:#fff9;border-radius:999px;align-items:center;gap:8px;margin:0 0 10px;padding:8px 12px;font-weight:800;display:inline-flex}h1{letter-spacing:-.06em;max-width:920px;margin:0;font-size:clamp(42px,6vw,86px);line-height:.95}.subtitle{color:#5d526d;max-width:680px;font-size:20px;line-height:1.55}.scoreCard,.tasksPanel,.rewardsPanel{-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background:#ffffff9e;border:1px solid #ffffffc7;border-radius:34px;box-shadow:0 24px 70px #4c327829}.scoreCard{flex-direction:column;justify-content:center;padding:28px;display:flex}.scoreHeader{color:#6f42c1;align-items:center;gap:10px;font-weight:800;display:flex}.scoreCard strong{letter-spacing:-.06em;margin-top:18px;font-size:72px;line-height:1}.progress{background:#3c28551f;border-radius:999px;height:13px;margin:18px 0 8px;overflow:hidden}.progress div{border-radius:inherit;background:linear-gradient(90deg,#ffbe0b,#fb5607,#8338ec);height:100%;transition:width .35s}.layout{grid-template-columns:minmax(0,1fr) 390px;gap:24px;display:grid}.tasksPanel,.rewardsPanel{padding:24px}.panelHeader{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.panelHeader h2{letter-spacing:-.04em;margin:0 0 4px;font-size:32px}.panelHeader p{color:#6d6179;margin:0}.compact svg{color:#8338ec}.ghostButton,.addTask button{cursor:pointer;border:0;border-radius:999px;align-items:center;gap:8px;font-weight:800;display:inline-flex}.ghostButton{color:#6f42c1;background:#ffffffad;padding:10px 14px}.addTask{grid-template-columns:1fr 90px auto;gap:10px;margin-bottom:18px;display:grid}.addTask input{background:#ffffffc2;border:0;border-radius:18px;outline:0;padding:14px 16px}.addTask button{color:#fff;background:#251a36;padding:0 18px}.taskGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.taskCard{cursor:pointer;text-align:left;min-height:160px;color:inherit;background:linear-gradient(160deg,#fffffff2,#ffffff85);border:0;border-radius:26px;padding:18px;transition:transform .18s,box-shadow .18s,opacity .18s;box-shadow:inset 0 0 0 1px #fffc}.taskCard:hover{transform:translateY(-4px)rotate(-.4deg);box-shadow:0 18px 35px #4c327824}.taskCard.done{background:linear-gradient(160deg,#e8ffdef2,#ffffffa8)}.taskCard.secret{color:#fff;background:linear-gradient(160deg,#2b1d49f0,#704da7d1)}.taskTop{justify-content:space-between;gap:10px;display:flex}.tag{color:#6f42c1;background:#8338ec1a;border-radius:999px;align-items:center;gap:5px;padding:7px 9px;font-size:12px;font-weight:800;display:inline-flex}.secret .tag{color:#fff;background:#ffffff26}.taskCard h3{margin:22px 0 18px;font-size:19px;line-height:1.2}.taskCard strong{letter-spacing:-.04em;font-size:26px}.doneIcon{color:#2f9e44}.nextReward{color:#fff;background:linear-gradient(135deg,#251a36,#6f42c1);border-radius:26px;margin-bottom:16px;padding:20px}.nextReward span{opacity:.75}.nextReward strong{letter-spacing:-.03em;margin:8px 0;font-size:24px;display:block}.nextReward p{opacity:.8;margin:0}.rewardList{gap:12px;display:grid}.rewardCard{opacity:.62;background:#ffffff9e;border-radius:22px;grid-template-columns:48px 1fr auto;align-items:center;gap:12px;padding:14px;display:grid}.rewardCard.unlocked{opacity:1;background:#ffffffe6}.rewardEmoji{background:#8338ec1c;border-radius:18px;place-items:center;width:48px;height:48px;font-size:24px;display:grid}.rewardCard h3{margin:0;font-size:16px}.rewardCard p{color:#756983;margin:3px 0 0;font-size:14px}.status{background:#251a3614;border-radius:999px;padding:7px 9px;font-size:12px;font-weight:900}.unlocked .status{color:#2f9e44;background:#2f9e4424}@media (width<=1040px){.hero,.layout{grid-template-columns:1fr}.taskGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=680px){.app{width:min(100% - 20px,1320px);padding:20px 0}.scoreCard strong{font-size:56px}.taskGrid,.addTask{grid-template-columns:1fr}.panelHeader{flex-direction:column}.taskCard{min-height:140px}}.participantsPanel{-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background:#ffffff9e;border:1px solid #ffffffc7;border-radius:34px;margin-bottom:24px;padding:20px;box-shadow:0 24px 70px #4c327829}.participantsHeader{color:#6f42c1;align-items:center;gap:10px;margin-bottom:14px;display:flex}.participantsHeader span{color:#756983;font-weight:500}.participantsList{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.participantCard{cursor:pointer;text-align:left;color:inherit;background:#ffffffb3;border:0;border-radius:24px;align-items:center;gap:14px;padding:14px;transition:transform .18s,box-shadow .18s;display:flex}.participantCard:hover{transform:translateY(-3px);box-shadow:0 16px 35px #4c327824}.participantCard.active{color:#fff;background:linear-gradient(135deg,#251a36,#6f42c1)}.participantCard img{object-fit:cover;border-radius:20px;width:58px;height:58px}.participantCard strong{font-size:18px;display:block}.participantCard span{opacity:.75;margin-top:3px;display:block}.taskBottom{justify-content:space-between;align-items:center;display:flex}.repeatBadge{color:#6f42c1;background:#8338ec1f;border-radius:999px;padding:7px 10px;font-weight:900}.secret .repeatBadge{color:#fff;background:#ffffff2e}.rewardCard{position:relative}.rewardTooltip{opacity:0;pointer-events:none;z-index:10;background:#fffffff5;border-radius:22px;width:260px;padding:12px;transition:opacity .18s,transform .18s;position:absolute;top:50%;right:calc(100% + 14px);transform:translateY(-50%)scale(.96);box-shadow:0 20px 60px #4c327838}.rewardCard:hover .rewardTooltip{opacity:1;transform:translateY(-50%)scale(1)}.rewardTooltip img{object-fit:cover;border-radius:16px;width:100%;height:135px;margin-bottom:10px}.rewardTooltip strong{margin-bottom:5px;font-size:16px;display:block}.rewardTooltip p{color:#756983;margin:0;line-height:1.35}@media (width<=1040px){.participantsList{grid-template-columns:1fr}.rewardTooltip{top:calc(100% + 10px);left:0;right:auto;transform:scale(.96)}.rewardCard:hover .rewardTooltip{transform:scale(1)}}.progressBlock{margin-top:18px}.progressLabel{color:#6f42c1;justify-content:space-between;gap:12px;font-size:14px;font-weight:800;display:flex}.progressLabel strong{letter-spacing:0;margin:0;font-size:14px}.superProgress div{background:linear-gradient(90deg,#3a86ff,#8338ec,#ff006e)}.scoreCard{gap:4px}.scoreHeader{margin-bottom:8px}.scoreCard small{color:#251a36;opacity:.82}.scoreCard .progress{margin:10px 0 8px}.rulesCard{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffff57;border:1px solid #ffffffb3;border-radius:34px;padding:28px}.rulesCard h2{color:#6f42c1;letter-spacing:-.04em;margin:0 0 18px;font-size:28px}.ruleItem{border-top:1px solid #6f42c124;align-items:flex-start;gap:12px;padding:14px 0;display:flex}.ruleItem span{font-size:24px}.ruleItem p{color:#4f455f;margin:0;font-size:17px;font-weight:700;line-height:1.35}.hero{grid-template-columns:minmax(0,1fr) 360px 360px;align-items:stretch}.rulesCard,.scoreCard{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:1px solid #ffffffb3;border-radius:34px;min-height:430px;padding:36px;box-shadow:0 24px 70px #4c327829}.rulesCard{background:#ffffff57}.scoreCard{background:#ffffff9e;justify-content:flex-start;gap:0}.scoreTitle svg{flex-shrink:0}@media (width<=1200px){.hero{grid-template-columns:1fr}.rulesCard,.scoreCard{min-height:auto}}@media (width<=680px){.rulesCard,.scoreCard{padding:24px}.rulesTitle,.scoreTitle{min-height:auto;font-size:30px}.ruleItem p,.scoreCard .progressLabel{font-size:20px}}.hero{grid-template-columns:minmax(0,1fr) 300px 320px;align-items:stretch;gap:24px}.rulesCard,.scoreCard{border-radius:34px;min-height:auto;padding:28px}.rulesTitle,.scoreTitle{color:#6f42c1;letter-spacing:-.04em;align-items:center;gap:10px;min-height:auto;margin:0;font-size:28px;font-weight:900;line-height:1.1;display:flex}.scoreTitle svg{flex-shrink:0;width:30px;height:30px}.cardDivider{background:#6f42c12e;width:100%;height:1px;margin:18px 0}.ruleItem{border-top:0;border-bottom:1px solid #6f42c124;grid-template-columns:32px 1fr;align-items:flex-start;gap:12px;min-height:auto;margin-bottom:16px;padding:0 0 16px;display:grid}.ruleItem:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}.ruleItem span{font-size:24px;line-height:1}.ruleItem p{color:#4f455f;letter-spacing:-.02em;margin:0;font-size:17px;font-weight:800;line-height:1.35}.scoreCard .progressBlock{border-bottom:1px solid #6f42c124;margin:0 0 20px;padding:0 0 18px}.scoreCard .progressBlock:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}.scoreCard .progressLabel{color:#4f455f;letter-spacing:-.02em;justify-content:space-between;align-items:baseline;gap:12px;font-size:17px;font-weight:900;line-height:1.2;display:flex}.scoreCard .progressLabel strong{letter-spacing:-.03em;color:#6f42c1;flex-shrink:0;margin:0;font-size:18px;font-weight:900;line-height:1}.scoreCard .progress{height:13px;margin:10px 0 8px}.scoreCard small{color:#4f455f;opacity:.95;font-size:14px;font-weight:600;line-height:1.35;display:block}@media (width<=1040px){.hero,.layout{grid-template-columns:1fr}}@media (width<=680px){.rulesCard,.scoreCard{padding:24px}.rulesTitle,.scoreTitle{font-size:26px}}.authPanel{-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background:#ffffff9e;border:1px solid #ffffffc7;border-radius:28px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;padding:16px 18px;display:flex;box-shadow:0 18px 50px #4c32781f}.authStatus{color:#6f42c1;align-items:center;gap:12px;display:flex}.authStatus strong,.authStatus span{display:block}.authStatus span{color:#756983;margin-top:2px;font-size:14px}.loginForm{grid-template-columns:210px 170px auto;gap:10px;display:grid}.loginForm input{background:#ffffffc2;border:0;border-radius:999px;outline:0;padding:11px 14px}.loginForm button{cursor:pointer;color:#fff;background:#251a36;border:0;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:0 16px;font-weight:800;display:inline-flex}.loginForm button:disabled{opacity:.55;cursor:wait}.messageBar,.emptyState{color:#6f42c1;background:#ffffffad;border-radius:22px;margin-bottom:18px;padding:14px 16px;font-weight:800}.messageBar.error{color:#b42318;background:#ffe6e6d1}.taskCard.viewerOnly:hover{transform:none;box-shadow:inset 0 0 0 1px #fffc}@media (width<=860px){.authPanel,.loginForm{grid-template-columns:1fr}.authPanel{flex-direction:column;align-items:stretch}.loginForm button{min-height:44px}}.taskCard:disabled,.taskCard.viewerOnly{opacity:1;color:inherit}.taskCard.secret:disabled,.taskCard.secret.viewerOnly{color:#fff}.taskCard.viewerOnly{cursor:not-allowed}
