:root {
    color-scheme: light;
    --ptc-accent: #f45128;
    --ptc-accent-deep: #d93d19;
    --ptc-accent-soft: #fff0e9;
    --ptc-hero-start: #ffe7d2;
    --ptc-hero-end: #ffd3b3;
    --ptc-text: #1f2633;
    --ptc-muted: #77808f;
    --ptc-line: #eaedf2;
    --ptc-surface: #ffffff;
    --ptc-page: #f6f7f9;
    --ptc-shadow: 0 18px 55px rgba(35, 46, 66, .08);
}

.ptc-theme--green {
    --ptc-accent: #2f8a3b;
    --ptc-accent-deep: #236e2e;
    --ptc-accent-soft: #e9f7e9;
    --ptc-hero-start: #e1f4dc;
    --ptc-hero-end: #c9ebc5;
}

.ptc-theme--blue {
    --ptc-accent: #2f6fed;
    --ptc-accent-deep: #2357c4;
    --ptc-accent-soft: #eaf1ff;
    --ptc-hero-start: #e3eeff;
    --ptc-hero-end: #cfdfff;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--ptc-page);
    scroll-behavior: smooth;
}

body.ptc-front {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--ptc-page);
    color: var(--ptc-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.ptc-front button,
.ptc-front input,
.ptc-front progress {
    font: inherit;
}

.ptc-front a {
    color: inherit;
    text-decoration: none;
}

.ptc-page {
    min-height: 100vh;
}

.ptc-skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 100;
    padding: 10px 14px;
    border-radius: 10px;
    background: #121824;
    color: #fff;
    transform: translateY(-150%);
}

.ptc-skip-link:focus {
    transform: translateY(0);
}

.ptc-topbar {
    height: 72px;
    border-bottom: 1px solid rgba(222, 226, 233, .85);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(16px);
}

.ptc-topbar__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1180px, calc(100% - 40px));
    height: 100%;
    margin: 0 auto;
}

.ptc-topbar__back,
.ptc-mall-link,
.ptc-login-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    border: 1px solid var(--ptc-line);
    border-radius: 999px;
    background: #fff;
    color: #303846;
    font-size: 14px;
    font-weight: 650;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.ptc-topbar__back {
    padding: 0 15px;
}

.ptc-topbar__back:hover,
.ptc-mall-link:hover,
.ptc-login-link:hover {
    border-color: color-mix(in srgb, var(--ptc-accent) 32%, white);
    background: var(--ptc-accent-soft);
    color: var(--ptc-accent-deep);
}

.ptc-brand {
    position: absolute;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(-50%);
}

.ptc-brand__icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    background: var(--ptc-accent-soft);
    color: var(--ptc-accent);
    font-size: 20px;
}

.ptc-brand > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ptc-brand strong {
    font-size: 15px;
    line-height: 1.15;
}

.ptc-brand small {
    color: #8a919d;
    font-size: 10px;
}

.ptc-topbar__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ptc-credit-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--ptc-accent-soft);
    color: var(--ptc-accent-deep);
}

.ptc-credit-pill i {
    font-size: 17px;
}

.ptc-credit-pill b {
    font-size: 14px;
}

.ptc-credit-pill em {
    font-size: 11px;
    font-style: normal;
}

.ptc-mall-link,
.ptc-login-link {
    padding: 0 15px;
}

.ptc-main {
    min-height: calc(100vh - 138px);
    padding: 28px 0 52px;
}

.ptc-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.ptc-hero {
    position: relative;
    display: grid;
    min-height: 330px;
    overflow: hidden;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 30px;
    background: linear-gradient(112deg, var(--ptc-hero-start), var(--ptc-hero-end));
    box-shadow: 0 22px 56px rgba(183, 110, 64, .12);
}

.ptc-hero::before,
.ptc-hero::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    content: "";
}

.ptc-hero::before {
    top: -225px;
    right: 110px;
    width: 520px;
    height: 520px;
}

.ptc-hero::after {
    right: -120px;
    bottom: -240px;
    width: 480px;
    height: 480px;
}

.ptc-hero__copy {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 44px 54px;
}

.ptc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 999px;
    background: rgba(255, 255, 255, .56);
    color: var(--ptc-accent-deep);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .04em;
}

.ptc-hero h1 {
    max-width: 670px;
    margin: 21px 0 12px;
    color: #2c211d;
    font-size: clamp(34px, 4.1vw, 54px);
    line-height: 1.1;
    letter-spacing: -.045em;
}

.ptc-theme--green .ptc-hero h1,
.ptc-theme--blue .ptc-hero h1 {
    color: #1d2b27;
}

.ptc-hero__copy > p {
    max-width: 610px;
    margin: 0;
    color: rgba(64, 48, 42, .72);
    font-size: 15px;
    line-height: 1.8;
}

.ptc-hero__metrics {
    display: flex;
    gap: 48px;
    margin-top: 30px;
}

.ptc-hero__metrics > div {
    position: relative;
    display: grid;
    grid-template-columns: auto auto;
    align-items: baseline;
    column-gap: 5px;
}

.ptc-hero__metrics > div + div::before {
    position: absolute;
    top: 6px;
    bottom: 5px;
    left: -24px;
    width: 1px;
    background: rgba(75, 59, 52, .14);
    content: "";
}

.ptc-hero__metrics span {
    grid-column: 1 / -1;
    margin-bottom: 5px;
    color: rgba(64, 48, 42, .62);
    font-size: 12px;
}

.ptc-hero__metrics strong {
    color: #28201c;
    font-size: 26px;
    line-height: 1;
}

.ptc-hero__metrics em {
    color: rgba(64, 48, 42, .65);
    font-size: 12px;
    font-style: normal;
}

.ptc-hero__visual {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    padding: 40px;
}

.ptc-hero__mascot {
    display: none;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.ptc-hero-card {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 248px;
    min-height: 246px;
    padding: 28px;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .88);
    border-radius: 32px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 25px 55px rgba(83, 57, 43, .14);
    backdrop-filter: blur(14px);
    transform: rotate(3deg);
}

.ptc-hero-card > span {
    display: grid;
    width: 62px;
    height: 62px;
    margin-bottom: 16px;
    place-items: center;
    border-radius: 20px;
    background: var(--ptc-accent);
    color: #fff;
    font-size: 30px;
    box-shadow: 0 12px 24px color-mix(in srgb, var(--ptc-accent) 32%, transparent);
}

.ptc-hero-card strong {
    color: #565c66;
    font-size: 13px;
}

.ptc-hero-card b {
    margin: 7px 0 14px;
    color: var(--ptc-accent-deep);
    font-size: 38px;
    line-height: 1;
}

.ptc-hero-card progress,
.ptc-task__progress progress {
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: #edf0f4;
    color: var(--ptc-accent);
    appearance: none;
}

.ptc-hero-card progress {
    width: 100%;
    height: 8px;
}

.ptc-front progress::-webkit-progress-bar {
    border-radius: inherit;
    background: #edf0f4;
}

.ptc-front progress::-webkit-progress-value {
    border-radius: inherit;
    background: linear-gradient(90deg, var(--ptc-accent), var(--ptc-accent-deep));
}

.ptc-front progress::-moz-progress-bar {
    border-radius: inherit;
    background: linear-gradient(90deg, var(--ptc-accent), var(--ptc-accent-deep));
}

.ptc-orbit {
    position: absolute;
    z-index: 3;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 4px solid rgba(255, 255, 255, .75);
    border-radius: 50%;
    background: #ffbd32;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 12px 26px rgba(165, 98, 28, .18);
}

.ptc-orbit--one {
    top: 48px;
    left: 20px;
    transform: rotate(-12deg);
}

.ptc-orbit--two {
    right: 14px;
    bottom: 52px;
    width: 45px;
    height: 45px;
    font-size: 20px;
    transform: rotate(11deg);
}

.ptc-content-grid {
    display: grid;
    align-items: start;
    margin-top: 24px;
    grid-template-columns: minmax(0, 1fr) 330px;
    grid-template-areas:
        "daily balance"
        "daily sidebar"
        "growth sidebar";
    gap: 24px;
}

.ptc-content-grid.has-activity {
    grid-template-areas:
        "daily balance"
        "daily sidebar"
        "activity sidebar"
        "growth sidebar";
}

.ptc-daily-section {
    grid-area: daily;
}

.ptc-balance-card {
    grid-area: balance;
}

.ptc-activity-card {
    position: relative;
    display: grid;
    align-items: center;
    min-height: 132px;
    overflow: hidden;
    padding: 24px 26px;
    grid-area: activity;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 18px;
    border: 0;
    border-radius: 24px;
    background: var(--ptc-accent-deep);
    color: #fff;
    box-shadow: 0 16px 38px color-mix(in srgb, var(--ptc-accent-deep) 24%, transparent);
    cursor: pointer;
}

.ptc-activity-card:hover {
    box-shadow: 0 18px 42px color-mix(in srgb, var(--ptc-accent-deep) 31%, transparent);
}

.ptc-activity-card:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--ptc-accent) 45%, white);
    outline-offset: 3px;
}

.ptc-activity-card::after {
    position: absolute;
    right: -52px;
    bottom: -92px;
    width: 210px;
    height: 210px;
    border: 28px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.ptc-activity-card > span {
    position: relative;
    z-index: 1;
}

.ptc-activity-card__icon {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 18px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 26px;
}

.ptc-activity-card__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.ptc-activity-card__copy small {
    align-self: flex-start;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 10px;
    font-weight: 750;
}

.ptc-activity-card__copy strong {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    margin-top: 7px;
    gap: 3px 8px;
    color: #fff;
    font-size: 14px;
    line-height: 1.35;
}

.ptc-activity-card__copy strong b {
    font-size: 24px;
    font-variant-numeric: tabular-nums;
    line-height: 1.05;
}

.ptc-activity-card__copy em {
    margin-top: 5px;
    color: rgba(255, 255, 255, .88);
    font-size: 12px;
    font-style: normal;
    line-height: 1.55;
}

.ptc-activity-card__action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 11px 15px;
    border-radius: 999px;
    background: #fff;
    color: var(--ptc-accent-deep);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.ptc-growth-section {
    grid-area: growth;
}

.ptc-sidebar-stack {
    display: grid;
    grid-area: sidebar;
    gap: 24px;
}

.ptc-section,
.ptc-recent-card,
.ptc-rule-card,
.ptc-balance-card {
    border: 1px solid var(--ptc-line);
    border-radius: 22px;
    background: var(--ptc-surface);
    box-shadow: 0 12px 36px rgba(31, 42, 59, .045);
}

.ptc-section {
    padding: 26px;
}

.ptc-section__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.ptc-section__heading span,
.ptc-recent-card header span {
    color: var(--ptc-accent);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .18em;
}

.ptc-section__heading h2,
.ptc-recent-card h2 {
    margin: 4px 0 0;
    font-size: 24px;
    letter-spacing: -.025em;
}

.ptc-section__heading > p {
    margin: 0 0 3px;
    color: var(--ptc-muted);
    font-size: 12px;
}

.ptc-task-list {
    display: grid;
    gap: 12px;
}

.ptc-task {
    display: grid;
    align-items: center;
    min-height: 116px;
    padding: 18px;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 16px;
    border: 1px solid #eceff3;
    border-radius: 17px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.ptc-task:hover {
    border-color: #dde2e9;
    box-shadow: 0 12px 24px rgba(31, 42, 59, .055);
}

.ptc-task.is-claimable {
    border-color: color-mix(in srgb, var(--ptc-accent) 28%, white);
    background: linear-gradient(100deg, #fff, color-mix(in srgb, var(--ptc-accent-soft) 40%, white));
}

.ptc-task.is-claimed {
    background: #fafbfc;
}

.ptc-task__icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 17px;
    font-size: 25px;
}

.ptc-task__icon.is-orange {
    background: #fff0e8;
    color: #ed5a29;
}

.ptc-task__icon.is-green {
    background: #e9f7ed;
    color: #2e9a4a;
}

.ptc-task__icon.is-blue {
    background: #eaf2ff;
    color: #3d76dd;
}

.ptc-task__icon.is-purple {
    background: #f1edff;
    color: #7256d9;
}

.ptc-task__icon.is-gold {
    background: #fff6d9;
    color: #d9990d;
}

.ptc-task__body {
    min-width: 0;
}

.ptc-task__title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ptc-task__title h3 {
    overflow: hidden;
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ptc-task__title span {
    flex: none;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff4dc;
    color: #b67900;
    font-size: 10px;
    font-weight: 750;
}

.ptc-task__body > p {
    overflow: hidden;
    margin: 5px 0 10px;
    color: var(--ptc-muted);
    font-size: 12px;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ptc-task__progress {
    display: flex;
    align-items: center;
    max-width: 330px;
    gap: 10px;
}

.ptc-task__progress progress {
    width: 100%;
    height: 6px;
}

.ptc-task__progress strong {
    min-width: 35px;
    color: #939aa5;
    font-size: 10px;
    font-weight: 650;
    text-align: right;
}

.ptc-task__action {
    min-width: 108px;
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    background: #f0f2f5;
    color: #4d5664;
    cursor: pointer;
    font-size: 13px;
    font-weight: 750;
    transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.ptc-task.is-claimable .ptc-task__action {
    background: var(--ptc-accent);
    color: #fff;
    box-shadow: 0 9px 18px color-mix(in srgb, var(--ptc-accent) 24%, transparent);
}

.ptc-task__action:hover:not(:disabled) {
    background: var(--ptc-accent-deep);
    color: #fff;
}

.ptc-task__action:disabled {
    background: #f1f2f4;
    color: #a2a7b0;
    cursor: not-allowed;
    box-shadow: none;
}

.ptc-task__action.is-loading {
    pointer-events: none;
    opacity: .72;
}

.ptc-balance-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    background: linear-gradient(145deg, #252a34, #171b23);
    color: #fff;
}

.ptc-balance-card::after {
    position: absolute;
    right: -40px;
    bottom: -50px;
    width: 150px;
    height: 150px;
    border: 22px solid rgba(255, 255, 255, .035);
    border-radius: 50%;
    content: "";
}

.ptc-balance-card__icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    background: #ffb629;
    color: #fff;
    font-size: 22px;
}

.ptc-balance-card p {
    margin: 20px 0 5px;
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
}

.ptc-balance-card > strong {
    display: block;
    font-size: 38px;
    letter-spacing: -.03em;
}

.ptc-balance-card > a {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 22px;
    color: #ffce6d;
    font-size: 12px;
    font-weight: 700;
}

.ptc-recent-card,
.ptc-rule-card {
    padding: 24px;
}

.ptc-recent-card > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.ptc-recent-card > header > i {
    color: #a9afb8;
    font-size: 22px;
}

.ptc-recent-card h2 {
    font-size: 20px;
}

.ptc-recent-list {
    display: grid;
    margin: 0;
    padding: 0;
    gap: 15px;
    list-style: none;
}

.ptc-recent-list li {
    display: grid;
    align-items: center;
    grid-template-columns: 30px 1fr auto;
    gap: 10px;
}

.ptc-recent-list li > span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 10px;
    background: #eaf7ed;
    color: #35a34d;
}

.ptc-recent-list div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.ptc-recent-list strong {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ptc-recent-list small {
    color: #9ba1ab;
    font-size: 10px;
}

.ptc-recent-list b {
    color: #d68e08;
    font-size: 13px;
}

.ptc-recent-empty {
    display: flex;
    align-items: center;
    padding: 22px 8px 10px;
    flex-direction: column;
    color: #9ba1ab;
    text-align: center;
}

.ptc-recent-empty > i {
    font-size: 28px;
}

.ptc-recent-empty p {
    margin: 9px 0;
    font-size: 12px;
    line-height: 1.6;
}

.ptc-recent-empty a {
    color: var(--ptc-accent);
    font-size: 12px;
    font-weight: 750;
}

.ptc-rule-card header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ptc-rule-card header i {
    color: var(--ptc-accent);
    font-size: 20px;
}

.ptc-rule-card h2 {
    margin: 0;
    font-size: 16px;
}

.ptc-rule-card ul {
    display: grid;
    margin: 16px 0 0;
    padding-left: 18px;
    gap: 9px;
    color: var(--ptc-muted);
    font-size: 11px;
    line-height: 1.6;
}

.ptc-state {
    display: flex;
    align-items: center;
    width: min(680px, calc(100% - 40px));
    min-height: 440px;
    margin: 34px auto;
    padding: 55px 30px;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--ptc-line);
    border-radius: 28px;
    background: #fff;
    text-align: center;
    box-shadow: var(--ptc-shadow);
}

.ptc-state > span {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: 22px;
    background: var(--ptc-accent-soft);
    color: var(--ptc-accent);
    font-size: 34px;
}

.ptc-state h1 {
    margin: 22px 0 8px;
    font-size: 26px;
}

.ptc-state p {
    margin: 0;
    color: var(--ptc-muted);
    font-size: 14px;
}

.ptc-state a {
    margin-top: 24px;
    padding: 11px 20px;
    border-radius: 12px;
    background: var(--ptc-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 750;
}

.ptc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1180px, calc(100% - 40px));
    min-height: 66px;
    margin: 0 auto;
    border-top: 1px solid #e5e8ed;
    color: #9da3ad;
    font-size: 11px;
}

.ptc-footer a:hover {
    color: var(--ptc-accent);
}

.ptc-toast {
    position: fixed;
    z-index: 90;
    right: 24px;
    bottom: 24px;
    max-width: min(380px, calc(100% - 32px));
    padding: 13px 17px;
    border-radius: 13px;
    background: #1f2530;
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
    box-shadow: 0 16px 40px rgba(16, 22, 32, .22);
}

.ptc-toast.is-error {
    background: #c93434;
}

.ptc-front :focus-visible {
    outline: 3px solid color-mix(in srgb, var(--ptc-accent) 45%, transparent);
    outline-offset: 3px;
}

@media (max-width: 980px) {
    .ptc-hero {
        grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
    }

    .ptc-hero__copy {
        padding: 38px;
    }

    .ptc-hero-card {
        width: 215px;
        min-height: 220px;
    }

    .ptc-content-grid {
        grid-template-columns: minmax(0, 1fr) 280px;
    }
}

@media (max-width: 820px) {
    .ptc-topbar__inner,
    .ptc-shell,
    .ptc-footer {
        width: min(100% - 28px, 720px);
    }

    .ptc-brand {
        position: static;
        transform: none;
    }

    .ptc-brand small,
    .ptc-credit-pill em,
    .ptc-mall-link span,
    .ptc-topbar__back span {
        display: none;
    }

    .ptc-topbar__back,
    .ptc-mall-link {
        width: 40px;
        padding: 0;
    }

    .ptc-hero {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .ptc-hero__visual {
        min-height: 220px;
        padding: 20px 28px 36px;
    }

    .ptc-hero-card {
        width: min(100%, 340px);
        min-height: 170px;
        padding: 22px 30px;
        transform: none;
    }

    .ptc-hero-card > span {
        width: 48px;
        height: 48px;
        margin-bottom: 10px;
        border-radius: 15px;
        font-size: 24px;
    }

    .ptc-hero-card b {
        margin: 5px 0 11px;
        font-size: 31px;
    }

    .ptc-orbit--one {
        top: 24px;
        left: calc(50% - 190px);
    }

    .ptc-orbit--two {
        right: calc(50% - 190px);
        bottom: 38px;
    }

    .ptc-content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "balance balance"
            "daily daily"
            "growth growth"
            "recent recent"
            "rule rule";
        gap: 14px;
    }

    .ptc-content-grid.has-activity {
        grid-template-areas:
            "balance balance"
            "daily daily"
            "activity activity"
            "growth growth"
            "recent recent"
            "rule rule";
    }

    .ptc-sidebar-stack {
        display: contents;
    }

    .ptc-recent-card {
        grid-area: recent;
    }

    .ptc-rule-card {
        grid-area: rule;
    }
}

@media (max-width: 620px) {
    body.ptc-front {
        background: #f7f7f8;
    }

    .ptc-topbar {
        position: sticky;
        z-index: 30;
        top: 0;
        height: 72px;
        border-bottom: 0;
        background: rgba(255, 255, 255, .9);
    }

    .ptc-shell,
    .ptc-footer {
        width: calc(100% - 24px);
    }

    .ptc-topbar__inner {
        width: 100%;
        padding: 0 12px;
    }

    .ptc-brand {
        position: absolute;
        left: 50%;
        gap: 0;
        transform: translateX(-50%);
    }

    .ptc-brand__icon {
        display: none;
    }

    .ptc-brand > span:last-child {
        align-items: center;
        gap: 1px;
    }

    .ptc-brand strong {
        max-width: 138px;
        overflow: hidden;
        font-size: 17px;
        line-height: 1.2;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ptc-topbar__actions {
        gap: 4px;
    }

    .ptc-credit-pill {
        min-height: 38px;
        padding: 0 11px;
    }

    .ptc-credit-pill i {
        font-size: 18px;
    }

    .ptc-credit-pill b {
        font-size: 14px;
    }

    .ptc-mall-link {
        display: none;
    }

    .ptc-topbar__back {
        width: 42px;
        min-height: 42px;
        border: 0;
        background: transparent;
        font-size: 21px;
    }

    .ptc-login-link {
        min-height: 38px;
        padding: 0 11px;
        font-size: 12px;
    }

    .ptc-main {
        padding: 12px 0 34px;
    }

    .ptc-hero {
        display: block;
        min-height: 250px;
        border: 0;
        border-radius: 26px;
        background: linear-gradient(120deg, color-mix(in srgb, var(--ptc-hero-start) 78%, white), var(--ptc-hero-end));
        box-shadow: 0 18px 38px rgba(167, 98, 52, .12);
    }

    .ptc-hero::before {
        top: -155px;
        right: -95px;
        width: 330px;
        height: 330px;
    }

    .ptc-hero::after {
        right: -110px;
        bottom: -185px;
        width: 350px;
        height: 350px;
    }

    .ptc-hero__copy {
        z-index: 3;
        min-height: 250px;
        padding: 23px 20px 19px;
        justify-content: flex-start;
    }

    .ptc-eyebrow {
        padding: 6px 9px;
        font-size: 10px;
    }

    .ptc-hero h1 {
        display: -webkit-box;
        width: 58%;
        margin: 18px 0 8px;
        overflow: hidden;
        font-size: clamp(23px, 6.4vw, 27px);
        line-height: 1.12;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .ptc-hero__copy > p {
        display: -webkit-box;
        width: 56%;
        overflow: hidden;
        font-size: 11px;
        line-height: 1.55;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .ptc-hero__metrics {
        width: 58%;
        margin-top: auto;
        gap: 24px;
    }

    .ptc-hero__metrics > div + div::before {
        left: -12px;
    }

    .ptc-hero__metrics strong {
        font-size: 21px;
    }

    .ptc-hero__visual {
        position: absolute;
        z-index: 2;
        inset: 0;
        display: block;
        min-height: 0;
        padding: 0;
        pointer-events: none;
    }

    .ptc-hero__visual.has-mascot .ptc-hero__mascot {
        position: absolute;
        right: -20px;
        bottom: -8px;
        display: block;
        width: min(55%, 224px);
        filter: drop-shadow(0 16px 20px rgba(154, 76, 27, .16));
    }

    .ptc-hero__visual.has-mascot .ptc-hero-card {
        display: none;
    }

    .ptc-hero-card {
        position: absolute;
        right: 16px;
        bottom: 22px;
        width: 37%;
        min-height: 132px;
        padding: 18px;
        border-radius: 22px;
        transform: none;
    }

    .ptc-orbit {
        display: none;
    }

    .ptc-content-grid {
        margin-top: 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "balance balance"
            "daily daily"
            "growth growth"
            "recent recent"
            "rule rule";
        gap: 12px;
    }

    .ptc-content-grid.has-activity {
        grid-template-areas:
            "balance balance"
            "daily daily"
            "activity activity"
            "growth growth"
            "recent recent"
            "rule rule";
    }

    .ptc-section {
        padding: 17px 12px;
        border: 0;
        border-radius: 24px;
        box-shadow: 0 12px 34px rgba(31, 42, 59, .055);
    }

    .ptc-section__heading {
        align-items: center;
        margin: 0 4px 12px;
        gap: 12px;
    }

    .ptc-section__heading span,
    .ptc-recent-card header span {
        display: none;
    }

    .ptc-section__heading h2 {
        margin: 0;
        font-size: 20px;
    }

    .ptc-section__heading > p {
        margin: 0 0 1px auto;
        font-size: 10px;
        white-space: nowrap;
    }

    .ptc-task-list {
        gap: 8px;
    }

    .ptc-task {
        min-height: 88px;
        padding: 10px;
        grid-template-columns: 44px minmax(0, 1fr) auto;
        gap: 10px;
        border-radius: 18px;
        background: #fbfbfc;
    }

    .ptc-task__icon {
        width: 44px;
        height: 44px;
        border-radius: 15px;
        font-size: 21px;
    }

    .ptc-task__title {
        gap: 7px;
    }

    .ptc-task__title h3 {
        font-size: 15px;
    }

    .ptc-task__title span {
        padding: 3px 7px;
        font-size: 9px;
    }

    .ptc-task__body > p {
        margin: 4px 0 8px;
        font-size: 10px;
    }

    .ptc-task__progress {
        gap: 8px;
    }

    .ptc-front .ptc-task__action {
        min-width: 70px;
        min-height: 36px;
        padding: 0 9px;
        border-radius: 11px;
        font-size: 11px;
        font-weight: 750;
        white-space: nowrap;
    }

    .ptc-balance-card {
        display: grid;
        min-height: 96px;
        padding: 15px 18px;
        grid-template-columns: 42px minmax(0, 1fr) auto;
        grid-template-areas:
            "balance-icon balance-label balance-link"
            "balance-icon balance-value balance-link";
        align-items: center;
        column-gap: 13px;
        border: 0;
        border-radius: 22px;
        box-shadow: 0 12px 32px rgba(31, 42, 59, .055);
    }

    .ptc-balance-card__icon {
        grid-area: balance-icon;
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 20px;
    }

    .ptc-balance-card p {
        grid-area: balance-label;
        margin: 0 0 2px;
        font-size: 10px;
    }

    .ptc-balance-card > strong {
        grid-area: balance-value;
        font-size: 28px;
    }

    .ptc-balance-card > a {
        grid-area: balance-link;
        margin-top: 0;
        font-size: 11px;
        white-space: nowrap;
    }

    .ptc-activity-card {
        min-height: 116px;
        padding: 17px 18px;
        grid-template-columns: 48px minmax(0, 1fr) auto;
        gap: 14px;
        border: 0;
        border-radius: 24px;
        box-shadow: 0 14px 34px color-mix(in srgb, var(--ptc-accent-deep) 22%, transparent);
    }

    .ptc-activity-card__icon {
        width: 48px;
        height: 48px;
        border-radius: 15px;
        font-size: 22px;
    }

    .ptc-activity-card__copy small {
        padding: 2px 7px;
        font-size: 9px;
    }

    .ptc-activity-card__copy strong {
        margin-top: 5px;
        gap: 2px 5px;
        font-size: 12px;
    }

    .ptc-activity-card__copy strong b {
        font-size: 21px;
    }

    .ptc-activity-card__copy em {
        display: -webkit-box;
        overflow: hidden;
        font-size: 10px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .ptc-activity-card__action {
        padding: 9px 11px;
        font-size: 11px;
    }

    .ptc-recent-card {
        min-height: 108px;
        padding: 14px 16px;
        border: 0;
        border-radius: 22px;
        background: linear-gradient(135deg, #ffffff, #f5faf7);
        box-shadow: 0 12px 32px rgba(31, 42, 59, .055);
    }

    .ptc-recent-card > header {
        margin-bottom: 8px;
    }

    .ptc-recent-card h2 {
        margin: 0;
        font-size: 17px;
    }

    .ptc-recent-card > header > i {
        font-size: 19px;
    }

    .ptc-recent-list {
        gap: 0;
    }

    .ptc-recent-list li {
        min-height: 48px;
        padding: 8px 10px;
        grid-template-columns: 30px minmax(0, 1fr) auto;
        gap: 9px;
        border: 1px solid color-mix(in srgb, var(--ptc-accent) 14%, transparent);
        border-radius: 14px;
        background: color-mix(in srgb, var(--ptc-accent) 5%, white);
    }

    .ptc-recent-list li:nth-child(n + 2) {
        display: none;
    }

    .ptc-recent-list li > span {
        width: 30px;
        height: 30px;
        border-radius: 10px;
    }

    .ptc-recent-list strong {
        font-size: 11px;
    }

    .ptc-recent-list small {
        font-size: 9px;
    }

    .ptc-recent-list b {
        padding: 4px 7px;
        border-radius: 8px;
        background: #fff4d7;
        color: #bd7900;
        font-size: 11px;
        font-weight: 800;
    }

    .ptc-recent-empty {
        padding: 12px 0 0;
    }

    .ptc-recent-empty > i {
        font-size: 23px;
    }

    .ptc-recent-empty p {
        margin: 6px 0;
        font-size: 9px;
    }

    .ptc-rule-card {
        padding: 18px 20px;
        border: 0;
        border-radius: 22px;
        box-shadow: 0 12px 32px rgba(31, 42, 59, .045);
    }

    .ptc-rule-card h2 {
        font-size: 15px;
    }

    .ptc-rule-card ul {
        grid-template-columns: 1fr;
        margin-top: 12px;
        padding-left: 18px;
        gap: 7px;
        font-size: 11px;
        line-height: 1.55;
    }

    .ptc-footer {
        min-height: 76px;
        padding: 16px 0;
        flex-direction: column;
        justify-content: center;
        gap: 7px;
        text-align: center;
    }

    .ptc-toast {
        right: 16px;
        bottom: 16px;
        left: 16px;
        max-width: none;
        text-align: center;
    }
}

@media (max-width: 360px) {
    .ptc-content-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "balance"
            "daily"
            "growth"
            "recent"
            "rule";
    }

    .ptc-content-grid.has-activity {
        grid-template-areas:
            "balance"
            "daily"
            "activity"
            "growth"
            "recent"
            "rule";
    }

    .ptc-hero h1,
    .ptc-hero__copy > p,
    .ptc-hero__metrics {
        width: 61%;
    }

    .ptc-hero__visual.has-mascot .ptc-hero__mascot {
        right: -28px;
        width: 57%;
    }

}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
