.community-tasks-page,
.community-tasks-page * {
    box-sizing: border-box;
}

.community-tasks-page {
    color: var(--xl-text);
    background:
        radial-gradient(circle at 14% 8%, rgba(145, 223, 255, .34), transparent 24rem),
        radial-gradient(circle at 88% 44%, rgba(181, 164, 255, .22), transparent 28rem),
        #edf8ff;
}

.community-tasks-page .community-main {
    min-width: 0;
    overflow: hidden;
}

.tasks-page {
    min-width: 0;
    background:
        linear-gradient(180deg, transparent 0 30rem, rgba(255, 255, 255, .35) 30rem 100%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .18) 0 1px, transparent 1px 22px);
}

.tasks-data-notice {
    display: flex;
    width: min(1120px, calc(100% - 32px));
    align-items: center;
    gap: 10px;
    margin: 16px auto;
    padding: 12px 18px;
    border: 1px solid #9bd7f7;
    border-radius: 16px;
    color: #0b4e88;
    background: #eefaff;
    box-shadow: 0 8px 22px rgba(31, 105, 170, .1);
}

.tasks-data-notice.is-degraded {
    border-color: #ffd27a;
    color: #704200;
    background: #fff9e8;
}

.tasks-data-notice span {
    display: grid;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #178fdf;
    font-weight: 900;
}

.tasks-data-notice.is-degraded span {
    background: #f1a20b;
}

.tasks-data-notice p {
    margin: 0;
    font-size: .92rem;
    font-weight: 800;
}

.tasks-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: 360px;
    place-items: center;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 8% 18%, #fff 0 2px, transparent 3px),
        radial-gradient(circle at 21% 48%, #ffe063 0 3px, transparent 4px),
        radial-gradient(circle at 80% 19%, #fff 0 2px, transparent 3px),
        radial-gradient(circle at 92% 63%, #ffd85b 0 3px, transparent 4px),
        radial-gradient(circle at 50% 120%, rgba(116, 220, 255, .95), transparent 50%),
        linear-gradient(135deg, #0754c7 0%, #0c9cf0 48%, #685bd9 100%);
    box-shadow: inset 0 -12px 32px rgba(15, 46, 153, .26);
}

.tasks-hero::before,
.tasks-hero::after {
    position: absolute;
    z-index: -1;
    width: 32rem;
    height: 32rem;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 50%;
    content: "";
}

.tasks-hero::before {
    top: -18rem;
    left: 8%;
    box-shadow: 0 0 55px rgba(255, 255, 255, .22);
}

.tasks-hero::after {
    right: 2%;
    bottom: -23rem;
    border-width: 18px;
    border-color: rgba(132, 230, 255, .18);
}

.tasks-hero__content {
    z-index: 3;
    width: min(640px, 58vw);
    padding: 36px 24px 74px;
    text-align: center;
    text-shadow: 0 3px 0 #073b94, 0 8px 18px rgba(8, 30, 110, .4);
}

.tasks-hero__eyebrow {
    display: inline-flex;
    margin: 0 0 8px;
    padding: 7px 22px;
    border: 2px solid rgba(255, 255, 255, .65);
    border-radius: 999px;
    background: rgba(5, 61, 164, .44);
    font-size: clamp(.94rem, 2vw, 1.2rem);
    font-weight: 950;
    letter-spacing: .12em;
}

.tasks-hero h1 {
    margin: 0;
    color: #fff4aa;
    font-size: clamp(3rem, 7vw, 5.6rem);
    font-weight: 1000;
    line-height: 1;
    letter-spacing: -.06em;
    -webkit-text-stroke: 2px #1c3f99;
    text-shadow:
        0 4px 0 #e7861c,
        0 8px 0 #24368e,
        0 13px 24px rgba(2, 22, 91, .5);
}

.tasks-hero__content > p:not(.tasks-hero__eyebrow) {
    margin: 20px 0 0;
    font-size: clamp(1rem, 2.2vw, 1.28rem);
    font-weight: 900;
    letter-spacing: .04em;
}

.tasks-hero__wallet {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    text-shadow: none;
}

.tasks-hero__wallet span,
.tasks-hero__wallet a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 999px;
    color: #17346f;
    background: rgba(255, 255, 255, .94);
    font-size: .84rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(5, 35, 113, .22);
}

.tasks-hero__wallet img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.tasks-ui-icon {
    display: inline-grid;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    place-items: center;
    border-radius: 50%;
    font-style: normal;
    font-weight: 1000;
    line-height: 1;
    vertical-align: middle;
}

.tasks-ui-icon--coin {
    border: 1px solid #e69500;
    color: #fff8ba;
    background: linear-gradient(145deg, #ffd94c, #f29a00);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 2px 4px rgba(174, 95, 0, .2);
    font-size: .62rem;
}

.tasks-ui-icon--coin::before {
    content: "★";
}

.tasks-ui-icon--gem-blue,
.tasks-ui-icon--gem-purple {
    border-radius: 4px;
    background: transparent;
    filter: drop-shadow(0 2px 2px rgba(31, 55, 130, .2));
    font-size: 1.22rem;
}

.tasks-ui-icon--gem-blue {
    color: #24cdec;
}

.tasks-ui-icon--gem-purple {
    color: #815dea;
}

.tasks-ui-icon--gem-blue::before,
.tasks-ui-icon--gem-purple::before {
    content: "◆";
}

.tasks-ui-icon--clock {
    border: 1px solid #84d7b8;
    color: #15976d;
    background: #f0fff9;
    font-size: .82rem;
}

.tasks-ui-icon--clock::before {
    content: "◷";
}

.tasks-hero__treasure,
.tasks-hero__character,
.tasks-hero__trophy {
    position: absolute;
    z-index: 2;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 14px 18px rgba(4, 39, 119, .28));
}

.tasks-hero__treasure {
    bottom: -14px;
    left: max(10px, calc(50% - 620px));
    width: min(330px, 29vw);
}

.tasks-hero__character {
    right: max(18px, calc(50% - 620px));
    bottom: -34px;
    width: min(345px, 31vw);
}

.tasks-hero__trophy {
    right: max(6px, calc(50% - 640px));
    bottom: 30px;
    width: min(145px, 13vw);
    transform: translateX(42%);
}

.tasks-content {
    position: relative;
    z-index: 4;
    width: min(var(--xl-content-max), calc(100% - 32px));
    margin: -48px auto 54px;
}

.tasks-panel {
    min-width: 0;
    border: 1px solid rgba(109, 168, 224, .48);
    border-radius: var(--xl-radius-panel);
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--xl-shadow);
}

.tasks-activity {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) 230px;
    min-height: 118px;
    align-items: center;
    gap: 22px;
    padding: 18px 24px;
    border: 3px solid rgba(255, 255, 255, .9);
    outline: 1px solid #a6bffc;
    background:
        radial-gradient(circle at 18% 30%, rgba(255, 255, 255, .8) 0 2px, transparent 3px),
        linear-gradient(135deg, rgba(245, 249, 255, .98), rgba(231, 226, 255, .96));
}

.tasks-activity__summary {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tasks-activity__star {
    color: #ffc83d;
    font-size: 2.3rem;
    line-height: 1;
    text-shadow: 0 2px 0 #d78100;
}

.tasks-activity__summary p,
.tasks-activity__summary strong {
    display: block;
    margin: 0;
}

.tasks-activity__summary p {
    color: #3357a3;
    font-size: .82rem;
    font-weight: 900;
}

.tasks-activity__summary strong {
    color: #2f48b4;
    font-size: 2.15rem;
    line-height: 1.1;
}

.tasks-activity__summary small {
    color: #6c78a3;
    font-size: 1rem;
}

.tasks-activity__track {
    position: relative;
    min-width: 0;
    padding: 4px 2px 28px;
}

.tasks-activity__track progress,
.tasks-task-row progress,
.tasks-treasure-card progress {
    width: 100%;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    appearance: none;
    background: #d9e2f4;
}

.tasks-activity__track progress {
    height: 20px;
    border: 3px solid #fff;
    outline: 1px solid #8b9edc;
    box-shadow: inset 0 2px 5px rgba(23, 56, 131, .18);
}

.tasks-activity__track progress::-webkit-progress-bar,
.tasks-task-row progress::-webkit-progress-bar,
.tasks-treasure-card progress::-webkit-progress-bar {
    border-radius: 999px;
    background: #d9e2f4;
}

.tasks-activity__track progress::-webkit-progress-value {
    border-radius: 999px;
    background: linear-gradient(90deg, #26cff2, #327cff);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5);
}

.tasks-activity__track progress::-moz-progress-bar {
    border-radius: 999px;
    background: linear-gradient(90deg, #26cff2, #327cff);
}

.tasks-activity__milestone {
    position: absolute;
    top: -11px;
    display: grid;
    justify-items: center;
    transform: translateX(-50%);
    opacity: .58;
    filter: saturate(.7);
}

.tasks-activity__milestone.is-reached {
    opacity: 1;
    filter: none;
}

.tasks-activity__milestone--25 { left: 25%; }
.tasks-activity__milestone--50 { left: 50%; }
.tasks-activity__milestone--75 { left: 75%; }

.tasks-chest-icon {
    position: relative;
    display: block;
    width: 46px;
    height: 34px;
    box-sizing: border-box;
    border: 3px solid #f3b928;
    border-radius: 11px 11px 7px 7px;
    background: linear-gradient(180deg, #68c9ff 0 44%, #237dd7 45% 100%);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, .5),
        0 4px 8px rgba(52, 76, 137, .2);
    font-style: normal;
}

.tasks-chest-icon::before {
    content: "";
    position: absolute;
    top: -3px;
    bottom: -3px;
    left: 50%;
    width: 8px;
    border-inline: 1px solid #c77b09;
    background: linear-gradient(90deg, #ffd95e, #ee9f12);
    transform: translateX(-50%);
}

.tasks-chest-icon::after {
    content: "";
    position: absolute;
    top: 46%;
    left: 50%;
    width: 9px;
    height: 8px;
    border: 1px solid #9b5d05;
    border-radius: 3px;
    background: #ffdf68;
    transform: translate(-50%, -50%);
}

.tasks-chest-icon--purple {
    background: linear-gradient(180deg, #b07df7 0 44%, #6843bd 45% 100%);
}

.tasks-chest-icon--red {
    background: linear-gradient(180deg, #ff7663 0 44%, #c63635 45% 100%);
}

.tasks-chest-icon--gold {
    border-color: #e59212;
    background: linear-gradient(180deg, #ffe470 0 44%, #e79016 45% 100%);
}

.tasks-chest-icon--large {
    width: 72px;
    height: 54px;
    border-width: 4px;
    border-radius: 16px 16px 10px 10px;
}

.tasks-activity__milestone img {
    width: 46px;
    height: 42px;
    object-fit: contain;
}

.tasks-activity__milestone span,
.tasks-activity__maximum {
    color: #28417d;
    font-size: .74rem;
    font-weight: 950;
}

.tasks-activity__maximum {
    position: absolute;
    right: 0;
    bottom: 3px;
}

.tasks-activity__next {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.tasks-activity__next p {
    margin: 0;
    color: #385286;
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.45;
}

.tasks-activity__next strong {
    color: #ef7b22;
    font-size: 1.16rem;
}

.tasks-activity__next img {
    width: 86px;
    height: 74px;
    object-fit: contain;
}

.tasks-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
    gap: 22px;
    margin-top: 22px;
}

.tasks-task-panel {
    overflow: hidden;
    padding: 0 16px 16px;
}

.tasks-task-panel--daily {
    border-color: #83d5f5;
    background:
        linear-gradient(180deg, rgba(213, 247, 255, .92), #fff 140px);
}

.tasks-task-panel--weekly {
    border-color: #b9a4ff;
    background:
        linear-gradient(180deg, rgba(235, 225, 255, .96), #fff 140px);
}

.tasks-section-heading {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 4px;
}

.tasks-section-heading > div {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
}

.tasks-section-heading img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.tasks-section-icon {
    display: inline-grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, .86);
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(145deg, #51c8ff, #247bd7);
    box-shadow: 0 3px 7px rgba(40, 87, 153, .18);
    font-style: normal;
    font-size: 1.1rem;
    font-weight: 1000;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(29, 58, 112, .3);
}

.tasks-section-icon--daily {
    color: #fff2a5;
}

.tasks-section-icon--weekly,
.tasks-section-icon--streak {
    background: linear-gradient(145deg, #a78aff, #6749cb);
}

.tasks-section-icon--info {
    border-radius: 50%;
    background: linear-gradient(145deg, #4bc6f5, #277ecb);
}

.tasks-section-icon--treasure {
    color: #fff4a6;
    background: linear-gradient(145deg, #ffca46, #ee8b12);
}

.tasks-section-heading h2 {
    margin: 0;
    color: #164d9d;
    font-size: clamp(1.18rem, 2.4vw, 1.55rem);
    font-weight: 1000;
    letter-spacing: .02em;
}

.tasks-task-panel--weekly .tasks-section-heading h2 {
    color: #5636aa;
}

.tasks-section-heading > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #677698;
    font-size: .72rem;
    font-weight: 850;
    white-space: nowrap;
}

.tasks-section-heading > span img {
    width: 18px;
    height: 18px;
}

.tasks-task-list {
    display: grid;
    gap: 8px;
}

.tasks-task-row {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) auto 76px;
    min-height: 80px;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border: 1px solid #d6e5f2;
    border-radius: 16px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 5px 14px rgba(46, 91, 142, .08);
}

.tasks-task-row.is-complete {
    border-color: #70d7a1;
    background: linear-gradient(90deg, #f5fff8, #fff);
}

.tasks-task-row.is-claimed {
    opacity: .74;
}

.tasks-task-row--weekly {
    border-color: #dfd8f7;
}

.tasks-task-row__icon {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, .82);
    border-radius: 14px;
    background: linear-gradient(145deg, #42c98a, #169a65);
    box-shadow:
        0 4px 9px rgba(31, 91, 131, .18),
        inset 0 1px 0 rgba(255, 255, 255, .55);
    color: #fff;
    font-size: 1.45rem;
    font-weight: 950;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(17, 56, 103, .34);
}

.tasks-task-row__icon::before {
    content: "✓";
}

.tasks-task-row__icon[data-task-icon="chatroom"],
.tasks-task-row__icon[data-task-icon="week-chat"] {
    background: linear-gradient(145deg, #49bdff, #177fd2);
}

.tasks-task-row__icon[data-task-icon="chatroom"]::before,
.tasks-task-row__icon[data-task-icon="week-chat"]::before {
    content: "☺";
}

.tasks-task-row__icon[data-task-icon="room"] {
    background: linear-gradient(145deg, #9c80ff, #6850d3);
}

.tasks-task-row__icon[data-task-icon="room"]::before {
    content: "群";
    font-size: 1rem;
}

.tasks-task-row__icon[data-task-icon="topic"],
.tasks-task-row__icon[data-task-icon="week-topic"] {
    background: linear-gradient(145deg, #49c8ff, #2775d9);
}

.tasks-task-row__icon[data-task-icon="topic"]::before {
    content: "?";
}

.tasks-task-row__icon[data-task-icon="week-topic"]::before {
    content: "✎";
}

.tasks-task-row__icon[data-task-icon="like"] {
    background: linear-gradient(145deg, #9f84ff, #6549cf);
}

.tasks-task-row__icon[data-task-icon="like"]::before {
    content: "♥";
}

.tasks-task-row__icon[data-task-icon="week-friend"]::before {
    content: "友";
    font-size: 1rem;
}

.tasks-task-row__icon[data-task-icon="week-activity"] {
    background: linear-gradient(145deg, #52baff, #3572d8);
}

.tasks-task-row__icon[data-task-icon="week-activity"]::before {
    content: "★";
}

.tasks-task-row__content {
    min-width: 0;
}

.tasks-task-row__heading {
    display: flex;
    min-width: 0;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.tasks-task-row h3 {
    min-width: 0;
    margin: 0;
    color: #172a56;
    font-size: .9rem;
    font-weight: 950;
    line-height: 1.25;
}

.tasks-task-row__heading span {
    flex: 0 0 auto;
    color: #405282;
    font-size: .72rem;
    font-weight: 900;
}

.tasks-task-row__content p {
    margin: 3px 0 6px;
    overflow: hidden;
    color: #71809e;
    font-size: .68rem;
    font-weight: 750;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tasks-task-row progress {
    display: block;
    height: 5px;
}

.tasks-task-row progress::-webkit-progress-value,
.tasks-treasure-card progress::-webkit-progress-value {
    border-radius: 999px;
    background: linear-gradient(90deg, #19bdf2, #2a83eb);
}

.tasks-task-row--weekly progress::-webkit-progress-value {
    background: linear-gradient(90deg, #6e8aff, #8b5be7);
}

.tasks-task-row progress::-moz-progress-bar,
.tasks-treasure-card progress::-moz-progress-bar {
    border-radius: 999px;
    background: linear-gradient(90deg, #19bdf2, #2a83eb);
}

.tasks-task-row--weekly progress::-moz-progress-bar {
    background: linear-gradient(90deg, #6e8aff, #8b5be7);
}

.tasks-task-row__reward {
    display: grid;
    min-width: 62px;
    justify-items: start;
    gap: 2px;
}

.tasks-task-row__reward span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #27325e;
    font-size: .79rem;
    font-weight: 950;
    white-space: nowrap;
}

.tasks-task-row__reward img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.tasks-task-row__reward .tasks-ui-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
}

.tasks-task-row__reward small {
    color: #4b80ad;
    font-size: .6rem;
    font-weight: 850;
    white-space: nowrap;
}

.tasks-task-row__action form,
.tasks-bonus form,
.tasks-treasure-card form,
.tasks-streak-card form {
    margin: 0;
}

.tasks-button {
    display: inline-flex;
    min-width: 70px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font: inherit;
    font-size: .76rem;
    font-weight: 950;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, .4), 0 4px 9px rgba(20, 85, 164, .24);
    transition: transform .16s ease, filter .16s ease;
}

.tasks-button:hover,
.tasks-button:focus-visible {
    color: #fff;
    filter: brightness(1.05);
    outline: 3px solid rgba(43, 150, 235, .24);
    transform: translateY(-1px);
}

.tasks-button--go {
    border: 1px solid #078bd4;
    background: linear-gradient(180deg, #45c9f4, #087fd3);
}

.tasks-button--claim {
    border: 1px solid #15995d;
    background: linear-gradient(180deg, #5edc91, #21ad69);
}

.tasks-button--done,
.tasks-button:disabled {
    color: #fff;
    background: linear-gradient(180deg, #aab4c2, #7e8998);
    cursor: not-allowed;
    filter: none;
    opacity: .9;
    transform: none;
}

.tasks-bonus {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    min-height: 72px;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 11px 86px 11px 14px;
    overflow: hidden;
    border: 1px solid #7bd4f3;
    border-radius: 17px;
    background: linear-gradient(100deg, #daf7ff, #eefbff);
}

.tasks-bonus--weekly {
    border-color: #c5a7ff;
    background: linear-gradient(100deg, #eee6ff, #fbf8ff);
}

.tasks-bonus div,
.tasks-bonus p {
    min-width: 0;
    margin: 0;
}

.tasks-bonus strong,
.tasks-bonus span {
    display: block;
}

.tasks-bonus strong {
    color: #2762a9;
    font-size: .78rem;
    font-weight: 950;
}

.tasks-bonus span {
    margin-top: 2px;
    color: #667c9e;
    font-size: .65rem;
    font-weight: 750;
}

.tasks-bonus p {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #303c71;
    font-size: .82rem;
    font-weight: 950;
    white-space: nowrap;
}

.tasks-bonus p img {
    width: 21px;
    height: 21px;
    object-fit: contain;
}

.tasks-bonus__chest {
    position: absolute;
    right: 4px;
    bottom: 7px;
    width: 82px;
    height: 56px;
    border-width: 4px;
    border-radius: 17px 17px 10px 10px;
    pointer-events: none;
}

.tasks-secondary-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 22px;
    margin-top: 22px;
}

.tasks-streak,
.tasks-info {
    padding: 12px 18px 16px;
}

.tasks-streak {
    border-color: #bfa5fa;
    background: linear-gradient(180deg, #f2edff, #fff 100px);
}

.tasks-streak__days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.tasks-streak-card {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 138px;
    justify-items: center;
    align-content: start;
    gap: 4px;
    padding: 10px 5px 7px;
    border: 1px solid #dce5f2;
    border-radius: 15px;
    background: linear-gradient(180deg, #f7fbff, #ecf4fb);
}

.tasks-streak-card.is-current {
    border: 2px solid #f4a918;
    background: linear-gradient(180deg, #fff9d8, #fff);
    box-shadow: 0 6px 14px rgba(226, 146, 12, .18);
}

.tasks-streak-card.is-claimed {
    border-color: #87d6b0;
    background: linear-gradient(180deg, #effff6, #fff);
}

.tasks-streak-card > span:first-child {
    color: #55698c;
    font-size: .68rem;
    font-weight: 900;
}

.tasks-streak-card > img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.tasks-streak-card__reward-icon.tasks-ui-icon {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    margin: 1px 0;
    font-size: 2rem;
}

.tasks-streak-card__reward-icon.tasks-ui-icon--coin {
    font-size: 1.25rem;
}

.tasks-streak-card__reward-icon.tasks-chest-icon {
    width: 54px;
    height: 42px;
    margin: 7px 0;
}

.tasks-streak-card strong {
    color: #384977;
    font-size: .67rem;
    font-weight: 950;
    white-space: nowrap;
}

.tasks-streak-card__state {
    display: grid;
    width: 23px;
    height: 23px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #27b66f;
    font-weight: 1000;
}

.tasks-streak-card button,
.tasks-streak-card a {
    min-height: 25px;
    padding: 4px 9px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: #26ad6a;
    font-size: .63rem;
    font-weight: 950;
    text-decoration: none;
    cursor: pointer;
}

.tasks-streak__note {
    margin: 11px 0 0;
    color: #53668b;
    font-size: .74rem;
    font-weight: 800;
}

.tasks-info {
    position: relative;
    overflow: hidden;
    border-color: #7bd3f6;
    background: linear-gradient(145deg, #f5fcff, #fff);
}

.tasks-info dl {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 10px;
    margin: 0;
}

.tasks-info dl > div {
    padding-bottom: 8px;
    border-bottom: 1px solid #e2eaf2;
}

.tasks-info dt {
    color: #314f83;
    font-size: .78rem;
    font-weight: 950;
}

.tasks-info dt span {
    display: inline-grid;
    width: 24px;
    height: 24px;
    place-items: center;
    margin-right: 4px;
    border-radius: 50%;
    color: #fff;
    background: #2fa6e4;
}

.tasks-info dd {
    margin: 4px 0 0 30px;
    color: #6a7893;
    font-size: .66rem;
    font-weight: 730;
    line-height: 1.45;
}

.tasks-help-button {
    position: relative;
    z-index: 2;
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 8px 18px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(180deg, #ff6492, #eb356f);
    font-size: .78rem;
    font-weight: 950;
    text-decoration: none;
    box-shadow: 0 5px 12px rgba(222, 42, 100, .2);
}

.tasks-help-button:hover,
.tasks-help-button:focus-visible {
    color: #fff;
    filter: brightness(1.05);
}

.tasks-info__mascot {
    position: absolute;
    right: 6px;
    bottom: 4px;
    display: grid;
    width: 70px;
    height: 70px;
    place-items: center;
    border: 4px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    color: #fff6a2;
    background:
        radial-gradient(circle at 34% 26%, rgba(255, 255, 255, .85) 0 3px, transparent 4px),
        linear-gradient(145deg, #5cd2f5, #3774d8);
    box-shadow: 0 6px 14px rgba(43, 99, 170, .2);
    font-style: normal;
    font-size: 2rem;
    text-shadow: 0 2px 0 #3462a8;
    opacity: .9;
    pointer-events: none;
}

.tasks-treasures {
    margin-top: 22px;
    padding: 10px 18px 18px;
    overflow: hidden;
    border-color: #ffc865;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 230, 140, .35) 0 3px, transparent 4px),
        linear-gradient(180deg, #fff8df, #fff 110px);
}

.tasks-treasures .tasks-section-heading h2 {
    color: #b76911;
}

.tasks-treasures__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.tasks-treasure-card {
    position: relative;
    display: grid;
    min-width: 0;
    justify-items: center;
    padding: 14px 10px 12px;
    border: 1px solid #f0d69a;
    border-radius: 18px;
    text-align: center;
    background: rgba(255, 255, 255, .9);
}

.tasks-treasure-card--ultimate {
    border: 2px solid #f3a33b;
    background:
        radial-gradient(circle at 20% 18%, #fff 0 2px, transparent 3px),
        linear-gradient(145deg, #fff2be, #ffd98c);
}

.tasks-treasure-card.is-ready {
    box-shadow: 0 0 0 3px rgba(255, 186, 40, .16), 0 8px 18px rgba(196, 119, 16, .15);
}

.tasks-treasure-card.is-claimed {
    opacity: .75;
}

.tasks-treasure-card > img {
    width: 92px;
    height: 78px;
    object-fit: contain;
}

.tasks-treasure-card__chest {
    width: 92px;
    height: 64px;
    margin: 7px 0;
    border-width: 5px;
    border-radius: 21px 21px 12px 12px;
}

.tasks-treasure-card__chest[data-treasure="TOPIC"] {
    background: linear-gradient(180deg, #b77bf5 0 44%, #7045bd 45% 100%);
}

.tasks-treasure-card__chest[data-treasure="FRIEND"] {
    background: linear-gradient(180deg, #ff7b68 0 44%, #c43839 45% 100%);
}

.tasks-treasure-card__chest[data-treasure="ULTIMATE"] {
    border-color: #d9890d;
    background: linear-gradient(180deg, #ffe77c 0 44%, #df8513 45% 100%);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, .65),
        0 0 0 5px rgba(255, 199, 63, .17),
        0 7px 13px rgba(176, 94, 9, .24);
}

.tasks-treasure-card h3 {
    margin: 2px 0 0;
    color: #4b3b63;
    font-size: 1rem;
    font-weight: 1000;
}

.tasks-treasure-card p {
    min-height: 2.5em;
    margin: 4px 0 8px;
    color: #7b6d79;
    font-size: .7rem;
    font-weight: 750;
    line-height: 1.3;
}

.tasks-treasure-card progress {
    height: 8px;
}

.tasks-treasure-card > span {
    margin-top: 3px;
    color: #596485;
    font-size: .68rem;
    font-weight: 900;
}

.tasks-treasure-card small {
    display: flex;
    min-height: 26px;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin: 4px 0 7px;
    color: #65517f;
    font-weight: 950;
}

.tasks-treasure-card small img {
    width: 19px;
    height: 19px;
    object-fit: contain;
}

.tasks-treasure-card small .tasks-ui-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
}

.tasks-more {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding: 10px 18px;
    border: 1px solid #87cdf6;
    border-radius: 24px;
    background: linear-gradient(100deg, #dff5ff, #fff6e8);
    box-shadow: 0 8px 20px rgba(38, 91, 147, .1);
}

.tasks-more > img {
    width: 80px;
    height: 70px;
    object-fit: contain;
}

.tasks-more__mascot,
.tasks-cta__mascot {
    display: grid;
    place-items: center;
    border: 4px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    font-style: normal;
    font-weight: 1000;
    line-height: 1;
}

.tasks-more__mascot {
    width: 72px;
    height: 72px;
    color: #dffbff;
    background:
        radial-gradient(circle at 32% 24%, #fff 0 3px, transparent 4px),
        linear-gradient(145deg, #58d5f5, #3171d7);
    box-shadow: 0 6px 15px rgba(39, 101, 174, .2);
    font-size: 2rem;
    text-shadow: 0 2px 0 #315da4;
}

.tasks-more h2,
.tasks-more p {
    margin: 0;
}

.tasks-more h2 {
    color: #3157a0;
    font-size: 1.12rem;
    font-weight: 1000;
}

.tasks-more p {
    margin-top: 3px;
    color: #73809b;
    font-size: .76rem;
    font-weight: 750;
}

.tasks-more nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.tasks-more nav a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 7px 12px;
    border: 1px solid #8dcaf0;
    border-radius: 999px;
    color: #215b9a;
    background: #fff;
    font-size: .72rem;
    font-weight: 900;
    text-decoration: none;
}

.tasks-cta {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) auto;
    min-height: 92px;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
    padding: 12px 24px;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 24px;
    outline: 1px solid #78bdf1;
    color: #fff;
    background:
        radial-gradient(circle at 14% 25%, #fff 0 2px, transparent 3px),
        linear-gradient(115deg, #187bd9, #1db7e9 52%, #8170ed);
    box-shadow: 0 12px 28px rgba(27, 91, 178, .2);
}

.tasks-cta > img {
    width: 78px;
    height: 74px;
    object-fit: contain;
}

.tasks-cta__mascot {
    width: 72px;
    height: 72px;
    color: #fff9bd;
    background:
        radial-gradient(circle at 32% 24%, #fff 0 3px, transparent 4px),
        linear-gradient(145deg, #ffd957, #f5a521);
    box-shadow: 0 6px 15px rgba(92, 49, 4, .22);
    font-size: 2.15rem;
    text-shadow: 0 2px 0 #d6830a;
}
.tasks-cta h2,
.tasks-cta p {
    margin: 0;
}

.tasks-cta h2 {
    font-size: clamp(1rem, 2.2vw, 1.32rem);
    font-weight: 1000;
    text-shadow: 0 2px 0 #2159a5;
}

.tasks-cta p {
    margin-top: 3px;
    font-size: .78rem;
    font-weight: 800;
}

.tasks-cta > a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 9px 22px;
    border: 2px solid #fff2a6;
    border-radius: 999px;
    color: #704100;
    background: linear-gradient(180deg, #ffeb70, #ffaf1c);
    font-size: .9rem;
    font-weight: 1000;
    text-decoration: none;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, .65), 0 6px 14px rgba(91, 49, 4, .2);
}

.tasks-help-page {
    width: min(1080px, calc(100% - 32px));
    margin: 32px auto 54px;
}

.tasks-help-hero {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 24px 28px;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(125deg, #147ed8, #645bd6);
    box-shadow: var(--xl-shadow);
}

.tasks-help-hero > img {
    width: 78px;
    height: 78px;
    object-fit: contain;
}

.tasks-help-hero > .tasks-section-icon {
    width: 72px;
    height: 72px;
    border-width: 4px;
    font-size: 2.25rem;
}

.tasks-help-hero p,
.tasks-help-hero h1,
.tasks-help-hero span {
    display: block;
    margin: 0;
}

.tasks-help-hero p {
    color: #dff7ff;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.tasks-help-hero h1 {
    margin-top: 2px;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    font-weight: 1000;
}

.tasks-help-hero span {
    margin-top: 5px;
    color: #e7f4ff;
    font-size: .86rem;
    font-weight: 700;
}

.tasks-help-hero > a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 8px 17px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 999px;
    color: #144d93;
    background: #fff;
    font-weight: 900;
    text-decoration: none;
}

.tasks-help-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.tasks-help-grid article {
    padding: 22px;
}

.tasks-help-grid h2 {
    margin: 0 0 8px;
    color: #214f91;
    font-size: 1.15rem;
    font-weight: 1000;
}

.tasks-help-grid p {
    margin: 0;
    color: #5f6f8e;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.7;
}

.tasks-link-audit {
    margin-top: 18px;
    padding: 22px;
}

.tasks-link-audit > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.tasks-link-audit h2,
.tasks-link-audit p {
    margin: 0;
}

.tasks-link-audit h2 {
    color: #214f91;
    font-size: 1.25rem;
    font-weight: 1000;
}

.tasks-link-audit p {
    margin-top: 4px;
    color: #667693;
    font-size: .82rem;
    font-weight: 700;
}

.tasks-link-audit header > a {
    color: #1269b1;
    font-size: .78rem;
    font-weight: 900;
}

.tasks-link-audit ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.tasks-link-audit li {
    display: grid;
    grid-template-columns: 25px minmax(0, auto) minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 9px 11px;
    border: 1px solid #d8e6ef;
    border-radius: 12px;
    background: #f8fbfd;
}

.tasks-link-audit li > span {
    display: grid;
    width: 23px;
    height: 23px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #25ad6a;
    font-weight: 950;
}

.tasks-link-audit li.is-missing > span {
    background: #d9465f;
}

.tasks-link-audit li a {
    color: #224f88;
    font-size: .8rem;
    font-weight: 900;
}

.tasks-link-audit li code {
    min-width: 0;
    overflow: hidden;
    color: #71809a;
    font-size: .67rem;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1040px) {
    .tasks-hero__content {
        width: min(600px, 64vw);
    }

    .tasks-hero__treasure {
        width: min(270px, 27vw);
    }

    .tasks-hero__character {
        width: min(300px, 30vw);
    }

    .tasks-activity {
        grid-template-columns: 150px minmax(0, 1fr) 190px;
        gap: 14px;
    }

    .tasks-columns,
    .tasks-secondary-grid {
        grid-template-columns: 1fr;
    }

    .tasks-treasures__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .tasks-data-notice {
        width: calc(100% - 24px);
        margin-block: 12px;
    }

    .tasks-hero {
        min-height: 430px;
        align-items: start;
    }

    .tasks-hero__content {
        width: 100%;
        padding: 36px 16px 120px;
    }

    .tasks-hero h1 {
        font-size: clamp(3rem, 13vw, 4.2rem);
    }

    .tasks-hero__treasure {
        left: -28px;
        width: 230px;
    }

    .tasks-hero__character {
        right: -26px;
        width: 255px;
    }

    .tasks-hero__trophy {
        right: 4px;
        bottom: 22px;
        width: 100px;
    }

    .tasks-content {
        width: calc(100% - 24px);
        margin-top: -34px;
    }

    .tasks-activity {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 18px;
    }

    .tasks-activity__summary {
        justify-content: center;
    }

    .tasks-activity__track {
        margin-inline: 4px;
    }

    .tasks-activity__next {
        justify-content: center;
    }

    .tasks-activity__next img {
        width: 72px;
        height: 62px;
    }

    .tasks-activity__next .tasks-chest-icon {
        width: 68px;
        height: 50px;
    }

    .tasks-columns,
    .tasks-secondary-grid {
        gap: 14px;
        margin-top: 14px;
    }

    .tasks-task-panel {
        padding-inline: 10px;
    }

    .tasks-section-heading {
        align-items: flex-start;
        padding-inline: 4px;
    }

    .tasks-section-heading > span {
        padding-top: 8px;
        white-space: normal;
        text-align: right;
    }

    .tasks-task-row {
        grid-template-columns: 44px minmax(0, 1fr) auto;
        gap: 8px;
    }

    .tasks-task-row__icon {
        width: 41px;
        height: 41px;
        flex-basis: 41px;
    }

    .tasks-task-row__reward {
        grid-column: 2;
        grid-row: 2;
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
    }

    .tasks-task-row__action {
        grid-column: 3;
        grid-row: 1 / span 2;
    }

    .tasks-bonus {
        grid-template-columns: minmax(0, 1fr) auto;
        padding-right: 76px;
    }

    .tasks-bonus p {
        grid-column: 1;
        grid-row: 2;
    }

    .tasks-bonus form,
    .tasks-bonus > .tasks-button {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .tasks-bonus__chest {
        width: 70px;
        height: 50px;
    }

    .tasks-streak__days {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .tasks-treasures {
        margin-top: 14px;
        padding-inline: 12px;
    }

    .tasks-more {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .tasks-more > img {
        width: 60px;
        height: 58px;
    }

    .tasks-more__mascot {
        width: 58px;
        height: 58px;
        font-size: 1.65rem;
    }

    .tasks-more nav {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .tasks-cta {
        grid-template-columns: 60px minmax(0, 1fr);
        gap: 10px;
        padding-inline: 14px;
    }

    .tasks-cta > img {
        width: 58px;
        height: 58px;
    }

    .tasks-cta__mascot {
        width: 58px;
        height: 58px;
        font-size: 1.7rem;
    }

    .tasks-cta > a {
        grid-column: 1 / -1;
        width: 100%;
    }

    .tasks-help-page {
        width: calc(100% - 24px);
        margin-top: 18px;
    }

    .tasks-help-hero {
        grid-template-columns: 60px minmax(0, 1fr);
        padding: 20px;
    }

    .tasks-help-hero > img {
        width: 56px;
        height: 56px;
    }

    .tasks-help-hero > .tasks-section-icon {
        width: 56px;
        height: 56px;
        font-size: 1.8rem;
    }

    .tasks-help-hero > a {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .tasks-help-grid,
    .tasks-link-audit ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 430px) {
    .tasks-hero {
        min-height: 420px;
    }

    .tasks-hero__content {
        padding-inline: 10px;
    }

    .tasks-hero__eyebrow {
        padding-inline: 14px;
        font-size: .82rem;
    }

    .tasks-hero h1 {
        font-size: 2.9rem;
        -webkit-text-stroke-width: 1px;
    }

    .tasks-hero__content > p:not(.tasks-hero__eyebrow) {
        font-size: .9rem;
    }

    .tasks-hero__treasure {
        left: -58px;
        width: 215px;
    }

    .tasks-hero__character {
        right: -65px;
        width: 235px;
    }

    .tasks-hero__trophy {
        display: none;
    }

    .tasks-content {
        width: calc(100% - 16px);
    }

    .tasks-panel {
        border-radius: 20px;
    }

    .tasks-activity {
        padding-inline: 12px;
    }

    .tasks-activity__summary strong {
        font-size: 1.8rem;
    }

    .tasks-activity__milestone img {
        width: 39px;
        height: 36px;
    }

    .tasks-activity__milestone .tasks-chest-icon {
        width: 39px;
        height: 29px;
    }

    .tasks-section-heading {
        min-height: 62px;
        gap: 6px;
    }

    .tasks-section-heading img {
        width: 30px;
        height: 30px;
    }

    .tasks-section-heading .tasks-section-icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        font-size: .95rem;
    }

    .tasks-section-heading h2 {
        font-size: 1.08rem;
    }

    .tasks-section-heading > span {
        max-width: 115px;
        font-size: .62rem;
    }

    .tasks-task-row {
        grid-template-columns: 38px minmax(0, 1fr) 66px;
        padding: 8px 7px;
        border-radius: 14px;
    }

    .tasks-task-row__icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        border-radius: 12px;
        font-size: 1.12rem;
    }

    .tasks-task-row h3 {
        font-size: .79rem;
    }

    .tasks-task-row__content p {
        max-width: 160px;
        font-size: .61rem;
    }

    .tasks-task-row__reward {
        font-size: .68rem;
    }

    .tasks-task-row__reward small {
        display: none;
    }

    .tasks-button {
        min-width: 62px;
        padding-inline: 8px;
        font-size: .69rem;
    }

    .tasks-bonus {
        padding-left: 10px;
        padding-right: 65px;
    }

    .tasks-bonus strong {
        font-size: .7rem;
    }

    .tasks-bonus span {
        display: none;
    }

    .tasks-bonus__chest {
        width: 60px;
        height: 44px;
    }

    .tasks-streak,
    .tasks-info {
        padding-inline: 10px;
    }

    .tasks-streak__days {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tasks-treasures__grid {
        grid-template-columns: 1fr;
    }

    .tasks-treasure-card {
        grid-template-columns: 88px minmax(0, 1fr);
        justify-items: start;
        align-items: center;
        text-align: left;
    }

    .tasks-treasure-card > img {
        grid-row: 1 / span 6;
    }

    .tasks-treasure-card__chest {
        grid-row: 1 / span 6;
        width: 78px;
        height: 56px;
        margin-inline: 2px;
    }

    .tasks-treasure-card h3,
    .tasks-treasure-card p,
    .tasks-treasure-card progress,
    .tasks-treasure-card > span,
    .tasks-treasure-card small,
    .tasks-treasure-card form,
    .tasks-treasure-card > .tasks-button {
        grid-column: 2;
    }

    .tasks-treasure-card p {
        min-height: 0;
    }

    .tasks-treasure-card progress {
        width: 100%;
    }

    .tasks-more {
        padding-inline: 12px;
    }

    .tasks-more h2 {
        font-size: .95rem;
    }

    .tasks-link-audit {
        padding: 16px;
    }

    .tasks-link-audit > header {
        align-items: flex-start;
        flex-direction: column;
    }

    .tasks-link-audit li {
        grid-template-columns: 25px minmax(0, 1fr);
    }

    .tasks-link-audit li code {
        grid-column: 2;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tasks-button {
        transition: none;
    }
}
